$NetBSD: patch-configure,v 1.5.2.1 2014/06/01 13:20:22 spz Exp $ --- configure.orig 2014-04-30 08:40:22.000000000 +0000 +++ configure @@ -23604,7 +23604,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 @@ -25754,7 +25754,7 @@ $as_echo "yes" >&6; } PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags" - for header_file in ext/sqlite3/libsqlite/sqlite3.h; do + for header_file; do unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` @@ -36811,7 +36811,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 @@ -48213,7 +48213,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 @@ -65189,7 +65189,7 @@ rm -f core *.core core.conftest.* gmon.o fi -if test "$flock_type" == "unknown"; then +if test "$flock_type" = "unknown"; then as_fn_error $? "Don't know how to define struct flock on this system, set --enable-opcache=no" "$LINENO" 5 fi @@ -104582,12 +104582,7 @@ old_CC=$CC 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<