mirror of
https://github.com/znc/znc.git
synced 2026-08-10 10:52:59 +02:00
Modperl uses some features of Perl 5.10, so let it depend on it.
Now we check version of perl in ./configure and on runtime when modperl is loaded. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2183 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -3718,7 +3718,7 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$PERL_BINARY"; then
|
||||
if test -n "$PERL_BINARY" && eval "$PERL_BINARY -e'use 5.010'"; then
|
||||
my_saved_LDFLAGS="$LDFLAGS"
|
||||
appendLD `$PERL_BINARY -MExtUtils::Embed -e ccopts -e ldopts`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl_alloc in -lperl" >&5
|
||||
|
||||
+1
-1
@@ -274,7 +274,7 @@ if test "x$PERL" != "xno"; then
|
||||
old_PERL="$PERL"
|
||||
old_SWIG="$SWIG"
|
||||
AC_PATH_PROG([PERL_BINARY], [perl], [])
|
||||
if test -n "$PERL_BINARY"; then
|
||||
if test -n "$PERL_BINARY" && eval "$PERL_BINARY -e'use 5.010'"; then
|
||||
my_saved_LDFLAGS="$LDFLAGS"
|
||||
appendLD `$PERL_BINARY -MExtUtils::Embed -e ccopts -e ldopts`
|
||||
AC_CHECK_LIB(perl, perl_alloc,
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# by the Free Software Foundation.
|
||||
#
|
||||
|
||||
use 5.010;
|
||||
use strict;
|
||||
use warnings;
|
||||
use ZNC;
|
||||
|
||||
Reference in New Issue
Block a user