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 dnl