Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : embrace

Dir     : misc/embrace


Modified Files:
        configure.ac 


Log Message:
OpenSSL support arrives :)
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/configure.ac,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- configure.ac        16 Mar 2004 21:25:37 -0000      1.3
+++ configure.ac        31 Mar 2004 18:28:45 -0000      1.4
@@ -1,6 +1,6 @@
 ###############################################################################
 ##
-## $Id: configure.ac,v 1.3 2004/03/16 21:25:37 tsauerbeck Exp $
+## $Id: configure.ac,v 1.4 2004/03/31 18:28:45 tsauerbeck Exp $
 ##
 ## Copyright (C) 2004 Embrace project.
 ##
@@ -59,6 +59,8 @@
 #endif
 ])
 
+AH_TEMPLATE(HAVE_OPENSSL, [Have OpenSSL])
+
 AC_EXPAND_DIR(DATA_DIR, "$datadir/$PACKAGE")
 AC_DEFINE_UNQUOTED(DATA_DIR, "$DATA_DIR", [Directory to install data files in])
 
@@ -102,6 +104,18 @@
 AC_PATH_GENERIC(esmart, , ,
        AC_MSG_ERROR(Cannot find esmart: Is esmart-config in path?))
 
+AC_ARG_ENABLE(openssl,
+       [  --enable-openssl        enable openssl support (default: autodetect)],
+       [have_openssl=$enableval], have_openssl=yes)
+
+if test x$have_openssl = xyes; then
+       AC_ECORE_CON_CHECK_OPENSSL(have_openssl=yes, have_openssl=no)
+fi
+
+if test x$have_openssl = xyes; then
+       AC_DEFINE(HAVE_OPENSSL)
+fi
+
 AC_CHECK_LIB(ltdl, lt_dlopen, ,
        AC_MSG_ERROR(Cannot find libltdl))
 
@@ -143,6 +157,9 @@
 echo "IMAP..................: $build_imap"
 echo
 echo
+echo "OpenSSL support.......: $have_openssl"
+echo
+echo
 echo "$PACKAGE $VERSION will be installed in $prefix"
 echo
 echo "Type 'make' ('gmake' on some systems) to compile $PACKAGE."




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to