Skip site navigation (1) Skip section navigation (2)

pgsql: Fix configure's search for

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix configure's search for
Date: 2012-03-22 04:46:12
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
Fix configure's search for

PGAC_PATH_COLLATEINDEX supposed that it could use AC_PATH_PROGS to search
for, but that macro will only accept files that are marked
executable, and at least some DocBook installations don't mark the script
executable (a case the docs Makefile was already prepared for).  Accept the
script if it's present and readable in $DOCBOOKSTYLE/bin, and otherwise
search the PATH as before.

Having fixed that up, we don't need the fallback case that was in the docs
Makefile, and instead can throw an understandable error if configure didn't
find the script.  Per recent trouble report from John Lumby.



Modified Files
config/docbook.m4     |   11 ++++++---
configure             |   56 +++---------------------------------------------
doc/src/sgml/Makefile |    8 +++---
3 files changed, 15 insertions(+), 60 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-03-22 06:08:38
Subject: pgsql: If a role has a password expiration date,show that in psql's \d
Previous:From: Peter EisentrautDate: 2012-03-21 21:33:43
Subject: pgsql: Clean up compiler warnings from unused variables with assertsdi

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group