configure: try to set the C compiler mode to accept ISO Standard C

* configure.ac: Use AC_PROG_CC_STDC.
* NEWS: Mention this.
This commit is contained in:
Дмитрий Левин 2018-01-16 01:09:14 +00:00
parent 4ab21ae0b8
commit 376cf85efe
2 changed files with 6 additions and 0 deletions

5
NEWS
View File

@ -22,6 +22,11 @@ Noteworthy changes in release ?.?? (????-??-??)
* Added mq_getsetattr, mq_notify, mq_open, mq_timedreceive, and mq_timedsend
syscalls to %desc tracing set.
* Portability
* A C compiler that can compile ISO Standard C (currently C99) is required.
Older versions without support of "for" loop initial declarations
will not work.
Noteworthy changes in release 4.20 (2017-11-13)
===============================================

View File

@ -52,6 +52,7 @@ DEB_CHANGELOGTIME="$(LC_TIME=C date -R)"
AC_SUBST(DEB_CHANGELOGTIME)
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CPP
st_WARN_CFLAGS
AX_PROG_CC_FOR_BUILD