From 9418c56fd3cd5df42e5d6aeeadc7686be9c4e041 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 28 May 2009 14:38:04 +0000 Subject: c-ares' --enable-curldebug adjustments --- ares/configure.ac | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'ares/configure.ac') diff --git a/ares/configure.ac b/ares/configure.ac index e8dff99e7..3c8c0ac07 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -110,22 +110,6 @@ esac dnl libtool setup AC_PROG_LIBTOOL -CARES_CHECK_CURLDEBUG - -AM_CONDITIONAL(CURLDEBUG, test x$want_curldebug = xyes) - -AC_MSG_CHECKING([if we need -no-undefined]) -case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) - need_no_undefined=yes - ;; - *) - need_no_undefined=no - ;; -esac -AC_MSG_RESULT($need_no_undefined) -AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes) - dnl ********************************************************************** dnl platform/compiler/architecture specific checks/flags dnl ********************************************************************** @@ -161,6 +145,12 @@ esac CARES_CHECK_COMPILER_HALT_ON_ERROR CARES_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE +CARES_CHECK_NO_UNDEFINED +AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes) + +CARES_CHECK_CURLDEBUG +AM_CONDITIONAL(CURLDEBUG, test x$want_curldebug = xyes) + dnl ********************************************************************** dnl Compilation based checks should not be done before this point. dnl ********************************************************************** -- cgit v1.2.3