Mercurial > hg > xemacs-beta
comparison configure @ 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 |
---|---|
260 --with-mocklisp Compile with Mocklisp support. Don't do this | 260 --with-mocklisp Compile with Mocklisp support. Don't do this |
261 unless you have a Mocklisp program that you need | 261 unless you have a Mocklisp program that you need |
262 to run. | 262 to run. |
263 --usage-tracking Enable some Sun-internal code. If you don't | 263 --usage-tracking Enable some Sun-internal code. If you don't |
264 know what this is, you don't want it. | 264 know what this is, you don't want it. |
265 --with-pop support POP for mail retrieval | |
266 --with-kerberos support Kerberos-authenticated POP | |
267 --with-hesiod support Hesiod to get the POP server host | |
265 | 268 |
266 Internationalization options: | 269 Internationalization options: |
267 | 270 |
268 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, | 271 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, |
269 needed to suport non-Latin-1 (including Asian) languages. | 272 needed to suport non-Latin-1 (including Asian) languages. |
418 with_wnn6 | \ | 421 with_wnn6 | \ |
419 with_mocklisp | \ | 422 with_mocklisp | \ |
420 with_energize | \ | 423 with_energize | \ |
421 with_sparcworks | \ | 424 with_sparcworks | \ |
422 with_tooltalk | \ | 425 with_tooltalk | \ |
426 with_pop | \ | |
427 with_kerberos | \ | |
428 with_hesiod | \ | |
423 external_widget | \ | 429 external_widget | \ |
424 extra_verbose | \ | 430 extra_verbose | \ |
425 const_is_losing | \ | 431 const_is_losing | \ |
426 usage_tracking | \ | 432 usage_tracking | \ |
427 use_union_type | \ | 433 use_union_type | \ |
1291 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; | 1297 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; |
1292 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; | 1298 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; |
1293 ## Iris 4D | 1299 ## Iris 4D |
1294 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; | 1300 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; |
1295 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; | 1301 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; |
1296 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 ;; | 1302 mips-sgi-irix6* ) machine=iris4d |
1303 opsys=irix6-0 | |
1304 NON_GNU_CC="cc -Olimit 2000" ;; | |
1297 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; | 1305 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; |
1298 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; | 1306 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; |
1299 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; | 1307 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; |
1300 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; | 1308 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; |
1301 | 1309 |
1515 case "${opsys}" in | 1523 case "${opsys}" in |
1516 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; | 1524 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; |
1517 esac | 1525 esac |
1518 elif test "${dynamic}" = "no" ; then | 1526 elif test "${dynamic}" = "no" ; then |
1519 case "${opsys}" in | 1527 case "${opsys}" in |
1520 sol2* | decosf1-3 | decosf3-* | linux ) opsys="${opsys}-static" ;; | 1528 sol2* | decosf1-3 | decosf3-* | decosf4-* | linux ) opsys="${opsys}-static" ;; |
1521 esac | 1529 esac |
1522 fi | 1530 fi |
1523 | 1531 |
1524 dynodump_arch='' | 1532 dynodump_arch='' |
1525 if test "${need_dynodump}" = "yes" ; then | 1533 if test "${need_dynodump}" = "yes" ; then |
2686 add_runtime_flag=yes ;; | 2694 add_runtime_flag=yes ;; |
2687 *-sgi-irix5.* ) | 2695 *-sgi-irix5.* ) |
2688 # In the IRIX 5.3 ld, only the last -rpath arg has any effect. This is | 2696 # In the IRIX 5.3 ld, only the last -rpath arg has any effect. This is |
2689 # fundamentaly incompatible with having separate LD_SWITCH_X_SITE | 2697 # fundamentaly incompatible with having separate LD_SWITCH_X_SITE |
2690 # and LD_SWITCH_SITE variables. Fortunately, SGI fixed this by 6.2. | 2698 # and LD_SWITCH_SITE variables. Fortunately, SGI fixed this by 6.2. |
2691 if [ -n "${x_libraries}" ] || [ -n "${site_runtime_libraries}" ]; then | 2699 if test -n "${x_libraries}" || test -n "${site_runtime_libraries}" ; then |
2692 (echo "WARNING: The IRIX 5 ld ignores all but the last -rpath argument,"; | 2700 (echo "WARNING: The IRIX 5 ld ignores all but the last -rpath argument,"; |
2693 echo " so if you need to specify more than one additional"; | 2701 echo " so if you need to specify more than one additional"; |
2694 echo " runtime library directory, you will have to do so"; | 2702 echo " runtime library directory, you will have to do so"; |
2695 echo " manually by setting the environment variable"; | 2703 echo " manually by setting the environment variable"; |
2696 echo " LD_SWITCH_SITE to '-rpath <path>' before running"; | 2704 echo " LD_SWITCH_SITE to '-rpath <path>' before running"; |
2878 # The value of CPP is a quoted variable reference, so we need to do this | 2886 # The value of CPP is a quoted variable reference, so we need to do this |
2879 # to get its actual value... | 2887 # to get its actual value... |
2880 CPP=`eval "echo $CPP"` | 2888 CPP=`eval "echo $CPP"` |
2881 eval `${CPP} -Isrc ${tempcname} \ | 2889 eval `${CPP} -Isrc ${tempcname} \ |
2882 | grep 'configure___' \ | 2890 | grep 'configure___' \ |
2883 | sed -n -e 's/^configure___ \(^=*=\)\(.*\)$/\1"\2"/p'` | 2891 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` |
2884 if test "x$SPECIFIED_CFLAGS" = x ; then | 2892 if test "x$SPECIFIED_CFLAGS" = x ; then |
2885 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ | 2893 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ |
2886 | grep 'configure___' \ | 2894 | grep 'configure___' \ |
2887 | sed -n -e 's/^configure___ \(^=*=\)\(.*\)$/\1"\2"/p'` | 2895 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` |
2888 else | 2896 else |
2889 REAL_CFLAGS="$CFLAGS" | 2897 REAL_CFLAGS="$CFLAGS" |
2890 fi | 2898 fi |
2891 rm ${tempcname} | 2899 rm ${tempcname} |
2892 | 2900 |
2914 LISP_FLOAT_TYPE=yes | 2922 LISP_FLOAT_TYPE=yes |
2915 | 2923 |
2916 | 2924 |
2917 #### Add the libraries to LIBS and check for some functions. | 2925 #### Add the libraries to LIBS and check for some functions. |
2918 | 2926 |
2919 ] | 2927 |
2920 CPPFLAGS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $CPPFLAGS" | 2928 CPPFLAGS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $CPPFLAGS" |
2921 DEFS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $DEFS" | 2929 DEFS="${C_SWITCH_SITE} $c_switch_system $c_switch_machine $c_switch_x_system $DEFS" |
2922 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS" | 2930 LIBS="${LD_SWITCH_SITE} $ld_switch_x_system $libsrc_libs $LIBS" |
2923 | 2931 |
2924 ac_save_LIBS="${LIBS}" | 2932 ac_save_LIBS="${LIBS}" |
5879 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" | 5887 for arg in "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" "-L/usr/dt/lib" |
5880 do | 5888 do |
5881 case "${arg}" in | 5889 case "${arg}" in |
5882 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then | 5890 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then |
5883 dash_r='' | 5891 dash_r='' |
5884 if "${add_runtime_flag}" = "yes" ; then | 5892 if test "${add_runtime_flag}" = "yes" ; then |
5885 dash_r=`echo ${arg} | sed "s/^-L */${runtime_arg}/"` | 5893 dash_r=`echo ${arg} | sed "s/^-L */${runtime_arg}/"` |
5886 fi | 5894 fi |
5887 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}" | 5895 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}" |
5888 fi | 5896 fi |
5889 ;; | 5897 ;; |
6847 \${ac_uA}MEMORY_USAGE_STATS\${ac_uB}MEMORY_USAGE_STATS\${ac_uC}1\${ac_uD} | 6855 \${ac_uA}MEMORY_USAGE_STATS\${ac_uB}MEMORY_USAGE_STATS\${ac_uC}1\${ac_uD} |
6848 \${ac_eA}MEMORY_USAGE_STATS\${ac_eB}MEMORY_USAGE_STATS\${ac_eC}1\${ac_eD} | 6856 \${ac_eA}MEMORY_USAGE_STATS\${ac_eB}MEMORY_USAGE_STATS\${ac_eC}1\${ac_eD} |
6849 " | 6857 " |
6850 } | 6858 } |
6851 | 6859 |
6860 test "${with_pop}" = yes && | |
6861 { | |
6862 test -n "$verbose" && \ | |
6863 echo " defining MAIL_USE_POP" | |
6864 echo "#define" MAIL_USE_POP "1" >> confdefs.h | |
6865 DEFS="$DEFS -DMAIL_USE_POP=1" | |
6866 ac_sed_defs="${ac_sed_defs}\${ac_dA}MAIL_USE_POP\${ac_dB}MAIL_USE_POP\${ac_dC}1\${ac_dD} | |
6867 \${ac_uA}MAIL_USE_POP\${ac_uB}MAIL_USE_POP\${ac_uC}1\${ac_uD} | |
6868 \${ac_eA}MAIL_USE_POP\${ac_eB}MAIL_USE_POP\${ac_eC}1\${ac_eD} | |
6869 " | |
6870 } | |
6871 | |
6872 test "${with_kerberos}" = yes && | |
6873 { | |
6874 test -n "$verbose" && \ | |
6875 echo " defining KERBEROS" | |
6876 echo "#define" KERBEROS "1" >> confdefs.h | |
6877 DEFS="$DEFS -DKERBEROS=1" | |
6878 ac_sed_defs="${ac_sed_defs}\${ac_dA}KERBEROS\${ac_dB}KERBEROS\${ac_dC}1\${ac_dD} | |
6879 \${ac_uA}KERBEROS\${ac_uB}KERBEROS\${ac_uC}1\${ac_uD} | |
6880 \${ac_eA}KERBEROS\${ac_eB}KERBEROS\${ac_eC}1\${ac_eD} | |
6881 " | |
6882 } | |
6883 | |
6884 test "${with_hesiod}" = yes && | |
6885 { | |
6886 test -n "$verbose" && \ | |
6887 echo " defining HESIOD" | |
6888 echo "#define" HESIOD "1" >> confdefs.h | |
6889 DEFS="$DEFS -DHESIOD=1" | |
6890 ac_sed_defs="${ac_sed_defs}\${ac_dA}HESIOD\${ac_dB}HESIOD\${ac_dC}1\${ac_dD} | |
6891 \${ac_uA}HESIOD\${ac_uB}HESIOD\${ac_uC}1\${ac_uD} | |
6892 \${ac_eA}HESIOD\${ac_eB}HESIOD\${ac_eC}1\${ac_eD} | |
6893 " | |
6894 } | |
6895 | |
6852 | 6896 |
6853 test "${error_check_extents}" = yes && | 6897 test "${error_check_extents}" = yes && |
6854 { | 6898 { |
6855 test -n "$verbose" && \ | 6899 test -n "$verbose" && \ |
6856 echo " defining ERROR_CHECK_EXTENTS" | 6900 echo " defining ERROR_CHECK_EXTENTS" |
6999 " | 7043 " |
7000 } | 7044 } |
7001 | 7045 |
7002 | 7046 |
7003 | 7047 |
7004 echo "$0 $configure_args" >> Installation | 7048 ( |
7049 echo "uname -a: `uname -a`" | |
7050 echo "" | |
7051 echo "$0 $configure_args" | |
7052 ) >> Installation | |
7005 # Start stdout redirection to '| tee -a Installation' | 7053 # Start stdout redirection to '| tee -a Installation' |
7006 ( | 7054 ( |
7007 echo " | 7055 echo " |
7008 | 7056 |
7009 Configured for \`${canonical}'. | 7057 Configured for \`${canonical}'. |
7028 elif test -n "$site_libraries"; then | 7076 elif test -n "$site_libraries"; then |
7029 echo " Additional libraries: ${site_libraries}" | 7077 echo " Additional libraries: ${site_libraries}" |
7030 elif test -n "$site_runtime_libraries"; then | 7078 elif test -n "$site_runtime_libraries"; then |
7031 echo " Additional libraries: ${site_runtime_libraries}" | 7079 echo " Additional libraries: ${site_runtime_libraries}" |
7032 fi | 7080 fi |
7033 if test "$with_wnn"; then | 7081 if test "$with_wnn" = yes ; then |
7034 echo " Finding WNN includes with: ${wnn_includes}" | 7082 echo " Finding WNN includes with: ${wnn_includes}" |
7035 echo " Loading WNN libs with: ${wnn_libraries}" | 7083 echo " Loading WNN libs with: ${wnn_libraries}" |
7036 fi | 7084 fi |
7037 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 7085 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
7038 test "$with_term" = yes && echo " Compiling in support for TERM." | 7086 test "$with_term" = yes && echo " Compiling in support for TERM." |
7060 | 7108 |
7061 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 7109 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
7062 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 7110 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
7063 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." | 7111 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
7064 | 7112 |
7065 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 7113 test "$have_ncurses" = yes && echo " Compiling in support for ncurses." |
7066 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 7114 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
7067 | 7115 |
7068 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 7116 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
7069 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 7117 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." |
7070 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 7118 test "$with_xim" = motif && echo " Using Motif to provide XIM support." |
7092 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." | 7140 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." |
7093 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar." | 7141 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar." |
7094 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." | 7142 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." |
7095 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." | 7143 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." |
7096 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes." | 7144 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes." |
7145 test "$with_pop" = yes && "Using POP for mail access" | |
7146 test "$with_kerberos" = yes && "Using Kerberos for POP authentication" | |
7147 test "$with_hesiod" = yes && "Using Hesiod to get POP server host" | |
7097 | 7148 |
7098 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." | 7149 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." |
7099 test "${debug}" = yes && echo " Compiling in extra code for debugging." | 7150 test "${debug}" = yes && echo " Compiling in extra code for debugging." |
7100 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." | 7151 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." |
7101 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | 7152 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." |
7153 echo "" | |
7102 ) | tee -a Installation | 7154 ) | tee -a Installation |
7103 echo " | tee -a Installation | 7155 echo 'The above configure report is appended to "Installation" file.' |
7104 " | 7156 echo "" |
7157 | |
7105 | 7158 |
7106 | 7159 |
7107 # Remove any trailing slashes in these variables. | 7160 # Remove any trailing slashes in these variables. |
7108 test -n "${prefix}" && | 7161 test -n "${prefix}" && |
7109 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 7162 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |