[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib-tool: small output tweak
From: |
Bruno Haible |
Subject: |
gnulib-tool: small output tweak |
Date: |
Thu, 25 Aug 2005 13:53:55 +0200 |
User-agent: |
KMail/1.5 |
Alexandre Duret-Lutz recommends that all autoconf macro invocations should
quote their arguments. This patch does it in gnulib-tool.
* gnulib-tool (func_import, func_create_testdir,
func_create_megatestdir): Quote all autoconf macro arguments.
*** gnulib-tool.bak 2005-08-16 13:12:02.000000000 +0200
--- gnulib-tool 2005-08-25 00:56:16.000000000 +0200
***************
*** 711,735 ****
echo 'changequote(,)dnl'
echo 'LTALLOCA=`echo "$ALLOCA" | sed '"'"'s/\.[^.]* /.lo
/g;s/\.[^.]*$/.lo/'"'"'`'
echo 'changequote([, ])dnl'
! echo 'AC_SUBST(LTALLOCA)'
fi
fi
done
echo "])"
echo
! echo "dnl Usage: gl_MODULES(module1 module2 ...)"
echo "AC_DEFUN([gl_MODULES], [])"
echo
! echo "dnl Usage: gl_AVOID(module1 module2 ...)"
echo "AC_DEFUN([gl_AVOID], [])"
echo
! echo "dnl Usage: gl_SOURCE_BASE(DIR)"
echo "AC_DEFUN([gl_SOURCE_BASE], [])"
echo
! echo "dnl Usage: gl_M4_BASE(DIR)"
echo "AC_DEFUN([gl_M4_BASE], [])"
echo
! echo "dnl Usage: gl_LIB(LIBNAME)"
echo "AC_DEFUN([gl_LIB], [])"
echo
echo "dnl Usage: gl_LGPL"
--- 712,736 ----
echo 'changequote(,)dnl'
echo 'LTALLOCA=`echo "$ALLOCA" | sed '"'"'s/\.[^.]* /.lo
/g;s/\.[^.]*$/.lo/'"'"'`'
echo 'changequote([, ])dnl'
! echo 'AC_SUBST([LTALLOCA])'
fi
fi
done
echo "])"
echo
! echo "dnl Usage: gl_MODULES([module1 module2 ...])"
echo "AC_DEFUN([gl_MODULES], [])"
echo
! echo "dnl Usage: gl_AVOID([module1 module2 ...])"
echo "AC_DEFUN([gl_AVOID], [])"
echo
! echo "dnl Usage: gl_SOURCE_BASE([DIR])"
echo "AC_DEFUN([gl_SOURCE_BASE], [])"
echo
! echo "dnl Usage: gl_M4_BASE([DIR])"
echo "AC_DEFUN([gl_M4_BASE], [])"
echo
! echo "dnl Usage: gl_LIB([LIBNAME])"
echo "AC_DEFUN([gl_LIB], [])"
echo
echo "dnl Usage: gl_LGPL"
***************
*** 830,839 ****
# Create configure.ac.
(echo "# Process this file with autoconf to produce a configure script."
! echo "AC_INIT(dummy,0)"
echo "AM_INIT_AUTOMAKE"
echo
! echo "AM_CONFIG_HEADER(config.h)"
echo
echo "AC_PROG_CC"
echo "AC_PROG_INSTALL"
--- 830,839 ----
# Create configure.ac.
(echo "# Process this file with autoconf to produce a configure script."
! echo "AC_INIT([dummy], [0])"
echo "AM_INIT_AUTOMAKE"
echo
! echo "AM_CONFIG_HEADER([config.h])"
echo
echo "AC_PROG_CC"
echo "AC_PROG_INSTALL"
***************
*** 912,918 ****
# Create configure.ac.
(echo "# Process this file with autoconf to produce a configure script."
! echo "AC_INIT(dummy,0)"
echo "AM_INIT_AUTOMAKE"
echo
echo "AC_PROG_MAKE_SET"
--- 912,918 ----
# Create configure.ac.
(echo "# Process this file with autoconf to produce a configure script."
! echo "AC_INIT([dummy], [0])"
echo "AM_INIT_AUTOMAKE"
echo
echo "AC_PROG_MAKE_SET"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnulib-tool: small output tweak,
Bruno Haible <=