]> granicus.if.org Git - postgis/commitdiff
Stop configure if we don't find perl. (#1484)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 19 Jan 2012 23:58:24 +0000 (23:58 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 19 Jan 2012 23:58:24 +0000 (23:58 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8879 b70326c6-7e19-0410-871a-916f4a2858ee

configure.ac

index 79e0845150ee6955305fb7fbf2a88fe0862d8344..14b4d477d78a17555b43285d79c53f2b9cbc4032 100644 (file)
@@ -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 ===========================================================================