summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-26 14:45:16 +0000
committerYang Tse <yangsita@gmail.com>2008-07-26 14:45:16 +0000
commitfd2d11e6b3d83a31858014e6f868478306c7dc08 (patch)
tree40f079f7100bbb7ef86d0488e02f115f90ec44c8 /configure.ac
parent839f18584d26d174fb980f69b0732aa47a569281 (diff)
downloadc-ares-fd2d11e6b3d83a31858014e6f868478306c7dc08.tar.gz
c-ares-fd2d11e6b3d83a31858014e6f868478306c7dc08.tar.bz2
c-ares-fd2d11e6b3d83a31858014e6f868478306c7dc08.zip
Explicitly include our m4 files first. This might minimize the impact
that other package's underquoted m4 function definitions have on ours.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 705fa27..783116e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,13 @@
AC_PREREQ(2.57)
+dnl Explicitly include our m4 files first. Without these explicit inclusions
+dnl aclocal will actually find and include them automatically, but before it
+dnl does it might fully scan all other system installed m4 files. Doing this
+dnl explicit inclusion also allows us to override definitions of macros done
+dnl elsewhere in other packages with the ones done in our included files.
+m4_include([m4/reentrant.m4])
+m4_include([acinclude.m4])
+
dnl Version not hardcoded here. Fetched later from ares_version.h
AC_INIT([c-ares], [-],
[c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares])