Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in ecore-config.in ecore.pc.in 


Log Message:
Add ecore_file

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- configure.in        10 Jan 2005 13:11:41 -0000      1.71
+++ configure.in        20 Feb 2005 12:18:08 -0000      1.72
@@ -705,6 +705,49 @@
   AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
 fi
 
+AC_MSG_CHECKING(wheter ecore_file module is to be built)
+
+have_ecore_file="no"
+ecore_file_libs=""
+
+AC_ARG_ENABLE(ecore-file, 
+[  --disable-ecore-file              disable the ecore_file module], [
+  if [ test "$enableval" = "yes" ]; then  
+    AC_MSG_RESULT(yes)
+    have_ecore_file="yes"
+  else
+    AC_MSG_RESULT(no)
+  fi
+], [
+  AC_MSG_RESULT(yes)
+  have_ecore_file="yes"
+]
+)
+
+fam_libs=""
+if [ test "x$have_ecore_file" = "xyes" ]; then
+  AM_CONDITIONAL(BUILD_ECORE_FILE, true)
+  ecore_file_libs="-lecore_file"
+  AC_DEFINE(HAVE_POLL, 1, [ File monitoring with polling ])
+#  I'm to stupid to get fam working right :)
+#  PKG_CHECK_MODULES(FAM, gamin >= 0.0.23,
+#  AC_CHECK_LIB(fam, FAMOpen,
+#    [
+#      AC_DEFINE(HAVE_FAM, 1, [ File monitoring with FAM ])
+#      use_fam="yes"
+#      fam_libs="-lfam"
+#    ], [
+#      use_fam="no"
+#    ]
+#  )
+else
+  AM_CONDITIONAL(BUILD_ECORE_FILE, false)
+fi
+ecore_file_libs="$ecore_file_libs $fam_libs"
+AC_SUBST(fam_libs)
+AC_SUBST(ecore_file_libs)
+ 
+
 AC_ARG_ENABLE(pthreads,
 [--disable-pthreads            disable building with pthread support],
 [
@@ -779,6 +822,7 @@
 src/lib/ecore_ipc/Makefile
 src/lib/ecore_txt/Makefile
 src/lib/ecore_config/Makefile
+src/lib/ecore_file/Makefile
 debian/Makefile
 examples/Makefile
 ], [
@@ -802,6 +846,7 @@
 echo "  Ecore_Buffer............: $have_ecore_evas_buffer"
 echo "  Ecore_Ipc...............: $have_ecore_ipc (OpenSSL: $use_openssl)"
 echo "  Ecore_Config............: $have_ecore_config"
+echo "  Ecore_File..............: $have_ecore_file (FAM: $use_fam)"
 echo
 echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE."
 echo
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/ecore-config.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ecore-config.in     19 Oct 2004 06:34:20 -0000      1.7
+++ ecore-config.in     20 Feb 2005 12:18:09 -0000      1.8
@@ -46,7 +46,7 @@
       ;;
     --libs)
       [EMAIL PROTECTED]@
-      echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ 
@ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ 
@ecore_config_libs@ @eet_libs@ -lm
+      echo $libdirs -lecore @ecore_job_libs@ @ecore_x_libs@ @ecore_evas_libs@ 
@ecore_con_libs@ @ecore_ipc_libs@ @ecore_txt_libs@ @ecore_fb_libs@ 
@ecore_config_libs@ @ecore_file_libs@ @eet_libs@ -lm
       ;;
     *)
       echo "${usage}" 1>&2
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/ecore.pc.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore.pc.in 11 Jul 2004 13:55:30 -0000      1.4
+++ ecore.pc.in 20 Feb 2005 12:18:09 -0000      1.5
@@ -7,5 +7,5 @@
 Description: Ecore event abstraction library (FIXME)
 Requires: @requirements@
 Version: @VERSION@
-Libs: -L${libdir} -lecore @ecore_txt_libs@ @ecore_x_libs@ @ecore_job_libs@ 
@ecore_fb_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ 
@ecore_config_libs@
+Libs: -L${libdir} -lecore @ecore_txt_libs@ @ecore_x_libs@ @ecore_job_libs@ 
@ecore_fb_libs@ @ecore_evas_libs@ @ecore_con_libs@ @ecore_ipc_libs@ 
@ecore_config_libs@ @ecore_file_libs@
 Cflags: -I${includedir}




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to