summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-02-12 10:43:43 +0000
committerRoss Burton <rburton@src.gnome.org>2007-02-12 10:43:43 +0000
commit37851abb4713ba273aee2d6789955eccb61ec315 (patch)
tree01582ddfe92a0ad816b6603da934b68a11585dfe
parented763375ed39608796a07afd2b8441094b36a19a (diff)
downloadevolution-data-server-37851abb4713ba273aee2d6789955eccb61ec315.tar.gz
Don't use AM_PATH_ORBIT, but pkg-config (#400544).
2007-02-12 Ross Burton <ross@openedhand.com> * configure.in: Don't use AM_PATH_ORBIT, but pkg-config (#400544). svn path=/trunk/; revision=7618
-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`