summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-27 14:44:54 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-27 14:44:54 +0000
commitb16682f4fd58f04423fc9f411910edf90564bf32 (patch)
tree6fe52b8317bbabb94305e5c8961766a94199ce5a /configure.in
parent5bcb029a09e2595b2ca0e1d6a160931da3bcc682 (diff)
downloadirssi-b16682f4fd58f04423fc9f411910edf90564bf32.zip
perl bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@891 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 1 insertions, 8 deletions
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(/ /, <STDIN>)) { 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(/ /, <STDIN>)) { if (/^-L(.*)/ && -f $1."/libperl.a") { print $1."/libperl.a" } };'`
fi
dnl * Perl 5.004 and older use perl_xxx variables while