Tetsuya HOYANO <hoyano(a)ari.bekkoame.ne.jp> writes:
Automatic detection of wnn that installed under
`/usr/local/include/wnn'
is gone and build with `--with-wnn6' failed as follows.
I'm not 100% sure that whether the previous configure supported the
automatic detection of headers under /usr/local/include or not ...
The configure changes in this part (wnn detection) between pre7 and
pre8 will be bellow (from
cvs.xemacs.org):
- test -z "$with_wnn" && {
AC_CHECK_LIB(wnn,jl_dic_list_e,[:],with_wnn=no) }
+ if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
+ AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn,
+ AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4,
+ AC_CHECK_LIB(wnn6,jl_dic_list_e,libwnn=wnn6,
+ AC_CHECK_LIB(wnn6_fromsrc,dic_list_e,libwnn=wnn6_fromsrc,with_wnn=no))))
+ fi
test -z "$with_wnn" && with_wnn=yes
if test "$with_wnn" = "yes"; then
AC_DEFINE(HAVE_WNN)
- XE_PREPEND(-lwnn, libs_x)
+ XE_PREPEND(-l$libwnn, libs_x)
XE_ADD_OBJS(mule-wnnfns.o)
if test "$with_wnn6" != "no"; then
- AC_CHECK_LIB(wnn, jl_fi_dic_list, with_wnn6=yes)
+ AC_CHECK_LIB($libwnn, jl_fi_dic_list, with_wnn6=yes)
test "$with_wnn6" = "yes" && AC_DEFINE(WNN6)
It says that it is just checking C funtion but nothing with headers.
(headers checking code for wnn was unchanged)
I always specify the header and library path which is not a standard
part of the system and compiler.
Sorry for only reporting...
--HOYANO
gcc -c -g -Wall -mpentiumpro -march=pentiumpro -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11/include mule-wnnfns.c
mule-wnnfns.c:273: wnn/commonhd.h: No such file or directory
mule-wnnfns.c:275: wnn/jllib.h: No such file or directory
mule-wnnfns.c:276: wnn/cplib.h: No such file or directory
make[1]: *** [mule-wnnfns.o] Error 1
make[1]: Leaving directory `/home2/beta/xemacs-20/src'
make: *** [src] Error 2