summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index 46bb6110f7..82fde0127e 100755
--- a/configure
+++ b/configure
@@ -1470,6 +1470,8 @@ Optional Packages:
invocations.
--with-default-float Default float abi to use to all compiler
invocations.
+ --with-default-fpu Default FPU to use to all compiler invocations, in
+ case of hard float.
--with-optimize-option Select the compiler options to use for optimized
builds
--with-extra-options Specify additional options to compile LLVM with
@@ -4135,6 +4137,20 @@ _ACEOF
+# Check whether --with-default-float was given.
+if test "${with_default_float+set}" = set; then
+ withval=$with_default_float;
+else
+ with_default_fpu=""
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_DEFAULT_TARGET_FPU "$with_default_fpu"
+_ACEOF
+
+
+
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
@@ -10638,7 +10654,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10641 "configure"
+#line 10657 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H