Skip to content

Commit c7f0891

Browse files
committed
Fail in a nicer way if we have --with-perl and no Perl.
1 parent 2cb67c4 commit c7f0891

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

configure

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6897,6 +6897,11 @@ $as_echo "$as_me: WARNING:
68976897
fi
68986898

68996899
if test "$with_perl" = yes; then
6900+
if test -z "$PERL"; then
6901+
{ { $as_echo "$as_me:$LINENO: error: Perl not found" >&5
6902+
$as_echo "$as_me: error: Perl not found" >&2;}
6903+
{ (exit 1); exit 1; }; }
6904+
fi
69006905

69016906
{ $as_echo "$as_me:$LINENO: checking for Perl archlibexp" >&5
69026907
$as_echo_n "checking for Perl archlibexp... " >&6; }

configure.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.619 2010/01/07 00:25:04 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.620 2010/01/07 03:24:57 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -825,6 +825,9 @@ PGAC_PATH_FLEX
825825

826826
PGAC_PATH_PERL
827827
if test "$with_perl" = yes; then
828+
if test -z "$PERL"; then
829+
AC_MSG_ERROR([Perl not found])
830+
fi
828831
PGAC_CHECK_PERL_CONFIGS([archlibexp,privlibexp,useshrplib])
829832
PGAC_CHECK_PERL_EMBED_LDFLAGS
830833
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy