summaryrefslogtreecommitdiff
blob: c3783a78d9390129a9742baf6398d0ac47520ff0 (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
diff -Naur ekg-1.6rc1.orig/configure.in ekg-1.6rc1/configure.in
--- ekg-1.6rc1.orig/configure.in	2004-06-28 12:13:09.000000000 +0200
+++ ekg-1.6rc1/configure.in	2005-07-20 21:28:07.145092320 +0200
@@ -182,7 +182,8 @@
 
 Optional ekg Features:])
 
-lib_static_enabled=yes
+LDFLAGS="-lgadu $LDFLAGS"
+lib_static_enabled=no
 
 if test "x$enable_static" = "xno"; then
 	static=""
@@ -190,9 +191,6 @@
 	lib_static_enabled=no
 fi
 
-if test "x$enable_static" = "xno" -a "x$enable_shared" != "xyes"; then
-  AC_MSG_ERROR([You must choose either static or shared version of libgadu.])
-fi
 
 AC_ARG_ENABLE(dynamic,
   [  --enable-dynamic        Link ekg dynamically with libgadu])
@@ -289,7 +287,7 @@
 dnl  Zachowujemy opcje dla libgadu
 dnl
 
-LIBS_LIBGADU="$LIBS_LIBGADU $LIBS"
+LIBS_LIBGADU="$LIBS_LIBGADU $LIBS -lgadu"
 
 dnl <ekg>
 dnl