[cpp-sp] 01/04: Fix quoting for Autoconf 2.63

Scott Cantor cantor.2 at osu.edu
Thu Dec 20 19:42:17 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to annotated tag debian/2.1.dfsg1-2
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=db1873ab79e682ed3a85f2e9f6cf97837c760d4b

commit db1873ab79e682ed3a85f2e9f6cf97837c760d4b
Author: Russ Allbery <rra at debian.org>
AuthorDate: Tue Mar 3 14:24:41 2009 -0800

    Fix quoting for Autoconf 2.63
    
    Autoconf 2.63 didn't like the way variables were formed inside the
    doxygen.m4 macros.  Redo the quoting in a way that appears to work
    for Autoconf 2.63 and hopefully doesn't break anything.
---
 doxygen.m4 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doxygen.m4 b/doxygen.m4
index e4688de..dd1b080 100644
--- a/doxygen.m4
+++ b/doxygen.m4
@@ -76,9 +76,9 @@ AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEATURE_$1, ON, [$2], [$3])])
 # Require the specified program to be found for the DX_CURRENT_FEATURE to work.
 AC_DEFUN([DX_REQUIRE_PROG], [
 AC_PATH_TOOL([$1], [$2])
-if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
+if test "$[DX_FLAG_]DX_CURRENT_FEATURE$$1" = 1; then
     AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
-    AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
+    AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
 fi
 ])
 
@@ -101,7 +101,7 @@ test "$DX_FLAG_$1" = "$2" \
 # ----------------------------------------------------------
 # Turn off the DX_CURRENT_FEATURE if the required feature is off.
 AC_DEFUN([DX_CLEAR_DEPEND], [
-test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
+test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
 ])
 
 # DX_FEATURE_ARG(FEATURE, DESCRIPTION,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list