Author: hawk Date: Thu Jun 8 10:45:52 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added -msse support check
---- Files affected:
SOURCES:
soundtouch-optflags.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/soundtouch-optflags.patch
diff -u SOURCES/soundtouch-optflags.patch:1.2
SOURCES/soundtouch-optflags.patch:1.3
--- SOURCES/soundtouch-optflags.patch:1.2 Sun May 21 20:13:43 2006
+++ SOURCES/soundtouch-optflags.patch Thu Jun 8 12:45:46 2006
@@ -8,6 +8,28 @@
AC_PROG_CXX
#AC_PROG_AWK
AC_PROG_CC
+@@ -88,6 +87,21 @@
+ fi
+
+
++AC_MSG_CHECKING([if $compiler accepts -msse])
++
++old_CFLAGS=$CFLAGS
++CFLAGS="-msse"
++
++AC_TRY_COMPILE(, [return 0;], [
++ CFLAG_MSSE="-msse"
++ AC_MSG_RESULT([yes])
++ ], [
++ CFLAG_MSSE=""
++ AC_MSG_RESULT([no])
++ ])
++CFLAGS=$old_CFLAGS
++
++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 @@
@@ -20,7 +42,7 @@
# other linking flags to add
#libSoundTouch_la_LIBADD=
-+sse_optimized.lo: AM_CXXFLAGS+=-msse
++sse_optimized.lo: AM_CXXFLAGS+=$(CFLAG_MSSE)
--- SoundTouch-1.3.0/source/example/bpm/Makefile.am.orig 2003-12-27
14:02:10.000000000 +0100
+++ SoundTouch-1.3.0/source/example/bpm/Makefile.am 2005-05-03
11:43:11.554752368 +0200
@@ -33,7 +33,7 @@
@@ -47,5 +69,3 @@
#clean-local:
# -rm -f additional-files-to-remove-on-make-clean
---- soundtouch-1.3.1/source/SoundTouch/Makefile.am.orig 2006-05-21
19:44:32.368951000 +0200
-+++ soundtouch-1.3.1/source/SoundTouch/Makefile.am 2006-05-21
19:48:52.377201000 +0200
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/soundtouch-optflags.patch?r1=1.2&r2=1.3&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit