pgsql: Fix configure's search for collateindex.pl. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix configure's search for collateindex.pl.
Date
Msg-id E1SAZue-0002wZ-Lo@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix configure's search for collateindex.pl.

PGAC_PATH_COLLATEINDEX supposed that it could use AC_PATH_PROGS to search
for collateindex.pl, 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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f2386d7136dacbb8bf59ebbe8e5c5b73db202813

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


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Clean up compiler warnings from unused variables with asserts di
Next
From: Tom Lane
Date:
Subject: pgsql: If a role has a password expiration date, show that in psql's \d