Port to AIX 7.2 ksh93
[autoconf.git] / tests / atlocal.in
blob4e13b38c4f2766558d48f12322d92565618407a6
1 # -*- shell-script -*-
2 # @configure_input@
3 # Configurable variable values for Autoconf test suite.
5 # Copyright (C) 2000-2001, 2005, 2008-2017, 2020-2024 Free Software
6 # Foundation, Inc.
8 # This program is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
21 AWK='@AWK@'
22 EGREP='@EGREP@'
23 GREP='@GREP@'
24 M4='@M4@'
25 PERL='@PERL@'
26 SED='@SED@'
28 # We need to know if sh -n is ok.
29 SHELL_N='@SHELL_N@'
31 # Check whether the underlying system can manage some unusual
32 # symbols in file names.
33 if test -z '@ac_cv_unsupported_fs_chars@'; then
34   func_sanitize_file_name () { echo "$@"; }
35 else
36   func_sanitize_file_name () { echo "$@" | tr -d '@ac_cv_unsupported_fs_chars@'; }
39 # Can we create directories with trailing whitespace in their names?
40 ac_cv_dir_trailing_space='@ac_cv_dir_trailing_space@'
41 if test "$ac_cv_dir_trailing_space" = yes; then
42   func_sanitize_dir_name () { echo "$@"; }
43 else
44   func_sanitize_dir_name () { echo "$@" | sed 's/  *$//'; }
47 # AUTOM4TE might be set in the environment.  Override it here so that
48 # direct aclocal invocations also use it.
49 AUTOM4TE=autom4te
50 export AUTOM4TE