From 5a6755afcb50c29c04d2f605f885e69784d9d6cc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 1 Feb 2006 08:40:45 +0000 Subject: [PATCH] * tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that "$CC -E" works; it apparently doesn't work with PathScale EKO Compiler Suite Version 2.0. --- ChangeLog | 7 +++++++ tests/headers.at | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0721a932..2455a78a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-02-01 Paul Eggert + + * tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that "$CC + -E" works; it apparently doesn't work with PathScale EKO Compiler + Suite Version 2.0, according to the Nelson H. F. Beebe tests summarized in + . + 2006-01-30 Joel E. Denny During deterministic GLR operation, user actions should be able to diff --git a/tests/headers.at b/tests/headers.at index 1a827a4c..f7ccb77b 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -1,5 +1,5 @@ # Bison Parser Headers. -*- Autotest -*- -# Copyright 2001 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2006 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 @@ -67,8 +67,7 @@ dummy:; AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y]) -# CPP should be happy with it. -AT_CHECK([$CC -E -I. y.tab.c], 0, [ignore]) +AT_COMPILE([y.tab.o], [-c y.tab.c]) AT_CLEANUP ]) -- 2.45.2