aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/gnome-objc-checks.m41
-rw-r--r--macros/gnome.m42
2 files changed, 3 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
diff --git a/macros/gnome.m4 b/macros/gnome.m4
index a28520650e..112211b7db 100644
--- a/macros/gnome.m4
+++ b/macros/gnome.m4
@@ -11,6 +11,8 @@ AC_DEFUN([GNOME_INIT],
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOMEUI_LIBS)
AC_SUBST(GTKXMHTML_LIBS)
+ AC_SUBST(GNOMELIB_DIR)
+ AC_SUBST(GNOMEINCLUDE_DIR)
gnome_prefix=$prefix/lib
AC_ARG_WITH(gnome-includes,