php-src/Zend/configure.in

46 lines
947 B
Plaintext
Raw Normal View History

1999-04-08 02:10:10 +08:00
dnl $Id$
dnl Process this file with autoconf to produce a configure script.
AC_INIT(zend.c)
AM_INIT_AUTOMAKE(zend, 0.80A, nodefine)
1999-04-20 04:10:26 +08:00
AM_CONFIG_HEADER(zend_config.h)
1999-04-08 02:10:10 +08:00
AM_SANITY_CHECK
AM_MAINTAINER_MODE
1999-12-17 21:36:15 +08:00
AC_PROG_CC
AM_PROG_LEX
AM_PROG_CC_STDC
1999-04-20 04:10:26 +08:00
ZEND_VERSION=$VERSION
1999-04-08 02:10:10 +08:00
dnl We want this one before the checks, so the checks can modify CFLAGS.
test -z "$CFLAGS" && auto_cflags=1
1999-12-20 05:02:54 +08:00
sinclude(Zend.m4)
1999-12-17 21:36:15 +08:00
LIBZEND_BASIC_CHECKS
1999-04-08 02:10:10 +08:00
1999-10-04 23:20:12 +08:00
AM_PROG_LIBTOOL
if test "$enable_debug" != "yes"; then
AM_SET_LIBTOOL_VARIABLE([--silent])
fi
1999-04-08 02:10:10 +08:00
dnl
dnl Check for /usr/pkg/{lib,include} which is where NetBSD puts binary
dnl and source packages. This should be harmless on other OSs.
dnl
if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
CFLAGS="$CFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
fi
1999-12-17 21:36:15 +08:00
LIBZEND_ENABLE_DEBUG
LIBZEND_OTHER_CHECKS
1999-10-04 23:20:12 +08:00
EXTRA_LIBS="$LIBS"
LIBS=""
AC_SUBST(EXTRA_LIBS)
AC_OUTPUT(Makefile)
1999-04-08 02:10:10 +08:00
# Local Variables:
# tab-width: 4
# End: