diff options
| author | Charles Karney <charles@karney.com> | 2018-03-17 19:35:29 -0400 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2018-03-17 19:35:29 -0400 |
| commit | 945c9501a60bf08aeee7454cb9e779e9835462db (patch) | |
| tree | 3f4496fb168dff2d2a9c587a12296ee90d7f7bef /configure.ac | |
| parent | ca880f497aa9eeff9eccea7ab0168a4fed73d411 (diff) | |
| download | PROJ-945c9501a60bf08aeee7454cb9e779e9835462db.tar.gz PROJ-945c9501a60bf08aeee7454cb9e779e9835462db.zip | |
Fix comments in geodesic.c. Better invocation of AX_CHECK_COMPILE_FLAG,
but I doubt this will fix the build failures on the CI machines.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9e4fa3d3..ee5fc507 100644 --- a/configure.ac +++ b/configure.ac @@ -33,8 +33,8 @@ dnl Check flag for accurate arithmetic with Intel compiler. This is dnl needed to stop the compiler from ignoring parentheses in expressions dnl like (a + b) + c and from simplifying 0.0 + x to x (which is wrong if dnl x = -0.0). -AX_CHECK_COMPILE_FLAG([-Werror -fprotect-parens -fsigned-zeros], - [CFLAGS="$CFLAGS -fprotect-parens -fsigned-zeros"]) +AX_CHECK_COMPILE_FLAG([-fprotect-parens -fsigned-zeros], + [CFLAGS="$CFLAGS -fprotect-parens -fsigned-zeros"],,[-Werror]) dnl Check for C99 math functions save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall -Werror" |
