diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-24 21:22:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-24 21:22:46 +0000 |
commit | 85867cbe94aea1ff5626c8f7b9b4b41d53781844 (patch) | |
tree | e390e0011759d39a43e1d97735e9fd70afb9a1e2 | |
parent | 5e8d3988a25a3183dac7ace1c7aea4d930534ffc (diff) |
--enable-debug now makes the lib built static only since otherwise we
get problems
-rw-r--r-- | ares/configure.ac | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/ares/configure.ac b/ares/configure.ac index f362fa024..319d5b70b 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -7,8 +7,6 @@ AM_INIT_AUTOMAKE(c-ares, CVS) AC_PROG_CC AC_PROG_INSTALL -AM_PROG_LIBTOOL - case $host_os in solaris*) AC_DEFINE(ETC_INET, 1, [if a /etc/inet dir is being used]) @@ -37,6 +35,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), ;; *) AC_MSG_RESULT(yes) + dnl when doing the debug stuff, use static library only + AC_DISABLE_SHARED + dnl Checks for standard header files, to make memdebug.h inclusions bettter AC_HEADER_STDC @@ -52,12 +53,14 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), AC_MSG_RESULT(no) ) +AC_PROG_LIBTOOL + dnl check for a few basic system headers we need -dnl AC_CHECK_HEADERS( -dnl sys/types.h \ -dnl sys/time.h \ -dnl sys/select.h \ -dnl sys/socket.h \ -dnl ) +AC_CHECK_HEADERS( + sys/types.h \ + sys/time.h \ + sys/select.h \ + sys/socket.h \ + ) AC_OUTPUT(Makefile) |