PHP 4.0 Bug #5027: configure assumes bash

From: Date: Wed, 14 Jun 2000 09:41:21 +0000
Subject: PHP 4.0 Bug #5027: configure assumes bash
Groups: php.dev 
Request: Send a blank email to php-dev+get-21296@lists.php.net to get a copy of this message
From: s.bennett@lancaster.ac.uk Operating system: Solaris 2.7 PHP version: 4.0.0 Release PHP Bug Type: Installation problem Bug description: configure assumes bash [the same problem is described in bug #4564, but no solution is suggested] I used: ./configure --prefix=/usr/local/packages/php-4.0.0 --with-apxs=/usr/local/packages/apache-1.3.12/bin/apxs Most things seem fine, but then I get: checking for Apache module support via DSO through APXS... ./configure: !: not found yes Looking in configure, I see [line 2962]: if ! $APXS -q CFLAGS >/dev/null 2>&1; then This works in bash, but AFAIK isn't standard bourne shell syntax, eg: if ! false; then echo true; fi works in /bin/bash, but not /bin/sh (not on my system anyway) I've tried changing line 2962 to read: if $APXS -q CFLAGS >/dev/null 2>&1; then true; else and this seems to work for me. Steve.

« previous php.dev (#21296) next »