summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <root@x3.internalnet>2001-05-20 20:11:11 +0200
committerunknown <root@x3.internalnet>2001-05-20 20:11:11 +0200
commit8b02ffbaf18cd7dc0dcd01571339922feaea89c9 (patch)
tree13df98e2aea3a7e34dfd67e19aac18208202bac0 /acinclude.m4
parentf70e8a23fa9cfef27c9b963e648bcfd87e930bf3 (diff)
downloadmariadb-git-8b02ffbaf18cd7dc0dcd01571339922feaea89c9.tar.gz
.del-violite.c~984c09cffe14a11b Delete: libmysql/violite.c
acconfig.h openssl support acinclude.m4 openssl support acinclude.m4: openssl support acconfig.h: openssl support BitKeeper/deleted/.del-violite.c~984c09cffe14a11b: Delete: libmysql/violite.c BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m451
1 files changed, 51 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2f07a29023f..fcae0893784 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -642,6 +642,57 @@ fi
AC_MSG_RESULT($ac_cv_conv_longlong_to_float)
])
+AC_DEFUN(MYSQL_CHECK_VIO, [
+ AC_ARG_WITH([vio],
+ [\
+ --with-vio Include the Virtual IO support],
+ [vio="$withval"],
+ [vio=no])
+
+ if test "$vio" = "yes"
+ then
+ vio_dir="vio"
+ vio_libs="../vio/libvio.la"
+ AC_DEFINE(HAVE_VIO)
+ else
+ vio_dir=""
+ vio_libs=""
+ fi
+ AC_SUBST([vio_dir])
+ AC_SUBST([vio_libs])
+])
+
+
+AC_DEFUN(MYSQL_CHECK_OPENSSL, [
+AC_MSG_CHECKING(for OpenSSL)
+ AC_ARG_WITH([openssl],
+ [\
+ --with-openssl Include the OpenSSL support],
+ [openssl="$withval"],
+ [openssl=no])
+
+ if test "$openssl" = "yes"
+ then
+ if test -n "$vio_dir"
+ then
+ AC_MSG_RESULT(yes)
+ openssl_libs="-lssl -lcrypto -L/usr/local/ssl/lib"
+ openssl_includes="-I/usr/local/ssl/include"
+ else
+ AC_MSG_ERROR([OpenSSL requires Virtual IO support (--with-vio)])
+ fi
+ AC_DEFINE(HAVE_OPENSSL)
+ else
+ AC_MSG_RESULT(no)
+ openssl_libs=""
+ openssl_includes=""
+ fi
+ NON_THREADED_CLIENT_LIBS="$NON_THREADED_CLIENT_LIBS $openssl_libs"
+ AC_SUBST([openssl_libs])
+ AC_SUBST([openssl_includes])
+])
+
+
AC_DEFUN(MYSQL_CHECK_MYSQLFS, [
AC_ARG_WITH([mysqlfs],
[\