0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2362N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 0N/A# Use GCC on S11 to work around build issues with Studio 12.1 # We patch configure.in to allow building just modules (no SAPI's), e.g. intl. # Since we are sharing the source, regenerate configure here. # .conf files go under /etc, not /usr # var doesn't go under /usr either! # Nor does php.ini and its friends. # 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. sed -e 's%(cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build)%(cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build)%' | \ # For picking up php.ini-development and -production # The test results are unstable between runs