summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-10-19 04:13:12 +0000
committerYang Tse <yangsita@gmail.com>2009-10-19 04:13:12 +0000
commit6c48e1ff36b8df9778544a84159bbcf5b5aba025 (patch)
tree8fc308c6a551434dd512080deb3bcd2cc47c963f /m4
parent7472bed472f97f6ad64a2043653a97b759ae7056 (diff)
downloadc-ares-6c48e1ff36b8df9778544a84159bbcf5b5aba025.tar.gz
c-ares-6c48e1ff36b8df9778544a84159bbcf5b5aba025.tar.bz2
c-ares-6c48e1ff36b8df9778544a84159bbcf5b5aba025.zip
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
is only expanded and included once in the configure script.
Diffstat (limited to 'm4')
-rw-r--r--m4/cares-system.m413
1 files changed, 11 insertions, 2 deletions
diff --git a/m4/cares-system.m4 b/m4/cares-system.m4
index 39b3c85..f0adc89 100644
--- a/m4/cares-system.m4
+++ b/m4/cares-system.m4
@@ -1,7 +1,7 @@
#***************************************************************************
# $Id$
#
-# Copyright (C) 2008 by Daniel Stenberg et al
+# Copyright (C) 2008 - 2009 by Daniel Stenberg et al
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted, provided
@@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 2
+# serial 3
dnl CARES_CHECK_PATH_SEPARATOR
@@ -72,3 +72,12 @@ AC_DEFUN([CARES_CHECK_PATH_SEPARATOR], [
])
+dnl CARES_CHECK_PATH_SEPARATOR_REQUIRED
+dnl -------------------------------------------------
+dnl Use this to ensure that the path separator check
+dnl macro is only expanded and included once.
+
+AC_DEFUN([CARES_CHECK_PATH_SEPARATOR_REQUIRED], [
+ AC_REQUIRE([CARES_CHECK_PATH_SEPARATOR])dnl
+])
+