comparison configure.in @ 136:b980b6286996 r20-2b2

Import from CVS: tag r20-2b2
author cvs
date Mon, 13 Aug 2007 09:31:12 +0200
parents 34a5b81f86ba
children 585fb297b004
comparison
equal deleted inserted replaced
135:4636a6841cd6 136:b980b6286996
134 with_gif='' 134 with_gif=''
135 # the following is set to yes or no later. 135 # the following is set to yes or no later.
136 with_toolbars='' 136 with_toolbars=''
137 with_tty='yes' 137 with_tty='yes'
138 use_union_type='no' 138 use_union_type='no'
139 with_dnet=''
139 140
140 # # gnu echo silently eats `--help', `--version', `-n', `-e', `-E', `-n'. 141 # # gnu echo silently eats `--help', `--version', `-n', `-e', `-E', `-n'.
141 # # other versions of echo eat any strings beginning with `-n'. 142 # # other versions of echo eat any strings beginning with `-n'.
142 # # when parsing arguments, special case these strings and don't 143 # # when parsing arguments, special case these strings and don't
143 # # pass them through echo 144 # # pass them through echo
277 --usage-tracking Enable some Sun-internal code. If you don't 278 --usage-tracking Enable some Sun-internal code. If you don't
278 know what this is, you don't want it. 279 know what this is, you don't want it.
279 --with-pop support POP for mail retrieval 280 --with-pop support POP for mail retrieval
280 --with-kerberos support Kerberos-authenticated POP 281 --with-kerberos support Kerberos-authenticated POP
281 --with-hesiod support Hesiod to get the POP server host 282 --with-hesiod support Hesiod to get the POP server host
283 --with-dnet (*) Compile with support for DECnet.
282 284
283 Internationalization options: 285 Internationalization options:
284 286
285 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, 287 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
286 needed to suport non-Latin-1 (including Asian) languages. 288 needed to suport non-Latin-1 (including Asian) languages.
451 with_sparcworks | \ 453 with_sparcworks | \
452 with_tooltalk | \ 454 with_tooltalk | \
453 with_pop | \ 455 with_pop | \
454 with_kerberos | \ 456 with_kerberos | \
455 with_hesiod | \ 457 with_hesiod | \
458 with_dnet | \
456 external_widget | \ 459 external_widget | \
457 verbose | \ 460 verbose | \
458 extra_verbose | \ 461 extra_verbose | \
459 const_is_losing | \ 462 const_is_losing | \
460 usage_tracking | \ 463 usage_tracking | \
2067 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS" 2070 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS"
2068 2071
2069 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks, 2072 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks,
2070 dnl and also adds -ldnet to LIBS, which Autoconf uses for checks. 2073 dnl and also adds -ldnet to LIBS, which Autoconf uses for checks.
2071 dnl FSF 19.29 also checks for function dnet_ntoa. 2074 dnl FSF 19.29 also checks for function dnet_ntoa.
2072 AC_HAVE_LIBRARY(-ldnet) 2075 test "${with_dnet}" != "no" -a \
2076 "${with_dnet}" != "yes" && { AC_HAVE_LIBRARY(-ldnet, with_dnet="yes") }
2077 IF_YES_AC_DEFINE(with_dnet, HAVE_LIBDNET)
2078
2073 dnl This causes -lresolv to get used in subsequent tests, 2079 dnl This causes -lresolv to get used in subsequent tests,
2074 dnl which causes failures on some systems such as HPUX 9. 2080 dnl which causes failures on some systems such as HPUX 9.
2075 dnl FSF 19.29 also checks for function gethostbyname. 2081 dnl FSF 19.29 also checks for function gethostbyname.
2076 dnl AC_HAVE_LIBRARY(-lresolv) 2082 dnl AC_HAVE_LIBRARY(-lresolv)
2077 2083
2942 do 2948 do
2943 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then 2949 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then
2944 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}" 2950 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}"
2945 fi 2951 fi
2946 done 2952 done
2947 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" 2953 for arg in "-L/usr/lib" "-L${OPENWINHOME-/usr/openwin}/lib" "-L/usr/dt/lib"
2948 do 2954 do
2949 case "${arg}" in 2955 case "${arg}" in
2950 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then 2956 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then
2951 dash_r='' 2957 dash_r=''
2952 if test "${add_runtime_flag}" = "yes" ; then 2958 if test "${add_runtime_flag}" = "yes" ; then
3199 elif test -n "$site_libraries"; then 3205 elif test -n "$site_libraries"; then
3200 echo " Additional libraries: ${site_libraries}" 3206 echo " Additional libraries: ${site_libraries}"
3201 elif test -n "$site_runtime_libraries"; then 3207 elif test -n "$site_runtime_libraries"; then
3202 echo " Additional libraries: ${site_runtime_libraries}" 3208 echo " Additional libraries: ${site_runtime_libraries}"
3203 fi 3209 fi
3210 test "$with_dnet" = yes && echo " Compiling in support for DNET."
3204 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 3211 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
3205 test "$with_term" = yes && echo " Compiling in support for TERM." 3212 test "$with_term" = yes && echo " Compiling in support for TERM."
3206 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." 3213 test "$with_xauth" = yes && echo " Compiling in support for XAUTH."
3207 test "$with_xpm" = yes && echo " Compiling in support for XPM." 3214 test "$with_xpm" = yes && echo " Compiling in support for XPM."
3208 if test "$with_xmu" != yes -a "$window_system" != none; then 3215 if test "$with_xmu" != yes -a "$window_system" != none; then