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.
4
1999/01/
01
01
:
03
:
31
hubbe Exp $
+
# $Id: configure.in,v 1.
5
1999/01/
07
13
:
39
:
27
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 # We have perl, but do we have perlembed? AC_MSG_CHECKING(if perl is embeddable) PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts` PERL_CCFLAGS=`perl -MExtUtils::Embed -e ccopts` if test "x$PERL_LDFLAGS$PERL_CCFLAGS" != x; then OLD_LIBS="${LDFLAGS-}"
pike.git/src/modules/Perl/configure.in:51:
],pike_cv_perlmod_have_perl=yes) LIBS="${OLD_LIBS-}" CFLAGS="${OLD_CFLAGS-}" fi 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 PERL_LDFLAGS='' PERL_CCFLAGS='' AC_MSG_RESULT(no) fi AC_SUBST(perl) AC_SUBST(extra_objs) AC_SUBST(PERL_LDFLAGS) AC_SUBST(PERL_CCFLAGS) AC_OUTPUT(Makefile,echo FOO >stamp-h )