diff -ru gtkmm-1.2.10/configure gtkmm-1.2.10-patched/configure --- gtkmm-1.2.10/configure 2002-06-15 18:34:48.000000000 +0200 +++ gtkmm-1.2.10-patched/configure 2002-08-08 14:21:09.000000000 +0200 @@ -3690,11 +3690,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 -ru gtkmm-1.2.10/scripts/ltmain.sh gtkmm-1.2.10-patched/scripts/ltmain.sh --- gtkmm-1.2.10/scripts/ltmain.sh 2002-06-15 18:34:39.000000000 +0200 +++ gtkmm-1.2.10-patched/scripts/ltmain.sh 2002-08-08 14:23:17.000000000 +0200 @@ -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 -ru gtkmm-1.2.10/src/gtk--/Makefile.in gtkmm-1.2.10-patched/src/gtk--/Makefile.in --- gtkmm-1.2.10/src/gtk--/Makefile.in 2002-06-15 18:41:37.000000000 +0200 +++ gtkmm-1.2.10-patched/src/gtk--/Makefile.in 2002-08-08 15:23:30.000000000 +0200 @@ -142,7 +142,7 @@ # This builds the library libgtkmm_la_SOURCES = $(gtkmmc) gtk--.cc proxy.cc base.cc marshal.cc -libgtkmm_la_LDFLAGS = -version-info $(LIBGTKMM_SO_VERSION) -release $(GTKMM_RELEASE) -no-undefined +libgtkmm_la_LDFLAGS = -version-info $(LIBGTKMM_SO_VERSION) -release $(GTKMM_RELEASE) libgtkmm_la_INCLUDES = $(GTK_CFLAGS) libgtkmm_la_LIBADD = $(GTK_LIBS) $(gtkmmla) #libgtkmm_la_DEPENDENCIES = $(gtkmmla) diff -Nurd -x'*~' gtkmm-1.2.10.orig/gtk--.m4 gtkmm-1.2.10/gtk--.m4 --- gtkmm-1.2.10.orig/gtk--.m4 2000-12-16 12:48:18.000000000 -0500 +++ gtkmm-1.2.10/gtk--.m4 2006-06-08 01:20:15.000000000 -0400 @@ -7,7 +7,7 @@ dnl to be used as follows: dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl -AC_DEFUN(AM_PATH_GTKMM, +AC_DEFUN([AM_PATH_GTKMM], [dnl dnl Get the cflags and libraries from the gtkmm-config script dnl