]> git.pld-linux.org Git - packages/php.git/blame - php-oracle9.patch
- fix for current libtool versions
[packages/php.git] / php-oracle9.patch
CommitLineData
02c06e30
JR
1diff -ur php-4.0.6/ext/oracle/config.m4 php-4.0.6.ora/ext/oracle/config.m4
2--- php-4.0.6/ext/oracle/config.m4 Sat May 12 11:29:07 2001
3+++ php-4.0.6.ora/ext/oracle/config.m4 Mon Sep 17 16:16:43 2001
4@@ -5,6 +5,8 @@
5 if test -s "$ORACLE_DIR/orainst/unix.rgs"; then
6 ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
7 test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3
68abf4df 8+ elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
02c06e30 9+ ORACLE_VERSION=9.0
68abf4df 10 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then
02c06e30 11 ORACLE_VERSION=8.1
68abf4df 12 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.1.0; then
02c06e30
JR
13@@ -148,6 +150,10 @@
14 ;;
15
16 8.1)
17+ PHP_ADD_LIBRARY(clntsh, 1, ORACLE_SHARED_LIBADD)
18+ PHP_ADD_LIBPATH($ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
19+ ;;
20+ 9.0)
21 PHP_ADD_LIBRARY(clntsh, 1, ORACLE_SHARED_LIBADD)
22 PHP_ADD_LIBPATH($ORACLE_DIR/lib, ORACLE_SHARED_LIBADD)
23 ;;
This page took 0.068996 seconds and 4 git commands to generate.