comparison configure.in @ 118:7d55a9ba150c r20-1b11

Import from CVS: tag r20-1b11
author cvs
date Mon, 13 Aug 2007 09:24:17 +0200
parents 9f59509498e1
children cca96a509cfe
comparison
equal deleted inserted replaced
117:578fd4947a72 118:7d55a9ba150c
276 --with-mocklisp Compile with Mocklisp support. Don't do this 276 --with-mocklisp Compile with Mocklisp support. Don't do this
277 unless you have a Mocklisp program that you need 277 unless you have a Mocklisp program that you need
278 to run. 278 to run.
279 --usage-tracking Enable some Sun-internal code. If you don't 279 --usage-tracking Enable some Sun-internal code. If you don't
280 know what this is, you don't want it. 280 know what this is, you don't want it.
281 --with-pop support POP for mail retrieval
282 --with-kerberos support Kerberos-authenticated POP
283 --with-hesiod support Hesiod to get the POP server host
281 284
282 Internationalization options: 285 Internationalization options:
283 286
284 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, 287 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
285 needed to suport non-Latin-1 (including Asian) languages. 288 needed to suport non-Latin-1 (including Asian) languages.
434 with_wnn6 | \ 437 with_wnn6 | \
435 with_mocklisp | \ 438 with_mocklisp | \
436 with_energize | \ 439 with_energize | \
437 with_sparcworks | \ 440 with_sparcworks | \
438 with_tooltalk | \ 441 with_tooltalk | \
442 with_pop | \
443 with_kerberos | \
444 with_hesiod | \
439 external_widget | \ 445 external_widget | \
440 extra_verbose | \ 446 extra_verbose | \
441 const_is_losing | \ 447 const_is_losing | \
442 usage_tracking | \ 448 usage_tracking | \
443 use_union_type | \ 449 use_union_type | \
1297 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; 1303 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;;
1298 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; 1304 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;;
1299 ## Iris 4D 1305 ## Iris 4D
1300 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; 1306 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;;
1301 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; 1307 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;;
1302 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 ;; 1308 mips-sgi-irix6* ) machine=iris4d
1309 opsys=irix6-0
1310 NON_GNU_CC="cc -Olimit 2000" ;;
1303 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; 1311 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;;
1304 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; 1312 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;;
1305 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; 1313 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;;
1306 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; 1314 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;;
1307 1315
1521 case "${opsys}" in 1529 case "${opsys}" in
1522 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; 1530 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;;
1523 esac 1531 esac
1524 elif test "${dynamic}" = "no" ; then 1532 elif test "${dynamic}" = "no" ; then
1525 case "${opsys}" in 1533 case "${opsys}" in
1526 sol2* | decosf1-3 | decosf3-* | linux ) opsys="${opsys}-static" ;; 1534 sol2* | decosf1-3 | decosf3-* | decosf4-* | linux ) opsys="${opsys}-static" ;;
1527 esac 1535 esac
1528 fi 1536 fi
1529 1537
1530 dynodump_arch='' 1538 dynodump_arch=''
1531 if test "${need_dynodump}" = "yes" ; then 1539 if test "${need_dynodump}" = "yes" ; then
1876 add_runtime_flag=yes ;; 1884 add_runtime_flag=yes ;;
1877 *-sgi-irix5.* ) 1885 *-sgi-irix5.* )
1878 # In the IRIX 5.3 ld, only the last -rpath arg has any effect. This is 1886 # In the IRIX 5.3 ld, only the last -rpath arg has any effect. This is
1879 # fundamentaly incompatible with having separate LD_SWITCH_X_SITE 1887 # fundamentaly incompatible with having separate LD_SWITCH_X_SITE
1880 # and LD_SWITCH_SITE variables. Fortunately, SGI fixed this by 6.2. 1888 # and LD_SWITCH_SITE variables. Fortunately, SGI fixed this by 6.2.
1881 if [ -n "${x_libraries}" ] || [ -n "${site_runtime_libraries}" ]; then 1889 if test -n "${x_libraries}" || test -n "${site_runtime_libraries}" ; then
1882 (echo "WARNING: The IRIX 5 ld ignores all but the last -rpath argument,"; 1890 (echo "WARNING: The IRIX 5 ld ignores all but the last -rpath argument,";
1883 echo " so if you need to specify more than one additional"; 1891 echo " so if you need to specify more than one additional";
1884 echo " runtime library directory, you will have to do so"; 1892 echo " runtime library directory, you will have to do so";
1885 echo " manually by setting the environment variable"; 1893 echo " manually by setting the environment variable";
1886 echo " LD_SWITCH_SITE to '-rpath <path>' before running"; 1894 echo " LD_SWITCH_SITE to '-rpath <path>' before running";
1897 add_runtime_flag=yes; 1905 add_runtime_flag=yes;
1898 runtime_arg="-rpath " ;; 1906 runtime_arg="-rpath " ;;
1899 esac 1907 esac
1900 1908
1901 if test -n "${x_libraries}" ; then 1909 if test -n "${x_libraries}" ; then
1902 if test "${add_runtime_flag}" = "yes" ]; then 1910 if test "${add_runtime_flag}" = "yes" ; then
1903 LD_SWITCH_X_SITE="-L${x_libraries} ${runtime_arg}${x_libraries}" 1911 LD_SWITCH_X_SITE="-L${x_libraries} ${runtime_arg}${x_libraries}"
1904 else 1912 else
1905 LD_SWITCH_X_SITE="-L${x_libraries}" 1913 LD_SWITCH_X_SITE="-L${x_libraries}"
1906 fi 1914 fi
1907 fi 1915 fi
2989 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" 2997 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib"
2990 do 2998 do
2991 case "${arg}" in 2999 case "${arg}" in
2992 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then 3000 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then
2993 dash_r='' 3001 dash_r=''
2994 if [ "${add_runtime_flag}" = "yes" ]; then 3002 if test "${add_runtime_flag}" = "yes" ; then
2995 dash_r=`echo ${arg} | sed "s/^-L */${runtime_arg}/"` 3003 dash_r=`echo ${arg} | sed "s/^-L */${runtime_arg}/"`
2996 fi 3004 fi
2997 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}" 3005 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}"
2998 fi 3006 fi
2999 ;; 3007 ;;
3178 IF_YES_AC_DEFINE(const_is_losing,CONST_IS_LOSING) 3186 IF_YES_AC_DEFINE(const_is_losing,CONST_IS_LOSING)
3179 IF_YES_AC_DEFINE(use_assertions, USE_ASSERTIONS) 3187 IF_YES_AC_DEFINE(use_assertions, USE_ASSERTIONS)
3180 IF_YES_AC_DEFINE(debug, DEBUG_XEMACS) 3188 IF_YES_AC_DEFINE(debug, DEBUG_XEMACS)
3181 IF_YES_AC_DEFINE(quantify, QUANTIFY) 3189 IF_YES_AC_DEFINE(quantify, QUANTIFY)
3182 IF_YES_AC_DEFINE(memory_usage_stats, MEMORY_USAGE_STATS) 3190 IF_YES_AC_DEFINE(memory_usage_stats, MEMORY_USAGE_STATS)
3191 IF_YES_AC_DEFINE(with_pop, MAIL_USE_POP)
3192 IF_YES_AC_DEFINE(with_kerberos, KERBEROS)
3193 IF_YES_AC_DEFINE(with_hesiod, HESIOD)
3183 3194
3184 IF_YES_AC_DEFINE(error_check_extents, ERROR_CHECK_EXTENTS) 3195 IF_YES_AC_DEFINE(error_check_extents, ERROR_CHECK_EXTENTS)
3185 IF_YES_AC_DEFINE(error_check_typecheck, ERROR_CHECK_TYPECHECK) 3196 IF_YES_AC_DEFINE(error_check_typecheck, ERROR_CHECK_TYPECHECK)
3186 IF_YES_AC_DEFINE(error_check_bufpos, ERROR_CHECK_BUFPOS) 3197 IF_YES_AC_DEFINE(error_check_bufpos, ERROR_CHECK_BUFPOS)
3187 IF_YES_AC_DEFINE(error_check_gc, ERROR_CHECK_GC) 3198 IF_YES_AC_DEFINE(error_check_gc, ERROR_CHECK_GC)
3201 3212
3202 dnl ############################################################################ 3213 dnl ############################################################################
3203 dnl # Report on what we decided to do # 3214 dnl # Report on what we decided to do #
3204 dnl ############################################################################ 3215 dnl ############################################################################
3205 3216
3206 echo "$0 $configure_args" >> Installation 3217 (
3218 echo "uname -a: `uname -a`"
3219 echo ""
3220 echo "$0 $configure_args"
3221 ) >> Installation
3207 # Start stdout redirection to '| tee -a Installation' 3222 # Start stdout redirection to '| tee -a Installation'
3208 ( 3223 (
3209 echo " 3224 echo "
3210 3225
3211 Configured for \`${canonical}'. 3226 Configured for \`${canonical}'.
3230 elif test -n "$site_libraries"; then 3245 elif test -n "$site_libraries"; then
3231 echo " Additional libraries: ${site_libraries}" 3246 echo " Additional libraries: ${site_libraries}"
3232 elif test -n "$site_runtime_libraries"; then 3247 elif test -n "$site_runtime_libraries"; then
3233 echo " Additional libraries: ${site_runtime_libraries}" 3248 echo " Additional libraries: ${site_runtime_libraries}"
3234 fi 3249 fi
3235 if test "$with_wnn"; then 3250 if test "$with_wnn" = yes ; then
3236 echo " Finding WNN includes with: ${wnn_includes}" 3251 echo " Finding WNN includes with: ${wnn_includes}"
3237 echo " Loading WNN libs with: ${wnn_libraries}" 3252 echo " Loading WNN libs with: ${wnn_libraries}"
3238 fi 3253 fi
3239 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 3254 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
3240 test "$with_term" = yes && echo " Compiling in support for TERM." 3255 test "$with_term" = yes && echo " Compiling in support for TERM."
3262 3277
3263 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." 3278 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB."
3264 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." 3279 test "$with_database_dbm" = yes && echo " Compiling in support for DBM."
3265 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." 3280 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM."
3266 3281
3267 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." 3282 test "$have_ncurses" = yes && echo " Compiling in support for ncurses."
3268 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 3283 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
3269 3284
3270 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." 3285 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support."
3271 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." 3286 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support."
3272 test "$with_xim" = motif && echo " Using Motif to provide XIM support." 3287 test "$with_xim" = motif && echo " Using Motif to provide XIM support."
3294 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." 3309 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar."
3295 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar." 3310 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar."
3296 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." 3311 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes."
3297 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." 3312 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes."
3298 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes." 3313 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes."
3314 test "$with_pop" = yes && "Using POP for mail access"
3315 test "$with_kerberos" = yes && "Using Kerberos for POP authentication"
3316 test "$with_hesiod" = yes && "Using Hesiod to get POP server host"
3299 3317
3300 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." 3318 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects."
3301 test "${debug}" = yes && echo " Compiling in extra code for debugging." 3319 test "${debug}" = yes && echo " Compiling in extra code for debugging."
3302 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." 3320 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage."
3303 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." 3321 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)."
3322 echo ""
3304 ) | tee -a Installation 3323 ) | tee -a Installation
3305 echo " | tee -a Installation 3324 echo 'The above configure report is appended to "Installation" file.'
3306 " 3325 echo ""
3326
3307 dnl ############################################################################ 3327 dnl ############################################################################
3308 dnl # Now generate! # 3328 dnl # Now generate! #
3309 dnl ############################################################################ 3329 dnl ############################################################################
3310 3330
3311 dnl This has to be called in order for this variable to get into config.status 3331 dnl This has to be called in order for this variable to get into config.status