diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-05-11 14:38:59 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-05-11 14:38:59 +0000 |
commit | 6712cd630edcbb176d3f6d8f7ace530f8f1d6d27 (patch) | |
tree | 465c6c5b8e2f136e65a94ce57a8c2ef18f90a7a0 /configure.ac | |
parent | a8d33d1f2cd82cf01fc9f648ae624d24c5fe38df (diff) | |
download | mpfr-6712cd630edcbb176d3f6d8f7ace530f8f1d6d27.tar.gz |
add -P option to cpp when detecting CC/CFLAGS in gmp.h (workaround for gcc-5)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10289 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d2cc04cf9..8156a9319 100644 --- a/configure.ac +++ b/configure.ac @@ -230,7 +230,7 @@ if test -z "$GMP_CC$GMP_CFLAGS" ; then for cpp in cpp gcc /lib/cpp cc c99 do case $cpp in - *cpp*) ;; + *cpp*) cpp="$cpp -P" ;; *) cpp="$cpp -E" ;; esac echo "#include \"gmp.h\"" > conftest.c |