cvs: php4 /ext/odbc config.m4
| From: | Dan Kalowsky | Date: | Thu, 24 Aug 2000 19:27:22 +0000 |
| Subject: | cvs: php4 /ext/odbc config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1377@lists.php.net to get a copy of this message | ||
kalowsky Thu Aug 24 12:27:22 2000 EDT
Modified files:
/php4/ext/odbc config.m4
Log:
prefer -gt to -lt, and dropped the version number to 2 instead of 3
Index: php4/ext/odbc/config.m4
diff -u php4/ext/odbc/config.m4:1.24 php4/ext/odbc/config.m4:1.25
--- php4/ext/odbc/config.m4:1.24 Wed Aug 23 05:59:50 2000
+++ php4/ext/odbc/config.m4 Thu Aug 24 12:27:21 2000
@@ -17,13 +17,13 @@
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 @@
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!.*/!!')
])