summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 024c116a..2c362429 100644
--- a/configure.in
+++ b/configure.in
@@ -311,7 +311,7 @@ if test "$want_perl" != "no"; then
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 /usr/lib/libperl.a; then
+ if test "x$LIBPERL_A" = "x" -a -e /usr/lib/libperl.a; then
LIBPERL_A="/usr/lib/perl.a"
fi
fi