pike.git
/
src
/
modules
/
Perl
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Perl/configure.in:1:
-
# $Id: configure.in,v 1.
7
2000/
02
/
09
01
:
16
:
07
leif
Exp $
+
# $Id: configure.in,v 1.
8
2000/
04
/
19
17
:
56
:
54
grubba
Exp $
AC_INIT(perlmod.c) AC_CONFIG_HEADER(perl_machine.h) AC_MODULE_INIT()
-
+
AC_ARG_WITH(perl, [ --with-perl enable the Perl module],[],
+
[with_perl="no"])
+
+
if test "x$with_perl" = "xno"; then :; else
+
+
if test "x$with_perl" = "xyes"; then
AC_CHECK_PROGS(perl, perl perl5, x)
-
+
else
+
AC_CHECK_PROGS(perl, "$with_perl" perl perl5, x)
+
fi
AC_MSG_CHECKING(if perl is embeddable) AC_CACHE_VAL(pike_cv_perlmod_have_perl, [ pike_cv_perlmod_have_perl=no objs= if test x$perl != xx ; then # We have perl, but do we have perlembed?
pike.git/src/modules/Perl/configure.in:63:
PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts` PERL_CCFLAGS=`perl -MExtUtils::Embed -e ccopts` fi AC_DEFINE(HAVE_PERL) AC_MSG_RESULT(yes) else PERL_LDFLAGS='' PERL_CCFLAGS='' AC_MSG_RESULT(no) fi
+
fi
-
+
AC_SUBST(perl) AC_SUBST(extra_objs) AC_SUBST(PERL_LDFLAGS) AC_SUBST(PERL_CCFLAGS) AC_OUTPUT(Makefile,echo FOO >stamp-h )