On Mar 31, 2006, at 12:40, Josh Berkus wrote:

In support of David's suggestion, I'll point out that most other OSS
software configuration scripts (Apache, PHP, etc.) I deal with supports
the above syntax.

Yes, but even the environment variables get me what I want. I therefore respectfully submit the attached patch to document them in the INSTALL file.

Best,

David
Index: doc/src/sgml/installation.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/installation.sgml,v
retrieving revision 1.252
diff -u -r1.252 installation.sgml
--- doc/src/sgml/installation.sgml      5 Jan 2006 03:01:32 -0000       1.252
+++ doc/src/sgml/installation.sgml      31 Mar 2006 22:08:07 -0000
@@ -182,6 +182,14 @@
       <application>PL/Perl</application> you need a full
       <productname>Perl</productname> installation, including the
       <filename>libperl</filename> library and the header files.
+      <filename>configure</> will collect this information
+      from whatever <filename>perl</> is in your <envar>PATH</>;
+      if you'd like it to use an alternate <filename>perl</>, simply
+      specify its location via the <envar>PERL</> environment
+      variable, e.g., <option>PERL=<replaceable>/usr/bin/per5.8.6</></option>
+    </para>
+
+    <para>
       Since <application>PL/Perl</application> will be a shared
       library, the <indexterm><primary>libperl</primary></indexterm>
       <filename>libperl</filename> library must be a shared library
@@ -219,6 +227,11 @@
       <productname>Python</productname> 1.6 and later; users of
       earlier versions of <productname>Python</productname> will need
       to install it.
+      <filename>configure</> will collect this information
+      from whatever <filename>python</> is in your <envar>PATH</>;
+      if you'd like it to use an alternate <filename>python</>, simply
+      specify its location via the <envar>PYTHON</> environment
+      variable, e.g., <option>PYTHON=<replaceable>/usr/bin/per5.8.6</></option>
      </para>
 
      <para>
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to