[GiNaC-devel] [PATCH] Bail out if both autogen and autogen'erated file(s) are missing.

Alexei Sheplyakov varg at theor.jinr.ru
Fri Aug 22 00:42:17 CEST 2008


This makes the error message(s) more helpful.

---
 ginac/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ginac/Makefile.am b/ginac/Makefile.am
index 0570fde..17b272f 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
 		
 
-- 
1.5.6


Best regards,
	Alexei

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20080822/dff52e3d/attachment.sig>


More information about the GiNaC-devel mailing list