From: keescook Date: Sat, 16 Dec 2006 04:54:48 +0000 (+0000) Subject: correct the Perl linking symantics X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73ece17e254b127868ef1866596c4f28c7d73d1f;p=inkscape.git correct the Perl linking symantics --- diff --git a/configure.ac b/configure.ac index 61d5a8d1c..0eb5d66e1 100644 --- a/configure.ac +++ b/configure.ac @@ -363,7 +363,7 @@ if test "x$with_perl" = "xyes"; then if test "$?" -gt "0"; then with_perl="no" else - checkPERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts 2>/dev/null` + checkPERL_LIBS=`perl -MExtUtils::Embed -e ldopts 2>/dev/null` if test "$?" -gt "0"; then with_perl="no" else @@ -375,22 +375,22 @@ AC_MSG_RESULT([$with_perl]) if test "x$with_perl" = "xyes"; then # Test that we actually have the perl libraries installed oldCFLAGS="$CFLAGS" - oldLDFLAGS="$LDFLAGS" + oldLIBS="$LIBS" CFLAGS="$CFLAGS $checkPERL_CFLAGS" - LDFLAGS="$LDFLAGS $checkPERL_LDFLAGS" + LIBS="$LIBS $checkPERL_LIBS" AC_CHECK_FUNC([perl_parse],[ PERL_CFLAGS="$checkPERL_CFLAGS" - PERL_LDFLAGS="$checkPERL_LDFLAGS" + PERL_LIBS="$checkPERL_LIBS" AC_DEFINE(WITH_PERL, 1, [use Perl for embedded scripting]) ],[ with_perl="no" ]) CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" + LIBS="$oldLIBS" fi AM_CONDITIONAL(WITH_PERL, test "x$with_perl" = "xyes") AC_SUBST(PERL_CFLAGS) -AC_SUBST(PERL_LDFLAGS) +AC_SUBST(PERL_LIBS) dnl ****************************** dnl Python checking diff --git a/src/Makefile_insert b/src/Makefile_insert index 6b252055c..e976a1f3c 100644 --- a/src/Makefile_insert +++ b/src/Makefile_insert @@ -343,7 +343,6 @@ all_libs = \ $(win32ldflags) \ $(PERL_LIBS) \ $(PYTHON_LIBS) \ - $(LIBLOUDMOUTH_LIBS) \ $(INKBOARD_LIBS) desktop.$(OBJEXT): helper/sp-marshal.h