Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C964763517E for ; Tue, 23 Jun 2009 00:46:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 54164-10 for ; Tue, 23 Jun 2009 00:46:01 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 9C224635175 for ; Tue, 23 Jun 2009 00:46:01 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id ADEB975331E; Tue, 23 Jun 2009 03:46:00 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Fix the makefiles to fail cleanly if Perl is needed but not X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090623034600.ADEB975331E@cvs.postgresql.org> Date: Tue, 23 Jun 2009 03:46:00 +0000 (UTC) From: tgl@postgresql.org (Tom Lane) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200906/291 X-Sequence-Number: 37495 Log Message: ----------- Fix the makefiles to fail cleanly if Perl is needed but not present. This used to work as intended, but got broken some time ago (a quoted empty string is not an empty string), and got broken some more by the changes to generate ecpg's preproc.y automatically. Given all the unprotected uses of $(PERL) elsewhere, it seems best to make use of the $(missing) script rather than trying to ensure each such use is protected individually. Also fix various bits of documentation that omitted to mention Perl as a requirement for building from a CVS pull. Per a complaint from Robert Haas. Modified Files: -------------- pgsql: README.CVS (r1.3 -> r1.4) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/README.CVS?r1=1.3&r2=1.4) pgsql/config: missing (r1.4 -> r1.5) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/missing?r1=1.4&r2=1.5) pgsql/doc/src/sgml: cvs.sgml (r1.50 -> r1.51) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/cvs.sgml?r1=1.50&r2=1.51) installation.sgml (r1.324 -> r1.325) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/installation.sgml?r1=1.324&r2=1.325) pgsql/src: Makefile.global.in (r1.253 -> r1.254) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/Makefile.global.in?r1=1.253&r2=1.254) pgsql/src/bin/psql: Makefile (r1.62 -> r1.63) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/Makefile?r1=1.62&r2=1.63)