fix perl detection

This commit is contained in:
Michael Jerris 2014-03-21 18:20:16 -04:00
parent 719d37dbf8
commit 230b217810
1 changed files with 1 additions and 0 deletions

View File

@ -1124,6 +1124,7 @@ AC_CHECK_PROG(PERL,perl,[ac_cv_have_perl=yes],[ac_cv_have_perl=no])
AM_CONDITIONAL([HAVE_PERL],[test "x$ac_cv_have_perl" != "xno"])
if test "x$ac_cv_have_perl" != "xno" ; then
PERL=perl
PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{sitelibexp}'`"
PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlib}'`/CORE"
PERL_LIBS="`$PERL -MConfig -e 'print $Config{libs}'`"