forked from pool/pam_mount
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
Index: pam_mount-0.35/configure.ac
|
|
===================================================================
|
|
--- pam_mount-0.35.orig/configure.ac
|
|
+++ pam_mount-0.35/configure.ac
|
|
@@ -45,15 +45,17 @@ AC_ARG_WITH([selinux], AS_HELP_STRING([-
|
|
AM_CONDITIONAL(SELINUX, $with_selinux)
|
|
|
|
m4_sinclude(m4lib/gcc4_visibility.m4)
|
|
-# RH 8.0's OpenSSL does not have?
|
|
-AC_CHECK_LIB(crypto, EVP_DecryptInit_ex, [pmt_LIBS="$pmt_LIBS -lcrypto"])
|
|
-AC_CHECK_LIB(ssl, SSL_load_error_strings, [pmt_LIBS="$pmt_LIBS -lssl"])
|
|
|
|
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
|
|
- -D_FILE_OFFSET_BITS=64 \
|
|
- -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
|
- -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
|
|
- -Winline -Wformat=2 -pipe"
|
|
+ -D_FILE_OFFSET_BITS=64 \
|
|
+ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
|
+ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
|
|
+ -Winline -Wformat=2 -pipe"
|
|
+
|
|
+# RH 8.0's OpenSSL does not have?
|
|
+AC_CHECK_LIB(crypto, EVP_DecryptInit_ex, [LIBS="$LIBS -lcrypto"; regular_CFLAGS="$regular_CFLAGS -DHAVE_LIBCRYPTO=1"])
|
|
+AC_CHECK_LIB(ssl, SSL_load_error_strings, [LIBS="$LIBS -lssl"; regular_CFLAGS="$regular_CFLAGS -DHAVE_LIBSSL=1"])
|
|
+
|
|
AC_SUBST(regular_CFLAGS)
|
|
|
|
AC_CHECK_MEMBERS([struct loop_info64.lo_file_name], [], [],
|