From: Alexei Sheplyakov Date: Thu, 21 Aug 2008 22:42:17 +0000 (+0400) Subject: Bail out if both autogen and autogen'erated file(s) are missing. X-Git-Tag: release_1-5-0~81 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=b4b302fe5d54720b58a23568a4270e04ee1ca216 Bail out if both autogen and autogen'erated file(s) are missing. This makes the error message(s) more helpful. --- diff --git a/ginac/Makefile.am b/ginac/Makefile.am index 0570fde2..17b272f2 100644 --- a/ginac/Makefile.am +++ b/ginac/Makefile.am @@ -45,6 +45,7 @@ $(srcdir)/parser/builtin_fcns.cpp: $(srcdir)/parser/builtin_fcns.def $(srcdir)/p else \ echo "*** ERROR: the \"$@\" file does not exist, and AutoGen is not installed on your system"; \ echo "*** Please install AutoGen (http://www.gnu.org/software/autogen)"; \ + exit 1; \ fi