Support old compilers
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 May 2013 17:31:43 +0000 (13:31 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 28 May 2013 17:31:43 +0000 (13:31 -0400)
commit267325e9bf8e0da68376e6b329d4a9bd80e4a0df
treeaf53e082a204077aeaee0abf63792621264f212c
parentcca460600a28b04ef12f4c91184f031abfa6b1a4
Support old compilers

Some old compilers do not use C99 as their default C language variant,
for example gcc 4.3.x, which is used on some old machines. When such a
compiler is used, by default, ULLONG_MAX is not visible. Adding
-std=gnu99 is needed to make this definition visible.

In autoconf speak, this translates into the need of using
AC_PROC_CC_STDC instead of AC_PROG_CC. See
http://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/C-Compiler.html
for more details.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
This page took 0.024137 seconds and 4 git commands to generate.