]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix perl detection
authorMichael Jerris <mike@jerris.com>
Fri, 21 Mar 2014 22:20:16 +0000 (18:20 -0400)
committerMichael Jerris <mike@jerris.com>
Fri, 21 Mar 2014 22:20:16 +0000 (18:20 -0400)
configure.ac

index 6b7386f2768f86b5a4d6ea9c39e7a88bb0f0cf58..d161bdbdc5c47296a3e819c90201297b589ee16f 100644 (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}'`"