Enlightenment CVS committal

Author  : titan
Project : e17
Module  : apps/ephoto

Dir     : e17/apps/ephoto


Modified Files:
        configure.in 


Log Message:
Make libexif an optional requirement now. You do not have to have it to use 
ephoto.

===================================================================
RCS file: /cvs/e/e17/apps/ephoto/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.in        18 Feb 2007 02:38:28 -0000      1.3
+++ configure.in        16 Mar 2007 04:34:22 -0000      1.4
@@ -73,11 +73,19 @@
                 )
 AC_SUBST(SQLITE_LIBS)
 
-AC_CHECK_HEADERS(libexif/exif-data.h,  
-                 EXIF_LIBS="$EXIF_LIBS -lexif",
-                 AC_MSG_ERROR([Ephoto needs libexif to compile.])
-                 )
-AC_SUBST(EXIF_LIBS)
+if pkg-config --exists 'sqlite3 >= 3.3'; then
+   have_sqlite3="Yes"
+else
+   have_sqlite3="No"
+   AC_MSG_ERROR([Ephoto needs sqlite3 to compile.])
+fi
+
+if pkg-config --exists 'libexif >= 0.6.13'; then
+   have_exif="Yes"
+   AC_DEFINE(BUILD_EXIF_SUPPORT, 1, [Enable Exif Support])
+else 
+   have_exif="No"
+fi
 
 PROG="evas-config";
 AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
@@ -182,8 +190,8 @@
 echo "  Edje ............: Yes"
 echo "  Epsilon .........: Yes"
 echo "  EWL .............: Yes"
-echo "  Libexif .........: Yes"
-echo "  Sqlite3 .........: Yes"
+echo "  Libexif .........: $have_exif"
+echo "  Sqlite3 .........: $have_sqlite3"
 echo
 echo "Installation Path.........: $prefix"
 echo



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to