From: Jean-Marc Lasgouttes Date: Mon, 14 Aug 2006 20:14:41 +0000 (+0000) Subject: LYX_CHECK_ERRORS: exit with status 1 if there is an error X-Git-Tag: 1.6.10~12818 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8d3ef3a4cac7e8c40806fb55cba50fa6da306fc7;p=features.git LYX_CHECK_ERRORS: exit with status 1 if there is an error git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14680 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index 5b872b432b..4767cdb64f 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -73,6 +73,14 @@ LYX_ERROR([Cannot find $1. Please check that the $2 library dnl Usage: LYX_CHECK_ERRORS Displays a warning message if a LYX_ERROR dnl has occured previously. AC_DEFUN([LYX_CHECK_ERRORS],[ +if test x$lyx_warning = xyes; then +cat <