[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with autoconf output for AIX

From: Paul Eggert
Subject: Re: problem with autoconf output for AIX
Date: Thu, 11 Jul 2002 23:37:27 -0700 (PDT)

> From: Alexandre Duret-Lutz <address@hidden>
> Date: Thu, 11 Jul 2002 18:11:54 +0200
> The code you quote comes from Libtool.  address@hidden CC:'ed.

I recently sent a patch to bug-libtool about that bug, but judging
from <http://mail.gnu.org/pipermail/bug-libtool/2002-July/date.html>
bug-libtool is misconfigured to filter out non-spam and keep the spam.
So here's my patch again, this time CC'ed to <address@hidden>
which is a mailing list that might actually work.


As Autoconf maintainer I received the following bug report about "configure":

This is actually a Libtool bug, that has been reported elsewhere,
e.g. for expat:

and for FreeType:

Here is a patch, relative to the July 9 libtool branch-1-4 CVS

2002-07-09  Paul Eggert  <address@hidden>

        * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fix typo: $AR was being
        passed $objdir, which it should be $output_objdir.  The former
        is a relative path, and we need an absolute path.  Original bug
        report and fix by Ian Brown for FreeType in
        bug forwarded to Autoconf mailing list by Fred L. Drake, Jr.

--- libtool.m4  2002-07-09 22:53:56.509441000 -0700
+++ libtool.m4-fix      2002-07-09 22:55:57.469441000 -0700
@@ -1535,8 +1535,8 @@ else
        # -berok will link without error, but may produce a broken library.
        # This is a bit strange, but is similar to how AIX traditionally builds
-       # it's shared libraries.
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname 
$libobjs $deplibs $compiler_flags ${allow_undefined_flag} 
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo 
$objdir/$libname$release.a $objdir/$soname'
+       # its shared libraries.
+       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname 
$libobjs $deplibs $compiler_flags ${allow_undefined_flag} 
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo 
$output_objdir/$libname$release.a $output_objdir/$soname'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]