diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-07 03:24:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-07 03:24:57 +0000 |
commit | c7f08913ba98931753f7acef39fc2d83a18f7b6e (patch) | |
tree | 0325945d75e11d289d28bc2a43caaefd3edfb656 /configure.in | |
parent | 2cb67c4c306f77782d9e6077c9d41630f3f6cbac (diff) | |
download | postgresql-c7f08913ba98931753f7acef39fc2d83a18f7b6e.tar.gz |
Fail in a nicer way if we have --with-perl and no Perl.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 73c16ce992..21c0598296 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $PostgreSQL: pgsql/configure.in,v 1.619 2010/01/07 00:25:04 tgl Exp $ +dnl $PostgreSQL: pgsql/configure.in,v 1.620 2010/01/07 03:24:57 tgl Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -825,6 +825,9 @@ PGAC_PATH_FLEX PGAC_PATH_PERL if test "$with_perl" = yes; then + if test -z "$PERL"; then + AC_MSG_ERROR([Perl not found]) + fi PGAC_CHECK_PERL_CONFIGS([archlibexp,privlibexp,useshrplib]) PGAC_CHECK_PERL_EMBED_LDFLAGS fi |