1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/distcc/files/patch-configure.ac
Steven Kreuzer 4c659b6bd4 Patch configure script to honor --disable-rfc2553
PR:		ports/149924
Submitted by:	Denny Lin <dennylin93@hs.ntnu.edu.tw>
2010-09-25 02:00:49 +00:00

18 lines
683 B
Plaintext

--- configure.ac.orig 2008-12-03 05:50:31.000000000 +0800
+++ configure.ac 2010-08-24 21:55:30.000000000 +0800
@@ -86,9 +86,12 @@
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]))