aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-28 20:09:25 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-28 20:09:25 +0800
commit003eafee1884b5474f9b5230365da7f90493193e (patch)
treef1a282d6543591279d291f2a50fd07de13ed0e8d /configure.in
parentd78a429ac1539747886f328c93b9830ea9ddd3a3 (diff)
downloadgsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar.gz
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar.bz2
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar.lz
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar.xz
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.tar.zst
gsoc2013-epiphany-003eafee1884b5474f9b5230365da7f90493193e.zip
Check for required libnautilus version, and conditionally enable nautilus
2004-01-28 Christian Persch <chpe@cvs.gnome.org> * configure.in: * src/Makefile.am: Check for required libnautilus version, and conditionally enable nautilus view.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index c377cc1f0..9af90b4b5 100644
--- a/configure.in
+++ b/configure.in
@@ -24,6 +24,7 @@ LIBBONOBOUI_REQUIRED=2.1.1
LIBXML_REQUIRED=2.6.0
LIBGNOMEVFS_REQUIRED=2.3.1
LIBGLADE_REQUIRED=2.3.1
+LIBNAUTILUS_REQUIRED=2.5
AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GTK_REQUIRED)
@@ -31,6 +32,7 @@ AC_SUBST(LIBBONOBOUI_REQUIRED)
AC_SUBST(LIBXML_REQUIRED)
AC_SUBST(LIBGNOMEVFS_REQUIRED)
AC_SUBST(LIBGLADE_REQUIRED)
+AC_SUBST(LIBNAUTILUS_REQUIRED)
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
@@ -71,11 +73,15 @@ if test "x$enable_nautilus_view" = "xauto"; then
enable_nautilus_view=yes
fi
fi
+AC_MSG_RESULT($enable_nautilus_view)
+
if test "x$enable_nautilus_view" = "xyes"; then
- AC_DEFINE(ENABLE_NAUTILUS_VIEW, 1, [Define if the nautilus view has to be built])
- nautilusview_pkgs=libnautilus
+ PKG_CHECK_MODULES(NAUTILUS_DEPENDENCY, libnautilus >= $LIBNAUTILUS_REQUIRED, \
+ [AC_DEFINE(ENABLE_NAUTILUS_VIEW, 1, [Define if the nautilus view has to be built])], \
+ [enable_nautilus_view=no])
fi
-AC_MSG_RESULT($enable_nautilus_view)
+AC_SUBST(NAUTILUS_DEPENDENCY_CFLAGS)
+AC_SUBST(NAUTILUS_DEPENDENCY_LIBS)
AM_CONDITIONAL(ENABLE_NAUTILUS_VIEW, test "x$enable_nautilus_view" = "xyes")
PKG_CHECK_MODULES(EPIPHANY_DEPENDENCY, \
@@ -90,7 +96,6 @@ PKG_CHECK_MODULES(EPIPHANY_DEPENDENCY, \
gnome-vfs-2.0 >= $LIBGNOMEVFS_REQUIRED \
gnome-vfs-module-2.0 \
gconf-2.0 \
- $nautilusview_pkgs \
)
AC_SUBST(EPIPHANY_DEPENDENCY_CFLAGS)
AC_SUBST(EPIPHANY_DEPENDENCY_LIBS)