xref: /netbsd-src/external/gpl3/autoconf/dist/tests/atlocal.in (revision d874e91932377fc40d53f102e48fc3ee6f4fe9de)
1# -*- shell-script -*-
2# @configure_input@
3# Configurable variable values for Autoconf test suite.
4
5# Copyright (C) 2000-2001, 2005, 2008-2012 Free Software Foundation,
6# Inc.
7#
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.
12#
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.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
21PERL='@PERL@'
22GREP='@GREP@'
23EGREP='@EGREP@'
24SED='@SED@'
25
26# We need to know if sh -n is ok.
27ac_cv_sh_n_works='@ac_cv_sh_n_works@'
28
29# Check whether the underlying system can manage some unusual
30# symbols in file names.
31if test -z '@ac_cv_unsupported_fs_chars@'; then
32  func_sanitize_file_name () { echo "$@"; }
33else
34  func_sanitize_file_name () { echo "$@" | tr -d '@ac_cv_unsupported_fs_chars@'; }
35fi
36
37# Can we create directories with trailing whitespace in their names?
38ac_cv_dir_trailing_space='@ac_cv_dir_trailing_space@'
39if test "$ac_cv_dir_trailing_space" = yes; then
40  func_sanitize_dir_name () { echo "$@"; }
41else
42  func_sanitize_dir_name () { echo "$@" | sed 's/  *$//'; }
43fi
44
45# AUTOM4TE might be set in the environment.  Override it here so that
46# direct aclocal invocations also use it.
47AUTOM4TE=autom4te
48export AUTOM4TE
49