File libssh2-configure_detect_aes_ctr.patch of Package libssh2_org.30348
Index: configure.ac
===================================================================
--- configure.ac.orig 2014-08-01 21:46:58.256457101 -0400
+++ configure.ac 2014-08-01 21:50:15.327041191 -0400
@@ -119,10 +119,10 @@
# Not all OpenSSL have AES-CTR functions.
if test "$ac_cv_libssl" = "yes"; then
- save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $LIBSSL"
+ save_LIBS="$LIBS"
+ LIBS="$LIBS $LIBSSL"
AC_CHECK_FUNCS(EVP_aes_128_ctr)
- LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
fi
# Look for Libz