diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-02-20 18:10:13 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-02-20 18:10:13 +0000 |
| commit | ab406a8e79dcafa3337fbe6f000fba50945460c6 (patch) | |
| tree | 29ccc4a2178f50762d75b2abc442df29e4124f37 /fltk-config.in | |
| parent | dc0ab1d06c3db76e8c1fd311b95abee40808864b (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
Diffstat (limited to 'fltk-config.in')
| -rwxr-xr-x | fltk-config.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
