Enlightenment CVS committal Author : lordchaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs Modified Files: configure.in Log Message: Added a CURL checker for the upcoming ftp plugin =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/evfs/configure.in,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- configure.in 17 Oct 2005 10:57:30 -0000 1.13 +++ configure.in 29 Oct 2005 05:32:33 -0000 1.14 @@ -184,6 +184,25 @@ AC_SUBST(ecore_cflags) AC_SUBST(ecore_libs) +PROG="curl-config"; +msg_curl="no" +AC_PATH_PROG(CURL_CONFIG, $PROG, "", $PATH) +if test -z "$CURL_CONFIG" ; then + echo $PROG " is not in your \$PATH. Please ensure it is."; + echo "Read the manual page for you shell as to how to extend your path."; + AC_MSG_WARN(Cannot find $PROG) + curl_cflags="" + curl_libs="" +else + curl_cflags=`$CURL_CONFIG --cflags` + curl_libs=`$CURL_CONFIG --libs` + msg_curl="yes" +fi +AC_SUBST(curl_cflags) +AC_SUBST(curl_libs) +AM_CONDITIONAL(HAVE_CURL, test $msg_curl = yes) + + ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs