diff -ru ethereal-0.9.10/configure ethereal-0.9.10-patched/configure --- ethereal-0.9.10/configure 2003-03-07 01:13:43.000000000 +0100 +++ ethereal-0.9.10-patched/configure 2003-03-09 14:24:31.000000000 +0100 @@ -5395,7 +5395,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='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' + archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags $(test .$module != .yes && echo -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 Only in ethereal-0.9.10-patched: configure~ diff -ru ethereal-0.9.10/ltmain.sh ethereal-0.9.10-patched/ltmain.sh --- ethereal-0.9.10/ltmain.sh 2003-03-07 01:13:33.000000000 +0100 +++ ethereal-0.9.10-patched/ltmain.sh 2003-03-09 14:24:58.000000000 +0100 @@ -2950,7 +2950,23 @@ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else - eval cmds=\"$archive_cmds\" + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi + save_deplibs="$deplibs" + for conv in $convenience; do + tmp_deplibs= + for test_deplib in $deplibs; do + if test "$test_deplib" != "$conv"; then + tmp_deplibs="$tmp_deplibs $test_deplib" + fi + done + deplibs="$tmp_deplibs" + done + eval cmds=\"$archive_cmds\" + deplibs="$save_deplibs" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS='~' for cmd in $cmds; do