define USE_ARES nicer if enabled
This commit is contained in:
@@ -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])
|
AC_MSG_ERROR([ares doesn't work with ipv6, disable ipv6 to use ares])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS -DUSE_ARES"
|
AC_DEFINE(USE_ARES, 1, [Define if you want to enable ares support])
|
||||||
|
|
||||||
ares="yes"
|
ares="yes"
|
||||||
;;
|
;;
|
||||||
esac ],
|
esac ],
|
||||||
|
|||||||
Reference in New Issue
Block a user