From f49427d364f7ec3c8dce16a5e0b05afe65fcde2e Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 19 Oct 2009 04:13:12 +0000 Subject: Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR is only expanded and included once in the configure script. --- m4/curl-system.m4 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/curl-system.m4 b/m4/curl-system.m4 index 3f8bb19f9..dcefde91d 100644 --- a/m4/curl-system.m4 +++ b/m4/curl-system.m4 @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2008, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 2 +# serial 3 dnl CURL_CHECK_PATH_SEPARATOR @@ -77,3 +77,13 @@ AC_DEFUN([CURL_CHECK_PATH_SEPARATOR], [ AC_SUBST([PATH]) ]) + +dnl CURL_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([CURL_CHECK_PATH_SEPARATOR_REQUIRED], [ + AC_REQUIRE([CURL_CHECK_PATH_SEPARATOR])dnl +]) + -- cgit v1.2.3