summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d52da08e..6b7348422 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-12 Ross Burton <ross@openedhand.com>
+
+ * configure.in:
+ Don't use AM_PATH_ORBIT, but pkg-config (#400544).
+
2007-02-12 Priit Laes <plaes@svn.gnome.org>
* configure.in: Prefix wasn't set for idl files which where then
diff --git a/configure.in b/configure.in
index eed7efe67..cdb42c705 100644
--- a/configure.in
+++ b/configure.in
@@ -1216,7 +1216,11 @@ case $CFLAGS in
;;
esac
-AM_PATH_ORBIT2(2.9.8)
+PKG_CHECK_MODULES(ORBIT, ORBit-2.0 >= 2.9.8)
+ORBIT_IDL=`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`
+AC_SUBST(ORBIT_CFLAGS)
+AC_SUBST(ORBIT_LIBS)
+AC_SUBST(ORBIT_IDL)
AC_MSG_CHECKING(for CORBA include paths)
IDL_INCLUDES="-I"`pkg-config --variable=idldir libbonobo-2.0`" -I"`pkg-config --variable=idldir bonobo-activation-2.0`