diff options
| author | Francesco Potortì | 2003-03-16 22:30:36 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2003-03-16 22:30:36 +0000 |
| commit | f4d9f5b809e17346a5837eb6a9bf0c8e3062c237 (patch) | |
| tree | f3adc42162eba0e690940e70ccb5f7ec50f6891e | |
| parent | c45bb3b2c859d40f0943665a2adfb40b022cacf6 (diff) | |
| download | emacs-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.in | 16 |
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 |
| 1686 | fi | 1686 | fi |
| 1687 | AC_MSG_RESULT($HAVE_XFREE386) | 1687 | AC_MSG_RESULT($HAVE_XFREE386) |
| 1688 | |||
| 1689 | dnl Check for need for bigtoc support on IBM AIX | ||
| 1690 | |||
| 1691 | case ${host_os} in | ||
| 1692 | aix*) | ||
| 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 | ;; | ||
| 1703 | esac | ||
| 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 |