aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>2000-01-21 08:12:15 +0800
committerRaja R Harinath <harinath@src.gnome.org>2000-01-21 08:12:15 +0800
commit73107b49d42b02754e6facd890c3ed16eebe0a47 (patch)
treebaceac5a4867b895ba51e6fe71e372a112390e7c
parentde8e7223eac6c40b10d2a095210d2120aa97fa55 (diff)
downloadgsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar.gz
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar.bz2
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar.lz
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar.xz
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.tar.zst
gsoc2013-evolution-73107b49d42b02754e6facd890c3ed16eebe0a47.zip
Look for sched_yield in -lrt, too. Suggested by Drazen Kazar
* gnome-objc-checks.m4: Look for sched_yield in -lrt, too. Suggested by Drazen Kazar <dave@srce.hr>. svn path=/trunk/; revision=1598
-rw-r--r--macros/ChangeLog5
-rw-r--r--macros/gnome-objc-checks.m48
2 files changed, 11 insertions, 2 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index d9e402d1b8..854785e05a 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-20 Raja R Harinath <harinath@cs.umn.edu>
+
+ * gnome-objc-checks.m4: Look for sched_yield in -lrt, too.
+ Suggested by Drazen Kazar <dave@srce.hr>.
+
2000-01-16 Vadim Strizhevsky <vadim@optonline.net>
* gnome-pilot.m4: Fix typo in PILOT_LINK_HOOK.
diff --git a/macros/gnome-objc-checks.m4 b/macros/gnome-objc-checks.m4
index dc9691cf20..c69acb077e 100644
--- a/macros/gnome-objc-checks.m4
+++ b/macros/gnome-objc-checks.m4
@@ -14,8 +14,12 @@ dnl FIXME: extend list of possible names of ObjC compilers.
OBJC_LIBS="-lobjc $PTHREAD_LIB"
AC_CHECK_FUNC(sched_yield,,[
- AC_CHECK_LIB(posix4,sched_yield,
- OBJC_LIBS="$OBJC_LIBS -lposix4",, $OBJC_LIBS)])
+ AC_CHECK_LIB(rt,sched_yield,
+ OBJC_LIBS="$OBJC_LIBS -lrt",[
+ AC_CHECK_LIB(posix4,sched_yield,
+ OBJC_LIBS="$OBJC_LIBS -lposix4",,
+ $OBJC_LIBS)],
+ $OBJC_LIBS)])
AC_SUBST(OBJC_LIBS)
AC_CACHE_CHECK([if Objective C compiler ($OBJC) works],