1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

Perl defaults now to static. Having it in module had too many problems.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1866 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-20 21:32:22 +00:00 committed by cras
parent d4ef1bdd03
commit bac85d3fdd

View File

@ -135,17 +135,19 @@ AC_ARG_WITH(perl-lib,
want_perl=yes)
AC_ARG_WITH(perl,
[ --with-perl[=yes|no|static] Build with Perl support - also specifies
[ --with-perl[=yes|no|module] Build with Perl support - also specifies
if it should be built into main irssi binary
(static) or as module (default)],
(static, default) or as module],
if test x$withval = xyes; then
want_perl=yes
want_perl=static
elif test x$withval = xstatic; then
want_perl=static
elif test x$withval = xmodule; then
want_perl=module
else
want_perl=no
fi,
want_perl=yes)
want_perl=static)
AC_ARG_WITH(tests,
[ --with-tests Run all the tests],
@ -781,7 +783,7 @@ echo "Building with IPv6 support . : $want_ipv6"
if test "x$want_perl" = "xstatic"; then
echo "Building with Perl support . : static (in irssi binary)"
elif test "x$want_perl" = "xyes"; then
elif test "x$want_perl" = "xmodule"; then
echo "Building with Perl support . : module"
else
if test -z "$perl_check_error"; then
@ -798,7 +800,7 @@ if test "x$want_perl" != "xno" -a "x$perl_mod_error" != "x"; then
echo " $perl_mod_error"
fi
if test "x$want_perl" = "xyes"; then
if test "x$want_perl" != "xno"; then
if test -z "$perl_library_dir"; then
perl_library_dir="(site default - `$perlpath -e 'use Config; print $Config{sitearch}'`)"
fi