--- parser3/configure 2012/06/11 23:13:01 1.135 +++ parser3/configure 2012/06/13 10:47:52 1.140 @@ -3795,7 +3795,7 @@ fi; if test "${with_static_gc+set}" = set; then withval="$with_static_gc" - GC_LIBS="$withval/lib$GC_LIB_NAME.a" + GC_LIBS="$withval/lib$GC_LIB_NAME.la" fi; if test -z "$GC_LIBS"; then @@ -3803,12 +3803,11 @@ if test -z "$GC_LIBS"; then GC_LIBS="-l$GC_LIB_NAME" { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5 echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;} -fi -echo "$as_me:$LINENO: checking for libgc" >&5 + echo "$as_me:$LINENO: checking for libgc" >&5 echo $ECHO_N "checking for libgc... $ECHO_C" >&6 -SAVE_LIBS=$LIBS -LIBS="$LIBS $GC_LIBS" + SAVE_LIBS=$LIBS + LIBS="$LIBS $GC_LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -3817,13 +3816,13 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - extern int GC_dont_gc; + extern int GC_dont_gc; int main () { - GC_dont_gc=0; + GC_dont_gc=0; ; return 0; @@ -3860,15 +3859,16 @@ sed 's/^/| /' conftest.$ac_ext >&5 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 - { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5 + { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5 echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext + LIBS=$SAVE_LIBS +fi -LIBS=$SAVE_LIBS @@ -3887,7 +3887,7 @@ echo "$as_me: error: $PCRE does not seem fi PCRE_INCLUDES="-I$PCREINC" - PCRE_LIBS="$PCRELIB/libpcre.a" + PCRE_LIBS="$PCRELIB/libpcre.la" fi; @@ -3950,7 +3950,7 @@ _ACEOF XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2" - XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a" + XML_LIBS="$XMLLIB/libxslt.la $XMLLIB/libexslt.la $XMLLIB/libxml2.la" fi; @@ -4043,7 +4043,7 @@ _ACEOF GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" - MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" + MIME_LIBS="$MIMELIB/libgmime.la $GLIB_DIR/lib$GLIB_NAME.la" fi; @@ -15720,6 +15720,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Only expand once: +#LT_INIT(disable-shared dlopen win32-dll) echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5 echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6 if test "${libltdl_cv_shlibext+set}" = set; then