projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit of John's change to stop an infinite-loop condition when the
[freeglut]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
88eef9a
..
96fb21c
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-50,6
+50,13
@@
fi
AC_SUBST(LIBRARY)
AC_SUBST(HEADER)
AC_SUBST(LIBRARY)
AC_SUBST(HEADER)
+AC_ARG_ENABLE(warnings,
+[ --enable-warnings Enable gcc compiler warnings],
+if test "x$GCC" == xyes
+then
+ CFLAGS="$CFLAGS -Wall -Wno-parentheses -Werror"
+fi)
+
AC_OUTPUT(\
Makefile \
doc/Makefile \
AC_OUTPUT(\
Makefile \
doc/Makefile \