php/7.0/fpm/docker-php-ext-configure
Marcelo Andrade 11f5f37233 Add php-7.0.0alpha2 (Issue #108)
Adding 7.0 to travis

Fixes for the reviewed code

Fixes to have the directory as 7.0

Change version on travis

Remove GPG from Dockerfile on 7.0
2015-07-08 09:30:27 -07:00

20 lines
432 B
Bash
Executable File

#!/bin/bash
set -e
ext="$1"
extDir="/usr/src/php/ext/$ext"
if [ -z "$ext" -o ! -d "$extDir" ]; then
echo >&2 "usage: $0 ext-name [configure flags]"
echo >&2 " ie: $0 gd --with-jpeg-dir=/usr/local/something"
echo >&2
echo >&2 'Possible values for ext-name:'
echo >&2 $(find /usr/src/php/ext -mindepth 2 -maxdepth 2 -type f -name 'config.m4' | cut -d/ -f6 | sort)
exit 1
fi
shift
set -x
cd "$extDir"
phpize
./configure "$@"