aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-11 13:18:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-11 13:18:06 +0000
commit2617b379be4abbc34563ab4f262b131cf68e0e36 (patch)
tree1430f000d365487c0ab16c644d6d3ed4485ffeca /configure.ac
parent84ed5e755ab1e16f0d7a9923e7f63b8337128960 (diff)
define USE_ARES nicer if enabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fdb33a58f..6ac6ba41a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -970,7 +970,8 @@ AC_HELP_STRING([--disable-ares],[Disable using ares for name lookups]),
AC_MSG_ERROR([ares doesn't work with ipv6, disable ipv6 to use ares])
fi
- CPPFLAGS="$CPPFLAGS -DUSE_ARES"
+ AC_DEFINE(USE_ARES, 1, [Define if you want to enable ares support])
+
ares="yes"
;;
esac ],