summaryrefslogtreecommitdiff
path: root/configure.ac
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
commitb5940c62e65c4fee248d7b3535fb667d235f885a (patch)
tree40d26b4f7835d758bd562b0763abd4a90837ec7a /configure.ac
parentec4f1c296b051fa80a1fd056ea047f3ad7be590e (diff)
downloadtumbler-b5940c62e65c4fee248d7b3535fb667d235f885a.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')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ef8200f..471a909 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@ dnl ********************************
dnl *** Check for basic programs ***
dnl ********************************
AM_PROG_AS()
-AC_PROG_CC()
+AC_PROG_CC_C99
AM_PROG_CC_C_O()
AC_PROG_INSTALL()
IT_PROG_INTLTOOL([0.35.0], [no-xml])