Skip to content
Snippets Groups Projects

configure.ac: use AC_PROG_CC_C99

Closed O H requested to merge (removed):C99 into master

Various parts of Xfce, and libraries used by Xfce, already use C99 features. Therefore it is reasonable to expect the availibility of a capable compiler. Current GCC releases silently default to newer C standards, starting with gcc-5 which defaults to C11.

Replace AC_PROG_CC with AC_PROG_CC_C99 to switch the discovered, or specified, compiler to C99.

Signed-off-by: Olaf Hering olaf@aepfle.de

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    Cancel this MR because the just released autoconf 2.70 declared AC_PROG_CC_C99 as deprecated. New code should use AC_PROG_CC. This means users with gcc 4.9 or older have to manually specify -std=gnu99 via CFLAGS=.

  • closed

Please register or sign in to reply
Loading