pg_config Makefile includes hyphens in configure arguments - Mailing list pgsql-hackers

From Joel Burton
Subject pg_config Makefile includes hyphens in configure arguments
Date
Msg-id AHEDLOKJMIPAGOHCCBCDAENKCAAA.joel@joelburton.com
Whole thread Raw
Responses Re: pg_config Makefile includes hyphens in configure arguments  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Feeding `pg_config --configure` into configure no longer works, as the
output of `pg_config --configure` now includes hypens (as in
"'--enable-cassert' '--enable-debug'"), which configure rejects.

This appears to come from the change in the Makefile
(/src/bin/pg_config/Makefile), where

diff -r1.3 -r1.4
1c1
< # $Header: /projects/cvsroot/pgsql/src/bin/pg_config/Makefile,v 1.3
2001/09/16 16:11:11 petere Exp $
---
> # $Header: /projects/cvsroot/pgsql/src/bin/pg_config/Makefile,v 1.4
2002/03/29 17:32:55 petere Exp $
16c15
<           -e "s,@configure@,$$configure,g" \
---
>           -e "s,@configure@,$(configure_args),g" \

Is there a reason to keep this change if it breaks this feature, or is there
an easy way to fix this? (I'm not a serious Makefile user, sorry!)

Thanks!

Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant



pgsql-hackers by date:

Previous
From: Shad
Date:
Subject: Re: PSQL \x \l command issues
Next
From: Phil Dodderidge
Date:
Subject: GSSAPI/Kerberos