aboutsummaryrefslogtreecommitdiff
path: root/ares
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
commitf49427d364f7ec3c8dce16a5e0b05afe65fcde2e (patch)
tree51af4b23c2130c700aa477c8af1506aad5bc7701 /ares
parent04e8ff84fe74c3fdb2d4077d6e302f8d0c82a456 (diff)
Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR
is only expanded and included once in the configure script.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac2
-rw-r--r--ares/m4/cares-system.m413
2 files changed, 12 insertions, 3 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 673f41796..65c251558 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -15,7 +15,7 @@ CARES_CHECK_OPTION_OPTIMIZE
CARES_CHECK_OPTION_WARNINGS
CARES_CHECK_OPTION_CURLDEBUG
-CARES_CHECK_PATH_SEPARATOR
+CARES_CHECK_PATH_SEPARATOR_REQUIRED
dnl SED is mandatory for configure process and libtool.
dnl Set it now, allowing it to be changed later.
diff --git a/ares/m4/cares-system.m4 b/ares/m4/cares-system.m4
index 39b3c859a..f0adc8975 100644
--- a/ares/m4/cares-system.m4
+++ b/ares/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
+])
+