/[autoconf]/autoconf/lib/m4sugar/m4sh.m4
ViewVC logotype

Diff of /autoconf/lib/m4sugar/m4sh.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.69 by eggert, Wed Oct 31 20:07:48 2001 UTC revision 1.70 by eggert, Thu Nov 1 19:44:57 2001 UTC
# Line 2  changequote()changequote([, ])include(m4 Line 2  changequote()changequote([, ])include(m4
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
# Line 151  elif test -n "${BASH_VERSION+set}" && (s Line 151  elif test -n "${BASH_VERSION+set}" && (s
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    
# Line 165  _AS_LN_S_PREPARE Line 175  _AS_LN_S_PREPARE
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.

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26