Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (36 sloc) 0.94 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)
b227e38 convert to automake
Stig S. Bakken authored
5 AM_INIT_AUTOMAKE(zend, 0.80A)
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 op_...
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
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
91549cf Move config code into separate file
Sascha Schumann authored
17 sinclude(libzend.m4)
18
19 LIBZEND_BASIC_CHECKS
573b460 @andigutmans Zend Library
andigutmans authored
20
8ae3f4b Use libtool to build.
Sascha Schumann authored
21 AM_PROG_LIBTOOL
22 if test "$enable_debug" != "yes"; then
23 AM_SET_LIBTOOL_VARIABLE([--silent])
24 fi
573b460 @andigutmans Zend Library
andigutmans authored
25
26 dnl
27 dnl Check for /usr/pkg/{lib,include} which is where NetBSD puts binary
28 dnl and source packages. This should be harmless on other OSs.
29 dnl
30 if test -d /usr/pkg/include -a -d /usr/pkg/lib ; then
31 CFLAGS="$CFLAGS -I/usr/pkg/include"
32 LDFLAGS="$LDFLAGS -L/usr/pkg/lib"
33 fi
34
91549cf Move config code into separate file
Sascha Schumann authored
35 LIBZEND_ENABLE_DEBUG
36 LIBZEND_OTHER_CHECKS
0ac169b Build communication channel and add checks for C++ library
Sascha Schumann authored
37
8ae3f4b Use libtool to build.
Sascha Schumann authored
38 EXTRA_LIBS="$LIBS"
39 LIBS=""
40 AC_SUBST(EXTRA_LIBS)
41 AC_OUTPUT(Makefile)
573b460 @andigutmans Zend Library
andigutmans authored
42
43 # Local Variables:
44 # tab-width: 4
45 # End:
Something went wrong with that request. Please try again.