X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=configure.in;h=e0b811f8681f0ea07f1900dcdeda143b7791702d;hb=fe1aeed5aa76aaefcbff66c7d60768d8f83c7748;hp=88eef9ab58fe88c1499313d579d7f5869792494b;hpb=eb3398894accce09ddc23c89c320113207f0dec5;p=freeglut diff --git a/configure.in b/configure.in index 88eef9a..e0b811f 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 \