Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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