Ticket #34560: patch-config.m4.diff
File patch-config.m4.diff, 726 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
config.m4
old new 31 31 32 32 if test "$PHP_SPIDERMONKEY" != "no"; then 33 33 for i in $PHP_SPIDERMONKEY /usr/local /usr; do 34 for j in js mozjs mozjs185; do34 for j in mozjs185 mozjs js; do 35 35 test -f $i/include/$j/jsapi.h && SPIDERMONKEY_BASEDIR=$i && SPIDERMONKEY_INCDIR=$i/include/$j && break 36 36 done 37 37 # test for the libname independantely 38 for j in js mozjs mozjs185; do39 test -f $i/lib/lib$j. so&& SPIDERMONKEY_LIBNAME=$j && break38 for j in mozjs185 mozjs js; do 39 test -f $i/lib/lib$j.@EXT@ && SPIDERMONKEY_LIBNAME=$j && break 40 40 done 41 41 test -f $i/include/$j/jsapi.h && break 42 42 done