diff options
author | mandyke <mandyke@gmail.com> | 2014-03-03 05:18:21 +0000 |
---|---|---|
committer | mandyke <mandyke@gmail.com> | 2014-03-03 05:18:21 +0000 |
commit | be166dc858c9ecde202bbc81f4cc7cf9a375dab2 (patch) | |
tree | 8dc959eb268eaa821f528a6d32a41bf3ebd86467 | |
parent | e2423bf9aa42e84cc5bc96aa9a29cf9d9544d3c4 (diff) | |
download | distcc-git-be166dc858c9ecde202bbc81f4cc7cf9a375dab2.tar.gz |
Fix logic with --disable-rfc2553
Passing the above option to configure should not cause ENABLE_RFC2553
to be defined.
Fixes issue 68
-rw-r--r-- | configure.ac | 7 |
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])) |