]> code.citadel.org Git - citadel.git/blobdiff - citadel/configure.ac
Revert "Libevent integration"
[citadel.git] / citadel / configure.ac
index baa179e45421d06cfde066793b9fc4d69c7b3836..f205fa445cdcbf38bde70821884600afaaa3fecf 100644 (file)
@@ -578,40 +578,6 @@ AC_CHECK_HEADER(libcitadel.h,
 CFLAGS="$saved_CFLAGS"
 
 
-dnl experimental libevent smtp client remove this to...
-AC_ARG_WITH(experimental_eventsmtp, 
-                   [  --with-experimental_eventsmtp        enable experimental event smtp clients],
-                       [ if test "x$withval" != "xno" ; then
-                            CFLAGS="$CFLAGS  -rdynamic "
-                            LDFLAGS="$LDFLAGS  -rdynamic "
-                            SERVER_LDFLAGS="$SERVER_LDFLAGS  -rdynamic "
-
-AC_DEFINE(EXPERIMENTAL_SMTP_EVENT_CLIENT, [], [should we use the experimental libevent smtp client?])
-dnl here...
-saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS $SERVER_LIBS"
-dnl Check for libevent
-AC_CHECK_HEADER(event.h,
-       [AC_CHECK_LIB(event, libcitadel_version_string,
-               [
-                       LIBS="-levent $LIBS $SERVER_LIBS"
-               ],
-               [
-                       AC_MSG_ERROR(libevent was not found or is not usable.  Please install libevent.)
-               ]
-       ,
-       )],
-       [
-               AC_MSG_ERROR(event.h was not found or is not usable.  Please install libevent.)
-       ]
-)
-
-CFLAGS="$saved_CFLAGS"
-dnl and from here to...
-                         fi
-                       ]
-)
-dnl here to make it final.
 
 # The big search for OpenSSL
 if test "$with_ssl" != "no"; then