diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/ChangeLog | 5 | ||||
-rw-r--r-- | macros/gnome-objc-checks.m4 | 5 |
2 files changed, 9 insertions, 1 deletions
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 <blizzard@foo.appliedtheory.com> + + * 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 <sdh@po.cwru.edu> * 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]) |