3 dnl Version not hardcoded here. Fetched later from ares_version.h
5 [c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares])
7 CARES_OVERRIDE_AUTOCONF
9 AC_CONFIG_SRCDIR([ares_ipv6.h])
10 AM_CONFIG_HEADER([config.h ares_build.h])
13 CARES_CHECK_OPTION_DEBUG
14 CARES_CHECK_OPTION_OPTIMIZE
15 CARES_CHECK_OPTION_WARNINGS
17 CARES_CHECK_PATH_SEPARATOR
19 dnl SED is mandatory for configure process and libtool.
20 dnl Set it now, allowing it to be changed later.
21 AC_PATH_PROG([SED], [sed], [not_found],
22 [$PATH:/usr/bin:/usr/local/bin])
23 if test -z "$SED" || test "$SED" = "not_found"; then
24 AC_MSG_ERROR([sed not found in PATH. Cannot continue without sed.])
28 dnl GREP is mandatory for configure process and libtool.
29 dnl Set it now, allowing it to be changed later.
30 AC_PATH_PROG([GREP], [grep], [not_found],
31 [$PATH:/usr/bin:/usr/local/bin])
32 if test -z "$GREP" || test "$GREP" = "not_found"; then
33 AC_MSG_ERROR([grep not found in PATH. Cannot continue without grep.])
37 dnl EGREP is mandatory for configure process and libtool.
38 dnl Set it now, allowing it to be changed later.
39 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
40 AC_MSG_CHECKING([for egrep])
42 AC_MSG_RESULT([$EGREP])
44 AC_PATH_PROG([EGREP], [egrep], [not_found],
45 [$PATH:/usr/bin:/usr/local/bin])
47 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
48 AC_MSG_ERROR([egrep not found in PATH. Cannot continue without egrep.])
52 dnl AR is mandatory for configure process and libtool.
53 dnl This is target dependant, so check it as a tool.
54 AC_PATH_TOOL([AR], [ar], [not_found],
55 [$PATH:/usr/bin:/usr/local/bin])
56 if test -z "$AR" || test "$AR" = "not_found"; then
57 AC_MSG_ERROR([ar not found in PATH. Cannot continue without ar.])
61 dnl Fetch c-ares version from ares_version.h
62 VERSION=`$SED -ne 's/^#define ARES_VERSION_STR "\(.*\)"/\1/p' ${srcdir}/ares_version.h`
63 AM_INIT_AUTOMAKE([c-ares], [$VERSION])
64 AC_MSG_CHECKING([c-ares version])
65 AC_MSG_RESULT([$VERSION])
68 dnl Detect the canonical host and target build environment
72 dnl Get system canonical name
73 AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
79 dnl This defines _ALL_SOURCE for AIX
80 CARES_CHECK_AIX_ALL_SOURCE
82 dnl Our configure and build reentrant settings
83 CARES_CONFIGURE_REENTRANT
85 dnl check for how to do large files
90 AC_DEFINE(ETC_INET, 1, [if a /etc/inet dir is being used])
94 dnl support building of Windows DLLs
97 CARES_PROCESS_DEBUG_BUILD_OPTS
99 AM_CONDITIONAL(DEBUGBUILD, test x$want_debug = xyes)
100 AM_CONDITIONAL(CURLDEBUG, test x$want_debug = xyes)
102 dnl force libtool to build static libraries with PIC on AMD64-Linux & FreeBSD
103 AC_MSG_CHECKING([if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)])
105 x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
117 AC_MSG_CHECKING([if we need -no-undefined])
119 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
120 need_no_undefined=yes
126 AC_MSG_RESULT($need_no_undefined)
127 AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
129 dnl **********************************************************************
130 dnl platform/compiler/architecture specific checks/flags
131 dnl **********************************************************************
134 CARES_SET_COMPILER_BASIC_OPTS
135 CARES_SET_COMPILER_DEBUG_OPTS
136 CARES_SET_COMPILER_OPTIMIZE_OPTS
137 CARES_SET_COMPILER_WARNING_OPTS
141 x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
143 if test "$compiler_id" = "INTEL_UNIX_C"; then
145 if test "$compiler_num" -ge "900" &&
146 test "$compiler_num" -lt "1000"; then
148 CFLAGS="$CFLAGS -i-dynamic"
151 if test "$compiler_num" -ge "1000"; then
152 dnl icc 10.X or later
153 CFLAGS="$CFLAGS -shared-intel"
161 CURL_CHECK_COMPILER_HALT_ON_ERROR
162 CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
164 dnl **********************************************************************
165 dnl Compilation based checks should not be done before this point.
166 dnl **********************************************************************
168 dnl **********************************************************************
169 dnl Make sure that our checks for headers windows.h winsock.h winsock2.h
170 dnl and ws2tcpip.h take precedence over any other further checks which
171 dnl could be done later using AC_CHECK_HEADER or AC_CHECK_HEADERS for
172 dnl this specific header files. And do them before its results are used.
173 dnl **********************************************************************
175 CURL_CHECK_HEADER_WINDOWS
176 CURL_CHECK_NATIVE_WINDOWS
177 case X-"$ac_cv_native_windows" in
179 CURL_CHECK_HEADER_WINSOCK
180 CURL_CHECK_HEADER_WINSOCK2
181 CURL_CHECK_HEADER_WS2TCPIP
184 ac_cv_header_winsock_h="no"
185 ac_cv_header_winsock2_h="no"
186 ac_cv_header_ws2tcpip_h="no"
190 dnl **********************************************************************
191 dnl Checks for libraries.
192 dnl **********************************************************************
194 tst_lib_xnet_required="no"
195 AC_MSG_CHECKING([if X/Open network library is required])
196 CURL_CHECK_DEF([__hpux], [], [silent])
197 CURL_CHECK_DEF_CC([_XOPEN_SOURCE_EXTENDED], [], [silent])
198 if test "$curl_cv_have_def__XOPEN_SOURCE_EXTENDED" = "yes" &&
199 test "$curl_cv_have_def___hpux" = "yes"; then
200 my_ac_save_LIBS=$LIBS
205 if(0 != getpeername(0, 0, 0))
209 tst_lib_xnet_required="yes"
211 LIBS=$my_ac_save_LIBS
214 AC_MSG_RESULT([$tst_lib_xnet_required])
216 dnl gethostbyname without lib or in the nsl lib?
217 AC_CHECK_FUNC(gethostbyname,
218 [HAVE_GETHOSTBYNAME="1"
220 [ AC_CHECK_LIB(nsl, gethostbyname,
221 [HAVE_GETHOSTBYNAME="1"
226 if test "$HAVE_GETHOSTBYNAME" != "1"
228 dnl gethostbyname in the socket lib?
229 AC_CHECK_LIB(socket, gethostbyname,
230 [HAVE_GETHOSTBYNAME="1"
231 LIBS="$LIBS -lsocket"
235 dnl At least one system has been identified to require BOTH nsl and socket
236 dnl libs at the same time to link properly.
237 if test "$HAVE_GETHOSTBYNAME" != "1"
239 AC_MSG_CHECKING([for gethostbyname with both nsl and socket libs])
240 my_ac_save_LIBS=$LIBS
241 LIBS="-lnsl -lsocket $LIBS"
249 HAVE_GETHOSTBYNAME="1"
252 LIBS=$my_ac_save_LIBS
256 if test "$HAVE_GETHOSTBYNAME" != "1"
258 dnl This is for winsock systems
259 if test "$ac_cv_header_windows_h" = "yes"; then
260 if test "$ac_cv_header_winsock_h" = "yes"; then
263 winsock_LIB="-lwinsock"
266 winsock_LIB="-lwsock32"
270 if test "$ac_cv_header_winsock2_h" = "yes"; then
271 winsock_LIB="-lws2_32"
273 if test ! -z "$winsock_LIB"; then
274 my_ac_save_LIBS=$LIBS
275 LIBS="$winsock_LIB $LIBS"
276 AC_MSG_CHECKING([for gethostbyname in $winsock_LIB])
279 #ifdef HAVE_WINDOWS_H
280 #ifndef WIN32_LEAN_AND_MEAN
281 #define WIN32_LEAN_AND_MEAN
284 #ifdef HAVE_WINSOCK2_H
285 #include <winsock2.h>
287 #ifdef HAVE_WINSOCK_H
293 gethostbyname("www.dummysite.com");
297 HAVE_GETHOSTBYNAME="1"
301 LIBS=$my_ac_save_LIBS
307 if test "$HAVE_GETHOSTBYNAME" != "1"
309 dnl This is for Minix 3.1
310 AC_MSG_CHECKING([for gethostbyname for Minix 3])
313 /* Older Minix versions may need <net/gen/netdb.h> here instead */
316 gethostbyname("www.dummysite.com");
320 HAVE_GETHOSTBYNAME="1"
326 if test "$HAVE_GETHOSTBYNAME" != "1"
328 dnl This is for eCos with a stubbed DNS implementation
329 AC_MSG_CHECKING([for gethostbyname for eCos])
335 gethostbyname("www.dummysite.com");
339 HAVE_GETHOSTBYNAME="1"
345 if test "$HAVE_GETHOSTBYNAME" != "1"
347 dnl gethostbyname in the net lib - for BeOS
348 AC_CHECK_LIB(net, gethostbyname,
349 [HAVE_GETHOSTBYNAME="1"
355 if test "$HAVE_GETHOSTBYNAME" != "1"; then
356 AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
360 AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ])
362 if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
363 AC_CHECK_LIB(resolve, strcasecmp,
364 [LIBS="-lresolve $LIBS"],
368 ac_cv_func_strcasecmp="no"
371 AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
373 dnl **********************************************************************
374 dnl In case that function clock_gettime with monotonic timer is available,
375 dnl check for additional required libraries.
376 dnl **********************************************************************
377 CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC
379 AC_MSG_CHECKING([whether to use libgcc])
380 AC_ARG_ENABLE(libgcc,
381 AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]),
382 [ case "$enableval" in
394 dnl Default is to try the thread-safe versions of a few functions
397 dnl detect AIX 4.3 or later
398 AC_MSG_CHECKING([AIX 4.3 or later])
400 #if defined(_AIX) && defined(_AIX43)
403 #error "this is not AIX 4.3 or later"
406 [ AC_MSG_RESULT([yes])
409 [ AC_MSG_RESULT([no]) ]
412 AC_ARG_ENABLE(thread,dnl
413 AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions])
414 AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
415 [ case "$enableval" in
418 AC_MSG_WARN(c-ares will not get built using thread-safe functions)
426 if test X"$OPT_THREAD" = Xoff
428 AC_DEFINE(DISABLED_THREADSAFE, 1,
429 [Set to explicitly specify we don't want to use thread-safe functions])
432 dnl for recent AIX versions, we skip all the thread-safe checks above since
433 dnl they claim a thread-safe libc using the standard API. But there are
434 dnl some functions still not thread-safe. Check for these!
436 dnl Let's hope this split URL remains working:
437 dnl http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/ \
438 dnl genprogc/thread_quick_ref.htm
440 if test "x$RECENTAIX" = "xyes"; then
442 AC_DEFINE(_THREAD_SAFE, 1, [define this if you need it to compile thread-safe code])
447 dnl **********************************************************************
448 dnl Back to "normal" configuring
449 dnl **********************************************************************
451 dnl Checks for header files.
454 CURL_CHECK_HEADER_MALLOC
455 CURL_CHECK_HEADER_MEMORY
457 dnl check for a few basic system headers we need
476 arpa/nameser_compat.h \
478 dnl to do if not found
484 #ifdef HAVE_SYS_TYPES_H
485 #include <sys/types.h>
487 #ifdef HAVE_SYS_TIME_H
488 #include <sys/time.h>
490 dnl We do this default-include simply to make sure that the nameser_compat.h
491 dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
492 dnl (and others?) is not designed to allow this.
493 #ifdef HAVE_ARPA_NAMESER_H
494 #include <arpa/nameser.h>
497 dnl *Sigh* these are needed in order for net/if.h to get properly detected.
498 #ifdef HAVE_SYS_SOCKET_H
499 #include <sys/socket.h>
501 #ifdef HAVE_NETINET_IN_H
502 #include <netinet/in.h>
507 dnl Checks for typedefs, structures, and compiler characteristics.
511 CURL_CHECK_STRUCT_TIMEVAL
513 AC_CHECK_SIZEOF(size_t)
515 AC_CHECK_SIZEOF(long)
517 AC_CHECK_SIZEOF(time_t)
519 AC_CHECK_TYPE(long long,
520 [AC_DEFINE(HAVE_LONGLONG, 1,
521 [Define to 1 if the compiler supports the 'long long' data type.])]
525 if test "xyes" = "x$longlong"; then
526 AC_MSG_CHECKING([if numberLL works])
527 AC_COMPILE_IFELSE([long long val = 1000LL;],
528 [AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])]
536 AC_CHECK_TYPE(ssize_t, ,
537 AC_DEFINE(ssize_t, int, [the signed version of size_t]))
539 # check for bool type
540 AC_CHECK_TYPE([bool],[
541 AC_DEFINE(HAVE_BOOL_T, 1,
542 [Define to 1 if bool is an available type.])
544 #ifdef HAVE_SYS_TYPES_H
545 #include <sys/types.h>
547 #ifdef HAVE_STDBOOL_H
552 CARES_CONFIGURE_ARES_SOCKLEN_T
556 TYPE_SOCKADDR_STORAGE
563 CURL_CHECK_FUNC_RECVFROM
565 CURL_CHECK_MSG_NOSIGNAL
567 CARES_CHECK_FUNC_FCNTL
568 CARES_CHECK_FUNC_FREEADDRINFO
569 CARES_CHECK_FUNC_GETADDRINFO
570 CARES_CHECK_FUNC_GETHOSTBYADDR
571 CARES_CHECK_FUNC_GETHOSTBYNAME
572 CARES_CHECK_FUNC_GETHOSTNAME
573 CARES_CHECK_FUNC_GETSERVBYPORT_R
574 CARES_CHECK_FUNC_INET_NTOP
575 CARES_CHECK_FUNC_INET_PTON
576 CARES_CHECK_FUNC_IOCTL
577 CARES_CHECK_FUNC_IOCTLSOCKET
578 CARES_CHECK_FUNC_IOCTLSOCKET_CAMEL
579 CARES_CHECK_FUNC_SETSOCKOPT
580 CARES_CHECK_FUNC_STRCASECMP
581 CARES_CHECK_FUNC_STRCMPI
582 CARES_CHECK_FUNC_STRDUP
583 CARES_CHECK_FUNC_STRICMP
584 CARES_CHECK_FUNC_STRNCASECMP
585 CARES_CHECK_FUNC_STRNCMPI
586 CARES_CHECK_FUNC_STRNICMP
587 CARES_CHECK_FUNC_WRITEV
590 dnl check for AF_INET6
591 CARES_CHECK_CONSTANT(
594 #ifdef HAVE_WINDOWS_H
595 #ifndef WIN32_LEAN_AND_MEAN
596 #define WIN32_LEAN_AND_MEAN
599 #ifdef HAVE_WINSOCK2_H
600 #include <winsock2.h>
603 #ifdef HAVE_SYS_TYPES_H
604 #include <sys/types.h>
606 #ifdef HAVE_SYS_SOCKET_H
607 #include <sys/socket.h>
611 AC_DEFINE_UNQUOTED(HAVE_PF_INET6,1,[Define to 1 if you have PF_INET6.])
614 dnl check for PF_INET6
615 CARES_CHECK_CONSTANT(
618 #ifdef HAVE_WINDOWS_H
619 #ifndef WIN32_LEAN_AND_MEAN
620 #define WIN32_LEAN_AND_MEAN
623 #ifdef HAVE_WINSOCK2_H
624 #include <winsock2.h>
627 #ifdef HAVE_SYS_TYPES_H
628 #include <sys/types.h>
630 #ifdef HAVE_SYS_SOCKET_H
631 #include <sys/socket.h>
635 AC_DEFINE_UNQUOTED(HAVE_AF_INET6,1,[Define to 1 if you have AF_INET6.])
639 dnl check for the in6_addr structure
643 #ifdef HAVE_WINDOWS_H
644 #ifndef WIN32_LEAN_AND_MEAN
645 #define WIN32_LEAN_AND_MEAN
648 #ifdef HAVE_WINSOCK2_H
649 #include <winsock2.h>
650 #ifdef HAVE_WS2TCPIP_H
651 #include <ws2tcpip.h>
655 #ifdef HAVE_SYS_TYPES_H
656 #include <sys/types.h>
658 #ifdef HAVE_NETINET_IN_H
659 #include <netinet/in.h>
663 AC_DEFINE_UNQUOTED(HAVE_STRUCT_IN6_ADDR,1,[Define to 1 if you have struct in6_addr.])
666 dnl check for the sockaddr_in6 structure
670 #ifdef HAVE_WINDOWS_H
671 #ifndef WIN32_LEAN_AND_MEAN
672 #define WIN32_LEAN_AND_MEAN
675 #ifdef HAVE_WINSOCK2_H
676 #include <winsock2.h>
677 #ifdef HAVE_WS2TCPIP_H
678 #include <ws2tcpip.h>
682 #ifdef HAVE_SYS_TYPES_H
683 #include <sys/types.h>
685 #ifdef HAVE_NETINET_IN_H
686 #include <netinet/in.h>
690 AC_DEFINE_UNQUOTED(HAVE_STRUCT_SOCKADDR_IN6,1,
691 [Define to 1 if you have struct sockaddr_in6.]) ac_have_sockaddr_in6=yes
694 AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id,
695 AC_DEFINE_UNQUOTED(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID,1,
696 [Define to 1 if your struct sockaddr_in6 has sin6_scope_id.])
700 #ifdef HAVE_WINDOWS_H
701 #ifndef WIN32_LEAN_AND_MEAN
702 #define WIN32_LEAN_AND_MEAN
705 #ifdef HAVE_WINSOCK2_H
706 #include <winsock2.h>
707 #ifdef HAVE_WS2TCPIP_H
708 #include <ws2tcpip.h>
712 #ifdef HAVE_SYS_TYPES_H
713 #include <sys/types.h>
715 #ifdef HAVE_NETINET_IN_H
716 #include <netinet/in.h>
721 dnl check for the addrinfo structure
722 AC_CHECK_MEMBER(struct addrinfo.ai_flags,
723 AC_DEFINE_UNQUOTED(HAVE_STRUCT_ADDRINFO,1,
724 [Define to 1 if you have struct addrinfo.]),,
727 #ifdef HAVE_WINDOWS_H
728 #ifndef WIN32_LEAN_AND_MEAN
729 #define WIN32_LEAN_AND_MEAN
732 #ifdef HAVE_WINSOCK2_H
733 #include <winsock2.h>
734 #ifdef HAVE_WS2TCPIP_H
735 #include <ws2tcpip.h>
739 #ifdef HAVE_SYS_TYPES_H
740 #include <sys/types.h>
742 #ifdef HAVE_NETINET_IN_H
743 #include <netinet/in.h>
745 #ifdef HAVE_SYS_SOCKET_H
746 #include <sys/socket.h>
756 AC_CHECK_FUNCS([bitncmp \
762 AC_MSG_CHECKING([deeper for $func])
770 eval "ac_cv_func_$func=yes"
771 AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$func])], [1],
772 [Define to 1 if you have the $func function.])
774 AC_MSG_RESULT([but still no])
779 dnl Check for inet_net_pton
780 AC_CHECK_FUNCS(inet_net_pton)
781 dnl Again, some systems have it, but not IPv6
782 if test "$ac_cv_func_inet_net_pton" = "yes" ; then
783 AC_MSG_CHECKING(if inet_net_pton supports IPv6)
786 #ifdef HAVE_SYS_TYPES_H
787 #include <sys/types.h>
789 #ifdef HAVE_SYS_SOCKET_H
790 #include <sys/socket.h>
792 #ifdef HAVE_NETINET_IN_H
793 #include <netinet/in.h>
797 struct in6_addr addr6;
798 if (inet_net_pton(AF_INET6, "::1", &addr6, sizeof(addr6)) < 1)
805 AC_DEFINE_UNQUOTED(HAVE_INET_NET_PTON_IPV6,1,[Define to 1 if inet_net_pton supports IPv6.])
806 ], AC_MSG_RESULT(no),AC_MSG_RESULT(no))
810 AC_CHECK_SIZEOF(struct in6_addr, ,
813 #ifdef HAVE_WINDOWS_H
814 #ifndef WIN32_LEAN_AND_MEAN
815 #define WIN32_LEAN_AND_MEAN
818 #ifdef HAVE_WINSOCK2_H
819 #include <winsock2.h>
820 #ifdef HAVE_WS2TCPIP_H
821 #include <ws2tcpip.h>
825 #ifdef HAVE_SYS_TYPES_H
826 #include <sys/types.h>
828 #ifdef HAVE_SYS_SOCKET_H
829 #include <sys/socket.h>
831 #ifdef HAVE_NETINET_IN_H
832 #include <netinet/in.h>
838 AC_CHECK_SIZEOF(struct in_addr, ,
841 #ifdef HAVE_WINDOWS_H
842 #ifndef WIN32_LEAN_AND_MEAN
843 #define WIN32_LEAN_AND_MEAN
846 #ifdef HAVE_WINSOCK2_H
847 #include <winsock2.h>
848 #ifdef HAVE_WS2TCPIP_H
849 #include <ws2tcpip.h>
853 #ifdef HAVE_SYS_TYPES_H
854 #include <sys/types.h>
856 #ifdef HAVE_SYS_SOCKET_H
857 #include <sys/socket.h>
859 #ifdef HAVE_NETINET_IN_H
860 #include <netinet/in.h>
867 dnl Check if the getnameinfo function is available
868 dnl and get the types of five of its arguments.
869 CURL_CHECK_FUNC_GETNAMEINFO
873 [AC_DEFINE(ARES_BIG_ENDIAN, 1,
874 [define this if ares is built for a big endian system])],
876 [AC_MSG_WARN([couldn't figure out endianess, assuming little endian!])]
879 dnl Check for user-specified random device
881 AC_HELP_STRING([--with-random=FILE],
882 [read randomness from FILE (default=/dev/urandom)]),
883 [ RANDOM_FILE="$withval" ],
885 dnl Check for random device. If we're cross compiling, we can't
886 dnl check, and it's better to assume it doesn't exist than it is
887 dnl to fail on AC_CHECK_FILE or later.
888 if test "$cross_compiling" = "no"; then
889 AC_CHECK_FILE("/dev/urandom", [ RANDOM_FILE="/dev/urandom"] )
891 AC_MSG_WARN([cannot check for /dev/urandom while cross compiling; assuming none])
896 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
897 AC_SUBST(RANDOM_FILE)
898 AC_DEFINE_UNQUOTED(RANDOM_FILE, "$RANDOM_FILE",
899 [a suitable file/device to read random data from])
902 CARES_CHECK_OPTION_NONBLOCKING
903 CARES_CHECK_NONBLOCKING_SOCKET
905 CARES_PRIVATE_LIBS="$LIBS"
906 AC_SUBST(CARES_PRIVATE_LIBS)
908 dnl squeeze whitespace out of some variables
916 squeeze CARES_PRIVATE_LIBS
918 AC_CONFIG_FILES([Makefile libcares.pc])