summaryrefslogtreecommitdiff
path: root/configure.ac.in
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2021-01-07 07:07:07 +0000
committerOlaf Hering <olaf@aepfle.de>2021-01-07 07:07:07 +0000
commita5af4f29a3f6765ae1ff454952244c6f36c5e854 (patch)
tree23d5c304b3936184b61fbcb27445f09be458a97c /configure.ac.in
parenta95b1bf468323713540c334ff83fffc2ae8d9a11 (diff)
downloadxfconf-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.in2
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