blob: 3847b0834b8ded271c5c2622045eb8e0389ffb03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-au,v 1.5 2007/03/11 16:43:49 grant Exp $
--- ext/oracle/config.m4.orig 2004-12-30 18:02:18.000000000 +1100
+++ ext/oracle/config.m4
@@ -7,6 +7,8 @@ AC_DEFUN([AC_ORACLE_VERSION],[
if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
+ elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then
+ ORACLE_VERSION=10.1
elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
ORACLE_VERSION=9.0
elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then
@@ -141,7 +143,7 @@ if test "$PHP_ORACLE" != "no"; then
PHP_ADD_LIBRARY_WITH_PATH(clntsh, $ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
;;
- 8.1|9.0)
+ 8.1|9.0|10.1)
PHP_ADD_LIBRARY(clntsh, 1, ORACLE_SHARED_LIBADD)
PHP_ADD_LIBPATH($ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
;;
|