diff options
| author | Charles Karney <charles@karney.com> | 2018-03-20 13:27:43 -0400 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2018-03-20 13:27:43 -0400 |
| commit | 84bfebdf4096e462cca8e8c198a8c5849832b322 (patch) | |
| tree | 717af4b61eb27701c9409f952620dcd175e027d9 /configure.ac | |
| parent | f8fbd18a3e297194aabce9b309a2e1bf1950bc58 (diff) | |
| download | PROJ-84bfebdf4096e462cca8e8c198a8c5849832b322.tar.gz PROJ-84bfebdf4096e462cca8e8c198a8c5849832b322.zip | |
For the Intel compiler use "-fp-model precise" on all platforms.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index ee5fc507..66da9d13 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([-fprotect-parens -fsigned-zeros], - [CFLAGS="$CFLAGS -fprotect-parens -fsigned-zeros"],,[-Werror]) +AX_CHECK_COMPILE_FLAG([-fp-model precise], + [CFLAGS="$CFLAGS -fp-model precise"],,[-Werror]) dnl Check for C99 math functions save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wall -Werror" @@ -113,8 +113,8 @@ dnl posix mutexes for instance). dnl --------------------------------------------------------------------------- AC_ARG_WITH([mutex], - AS_HELP_STRING([--without-mutex], - [Disable real mutex locks (lacking pthreads)]),,) + AS_HELP_STRING([--without-mutex], + [Disable real mutex locks (lacking pthreads)]),,) AC_MSG_CHECKING([for mutexes]) THREAD_LIB="" |
