From d10c9d4107b846423c56bf2ed1293689e00f4c5d Mon Sep 17 00:00:00 2001 From: Christopher Blizzard Date: Sat, 27 Jun 1998 14:36:13 +0000 Subject: Use egcs if it's available. The gcc that ships with RedHat 5.1 doesn't do 1998-06-27 Christopher Blizzard * gnome-objc-checks.m4: Use egcs if it's available. The gcc that ships with RedHat 5.1 doesn't do objc, egcs does. svn path=/trunk/; revision=270 --- macros/ChangeLog | 5 +++++ macros/gnome-objc-checks.m4 | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/ChangeLog b/macros/ChangeLog index 917dc5358e..bb170879e6 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +1998-06-27 Christopher Blizzard + + * gnome-objc-checks.m4: Use egcs if it's available. The gcc that + ships with RedHat 5.1 doesn't do objc, egcs does. + Fri Jun 26 14:36:08 1998 Scott D. Heavner * curses.m4 (AC_CHECK_CURSES): New check. mangled out of mc's diff --git a/macros/gnome-objc-checks.m4 b/macros/gnome-objc-checks.m4 index 3691bc5dc0..45338d3f70 100644 --- a/macros/gnome-objc-checks.m4 +++ b/macros/gnome-objc-checks.m4 @@ -2,7 +2,10 @@ AC_DEFUN([GNOME_CHECK_OBJC], [ dnl Look for an ObjC compiler. dnl FIXME: extend list of possible names of ObjC compilers. - AC_CHECK_PROGS(OBJC, $OBJC gcc, "") + AC_CHECK_PROGS(OBJC, $OBJC egcs, "") + if test "x$OBJC" = "x" ; then + AC_CHECK_PROGS(OBJC, $OBJC gcc, "") + fi AC_REQUIRE([GNOME_PTHREAD_CHECK]) -- cgit v1.2.3