summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-31 14:17:55 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-31 14:17:55 +0100
commitef6eda0641204bb9dd1b0604234116e91908195f (patch)
tree538f306b369e964642a6ebe02422f92ecd462221 /configure
parent2dfd743d0243454628ff173fbf64165f435e2690 (diff)
downloadllvm-ef6eda0641204bb9dd1b0604234116e91908195f.tar.gz
llvm-ef6eda0641204bb9dd1b0604234116e91908195f.tar.bz2
llvm-ef6eda0641204bb9dd1b0604234116e91908195f.tar.xz
[Embtk] give ability to specify default FPU to use
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 20 insertions, 1 deletions
diff --git a/configure b/configure
index f01670ab1b..c11738495e 100755
--- a/configure
+++ b/configure
@@ -1444,6 +1444,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
@@ -3993,6 +3995,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_FPU "$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; }
@@ -10354,7 +10373,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10357 "configure"
+#line 10376 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H