ID:               3499
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won\'t fix
 Bug Type:         PostgreSQL related
 Operating System: Linux
 PHP Version:      3.0.14
 New Comment:

We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

seems to be right in php 4


Previous Comments:
------------------------------------------------------------------------

[2000-02-16 14:29:18] [EMAIL PROTECTED]


script tries to set path to '/usr/include/pgsql/include' despite that I
wrote '/usr/include/pgsql/' which is where my .h files are with a Red
Hat 6.1 potsgresql-rpm 

--- configure.in.org    Wed Feb 16 14:01:33 2000
+++ configure.in        Wed Feb 16 14:25:37 2000
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.489 2000/01/13 13:16:04 rasmus Exp $
+dnl $Id: configure.in,v 1.489 2000/01/13 13:16:04 rasmus Exp - new $
 dnl Process this file with autoconf to produce a configure script.
 
 AC_INIT(main.c)
@@ -1497,11 +1497,12 @@
 [
   if test "$withval" != "no"; then
     if test "$withval" = "yes"; then
-       withval=/usr/local
+       withval=/usr
 
     fi
 
-    PGSQL_INCDIR=$withval/include
+    PGSQL_INCDIR=$withval
+    test -d $withval/include && PGSQL_INCDIR=$withval/include
     test -d $withval/include/pgsql &&
PGSQL_INCDIR=$withval/include/pgsql
     test -d $withval/pgsql/include &&
PGSQL_INCDIR=$withval/pgsql/include
     test -d $withval/include/postgresql &&
PGSQL_INCDIR=$withval/include/postgresql
@@ -1521,7 +1522,7 @@
     LDFLAGS="$LDFLAGS $PGSQL_LFLAGS"
     LIBS="$LIBS $PGSQL_LIBS"
     AC_DEFINE(HAVE_PGSQL)
-    AC_MSG_RESULT(yes)
+    AC_MSG_RESULT(yes $PGSQL_INCDIR)
     AC_CHECK_FUNC(PQcmdTuples,AC_DEFINE(HAVE_PQCMDTUPLES))
     CFLAGS=$old_CFLAGS; LDFLAGS=$old_LDFLAGS; LIBS=$old_LIBS
   else
@@ -1530,6 +1531,9 @@
 ],[
   AC_MSG_RESULT(no)
 ])
+AC_SUBST(PGSQL_LIBS)
+AC_SUBST(PGSQL_LFLAGS)
+AC_SUBST(PGSQL_INCLUDE)
 
 AC_MSG_CHECKING(for IBM DB2 support)
 AC_ARG_WITH(ibm-db2,                                                  
                

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=3499&edit=1

Reply via email to