~ubuntu-branches/debian/jessie/suphp/jessie

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Lacour
  • Date: 2005-12-29 17:53:48 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051229175348-3whugesukld1sw5p
Tags: 0.6.1-1
* New upstream release 
* libtool update (closes: #342676)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Process this file with autoconf to produce a configure script.
2
2
 
3
3
# Initialize
4
 
AC_INIT([suPHP], [0.6.0], [sebastian.marsching@suphp.org], [suphp])
 
4
AC_INIT([suPHP], [0.6.1], [sebastian.marsching@suphp.org], [suphp])
5
5
 
6
6
# Auxiliary tools
7
7
AC_CONFIG_AUX_DIR([config])
21
21
# Look for compiler
22
22
AC_PROG_CC
23
23
AC_PROG_CXX
24
 
AC_PROG_LIBTOOL
 
24
AM_PROG_LIBTOOL
25
25
 
26
26
# Checks for header files.
27
27
AC_HEADER_STDC
28
28
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
29
29
 
 
30
# Find apr-config
 
31
 
 
32
APR_FIND_APR([], [], [1])
 
33
 
30
34
# Determine Apache version and find apxs
31
35
 
32
36
AC_MSG_CHECKING([for dynamic Apache module support (via APXS)])
74
78
    
75
79
    APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
76
80
    APXS_LIBEXECDIR=`$APXS -q LIBEXECDIR`
77
 
    if test x"{$APACHE_VERSION_2}" = xtrue ; then \
 
81
    if test x"${APACHE_VERSION_2}" = xtrue ; then \
78
82
      APXS_EXTRA_CFLAGS=`$APXS -q EXTRA_CFLAGS`
79
83
    fi
80
84
    if test x"${APACHE_VERSION_1_3}" = xtrue; then \
92
96
    AC_MSG_RESULT(no)
93
97
fi
94
98
 
 
99
if test x"${APACHE_VERSION_2}" = xtrue ; then \
 
100
dnl For Apache 2.x APR is needed
 
101
    if test x"${apr_found}" = xyes ; then \
 
102
        APR_INCLUDEDIR=`${apr_config} --includedir`
 
103
        AC_SUBST([APR_INCLUDEDIR])
 
104
    else
 
105
        AC_MSG_ERROR([APR is needed to build mod_suphp for Apache 2.x but was not found])
 
106
    fi
 
107
fi
95
108
 
96
109
# Get uid/gid mode
97
110