60964,60965c60047,60048 < MYSQL_DIR=/home/yuan520/server/mysql51 < MYSQL_INC_DIR=/home/yuan520/server/mysql51/include/mysql --- > MYSQL_DIR= > MYSQL_INC_DIR=
60967,60977c60050,60060 <# for i in $PHP_MYSQL /home/yuan520/server/mysql51/lib/mysql/ /usr; do
<# if test -r $i/include/mysql/mysql.h; then
<# MYSQL_DIR=$i
<# MYSQL_INC_DIR=$i/include/mysql
<# break
<# elif test -r $i/include/mysql.h; then
<# MYSQL_DIR=$i
<# MYSQL_INC_DIR=$i/include
<# break
<# fi
<# done
--- >for i in $PHP_MYSQL/usr/local/usr;do >if test -r $i/include/mysql/mysql.h; then > MYSQL_DIR=$i > MYSQL_INC_DIR=$i/include/mysql > break > elif test -r $i/include/mysql.h; then > MYSQL_DIR=$i > MYSQL_INC_DIR=$i/include > break > fi > done
60999,61009c60082,60090 <# for i in $PHP_LIBDIR $PHP_LIBDIR/mysql; do
<#
<# str="$MYSQL_DIR/$i/lib$MYSQL_LIBNAME.*"
<# for j in `echo $str`; do
<# if test -r $j; then
<# MYSQL_LIB_DIR=$MYSQL_DIR/$i
<# break 2
<# fi
<# done
<#
<# done
--- >for i in $PHP_LIBDIR$PHP_LIBDIR/mysql;do > > str="$MYSQL_DIR/$i/lib$MYSQL_LIBNAME.*" >for j in `echo $str`;do >if test -r $j; then > MYSQL_LIB_DIR=$MYSQL_DIR/$i > break 2 > fi > done
61011c60092 < MYSQL_LIB_DIR=/home/yuan520/server/mysql51/lib --- > done