diff options
author | Dan Kalowsky <kalowsky@php.net> | 2000-08-24 19:27:21 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2000-08-24 19:27:21 +0000 |
commit | b853731aaf393c65656af9e3be1fda7e8ff3fad9 (patch) | |
tree | 59ab3b6b6c5dcf76583d916ccf2b37b75d3b4d9b /ext/odbc/config.m4 | |
parent | b224dd96bd5f9a050945981b8de2b84cea768483 (diff) | |
download | php-git-b853731aaf393c65656af9e3be1fda7e8ff3fad9.tar.gz |
prefer -gt to -lt, and dropped the version number to 2 instead of 3
Diffstat (limited to 'ext/odbc/config.m4')
-rw-r--r-- | ext/odbc/config.m4 | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4 index f278cd0cbc..db255722ab 100644 --- a/ext/odbc/config.m4 +++ b/ext/odbc/config.m4 @@ -17,13 +17,13 @@ AC_DEFUN(AC_FIND_SOLID_LIBS,[ ac_solid_os=lux fi;; SunOS) ac_solid_os=ssx;; # should we deal with SunOS 4? - FreeBSD) if test "$ac_solid_uname_r" -lt "3"; then + FreeBSD) if test `expr $ac_solid_uname_r : '\(.\)'` -gt "2"; then AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ]) ac_solid_os=fex - else + else AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ]) ac_solid_os=fbx - fi;; + fi # "uname -s" on SCO makes no sense. esac @@ -39,21 +39,24 @@ AC_DEFUN(AC_FIND_SOLID_LIBS,[ fi ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.so | cut -d' ' -f1` - if test ! -f $ODBC_LIBS; then - ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.a | cut -d' ' -f1` - fi - if test ! -f $ODBC_LIBS; then - ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.so| cut -d' ' -f1` - fi - if test ! -f $ODBC_LIBS; then - ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.a | cut -d' ' -f1` - fi - if test ! -f $ODBC_LIBS; then - ODBC_LIBS=`echo $1/bcl${ac_solid_os}*.so | cut -d' ' -f1` - fi - if test ! -f $ODBC_LIBS; then - ODBC_LIBS=`echo $1/bcl${ac_solid_os}*.a | cut -d' ' -f1` - fi + if test ! -f $ODBC_LIBS; then + echo $ODBC_LIBS + ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.a | cut -d' ' -f1` + fi + if test ! -f $ODBC_LIBS; then + echo $ODBC_LIBS + ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.so| cut -d' ' -f1` + fi + if test ! -f $ODBC_LIBS; then + $ODBC_LIBS + ODBC_LIBS=`echo $1/${ac_solid_prefix}${ac_solid_os}${ac_solid_version}.a | cut -d' ' -f1` + fi +if test ! -f $ODBC_LIBS; then + ODBC_LIBS=`echo $1/bcl${ac_solid_os}*.so | cut -d' ' -f1` + fi + if test ! -f $ODBC_LIBS; then + ODBC_LIBS=`echo $1/bcl${ac_solid_os}*.a | cut -d' ' -f1` + fi AC_MSG_RESULT(`echo $ODBC_LIBS | sed -e 's!.*/!!'`) ]) |