More places to remove the experimental #if
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 8 Sep 2011 17:17:47 +0000 (17:17 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 8 Sep 2011 17:17:47 +0000 (17:17 +0000)
citadel/configure.ac
citadel/modules/eventclient/serv_eventclient.c

index 5c269cd4ebfa53852d583cba337a06321b8bfe65..12d054fa28d053f58fac22932901b85d59744f4f 100644 (file)
@@ -568,20 +568,13 @@ AC_CHECK_HEADER(libcitadel.h,
 CFLAGS="$saved_CFLAGS"
 
 
-dnl experimental libev smtp client remove this to...
-AC_DEFINE(EXPERIMENTAL_SMTP_EVENT_CLIENT, [], [should we use the experimental libevent smtp client?])
-dnl here...
-
-
-
-
-                AC_CHECK_LIB(cares, ares_init,
-                  [
+AC_CHECK_LIB(cares, ares_init,
+            [
                     C_ARES_LIBS=-lcares
-                AC_DEFINE(HAVE_C_ARES, 1, [Define to use c-ares library])
-                have_good_c_ares=yes
-                  ],, $SOCKET_LIBS $NSL_LIBS
-                )
+                   AC_DEFINE(HAVE_C_ARES, 1, [Define to use c-ares library])
+                    have_good_c_ares=yes
+            ],, $SOCKET_LIBS $NSL_LIBS
+)
 
 
 
index faf38b32f93e25109bb34751ae424c633d3795ee..06af6147647879ab460027923fa42908e5f726b6 100644 (file)
@@ -55,8 +55,6 @@
 
 #include "ctdl_module.h"
 
-#ifdef EXPERIMENTAL_SMTP_EVENT_CLIENT
-
 #include "event_client.h"
 #include "serv_curl.h"
 
@@ -613,11 +611,8 @@ void *db_event_thread(void *arg)
        return(NULL);
 }
 
-#endif
-
 CTDL_MODULE_INIT(event_client)
 {
-#ifdef EXPERIMENTAL_SMTP_EVENT_CLIENT
        if (!threading)
        {
                InitEventQueue();
@@ -626,6 +621,5 @@ CTDL_MODULE_INIT(event_client)
                CtdlThreadCreate(/*"DB event", */db_event_thread);
 /// todo register shutdown callback.
        }
-#endif
        return "event";
 }