summaryrefslogtreecommitdiff
path: root/Zend/configure.in
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2000-12-02 08:14:58 +0000
committerSVN Migration <svn@php.net>2000-12-02 08:14:58 +0000
commitdad882cd33b686ba5b5dd97915c3e827abcc2ea6 (patch)
treeb07b918b82cfc2db60c05c574ce527ecf600adaf /Zend/configure.in
parentc277e3f98dab989279d2f6ea72068e0bdc884ac5 (diff)
downloadphp-git-php-4.0.4RC3.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_4_0_4RC3'.php-4.0.4RC3
Diffstat (limited to 'Zend/configure.in')
-rw-r--r--Zend/configure.in45
1 files changed, 45 insertions, 0 deletions
diff --git a/Zend/configure.in b/Zend/configure.in
new file mode 100644
index 0000000000..50ead57d93
--- /dev/null
+++ b/Zend/configure.in
@@ -0,0 +1,45 @@
+dnl $Id$
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(zend.c)
+AM_INIT_AUTOMAKE(zend, 0.80A)
+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
+
+dnl We want this one before the checks, so the checks can modify CFLAGS.
+test -z "$CFLAGS" && auto_cflags=1
+
+sinclude(Zend.m4)
+
+LIBZEND_BASIC_CHECKS
+
+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
+
+EXTRA_LIBS="$LIBS"
+LIBS=""
+AC_SUBST(EXTRA_LIBS)
+AC_OUTPUT(Makefile)
+
+# Local Variables:
+# tab-width: 4
+# End: