summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-02-20 18:10:13 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-02-20 18:10:13 +0000
commitab406a8e79dcafa3337fbe6f000fba50945460c6 (patch)
tree29ccc4a2178f50762d75b2abc442df29e4124f37
parentdc0ab1d06c3db76e8c1fd311b95abee40808864b (diff)
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
-rw-r--r--CHANGES1
-rwxr-xr-xfltk-config.in6
2 files changed, 7 insertions, 0 deletions
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