aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Blizzard <blizzard@foo.appliedtheory.com>1998-06-27 22:36:13 +0800
committerChristopher Blizzard <blizzard@src.gnome.org>1998-06-27 22:36:13 +0800
commitd10c9d4107b846423c56bf2ed1293689e00f4c5d (patch)
treed391b18e82a3a95a06d54078d8de5d54651b86eb
parent43b994914e5b6c18f9ed6afbe64ed1f05e975fc1 (diff)
downloadgsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar
gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.gz
gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.bz2
gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.lz
gsoc2013-evolution-d10c9d4107b846423c56bf2ed1293689e00f4c5d.tar.xz
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
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-objc-checks.m45
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])