]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
minor cleanups
[chaz/yoink] / configure.ac
index 5a7791d518e0a576833437990b10453f56b44e79..a87d9817776f099b881d137dc74aaa26c3a0728f 100644 (file)
@@ -83,30 +83,33 @@ AC_ARG_WITH([log-level],
 if test x$developer = xyes
 then
        debug=yes
-       profile=yes
-       extra_warnings=yes
        log_level=4
+
+       if test x$WIN32 != xyes
+       then
+               profile=yes
+       fi
 fi
 
 if test x$debug = xyes
 then
-   CFLAGS="$CFLAGS -Wall -O0 -g -DDEBUG"
-   CXXFLAGS="$CXXFLAGS -Wall -O0 -g -DDEBUG"
+       CFLAGS="$CFLAGS -Wall -O0 -gstabs -DDEBUG"
+       CXXFLAGS="$CXXFLAGS -Wall -O0 -gstabs -DDEBUG"
 else
-   CFLAGS="$CFLAGS -O2 -DNDEBUG"
-   CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
+       CFLAGS="$CFLAGS -O2 -DNDEBUG"
+       CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
 fi
 
 if test x$profile = xyes
 then
-   CFLAGS="$CFLAGS -pg"
-   CXXFLAGS="$CXXFLAGS -pg"
+       CFLAGS="$CFLAGS -pg"
+       CXXFLAGS="$CXXFLAGS -pg"
 fi
 
 if test x$extra_warnings = xyes
 then
-   CFLAGS="$CFLAGS -Wextra"
-   CXXFLAGS="$CXXFLAGS -Wextra"
+       CFLAGS="$CFLAGS -Wextra -Wno-unused-parameter"
+       CXXFLAGS="$CXXFLAGS -Wextra -Wno-unused-parameter"
 fi
 
 AC_DEFINE_UNQUOTED([YOINK_LOGLEVEL], [$log_level],
This page took 0.01753 seconds and 4 git commands to generate.