X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=0802cfcc9846e617d41e2c9d71011681b54c3621;hb=7b9f7afcc04e80b77a2567b0750aa2cd03c1a1cd;hp=8cbf764a79d122dbc023895d8205927c3be7cbfc;hpb=6589d0dba2b1ccf2406db527c2c1b51c7143e117;p=elogind.git diff --git a/configure.ac b/configure.ac index 8cbf764a7..0802cfcc9 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ AS_IF([test x"$intltool_found" != xyes], ]) AM_NLS -AS_IF([test x"$enable_nls" != xno], [ +AS_IF([test x"$enable_nls" != xno -o "x$enable_polkit" != xno], [ # intltoolize greps for '^(AC|IT)_PROG_INTLTOOL', so it needs to be on its own line IT_PROG_INTLTOOL([0.40.0]) ]) @@ -183,6 +183,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -Wno-unused-parameter \ -Wno-missing-field-initializers \ -Wno-unused-result \ + -Wno-typedef-redefinition \ -Werror=overflow \ -Wdate-time \ -Wnested-externs \