summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTom Lane2010-01-07 03:24:57 +0000
committerTom Lane2010-01-07 03:24:57 +0000
commitc7f08913ba98931753f7acef39fc2d83a18f7b6e (patch)
tree0325945d75e11d289d28bc2a43caaefd3edfb656 /configure
parent2cb67c4c306f77782d9e6077c9d41630f3f6cbac (diff)
Fail in a nicer way if we have --with-perl and no Perl.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 88689be1ed..0b34b6d73b 100755
--- a/configure
+++ b/configure
@@ -6897,6 +6897,11 @@ $as_echo "$as_me: WARNING:
fi
if test "$with_perl" = yes; then
+ if test -z "$PERL"; then
+ { { $as_echo "$as_me:$LINENO: error: Perl not found" >&5
+$as_echo "$as_me: error: Perl not found" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
{ $as_echo "$as_me:$LINENO: checking for Perl archlibexp" >&5
$as_echo_n "checking for Perl archlibexp... " >&6; }