From b16682f4fd58f04423fc9f411910edf90564bf32 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 27 Nov 2000 14:44:54 +0000 Subject: perl bugfix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@891 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 2c362429..3992ad93 100644 --- a/configure.in +++ b/configure.in @@ -306,14 +306,7 @@ if test "$want_perl" != "no"; then if test "$want_perl" != "static"; then dnl * find libperl.a so we could - LIBPERL_A=`echo $PERL_LDFLAGS|$perlpath -e 'foreach (split(/ /, )) { if (/^-L(.*)/ && -f $1."/libperl.a") { print $1."/libperl.a" } };'` - - dnl * In perl 5.6, libperl.a seems to be in /usr/lib .. - dnl * I can't really figure out any good way to check this - dnl * but hopefully this works well enough :) - if test "x$LIBPERL_A" = "x" -a -e /usr/lib/libperl.a; then - LIBPERL_A="/usr/lib/perl.a" - fi + LIBPERL_A=`echo "$PERL_LDFLAGS -L/usr/lib"|$perlpath -e 'foreach (split(/ /, )) { if (/^-L(.*)/ && -f $1."/libperl.a") { print $1."/libperl.a" } };'` fi dnl * Perl 5.004 and older use perl_xxx variables while -- cgit v1.2.3