From ab406a8e79dcafa3337fbe6f000fba50945460c6 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 20 Feb 2008 18:10:13 +0000 Subject: STR 1875: fixed missing return value from 'fltk-config' for compiles that require a post run git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 1 + fltk-config.in | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index ac8f1a318..e89a57ab7 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ CHANGES IN FLTK 1.1.8 STR #1742, STR #1777, STR #1794, STR #1827, STR #1843, STR #1796, STR #1815, STR #1726, STR #1753, STR #1855, STR #1862, STR #1867, STR #1874) + - Fixed missing return coe in 'fltk-config' (STR #1875) - Fixed inconsistencies with CHANGED flags (STR #1719) - Fixed message sent to hidden widgets (STR #1849) - Fixed width calculation in Fl_Help_ViewA (STR #1868) diff --git a/fltk-config.in b/fltk-config.in index fef38af66..dcb971af2 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -271,6 +271,12 @@ if test -n "$compile"; then echo $CXX $ARCHFLAGS $includes $CXXFLAGS $debug -o $prog $compile $LDSTATIC $CXX $ARCHFLAGS $includes $CXXFLAGS $debug -o $prog $compile $LDSTATIC + + # stop after compilation in case of errors + err=$? + if test $err != 0; then + exit $err + fi fi if test -n "$post" -a "$POSTBUILD" != ":"; then -- cgit v1.2.3