Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore
Modified Files:
configure.in
Log Message:
Download files with CURL. Thanks to Simon Poole.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- configure.in 15 Jun 2005 22:08:57 -0000 1.92
+++ configure.in 17 Jun 2005 23:52:32 -0000 1.93
@@ -793,6 +793,7 @@
use_fam="no"
use_inotify="no"
use_poll="no"
+use_curl="no"
AC_MSG_CHECKING(whether ecore_file module is to be built)
AC_ARG_ENABLE(ecore-file,
@@ -882,6 +883,23 @@
AC_DEFINE(HAVE_POLL, 1, [ File monitoring with polling ])
fi
+curl_flags=""
+curl_libs=""
+# Check for CURL
+AC_ARG_WITH(curl-config, [ --with-curl-config=CURL_CONFIG use curl-config
specified ],
+ [ CURL_CONFIG=$withval;
+ echo "using "$CURL_CONFIG" for curl-config"; ],
+ [ if test -z "$CURL_CONFIG"; then
+ AC_PATH_PROG(CURL_CONFIG, "curl-config", "", $PATH)
+ fi
+ ])
+if test "$CURL_CONFIG"; then
+ use_curl="yes"
+ curl_cflags=`$CURL_CONFIG --cflags`
+ curl_libs=`$CURL_CONFIG --libs`
+ AC_DEFINE(HAVE_CURL, 1, [Downloading with CURL])
+fi
+
if test "x$have_ecore_file" = "xyes"; then
AM_CONDITIONAL(BUILD_ECORE_FILE, true)
ecore_file_libs="-lecore_file"
@@ -889,7 +907,9 @@
else
AM_CONDITIONAL(BUILD_ECORE_FILE, false)
fi
-ecore_file_libs="$ecore_file_libs $fam_libs"
+ecore_file_libs="$ecore_file_libs $fam_libs $curl_libs"
+AC_SUBST(curl_cflags)
+AC_SUBST(curl_libs)
AC_SUBST(fam_libs)
AC_SUBST(ecore_file_libs)
@@ -1000,7 +1020,7 @@
echo " Ecore_Config............: $have_ecore_config"
echo " Ecore_DBUS..............: $have_ecore_dbus"
#echo " Ecore_File..............: $have_ecore_file (Inotify: $use_inotify)
(FAM: $use_fam) (Poll: $use_poll)"
-echo " Ecore_File..............: $have_ecore_file (Inotify: $use_inotify)
(Poll: $use_poll)"
+echo " Ecore_File..............: $have_ecore_file (Inotify: $use_inotify)
(Poll: $use_poll) (CURL: $use_curl)"
echo
echo "Now type 'make' ('gmake' on some systems) to compile $PACKAGE."
echo
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs