summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 8c57daa..8b18122 100644
--- a/configure.ac
+++ b/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]))