Mercurial > geeqie.yaz
comparison configure.in @ 305:72445e31aa58
Ensure that gcc flag -Wall is set.
author | zas_ |
---|---|
date | Fri, 11 Apr 2008 10:46:52 +0000 |
parents | e213fb025621 |
children | 6cb3c072be3f |
comparison
equal
deleted
inserted
replaced
304:0fc0a130e8cf | 305:72445e31aa58 |
---|---|
68 GETTEXT_PACKAGE=$PACKAGE | 68 GETTEXT_PACKAGE=$PACKAGE |
69 AC_SUBST(GETTEXT_PACKAGE) | 69 AC_SUBST(GETTEXT_PACKAGE) |
70 AM_GLIB_GNU_GETTEXT | 70 AM_GLIB_GNU_GETTEXT |
71 AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR) | 71 AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR) |
72 | 72 |
73 #Always use -Wall with gcc | |
74 if test "x$ac_cv_c_compiler_gnu" = "xyes"; then | |
75 CFLAGS="$CFLAGS -Wall" | |
76 CPPFLAGS="$CPPFLAGS -Wall" | |
77 fi | |
78 | |
73 AC_SUBST(CFLAGS) | 79 AC_SUBST(CFLAGS) |
74 AC_SUBST(CPPFLAGS) | 80 AC_SUBST(CPPFLAGS) |
75 AC_SUBST(LDFLAGS) | 81 AC_SUBST(LDFLAGS) |
76 | 82 |
77 AC_OUTPUT([ | 83 AC_OUTPUT([ |