idea for compiling

From: David Sauer <davids(at)orfinet(dot)cz>
To: pgsql-hackers(at)postgresql(dot)org
Subject: idea for compiling
Date: 1999-06-03 21:40:51
Message-ID: m2u2sp55ek.fsf@orfinet.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I'am compiling a lot of sofware packages, which requires postgres header
files under /usr/local/pgsql.
It is possible to provide little script, which will tell, where
components of postgresql are installed ?

Something like:
$ pgsql-config --cflags pgsql
-I/opt/pgsql/include

$ pgsql-config --ldflags pgsql
-L/opt/pgsql/lib -lpq

Same script for java or perl will help
('pgsql-config --classpath pgsql-java' will print: --classpath=/opt/pgsql/lib/postgresql.jar).

thanks,

p.s.: this isn't my idea, gnome or gtk does this ...
--
* David Sauer, student of Czech Technical University
* electronic mail: davids(at)orfinet(dot)cz (mime compatible)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-06-03 22:04:53 Vacuum ignores large objects
Previous Message Tom Lane 1999-06-03 21:39:07 Re: [HACKERS] Priorities for 6.6