2 |
# This file is part of Autoconf. |
# This file is part of Autoconf. |
3 |
# M4 sugar for common shell constructs. |
# M4 sugar for common shell constructs. |
4 |
# Requires GNU M4 and M4sugar. |
# Requires GNU M4 and M4sugar. |
5 |
# Copyright 2000, 2001 Free Software Foundation, Inc. |
# Copyright (C) 2000, 2001 Free Software Foundation, Inc. |
6 |
# |
# |
7 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
8 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
151 |
set -o posix |
set -o posix |
152 |
fi |
fi |
153 |
|
|
154 |
|
# NLS nuisances. |
155 |
|
_AS_UNSET_PREPARE |
156 |
|
m4_foreach([_AS_var], |
157 |
|
[LANG, LC_ALL, LC_TIME, LC_CTYPE, LANGUAGE, |
158 |
|
LC_COLLATE, LC_NUMERIC, LC_MESSAGES], |
159 |
|
[(set +x; test -n "`(_AS_var=C; export _AS_var) 2>&1`") && |
160 |
|
{ $as_unset _AS_var || test "${_AS_var+set}" != set; } || |
161 |
|
{ _AS_var=C; export _AS_var; } |
162 |
|
]) |
163 |
|
|
164 |
# Name of the executable. |
# Name of the executable. |
165 |
as_me=`AS_BASENAME("$[0]")` |
as_me=`AS_BASENAME("$[0]")` |
166 |
|
|
175 |
_AS_TEST_PREPARE |
_AS_TEST_PREPARE |
176 |
_AS_TR_CPP_PREPARE |
_AS_TR_CPP_PREPARE |
177 |
_AS_TR_SH_PREPARE |
_AS_TR_SH_PREPARE |
|
_AS_UNSET_PREPARE |
|
|
|
|
|
# NLS nuisances. |
|
|
AS_UNSET([LANG], [C]) |
|
|
AS_UNSET([LC_ALL], [C]) |
|
|
AS_UNSET([LC_TIME], [C]) |
|
|
AS_UNSET([LC_CTYPE], [C]) |
|
|
AS_UNSET([LANGUAGE], [C]) |
|
|
AS_UNSET([LC_COLLATE], [C]) |
|
|
AS_UNSET([LC_NUMERIC], [C]) |
|
|
AS_UNSET([LC_MESSAGES], [C]) |
|
178 |
|
|
179 |
# IFS |
# IFS |
180 |
# We need space, tab and new line, in precisely that order. |
# We need space, tab and new line, in precisely that order. |