diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/ChangeLog | 5 | ||||
-rw-r--r-- | macros/gnome-objc-checks.m4 | 8 |
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], |