summaryrefslogtreecommitdiff
path: root/test/configure.ac
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-11-09 11:18:45 +0900
committerYu Jiung <jiung.yu@samsung.com>2016-11-09 11:18:55 +0900
commiteb886f120599b2a184db20b527db6dfdfcb7852e (patch)
treeb49d8075742c4a27b237fa183cb68670e421d398 /test/configure.ac
parentb6627e2c19506bd30328969ea8aab73fa0945f36 (diff)
downloadc-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.tar.gz
c-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.tar.bz2
c-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.zip
Imported Upstream version 1.11.0upstream/1.11.0
Change-Id: I238c24b75a10aa902d9bc4076ed68b76b5e2a750
Diffstat (limited to 'test/configure.ac')
-rw-r--r--test/configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/configure.ac b/test/configure.ac
new file mode 100644
index 0000000..577ce5c
--- /dev/null
+++ b/test/configure.ac
@@ -0,0 +1,22 @@
+AC_PREREQ(2.57)
+AC_INIT([c-ares-test],[-],[-])
+AC_CONFIG_SRCDIR([ares-test.cc])
+AC_CONFIG_MACRO_DIR([../m4])
+
+AM_INIT_AUTOMAKE([no-define])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
+dnl Checks for programs.
+AC_PROG_CXX
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
+LT_INIT
+AC_SUBST(LIBTOOL_DEPS)
+AX_PTHREAD
+AX_CODE_COVERAGE
+AX_CHECK_USER_NAMESPACE
+AX_CHECK_UTS_NAMESPACE
+
+AC_CHECK_HEADERS(netdb.h netinet/tcp.h)
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT