Mercurial > emacs
comparison configure @ 108384:0ce7b05a8161
Regenerate configure.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 09 May 2010 19:21:42 -0700 |
parents | 72fc67fa8fe3 |
children | 2b195069f0d5 |
comparison
equal
deleted
inserted
replaced
108383:80a5bb784f32 | 108384:0ce7b05a8161 |
---|---|
702 GZIP_PROG | 702 GZIP_PROG |
703 MAKEINFO | 703 MAKEINFO |
704 LD_SWITCH_SYSTEM | 704 LD_SWITCH_SYSTEM |
705 C_SWITCH_MACHINE | 705 C_SWITCH_MACHINE |
706 C_SWITCH_SYSTEM | 706 C_SWITCH_SYSTEM |
707 LIBS_SYSTEM | |
707 CRT_DIR | 708 CRT_DIR |
708 LIB_MATH | 709 LIB_MATH |
709 START_FILES | 710 START_FILES |
710 LIBSOUND | 711 LIBSOUND |
711 PKG_CONFIG | 712 PKG_CONFIG |
5836 tempcname="conftest.c" | 5837 tempcname="conftest.c" |
5837 | 5838 |
5838 echo ' | 5839 echo ' |
5839 #include "'${srcdir}'/src/'${opsysfile}'" | 5840 #include "'${srcdir}'/src/'${opsysfile}'" |
5840 #include "'${srcdir}'/src/'${machfile}'" | 5841 #include "'${srcdir}'/src/'${machfile}'" |
5841 #ifndef LIBS_SYSTEM | |
5842 #define LIBS_SYSTEM | |
5843 #endif | |
5844 configure___ libsrc_libs=LIBS_SYSTEM | |
5845 | 5842 |
5846 configure___ LIBX=-lX11 | 5843 configure___ LIBX=-lX11 |
5847 | 5844 |
5848 configure___ unexec=UNEXEC | 5845 configure___ unexec=UNEXEC |
5849 | 5846 |
6032 ## additional optimization. --nils@exp-math.uni-essen.de | 6029 ## additional optimization. --nils@exp-math.uni-essen.de |
6033 test "$opsys" = "aix4.2" && test "x$GCC" != "xyes" && \ | 6030 test "$opsys" = "aix4.2" && test "x$GCC" != "xyes" && \ |
6034 C_SWITCH_SYSTEM="-ma -qmaxmem=4000" | 6031 C_SWITCH_SYSTEM="-ma -qmaxmem=4000" |
6035 ## gnu-linux might need -D_BSD_SOURCE on old libc5 systems. | 6032 ## gnu-linux might need -D_BSD_SOURCE on old libc5 systems. |
6036 ## It is redundant in glibc2, since we define _GNU_SOURCE. | 6033 ## It is redundant in glibc2, since we define _GNU_SOURCE. |
6034 | |
6035 | |
6036 | |
6037 LIBS_SYSTEM= | |
6038 case "$opsys" in | |
6039 ## IBM's X11R5 uses -lIM and -liconv in AIX 3.2.2. | |
6040 aix4-2) LIBS_SYSTEM="-lrts -lIM -liconv" ;; | |
6041 | |
6042 freebsd) LIBS_SYSTEM="-lutil" ;; | |
6043 | |
6044 hpux*) LIBS_SYSTEM="-l:libdld.sl" ;; | |
6045 | |
6046 sol2*) LIBS_SYSTEM="-lsocket -lnsl -lkstat" ;; | |
6047 | |
6048 ## Motif needs -lgen. | |
6049 unixware) LIBS_SYSTEM="-lsocket -lnsl -lelf -lgen" ;; | |
6050 esac | |
6037 | 6051 |
6038 | 6052 |
6039 | 6053 |
6040 ### Make sure subsequent tests use flags consistent with the build flags. | 6054 ### Make sure subsequent tests use flags consistent with the build flags. |
6041 | 6055 |
10938 | 10952 |
10939 if test $use_mmap_for_buffers = yes; then | 10953 if test $use_mmap_for_buffers = yes; then |
10940 REL_ALLOC=no | 10954 REL_ALLOC=no |
10941 fi | 10955 fi |
10942 | 10956 |
10943 LIBS="$libsrc_libs $LIBS" | 10957 LIBS="$LIBS_SYSTEM $LIBS" |
10944 | 10958 |
10945 | 10959 |
10946 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | 10960 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
10947 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | 10961 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } |
10948 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 10962 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
11155 | 11169 |
11156 LIBS="-lpthreads $LIBS" | 11170 LIBS="-lpthreads $LIBS" |
11157 | 11171 |
11158 fi | 11172 fi |
11159 | 11173 |
11174 | |
11175 ## Note: when using cpp in s/aix4.2.h, this definition depended on | |
11176 ## HAVE_LIBPTHREADS. That was not defined earlier in configure when | |
11177 ## the system file was sourced. Hence the value of LIBS_SYSTEM | |
11178 ## added to LIBS in configure would never contain the pthreads part, | |
11179 ## but the value used in Makefiles might. FIXME? | |
11180 ## | |
11181 ## -lpthreads seems to be necessary for Xlib in X11R6, and should | |
11182 ## be harmless on older versions of X where it happens to exist. | |
11183 test "$opsys" = "aix4-2" && \ | |
11184 test $ac_cv_lib_pthreads_cma_open = yes && \ | |
11185 LIBS_SYSTEM="$LIBS_SYSTEM -lpthreads" | |
11160 | 11186 |
11161 | 11187 |
11162 case ${host_os} in | 11188 case ${host_os} in |
11163 aix*) | 11189 aix*) |
11164 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 11190 { $as_echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |