2001-08-21 00:32:55 +08:00
|
|
|
# -*- shell-script -*-
|
|
|
|
# @configure_input@
|
* configure.ac: Also find tested executables in bin.
* bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
* bin/autoscan.in, autoupdate.in: Use exclusively the name of the
installed peer executables, only PATH is allowed to resolve it.
Pass `autoconf_dir' via options, not via invisible envvars.
* lib/Autom4te/General.pm (&find_peer): Remove.
* lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
`abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
* man/Makefile.am: Let help2man rely on PATH instead of trying to
find the executables for it.
* tests/Makefile.am: Major cleanup. Too lazy to document...
* tests/atlocal.in: Remove all the obscure envvar manipulations.
We only need PERL.
* tests/atspecific.m4, tests/tools.at: Passing --localdir is
indeed related to running the test suite, while passing
--autoconf-dir and others is related to running non installed
Autoconf executables. So don't do that, leave it to...
* tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
* tests/autoscan: New.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
refer to library files: rely on --language.
2001-08-31 21:30:11 +08:00
|
|
|
# Configurable variable values for Autoconf test suite.
|
2001-08-21 00:32:55 +08:00
|
|
|
|
2008-03-05 06:02:22 +08:00
|
|
|
# Copyright (C) 2000, 2001, 2005, 2008 Free Software Foundation, Inc.
|
2005-02-05 13:45:14 +08:00
|
|
|
#
|
2007-07-21 07:11:49 +08:00
|
|
|
# This program is free software: you can redistribute it and/or modify
|
2005-02-05 13:45:14 +08:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2008-04-04 23:09:47 +08:00
|
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
2005-02-05 13:45:14 +08:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2008-04-04 23:09:47 +08:00
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
# 02110-1301, USA.
|
2005-02-05 13:45:14 +08:00
|
|
|
|
2001-08-21 00:32:55 +08:00
|
|
|
PERL='@PERL@'
|
2005-02-05 13:45:14 +08:00
|
|
|
GREP='@GREP@'
|
2005-06-22 20:13:59 +08:00
|
|
|
EGREP='@EGREP@'
|
|
|
|
SED='@SED@'
|
2003-12-25 23:49:59 +08:00
|
|
|
|
|
|
|
# We need to know if sh -n is ok.
|
|
|
|
ac_cv_sh_n_works='@ac_cv_sh_n_works@'
|
2007-12-18 20:54:08 +08:00
|
|
|
|
|
|
|
# Check whether the underlying system can manage some unusual
|
|
|
|
# symbols in file names.
|
|
|
|
unsupported_fs_chars=
|
|
|
|
for c in '\\' '"' '<' '>' '*' '?' '|'
|
|
|
|
do
|
2008-03-05 06:02:22 +08:00
|
|
|
touch "t${c}t" 2>/dev/null
|
|
|
|
test -f "t${c}t" && rm -f "t${c}t" && continue
|
2007-12-18 20:54:08 +08:00
|
|
|
# $c cannot be used in a file name.
|
|
|
|
unsupported_fs_chars=$unsupported_fs_chars$c
|
|
|
|
done
|
|
|
|
if test -z "$unsupported_fs_chars"; then
|
|
|
|
func_sanitize_file_name () { echo "$@"; }
|
|
|
|
else
|
|
|
|
func_sanitize_file_name () { echo "$@" | tr -d "$unsupported_fs_chars"; }
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Can we create directories with trailing whitespaces in their name?
|
2008-05-14 03:40:55 +08:00
|
|
|
rm -rf 'tdir ' && mkdir 'tdir ' && touch 'tdir /tfile' 2>/dev/null
|
|
|
|
a=$?
|
|
|
|
rm -rf 'tdir '
|
|
|
|
case $a$? in #(
|
|
|
|
00)
|
|
|
|
func_sanitize_dir_name () { echo "$@"; } ;; #(
|
|
|
|
*)
|
|
|
|
func_sanitize_dir_name () { echo "$@" | sed 's/ *$//'; } ;;
|
|
|
|
esac
|