summaryrefslogtreecommitdiff
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.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/gnome-objc-checks.m4 b/macros/gnome-objc-checks.m4
index 4bb4bb2..aa7fc58 100644
--- a/macros/gnome-objc-checks.m4
+++ b/macros/gnome-objc-checks.m4
@@ -58,10 +58,10 @@ EOF
AC_DEFUN([GNOME_INIT_OBJC],
[
AC_MSG_CHECKING(for an obGnomeConf.sh)
- my_gnome_prefix=`$GNOME_CONFIG --prefix`
- if test -f $my_gnome_prefix/obGnomeConf.sh; then
- . $my_gnome_prefix/obGnomeConf.sh
- AC_MSG_RESULT(found)
+ my_gnome_libdir=`$GNOME_CONFIG --libdir`
+ if test -f $my_gnome_libdir/obGnomeConf.sh; then
+ . $my_gnome_libdir/obGnomeConf.sh
+ AC_MSG_RESULT(found $my_gnome_libdir)
else
AC_MSG_RESULT(not found)
AC_MSG_WARN(Could not find the obGnomeConf.sh file that is generated by gnome-objc install)