Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
amavis-stats
> amavis-stats-configure.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File amavis-stats-configure.patch of Package amavis-stats
--- configure.in.orig 2008-10-14 10:45:35.000000000 +0200 +++ configure.in 2008-10-14 19:23:14.000000000 +0200 @@ -16,45 +16,16 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. dnl -AC_INIT(config.rrdtool) - dnl dnl Checks for the configure options dnl -AC_DEFUN([AS_WITH_PHP_CONFIG],[ - AC_ARG_WITH(php-config, -[ --with-php-config=PATH],[ - PHP_CONFIG=$withval -],[ - PHP_CONFIG=php-config -]) - -if test -n "$PHP_CONFIG"; then - PHP_SHLIB_SUFFIX_NAMES - PHP_PREFIX=`$PHP_CONFIG --prefix 2>/dev/null` - PHP_INCLUDES=`$PHP_CONFIG --includes 2>/dev/null` - PHP_EXTENSION_DIR=`$PHP_CONFIG --extension-dir` - - if test -z "$PHP_PREFIX"; then - AC_MSG_ERROR(Cannot find php-config. Please use --with-php-config=PATH) - fi - AC_MSG_CHECKING(for PHP prefix) - AC_MSG_RESULT($PHP_PREFIX) - AC_MSG_CHECKING(for PHP includes) - AC_MSG_RESULT($PHP_INCLUDES) - AC_MSG_CHECKING(for PHP extension directory) - AC_MSG_RESULT($PHP_EXTENSION_DIR) -fi -]) - CONFIGURE_PART(Configuring build) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE(amavis-stats, "0.1.22") -build_php="no" enable_static=no enable_shared=yes @@ -66,7 +37,7 @@ AC_PATH_PROG(CP, cp, cp) AC_PATH_PROG(CHMOD, chmod, chmod) AC_PATH_PROG(CHOWN, chown, chown) -AC_PATH_PROGS(GZCAT, gzcat, no) +AC_PATH_PROGS(GZCAT, zcat, no) AC_PATH_PROGS(NROFF, gnroff nroff) AC_PATH_PROGS(TROFF, groff troff) AC_PROG_LIBTOOL @@ -104,7 +75,7 @@ if test "$GZCAT" = no; then AC_MSG_ERROR([ -gzcat not found!!! +zcat not found!!! ]) fi @@ -134,10 +105,6 @@ fi -if test "$enable_debug" != "yes"; then - PHP_SET_LIBTOOL_VARIABLE([--silent]) -fi - sinclude(config.rrdtool) AC_ARG_WITH(log-file, @@ -277,7 +244,6 @@ build_startup="no" fi -AM_CONDITIONAL(BUILD_PHP, test "$build_php" = "yes") AM_CONDITIONAL(BUILD_STARTUP, test "$build_startup" = "yes") AM_CONDITIONAL(BUILD_DARWIN_TIGER, test "$is_darwin" = "TIGER") AM_CONDITIONAL(SETRGID, test "$HAVE_SETRGID" = "yes") @@ -359,7 +325,6 @@ sbin/Makefile share/Makefile startup/Makefile -php/Makefile Makefile ]) @@ -404,7 +369,6 @@ Perl Version: $PERL_VERSION Perl setrgid: $HAVE_SETRGID Startup Item: $can_build_startup - PHP module: $build_php Thank you for choosing $PACKAGE-$VERSION