summaryrefslogtreecommitdiff
path: root/ext/oracle/config.m4
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-06-19 09:16:58 +0000
committerThies C. Arntzen <thies@php.net>2000-06-19 09:16:58 +0000
commit388195de8b96f7cb1ade39824e43677335e0d0ba (patch)
tree7a44b5581dab6b5f02359450e34eb17a690d73b9 /ext/oracle/config.m4
parent520602ae4ee7e4ea946b94c3bb46a3d2e8b8ee30 (diff)
downloadphp-git-388195de8b96f7cb1ade39824e43677335e0d0ba.tar.gz
some adjustments to the sysliblist
# still needs some fixing - sascha?
Diffstat (limited to 'ext/oracle/config.m4')
-rw-r--r--ext/oracle/config.m420
1 files changed, 2 insertions, 18 deletions
diff --git a/ext/oracle/config.m4 b/ext/oracle/config.m4
index a514fe13cf..7f2cdf08c7 100644
--- a/ext/oracle/config.m4
+++ b/ext/oracle/config.m4
@@ -52,15 +52,9 @@ if test "$PHP_ORACLE" != "no"; then
fi
if test -f "$ORACLE_DIR/lib/sysliblist"; then
- ORACLE_SYSLIB="`cat $ORACLE_DIR/lib/sysliblist | sed -e 's/-l//g'`"
+ PHP_EVAL_LIBLINE(`$ORACLE_DIR/lib/sysliblist`, ORACLE_SHARED_LIBADD)
elif test -f "$ORACLE_DIR/rdbms/lib/sysliblist"; then
- ORACLE_SYSLIB="`cat $ORACLE_DIR/rdbms/lib/sysliblist | sed -e 's/-l//g'`"
- fi
-
- if test -n "$ORACLE_SYSLIB"; then
- for oracle_slib in `echo $ORACLE_SYSLIB`; do
- AC_ADD_LIBRARY_WITH_PATH($oracle_slib, "", ORACLE_SHARED_LIBADD)
- done
+ PHP_EVAL_LIBLINE(`$ORACLE_DIR/rdbms/lib/sysliblist`, ORACLE_SHARED_LIBADD)
fi
AC_ORACLE_VERSION($ORACLE_DIR)
@@ -162,14 +156,4 @@ if test "$PHP_ORACLE" != "no"; then
PHP_SUBST(ORACLE_SHARED_LIBADD)
PHP_SUBST(ORACLE_DIR)
PHP_SUBST(ORACLE_VERSION)
-
- # i have no idea if the following will work! thies@digicol.de 20000508
- if test "$CC" = "gcc" -a "`uname -sv`" = "AIX 4"; then
- if test "$ext_shared" = "yes"; then
- ORACLE_SHARED_LIBADD="$ORACLE_SHARED_LIBADD -nostdlib /lib/crt0_r.o /usr/lib/libpthreads.a /usr/lib/libc_r.a -lgcc"
- else
- LIBS="$LIBS -nostdlib /lib/crt0_r.o /usr/lib/libpthreads.a /usr/lib/libc_r.a -lgcc"
- fi
- fi
-
fi