#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# We patch configure.in to allow building just modules (no SAPI's), e.g. intl.
# Since we are sharing the source, regenerate configure here.
# Without this, the the build seems to interrogate GCC for potential library
# search path information and then embed it into the RUNPATH of selected ELF
# files it creates. This includes GCC private directories
# .conf files go under /etc, not /usr
# var doesn't go under /usr either!
# Nor does php.ini and its friends.
# icu's switch to g++
# 21090206 icu should build C++ to C++11
# Causes this in php forcing php to switch also
# 23003672 PHP fails all or most tests
# Use openldap
# This is good enough to fool configure
# but ensure "make" gets the point
# Disable SSLv2 and SSLv3 for security reasons
# Adapted from PHP 5.3 Makefile.
# Creates alternate versions of the scripts needed for building extensions
# separately, since the generated versions of these scripts hardcode configuring
# for a PHP that is installed on the system.
( set -e; \
sed -e 's%(cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build)%(cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build)%' | \
> proto-scripts/phpize-proto ; \
chmod 755 proto-scripts/phpize-proto ) ; \
( set -e; \
chmod 755 proto-scripts/php-config-proto ) ;
# test failures; keep going
COMPONENT_TEST_ARGS += -k -i
# different results for different architectures
'-e "/^make/d" '
# The test results are unstable between runs