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([ares_config.h ares_build.h])
13 CARES_CHECK_OPTION_DEBUG
14 CARES_CHECK_OPTION_OPTIMIZE
15 CARES_CHECK_OPTION_WARNINGS
16 CARES_CHECK_OPTION_CURLDEBUG
17 CARES_CHECK_OPTION_HIDDEN_SYMBOLS
19 CARES_CHECK_PATH_SEPARATOR_REQUIRED
21 dnl SED is mandatory for configure process and libtool.
22 dnl Set it now, allowing it to be changed later.
23 AC_PATH_PROG([SED], [sed], [not_found],
24 [$PATH:/usr/bin:/usr/local/bin])
25 if test -z "$SED" || test "$SED" = "not_found"; then
26 AC_MSG_ERROR([sed not found in PATH. Cannot continue without sed.])
30 dnl GREP is mandatory for configure process and libtool.
31 dnl Set it now, allowing it to be changed later.
32 AC_PATH_PROG([GREP], [grep], [not_found],
33 [$PATH:/usr/bin:/usr/local/bin])
34 if test -z "$GREP" || test "$GREP" = "not_found"; then
35 AC_MSG_ERROR([grep not found in PATH. Cannot continue without grep.])
39 dnl EGREP is mandatory for configure process and libtool.
40 dnl Set it now, allowing it to be changed later.
41 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
42 AC_MSG_CHECKING([for egrep])
44 AC_MSG_RESULT([$EGREP])
46 AC_PATH_PROG([EGREP], [egrep], [not_found],
47 [$PATH:/usr/bin:/usr/local/bin])
49 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
50 AC_MSG_ERROR([egrep not found in PATH. Cannot continue without egrep.])
54 dnl AR is mandatory for configure process and libtool.
55 dnl This is target dependent, so check it as a tool.
56 AC_PATH_TOOL([AR], [ar], [not_found],
57 [$PATH:/usr/bin:/usr/local/bin])
58 if test -z "$AR" || test "$AR" = "not_found"; then
59 AC_MSG_ERROR([ar not found in PATH. Cannot continue without ar.])
63 dnl Fetch c-ares version from ares_version.h
64 VERSION=`$SED -ne 's/^#define ARES_VERSION_STR "\(.*\)"/\1/p' ${srcdir}/ares_version.h`
65 AM_INIT_AUTOMAKE([c-ares], [$VERSION])
66 AC_MSG_CHECKING([c-ares version])
67 AC_MSG_RESULT([$VERSION])
70 dnl Detect the canonical host and target build environment
74 dnl Get system canonical name
75 AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
81 dnl This defines _ALL_SOURCE for AIX
82 CARES_CHECK_AIX_ALL_SOURCE
84 dnl Our configure and build reentrant settings
85 CARES_CONFIGURE_REENTRANT
87 dnl check for how to do large files
92 AC_DEFINE(ETC_INET, 1, [if a /etc/inet dir is being used])
96 dnl support building of Windows DLLs
99 dnl force libtool to build static libraries with PIC on AMD64-Linux & FreeBSD
100 AC_MSG_CHECKING([if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)])
102 x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
114 AC_MSG_CHECKING([if we need CARES_BUILDING_LIB])
117 AC_DEFINE(CARES_BUILDING_LIB, 1, [when building c-ares library])
119 AC_MSG_CHECKING([if we need CARES_STATICLIB])
120 if test "X$enable_shared" = "Xno"
122 AC_DEFINE(CARES_STATICLIB, 1, [when not building a shared library])
133 dnl **********************************************************************
134 dnl platform/compiler/architecture specific checks/flags
135 dnl **********************************************************************
138 CARES_SET_COMPILER_BASIC_OPTS
139 CARES_SET_COMPILER_DEBUG_OPTS
140 CARES_SET_COMPILER_OPTIMIZE_OPTS
141 CARES_SET_COMPILER_WARNING_OPTS
145 x86_64*linux*|amd64*freebsd*|ia64*freebsd*)
147 if test "$compiler_id" = "INTEL_UNIX_C"; then
149 if test "$compiler_num" -ge "900" &&
150 test "$compiler_num" -lt "1000"; then
152 CFLAGS="$CFLAGS -i-dynamic"
155 if test "$compiler_num" -ge "1000"; then
156 dnl icc 10.X or later
157 CFLAGS="$CFLAGS -shared-intel"
165 CARES_CHECK_COMPILER_HALT_ON_ERROR
166 CARES_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE
167 CARES_CHECK_COMPILER_HIDDEN_SYMBOLS
169 CARES_CHECK_NO_UNDEFINED
170 AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
172 CARES_CHECK_CURLDEBUG
173 AM_CONDITIONAL(CURLDEBUG, test x$want_curldebug = xyes)
175 dnl **********************************************************************
176 dnl Compilation based checks should not be done before this point.
177 dnl **********************************************************************
179 dnl **********************************************************************
180 dnl Make sure that our checks for headers windows.h winsock.h winsock2.h
181 dnl and ws2tcpip.h take precedence over any other further checks which
182 dnl could be done later using AC_CHECK_HEADER or AC_CHECK_HEADERS for
183 dnl this specific header files. And do them before its results are used.
184 dnl **********************************************************************
186 CURL_CHECK_HEADER_WINDOWS
187 CURL_CHECK_NATIVE_WINDOWS
188 case X-"$ac_cv_native_windows" in
190 CURL_CHECK_HEADER_WINSOCK
191 CURL_CHECK_HEADER_WINSOCK2
192 CURL_CHECK_HEADER_WS2TCPIP
195 ac_cv_header_winsock_h="no"
196 ac_cv_header_winsock2_h="no"
197 ac_cv_header_ws2tcpip_h="no"
201 dnl **********************************************************************
202 dnl Checks for libraries.
203 dnl **********************************************************************
207 dnl gethostbyname without lib or in the nsl lib?
208 AC_CHECK_FUNC(gethostbyname,
209 [HAVE_GETHOSTBYNAME="1"
211 [ AC_CHECK_LIB(nsl, gethostbyname,
212 [HAVE_GETHOSTBYNAME="1"
217 if test "$HAVE_GETHOSTBYNAME" != "1"
219 dnl gethostbyname in the socket lib?
220 AC_CHECK_LIB(socket, gethostbyname,
221 [HAVE_GETHOSTBYNAME="1"
222 LIBS="$LIBS -lsocket"
226 dnl At least one system has been identified to require BOTH nsl and socket
227 dnl libs at the same time to link properly.
228 if test "$HAVE_GETHOSTBYNAME" != "1"
230 AC_MSG_CHECKING([for gethostbyname with both nsl and socket libs])
231 my_ac_save_LIBS=$LIBS
232 LIBS="-lnsl -lsocket $LIBS"
240 HAVE_GETHOSTBYNAME="1"
243 LIBS=$my_ac_save_LIBS
247 if test "$HAVE_GETHOSTBYNAME" != "1"
249 dnl This is for winsock systems
250 if test "$ac_cv_header_windows_h" = "yes"; then
251 if test "$ac_cv_header_winsock_h" = "yes"; then
254 winsock_LIB="-lwinsock"
257 winsock_LIB="-lwsock32"
261 if test "$ac_cv_header_winsock2_h" = "yes"; then
262 winsock_LIB="-lws2_32"
264 if test ! -z "$winsock_LIB"; then
265 my_ac_save_LIBS=$LIBS
266 LIBS="$winsock_LIB $LIBS"
267 AC_MSG_CHECKING([for gethostbyname in $winsock_LIB])
270 #ifdef HAVE_WINDOWS_H
271 #ifndef WIN32_LEAN_AND_MEAN
272 #define WIN32_LEAN_AND_MEAN
275 #ifdef HAVE_WINSOCK2_H
276 #include <winsock2.h>
278 #ifdef HAVE_WINSOCK_H
284 gethostbyname("www.dummysite.com");
288 HAVE_GETHOSTBYNAME="1"
292 LIBS=$my_ac_save_LIBS
298 if test "$HAVE_GETHOSTBYNAME" != "1"
300 dnl This is for Minix 3.1
301 AC_MSG_CHECKING([for gethostbyname for Minix 3])
304 /* Older Minix versions may need <net/gen/netdb.h> here instead */
307 gethostbyname("www.dummysite.com");
311 HAVE_GETHOSTBYNAME="1"
317 if test "$HAVE_GETHOSTBYNAME" != "1"
319 dnl This is for eCos with a stubbed DNS implementation
320 AC_MSG_CHECKING([for gethostbyname for eCos])
326 gethostbyname("www.dummysite.com");
330 HAVE_GETHOSTBYNAME="1"
336 if test "$HAVE_GETHOSTBYNAME" != "1"
338 dnl gethostbyname in the net lib - for BeOS
339 AC_CHECK_LIB(net, gethostbyname,
340 [HAVE_GETHOSTBYNAME="1"
346 if test "$HAVE_GETHOSTBYNAME" != "1"; then
347 AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
351 AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ])
353 if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
354 AC_CHECK_LIB(resolve, strcasecmp,
355 [LIBS="-lresolve $LIBS"],
359 ac_cv_func_strcasecmp="no"
361 CARES_CHECK_LIBS_CONNECT
363 dnl **********************************************************************
364 dnl In case that function clock_gettime with monotonic timer is available,
365 dnl check for additional required libraries.
366 dnl **********************************************************************
367 CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC
369 AC_MSG_CHECKING([whether to use libgcc])
370 AC_ARG_ENABLE(libgcc,
371 AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]),
372 [ case "$enableval" in
384 dnl Default is to try the thread-safe versions of a few functions
387 dnl detect AIX 4.3 or later
388 AC_MSG_CHECKING([AIX 4.3 or later])
390 #if defined(_AIX) && defined(_AIX43)
393 #error "this is not AIX 4.3 or later"
396 [ AC_MSG_RESULT([yes])
399 [ AC_MSG_RESULT([no]) ]
402 AC_ARG_ENABLE(thread,dnl
403 AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions])
404 AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
405 [ case "$enableval" in
408 AC_MSG_WARN(c-ares will not get built using thread-safe functions)
416 if test X"$OPT_THREAD" = Xoff
418 AC_DEFINE(DISABLED_THREADSAFE, 1,
419 [Set to explicitly specify we don't want to use thread-safe functions])
422 dnl for recent AIX versions, we skip all the thread-safe checks above since
423 dnl they claim a thread-safe libc using the standard API. But there are
424 dnl some functions still not thread-safe. Check for these!
426 dnl Let's hope this split URL remains working:
427 dnl http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/ \
428 dnl genprogc/thread_quick_ref.htm
430 if test "x$RECENTAIX" = "xyes"; then
432 AC_DEFINE(_THREAD_SAFE, 1, [define this if you need it to compile thread-safe code])
437 dnl **********************************************************************
438 dnl Back to "normal" configuring
439 dnl **********************************************************************
441 dnl Checks for header files.
444 CURL_CHECK_HEADER_MALLOC
445 CURL_CHECK_HEADER_MEMORY
447 dnl check for a few basic system headers we need
467 arpa/nameser_compat.h \
469 dnl to do if not found
475 #ifdef HAVE_SYS_TYPES_H
476 #include <sys/types.h>
478 #ifdef HAVE_SYS_TIME_H
479 #include <sys/time.h>
481 dnl We do this default-include simply to make sure that the nameser_compat.h
482 dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
483 dnl (and others?) is not designed to allow this.
484 #ifdef HAVE_ARPA_NAMESER_H
485 #include <arpa/nameser.h>
488 dnl *Sigh* these are needed in order for net/if.h to get properly detected.
489 #ifdef HAVE_SYS_SOCKET_H
490 #include <sys/socket.h>
492 #ifdef HAVE_NETINET_IN_H
493 #include <netinet/in.h>
498 dnl Checks for typedefs, structures, and compiler characteristics.
502 CURL_CHECK_STRUCT_TIMEVAL
504 AC_CHECK_SIZEOF(size_t)
506 AC_CHECK_SIZEOF(long)
508 AC_CHECK_SIZEOF(time_t)
510 AC_CHECK_TYPE(long long,
511 [AC_DEFINE(HAVE_LONGLONG, 1,
512 [Define to 1 if the compiler supports the 'long long' data type.])]
516 if test "xyes" = "x$longlong"; then
517 AC_MSG_CHECKING([if numberLL works])
518 AC_COMPILE_IFELSE([long long val = 1000LL;],
519 [AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])]
527 AC_CHECK_TYPE(ssize_t, ,
528 AC_DEFINE(ssize_t, int, [the signed version of size_t]))
530 # check for bool type
531 AC_CHECK_TYPE([bool],[
532 AC_DEFINE(HAVE_BOOL_T, 1,
533 [Define to 1 if bool is an available type.])
535 #ifdef HAVE_SYS_TYPES_H
536 #include <sys/types.h>
538 #ifdef HAVE_STDBOOL_H
543 CARES_CONFIGURE_ARES_SOCKLEN_T
547 TYPE_SOCKADDR_STORAGE
554 CURL_CHECK_FUNC_RECVFROM
556 CURL_CHECK_MSG_NOSIGNAL
558 CARES_CHECK_FUNC_CLOSESOCKET
559 CARES_CHECK_FUNC_CLOSESOCKET_CAMEL
560 CARES_CHECK_FUNC_CONNECT
561 CARES_CHECK_FUNC_FCNTL
562 CARES_CHECK_FUNC_FREEADDRINFO
563 CARES_CHECK_FUNC_GETADDRINFO
564 CARES_CHECK_FUNC_GETHOSTBYADDR
565 CARES_CHECK_FUNC_GETHOSTBYNAME
566 CARES_CHECK_FUNC_GETHOSTNAME
567 CARES_CHECK_FUNC_GETSERVBYPORT_R
568 CARES_CHECK_FUNC_INET_NTOP
569 CARES_CHECK_FUNC_INET_PTON
570 CARES_CHECK_FUNC_IOCTL
571 CARES_CHECK_FUNC_IOCTLSOCKET
572 CARES_CHECK_FUNC_IOCTLSOCKET_CAMEL
573 CARES_CHECK_FUNC_SETSOCKOPT
574 CARES_CHECK_FUNC_SOCKET
575 CARES_CHECK_FUNC_STRCASECMP
576 CARES_CHECK_FUNC_STRCMPI
577 CARES_CHECK_FUNC_STRDUP
578 CARES_CHECK_FUNC_STRICMP
579 CARES_CHECK_FUNC_STRNCASECMP
580 CARES_CHECK_FUNC_STRNCMPI
581 CARES_CHECK_FUNC_STRNICMP
582 CARES_CHECK_FUNC_WRITEV
585 dnl check for AF_INET6
586 CARES_CHECK_CONSTANT(
589 #ifdef HAVE_WINDOWS_H
590 #ifndef WIN32_LEAN_AND_MEAN
591 #define WIN32_LEAN_AND_MEAN
594 #ifdef HAVE_WINSOCK2_H
595 #include <winsock2.h>
598 #ifdef HAVE_SYS_TYPES_H
599 #include <sys/types.h>
601 #ifdef HAVE_SYS_SOCKET_H
602 #include <sys/socket.h>
606 AC_DEFINE_UNQUOTED(HAVE_PF_INET6,1,[Define to 1 if you have PF_INET6.])
609 dnl check for PF_INET6
610 CARES_CHECK_CONSTANT(
613 #ifdef HAVE_WINDOWS_H
614 #ifndef WIN32_LEAN_AND_MEAN
615 #define WIN32_LEAN_AND_MEAN
618 #ifdef HAVE_WINSOCK2_H
619 #include <winsock2.h>
622 #ifdef HAVE_SYS_TYPES_H
623 #include <sys/types.h>
625 #ifdef HAVE_SYS_SOCKET_H
626 #include <sys/socket.h>
630 AC_DEFINE_UNQUOTED(HAVE_AF_INET6,1,[Define to 1 if you have AF_INET6.])
634 dnl check for the in6_addr structure
638 #ifdef HAVE_WINDOWS_H
639 #ifndef WIN32_LEAN_AND_MEAN
640 #define WIN32_LEAN_AND_MEAN
643 #ifdef HAVE_WINSOCK2_H
644 #include <winsock2.h>
645 #ifdef HAVE_WS2TCPIP_H
646 #include <ws2tcpip.h>
650 #ifdef HAVE_SYS_TYPES_H
651 #include <sys/types.h>
653 #ifdef HAVE_NETINET_IN_H
654 #include <netinet/in.h>
658 AC_DEFINE_UNQUOTED(HAVE_STRUCT_IN6_ADDR,1,[Define to 1 if you have struct in6_addr.])
661 dnl check for the sockaddr_in6 structure
665 #ifdef HAVE_WINDOWS_H
666 #ifndef WIN32_LEAN_AND_MEAN
667 #define WIN32_LEAN_AND_MEAN
670 #ifdef HAVE_WINSOCK2_H
671 #include <winsock2.h>
672 #ifdef HAVE_WS2TCPIP_H
673 #include <ws2tcpip.h>
677 #ifdef HAVE_SYS_TYPES_H
678 #include <sys/types.h>
680 #ifdef HAVE_NETINET_IN_H
681 #include <netinet/in.h>
685 AC_DEFINE_UNQUOTED(HAVE_STRUCT_SOCKADDR_IN6,1,
686 [Define to 1 if you have struct sockaddr_in6.]) ac_have_sockaddr_in6=yes
689 AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id,
690 AC_DEFINE_UNQUOTED(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID,1,
691 [Define to 1 if your struct sockaddr_in6 has sin6_scope_id.])
695 #ifdef HAVE_WINDOWS_H
696 #ifndef WIN32_LEAN_AND_MEAN
697 #define WIN32_LEAN_AND_MEAN
700 #ifdef HAVE_WINSOCK2_H
701 #include <winsock2.h>
702 #ifdef HAVE_WS2TCPIP_H
703 #include <ws2tcpip.h>
707 #ifdef HAVE_SYS_TYPES_H
708 #include <sys/types.h>
710 #ifdef HAVE_NETINET_IN_H
711 #include <netinet/in.h>
716 dnl check for the addrinfo structure
717 AC_CHECK_MEMBER(struct addrinfo.ai_flags,
718 AC_DEFINE_UNQUOTED(HAVE_STRUCT_ADDRINFO,1,
719 [Define to 1 if you have struct addrinfo.]),,
722 #ifdef HAVE_WINDOWS_H
723 #ifndef WIN32_LEAN_AND_MEAN
724 #define WIN32_LEAN_AND_MEAN
727 #ifdef HAVE_WINSOCK2_H
728 #include <winsock2.h>
729 #ifdef HAVE_WS2TCPIP_H
730 #include <ws2tcpip.h>
734 #ifdef HAVE_SYS_TYPES_H
735 #include <sys/types.h>
737 #ifdef HAVE_NETINET_IN_H
738 #include <netinet/in.h>
740 #ifdef HAVE_SYS_SOCKET_H
741 #include <sys/socket.h>
751 AC_CHECK_FUNCS([bitncmp \
757 AC_MSG_CHECKING([deeper for $func])
765 eval "ac_cv_func_$func=yes"
766 AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$func]), [1],
767 [Define to 1 if you have the $func function.])
769 AC_MSG_RESULT([but still no])
774 dnl Check for inet_net_pton
775 AC_CHECK_FUNCS(inet_net_pton)
776 dnl Again, some systems have it, but not IPv6
777 if test "$ac_cv_func_inet_net_pton" = "yes" ; then
778 AC_MSG_CHECKING(if inet_net_pton supports IPv6)
781 #ifdef HAVE_SYS_TYPES_H
782 #include <sys/types.h>
784 #ifdef HAVE_SYS_SOCKET_H
785 #include <sys/socket.h>
787 #ifdef HAVE_NETINET_IN_H
788 #include <netinet/in.h>
792 struct in6_addr addr6;
793 if (inet_net_pton(AF_INET6, "::1", &addr6, sizeof(addr6)) < 1)
800 AC_DEFINE_UNQUOTED(HAVE_INET_NET_PTON_IPV6,1,[Define to 1 if inet_net_pton supports IPv6.])
801 ], AC_MSG_RESULT(no),AC_MSG_RESULT(no))
805 AC_CHECK_SIZEOF(struct in6_addr, ,
808 #ifdef HAVE_WINDOWS_H
809 #ifndef WIN32_LEAN_AND_MEAN
810 #define WIN32_LEAN_AND_MEAN
813 #ifdef HAVE_WINSOCK2_H
814 #include <winsock2.h>
815 #ifdef HAVE_WS2TCPIP_H
816 #include <ws2tcpip.h>
820 #ifdef HAVE_SYS_TYPES_H
821 #include <sys/types.h>
823 #ifdef HAVE_SYS_SOCKET_H
824 #include <sys/socket.h>
826 #ifdef HAVE_NETINET_IN_H
827 #include <netinet/in.h>
833 AC_CHECK_SIZEOF(struct in_addr, ,
836 #ifdef HAVE_WINDOWS_H
837 #ifndef WIN32_LEAN_AND_MEAN
838 #define WIN32_LEAN_AND_MEAN
841 #ifdef HAVE_WINSOCK2_H
842 #include <winsock2.h>
843 #ifdef HAVE_WS2TCPIP_H
844 #include <ws2tcpip.h>
848 #ifdef HAVE_SYS_TYPES_H
849 #include <sys/types.h>
851 #ifdef HAVE_SYS_SOCKET_H
852 #include <sys/socket.h>
854 #ifdef HAVE_NETINET_IN_H
855 #include <netinet/in.h>
862 dnl Check if the getnameinfo function is available
863 dnl and get the types of five of its arguments.
864 CURL_CHECK_FUNC_GETNAMEINFO
868 [AC_DEFINE(ARES_BIG_ENDIAN, 1,
869 [define this if ares is built for a big endian system])],
871 [AC_MSG_WARN([couldn't figure out endianess, assuming little endian!])]
874 dnl Check for user-specified random device
876 AC_HELP_STRING([--with-random=FILE],
877 [read randomness from FILE (default=/dev/urandom)]),
878 [ RANDOM_FILE="$withval" ],
880 dnl Check for random device. If we're cross compiling, we can't
881 dnl check, and it's better to assume it doesn't exist than it is
882 dnl to fail on AC_CHECK_FILE or later.
883 if test "$cross_compiling" = "no"; then
884 AC_CHECK_FILE("/dev/urandom", [ RANDOM_FILE="/dev/urandom"] )
886 AC_MSG_WARN([cannot check for /dev/urandom while cross compiling; assuming none])
891 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
892 AC_SUBST(RANDOM_FILE)
893 AC_DEFINE_UNQUOTED(RANDOM_FILE, "$RANDOM_FILE",
894 [a suitable file/device to read random data from])
897 CARES_CHECK_OPTION_NONBLOCKING
898 CARES_CHECK_NONBLOCKING_SOCKET
900 CARES_CONFIGURE_HIDDEN_SYMBOLS
902 CARES_PRIVATE_LIBS="$LIBS"
903 AC_SUBST(CARES_PRIVATE_LIBS)
905 dnl squeeze whitespace out of some variables
913 squeeze CARES_PRIVATE_LIBS
915 AC_CONFIG_FILES([Makefile libcares.pc])