blob: 386b4d031ad97a839795e60874b5cce2722f3d7e (
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
|
$NetBSD: patch-ab,v 1.4 2005/07/20 14:49:05 adam Exp $
--- configure.orig 2005-07-19 19:52:02.000000000 +0000
+++ configure
@@ -9494,12 +9494,12 @@ echo "$as_me: error: libgadu.h not found
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
- GADU_LIBS=-lgadu
+ GADU_LIBS="-lgadu -lssl -lpthread"
echo "$as_me:$LINENO: checking if libgadu is in system directories" >&5
echo $ECHO_N "checking if libgadu is in system directories... $ECHO_C" >&6
save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -lgadu"
+ CFLAGS="$CFLAGS ${GADU_LIBS}"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -9992,7 +9992,7 @@ fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
\
- MODULE_LDFLAGS="$MODULE_LDFLAGS -l$lib"; \
+ MODULE_LDFLAGS="$MODULE_LDFLAGS -l$lib -Wl,-R${X11BASE}/lib"; \
done && \
for hdr in $MODULE_INCLUDES; do \
|