From 995d45f2faff80f97c5f0a05ede2f80c0ade8255 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Thu, 19 Jan 2012 23:58:24 +0000 Subject: [PATCH] Stop configure if we don't find perl. (#1484) git-svn-id: http://svn.osgeo.org/postgis/trunk@8879 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 79e084515..14b4d477d 100644 --- a/configure.ac +++ b/configure.ac @@ -107,6 +107,9 @@ AC_DEFINE_UNQUOTED([PWDREGRESS], [PWDREGRESS], [Define command to determine the AC_SUBST([PWDREGRESS]) AC_PATH_PROG([PERL], [perl], []) +if test "x$PERL" = "x"; then + AC_MSG_ERROR([Perl was not found. Building PostGIS requires Perl.]) +fi AC_SUBST([PERL]) dnl =========================================================================== -- 2.40.0