diff -Naur libiconv-1.7.old/autoconf/ltmain.sh libiconv-1.7.new/autoconf/ltmain.sh --- libiconv-1.7.old/autoconf/ltmain.sh Wed Apr 25 08:35:10 2001 +++ libiconv-1.7.new/autoconf/ltmain.sh Fri Jun 14 02:28:31 2002 @@ -2858,6 +2858,11 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi eval cmds=\"$archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' diff -Naur libiconv-1.7.old/configure libiconv-1.7.new/configure --- libiconv-1.7.old/configure Mon Jun 25 21:39:40 2001 +++ libiconv-1.7.new/configure Fri Jun 14 02:28:31 2002 @@ -3460,7 +3460,7 @@ # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes diff -Naur libiconv-1.7.old/libcharset/autoconf/ltmain.sh libiconv-1.7.new/libcharset/autoconf/ltmain.sh --- libiconv-1.7.old/libcharset/autoconf/ltmain.sh Wed Apr 25 08:35:10 2001 +++ libiconv-1.7.new/libcharset/autoconf/ltmain.sh Fri Jun 14 02:35:52 2002 @@ -2858,6 +2858,11 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi eval cmds=\"$archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' diff -Naur libiconv-1.7.old/libcharset/configure libiconv-1.7.new/libcharset/configure --- libiconv-1.7.old/libcharset/configure Mon Jun 25 21:39:57 2001 +++ libiconv-1.7.new/libcharset/configure Fri Jun 14 02:29:24 2002 @@ -3310,7 +3310,7 @@ # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes