diff options
author | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:34:21 -0400 |
---|---|---|
committer | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:34:21 -0400 |
commit | 0e920280a2e04b110827bb766b9f29e3d581c4ee (patch) | |
tree | 8f2125f3d00fe3089e3b94adb06f04479ee15f2a /Zend/configure.in | |
download | php-0e920280a2e04b110827bb766b9f29e3d581c4ee.tar.gz |
Imported Upstream version 5.0.4upstream/5.0.4
Diffstat (limited to 'Zend/configure.in')
-rw-r--r-- | Zend/configure.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Zend/configure.in b/Zend/configure.in new file mode 100644 index 000000000..a9bf89f16 --- /dev/null +++ b/Zend/configure.in @@ -0,0 +1,51 @@ +dnl $Id: configure.in,v 1.34.2.2 2005/01/22 20:29:39 sniper Exp $ +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(zend.c) +AM_INIT_AUTOMAKE(zend, 0.80A, nodefine) +AM_CONFIG_HEADER(zend_config.h) +AM_SANITY_CHECK +AM_MAINTAINER_MODE +AC_PROG_CC +AM_PROG_LEX +AM_PROG_CC_STDC +ZEND_VERSION=$VERSION +AC_ZEND_C_BIGENDIAN + +dnl We want this one before the checks, so the checks can modify CFLAGS. +test -z "$CFLAGS" && auto_cflags=1 + +AC_CHECK_SIZEOF(long, 8) +AC_CHECK_SIZEOF(int, 4) + +sinclude(Zend.m4) + +LIBZEND_BASIC_CHECKS +LIBZEND_LIBDL_CHECKS +LIBZEND_DLSYM_CHECK + +AM_PROG_LIBTOOL +if test "$enable_debug" != "yes"; then + AM_SET_LIBTOOL_VARIABLE([--silent]) +fi + +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 + +LIBZEND_ENABLE_DEBUG +LIBZEND_OTHER_CHECKS + +ZEND_EXTRA_LIBS="$LIBS" +LIBS="" +AC_SUBST(ZEND_EXTRA_LIBS) +AC_OUTPUT(Makefile) + +# Local Variables: +# tab-width: 4 +# End: |