freebsd-ports/devel/distcc/files/patch-configure.ac

18 lines
662 B
Text
Raw Normal View History

--- configure.ac.orig 2008-12-02 23:17:13 UTC
+++ configure.ac
@@ -86,9 +86,12 @@ AC_ARG_WITH(included-popt,
AC_HELP_STRING([--with-included-popt], [use bundled popt library, not from system]))
AC_ARG_ENABLE(rfc2553,
- AC_HELP_STRING([--enable-rfc2553], [use getaddrinfo, getnameinfo, etc]),
- AC_DEFINE(ENABLE_RFC2553,1,[Use getaddrinfo(), getnameinfo(), etc]))
+ AC_HELP_STRING([--enable-rfc2553], [use getaddrinfo, getnameinfo, etc]))
+if test x"$enable_rfc2553" = xyes
+then
+ AC_DEFINE(ENABLE_RFC2553,1,[Use getaddrinfo(), getnameinfo(), etc])
+fi
AC_ARG_WITH(gnome,
AC_HELP_STRING([--with-gnome], [build GNOME-based monitor]))