#52 [ 576396 ] expat 1.95.3 on aix 4.3.3

closed-wont-fix
Greg Stein
5
2002-07-09
2002-07-02
No

[ 576396 ] expat 1.95.3 fails to build on aix 4.3.3

this patch modifies 'configure' by passing $output_objdir
instead of $objdir to AR

I hope there won't be line wrapping problems,
since upload/attachements don't seem to work

José

--- begin of patch ---
--- configure.orig 2002-07-02
09:33:45.000000000 -0300
+++ configure 2002-07-02
09:34:44.000000000 -0300
@@ -4881,7 +4881,7 @@
allow_undefined_flag='${wl}-berok'
# 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'
+ 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'
fi
fi
;;
--- end of patch ---

Discussion

  • Logged In: YES
    user_id=3066

    "configure" is a generated file; "configure.in" is where
    changes need to be made. Unfortunately, this doesn't appear
    to have a simple mapping from the configure.in file.

    I wonder if this is a problem with autoconf not knowing
    enough about AIX?

     
    • status: open --> closed-wont-fix
     
  • Logged In: YES
    user_id=3066

    Closing this and the related bug report as "Won't fix".
    This definately appears to be a bug in autoconf. I've
    emailed a bug report to bug-autoconf@gnu.org, but I don't
    see any way to refer to the autoconf bugs database; the one
    link to it I found was stale.