summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2/files/patch-src::configure
blob: 091f2ee060835c9b7d0e3846d82e17bc22f1b828 (plain) (blame)
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
34
Index: src/configure
diff -u src/configure.orig src/configure
--- src/configure.orig	Wed Oct 25 13:25:45 2006
+++ src/configure	Tue Dec 26 11:18:57 2006
@@ -39,6 +39,7 @@
 
 cat << EOF > test.c
 #include <gnutls/openssl.h>
+#include <gcrypt.h>
 #include <errno.h>
 #include <pthread.h>
 
@@ -59,8 +60,8 @@
 	}
 EOF
 
-$CC ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
-$CC test.o -o test ${PKG_LIBS} -lgnutls-openssl 2>& 5
+$CC ${PKG_INCLUDE} -I${GNUTLSINC} -c test.c -o test.o 2>& 5
+$CC test.o -o test ${PKG_LIBS} -L${GNUTLSLIB} -lgnutls-openssl 2>& 5
 
 if [ -x ./test ] && ./test
 then
@@ -99,8 +100,8 @@
 	}
 EOF
 
-$CC ${PKG_INCLUDE} -c test.c -o test.o 2>& 5
-$CC test.o -o test ${PKG_LIBS} -lssl -lcrypto 2>& 5
+$CC ${PKG_INCLUDE} -I${OPENSSLINC} -c test.c -o test.o 2>& 5
+$CC test.o -o test ${PKG_LIBS} -L${OPENSSLLIB} -lssl -lcrypto 2>& 5
 
 if [ -x ./test ] && ./test
 then