From d6a4bd7b68b46983e7755aeb791d75f23274e9dd Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Wed, 6 Jan 2010 11:04:29 +0000 Subject: better --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5ae7d03..80e1a7f 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,6 @@ LTDL_INIT AC_SUBST(LTDLINCL) AC_SUBST(LIBLTDL) AC_SUBST(MKDIR_P) -LIBS=$LIBSOLD case "$host_os" in linux*) @@ -97,6 +96,7 @@ mingw*) AC_CHECK_LIB(ws2_32, _head_libws2_32_a,,[AC_MSG_ERROR([libextractor requires Winsock2])]) AC_CHECK_LIB(plibc, plibc_init,,[AC_MSG_ERROR([libextractor requires PlibC])]) LDFLAGS="$LDFLAGS -no-undefined -Wl,--export-all-symbols" + LIBSOLD=$LIBS AM_CONDITIONAL(HAVE_GNU_LD, true) AM_CONDITIONAL(SOMEBSD, false) LIBEXT=.dll @@ -155,6 +155,7 @@ AM_CONDITIONAL(HAVE_CXX, test "x$HAVE_CXX" = "xyes") AC_CHECK_LIB(stdc++, fclose) AC_CHECK_HEADERS(langinfo.h) +LIBS=$LIBSOLD # FIXME: allow --with-oggvorbis=PFX # test if we have vorbisfile -- cgit v1.2.3