diff --git a/ltconfig.in b/ltconfig.in index 4798bede..3e6a2a5c 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -823,6 +823,13 @@ hardcode_minus_L=no hardcode_shlibpath_var=unsupported runpath_var= +case "$host_os" in +aix3* | aix4*) + # On AIX, the GNU linker works like the native linker. + with_gnu_ld=no + ;; +esac + ld_shlibs=yes if test "$with_gnu_ld" = yes; then diff --git a/mail/aix b/mail/aix index 949395b3..2daa0b9f 100644 --- a/mail/aix +++ b/mail/aix @@ -51,56 +51,3 @@ WorldCom, Inc. -From nobody Wed Oct 14 16:56:35 1998 -X-From-Line: gord@gnu.org Wed Jul 01 21:42:48 1998 -Return-Path: -Delivered-To: gord@trick.fig.org -Received: (qmail 509 invoked from network); 1 Jul 1998 21:42:47 -0000 -Received: from unknown (HELO bambam.m-tech.ab.ca) (127.0.0.1) - by 127.0.0.1 with SMTP; 1 Jul 1998 21:42:47 -0000 -Received: from mescaline.gnu.org (gateway [10.0.0.1]) by bambam.m-tech.ab.ca (8.8.5/8.6.9) with ESMTP id OAA10874 for ; Wed, 1 Jul 1998 14:37:31 -0600 -Received: from tweedledumb.cygnus.com by mescaline.gnu.org (8.8.5/8.6.12GNU) with ESMTP id QAA11117 for ; Wed, 1 Jul 1998 16:44:46 -0400 -Received: from subrogation.cygnus.com (subrogation.cygnus.com [192.80.44.76]) - by tweedledumb.cygnus.com (8.8.5/8.8.5) with ESMTP id QAA29302 - for ; Wed, 1 Jul 1998 16:44:31 -0400 (EDT) -Received: (ian@localhost) by subrogation.cygnus.com (950413.SGI.8.6.12/8.6.4) id QAA25589; Wed, 1 Jul 1998 16:44:31 -0400 -Date: Wed, 1 Jul 1998 16:44:31 -0400 -Message-Id: <199807012044.QAA25589@subrogation.cygnus.com> -From: Ian Lance Taylor -To: bug-libtool@gnu.org -Subject: libtool on AIX with GNU ld -Xref: trick.fig.org mail.libtool:1513 -Lines: 31 -X-Gnus-Article-Number: 2 Mon Nov 2 17:12:52 1998 - -libtool messes up on AIX when using GNU ld. It doesn't set -archive_cmds to anything useful. - -Here is a hack patch. This should be fixed in a better way. For one -thing, GNU ld supports the -unix option to export all symbols, so the -stuff using nm is probably not necessary. - -Ian - -Index: ltconfig.in -=================================================================== -RCS file: /cvs/cvsfiles/devo/libtool/ltconfig.in,v -retrieving revision 1.13 -diff -u -r1.13 ltconfig.in ---- ltconfig.in 1998/05/28 23:06:07 1.13 -+++ ltconfig.in 1998/07/01 20:28:50 -@@ -770,6 +770,13 @@ - runpath_var= - fix_srcfile_path= - -+case "$host_os" in -+aix3* | aix4*) -+ # On AIX, the GNU linker works like the native linker. -+ with_gnu_ld=no -+ ;; -+esac -+ - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - -