diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-01-16 22:03:14 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-01-16 22:03:14 +0000 |
commit | d1f37bc642e0f746f2199514ddb017e9de9d07cc (patch) | |
tree | 84f146ec71a8d94adcbaa82b061c8a23118009fb /libgfortran/configure.ac | |
parent | fea4cfe00b554d35d9a7f7666e3e2734d342596f (diff) | |
download | gcc-d1f37bc642e0f746f2199514ddb017e9de9d07cc.zip gcc-d1f37bc642e0f746f2199514ddb017e9de9d07cc.tar.gz gcc-d1f37bc642e0f746f2199514ddb017e9de9d07cc.tar.bz2 |
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
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r-- | libgfortran/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 7d54974..e01d712 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -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) |