aboutsummaryrefslogtreecommitdiff
path: root/ares/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-28 14:38:04 +0000
committerYang Tse <yangsita@gmail.com>2009-05-28 14:38:04 +0000
commit9418c56fd3cd5df42e5d6aeeadc7686be9c4e041 (patch)
treeff640cb044af468373720616d77c708341e3b712 /ares/configure.ac
parent7dbd502931529ea962e38af23614052cfb59b45f (diff)
c-ares' --enable-curldebug adjustments
Diffstat (limited to 'ares/configure.ac')
-rw-r--r--ares/configure.ac22
1 files changed, 6 insertions, 16 deletions
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 **********************************************************************