Skip to content
Newer
Older
100644 49 lines (39 sloc) 1018 Bytes
573b460 @andigutmans Zend Library
andigutmans authored
1 dnl $Id$
2 dnl Process this file with autoconf to produce a configure script.
3
4 AC_INIT(zend.c)
af97475 Use the hardly-documented third parameter of AM_INIT_AUTOMAKE to supp…
Sascha Schumann authored
5 AM_INIT_AUTOMAKE(zend, 0.80A, nodefine)
b227e38 convert to automake
Stig S. Bakken authored
6 AM_CONFIG_HEADER(zend_config.h)
573b460 @andigutmans Zend Library
andigutmans authored
7 AM_SANITY_CHECK
b9fb0b8 @zsuraski If a require() dies, we must bail out (since it corrupts an existing …
zsuraski authored
8 AM_MAINTAINER_MODE
91549cf Move config code into separate file
Sascha Schumann authored
9 AC_PROG_CC
10 AM_PROG_LEX
11 AM_PROG_CC_STDC
b227e38 convert to automake
Stig S. Bakken authored
12 ZEND_VERSION=$VERSION
4589cef - Added AC_ZEND_C_BIGENDIAN macro (as requested by Andi)
foobar authored
13 AC_ZEND_C_BIGENDIAN
573b460 @andigutmans Zend Library
andigutmans authored
14
15 dnl We want this one before the checks, so the checks can modify CFLAGS.
16 test -z "$CFLAGS" && auto_cflags=1
17
4d2b071 @zsuraski libzend -> Zend
zsuraski authored
18 sinclude(Zend.m4)
91549cf Move config code into separate file
Sascha Schumann authored
19
20 LIBZEND_BASIC_CHECKS
5c12ee2 @andigutmans - MFZE1
andigutmans authored
21 LIBZEND_LIBDL_CHECKS
22 LIBZEND_DLSYM_CHECK
573b460 @andigutmans Zend Library
andigutmans authored
23
8ae3f4b Use libtool to build.
Sascha Schumann authored
24 AM_PROG_LIBTOOL
25 if test "$enable_debug" != "yes"; then
26 AM_SET_LIBTOOL_VARIABLE([--silent])
27 fi
573b460 @andigutmans Zend Library
andigutmans authored
28
29 dnl
30 dnl Check for /usr/pkg/{lib,include} which is where NetBSD puts binary
31 dnl and source packages. This should be harmless on other OSs.
32 dnl
33 if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
34 CFLAGS="$CFLAGS -I/usr/pkg/include"
35 LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
36 fi
37
91549cf Move config code into separate file
Sascha Schumann authored
38 LIBZEND_ENABLE_DEBUG
39 LIBZEND_OTHER_CHECKS
0ac169b Build communication channel and add checks for C++ library
Sascha Schumann authored
40
4935636 Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824
Adam Dickmeiss authored
41 ZEND_EXTRA_LIBS="$LIBS"
8ae3f4b Use libtool to build.
Sascha Schumann authored
42 LIBS=""
4935636 Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824
Adam Dickmeiss authored
43 AC_SUBST(ZEND_EXTRA_LIBS)
8ae3f4b Use libtool to build.
Sascha Schumann authored
44 AC_OUTPUT(Makefile)
573b460 @andigutmans Zend Library
andigutmans authored
45
46 # Local Variables:
47 # tab-width: 4
48 # End:
Something went wrong with that request. Please try again.