aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-12-10 22:19:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-12-10 22:19:06 +0000
commit3c1db5f250fd28752745296371cb16836fecb141 (patch)
tree852d3629f12182f01fc43f1b4d3f2181b551a08f /ares/configure.ac
parent562e9b7bf34cb211bb9e78cb6f4c5c5794458029 (diff)
when building
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index f5adf732f..7edc374b7 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -46,6 +46,8 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
dnl when doing the debug stuff, use static library only
AC_DISABLE_SHARED
+ debugbuild="yes"
+
dnl the entire --enable-debug is a hack that lives and runs on top of
dnl libcurl stuff so this BUILDING_LIBCURL is not THAT much uglier
AC_DEFINE(BUILDING_LIBCURL, 1, [when building as static part of libcurl])
@@ -70,6 +72,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
esac ],
AC_MSG_RESULT(no)
)
+AM_CONDITIONAL(DEBUGBUILD, test x$debugbuild = xyes)
dnl skip libtool C++ and Fortran compiler checks
m4_ifdef([AC_PROG_CXX], [m4_undefine([AC_PROG_CXX])])