grim/guifications2

0671afbd8220
Parents eccd11e515db
Children eaac9162be12
We do not need (should not, at least) strict ISO Standard C (C99) compiler,
and if we insist on it using AC_PROG_CC_STDC instead of AC_PROG_CC we
actually end up with compile options added which force c99 mode and manages
to break compilation with GCC 4.3.0

See http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/multipledef/pidgin-guifications-2.14-2.fc7.log
for the failure, and http://www.redhat.com/archives/fedora-devel-list/2008-January/msg00128.html
for an explanation.
  • +1 -1
    configure.ac
  • --- a/configure.ac Tue Jan 01 16:54:24 2008 -0500
    +++ b/configure.ac Thu Jan 03 18:53:31 2008 -0500
    @@ -61,7 +61,7 @@
    # Look for the C compiler
    #
    CFLAGS_save="$CFLAGS"
    -AC_PROG_CC_STDC
    +AC_PROG_CC
    CFLAGS="$CFLAGS_save"
    AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)