projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a062d
)
Ensure that gcc flag -Wall is set.
author
Laurent Monin
<geeqie@norz.org>
Fri, 11 Apr 2008 10:46:52 +0000
(10:46 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Fri, 11 Apr 2008 10:46:52 +0000
(10:46 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
92f164c
..
700d7e5
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-70,6
+70,12
@@
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR)
+#Always use -Wall with gcc
+if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall"
+ CPPFLAGS="$CPPFLAGS -Wall"
+fi
+
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)