From 04f670ac098e07fe1cf5770d0d77e77f3b756a6b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 23 Mar 2016 10:06:12 +0000 Subject: libevent moved to libs folder telegram not compiled yet git-svn-id: http://svn.miranda-ng.org/main/trunk@16524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Telegram/libevent/m4/libevent_openssl.m4 | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 protocols/Telegram/libevent/m4/libevent_openssl.m4 (limited to 'protocols/Telegram/libevent/m4/libevent_openssl.m4') diff --git a/protocols/Telegram/libevent/m4/libevent_openssl.m4 b/protocols/Telegram/libevent/m4/libevent_openssl.m4 deleted file mode 100644 index 3cb064a0bd..0000000000 --- a/protocols/Telegram/libevent/m4/libevent_openssl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -dnl ###################################################################### -dnl OpenSSL support -AC_DEFUN([LIBEVENT_OPENSSL], [ -AC_REQUIRE([NTP_PKG_CONFIG])dnl - -case "$enable_openssl" in - yes) - have_openssl=no - case "$PKG_CONFIG" in - '') - ;; - *) - OPENSSL_LIBS=`$PKG_CONFIG --libs openssl 2>/dev/null` - case "$OPENSSL_LIBS" in - '') ;; - *) OPENSSL_LIBS="$OPENSSL_LIBS $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD" - have_openssl=yes - ;; - esac - OPENSSL_INCS=`$PKG_CONFIG --cflags openssl 2>/dev/null` - ;; - esac - case "$have_openssl" in - yes) ;; - *) - save_LIBS="$LIBS" - LIBS="" - OPENSSL_LIBS="" - AC_SEARCH_LIBS([SSL_new], [ssl], - [have_openssl=yes - OPENSSL_LIBS="$LIBS -lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD"], - [have_openssl=no], - [-lcrypto $EV_LIB_GDI $EV_LIB_WS32 $OPENSSL_LIBADD]) - LIBS="$save_LIBS" - ;; - esac - AC_SUBST(OPENSSL_INCS) - AC_SUBST(OPENSSL_LIBS) - case "$have_openssl" in - yes) AC_DEFINE(HAVE_OPENSSL, 1, [Define if the system has openssl]) ;; - esac - ;; -esac - -# check if we have and should use openssl -AM_CONDITIONAL(OPENSSL, [test "$enable_openssl" != "no" && test "$have_openssl" = "yes"]) -]) -- cgit v1.2.3