diff options
author | Olaf Hering <olaf@aepfle.de> | 2021-01-07 07:07:07 +0000 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-01-08 10:22:41 +0100 |
commit | e90bdc8d05f25b2b678098fccd0cdd3aa21d45cc (patch) | |
tree | f825128179fd8ebaeda88b694978650a46eda142 /configure.ac.in | |
parent | 3c780fda4700ab3bb0a79583584096248236cd7a (diff) | |
download | thunar-e90bdc8d05f25b2b678098fccd0cdd3aa21d45cc.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 3fd6424f..dd801836 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -69,7 +69,7 @@ fi dnl ******************************** dnl *** Check for basic programs *** dnl ******************************** -AC_PROG_CC() +AC_PROG_CC_C99 AC_PROG_LD() AM_PROG_CC_C_O() AC_PROG_INSTALL() |