$NetBSD: patch-ab,v 1.2 2013/01/26 22:02:26 wiz Exp $ First chunk: automake-1.13 compat. Second chunk: ? --- configure.ac.orig 2009-09-16 15:39:28.000000000 +0000 +++ configure.ac @@ -3,12 +3,11 @@ dnl Process this file with autoconf to p AC_PREREQ(2.59c) AC_INIT(eggdbus, 0.6, davidz@redhat.com) AM_INIT_AUTOMAKE(eggdbus, 0.6) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC -AM_PROG_CC_STDC AC_HEADER_STDC AM_PROG_LIBTOOL AC_PROG_MAKE_SET @@ -120,7 +119,13 @@ AC_SUBST(DBUS_GLIB_CFLAGS) AC_SUBST(DBUS_GLIB_LIBS) if test "x$GCC" = "xyes"; then - LDFLAGS="-Wl,--as-needed $LDFLAGS" + case "x$host_os" in + xdarwin* ) + ;; + * ) + LDFLAGS="-Wl,--as-needed $LDFLAGS" + ;; + esac fi AC_OUTPUT([