diff options
author | Christopher Blizzard <blizzard@foo.appliedtheory.com> | 1998-06-27 22:36:13 +0800 |
---|---|---|
committer | Christopher Blizzard <blizzard@src.gnome.org> | 1998-06-27 22:36:13 +0800 |
commit | d10c9d4107b846423c56bf2ed1293689e00f4c5d (patch) | |
tree | d391b18e82a3a95a06d54078d8de5d54651b86eb /macros/gnome-objc-checks.m4 | |
parent | 43b994914e5b6c18f9ed6afbe64ed1f05e975fc1 (diff) | |
download | gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.gz gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.zst gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.zip |
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
Diffstat (limited to 'macros/gnome-objc-checks.m4')
-rw-r--r-- | macros/gnome-objc-checks.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
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]) |