dnl enable this to have all special options on one place
dnl AC_PRESERVE_HELP_ORDER
-# enable socket access to misdn kernel module on demand
-dnl SOCKET_MISDN=
-AC_ARG_ENABLE([socket_misdn],
- [AS_HELP_STRING([--enable-socket-misdn],
- [use socket connection to misdn kernel code (default=disable)])
- ],
- [use_misdn_socket="yes"],
- [use_misdn_socket="no"]
- )
-AM_CONDITIONAL(ENABLE_SOCKET_MISDN, test "x$use_misdn_socket" == "xyes" )
-
# check for asterisk
AC_ARG_WITH([asterisk],
[AS_HELP_STRING([--with-asterisk],
AM_CONDITIONAL(ENABLE_ASTERISK_CHANNEL_DRIVER, test "x$with_asterisk_channel_driver" == "xyes" )
# check for crypto
-AC_ARG_WITH([crypto],
- [AS_HELP_STRING([--with-crypto],
- [compile with lib Crypto support @<:@default=check@:>@])
+AC_ARG_WITH([ssl],
+ [AS_HELP_STRING([--with-ssl],
+ [compile with ssl support (libcrypto) @<:@default=check@:>@])
],
[],
- [with_crypto=check])
+ [with_ssl=check])
LIBCRYPTO=
-AS_IF([test "x$with_crypto" != xno],
+AS_IF([test "x$with_ssl" != xno],
[AC_CHECK_HEADERS([openssl/rsa.h])
AC_CHECK_LIB([crypto], [main],
[AC_SUBST([LIBCRYPTO], ["-lcrypto"])
AC_DEFINE([HAVE_LIBCRYPTO], [1],
[Define if you have libcrypto])
],
- [if test "x$with_crypto" != xcheck ; then
+ [if test "x$with_ssl" != xcheck ; then
AC_MSG_FAILURE(
- [--with-crypto was given, but test for lib Crypto failed])
+ [--with-ssl was given, but test for libcrypto failed])
fi
],
-lcrypto
)
AM_CONDITIONAL(WITH_CRYPTO, test "x$LIBCRYPTO" == "x-lcrypto" )
-# check for isdn_net.h
-# check for mISDNlib.h
-# --with-isdn_net-include=<include>, default: env MISDNUSER= , $include/mISDNuser
-
# self written test for mISDNuser lib
AC_PATH_MISDNUSER