CVS update: php3

From: Date: Sat, 12 Sep 1998 15:37:15 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-995@lists.php.net to get a copy of this message
Date: Saturday September 12, 1998 @ 11:37 Author: ssb Update of /repository/php3 In directory asf:/u2/tmp/cvs-serv18391 Modified Files: configure.in Log Message: some compile fixes for AIX 4 with Oracle 8 libraries Index: php3/configure.in diff -c php3/configure.in:1.241 php3/configure.in:1.242 *** php3/configure.in:1.241 Wed Sep 9 08:38:05 1998 --- php3/configure.in Sat Sep 12 11:37:14 1998 *************** *** 1,4 **** ! dnl $Id: configure.in,v 1.241 1998/09/09 12:38:05 ssb Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) --- 1,4 ---- ! dnl $Id: configure.in,v 1.242 1998/09/12 15:37:14 ssb Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) *************** *** 30,35 **** --- 30,41 ---- AC_PROG_CC_C_O AC_PATH_PROG(PERL_PATH, perl) + dnl Ugly hack to get around a problem with gcc on AIX. + if test "$CC" = "gcc" -a "$ac_cv_prog_cc_g" = "yes" -a \ + "uname -sv" = "AIX 4"; then + CFLAGS=echo $CFLAGS | sed -e 's/-g//' + fi + dnl Haven't quite figured out how to make libtool go yet dnl AM_PROG_LIBTOOL dnl AC_PROG_INSTALL *************** *** 627,635 **** ORACLE_SHLIBS="$ORACLE_STLIBS" fi ;; ! 8.0) ! if test -f $ORACLEINST_TOP/$ORACLE_LIBDIR/libclntsh.s? then ORACLE_SHLIBS="-lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh $ORA_SYSLIB" else ORACLE_SHLIBS="$ORACLE_STLIBS" --- 633,646 ---- ORACLE_SHLIBS="$ORACLE_STLIBS" fi ;; ! 8.0) ! if test -f $ORACLEINST_TOP/$ORACLE_LIBDIR/libclntsh.s? -o \ ! -f $ORACLEINST_TOP/$ORACLE_LIBDIR/libclntsh.a # AIX then + if test "$CC" = "gcc" -a "uname -sv" = "AIX 4"; then + # for Oracle 8 on AIX 4 + ORA_SYSLIB="$ORA_SYSLIB -nostdlib /lib/crt0_r.o /usr/lib/libpthreads.a /usr/lib/libc_r.a -lgcc" + fi ORACLE_SHLIBS="-lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh $ORA_SYSLIB" else ORACLE_SHLIBS="$ORACLE_STLIBS" -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#995) next »