ignoreKeyRepeat mode in FreeGLUT is TRUE by default
[freeglut] / configure.in
index f23725e..b770b55 100644 (file)
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(Makefile.am)
 
-AM_INIT_AUTOMAKE(freeglut,2.0.1)
+AM_INIT_AUTOMAKE(freeglut,2.2.0)
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
@@ -50,6 +50,13 @@ fi
 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 \
@@ -60,6 +67,8 @@ AC_OUTPUT(\
        progs/demos/Fractals_random/Makefile \
        progs/demos/Lorenz/Makefile \
        progs/demos/One/Makefile \
+       progs/demos/offscreen/Makefile \
+       progs/demos/shapes/Makefile \
        src/Makefile \
        include/Makefile \
        include/GL/Makefile \