mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-06 10:25:53 +08:00
3cb00cdb8b
* lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4, * lib/autoconf/c.m4, lib/autoconf/fortran.m4, * lib/autoconf/general.m4, lib/autoconf/headers.m4, * lib/autoconf/lang.m4, lib/autoconf/libs.m4, * lib/autoconf/programs.m4, lib/autoconf/specific.m4, * lib/autoconf/status.m4, lib/autoconf/types.m4, * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4, * tests/atspecific.m4, tests/base.at, tests/compile.at, * tests/foreign.at, tests/m4sh.at, tests/semantics.at, * tests/tools.at, tests/torture.at: Whitespace clean up. Suggested by Jim Meyering.
94 lines
2.2 KiB
Bash
Executable File
94 lines
2.2 KiB
Bash
Executable File
#! /bin/sh
|
|
## --------------------- ##
|
|
## M4sh Initialization. ##
|
|
## --------------------- ##
|
|
|
|
# Be Bourne compatible
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
emulate sh
|
|
NULLCMD=:
|
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
# is contrary to our usage. Disable this feature.
|
|
alias -g '${1+"$@"}'='"$@"'
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
set -o posix
|
|
fi
|
|
|
|
# Support unset when possible.
|
|
if (as_foo=foo; unset as_foo) >/dev/null 2>&1; then
|
|
as_unset=unset
|
|
else
|
|
as_unset=false
|
|
fi
|
|
|
|
|
|
# Work around bugs in pre-3.0 UWIN ksh.
|
|
$as_unset ENV MAIL MAILPATH
|
|
PS1='$ '
|
|
PS2='> '
|
|
PS4='+ '
|
|
|
|
# NLS nuisances.
|
|
for as_var in \
|
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
LC_TELEPHONE LC_TIME
|
|
do
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
eval $as_var=C; export $as_var
|
|
else
|
|
$as_unset $as_var
|
|
fi
|
|
done
|
|
|
|
# Required to use basename.
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
as_expr=expr
|
|
else
|
|
as_expr=false
|
|
fi
|
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|
as_basename=basename
|
|
else
|
|
as_basename=false
|
|
fi
|
|
|
|
|
|
# Name of the executable.
|
|
as_me=`$as_basename "$0" ||
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
X"$0" : 'X\(//\)$' \| \
|
|
X"$0" : 'X\(/\)$' \| \
|
|
. : '\(.\)' 2>/dev/null ||
|
|
echo X/"$0" |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
|
s/.*/./; q'`
|
|
|
|
|
|
# @configure_input@
|
|
# Running `$0' as if it were installed.
|
|
|
|
AUTOCONF=@abs_top_builddir@/bin/autoconf
|
|
AUTOHEADER=@abs_top_builddir@/bin/autoheader
|
|
AUTOM4TE=@abs_top_builddir@/bin/autom4te
|
|
AUTOM4TE_CFG=@abs_top_builddir@/lib/autom4te.cfg
|
|
autom4te_perllibdir=@abs_top_srcdir@/lib
|
|
export AUTOCONF AUTOHEADER AUTOM4TE AUTOM4TE_CFG autom4te_perllibdir
|
|
|
|
case $as_me in
|
|
ifnames)
|
|
# Does not have lib files.
|
|
exec @abs_top_builddir@/bin/$as_me ${1+"$@"}
|
|
;;
|
|
*)
|
|
# We might need files from the build tree (frozen files), in
|
|
# addition of src files.
|
|
exec @abs_top_builddir@/bin/$as_me \
|
|
-B @abs_top_builddir@/lib \
|
|
-B @abs_top_srcdir@/lib ${1+"$@"}
|
|
esac
|
|
exit 1
|