diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rwxr-xr-x | fltk-config.in | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |
