2009-02-07 19:03:00 +01:00
|
|
|
$NetBSD: patch-an,v 1.7 2009/02/07 18:03:00 adrianp Exp $
|
2007-06-08 14:29:53 +02:00
|
|
|
|
2009-02-07 19:03:00 +01:00
|
|
|
--- configure.orig 2008-12-07 11:31:12.000000000 -0800
|
2007-06-08 14:29:53 +02:00
|
|
|
+++ configure
|
2009-02-07 19:03:00 +01:00
|
|
|
@@ -12471,7 +12471,7 @@ EOF
|
2007-06-08 14:29:53 +02:00
|
|
|
|
2007-09-02 23:12:40 +02:00
|
|
|
echo "$ac_t""$PHP_PATH_INFO_CHECK" 1>&6
|
2007-06-08 14:29:53 +02:00
|
|
|
|
2007-09-02 23:12:40 +02:00
|
|
|
- INSTALL_IT="@echo \"Installing PHP CGI binary: \$(INSTALL_ROOT)\$(bindir)/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/\$(program_prefix)php-cgi\$(program_suffix)\$(EXEEXT)"
|
|
|
|
+ INSTALL_IT="@echo \"Installing PHP CGI binary: \$(INSTALL_ROOT)@CGIDIR@/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)@CGIDIR@/php"
|
2007-06-08 14:29:53 +02:00
|
|
|
|
|
|
|
PHP_SAPI=cgi
|
|
|
|
|
2009-02-07 19:03:00 +01:00
|
|
|
@@ -21467,7 +21467,7 @@ fi
|
|
|
|
if test "$found_openssl" = "no"; then
|
|
|
|
|
|
|
|
if test "$PHP_OPENSSL_DIR" = "yes"; then
|
|
|
|
- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
|
|
|
|
+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
|
|
|
|
fi
|
|
|
|
|
|
|
|
for i in $PHP_OPENSSL_DIR; do
|
|
|
|
@@ -34588,7 +34588,7 @@ fi
|
|
|
|
if test "$found_openssl" = "no"; then
|
|
|
|
|
|
|
|
if test "$PHP_OPENSSL_DIR" = "yes"; then
|
|
|
|
- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
|
|
|
|
+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
|
|
|
|
fi
|
|
|
|
|
|
|
|
for i in $PHP_OPENSSL_DIR; do
|
|
|
|
@@ -48878,7 +48878,7 @@ fi
|
|
|
|
if test "$found_openssl" = "no"; then
|
|
|
|
|
|
|
|
if test "$PHP_OPENSSL_DIR" = "yes"; then
|
|
|
|
- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
|
|
|
|
+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
|
|
|
|
fi
|
|
|
|
|
|
|
|
for i in $PHP_OPENSSL_DIR; do
|
|
|
|
@@ -87996,7 +87996,7 @@ fi
|
|
|
|
if test "$found_openssl" = "no"; then
|
|
|
|
|
|
|
|
if test "$PHP_OPENSSL_DIR" = "yes"; then
|
|
|
|
- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
|
|
|
|
+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
|
|
|
|
fi
|
|
|
|
|
|
|
|
for i in $PHP_OPENSSL_DIR; do
|
|
|
|
@@ -108297,12 +108297,7 @@ old_CC=$CC
|
2008-10-28 08:07:58 +01:00
|
|
|
if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
|
|
|
|
CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
|
|
|
|
INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
|
|
|
|
- cat >meta_ccld<<EOF
|
|
|
|
-#! /bin/sh
|
|
|
|
-exec $CC $ac_cv_pthreads_cflags \$@
|
|
|
|
-EOF
|
|
|
|
- CC="$abs_builddir/meta_ccld"
|
|
|
|
- chmod +x meta_ccld
|
|
|
|
+ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
|