Re: ./configure patch needed to build portable - Mailing list pgadmin-hackers

From Adam H. Pendleton
Subject Re: ./configure patch needed to build portable
Date
Msg-id 3F5F52F6.8010300@fmonkey.net
Whole thread Raw
In response to ./configure patch needed to build portable SRPMs  (Jean-Michel POURE <jm@poure.com>)
List pgadmin-hackers
Jean-Michel POURE wrote:
Dear all,

To make a portable SRPM (which would rebuild on any platform) we need the 
./configure script to search for  "--with-pgsql-include" variable in 
/usr/include and /usr/include/pgsql (without having to specify it).

Otherwise, there will be one SRPM for RedHat and Mandrake and another for SuSE 
8.2. Could someone kindly modify the ./configure script?

Cheers,
Jean-Michel Pouré


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
 
Attached is a patch that will do what you ask.  Or you can use Raphaël's solution.  :-)

ahp

pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: ./configure patch needed to build portable SRPMs
Next
From: Andreas Pflug
Date:
Subject: autoconf compiling *.c