aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2003-03-16 22:30:36 +0000
committerFrancesco Potortì2003-03-16 22:30:36 +0000
commitf4d9f5b809e17346a5837eb6a9bf0c8e3062c237 (patch)
treef3adc42162eba0e690940e70ccb5f7ec50f6891e
parentc45bb3b2c859d40f0943665a2adfb40b022cacf6 (diff)
downloademacs-f4d9f5b809e17346a5837eb6a9bf0c8e3062c237.tar.gz
emacs-f4d9f5b809e17346a5837eb6a9bf0c8e3062c237.zip
Check for need for bigtoc support on IBM AIX for
solving a linker table overflow problem.
-rw-r--r--configure.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index b4c473ac102..e3c756b4224 100644
--- a/configure.in
+++ b/configure.in
@@ -1685,6 +1685,22 @@ else
1685 HAVE_XFREE386=no 1685 HAVE_XFREE386=no
1686fi 1686fi
1687AC_MSG_RESULT($HAVE_XFREE386) 1687AC_MSG_RESULT($HAVE_XFREE386)
1688
1689dnl Check for need for bigtoc support on IBM AIX
1690
1691case ${host_os} in
1692aix*)
1693 AC_CACHE_CHECK([for -bbigtoc option], [gdb_cv_bigtoc], [
1694 case $GCC in
1695 yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
1696 *) gdb_cv_bigtoc=-bbigtoc ;;
1697 esac
1698
1699 LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
1700 AC_TRY_LINK([], [int i;], [], [gdb_cv_bigtoc=])
1701 ])
1702 ;;
1703esac
1688 1704
1689# Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets 1705# Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
1690# used for the tests that follow. We set them back to REAL_CFLAGS and 1706# used for the tests that follow. We set them back to REAL_CFLAGS and