pike.git/
src/
modules/
Perl/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-04-19
2000-04-19 17:56:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>
23a6dab154c39646c6734d9997c3409db0d13cd7 (
80
lines) (+
45
/-
35
)
[
Show
|
Annotate
]
Branch:
7.9
Now actually looks at the --with{,out}-perl argument.
Rev: src/modules/Perl/configure.in:1.8
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,
70:
PERL_CCFLAGS='' AC_MSG_RESULT(no) fi
+
fi
-
+
AC_SUBST(perl) AC_SUBST(extra_objs) AC_SUBST(PERL_LDFLAGS)