blob: 6bd9872d79df47be9976bad99a32774328cf4563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.1 2004/09/07 22:22:18 jmmv Exp $
--- configure.orig 2003-04-14 20:41:50.000000000 +0200
+++ configure
@@ -8080,6 +8080,28 @@ if test ".${OSSL_LIB}" != "." ||
fi
# Finished expansion of NTOP_APPEND_LIBS()
+ # Expansion of NTOP_APPEND_LIBS(${OSSL_LIB}, crypto)
+ if test ".${OSSL_LIB}" != "."; then
+ rc=`(echo $LIBS | grep '${OSSL_LIB} ' > /dev/null 2> /dev/null; echo $?)`
+ if [ $rc -eq 1 ]; then
+ case "${DEFINEOS}" in
+ DARWIN )
+ LIBS="$LIBS -L${OSSL_LIB} -L${OSSL_LIB}/lib"
+ ;;
+ * )
+ LIBS="$LIBS -L${OSSL_LIB}"
+ ;;
+ esac
+ fi
+ if test ".crypto" != "."; then
+ rc=`(echo $LIBS | grep '\-lcrypto ' > /dev/null 2> /dev/null; echo $?)`
+ if [ $rc -eq 1 ]; then
+ LIBS="$LIBS -lcrypto"
+ fi
+ fi
+ fi
+# Finished expansion of NTOP_APPEND_LIBS()
+
# Expansion of NTOP_APPEND_INCS(${OSSL_INCLUDE})
if test ".${OSSL_INCLUDE}" != "."; then
rc=`(echo $INCS | grep '${OSSL_INCLUDE}' > /dev/null 2> /dev/null; echo $?)`
|