AC_MSG_CHECKING([if there's a valid user specified php-config]) if test -f "$with_php/php-config"; then PHPCONFIG="${with_php}/php-config" AC_MSG_RESULT([Found at ${PHPCONFIG}]) else AC_MSG_RESULT([Not specified, checking elsewhere]) AC_PATH_PROG(PHPCONFIG,php-config) fi