diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-03-18 01:58:34 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-03-18 01:58:34 +0000 |
commit | c395df9bf8463fd367af146c3ab317b1c3ca9b96 (patch) | |
tree | 410d338528725098ceff51ce0084409371a75c97 | |
parent | ddf32b9455806ea339040d4aae4d556eae05236f (diff) | |
download | vte-c395df9bf8463fd367af146c3ab317b1c3ca9b96.tar.gz |
Adjust warnings used when in maintainer mode.
* autogen.sh configure.in: Adjust warnings used when in maintainer mode.
-rwxr-xr-x | autogen.sh | 4 | ||||
-rw-r--r-- | configure.in | 9 |
2 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,5 @@ #!/bin/bash -e -#PROTOTYPES="-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" -WARNINGS="-Wcast-align $PROTOTYPES" -CFLAGS="${CFLAGS:--g3 -Wall $WARNINGS}" ; export CFLAGS +CFLAGS="${CFLAGS:--g3 -Wall}" ; export CFLAGS set -x libtoolize -f autoheader diff --git a/configure.in b/configure.in index e33fb751..2db1b6d9 100644 --- a/configure.in +++ b/configure.in @@ -35,6 +35,15 @@ AM_MAINTAINER_MODE if test x$USE_MAINTAINER_MODE != x ; then if test x$USE_MAINTAINER_MODE != xno ; then + if test x$GCC != xno ; then + CFLAGS="${CFLAGS} -Wunused" + CFLAGS="${CFLAGS} -Wuninitialized" + CFLAGS="${CFLAGS} -Wimplicit" + CFLAGS="${CFLAGS} -Wstrict-prototypes" + CFLAGS="${CFLAGS} -Wmissing-prototypes" + CFLAGS="${CFLAGS} -Wmissing-declarations" + CFLAGS="${CFLAGS} -Wcast-align" + fi VTE_DEBUG=1 fi fi |