ABS16 and ABS32 for the C55
[opus.git] / configure.ac
index f4e6c87..d90c216 100644 (file)
@@ -108,8 +108,14 @@ AC_ARG_ENABLE(static-modes, [  --enable-static-modes],
   AC_DEFINE([STATIC_MODES], , [Static modes])
 fi])
 
+AC_ARG_ENABLE(assertions, [  --enable-assertions],
+[if test "$enableval" = yes; then
+  AC_DEFINE([ENABLE_ASSERTIONS], , [Assertions])
+fi])
+
 if test $ac_cv_c_compiler_gnu = yes ; then
-        CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wno-parentheses"
+        CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare"
+        #CFLAGS="$CFLAGS -fvisibility=hidden -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wno-parentheses"
 fi
 
 AC_CHECK_SIZEOF(short)