projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8bddb2d
)
removed: --with-crypto
author
Jörg Habenicht
<habenich@bombodil.planetsserver.lan>
Wed, 3 Oct 2007 16:12:48 +0000
(18:12 +0200)
committer
Jörg Habenicht
<habenich@bombodil.planetsserver.lan>
Wed, 3 Oct 2007 16:12:48 +0000
(18:12 +0200)
added: --with-ssl
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
7249ad5
..
18031b0
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-71,23
+71,23
@@
AC_ARG_WITH([asterisk],
AM_CONDITIONAL(ENABLE_ASTERISK_CHANNEL_DRIVER, test "x$with_asterisk_channel_driver" == "xyes" )
# check for crypto
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=
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])
],
[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(
AC_MSG_FAILURE(
- [--with-
crypto was given, but test for lib C
rypto failed])
+ [--with-
ssl was given, but test for libc
rypto failed])
fi
],
-lcrypto
fi
],
-lcrypto