SOURCES: soundtouch-optflags.patch - hopefully fixed -msse check (...

hawk hawk at pld-linux.org
Thu Jun 8 15:42:01 CEST 2006


Author: hawk                         Date: Thu Jun  8 13:42:01 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- hopefully fixed -msse check (thx qboosh)

---- Files affected:
SOURCES:
   soundtouch-optflags.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/soundtouch-optflags.patch
diff -u SOURCES/soundtouch-optflags.patch:1.3 SOURCES/soundtouch-optflags.patch:1.4
--- SOURCES/soundtouch-optflags.patch:1.3	Thu Jun  8 12:45:46 2006
+++ SOURCES/soundtouch-optflags.patch	Thu Jun  8 15:41:55 2006
@@ -8,14 +8,16 @@
  AC_PROG_CXX
  #AC_PROG_AWK
  AC_PROG_CC
-@@ -88,6 +87,21 @@
+@@ -87,6 +86,23 @@
+         AC_DEFINE(FLOAT_SAMPLES,1,[Use Float as Sample type])
  fi
  
- 
-+AC_MSG_CHECKING([if $compiler accepts -msse])
++AC_LANG(C++)
++
++AC_MSG_CHECKING([if compiler accepts -msse])
 +
-+old_CFLAGS=$CFLAGS
-+CFLAGS="-msse"
++old_CXXFLAGS=$CXXFLAGS
++CXXFLAGS="-msse"
 +
 +AC_TRY_COMPILE(, [return 0;], [
 +    CFLAG_MSSE="-msse"
@@ -24,12 +26,12 @@
 +    CFLAG_MSSE=""
 +    AC_MSG_RESULT([no])
 +    ])
-+CFLAGS=$old_CFLAGS
++CXXFLAGS=$old_CXXFLAGS
 +
 +AC_SUBST(CFLAG_MSSE)
  
  
- dnl ############################################################################
+ 
 --- soundtouch-1.3.1/source/SoundTouch/Makefile.am.orig	2006-03-19 13:08:36.000000000 +0100
 +++ soundtouch-1.3.1/source/SoundTouch/Makefile.am	2006-05-21 19:43:24.516711000 +0200
 @@ -35,8 +35,9 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/soundtouch-optflags.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list