Displaying 3 results from an estimated 3 matches for "has_alloca".
2008 Apr 03
0
configure patch to check for SSE
...er to produce SSE
code, we'll use the SSE intrinsics in Speex.
-------------- next part --------------
Index: configure.ac
===================================================================
--- configure.ac (revision 14652)
+++ configure.ac (working copy)
@@ -72,6 +72,22 @@
)
AC_MSG_RESULT($has_alloca)
+AC_MSG_CHECKING(for SSE in current arch/CFLAGS)
+AC_LINK_IFELSE([
+AC_LANG_PROGRAM([[
+#include <xmmintrin.h>
+__m128 testfunc(float *a, float *b) {
+ return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b));
+}
+]])],
+[
+has_sse=yes
+],
+[
+has_sse=no
+]
+)
+AC_MSG_RESULT($has_sse)
AC_...
2008 Mar 29
0
GCC/ELF Visibility patch
...re it
hopefully should suffice to #define EXPORT in the config.h)
-------------- next part --------------
Index: configure.ac
===================================================================
--- configure.ac (revision 14645)
+++ configure.ac (working copy)
@@ -72,7 +72,28 @@
)
AC_MSG_RESULT($has_alloca)
+SAVE_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -fvisibility=hidden"
+AC_MSG_CHECKING(for ELF visibility)
+AC_COMPILE_IFELSE([
+AC_LANG_PROGRAM([[
+#pragma GCC visibility push(hidden)
+__attribute__((visibility("default")))
+int var=10;
+]])],
+[
+has_visibility=yes
+AC_DEF...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...ere it hopefully
should suffice to #define EXPORT in the config.h)
-------------- next part --------------
Index: configure.ac
===================================================================
--- configure.ac (revision 14645)
+++ configure.ac (working copy)
@@ -72,7 +72,28 @@
)
AC_MSG_RESULT($has_alloca)
+SAVE_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -fvisibility=hidden"
+AC_MSG_CHECKING(for ELF visibility)
+AC_COMPILE_IFELSE([
+AC_LANG_PROGRAM([[
+#pragma GCC visibility push(hidden)
+__attribute__((visibility("default")))
+int var=10;
+]])],
+[
+has_visibility=yes
+AC_DEF...