configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the...

* configure.ac (CFLAGS): Update to include -std=gnu99 so that
	the configure tests will be run with the same environment as
	used to compile the libgfortran source code.
	* configure: Regenerate.

From-SVN: r109774
This commit is contained in:
Roger Sayle 2006-01-16 22:03:14 +00:00 committed by Roger Sayle
parent fea4cfe00b
commit d1f37bc642
3 changed files with 521 additions and 259 deletions

View File

@ -1,3 +1,10 @@
2006-01-16 Roger Sayle <roger@eyesopen.com>
* configure.ac (CFLAGS): Update to include -std=gnu99 so that
the configure tests will be run with the same environment as
used to compile the libgfortran source code.
* configure: Regenerate.
2006-01-12 Roger Sayle <roger@eyesopen.com>
* intrinsics/c99_functions.c: Add function prototypes to avoid

770
libgfortran/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -116,6 +116,9 @@ if test "x$GCC" = "xyes"; then
## We like to use C99 routines when available. This makes sure that
## __STDC_VERSION__ is set such that libc includes make them available.
AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
## Compile the following tests with the same system header contents
## that we'll encounter when compiling our own source files.
CFLAGS="-std=gnu99 $CFLAGS"
fi
AC_SUBST(AM_FCFLAGS)
AC_SUBST(AM_CFLAGS)