diff options
| -rw-r--r-- | autogen/Makefile.in | 5 | ||||
| -rw-r--r-- | autogen/config.in | 10 | ||||
| -rwxr-xr-x | autogen/configure | 284 |
3 files changed, 50 insertions, 249 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in index 65d3880c027..eadb1ab8c22 100644 --- a/autogen/Makefile.in +++ b/autogen/Makefile.in | |||
| @@ -174,7 +174,6 @@ CFLAGS_SOUND = @CFLAGS_SOUND@ | |||
| 174 | COM_ERRLIB = @COM_ERRLIB@ | 174 | COM_ERRLIB = @COM_ERRLIB@ |
| 175 | CPP = @CPP@ | 175 | CPP = @CPP@ |
| 176 | CPPFLAGS = @CPPFLAGS@ | 176 | CPPFLAGS = @CPPFLAGS@ |
| 177 | CRT_DIR = @CRT_DIR@ | ||
| 178 | CRYPTOLIB = @CRYPTOLIB@ | 177 | CRYPTOLIB = @CRYPTOLIB@ |
| 179 | CYGPATH_W = @CYGPATH_W@ | 178 | CYGPATH_W = @CYGPATH_W@ |
| 180 | CYGWIN_OBJ = @CYGWIN_OBJ@ | 179 | CYGWIN_OBJ = @CYGWIN_OBJ@ |
| @@ -619,7 +618,6 @@ INT64_MAX_EQ_LONG_MAX = @INT64_MAX_EQ_LONG_MAX@ | |||
| 619 | KRB4LIB = @KRB4LIB@ | 618 | KRB4LIB = @KRB4LIB@ |
| 620 | KRB5LIB = @KRB5LIB@ | 619 | KRB5LIB = @KRB5LIB@ |
| 621 | LDFLAGS = @LDFLAGS@ | 620 | LDFLAGS = @LDFLAGS@ |
| 622 | LD_FIRSTFLAG = @LD_FIRSTFLAG@ | ||
| 623 | LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@ | 621 | LD_SWITCH_SYSTEM = @LD_SWITCH_SYSTEM@ |
| 624 | LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@ | 622 | LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@ |
| 625 | LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@ | 623 | LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@ |
| @@ -659,11 +657,9 @@ LIBX_OTHER = @LIBX_OTHER@ | |||
| 659 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ | 657 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ |
| 660 | LIB_EACCESS = @LIB_EACCESS@ | 658 | LIB_EACCESS = @LIB_EACCESS@ |
| 661 | LIB_EXECINFO = @LIB_EXECINFO@ | 659 | LIB_EXECINFO = @LIB_EXECINFO@ |
| 662 | LIB_GCC = @LIB_GCC@ | ||
| 663 | LIB_MATH = @LIB_MATH@ | 660 | LIB_MATH = @LIB_MATH@ |
| 664 | LIB_PTHREAD = @LIB_PTHREAD@ | 661 | LIB_PTHREAD = @LIB_PTHREAD@ |
| 665 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ | 662 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ |
| 666 | LIB_STANDARD = @LIB_STANDARD@ | ||
| 667 | LIB_TIMER_TIME = @LIB_TIMER_TIME@ | 663 | LIB_TIMER_TIME = @LIB_TIMER_TIME@ |
| 668 | LN_S = @LN_S@ | 664 | LN_S = @LN_S@ |
| 669 | LTLIBINTL = @LTLIBINTL@ | 665 | LTLIBINTL = @LTLIBINTL@ |
| @@ -858,7 +854,6 @@ SET_MAKE = @SET_MAKE@ | |||
| 858 | SHELL = @SHELL@ | 854 | SHELL = @SHELL@ |
| 859 | SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ | 855 | SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ |
| 860 | SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ | 856 | SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ |
| 861 | START_FILES = @START_FILES@ | ||
| 862 | STDALIGN_H = @STDALIGN_H@ | 857 | STDALIGN_H = @STDALIGN_H@ |
| 863 | STDARG_H = @STDARG_H@ | 858 | STDARG_H = @STDARG_H@ |
| 864 | STDBOOL_H = @STDBOOL_H@ | 859 | STDBOOL_H = @STDBOOL_H@ |
diff --git a/autogen/config.in b/autogen/config.in index 0492fc20110..10cc3c68196 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -93,9 +93,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 93 | /* Extra bits to be or'd in with any pointers stored in a Lisp_Object. */ | 93 | /* Extra bits to be or'd in with any pointers stored in a Lisp_Object. */ |
| 94 | #undef DATA_SEG_BITS | 94 | #undef DATA_SEG_BITS |
| 95 | 95 | ||
| 96 | /* Address of the start of the data segment. */ | ||
| 97 | #undef DATA_START | ||
| 98 | |||
| 99 | /* Name of the default sound device. */ | 96 | /* Name of the default sound device. */ |
| 100 | #undef DEFAULT_SOUND_DEVICE | 97 | #undef DEFAULT_SOUND_DEVICE |
| 101 | 98 | ||
| @@ -259,6 +256,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 259 | /* Define to 1 if you have the `copysign' function. */ | 256 | /* Define to 1 if you have the `copysign' function. */ |
| 260 | #undef HAVE_COPYSIGN | 257 | #undef HAVE_COPYSIGN |
| 261 | 258 | ||
| 259 | /* Define to 1 if data_start is the address of the start of the main data | ||
| 260 | segment. */ | ||
| 261 | #undef HAVE_DATA_START | ||
| 262 | |||
| 262 | /* Define to 1 if using D-Bus. */ | 263 | /* Define to 1 if using D-Bus. */ |
| 263 | #undef HAVE_DBUS | 264 | #undef HAVE_DBUS |
| 264 | 265 | ||
| @@ -1227,9 +1228,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1227 | /* Define to 1 if the nlist n_name member is a pointer */ | 1228 | /* Define to 1 if the nlist n_name member is a pointer */ |
| 1228 | #undef N_NAME_POINTER | 1229 | #undef N_NAME_POINTER |
| 1229 | 1230 | ||
| 1230 | /* Define if the C compiler is the linker. */ | ||
| 1231 | #undef ORDINARY_LINK | ||
| 1232 | |||
| 1233 | /* Name of package */ | 1231 | /* Name of package */ |
| 1234 | #undef PACKAGE | 1232 | #undef PACKAGE |
| 1235 | 1233 | ||
diff --git a/autogen/configure b/autogen/configure index 0ba98637fa4..8f5ee260426 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -605,8 +605,6 @@ LTLIBOBJS | |||
| 605 | LIBOBJS | 605 | LIBOBJS |
| 606 | SUBDIR_MAKEFILES_IN | 606 | SUBDIR_MAKEFILES_IN |
| 607 | WINDOW_SYSTEM_OBJ | 607 | WINDOW_SYSTEM_OBJ |
| 608 | LIB_GCC | ||
| 609 | LD_FIRSTFLAG | ||
| 610 | LD_SWITCH_SYSTEM_TEMACS | 608 | LD_SWITCH_SYSTEM_TEMACS |
| 611 | LIBGNU_LTLIBDEPS | 609 | LIBGNU_LTLIBDEPS |
| 612 | LIBGNU_LIBDEPS | 610 | LIBGNU_LIBDEPS |
| @@ -1337,7 +1335,6 @@ W32_RES | |||
| 1337 | W32_LIBS | 1335 | W32_LIBS |
| 1338 | W32_OBJ | 1336 | W32_OBJ |
| 1339 | WINDRES | 1337 | WINDRES |
| 1340 | LIB_STANDARD | ||
| 1341 | NS_OBJC_OBJ | 1338 | NS_OBJC_OBJ |
| 1342 | NS_OBJ | 1339 | NS_OBJ |
| 1343 | ns_self_contained | 1340 | ns_self_contained |
| @@ -1352,8 +1349,6 @@ ALSA_LIBS | |||
| 1352 | ALSA_CFLAGS | 1349 | ALSA_CFLAGS |
| 1353 | LIBSOUND | 1350 | LIBSOUND |
| 1354 | PKG_CONFIG | 1351 | PKG_CONFIG |
| 1355 | CRT_DIR | ||
| 1356 | START_FILES | ||
| 1357 | LIB_MATH | 1352 | LIB_MATH |
| 1358 | LIBS_SYSTEM | 1353 | LIBS_SYSTEM |
| 1359 | C_SWITCH_SYSTEM | 1354 | C_SWITCH_SYSTEM |
| @@ -1507,7 +1502,6 @@ with_inotify | |||
| 1507 | with_makeinfo | 1502 | with_makeinfo |
| 1508 | with_compress_info | 1503 | with_compress_info |
| 1509 | with_pkg_config_prog | 1504 | with_pkg_config_prog |
| 1510 | with_crt_dir | ||
| 1511 | with_gameuser | 1505 | with_gameuser |
| 1512 | with_gnustep_conf | 1506 | with_gnustep_conf |
| 1513 | enable_ns_self_contained | 1507 | enable_ns_self_contained |
| @@ -2236,8 +2230,6 @@ Optional Packages: | |||
| 2236 | --without-compress-info don't compress the installed Info pages | 2230 | --without-compress-info don't compress the installed Info pages |
| 2237 | --with-pkg-config-prog=FILENAME | 2231 | --with-pkg-config-prog=FILENAME |
| 2238 | file name of pkg-config for finding GTK and librsvg | 2232 | file name of pkg-config for finding GTK and librsvg |
| 2239 | --with-crt-dir=DIR directory containing crtn.o etc. The default is | ||
| 2240 | /usr/lib, or /usr/lib64 on some platforms. | ||
| 2241 | --with-gameuser=USER user for shared game score files | 2233 | --with-gameuser=USER user for shared game score files |
| 2242 | --with-gnustep-conf=FILENAME | 2234 | --with-gnustep-conf=FILENAME |
| 2243 | name of GNUstep.conf; default $GNUSTEP_CONFIG_FILE, | 2235 | name of GNUstep.conf; default $GNUSTEP_CONFIG_FILE, |
| @@ -3326,7 +3318,6 @@ as_fn_append ac_header_list " linux/version.h" | |||
| 3326 | as_fn_append ac_header_list " sys/systeminfo.h" | 3318 | as_fn_append ac_header_list " sys/systeminfo.h" |
| 3327 | as_fn_append ac_header_list " coff.h" | 3319 | as_fn_append ac_header_list " coff.h" |
| 3328 | as_fn_append ac_header_list " pty.h" | 3320 | as_fn_append ac_header_list " pty.h" |
| 3329 | as_fn_append ac_header_list " sys/vlimit.h" | ||
| 3330 | as_fn_append ac_header_list " sys/resource.h" | 3321 | as_fn_append ac_header_list " sys/resource.h" |
| 3331 | as_fn_append ac_header_list " sys/utsname.h" | 3322 | as_fn_append ac_header_list " sys/utsname.h" |
| 3332 | as_fn_append ac_header_list " pwd.h" | 3323 | as_fn_append ac_header_list " pwd.h" |
| @@ -4368,15 +4359,6 @@ if test "X${with_pkg_config_prog}" != X; then | |||
| 4368 | fi | 4359 | fi |
| 4369 | fi | 4360 | fi |
| 4370 | 4361 | ||
| 4371 | CRT_DIR= | ||
| 4372 | |||
| 4373 | # Check whether --with-crt-dir was given. | ||
| 4374 | if test "${with_crt_dir+set}" = set; then : | ||
| 4375 | withval=$with_crt_dir; | ||
| 4376 | fi | ||
| 4377 | |||
| 4378 | CRT_DIR="${with_crt_dir}" | ||
| 4379 | |||
| 4380 | 4362 | ||
| 4381 | # Check whether --with-gameuser was given. | 4363 | # Check whether --with-gameuser was given. |
| 4382 | if test "${with_gameuser+set}" = set; then : | 4364 | if test "${with_gameuser+set}" = set; then : |
| @@ -8571,36 +8553,24 @@ fi | |||
| 8571 | 8553 | ||
| 8572 | 8554 | ||
| 8573 | LIB_MATH=-lm | 8555 | LIB_MATH=-lm |
| 8574 | LIB_STANDARD= | ||
| 8575 | START_FILES= | ||
| 8576 | SYSTEM_TYPE=`echo $opsys | sed -e 's/[0-9].*//' -e 's|-|/|'` | 8556 | SYSTEM_TYPE=`echo $opsys | sed -e 's/[0-9].*//' -e 's|-|/|'` |
| 8577 | 8557 | ||
| 8578 | case $opsys in | 8558 | case $opsys in |
| 8579 | cygwin ) | 8559 | cygwin ) |
| 8580 | LIB_MATH= | 8560 | LIB_MATH= |
| 8581 | START_FILES='pre-crt0.o' | ||
| 8582 | ;; | 8561 | ;; |
| 8583 | darwin ) | 8562 | darwin ) |
| 8584 | ## Adding -lm confuses the dynamic linker, so omit it. | 8563 | ## Adding -lm confuses the dynamic linker, so omit it. |
| 8585 | LIB_MATH= | 8564 | LIB_MATH= |
| 8586 | START_FILES='pre-crt0.o' | ||
| 8587 | ;; | 8565 | ;; |
| 8588 | freebsd ) | 8566 | freebsd ) |
| 8589 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o' | ||
| 8590 | START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o' | ||
| 8591 | SYSTEM_TYPE=berkeley-unix | 8567 | SYSTEM_TYPE=berkeley-unix |
| 8592 | ;; | 8568 | ;; |
| 8593 | gnu-linux | gnu-kfreebsd ) | 8569 | gnu-linux | gnu-kfreebsd ) |
| 8594 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o' | ||
| 8595 | START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o' | ||
| 8596 | ;; | 8570 | ;; |
| 8597 | hpux10-20 | hpux11 ) | 8571 | hpux10-20 | hpux11 ) |
| 8598 | LIB_STANDARD=-lc | ||
| 8599 | START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o' | ||
| 8600 | ;; | 8572 | ;; |
| 8601 | netbsd | openbsd ) | 8573 | netbsd | openbsd ) |
| 8602 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o' | ||
| 8603 | START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o' | ||
| 8604 | SYSTEM_TYPE=berkeley-unix | 8574 | SYSTEM_TYPE=berkeley-unix |
| 8605 | ;; | 8575 | ;; |
| 8606 | 8576 | ||
| @@ -8612,117 +8582,11 @@ esac | |||
| 8612 | 8582 | ||
| 8613 | 8583 | ||
| 8614 | 8584 | ||
| 8615 | |||
| 8616 | cat >>confdefs.h <<_ACEOF | 8585 | cat >>confdefs.h <<_ACEOF |
| 8617 | #define SYSTEM_TYPE "$SYSTEM_TYPE" | 8586 | #define SYSTEM_TYPE "$SYSTEM_TYPE" |
| 8618 | _ACEOF | 8587 | _ACEOF |
| 8619 | 8588 | ||
| 8620 | 8589 | ||
| 8621 | crt_files= | ||
| 8622 | |||
| 8623 | for file in x $LIB_STANDARD $START_FILES; do | ||
| 8624 | case "$file" in | ||
| 8625 | *CRT_DIR*) crt_files="$crt_files `echo $file | sed -e 's|.*/||'`" ;; | ||
| 8626 | esac | ||
| 8627 | done | ||
| 8628 | |||
| 8629 | if test "x$crt_files" != x; then | ||
| 8630 | |||
| 8631 | ## If user specified a crt-dir, use that unconditionally. | ||
| 8632 | crt_gcc=no | ||
| 8633 | |||
| 8634 | if test "X$CRT_DIR" = "X"; then | ||
| 8635 | |||
| 8636 | CRT_DIR=/usr/lib # default | ||
| 8637 | |||
| 8638 | case "$canonical" in | ||
| 8639 | x86_64-*-linux-gnu* | s390x-*-linux-gnu*) | ||
| 8640 | ## On x86-64 and s390x GNU/Linux distributions, the standard library | ||
| 8641 | ## can be in a variety of places. We only try /usr/lib64 and /usr/lib. | ||
| 8642 | ## For anything else (eg /usr/lib32), it is up the user to specify | ||
| 8643 | ## the location (bug#5655). | ||
| 8644 | ## Test for crtn.o, not just the directory, because sometimes the | ||
| 8645 | ## directory exists but does not have the relevant files (bug#1287). | ||
| 8646 | ## FIXME better to test for binary compatibility somehow. | ||
| 8647 | test -e /usr/lib64/crtn.o && CRT_DIR=/usr/lib64 | ||
| 8648 | ;; | ||
| 8649 | |||
| 8650 | powerpc64-*-linux-gnu* | sparc64-*-linux-gnu*) CRT_DIR=/usr/lib64 ;; | ||
| 8651 | esac | ||
| 8652 | |||
| 8653 | case "$opsys" in | ||
| 8654 | hpux10-20) CRT_DIR=/lib ;; | ||
| 8655 | esac | ||
| 8656 | |||
| 8657 | test "x${GCC}" = xyes && crt_gcc=yes | ||
| 8658 | |||
| 8659 | fi # CRT_DIR = "" | ||
| 8660 | |||
| 8661 | crt_missing= | ||
| 8662 | |||
| 8663 | for file in $crt_files; do | ||
| 8664 | |||
| 8665 | ## If we're using gcc, try to determine it automatically by asking | ||
| 8666 | ## gcc. [If this doesn't work, CRT_DIR will remain at the | ||
| 8667 | ## system-dependent default from above.] | ||
| 8668 | if test $crt_gcc = yes && test ! -e $CRT_DIR/$file; then | ||
| 8669 | |||
| 8670 | crt_file=`$CC --print-file-name=$file 2>/dev/null` | ||
| 8671 | case "$crt_file" in | ||
| 8672 | */*) | ||
| 8673 | CRT_DIR=`$as_dirname -- "$crt_file" || | ||
| 8674 | $as_expr X"$crt_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 8675 | X"$crt_file" : 'X\(//\)[^/]' \| \ | ||
| 8676 | X"$crt_file" : 'X\(//\)$' \| \ | ||
| 8677 | X"$crt_file" : 'X\(/\)' \| . 2>/dev/null || | ||
| 8678 | $as_echo X"$crt_file" | | ||
| 8679 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
| 8680 | s//\1/ | ||
| 8681 | q | ||
| 8682 | } | ||
| 8683 | /^X\(\/\/\)[^/].*/{ | ||
| 8684 | s//\1/ | ||
| 8685 | q | ||
| 8686 | } | ||
| 8687 | /^X\(\/\/\)$/{ | ||
| 8688 | s//\1/ | ||
| 8689 | q | ||
| 8690 | } | ||
| 8691 | /^X\(\/\).*/{ | ||
| 8692 | s//\1/ | ||
| 8693 | q | ||
| 8694 | } | ||
| 8695 | s/.*/./; q'` | ||
| 8696 | ;; | ||
| 8697 | esac | ||
| 8698 | fi | ||
| 8699 | |||
| 8700 | crt_gcc=no | ||
| 8701 | |||
| 8702 | test -e $CRT_DIR/$file || crt_missing="$crt_missing $file" | ||
| 8703 | done # $crt_files | ||
| 8704 | |||
| 8705 | test "x$crt_missing" = x || \ | ||
| 8706 | as_fn_error "Required file(s) not found:$crt_missing | ||
| 8707 | Try using the --with-crt-dir option." "$LINENO" 5 | ||
| 8708 | |||
| 8709 | fi # crt_files != "" | ||
| 8710 | |||
| 8711 | |||
| 8712 | |||
| 8713 | case $opsys in | ||
| 8714 | netbsd | openbsd ) | ||
| 8715 | if test -f $CRT_DIR/crti.o; then | ||
| 8716 | |||
| 8717 | test -f $CRT_DIR/crtn.o || \ | ||
| 8718 | as_fn_error "Required file not found: crtn.o" "$LINENO" 5 | ||
| 8719 | |||
| 8720 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' | ||
| 8721 | START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' | ||
| 8722 | fi | ||
| 8723 | ;; | ||
| 8724 | esac | ||
| 8725 | |||
| 8726 | 8590 | ||
| 8727 | pre_PKG_CONFIG_CFLAGS=$CFLAGS | 8591 | pre_PKG_CONFIG_CFLAGS=$CFLAGS |
| 8728 | pre_PKG_CONFIG_LIBS=$LIBS | 8592 | pre_PKG_CONFIG_LIBS=$LIBS |
| @@ -8992,8 +8856,6 @@ done | |||
| 8992 | 8856 | ||
| 8993 | 8857 | ||
| 8994 | 8858 | ||
| 8995 | |||
| 8996 | |||
| 8997 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 | 8859 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if personality LINUX32 can be set" >&5 |
| 8998 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } | 8860 | $as_echo_n "checking if personality LINUX32 can be set... " >&6; } |
| 8999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| @@ -9719,8 +9581,6 @@ if test "${with_ns}" != no; then | |||
| 9719 | CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}" | 9581 | CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS} ${GNUSTEP_LOCAL_HEADERS}" |
| 9720 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES}" | 9582 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES} ${GNUSTEP_LOCAL_LIBRARIES}" |
| 9721 | LIBS_GNUSTEP="-lgnustep-gui -lgnustep-base -lobjc -lpthread" | 9583 | LIBS_GNUSTEP="-lgnustep-gui -lgnustep-base -lobjc -lpthread" |
| 9722 | LIB_STANDARD= | ||
| 9723 | START_FILES= | ||
| 9724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS" >&5 | 9584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS" >&5 |
| 9725 | $as_echo_n "checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS... " >&6; } | 9585 | $as_echo_n "checking if GNUstep defines BASE_NATIVE_OBJC_EXCEPTIONS... " >&6; } |
| 9726 | if test "${emacs_cv_objc_exceptions+set}" = set; then : | 9586 | if test "${emacs_cv_objc_exceptions+set}" = set; then : |
| @@ -9858,7 +9718,6 @@ CPPFLAGS="$tmp_CPPFLAGS" | |||
| 9858 | 9718 | ||
| 9859 | 9719 | ||
| 9860 | 9720 | ||
| 9861 | |||
| 9862 | HAVE_W32=no | 9721 | HAVE_W32=no |
| 9863 | W32_OBJ= | 9722 | W32_OBJ= |
| 9864 | W32_LIBS= | 9723 | W32_LIBS= |
| @@ -10149,6 +10008,50 @@ $as_echo "#define SYSTEM_MALLOC 1" >>confdefs.h | |||
| 10149 | else | 10008 | else |
| 10150 | test "$doug_lea_malloc" != "yes" && GMALLOC_OBJ=gmalloc.o | 10009 | test "$doug_lea_malloc" != "yes" && GMALLOC_OBJ=gmalloc.o |
| 10151 | VMLIMIT_OBJ=vm-limit.o | 10010 | VMLIMIT_OBJ=vm-limit.o |
| 10011 | |||
| 10012 | for ac_header in sys/vlimit.h | ||
| 10013 | do : | ||
| 10014 | ac_fn_c_check_header_mongrel "$LINENO" "sys/vlimit.h" "ac_cv_header_sys_vlimit_h" "$ac_includes_default" | ||
| 10015 | if test "x$ac_cv_header_sys_vlimit_h" = x""yes; then : | ||
| 10016 | cat >>confdefs.h <<_ACEOF | ||
| 10017 | #define HAVE_SYS_VLIMIT_H 1 | ||
| 10018 | _ACEOF | ||
| 10019 | |||
| 10020 | fi | ||
| 10021 | |||
| 10022 | done | ||
| 10023 | |||
| 10024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for data_start" >&5 | ||
| 10025 | $as_echo_n "checking for data_start... " >&6; } | ||
| 10026 | if test "${emacs_cv_data_start+set}" = set; then : | ||
| 10027 | $as_echo_n "(cached) " >&6 | ||
| 10028 | else | ||
| 10029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10030 | /* end confdefs.h. */ | ||
| 10031 | extern char data_start[]; char ch; | ||
| 10032 | int | ||
| 10033 | main () | ||
| 10034 | { | ||
| 10035 | return data_start == &ch; | ||
| 10036 | ; | ||
| 10037 | return 0; | ||
| 10038 | } | ||
| 10039 | _ACEOF | ||
| 10040 | if ac_fn_c_try_link "$LINENO"; then : | ||
| 10041 | emacs_cv_data_start=yes | ||
| 10042 | else | ||
| 10043 | emacs_cv_data_start=no | ||
| 10044 | fi | ||
| 10045 | rm -f core conftest.err conftest.$ac_objext \ | ||
| 10046 | conftest$ac_exeext conftest.$ac_ext | ||
| 10047 | fi | ||
| 10048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_data_start" >&5 | ||
| 10049 | $as_echo "$emacs_cv_data_start" >&6; } | ||
| 10050 | if test $emacs_cv_data_start = yes; then | ||
| 10051 | |||
| 10052 | $as_echo "#define HAVE_DATA_START 1" >>confdefs.h | ||
| 10053 | |||
| 10054 | fi | ||
| 10152 | fi | 10055 | fi |
| 10153 | 10056 | ||
| 10154 | 10057 | ||
| @@ -15808,28 +15711,16 @@ esac | |||
| 15808 | 15711 | ||
| 15809 | 15712 | ||
| 15810 | 15713 | ||
| 15811 | |||
| 15812 | case $opsys in | 15714 | case $opsys in |
| 15813 | gnu) | ||
| 15814 | $as_echo "#define DATA_START ({ extern int data_start; (char *) &data_start; })" >>confdefs.h | ||
| 15815 | |||
| 15816 | ;; | ||
| 15817 | |||
| 15818 | aix*) | 15715 | aix*) |
| 15819 | $as_echo "#define DATA_START 0x20000000" >>confdefs.h | 15716 | $as_echo "#define DATA_SEG_BITS 0x20000000" >>confdefs.h |
| 15820 | |||
| 15821 | $as_echo "#define DATA_SEG_BITS 0x20000000" >>confdefs.h | ||
| 15822 | 15717 | ||
| 15823 | ;; | 15718 | ;; |
| 15824 | hpux*) | 15719 | hpux*) |
| 15825 | $as_echo "#define DATA_START 0x40000000" >>confdefs.h | 15720 | $as_echo "#define DATA_SEG_BITS 0x40000000" >>confdefs.h |
| 15826 | |||
| 15827 | $as_echo "#define DATA_SEG_BITS 0x40000000" >>confdefs.h | ||
| 15828 | 15721 | ||
| 15829 | ;; | 15722 | ;; |
| 15830 | irix6-5) | 15723 | irix6-5) |
| 15831 | $as_echo "#define DATA_START 0x10000000" >>confdefs.h | ||
| 15832 | |||
| 15833 | $as_echo "#define DATA_SEG_BITS 0x10000000" >>confdefs.h | 15724 | $as_echo "#define DATA_SEG_BITS 0x10000000" >>confdefs.h |
| 15834 | 15725 | ||
| 15835 | ;; | 15726 | ;; |
| @@ -26644,89 +26535,6 @@ esac | |||
| 26644 | 26535 | ||
| 26645 | 26536 | ||
| 26646 | 26537 | ||
| 26647 | |||
| 26648 | LD_FIRSTFLAG= | ||
| 26649 | ORDINARY_LINK= | ||
| 26650 | case "$opsys" in | ||
| 26651 | ## gnu: GNU needs its own crt0. | ||
| 26652 | aix4-2|cygwin|darwin|gnu|hpux*|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; | ||
| 26653 | |||
| 26654 | ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the | ||
| 26655 | ## library search parth, i.e. it won't search /usr/lib for libc and | ||
| 26656 | ## friends. Using -nostartfiles instead avoids this problem, and | ||
| 26657 | ## will also work on earlier NetBSD releases. | ||
| 26658 | netbsd|openbsd) LD_FIRSTFLAG="-nostartfiles" ;; | ||
| 26659 | |||
| 26660 | ## powerpc*: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says | ||
| 26661 | ## MkLinux/LinuxPPC needs this. | ||
| 26662 | ## s390x-* only supports opsys = gnu-linux so it can be added here. | ||
| 26663 | gnu-*) | ||
| 26664 | case "$canonical" in | ||
| 26665 | powerpc*|s390x-*) LD_FIRSTFLAG="-nostdlib" ;; | ||
| 26666 | esac | ||
| 26667 | ;; | ||
| 26668 | esac | ||
| 26669 | |||
| 26670 | |||
| 26671 | if test "x$ORDINARY_LINK" = "xyes"; then | ||
| 26672 | |||
| 26673 | LD_FIRSTFLAG="" | ||
| 26674 | |||
| 26675 | $as_echo "#define ORDINARY_LINK 1" >>confdefs.h | ||
| 26676 | |||
| 26677 | |||
| 26678 | ## The system files defining neither ORDINARY_LINK nor LD_FIRSTFLAG are: | ||
| 26679 | ## freebsd, gnu-* not on powerpc*|s390x*. | ||
| 26680 | elif test "x$GCC" = "xyes" && test "x$LD_FIRSTFLAG" = "x"; then | ||
| 26681 | |||
| 26682 | ## Versions of GCC >= 2.0 put their library, libgcc.a, in obscure | ||
| 26683 | ## places that are difficult to figure out at make time. Fortunately, | ||
| 26684 | ## these same versions allow you to pass arbitrary flags on to the | ||
| 26685 | ## linker, so there is no reason not to use it as a linker. | ||
| 26686 | ## | ||
| 26687 | ## Well, it is not quite perfect. The "-nostdlib" keeps GCC from | ||
| 26688 | ## searching for libraries in its internal directories, so we have to | ||
| 26689 | ## ask GCC explicitly where to find libgcc.a (LIB_GCC below). | ||
| 26690 | LD_FIRSTFLAG="-nostdlib" | ||
| 26691 | fi | ||
| 26692 | |||
| 26693 | ## FIXME? What setting of EDIT_LDFLAGS should this have? | ||
| 26694 | test "$NS_IMPL_GNUSTEP" = "yes" && LD_FIRSTFLAG="-rdynamic" | ||
| 26695 | |||
| 26696 | |||
| 26697 | |||
| 26698 | |||
| 26699 | ## FIXME? The logic here is not precisely the same as that above. | ||
| 26700 | ## There is no check here for a pre-defined LD_FIRSTFLAG. | ||
| 26701 | ## Should we only be setting LIB_GCC if LD ~ -nostdlib? | ||
| 26702 | LIB_GCC= | ||
| 26703 | if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then | ||
| 26704 | |||
| 26705 | case "$opsys" in | ||
| 26706 | freebsd|netbsd|openbsd) LIB_GCC= ;; | ||
| 26707 | |||
| 26708 | gnu-*) | ||
| 26709 | ## armin76@gentoo.org reported that the lgcc_s flag is necessary to | ||
| 26710 | ## build on ARM EABI under GNU/Linux. (Bug#5518) | ||
| 26711 | case $host_cpu in | ||
| 26712 | arm*) | ||
| 26713 | LIB_GCC="-lgcc_s" | ||
| 26714 | ;; | ||
| 26715 | *) | ||
| 26716 | ## FIXME? s/gnu-linux.h used to define LIB_GCC as below, then | ||
| 26717 | ## immediately undefine it again and redefine it to empty. | ||
| 26718 | ## Was the C_SWITCH_X_SITE part really necessary? | ||
| 26719 | ## LIB_GCC=`$CC $C_SWITCH_X_SITE -print-libgcc-file-name` | ||
| 26720 | LIB_GCC= | ||
| 26721 | ;; | ||
| 26722 | esac | ||
| 26723 | ;; | ||
| 26724 | |||
| 26725 | ## Ask GCC where to find libgcc.a. | ||
| 26726 | *) LIB_GCC=`$CC -print-libgcc-file-name 2> /dev/null` ;; | ||
| 26727 | esac | ||
| 26728 | fi | ||
| 26729 | |||
| 26730 | ## Common for all window systems | 26538 | ## Common for all window systems |
| 26731 | if test "$window_system" != "none"; then | 26539 | if test "$window_system" != "none"; then |
| 26732 | 26540 | ||