diff options
author | Olaf Hering <olaf@aepfle.de> | 2021-01-07 07:07:07 +0000 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2021-01-07 07:07:07 +0000 |
commit | a5af4f29a3f6765ae1ff454952244c6f36c5e854 (patch) | |
tree | 23d5c304b3936184b61fbcb27445f09be458a97c /configure.ac.in | |
parent | a95b1bf468323713540c334ff83fffc2ae8d9a11 (diff) | |
download | xfconf-a5af4f29a3f6765ae1ff454952244c6f36c5e854.tar.gz |
configure.ac: use AC_PROG_CC_C99
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>
Diffstat (limited to 'configure.ac.in')
-rw-r--r-- | configure.ac.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac.in b/configure.ac.in index 098b337..048cd04 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -44,7 +44,7 @@ AC_ISC_POSIX AC_MINIX dnl check for basic programs -AC_PROG_CC +AC_PROG_CC_C99 AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_MAKE_SET |