Use AC_MSG_RESULT to output enable_openssl flag
This problem was reported by Alexander Traud...
When I start configure in Ubuntu 14.04 LTS, there is a single line just with 'no' or 'yes', depending on the --enable-openssl flag. The attached patch fixed this for me.
libsrtpConfigureRemoveSillyEcho.patch
--- configure.in (revision b90f1baa0dbe29aae5e02f9fcec492cbbc38a7c5) +++ configure.in (working copy) @@ -143,7 +143,7 @@ [compile in OpenSSL crypto engine])], [], enable_openssl=no) if test "$enable_openssl" = "yes"; then
- echo $enable_openssl
- AC_MSG_RESULT($enable_openssl) LDFLAGS="$LDFLAGS $(pkg-config --libs openssl)"; CFLAGS="$CFLAGS $(pkg-config --cflags openssl)";
@@ -160,7 +160,7 @@ USE_OPENSSL=1 AC_SUBST(USE_OPENSSL) else
- echo $enable_openssl
- AC_MSG_RESULT($enable_openssl) AES_ICM_OBJS="crypto/cipher/aes_icm.o crypto/cipher/aes.o crypto/cipher/aes_cbc.o" AC_MSG_CHECKING(which random device to use) if test "$enable_kernel_linux" = "yes"; then @@ -182,7 +182,6 @@ AC_SUBST(RNG_OBJS) AC_SUBST(RNG_EXTRA_OBJS) AC_SUBST(HMAC_OBJS) -AC_MSG_RESULT($enable_openssl)
AC_MSG_CHECKING(whether to use syslog for error reporting) AC_ARG_ENABLE(syslog,
Resolved by 2b48665ac51be045e3fe87fbe35d38a3e93e8787