aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-objc-checks.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-objc-checks.m4')
-rw-r--r--macros/gnome-objc-checks.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/gnome-objc-checks.m4 b/macros/gnome-objc-checks.m4
index 48a7818619..ac8bdf5ca5 100644
--- a/macros/gnome-objc-checks.m4
+++ b/macros/gnome-objc-checks.m4
@@ -7,6 +7,7 @@ dnl FIXME: extend list of possible names of ObjC compilers.
oLIBS=$LIBS
LIBS="$LIBS $PTHREAD_LIB"
+ AC_SUBST(PTHREAD_LIB)
AC_CHECK_FUNC(sched_yield,,[
AC_CHECK_LIB(posix4,sched_yield,PTHREAD_LIB="$PTHREAD_LIB -lposix4")])
LIBS=$oLIBS