1 |
# This file is part of Autoconf. -*- Autoconf -*- |
# This file is part of Autoconf. -*- Autoconf -*- |
2 |
# M4 macros used in building test suites. |
# M4 macros used in building test suites. |
3 |
# Copyright 2000, 2001 Free Software Foundation, Inc. |
# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. |
4 |
|
|
5 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
6 |
# 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 |
101 |
SHELL=${CONFIG_SHELL-/bin/sh} |
SHELL=${CONFIG_SHELL-/bin/sh} |
102 |
|
|
103 |
# How were we run? |
# How were we run? |
104 |
at_cli_args=${1+"$[@]"} |
at_cli_args="$[@]" |
105 |
|
|
106 |
# Load the config file. |
# Load the config file. |
107 |
for at_file in atconfig atlocal |
for at_file in atconfig atlocal |
569 |
# Create the debugging script. |
# Create the debugging script. |
570 |
{ |
{ |
571 |
echo "#! /bin/sh" |
echo "#! /bin/sh" |
572 |
|
echo '${ZSH_VERSION-:} alias -g '\''${1+"$@"}'\''='\''"$@"'\''' |
573 |
echo "cd $at_dir" |
echo "cd $at_dir" |
574 |
echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \ |
echo 'exec ${CONFIG_SHELL-'"$SHELL"'}' "$[0]" \ |
575 |
'-v -d' "$at_debug_args" "$at_group" '${1+"$[@]"}' |
'-v -d' "$at_debug_args" "$at_group" '${1+"$[@]"}' |