pg_config Makefile includes hyphens in configure arguments

From: "Joel Burton" <joel(at)joelburton(dot)com>
To: "Pgsql-Hackers(at)Postgresql(dot) Org" <pgsql-hackers(at)postgresql(dot)org>, <peter_e(at)gmx(dot)net>
Subject: pg_config Makefile includes hyphens in configure arguments
Date: 2002-04-29 14:08:20
Message-ID: AHEDLOKJMIPAGOHCCBCDAENKCAAA.joel@joelburton.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)joelburton(dot)com | joelburton.com | aim: wjoelburton
Knowledge Management & Technology Consultant

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Phil Dodderidge 2002-04-29 14:09:07 GSSAPI/Kerberos
Previous Message Hannu Krosing 2002-04-29 13:54:01 Re: MetaData (size of datatype)