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.
9
2000
/
05
/
20
18
:
15
:
10
leif
Exp $
+
# $Id: configure.in,v 1.
10
2001
/
02
/
13
13
:
02
:
06
mirar
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="yes"])
-
+
PIKE_FEATURE_WITHOUT(Perl,Perl...............)
+
if test "x$with_perl" = "xno"; then :; else
-
+
PIKE_FEATURE_NODEP(Perl,Perl...............)
+
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
pike.git/src/modules/Perl/configure.in:73:
]) 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)
+
PIKE_FEATURE_OK(Perl,Perl...............)
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 )