Edited automake scripts

This commit is contained in:
oparviai 2008-02-17 15:16:17 +00:00
parent 138d4b5eab
commit 77fab80d08
2 changed files with 12 additions and 14 deletions

View File

@ -19,7 +19,7 @@ dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple
dnl Place - Suite 330, Boston, MA 02111-1307, USA dnl Place - Suite 330, Boston, MA 02111-1307, USA
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_INIT(SoundTouch, 1.3.1, [http://www.surina.net/soundtouch]) AC_INIT(SoundTouch, 1.3.2, [http://www.surina.net/soundtouch])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER([include/soundtouch_config.h]) AM_CONFIG_HEADER([include/soundtouch_config.h])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
@ -88,7 +88,6 @@ fi
dnl ############################################################################ dnl ############################################################################
dnl # Checks for library functions/classes # dnl # Checks for library functions/classes #
dnl ############################################################################ dnl ############################################################################

View File

@ -29,19 +29,18 @@ EXTRA_DIST=3dnow_win.cpp cpu_detect_x86_win.cpp SoundTouch.dsp SoundTouch.dsw So
noinst_HEADERS=AAFilter.h cpu_detect.h cpu_detect_x86_gcc.cpp FIRFilter.h RateTransposer.h TDStretch.h noinst_HEADERS=AAFilter.h cpu_detect.h cpu_detect_x86_gcc.cpp FIRFilter.h RateTransposer.h TDStretch.h
lib_LTLIBRARIES=libSoundTouch.la lib_LTLIBRARIES=libSoundTouch.la
# the mmx_gcc.cpp and cpu_detect_x86_gcc.cpp may need to be conditionally included here from things discovered in configure.ac #
# libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp mmx_optimized.cpp sse_optimized.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86_gcc.cpp libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp mmx_optimized.cpp sse_optimized.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86_gcc.cpp
libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86_gcc.cpp
# ??? test for -fcheck-new in configure.ac # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
# other compiler flags to add # fix this script to automatically check for CPU architecture, please submit a patch
# AM_CXXFLAGS=-O3 -msse -fcheck-new -I../../include # to me.
AM_CXXFLAGS=-O3 -fcheck-new -I../../include AM_CXXFLAGS=-O3 -msse2 -fcheck-new -I../../include
# other linking flags to add # other linking flags to add
noinst_LTLIBRARIES = libSoundTouchOpt.la # noinst_LTLIBRARIES = libSoundTouchOpt.la
libSoundTouch_la_LIBADD = libSoundTouchOpt.la # libSoundTouch_la_LIBADD = libSoundTouchOpt.la
libSoundTouchOpt_la_SOURCES = mmx_optimized.cpp sse_optimized.cpp # libSoundTouchOpt_la_SOURCES = mmx_optimized.cpp sse_optimized.cpp
libSoundTouchOpt_la_CXXFLAGS = -O3 -msse2 -fcheck-new -I../../include # libSoundTouchOpt_la_CXXFLAGS = -O3 -msse2 -fcheck-new -I../../include