diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2002-04-19 19:07:49 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2002-04-19 19:07:49 +0000 |
commit | a4a5fae257b8eae9b0c68e780785031a6a444c51 (patch) | |
tree | 1562ea31fe49f5eb13d1385ddf50352cadcd9dad /tests/c.at | |
parent | adef0cf29a73733dd538f0ad943512c28351fd1d (diff) | |
download | autoconf-a4a5fae257b8eae9b0c68e780785031a6a444c51.tar.gz |
We can't have zero arguments, so remove "$@" workarounds that are not
portable to Zsh.
Diffstat (limited to 'tests/c.at')
-rw-r--r-- | tests/c.at | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ AT_BANNER([C low level compiling/preprocessing macros.]) -# Copyright 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -113,7 +113,7 @@ AT_SETUP([AC_PROG_CPP with warnings]) AT_DATA([mycpp], [[#! /bin/sh echo noise >&2 -exec ${1+"$@"} +exec "$@" ]]) chmod +x mycpp @@ -146,7 +146,7 @@ AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore]) # A cpp which exit status is meaningless. AT_DATA([mycpp], [[#! /bin/sh -/lib/cpp ${1+"$@"} +/lib/cpp "$@" exit 0 ]]) |