summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAnthony Blake <anthonix@me.com>2013-04-03 15:21:12 +1300
committerAnthony Blake <anthonix@me.com>2013-04-03 15:21:12 +1300
commit7f43121489310f9c5131a9e20f5aff532b66ad6b (patch)
tree04965f9f60a3ed46f2e8557d035c78c9f4e23cda /configure
parent17aaf9d6216cd7c608824a2b4fd0e735004e612e (diff)
downloadffts-7f43121489310f9c5131a9e20f5aff532b66ad6b.zip
ffts-7f43121489310f9c5131a9e20f5aff532b66ad6b.tar.gz
VFP support
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 32 insertions, 0 deletions
diff --git a/configure b/configure
index f7b68e2..4e1e47d 100755
--- a/configure
+++ b/configure
@@ -635,6 +635,8 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+HAVE_VFP_FALSE
+HAVE_VFP_TRUE
HAVE_NEON_FALSE
HAVE_NEON_TRUE
HAVE_SSE_FALSE
@@ -776,6 +778,7 @@ enable_dynamic_code
enable_single
enable_sse
enable_neon
+enable_vfp
'
ac_precious_vars='build_alias
host_alias
@@ -1423,6 +1426,7 @@ Optional Features:
--enable-single compile single-precision library
--enable-sse enable SSE extensions
--enable-neon enable NEON extensions
+ --enable-vfp enable VFP extensions
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -15428,6 +15432,30 @@ else
fi
+# Check whether --enable-vfp was given.
+if test "${enable_vfp+set}" = set; then :
+ enableval=$enable_vfp; have_vfp=$enableval
+else
+ have_vfp=no
+fi
+
+if test "$have_vfp" = "yes"; then
+ if test "$SIMD" != "sse"; then
+ as_fn_error $? "conflicting SIMD extensisons specified" "$LINENO" 5
+ fi
+
+$as_echo "#define HAVE_VFP 1" >>confdefs.h
+
+fi
+ if test "$have_vfp" = "yes"; then
+ HAVE_VFP_TRUE=
+ HAVE_VFP_FALSE='#'
+else
+ HAVE_VFP_TRUE='#'
+ HAVE_VFP_FALSE=
+fi
+
+
#AC_CANONICAL_HOST
{ $as_echo "$as_me:${as_lineno-$LINENO}: host is \"${host}\"" >&5
$as_echo "$as_me: host is \"${host}\"" >&6;}
@@ -16195,6 +16223,10 @@ if test -z "${HAVE_NEON_TRUE}" && test -z "${HAVE_NEON_FALSE}"; then
as_fn_error $? "conditional \"HAVE_NEON\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_VFP_TRUE}" && test -z "${HAVE_VFP_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_VFP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
OpenPOWER on IntegriCloud