[xiph-cvs] r6485 - trunk/speex

jm at xiph.org jm at xiph.org
Fri Apr 2 00:36:44 PST 2004



Author: jm
Date: 2004-04-02 03:36:44 -0500 (Fri, 02 Apr 2004)
New Revision: 6485

Modified:
   trunk/speex/configure.in
Log:
configure should now add -msse when --enable-sse is specified

<p>Modified: trunk/speex/configure.in
===================================================================
--- trunk/speex/configure.in	2004-04-02 03:50:12 UTC (rev 6484)
+++ trunk/speex/configure.in	2004-04-02 08:36:44 UTC (rev 6485)
@@ -67,9 +67,17 @@
 AC_DEFINE_UNQUOTED(VERSION, "${VERSION}")
 
 AC_ARG_ENABLE(valgrind, [  --enable-valgrind       enable valgrind extra checks], [if test "$enableval" = yes; then AC_DEFINE(ENABLE_VALGRIND) fi])
-AC_ARG_ENABLE(sse, [  --enable-sse            enable SSE support], [if test "$enableval" = yes; then AC_DEFINE(_USE_SSE) fi])
+
+AC_ARG_ENABLE(sse, [  --enable-sse            enable SSE support], [if test "$enableval" = yes; then
+AC_DEFINE(_USE_SSE)
+CFLAGS="$CFLAGS -O3 -msse"
+fi
+])
+
 AC_ARG_ENABLE(fixed-point, [  --enable-fixed-point    compile as fixed-point], [if test "$enableval" = yes; then AC_DEFINE(FIXED_POINT) fi])
+
 AC_ARG_ENABLE(arm-asm, [  --enable-arm-asm        make use of ARM assembly instructions], [if test "$enableval" = yes; then AC_DEFINE(ARM_ASM) fi])
+
 AC_ARG_ENABLE(fixed-point-debug, [  --enable-fixed-point-debug  Debug fixed-point implementation], [if test "$enableval" = yes; then AC_DEFINE(FIXED_DEBUG) fi])
 
 AC_ARG_ENABLE(epic-48k, [  --enable-epic-48k       enable support for Epic 4.8 kbps mode], [if test "$enableval" = yes; then AC_DEFINE(EPIC_48K) fi])

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list