GNOME Bugzilla – Bug 635528
configure.ac: move call to AM_GNU_GLIB_GETTEXT above cflags modification
Last modified: 2010-11-22 15:50:56 UTC
-Werror in CFLAGS was causing the check for GNU gettext to fail, resulting in .po files in $libdir.
Created attachment 175038 [details] [review] configure.ac: move call to AM_GNU_GLIB_GETTEXT above cflags modification
See: https://bugzilla.redhat.com/show_bug.cgi?id=650023 for original report. It may be that abandoning the use of AM_GNU_GLIB_GETTEXT() in favor of the upstream version would also provide a fix.
Comment on attachment 175038 [details] [review] configure.ac: move call to AM_GNU_GLIB_GETTEXT above cflags modification >+## gettext - this has to be before the addition of -Werror to cflags It would probably be better to move the CFLAGS+=-Werror to the end instead; There are probably lots of AC_TRY_COMPILEs out there that can't pass "-Wmissing-prototypes -Werror"
Created attachment 175044 [details] [review] configure.ac: move CFLAGS modifications after all tests -Werror in CFLAGS was causing the check for GNU gettext in AM_GNU_GLIB_GETTEXT to fail, resulting in .mo files in $libdir.
Attachment 175044 [details] pushed as 54e82da - configure.ac: move CFLAGS modifications after all tests