diff -ru gettext-0.10.40/configure gettext-0.10.40-patched/configure --- gettext-0.10.40/configure 2001-09-14 20:47:29.000000000 -0400 +++ gettext-0.10.40-patched/configure 2002-06-13 11:52:03.000000000 -0400 @@ -3782,11 +3782,11 @@ ;; darwin* | rhapsody*) - allow_undefined_flag='-undefined suppress' + allow_undefined_flag='' # 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) $allow_undefined_flag -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 -ru gettext-0.10.40/ltmain.sh gettext-0.10.40-patched/ltmain.sh --- gettext-0.10.40/ltmain.sh 2001-04-24 19:35:10.000000000 -0400 +++ gettext-0.10.40-patched/ltmain.sh 2002-06-13 11:52:54.000000000 -0400 @@ -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='~'