From: <sg...@us...> - 2003-08-29 10:40:43
|
Update of /cvsroot/libfunutil/libfunutil/toc/tests In directory sc8-pr-cvs1:/tmp/cvs-serv13053 Modified Files: gnu_cpp_tools.sh Log Message: added --enable-werror to add -Werror to WARN Index: gnu_cpp_tools.sh =================================================================== RCS file: /cvsroot/libfunutil/libfunutil/toc/tests/gnu_cpp_tools.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gnu_cpp_tools.sh 28 Aug 2003 09:29:43 -0000 1.6 +++ gnu_cpp_tools.sh 29 Aug 2003 10:40:40 -0000 1.7 @@ -54,6 +54,12 @@ # They specified some flags. WARN="$configure_enable_warn" fi + +if test "$configure_enable_werror" = 1; then + WARN="-Werror $WARN" +fi + + toc_add_make WARN="$WARN" # Presumably we could determine whether -pipe works instead of assuming |