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

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 (view raw or flat)
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

pgsql-hackers by date

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

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