Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1997

Modified Files:
        configure.ac 
Log Message:
Simplify search for the exiv2 library.

Index: configure.ac
===================================================================
RCS file: /cvsroot/ufraw/ufraw/configure.ac,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- configure.ac        21 Oct 2009 14:00:20 -0000      1.143
+++ configure.ac        25 Oct 2009 03:50:41 -0000      1.144
@@ -257,24 +257,11 @@
   have_cfitsio=${ac_cv_lib_cfitsio_ffcmsg:-no}
 fi
 
-# check for exiv2 library
-AC_ARG_WITH([exiv2],
-  [AS_HELP_STRING([--with-exiv2],
-  [use exiv2 library for exif information extraction @<:@default=check@:>@])],
-  [],
-  [with_exiv2=check])
-
-have_exiv2=no
-AS_IF([test "x$with_exiv2" != xno],
-  [PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11,
-    [ have_exiv2=yes
-      AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ],
-    [ have_exiv2=no
-      if test "x$with_exiv2" != xcheck; then
-        AC_MSG_FAILURE(
-          [--with-exiv2 was given, but test for exiv2 failed])
-      fi
-    ] ) ] )
+PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11,
+  [ have_exiv2=yes
+    AC_DEFINE(HAVE_EXIV2, 1, have the exiv2 library) ],
+  [ have_exiv2=no
+    AC_MSG_RESULT($EXIV2_PKG_ERRORS) ] )
 
 # Check for the lensfun library
 AC_ARG_WITH([lensfun],


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to