diff -Naur gail-0.17.old/Makefile.in gail-0.17.new/Makefile.in --- gail-0.17.old/Makefile.in Mon Jul 22 17:24:21 2002 +++ gail-0.17.new/Makefile.in Mon Sep 16 23:32:37 2002 @@ -91,7 +91,7 @@ VERSION = @VERSION@ ms_librarian = @ms_librarian@ -SUBDIRS = libgail-util gail tests docs +SUBDIRS = libgail-util gail docs pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gail.pc diff -Naur gail-0.17.old/configure gail-0.17.new/configure --- gail-0.17.old/configure Mon Jul 22 17:04:30 2002 +++ gail-0.17.new/configure Mon Sep 16 23:32:01 2002 @@ -4638,11 +4638,11 @@ ;; darwin* | rhapsody*) - allow_undefined_flag='-undefined suppress' + allow_undefined_flag='-undefined suppress -flat_namespace' # 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 $(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 diff -Naur gail-0.17.old/ltmain.sh gail-0.17.new/ltmain.sh --- gail-0.17.old/ltmain.sh Wed Apr 17 22:06:13 2002 +++ gail-0.17.new/ltmain.sh Mon Sep 16 23:32:01 2002 @@ -1716,7 +1716,7 @@ if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes + # need_relink=yes fi if test -n "$old_archive_from_expsyms_cmds"; then @@ -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='~'