lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | AC_PREREQ(2.57) |
| 2 | AC_INIT([c-ares-test],[-],[-]) |
| 3 | AC_CONFIG_SRCDIR([ares-test.cc]) |
| 4 | AC_CONFIG_MACRO_DIR([../m4]) |
| 5 | |
| 6 | AM_INIT_AUTOMAKE([no-define]) |
| 7 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 8 | |
| 9 | dnl Checks for programs. |
| 10 | AC_PROG_CXX |
| 11 | AX_CXX_COMPILE_STDCXX_11([noext],[mandatory]) |
| 12 | LT_INIT |
| 13 | AC_SUBST(LIBTOOL_DEPS) |
| 14 | AX_PTHREAD |
| 15 | AX_CODE_COVERAGE |
| 16 | AX_CHECK_USER_NAMESPACE |
| 17 | AX_CHECK_UTS_NAMESPACE |
| 18 | |
| 19 | AC_CHECK_HEADERS(netdb.h netinet/tcp.h) |
| 20 | AC_CONFIG_HEADERS([config.h]) |
| 21 | AC_CONFIG_FILES([Makefile]) |
| 22 | AC_OUTPUT |