diff options
Diffstat (limited to 'tests/ansi3.test')
-rwxr-xr-x | tests/ansi3.test | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/tests/ansi3.test b/tests/ansi3.test index ba05d719e..4aca8a250 100755 --- a/tests/ansi3.test +++ b/tests/ansi3.test @@ -15,10 +15,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# Actual test of ansi2knr functionality. Relies on existence -# of working gcc. +# Actual test of ansi2knr functionality. -required=gcc +required='cc native' . ./defs || Exit 1 cat >> configure.in << 'END' @@ -42,17 +41,11 @@ main (int argc, char *argv[]) } END -# Ignore user CFLAGS. -CFLAGS= -export CFLAGS - -# We use gcc and not gcc -traditional as the latter fails on some -# Linux boxes (Red Hat 5.1 in particular). $ACLOCAL $AUTOCONF $AUTOMAKE -a 2>stderr || { cat stderr >&2; Exit 1; } cat stderr >&2 grep 'Makefile.am:1:.*ansi2knr\.c' stderr -CC='gcc' ./configure +./configure ANSI2KNR=./ansi2knr U=_ $MAKE -e ./hello |