Check for need for bigtoc support on IBM AIX for
solving a linker table overflow problem.
This commit is contained in:
parent
c45bb3b2c8
commit
f4d9f5b809
1 changed files with 16 additions and 0 deletions
16
configure.in
16
configure.in
|
@ -1685,6 +1685,22 @@ else
|
|||
HAVE_XFREE386=no
|
||||
fi
|
||||
AC_MSG_RESULT($HAVE_XFREE386)
|
||||
|
||||
dnl Check for need for bigtoc support on IBM AIX
|
||||
|
||||
case ${host_os} in
|
||||
aix*)
|
||||
AC_CACHE_CHECK([for -bbigtoc option], [gdb_cv_bigtoc], [
|
||||
case $GCC in
|
||||
yes) gdb_cv_bigtoc=-Wl,-bbigtoc ;;
|
||||
*) gdb_cv_bigtoc=-bbigtoc ;;
|
||||
esac
|
||||
|
||||
LDFLAGS=$LDFLAGS\ $gdb_cv_bigtoc
|
||||
AC_TRY_LINK([], [int i;], [], [gdb_cv_bigtoc=])
|
||||
])
|
||||
;;
|
||||
esac
|
||||
|
||||
# Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
|
||||
# used for the tests that follow. We set them back to REAL_CFLAGS and
|
||||
|
|
Loading…
Add table
Reference in a new issue