Use egcs if it's available. The gcc that ships with RedHat 5.1 doesn't do

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.

svn path=/trunk/; revision=270
This commit is contained in:
Christopher Blizzard
1998-06-27 14:36:13 +00:00
committed by Christopher Blizzard
parent 43b994914e
commit d10c9d4107
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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])