mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
Moved the PL_perl_destruct_level check to configure script, it should
now work with Perl 5.6 too. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@657 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
17bb7faf2f
commit
2d16538dec
@ -8,6 +8,7 @@
|
|||||||
#undef HAVE_IPV6
|
#undef HAVE_IPV6
|
||||||
#undef HAVE_POPT_H
|
#undef HAVE_POPT_H
|
||||||
#undef HAVE_SOCKS_H
|
#undef HAVE_SOCKS_H
|
||||||
|
#undef HAVE_PL_PERL
|
||||||
|
|
||||||
/* macros/curses checks */
|
/* macros/curses checks */
|
||||||
#undef HAS_CURSES
|
#undef HAS_CURSES
|
||||||
|
@ -234,6 +234,13 @@ if test "$want_perl" = "yes"; then
|
|||||||
else
|
else
|
||||||
PERL_LDFLAGS="`$perlpath -MExtUtils::Embed -e ldopts` "
|
PERL_LDFLAGS="`$perlpath -MExtUtils::Embed -e ldopts` "
|
||||||
|
|
||||||
|
dnl * Perl 5.004 and older use perl_xxx variables while
|
||||||
|
dnl * later use PL_perl_xxx variables ..
|
||||||
|
have_pl_perl=`$perlpath -e 'print $] < 5.005 ? "no" : "yes";'`
|
||||||
|
if test "x$have_pl_perl" = "xyes"; then
|
||||||
|
AC_DEFINE(HAVE_PL_PERL)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl * dynaloader.a -> libperl_dynaloader.la
|
dnl * dynaloader.a -> libperl_dynaloader.la
|
||||||
dynaloader=`echo $PERL_LDFLAGS | $sedpath 's/.* \([[^ ]]*\.a\).*/\1/'`
|
dynaloader=`echo $PERL_LDFLAGS | $sedpath 's/.* \([[^ ]]*\.a\).*/\1/'`
|
||||||
PERL_LDFLAGS=`echo $PERL_LDFLAGS | $sedpath 's/ [[^ ]]*\.a/ libperl_dynaloader.la/'`
|
PERL_LDFLAGS=`echo $PERL_LDFLAGS | $sedpath 's/ [[^ ]]*\.a/ libperl_dynaloader.la/'`
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
# define ERRSV GvSV(errgv)
|
# define ERRSV GvSV(errgv)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PL_perl_destruct_level
|
#ifndef HAVE_PL_PERL
|
||||||
# define PL_perl_destruct_level perl_destruct_level
|
# define PL_perl_destruct_level perl_destruct_level
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user