diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2017-01-19 22:00:53 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2017-01-19 22:00:53 +0100 |
commit | 7b32a8f61f4b3a34cacbd029e85220787eada240 (patch) | |
tree | cacf5acabfee467ac9b6420c71be5a7c048e6fea /libgfortran/configure.ac | |
parent | 9ade9945a07c47abf2d1d5ad3a5de504e9f37b73 (diff) | |
download | gcc-7b32a8f61f4b3a34cacbd029e85220787eada240.zip gcc-7b32a8f61f4b3a34cacbd029e85220787eada240.tar.gz gcc-7b32a8f61f4b3a34cacbd029e85220787eada240.tar.bz2 |
re PR target/78478 (Compile Error for i386-rtems)
PR target/78478
* config/ax_check_define.m4: New file.
libgfortran/ChangeLog:
PR target/78478
* acinclude.m4: Include ../config/ax_check_define.m4
* configure.ac: Check if _SOFT_FLOAT is defined.
* configure.host (i?86 | x86_64): Use fpu-generic when
have_soft_float is set.
* configure: Regenerate.
From-SVN: r244651
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 66a8462..37b12d2 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -556,6 +556,9 @@ AC_CHECK_FUNC([fpresetsticky],[have_fpresetsticky=yes AC_DEFINE([HAVE_FPRESETSTI AC_CHECK_FUNC([fp_trap],[have_fp_trap=yes AC_DEFINE([HAVE_FP_TRAP],[1],[fp_trap is present])]) AC_CHECK_FUNC([fp_enable],[have_fp_enable=yes AC_DEFINE([HAVE_FP_ENABLE],[1],[fp_enable is present])]) +# Check if _SOFT_FLOAT is defined +AC_CHECK_DEFINE([_SOFT_FLOAT],[have_soft_float=yes]) + # Runs configure.host to set up necessary host-dependent shell variables. # We then display a message about it, and propagate them through the # build chain. |