Commit 1ceeed0f authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Allow to disable XMP support. Thanks to Mikel Olasagasti and Gilles

2008-07-21  Christian Neumair  <cneumair@gnome.org>

	* configure.in:
	Allow to disable XMP support. Thanks to Mikel Olasagasti and Gilles
	Dartiguelongue.

svn path=/trunk/; revision=14387
parent 838b12f0
2008-07-21 Christian Neumair <cneumair@gnome.org>
* configure.in:
Allow to disable XMP support. Thanks to Mikel Olasagasti and Gilles
Dartiguelongue.
2008-07-21 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-file-private.h:
......
......@@ -255,16 +255,26 @@ dnl ==========================================================================
dnl exempi checking
PKG_CHECK_MODULES(EXEMPI, exempi-2.0 >= exempi_minver, [
AM_CONDITIONAL(HAVE_EXEMPI, true)
AC_DEFINE(HAVE_EXEMPI, 1, [Define to enable XMP support])
], [AM_CONDITIONAL(HAVE_EXEMPI, false)])
AM_CONDITIONAL(HAVE_EXEMPI, false)
AC_ARG_ENABLE(xmp,
AC_HELP_STRING([--disable-xmp],
[build without xmp support]))
msg_xmp=no
if test "x$enable_xmp" != "xno"; then
PKG_CHECK_MODULES(EXEMPI, exempi-2.0 >= exempi_minver, [
AM_CONDITIONAL(HAVE_EXEMPI, true)
AC_DEFINE(HAVE_EXEMPI, 1, [Define to enable xmp support])
]
msg_xmp=yes,
[AM_CONDITIONAL(HAVE_EXEMPI, false)])
PKG_CHECK_MODULES(EXEMPI_NEW_API, exempi-2.0 >= exempi_minver_newapi,
PKG_CHECK_MODULES(EXEMPI_NEW_API, exempi-2.0 >= exempi_minver_newapi,
AC_DEFINE(HAVE_EXEMPI_NEW_API, 1, [Define if we have exempi with the new API]), true)
AC_SUBST(EXEMPI_CFLAGS)
AC_SUBST(EXEMPI_LIBS)
AC_SUBST(EXEMPI_CFLAGS)
AC_SUBST(EXEMPI_LIBS)
fi
dnl ==========================================================================
dnl search implementations
......@@ -274,7 +284,9 @@ AM_CONDITIONAL(HAVE_TRACKER, false)
dnl libtracker checking
AC_ARG_ENABLE(tracker, [ --disable-tracker build without tracker support])
AC_ARG_ENABLE(tracker,
AC_HELP_STRING([--disable-tracker],
[build without tracker support]))
msg_tracker=no
if test "x$enable_tracker" != "xno"; then
PKG_CHECK_MODULES(TRACKER, tracker >= tracker_minver, [
......@@ -293,8 +305,10 @@ dnl ==========================================================================
AM_CONDITIONAL(HAVE_BEAGLE, false)
dnl libbeagle checking
AC_ARG_ENABLE(beagle, [ --disable-beagle build without beagle support])
AC_ARG_ENABLE(beagle,
AC_HELP_STRING([--disable-beagle],
[build without beagle support]))
msg_beagle=no
if test "x$enable_beagle" != "xno"; then
BEAGLE_PKGCONFIG=
......@@ -501,6 +515,7 @@ nautilus-$VERSION:
compiler: ${CC}
tracker support: $msg_tracker
beagle support: $msg_beagle
xmp support: $msg_xmp
profiling support: ${profiling_support}
nautilus-extension documentation: ${enable_gtk_doc}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment