comparison configure @ 136:b980b6286996 r20-2b2

Import from CVS: tag r20-2b2
author cvs
date Mon, 13 Aug 2007 09:31:12 +0200
parents 1370575f1259
children 585fb297b004
comparison
equal deleted inserted replaced
135:4636a6841cd6 136:b980b6286996
118 with_gif='' 118 with_gif=''
119 # the following is set to yes or no later. 119 # the following is set to yes or no later.
120 with_toolbars='' 120 with_toolbars=''
121 with_tty='yes' 121 with_tty='yes'
122 use_union_type='no' 122 use_union_type='no'
123 with_dnet=''
123 124
124 # # gnu echo silently eats `--help', `--version', `-n', `-e', `-E', `-n'. 125 # # gnu echo silently eats `--help', `--version', `-n', `-e', `-E', `-n'.
125 # # other versions of echo eat any strings beginning with `-n'. 126 # # other versions of echo eat any strings beginning with `-n'.
126 # # when parsing arguments, special case these strings and don't 127 # # when parsing arguments, special case these strings and don't
127 # # pass them through echo 128 # # pass them through echo
261 --usage-tracking Enable some Sun-internal code. If you don't 262 --usage-tracking Enable some Sun-internal code. If you don't
262 know what this is, you don't want it. 263 know what this is, you don't want it.
263 --with-pop support POP for mail retrieval 264 --with-pop support POP for mail retrieval
264 --with-kerberos support Kerberos-authenticated POP 265 --with-kerberos support Kerberos-authenticated POP
265 --with-hesiod support Hesiod to get the POP server host 266 --with-hesiod support Hesiod to get the POP server host
267 --with-dnet (*) Compile with support for DECnet.
266 268
267 Internationalization options: 269 Internationalization options:
268 270
269 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, 271 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
270 needed to suport non-Latin-1 (including Asian) languages. 272 needed to suport non-Latin-1 (including Asian) languages.
432 with_sparcworks | \ 434 with_sparcworks | \
433 with_tooltalk | \ 435 with_tooltalk | \
434 with_pop | \ 436 with_pop | \
435 with_kerberos | \ 437 with_kerberos | \
436 with_hesiod | \ 438 with_hesiod | \
439 with_dnet | \
437 external_widget | \ 440 external_widget | \
438 verbose | \ 441 verbose | \
439 extra_verbose | \ 442 extra_verbose | \
440 const_is_losing | \ 443 const_is_losing | \
441 usage_tracking | \ 444 usage_tracking | \
2965 2968
2966 CPPFLAGS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $CPPFLAGS" 2969 CPPFLAGS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $CPPFLAGS"
2967 DEFS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $DEFS" 2970 DEFS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $DEFS"
2968 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS" 2971 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS"
2969 2972
2970 ac_save_LIBS="${LIBS}" 2973 test "${with_dnet}" != "no" -a \
2974 "${with_dnet}" != "yes" && { ac_save_LIBS="${LIBS}"
2971 LIBS="${LIBS} -ldnet" 2975 LIBS="${LIBS} -ldnet"
2972 ac_have_lib="" 2976 ac_have_lib=""
2973 test -n "$silent" || echo "checking for -ldnet" 2977 test -n "$silent" || echo "checking for -ldnet"
2974 cat > conftest.${ac_ext} <<EOF 2978 cat > conftest.${ac_ext} <<EOF
2975 #include "confdefs.h" 2979 #include "confdefs.h"
2983 2987
2984 fi 2988 fi
2985 rm -f conftest* 2989 rm -f conftest*
2986 LIBS="${ac_save_LIBS}" 2990 LIBS="${ac_save_LIBS}"
2987 if test -n "${ac_have_lib}"; then 2991 if test -n "${ac_have_lib}"; then
2988 2992 :; with_dnet="yes"
2993 else
2994 :;
2995 fi
2996 }
2997 test "${with_dnet}" = yes &&
2989 { 2998 {
2990 test -n "$verbose" && \ 2999 test -n "$verbose" && \
2991 echo " defining HAVE_LIBDNET" 3000 echo " defining HAVE_LIBDNET"
2992 echo "#define" HAVE_LIBDNET "1" >> confdefs.h 3001 echo "#define" HAVE_LIBDNET "1" >> confdefs.h
2993 DEFS="$DEFS -DHAVE_LIBDNET=1" 3002 DEFS="$DEFS -DHAVE_LIBDNET=1"
2995 \${ac_uA}HAVE_LIBDNET\${ac_uB}HAVE_LIBDNET\${ac_uC}1\${ac_uD} 3004 \${ac_uA}HAVE_LIBDNET\${ac_uB}HAVE_LIBDNET\${ac_uC}1\${ac_uD}
2996 \${ac_eA}HAVE_LIBDNET\${ac_eB}HAVE_LIBDNET\${ac_eC}1\${ac_eD} 3005 \${ac_eA}HAVE_LIBDNET\${ac_eB}HAVE_LIBDNET\${ac_eC}1\${ac_eD}
2997 " 3006 "
2998 } 3007 }
2999 3008
3000 LIBS="${LIBS} -ldnet"
3001 fi
3002 3009
3003 3010
3004 ac_save_LIBS="${LIBS}" 3011 ac_save_LIBS="${LIBS}"
3005 LIBS="${LIBS} -lkstat" 3012 LIBS="${LIBS} -lkstat"
3006 ac_have_lib="" 3013 ac_have_lib=""
5955 do 5962 do
5956 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then 5963 if test -f `echo "${arg}/tt_c.h" | sed 's/^\-I//'` ; then
5957 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}" 5964 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}"
5958 fi 5965 fi
5959 done 5966 done
5960 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" 5967 for arg in "-L/usr/lib" "-L${OPENWINHOME-/usr/openwin}/lib" "-L/usr/dt/lib"
5961 do 5968 do
5962 case "${arg}" in 5969 case "${arg}" in
5963 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then 5970 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then
5964 dash_r='' 5971 dash_r=''
5965 if test "${add_runtime_flag}" = "yes" ; then 5972 if test "${add_runtime_flag}" = "yes" ; then
7105 } 7112 }
7106 7113
7107 7114
7108 7115
7109 ( 7116 (
7110 echo "uname -a: `uname -a`" 7117 if test -f /etc/osversion; then
7118 # SONY NEWS-OS
7119 echo "osversion: `cat /etc/osversion`"
7120 eles
7121 echo "uname -a: `uname -a`"
7122 fi
7111 echo "" 7123 echo ""
7112 echo "$0 $quoted_arguments" 7124 echo "$0 $quoted_arguments"
7113 ) >> Installation 7125 ) >> Installation
7114 # Start stdout redirection to '| tee -a Installation' 7126 # Start stdout redirection to '| tee -a Installation'
7115 ( 7127 (
7137 elif test -n "$site_libraries"; then 7149 elif test -n "$site_libraries"; then
7138 echo " Additional libraries: ${site_libraries}" 7150 echo " Additional libraries: ${site_libraries}"
7139 elif test -n "$site_runtime_libraries"; then 7151 elif test -n "$site_runtime_libraries"; then
7140 echo " Additional libraries: ${site_runtime_libraries}" 7152 echo " Additional libraries: ${site_runtime_libraries}"
7141 fi 7153 fi
7154 test "$with_dnet" = yes && echo " Compiling in support for DNET."
7142 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 7155 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
7143 test "$with_term" = yes && echo " Compiling in support for TERM." 7156 test "$with_term" = yes && echo " Compiling in support for TERM."
7144 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." 7157 test "$with_xauth" = yes && echo " Compiling in support for XAUTH."
7145 test "$with_xpm" = yes && echo " Compiling in support for XPM." 7158 test "$with_xpm" = yes && echo " Compiling in support for XPM."
7146 if test "$with_xmu" != yes -a "$window_system" != none; then 7159 if test "$with_xmu" != yes -a "$window_system" != none; then