Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (40 sloc) 1.056 kB
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_CC_STDC
b227e38 convert to automake
Stig S. Bakken authored
11 ZEND_VERSION=$VERSION
4589cef - Added AC_ZEND_C_BIGENDIAN macro (as requested by Andi)
foobar authored
12 AC_ZEND_C_BIGENDIAN
573b460 @andigutmans Zend Library
andigutmans authored
13
14 dnl We want this one before the checks, so the checks can modify CFLAGS.
15 test -z "$CFLAGS" && auto_cflags=1
16
af1f60e - Compile fix for systems without uint32_t typedef
foobar authored
17 AC_CHECK_SIZEOF(long, 8)
18 AC_CHECK_SIZEOF(int, 4)
19
4d2b071 @zsuraski libzend -> Zend
zsuraski authored
20 sinclude(Zend.m4)
91549cf Move config code into separate file
Sascha Schumann authored
21
22 LIBZEND_BASIC_CHECKS
5c12ee2 @andigutmans - MFZE1
andigutmans authored
23 LIBZEND_LIBDL_CHECKS
24 LIBZEND_DLSYM_CHECK
573b460 @andigutmans Zend Library
andigutmans authored
25
8ae3f4b Use libtool to build.
Sascha Schumann authored
26 AM_PROG_LIBTOOL
27 if test "$enable_debug" != "yes"; then
28 AM_SET_LIBTOOL_VARIABLE([--silent])
29 fi
573b460 @andigutmans Zend Library
andigutmans authored
30
31 dnl
32 dnl Check for /usr/pkg/{lib,include} which is where NetBSD puts binary
33 dnl and source packages. This should be harmless on other OSs.
34 dnl
35 if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
36 CFLAGS="$CFLAGS -I/usr/pkg/include"
37 LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
38 fi
39
91549cf Move config code into separate file
Sascha Schumann authored
40 LIBZEND_ENABLE_DEBUG
41 LIBZEND_OTHER_CHECKS
0ac169b Build communication channel and add checks for C++ library
Sascha Schumann authored
42
4935636 Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824
Adam Dickmeiss authored
43 ZEND_EXTRA_LIBS="$LIBS"
8ae3f4b Use libtool to build.
Sascha Schumann authored
44 LIBS=""
4935636 Zend config sets ZEND_EXTRA_LIBS. Bugs 14452, 14602, 14616, 14824
Adam Dickmeiss authored
45 AC_SUBST(ZEND_EXTRA_LIBS)
8ae3f4b Use libtool to build.
Sascha Schumann authored
46 AC_OUTPUT(Makefile)
573b460 @andigutmans Zend Library
andigutmans authored
47
48 # Local Variables:
49 # tab-width: 4
50 # End:
Something went wrong with that request. Please try again.