From: Paul Ramsey Date: Thu, 19 Jan 2012 23:58:24 +0000 (+0000) Subject: Stop configure if we don't find perl. (#1484) X-Git-Tag: 2.0.0alpha1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=995d45f2faff80f97c5f0a05ede2f80c0ade8255;p=postgis Stop configure if we don't find perl. (#1484) git-svn-id: http://svn.osgeo.org/postgis/trunk@8879 b70326c6-7e19-0410-871a-916f4a2858ee --- 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 ===========================================================================