X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=configure.in;h=b770b55d969c3c1f052abd94bdf354a8cbe48b5f;hb=6ed7c0e42723331aaaba7e190f554d298a5dae58;hp=f23725ec25da0d1994c5c03f9bf3d888f50fc860;hpb=0ccd74e0bf59a5a4dd55721198c88e53c5362850;p=freeglut diff --git a/configure.in b/configure.in index f23725e..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,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 \