summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure5
-rw-r--r--Makefile.SH4
-rw-r--r--config_h.SH2
-rw-r--r--hints/aix.sh5
4 files changed, 12 insertions, 4 deletions
diff --git a/Configure b/Configure
index 4f5365cbc5..da92f7b28a 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Jul 6 18:36:05 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Thu Jul 22 22:55:08 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -5526,6 +5526,9 @@ EOM
;;
esac
fi
+case "$osname" in
+aix*) ccdlflags="$ccdlflags -bE:$installarchlib/CORE/perl.exp" ;;
+esac
# Respect a hint or command-line value.
case "$shrpenv" in
'') shrpenv="$tmp_shrpenv" ;;
diff --git a/Makefile.SH b/Makefile.SH
index af2703def9..267a5334c1 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -311,6 +311,10 @@ case "$osname" in
aix)
$spitshell >>Makefile <<!GROK!THIS!
LIBS = $libs
+# In AIX we need to change this for building Perl itself from
+# its earlier definition (which is for building external
+# extensions *after* Perl has been built and installed)
+CCDLFLAGS = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
!GROK!THIS!
case "$useshrplib" in
diff --git a/config_h.SH b/config_h.SH
index 2f565976b4..a73ed8c651 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2108,7 +2108,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
/* HAS_FTELLO:
* This symbol, if defined, indicates that the ftello routine is
- * available to ftell from beyond 32 bits (useful for ILP32 hosts).
+ * available to ftell beyond 32 bits (useful for ILP32 hosts).
*/
#$d_ftello HAS_FTELLO /**/
diff --git a/hints/aix.sh b/hints/aix.sh
index b6978dcc8c..0f255a73f6 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -95,9 +95,10 @@ d_setreuid='undef'
#
# Tell perl which symbols to export for dynamic linking.
case "$cc" in
-*gcc*) ccdlflags='-Xlinker -bE:perl.exp' ;;
-*) ccdlflags='-bE:perl.exp' ;;
+*gcc*) ccdlflags='-Xlinker' ;;
esac
+# the required -bE:$installarchlib/CORE/perl.exp is added by
+# libperl.U (Configure) later.
# The first 3 options would not be needed if dynamic libs. could be linked
# with the compiler instead of ld.