Mercurial > hg > xemacs-beta
comparison configure @ 2978:6b89d9014a18
[xemacs-hg @ 2005-10-05 04:37:54 by stephent]
Update configure for Canna as module.
author | stephent |
---|---|
date | Wed, 05 Oct 2005 04:37:54 +0000 |
parents | ff857b8541b7 |
children | fcf2f05d0c7a |
comparison
equal
deleted
inserted
replaced
2977:0a759f4c4225 | 2978:6b89d9014a18 |
---|---|
354 #endif | 354 #endif |
355 #if HAVE_UNISTD_H | 355 #if HAVE_UNISTD_H |
356 # include <unistd.h> | 356 # include <unistd.h> |
357 #endif" | 357 #endif" |
358 | 358 |
359 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS inststaticdir statedir LN_S blddir build build_cpu build_vendor build_os configuration CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP start_flags ld_switch_shared start_files ld lib_gcc RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA YACC SET_MAKE GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS install_pp libs_xauth dnd_objs LIBSTDCPP dll_ld dll_cflags dll_ldflags dll_post dll_ldo ld_dynamic_link_flags with_modules MOD_CC MODARCHDIR MAKE_DOCFILE MODCFLAGS INSTALLPATH MOD_INSTALL_PROGRAM OBJECT_TO_BUILD ldap_libs postgresql_libs lwlib_objs ALLOCA have_esd_config SRC_SUBDIR_DEPS INSTALL_ARCH_DEP_SUBDIR MAKE_SUBDIR SUBDIR_MAKEFILES PROGNAME version instvardir srcdir extra_includes PREFIX_USER_DEFINED PREFIX EXEC_PREFIX_USER_DEFINED EXEC_PREFIX INFODIR_USER_DEFINED INFODIR infopath INFOPATH_USER_DEFINED INFOPATH package_path PACKAGE_PATH_USER_DEFINED PACKAGE_PATH lispdir LISPDIR_USER_DEFINED LISPDIR moduledir MODULEDIR_USER_DEFINED MODULEDIR sitelispdir SITELISPDIR_USER_DEFINED SITELISPDIR sitemoduledir SITEMODULEDIR_USER_DEFINED SITEMODULEDIR etcdir ETCDIR_USER_DEFINED ETCDIR archlibdir ARCHLIBDIR_USER_DEFINED ARCHLIBDIR docdir DOCDIR_USER_DEFINED DOCDIR bitmapdir extra_objs machfile opsysfile c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all RECURSIVE_MAKE_ARGS native_sound_lib sound_cflags dynodump_arch XEMACS_CC XE_CFLAGS internal_makefile_list LIBOBJS LTLIBOBJS' | 359 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS inststaticdir statedir LN_S blddir build build_cpu build_vendor build_os configuration CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP start_flags ld_switch_shared start_files ld lib_gcc RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA YACC SET_MAKE GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS install_pp libs_xauth dnd_objs LIBSTDCPP dll_ld dll_cflags dll_ldflags dll_post dll_ldo ld_dynamic_link_flags with_modules MOD_CC MODARCHDIR MAKE_DOCFILE MODCFLAGS INSTALLPATH MOD_INSTALL_PROGRAM OBJECT_TO_BUILD ldap_libs postgresql_libs lwlib_objs canna_libs ALLOCA have_esd_config SRC_SUBDIR_DEPS INSTALL_ARCH_DEP_SUBDIR MAKE_SUBDIR SUBDIR_MAKEFILES PROGNAME version instvardir srcdir extra_includes PREFIX_USER_DEFINED PREFIX EXEC_PREFIX_USER_DEFINED EXEC_PREFIX INFODIR_USER_DEFINED INFODIR infopath INFOPATH_USER_DEFINED INFOPATH package_path PACKAGE_PATH_USER_DEFINED PACKAGE_PATH lispdir LISPDIR_USER_DEFINED LISPDIR moduledir MODULEDIR_USER_DEFINED MODULEDIR sitelispdir SITELISPDIR_USER_DEFINED SITELISPDIR sitemoduledir SITEMODULEDIR_USER_DEFINED SITEMODULEDIR etcdir ETCDIR_USER_DEFINED ETCDIR archlibdir ARCHLIBDIR_USER_DEFINED ARCHLIBDIR docdir DOCDIR_USER_DEFINED DOCDIR bitmapdir extra_objs machfile opsysfile c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all RECURSIVE_MAKE_ARGS native_sound_lib sound_cflags dynodump_arch XEMACS_CC XE_CFLAGS internal_makefile_list LIBOBJS LTLIBOBJS' |
360 ac_subst_files='' | 360 ac_subst_files='' |
361 | 361 |
362 # Initialize some variables set by options. | 362 # Initialize some variables set by options. |
363 ac_init_help= | 363 ac_init_help= |
364 ac_init_version=false | 364 ac_init_version=false |
21552 *) ;; | 21552 *) ;; |
21553 esac | 21553 esac |
21554 xpm_problem="" | 21554 xpm_problem="" |
21555 if test -z "$with_xpm"; then | 21555 if test -z "$with_xpm"; then |
21556 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 21556 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
21557 XE_CFLAGS=""$incpath_xpm" $XE_CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$XE_CFLAGS"; fi | |
21557 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 21558 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
21558 echo "$as_me:$LINENO: checking for Xpm - no older than 3.4f" >&5 | 21559 echo "$as_me:$LINENO: checking for Xpm - no older than 3.4f" >&5 |
21559 echo $ECHO_N "checking for Xpm - no older than 3.4f... $ECHO_C" >&6 | 21560 echo $ECHO_N "checking for Xpm - no older than 3.4f... $ECHO_C" >&6 |
21560 xe_check_libs=-lXpm | 21561 xe_check_libs=-lXpm |
21561 if test "$cross_compiling" = yes; then | 21562 if test "$cross_compiling" = yes; then |
21627 _ACEOF | 21628 _ACEOF |
21628 | 21629 |
21629 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 21630 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
21630 libs_x="-lXpm $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 21631 libs_x="-lXpm $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
21631 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 21632 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
21633 XE_CFLAGS=""$incpath_xpm" $XE_CFLAGS" && if test "$verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$XE_CFLAGS"; fi | |
21632 echo "$as_me:$LINENO: checking for \"FOR_MSW\" xpm" >&5 | 21634 echo "$as_me:$LINENO: checking for \"FOR_MSW\" xpm" >&5 |
21633 echo $ECHO_N "checking for \"FOR_MSW\" xpm... $ECHO_C" >&6 | 21635 echo $ECHO_N "checking for \"FOR_MSW\" xpm... $ECHO_C" >&6 |
21634 xe_check_libs=-lXpm | 21636 xe_check_libs=-lXpm |
21635 cat >conftest.$ac_ext <<_ACEOF | 21637 cat >conftest.$ac_ext <<_ACEOF |
21636 /* confdefs.h. */ | 21638 /* confdefs.h. */ |
25144 #define HAVE_DEFAULT_EOL_DETECTION 1 | 25146 #define HAVE_DEFAULT_EOL_DETECTION 1 |
25145 _ACEOF | 25147 _ACEOF |
25146 | 25148 |
25147 fi | 25149 fi |
25148 | 25150 |
25151 canna_libs= | |
25152 wnn_libs= | |
25153 | |
25149 if test "$enable_mule" = "yes" ; then | 25154 if test "$enable_mule" = "yes" ; then |
25150 { echo "$as_me:$LINENO: checking for Mule-related features..." >&5 | 25155 { echo "$as_me:$LINENO: checking for Mule-related features..." >&5 |
25151 echo "$as_me: checking for Mule-related features..." >&6;} | 25156 echo "$as_me: checking for Mule-related features..." >&6;} |
25152 cat >>confdefs.h <<\_ACEOF | 25157 cat >>confdefs.h <<\_ACEOF |
25153 #define MULE 1 | 25158 #define MULE 1 |
26467 _ACEOF | 26472 _ACEOF |
26468 | 26473 |
26469 fi | 26474 fi |
26470 fi | 26475 fi |
26471 | 26476 |
26472 canna_includes_found=no | 26477 canna_includes_found=no |
26473 if test "$with_canna" != "no"; then | 26478 if test "$with_canna" != "no"; then |
26474 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then | 26479 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then |
26475 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5 | 26480 echo "$as_me:$LINENO: checking for canna/jrkanji.h" >&5 |
26476 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6 | 26481 echo $ECHO_N "checking for canna/jrkanji.h... $ECHO_C" >&6 |
26477 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then | 26482 if test "${ac_cv_header_canna_jrkanji_h+set}" = set; then |
27054 if test "$with_canna" = "yes"; then | 27059 if test "$with_canna" = "yes"; then |
27055 cat >>confdefs.h <<\_ACEOF | 27060 cat >>confdefs.h <<\_ACEOF |
27056 #define HAVE_CANNA 1 | 27061 #define HAVE_CANNA 1 |
27057 _ACEOF | 27062 _ACEOF |
27058 | 27063 |
27059 libs_x="-lcanna -lRKC $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$libs_x"; fi | 27064 MAKE_SUBDIR="$MAKE_SUBDIR modules/canna" && if test "$verbose" = "yes"; then echo " Appending \"modules/canna\" to \$MAKE_SUBDIR"; fi |
27065 need_modules_common=yes | |
27066 if test "$with_modules" = "yes"; then | |
27067 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/canna" && if test "$verbose" = "yes"; then echo " Appending \"modules/canna\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | |
27068 fi | |
27069 canna_libs="-lcanna -lRKC $canna_libs" && if test "$verbose" = "yes"; then echo " Prepending \"-lcanna -lRKC\" to \$canna_libs"; fi | |
27060 fi | 27070 fi |
27071 | |
27061 | 27072 |
27062 else for feature in xim canna wnn; do | 27073 else for feature in xim canna wnn; do |
27063 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 27074 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
27064 { echo "$as_me:$LINENO: WARNING: --with-${feature} ignored: Not valid without Mule support" >&5 | 27075 { echo "$as_me:$LINENO: WARNING: --with-${feature} ignored: Not valid without Mule support" >&5 |
27065 echo "$as_me: WARNING: --with-${feature} ignored: Not valid without Mule support" >&2;} | 27076 echo "$as_me: WARNING: --with-${feature} ignored: Not valid without Mule support" >&2;} |
35889 if test "$enable_modules" = "yes"; then | 35900 if test "$enable_modules" = "yes"; then |
35890 ld_libs_module= | 35901 ld_libs_module= |
35891 else | 35902 else |
35892 | 35903 |
35893 T="" | 35904 T="" |
35894 for W in $ldap_libs $postgresql_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 35905 for W in $ldap_libs $postgresql_libs $canna_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
35895 ld_libs_module="$T" | 35906 ld_libs_module="$T" |
35896 | 35907 |
35897 fi | 35908 fi |
35898 | 35909 |
35899 | 35910 |
37336 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t | 37347 s,@MOD_INSTALL_PROGRAM@,$MOD_INSTALL_PROGRAM,;t t |
37337 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t | 37348 s,@OBJECT_TO_BUILD@,$OBJECT_TO_BUILD,;t t |
37338 s,@ldap_libs@,$ldap_libs,;t t | 37349 s,@ldap_libs@,$ldap_libs,;t t |
37339 s,@postgresql_libs@,$postgresql_libs,;t t | 37350 s,@postgresql_libs@,$postgresql_libs,;t t |
37340 s,@lwlib_objs@,$lwlib_objs,;t t | 37351 s,@lwlib_objs@,$lwlib_objs,;t t |
37352 s,@canna_libs@,$canna_libs,;t t | |
37341 s,@ALLOCA@,$ALLOCA,;t t | 37353 s,@ALLOCA@,$ALLOCA,;t t |
37342 s,@have_esd_config@,$have_esd_config,;t t | 37354 s,@have_esd_config@,$have_esd_config,;t t |
37343 s,@SRC_SUBDIR_DEPS@,$SRC_SUBDIR_DEPS,;t t | 37355 s,@SRC_SUBDIR_DEPS@,$SRC_SUBDIR_DEPS,;t t |
37344 s,@INSTALL_ARCH_DEP_SUBDIR@,$INSTALL_ARCH_DEP_SUBDIR,;t t | 37356 s,@INSTALL_ARCH_DEP_SUBDIR@,$INSTALL_ARCH_DEP_SUBDIR,;t t |
37345 s,@MAKE_SUBDIR@,$MAKE_SUBDIR,;t t | 37357 s,@MAKE_SUBDIR@,$MAKE_SUBDIR,;t t |