You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-php-ext-configure 434B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. ext="$1"
  4. extDir="/usr/src/php/ext/$ext"
  5. if [ -z "$ext" ] || ! [ -d "$extDir" ]; then
  6. echo >&2 "usage: $0 ext-name [configure flags]"
  7. echo >&2 " ie: $0 gd --with-jpeg-dir=/usr/local/something"
  8. echo >&2
  9. echo >&2 'Possible values for ext-name:'
  10. echo >&2 $(find /usr/src/php/ext -mindepth 2 -maxdepth 2 -type f -name 'config.m4' | cut -d/ -f6 | sort)
  11. exit 1
  12. fi
  13. shift
  14. set -x
  15. cd "$extDir"
  16. phpize
  17. ./configure "$@"