changeset 6418:e0a8b9b05999

Proper autoconf macro argument quoting.
author Bruno Haible <bruno@clisp.org>
date Fri, 21 Oct 2005 15:05:31 +0000
parents 764fd03c3ff9
children 0f85e93091df
files ChangeLog gnulib-tool
diffstat 2 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
+2005-10-21  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_import, func_create_testdir): Add quoting to last
+	patch.
+
 2005-10-21  Simon Josefsson  <jas@extundo.com>
 
-	* gnulib-tool: Define automake conditional GL_COND_LIBTOOL if
-	libtool is used (to be used by modules Makefile.am snippet),
+	* gnulib-tool (func_import, func_create_testdir): Define automake
+	conditional GL_COND_LIBTOOL if libtool is used (to be used by modules
+	Makefile.am snippet),
 	suggested by Bruno Haible <bruno@clisp.org>.
 
 	* modules/gc (Makefile.am): Use it.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2005-10-21 13:14:35 $'
+cvsdatestamp='$Date: 2005-10-21 15:05:31 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1227,9 +1227,9 @@
     echo "AC_DEFUN([${macro_prefix}_INIT],"
     echo "["
     if test -z "$libtool"; then
-      echo "AM_CONDITIONAL(GL_COND_LIBTOOL, false)"
+      echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [false])"
     else
-      echo "AM_CONDITIONAL(GL_COND_LIBTOOL, true)"
+      echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [true])"
     fi
     for module in $modules; do
       func_verify_module
@@ -1432,9 +1432,9 @@
        echo
      fi
      if test -z "$libtool"; then
-       echo "AM_CONDITIONAL(GL_COND_LIBTOOL, false)"
+       echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [false])"
      else
-       echo "AM_CONDITIONAL(GL_COND_LIBTOOL, true)"
+       echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [true])"
      fi
      # We don't have explicit ordering constraints between the various
      # autoconf snippets. It's cleanest to put those of the library before
@@ -1496,9 +1496,9 @@
      echo
    fi
    if test -z "$libtool"; then
-     echo "AM_CONDITIONAL(GL_COND_LIBTOOL, false)"
+     echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [false])"
    else
-     echo "AM_CONDITIONAL(GL_COND_LIBTOOL, true)"
+     echo "AM_CONDITIONAL([GL_COND_LIBTOOL], [true])"
    fi
    for module in $modules; do
      func_verify_nontests_module