Use *_CHECK_PATH_SEPARATOR_REQUIRED to ensure that *_CHECK_PATH_SEPARATOR

is only expanded and included once in the configure script.
This commit is contained in:
Yang Tse 2009-10-19 04:13:12 +00:00
parent 04e8ff84fe
commit f49427d364
4 changed files with 25 additions and 6 deletions

View file

@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, 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
])