Mercurial > hg > xemacs-beta
comparison configure.in @ 100:4be1180a9e89 r20-1b2
Import from CVS: tag r20-1b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:11 +0200 |
parents | 0d2f883870bc |
children | cf808b4c4290 |
comparison
equal
deleted
inserted
replaced
99:2d83cbd90d8d | 100:4be1180a9e89 |
---|---|
294 --with-wnn Compile with support for WNN (a multi-language input method | 294 --with-wnn Compile with support for WNN (a multi-language input method |
295 used in conjunction with Mule support). | 295 used in conjunction with Mule support). |
296 This is beta level code. | 296 This is beta level code. |
297 --with-wnn6 Compile with support for WNN version 6 | 297 --with-wnn6 Compile with support for WNN version 6 |
298 This is alpha level code. | 298 This is alpha level code. |
299 --wnn-includes=DIR Search for WNN header files in DIR. | |
300 --wnn-libraries=DIR Search for WNN libraries in DIR. | |
299 --with-i18n3 Compile with I18N level 3 (support for message | 301 --with-i18n3 Compile with I18N level 3 (support for message |
300 translation). This doesn't currently work. | 302 translation). This doesn't currently work. |
301 | 303 |
302 | 304 |
303 Debugging options: | 305 Debugging options: |
459 compiler | \ | 461 compiler | \ |
460 puresize | \ | 462 puresize | \ |
461 native_sound_lib | \ | 463 native_sound_lib | \ |
462 x_includes | \ | 464 x_includes | \ |
463 x_libraries | \ | 465 x_libraries | \ |
466 wnn_includes | \ | |
467 wnn_libraries | \ | |
464 site_includes | \ | 468 site_includes | \ |
465 site_libraries | \ | 469 site_libraries | \ |
466 site_runtime_libraries ) | 470 site_runtime_libraries ) |
467 ## If the value was omitted, get it from the next argument. | 471 ## If the value was omitted, get it from the next argument. |
468 if test "${valomitted}" = "yes" ; then | 472 if test "${valomitted}" = "yes" ; then |
2269 if test "${window_system}" != "none" -a \ | 2273 if test "${window_system}" != "none" -a \ |
2270 "${with_cde}" != "no" -a \ | 2274 "${with_cde}" != "no" -a \ |
2271 "${with_cde}" != "yes" ; then | 2275 "${with_cde}" != "yes" ; then |
2272 internal_cde_lib_found='no' | 2276 internal_cde_lib_found='no' |
2273 AC_HAVE_LIBRARY(-lDtSvc, internal_cde_lib_found='yes') | 2277 AC_HAVE_LIBRARY(-lDtSvc, internal_cde_lib_found='yes') |
2278 if test "${internal_cde_lib_found}" = "no" -a -f "/usr/dt/lib/libDtSvc.a"; then | |
2279 internal_cde_lib_found="yes" | |
2280 fi | |
2274 if test "${internal_cde_lib_found}" = "yes" ; then | 2281 if test "${internal_cde_lib_found}" = "yes" ; then |
2275 internal_cde_includes_found='no' | 2282 internal_cde_includes_found='no' |
2276 for arg in ${DEFS} /usr/include ; do | 2283 for arg in ${DEFS} /usr/include /usr/dt/include ; do |
2277 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then | 2284 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then |
2278 internal_cde_includes_found='yes' | 2285 internal_cde_includes_found='yes' |
2279 fi | 2286 fi |
2280 done | 2287 done |
2281 if test "${internal_cde_includes_found}" = "yes" ; then | 2288 if test "${internal_cde_includes_found}" = "yes" ; then |
2282 with_cde='yes' | 2289 with_cde='yes' |
2283 fi | 2290 fi |
2284 fi | 2291 fi |
2285 fi | 2292 fi |
2286 IF_YES_AC_DEFINE(with_cde, HAVE_CDE) | 2293 IF_YES_AC_DEFINE(with_cde, HAVE_CDE) |
2294 | |
2295 # having CDE implies Tooltalk | |
2296 if test "${with_cde}" = "yes" -a \ | |
2297 "${with_tooltalk}" != "no" -a \ | |
2298 "${with_tooltalk}" != "none" ; then | |
2299 with_tooltalk='yes' | |
2300 fi | |
2287 | 2301 |
2288 # | 2302 # |
2289 # See if we can find OffiX. | 2303 # See if we can find OffiX. |
2290 # | 2304 # |
2291 if test "${window_system}" != "none" -a \ | 2305 if test "${window_system}" != "none" -a \ |
2367 # LIBS="$OLDLIBS" | 2381 # LIBS="$OLDLIBS" |
2368 | 2382 |
2369 if test "${window_system}" != "none" ; then | 2383 if test "${window_system}" != "none" ; then |
2370 if test "${with_xmu}" != "no" ; then | 2384 if test "${with_xmu}" != "no" ; then |
2371 test "${with_xmu}" != "yes" && { AC_HAVE_LIBRARY(-lXmu, with_xmu="yes") } | 2385 test "${with_xmu}" != "yes" && { AC_HAVE_LIBRARY(-lXmu, with_xmu="yes") } |
2372 # On SunOS4 we must kludge harder to try to detect Xmu | 2386 # On SunOS4 (and 5!) we must kludge harder to try to detect Xmu |
2373 # Upgrade to autoconf 2 and use ac_check_lib - mrb | 2387 # Upgrade to autoconf 2 and use ac_check_lib - mrb |
2374 if test "${with_xmu}" != "yes" -a -n "$OPENWINHOME" ; then | 2388 if test "${with_xmu}" != "yes" ; then |
2375 # begin expansion of ac_have_library | 2389 # begin expansion of ac_have_library |
2376 ac_save_LIBS="${LIBS}" | 2390 ac_save_LIBS="${LIBS}" |
2377 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" | 2391 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" |
2378 if test ${machine} = sparc -a ${opsys} = linux; then | 2392 if test ${machine} = sparc -a ${opsys} = linux; then |
2379 LIBS="${LIBS} -lICE -lSM" | 2393 LIBS="${LIBS} -lICE -lSM" |
2650 fi | 2664 fi |
2651 eval "with_$feature=no" | 2665 eval "with_$feature=no" |
2652 done | 2666 done |
2653 fi | 2667 fi |
2654 | 2668 |
2669 # | |
2670 # set defaults for finding WNN includes and libs | |
2671 # | |
2672 if test "${with_wnn}" = "yes" ; then | |
2673 for arg in "-I${wnn_includes}" "-I/usr/X11R6/include" | |
2674 do | |
2675 if test -f `echo "${arg}/wnnerror.h" | sed 's/^\-I//'` ; then | |
2676 C_SWITCH_SITE="${C_SWITCH_SITE} ${arg}" | |
2677 wnn_includes=${arg} | |
2678 fi | |
2679 done | |
2680 for arg in "-L${wnn_libraries}" "-I/usr/X11R6/lib" | |
2681 do | |
2682 if test -f `echo "${arg}/libwnn.a" | sed 's/^\-L//'` ; then | |
2683 LD_SWITCH_SITE="${LD_SWITCH_SITE} ${arg}" | |
2684 wnn_libraries=${arg} | |
2685 fi | |
2686 done | |
2687 fi | |
2688 | |
2655 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 2689 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
2656 AC_COMPILE_CHECK(declaration of h_errno in netdb.h, | 2690 AC_COMPILE_CHECK(declaration of h_errno in netdb.h, |
2657 [#include <netdb.h>], | 2691 [#include <netdb.h>], |
2658 [int i = h_errno;], | 2692 [int i = h_errno;], |
2659 AC_DEFINE(HAVE_H_ERRNO)) | 2693 AC_DEFINE(HAVE_H_ERRNO)) |
2877 if test "${with_sound}" = "nas" -o \ | 2911 if test "${with_sound}" = "nas" -o \ |
2878 "${with_sound}" = "both"; then | 2912 "${with_sound}" = "both"; then |
2879 AC_HEADER_EGREP(AuXtErrorJump,audio/Xtutil.h, , old_nas=true) | 2913 AC_HEADER_EGREP(AuXtErrorJump,audio/Xtutil.h, , old_nas=true) |
2880 fi | 2914 fi |
2881 | 2915 |
2916 if test "${with_cde}" = "yes" ; then | |
2917 if test -f "/usr/dt/include/Dt/Dt.h" ; then | |
2918 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} -I/usr/dt/include" | |
2919 fi | |
2920 if test -f "/usr/dt/lib/libDtSvc.a" ; then | |
2921 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} -L/usr/dt/lib" | |
2922 fi | |
2923 fi | |
2924 | |
2882 if test "${with_tooltalk}" = "yes" ; then | 2925 if test "${with_tooltalk}" = "yes" ; then |
2883 for arg in ${DEFS} "-I/usr/include" "-I${OPENWINHOME-/usr/openwin}/include" | 2926 for arg in "-I/usr/include/desktop" "-I${OPENWINHOME-/usr/openwin}/include/desktop" "-I/usr/dt/include/Tt" |
2884 do | 2927 do |
2885 if test -f `echo "${arg}/desktop/tt_c.h" | sed 's/^\-I//'` ; then | 2928 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then |
2886 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}/desktop" | 2929 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}" |
2887 fi | 2930 fi |
2888 done | 2931 done |
2889 | 2932 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" |
2890 for arg in ${LIBS} "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" | |
2891 do | 2933 do |
2892 case "${arg}" in | 2934 case "${arg}" in |
2893 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then | 2935 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then |
2894 dash_r='' | 2936 dash_r='' |
2895 if test -n "${add_runtime_flag}" ; then | 2937 if test -n "${add_runtime_flag}" ; then |
3128 elif test -n "$site_libraries"; then | 3170 elif test -n "$site_libraries"; then |
3129 echo " Additional libraries: ${site_libraries}" | 3171 echo " Additional libraries: ${site_libraries}" |
3130 elif test -n "$site_runtime_libraries"; then | 3172 elif test -n "$site_runtime_libraries"; then |
3131 echo " Additional libraries: ${site_runtime_libraries}" | 3173 echo " Additional libraries: ${site_runtime_libraries}" |
3132 fi | 3174 fi |
3133 | 3175 if test "$with_wnn"; then |
3176 echo " Finding WNN includes with: ${wnn_includes}" | |
3177 echo " Loading WNN libs with: ${wnn_libraries}" | |
3178 fi | |
3134 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 3179 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
3135 test "$with_term" = yes && echo " Compiling in support for TERM." | 3180 test "$with_term" = yes && echo " Compiling in support for TERM." |
3136 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." | 3181 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." |
3137 test "$with_xpm" = yes && echo " Compiling in support for XPM." | 3182 test "$with_xpm" = yes && echo " Compiling in support for XPM." |
3138 if test "$with_xmu" != yes -a "$window_system" != none; then | 3183 if test "$with_xmu" != yes -a "$window_system" != none; then |
3159 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 3204 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
3160 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 3205 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
3161 | 3206 |
3162 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 3207 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
3163 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 3208 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
3164 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | |
3165 | 3209 |
3166 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 3210 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
3167 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 3211 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." |
3168 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 3212 test "$with_xim" = motif && echo " Using Motif to provide XIM support." |
3169 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | 3213 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." |
3171 test "$with_wnn" = yes && echo " Compiling in support for WNN on Mule." | 3215 test "$with_wnn" = yes && echo " Compiling in support for WNN on Mule." |
3172 test "$with_wnn6" = yes && echo " WNN support for version 6." | 3216 test "$with_wnn6" = yes && echo " WNN support for version 6." |
3173 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." | 3217 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." |
3174 | 3218 |
3175 test "$with_cde" = yes && echo " Compiling in support for CDE." | 3219 test "$with_cde" = yes && echo " Compiling in support for CDE." |
3220 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | |
3176 test "$with_offix" = yes && echo " Compiling in support for OffiX." | 3221 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
3177 test "$with_mocklisp" = yes && echo " Compiling in support for Mocklisp." | 3222 test "$with_mocklisp" = yes && echo " Compiling in support for Mocklisp." |
3178 test "$with_sparcworks" = yes && echo " Compiling in support for SparcWorks." | 3223 test "$with_sparcworks" = yes && echo " Compiling in support for SparcWorks." |
3179 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." | 3224 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." |
3180 test "$with_menubars" = "lucid" && echo " Using the Lucid menubar." | 3225 test "$with_menubars" = "lucid" && echo " Using the Lucid menubar." |