Skip to content
Snippets Groups Projects
Commit 2f75b00f authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

AIX 4.1 and earliers ld(1) doesn't understand -G.

Rev: src/configure.in:1.178
parent 45f99329
No related branches found
No related tags found
Loading
AC_REVISION("$Id: configure.in,v 1.177 1998/04/17 20:36:29 hubbe Exp $") AC_REVISION("$Id: configure.in,v 1.178 1998/04/29 00:22:37 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -1890,7 +1890,22 @@ then ...@@ -1890,7 +1890,22 @@ then
case "$pike_cv_sys_os" in case "$pike_cv_sys_os" in
AIX*) AIX*)
if test "$GCC" = yes ; then if test "$GCC" = yes ; then
if test "`uname -r`" -ge 2 -a "`uname -v`" -ge 4 ; then
LDSHARED="ld -G -bexpall" LDSHARED="ld -G -bexpall"
else if test "`uname -v`" -gt 4 ; then
# Extra forward compatibility...
# AIX 5+
LDSHARED="ld -G -bexpall"
else
# AIX 4.1 and earlier don't have/have unreliable
# handling of dlopen et al.
#
# Even AIX 4.2.1 has buggy dlopen -- NEVER attempt
# to dlopen a file that hasn't been linked with -G.
pike_cv_sys_dynamic_loading=no
LDSHARED="ld"
fi
fi
else else
# Dynamic linking turned off for AIX-cc # Dynamic linking turned off for AIX-cc
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment