No need for foo="`bar`", foo=`bar` is fine.
Simplify ${foo} and ${1} into $foo and $1.
* acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Remove all the code and messages related to
AC_MACRODIR, since ifnames is not related to macros in anyway.
+1999-11-10 Akim Demaille <akim@epita.fr>
+
+ No need for foo="`bar`", foo=`bar` is fine.
+ Simplify ${foo} and ${1} into $foo and $1.
+
+ * acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
+ * acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
+ * autoconf.sh: Likewise.
+ * autoheader.sh: Likewise.
+ * autoreconf.sh: Likewise.
+ * autoupdate.sh: Likewise.
+ * ifnames.sh: Remove all the code and messages related to
+ AC_MACRODIR, since ifnames is not related to macros in anyway.
+
1999-11-10 Akim Demaille <akim@epita.fr>
New version of AC_INCLUDE, which does not glob, nor rely upon the
cat <<\EOF_SED >conftestsed
s,\\,\\\\,g; s,\$,$$,g
EOF_SED
- program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
+ program_transform_name=`echo $program_transform_name|sed -f conftestsed`
rm -f conftestsed
fi
test "$program_prefix" != NONE &&
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
-ac_LF_and_DOT="`echo; echo .`"
+ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -f $ac_cs_root.defs confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f $ac_cs_root.defs
])
else
AC_MSG_CHECKING(whether cc understands -c and -o together)
fi
-set dummy $CC; ac_cc="`echo [$]2 |
+set dummy $CC; ac_cc=`echo [$]2 |
changequote(, )dnl
- sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
+ sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`
changequote([, ])dnl
AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
[echo 'foo(){}' >conftest.c
AC_DEFUN(AC_PROG_F77_C_O,
[AC_BEFORE([$0], [AC_PROG_F77])dnl
AC_MSG_CHECKING(whether $F77 understand -c and -o together)
-set dummy $F77; ac_f77="`echo [$]2 |
+set dummy $F77; ac_f77=`echo [$]2 |
changequote(, )dnl
-sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
+sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`
changequote([, ])dnl
AC_CACHE_VAL(ac_cv_prog_f77_${ac_f77}_c_o,
[cat >conftest.f <<EOF
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
given.
+ -h, --help print this help, then exit
+ --version print version number, then exit
-d, --debug don't remove temporary files
-m, --macrodir=DIR directory storing macro files
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
-v, --verbose verbosely report processing
- -h, --help print this help, then exit
- --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
-ac_LF_and_DOT="`echo; echo .`"
+ac_LF_and_DOT=`echo; echo .`
localdir=.
debug=0
-d | --debug | --d* )
debug=1; shift ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m* )
shift
# Start each symbol with a blank (to match the blank after "#undef")
# to reduce the possibility of mistakenly matching another symbol that
# is a substring of it.
-syms="`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`"
+syms=`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$config_h" in
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
given.
+ -h, --help print this help, then exit
+ --version print version number, then exit
-d, --debug don't remove temporary files
-m, --macrodir=DIR directory storing macro files
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
-v, --verbose verbosely report processing
- -h, --help print this help, then exit
- --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
-ac_LF_and_DOT="`echo; echo .`"
+ac_LF_and_DOT=`echo; echo .`
localdir=.
debug=0
-d | --debug | --d* )
debug=1; shift ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m* )
shift
# Start each symbol with a blank (to match the blank after "#undef")
# to reduce the possibility of mistakenly matching another symbol that
# is a substring of it.
-syms="`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`"
+syms=`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$config_h" in
-h | --help | --h*)
echo "$usage"; exit 0 ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m*)
shift
-h | --help | --h*)
echo "$usage"; exit 0 ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m*)
shift
use. To this end, scan TEMPLATE-FILE, or \`configure.in' if none
given.
+ -h, --help print this help, then exit
+ --version print version number, then exit
-d, --debug don't remove temporary files
-m, --macrodir=DIR directory storing macro files
-l, --localdir=DIR directory storing \`aclocal.m4' and \`acconfig.h'
-v, --verbose verbosely report processing
- -h, --help print this help, then exit
- --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
-ac_LF_and_DOT="`echo; echo .`"
+ac_LF_and_DOT=`echo; echo .`
localdir=.
debug=0
-d | --debug | --d* )
debug=1; shift ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo \"${1}\" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m* )
shift
# Start each symbol with a blank (to match the blank after "#undef")
# to reduce the possibility of mistakenly matching another symbol that
# is a substring of it.
-syms="`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`"
+syms=`for sym in $syms; do echo $sym; done | sort | uniq | sed 's@^@ @'`
# Support "outfile[:infile]", defaulting infile="outfile.in".
case "$config_h" in
-h | --help | --h*)
echo "$usage"; exit 0 ;;
--localdir=* | --l*=* )
- localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`"
+ localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-l | --localdir | --l*)
shift
localdir="${1}"
shift ;;
--macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
+ AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
shift ;;
-m | --macrodir | --m*)
shift
\`#ifndef' directives. Print each identifier on a line, followed by a
space-separated list of the files in which that identifier occurs.
- -m, --macrodir=DIR directory storing macro files
-v, --verbose verbosely report processing
-h, --help print this help, then exit
- --version print version number, then exit
+ --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-: ${AC_MACRODIR=@datadir@}
-
while test $# -gt 0; do
case "$1" in
-h | --help | --h* )
echo "$usage"; exit 0 ;;
- --macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
- shift ;;
- -m | --macrodir | --m* )
- shift
- test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
- AC_MACRODIR="$1"
- shift ;;
--version | --versio | --versi | --vers)
echo "$version"; exit 0 ;;
--) # Stop option processing.
\`#ifndef' directives. Print each identifier on a line, followed by a
space-separated list of the files in which that identifier occurs.
- -m, --macrodir=DIR directory storing macro files
-v, --verbose verbosely report processing
-h, --help print this help, then exit
- --version print version number, then exit
+ --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-: ${AC_MACRODIR=@datadir@}
-
while test $# -gt 0; do
case "$1" in
-h | --help | --h* )
echo "$usage"; exit 0 ;;
- --macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
- shift ;;
- -m | --macrodir | --m* )
- shift
- test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
- AC_MACRODIR="$1"
- shift ;;
--version | --versio | --versi | --vers)
echo "$version"; exit 0 ;;
--) # Stop option processing.
\`#ifndef' directives. Print each identifier on a line, followed by a
space-separated list of the files in which that identifier occurs.
- -m, --macrodir=DIR directory storing macro files
-v, --verbose verbosely report processing
-h, --help print this help, then exit
- --version print version number, then exit
+ --version print version number, then exit
Report bugs to <bug-autoconf@gnu.org>."
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-: ${AC_MACRODIR=@datadir@}
-
while test $# -gt 0; do
case "$1" in
-h | --help | --h* )
echo "$usage"; exit 0 ;;
- --macrodir=* | --m*=* )
- AC_MACRODIR="`echo \"$1\" | sed -e 's/^[^=]*=//'`"
- shift ;;
- -m | --macrodir | --m* )
- shift
- test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
- AC_MACRODIR="$1"
- shift ;;
--version | --versio | --versi | --vers)
echo "$version"; exit 0 ;;
--) # Stop option processing.
cat <<\EOF_SED >conftestsed
s,\\,\\\\,g; s,\$,$$,g
EOF_SED
- program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
+ program_transform_name=`echo $program_transform_name|sed -f conftestsed`
rm -f conftestsed
fi
test "$program_prefix" != NONE &&
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
-ac_LF_and_DOT="`echo; echo .`"
+ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -f $ac_cs_root.defs confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f $ac_cs_root.defs
])
else
AC_MSG_CHECKING(whether cc understands -c and -o together)
fi
-set dummy $CC; ac_cc="`echo [$]2 |
+set dummy $CC; ac_cc=`echo [$]2 |
changequote(, )dnl
- sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
+ sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`
changequote([, ])dnl
AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
[echo 'foo(){}' >conftest.c
AC_DEFUN(AC_PROG_F77_C_O,
[AC_BEFORE([$0], [AC_PROG_F77])dnl
AC_MSG_CHECKING(whether $F77 understand -c and -o together)
-set dummy $F77; ac_f77="`echo [$]2 |
+set dummy $F77; ac_f77=`echo [$]2 |
changequote(, )dnl
-sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
+sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`
changequote([, ])dnl
AC_CACHE_VAL(ac_cv_prog_f77_${ac_f77}_c_o,
[cat >conftest.f <<EOF