X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=configure.in;h=b770b55d969c3c1f052abd94bdf354a8cbe48b5f;hb=8aec061d3b95db47e642b8ac74607465bcb8dec3;hp=88eef9ab58fe88c1499313d579d7f5869792494b;hpb=eb3398894accce09ddc23c89c320113207f0dec5;p=freeglut diff --git a/configure.in b/configure.in index 88eef9a..b770b55 100644 --- a/configure.in +++ b/configure.in @@ -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,7 @@ 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 \