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

Copied AIX dynamic-linking test from Pike 0.6.

Rev: src/configure.in:1.151
parent 0d804cde
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.150 1998/06/22 19:04:21 grubba Exp $") AC_REVISION("$Id: configure.in,v 1.151 1998/07/01 17:52:23 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -1712,7 +1712,22 @@ then ...@@ -1712,7 +1712,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
LDSHARED="ld -G -bexpall" if test "`uname -r`" -ge 2 -a "`uname -v`" -ge 4 ; then
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.
Finish editing this message first!
Please register or to comment