From c2d5a0e9d15da36cf2765cc5afedf37f6d8f141e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Fri, 8 Jan 1999 00:51:04 -0800 Subject: [PATCH] bugfix for perl tests Rev: src/modules/Perl/configure.in:1.5 --- src/modules/Perl/configure.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/modules/Perl/configure.in b/src/modules/Perl/configure.in index 0ec9587891..5d800c1294 100644 --- a/src/modules/Perl/configure.in +++ b/src/modules/Perl/configure.in @@ -1,15 +1,15 @@ -# $Id: configure.in,v 1.4 1999/01/01 00:56:45 hubbe Exp $ +# $Id: configure.in,v 1.5 1999/01/08 08:51:04 hubbe Exp $ AC_INIT(perlmod.c) AC_CONFIG_HEADER(perl_machine.h) AC_MODULE_INIT() +AC_CHECK_PROGS(perl, perl perl5, x) + AC_CACHE_VAL(pike_cv_perlmod_have_perl, [ pike_cv_perlmod_have_perl=no -AC_CHECK_PROGS(perl, perl perl5, x) - objs= if test x$perl != xx ; then @@ -58,6 +58,10 @@ fi if test "x$pike_cv_perlmod_have_perl" = xyes ; then extra_objs='perlxsi.o' + if test "x$PERL_CCFLAGS" = x ; then + PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts` + PERL_CCFLAGS=`perl -MExtUtils::Embed -e ccopts` + fi AC_DEFINE(HAVE_PERL) AC_MSG_RESULT(yes) else -- GitLab