From 811505ee837cc39b896131ddc750034bb0f2ad30 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 8 Jan 2009 17:01:24 +0000 Subject: [PATCH] Fix perl compile test, char **env was missing from main, it doesn't fail on gcc 4.2.1 but it does with 4.3.2 (which may or not be the issues) in any case it's correct to pass it. Originally committed to SVN as r2681. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 2b810b0b4..08f4e3763 100644 --- a/configure.in +++ b/configure.in @@ -806,7 +806,7 @@ if test "$with_perl" != "no"; then AC_AGI_COMPILE([Perl], [perl], [$PERL_CFLAGS], [$PERL_LDFLAGS],[ #include #include -int main(int argc, char **argv) { +int main(int argc, char **argv, char **env) { static PerlInterpreter *my_perl; PERL_SYS_INIT3(&argc,&argv,&env); my_perl = perl_alloc();