|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-01 15:25 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 14:00:01 2025 UTC |
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,