diff options
author | Thies C. Arntzen <thies@php.net> | 2000-06-19 09:16:58 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-06-19 09:16:58 +0000 |
commit | 388195de8b96f7cb1ade39824e43677335e0d0ba (patch) | |
tree | 7a44b5581dab6b5f02359450e34eb17a690d73b9 /ext/oci8 | |
parent | 520602ae4ee7e4ea946b94c3bb46a3d2e8b8ee30 (diff) | |
download | php-git-388195de8b96f7cb1ade39824e43677335e0d0ba.tar.gz |
some adjustments to the sysliblist
# still needs some fixing - sascha?
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/config.m4 | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/ext/oci8/config.m4 b/ext/oci8/config.m4 index 04f84f84d8..7761a85899 100644 --- a/ext/oci8/config.m4 +++ b/ext/oci8/config.m4 @@ -52,15 +52,9 @@ if test "$PHP_OCI8" != "no"; then fi if test -f "$OCI8_DIR/lib/sysliblist"; then - OCI8_SYSLIB="`cat $OCI8_DIR/lib/sysliblist | sed -e 's/-l//g'`" + PHP_EVAL_LIBLINE(`$OCI8_DIR/lib/sysliblist`, OCI8_SYSLIB) elif test -f "$OCI8_DIR/rdbms/lib/sysliblist"; then - OCI8_SYSLIB="`cat $OCI8_DIR/rdbms/lib/sysliblist | sed -e 's/-l//g'`" - fi - - if test -n "$OCI8_SYSLIB"; then - for oci8_slib in `echo $OCI8_SYSLIB`; do - AC_ADD_LIBRARY_WITH_PATH($oci8_slib, "", OCI8_SHARED_LIBADD) - done + PHP_EVAL_LIBLINE(`$OCI8_DIR/rdbms/lib/sysliblist`, OCI8_SYSLIB) fi AC_OCI8_VERSION($OCI8_DIR) @@ -86,14 +80,4 @@ if test "$PHP_OCI8" != "no"; then PHP_SUBST(OCI8_SHARED_LIBADD) PHP_SUBST(OCI8_DIR) PHP_SUBST(OCI8_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 - OCI8_SHARED_LIBADD="$OCI8_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 |