summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Wehner <martin.wehner@epost.de>2005-02-06 15:30:00 +0000
committerMartin Wehner <mwehner@src.gnome.org>2005-02-06 15:30:00 +0000
commit2393abd153749e1b27494f50e9e38dea02c93e75 (patch)
tree46c50aab5610029d0ac2108b93ad2b6d8c4d012d /configure.in
parent71d82ae51424330265e42f5b78b9347a576c0c14 (diff)
downloadnautilus-2393abd153749e1b27494f50e9e38dea02c93e75.tar.gz
Make libexif dependency optional again. (#165773)
2005-02-06 Martin Wehner <martin.wehner@epost.de> * configure.in: Make libexif dependency optional again. (#165773)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
1 files changed, 9 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index 8b6d73e86..73dccbfac 100644
--- a/configure.in
+++ b/configure.in
@@ -211,17 +211,15 @@ dnl exif checking
AC_MSG_CHECKING(for libExif)
-PKG_CHECK_MODULES(EXIF, libexif > exif_minver, [
- AC_DEFINE(HAVE_EXIF, 1, [Define to enable EXIF support])
- AC_SUBST(EXIF_CFLAGS)
- AC_SUBST(EXIF_LIBS)
- ], [
- PKG_CHECK_MODULES(EXIF, libexif = exif_minver, [
- AC_DEFINE(HAVE_EXIF, 1)
- AC_DEFINE(HAVE_OLD_EXIF, 1, [Define if your EXIF library has old API.])
- AC_SUBST(EXIF_CFLAGS)
- AC_SUBST(EXIF_LIBS)
-])])
+PKG_CHECK_MODULES(EXIF, libexif >= exif_minver, have_exif=yes, have_exif=no)
+if test "x$have_exif" = "xyes"; then
+ AC_DEFINE(HAVE_EXIF, 1, [Define to enable EXIF support])
+ AC_SUBST(EXIF_CFLAGS)
+ AC_SUBST(EXIF_LIBS)
+ PKG_CHECK_MODULES(EXIF, libexif = exif_minver, [
+ AC_DEFINE(HAVE_OLD_EXIF, 1, [Define if your EXIF library has old API.])
+ ])
+fi
dnl ==========================================================================