summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 20 insertions, 1 deletions
diff --git a/configure b/configure
index 6ae92aa528..f01670ab1b 100755
--- a/configure
+++ b/configure
@@ -1442,6 +1442,8 @@ Optional Packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-default-cpu Add by default -mcpu=cpu to all compiler
invocations.
+ --with-default-float Default float abi to use to all compiler
+ invocations.
--with-optimize-option Select the compiler options to use for optimized
builds
--with-extra-options Specify additional options to compile LLVM with
@@ -3974,6 +3976,23 @@ _ACEOF
fi
+# Check whether --with-default-float was given.
+if test "${with_default_float+set}" = set; then
+ withval=$with_default_float;
+else
+ withval="Unknown"
+fi
+
+
+if test "$withval" != "Unknown" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define DEFAULT_TARGET_FLOAT "$withval"
+_ACEOF
+
+fi
+
+
{ 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; }
@@ -10335,7 +10354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10338 "configure"
+#line 10357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H