Commit Graph

42 Commits

Author SHA1 Message Date
Olli
f0ef4cd853 automake: Build SoundTouchDLL only if FLOAT samples used 2024-03-29 20:03:34 +02:00
Sam James
ba1cb7727e configure.ac: fix bashism in CXXFLAGS assignment
configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.

Fixes configure warnings/errors like:
```
checking whether make supports nested variables... (cached) yes
configure: 3698: CXXFLAGS+= -Ofast: not found
```

Signed-off-by: Sam James <sam@gentoo.org>
2024-03-24 07:34:48 +00:00
Olli
63db6bf344 Add -Wextra -Wzero-as-null-pointer-constant to configure.ac
Signed-off-by: Olli <oparviai'at'iki.fi>
2023-03-25 11:49:10 +02:00
Olli
a88c82d0ab Enable -Wall -Wno-unknown-pragmas compiler setting
Enable `-Wall -Wno-unknown-pragmas` compiler setting to show warnings
during build.

Supress "unknown-pragmas" warning though because it's legitimely used
for openmp support.

Signed-off-by: Olli <oparviai'at'iki.fi>
2023-03-19 17:06:47 +02:00
Olli
29fba832a7 Update version to 2.3.2
Signed-off-by: Olli <oparviai'at'iki.fi>
2022-11-08 18:02:17 +02:00
Olli
17925302ae Migrate configuration file, add building of dynamic-link version to the master makefile
- Migrate configuration.ac file to new autotools
- add building of also the dynamic-link version within
  'source/SoundTouchDLL' directory from the main-level makefile
- add a simple lazarus/pascal example project that uses the dynamic-link
  version of the SoundTouch library

Signed-off-by: Olli <oparviai'at'iki.fi>
2022-10-30 18:15:10 +02:00
Olli
7df5617a4b cmake: remove "CMAKE" compiler definition and instead add mock "soundtouch_config.h"
Add a empty mock "soundtouch_config.h" file and remove "CMAKE" compiler
definition that was used in #ifdef that skipped including
"soundtouch_config.h" in cmake build.

This is to avoid errors about missing include file when not using
autotools build.

Also update version to 2.3.1

Signed-off-by: Olli <oparviai'at'iki.fi>
2021-09-06 20:13:01 +03:00
Sérgio M. Basto
9f72a8aa6b Fix for commit 3d7bf376
we need use += and a space CXXFLAGS+=" -O3 -ffast-math" , if not += you override all system settings for CXXFLAGS and none for LDFLAGS, which ends with "/usr/bin/ld: /tmp/ccARck2g.o: relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE`"

https://stackoverflow.com/a/38579792/778517
2021-08-31 22:11:27 +01:00
Olli
28b32c0fbb Update readme, version info for release v2.3.0
Signed-off-by: Olli <oparviai'at'iki.fi>
2021-08-21 13:00:35 +03:00
Olli Parviainen
762f56024b Updated versions and documents for release 2.2 2020-10-15 18:23:34 +03:00
Olli Parviainen
3d7bf376fd Tuning for ARM NEON
Tuning to enable ARM NEON SIMD performance improvements:
- NEON detection in configure file
- Remove manual loop unrolling, gcc autovectorization does better job
without manually unrolled loops.
- Avoid unaligned pointer accesses when using NEON
2020-06-21 20:38:00 +03:00
olli
9205fc971e Bump version to 2.1.2 to correct incorrect version info in configure.ac 2018-12-02 10:43:00 +02:00
oparviainen
5c168a55ff Set AR_FLAGS in configure.ac to avoid build warning "ar: u' modifier ignored since D' is the default (see `U')" 2018-08-08 20:09:20 +03:00
Olli
e765f8146f Removed Subversion $Id$, $Date$ etc autoupdate tags 2018-05-10 21:51:49 +03:00
oparviai
bbeab39f0a Version SoundTouch 2.0 2017-07-30 09:35:00 +00:00
oparviai
18a230a54c - Fix in GNU package management issues.
- version 1.9.2
2015-09-20 07:38:32 +00:00
oparviai
da748228b9 Patch to autoconfig option flagging 2015-07-12 18:52:19 +00:00
oparviai
2e8250d03a Fix to allow setting CXXFLAGS externally 2015-07-03 14:56:44 +00:00
oparviai
1a3c1cd50e Repaired Configure script MMX & SSE detection 2015-05-18 17:54:01 +00:00
oparviai
76f76ffb84 - Update documentation
- Updated version numbers to 1.9
- Disable OpenMP by default, to be enabled by developer
2015-05-18 15:28:41 +00:00
oparviai
5ad8994798 soundtouch_config.h configuration patch 2015-05-18 15:22:27 +00:00
oparviai
d44723ea57 - OpenMP parallel processing disabled by default; can be enabled in compile-time
- Android: Workaround for threading issue to enable OpenMP parallel processing in Android
2015-05-15 10:22:36 +00:00
oparviai
708f1d7e0b Revised autoconf/automake scripts for easier adding of custom CXXFLAGS 2015-05-01 07:55:47 +00:00
oparviai
cbfec4188e Added AC_CONFIG_MACRO_DIR to configure.ac 2015-03-01 19:41:05 +00:00
oparviai
6935032a52 Added openmp configuration for gnu buid 2015-02-22 08:19:09 +00:00
oparviai
b2ff6711d0 Enabled Automake silent build option 2014-01-07 19:58:54 +00:00
oparviai
4da3b1eaf9 Fixed line endings in configure.ac 2014-01-07 19:33:49 +00:00
oparviai
2d91306ac0 Changed version string to 1.8.0 2014-01-07 19:26:29 +00:00
oparviai
52510ecbc7 Updated version to 1.7.0 2012-04-04 19:47:28 +00:00
oparviai
d110158b4d Fix cpuid.h detection in configure.ac
Only gcc in the x86 architectures contain cpuid.h. Therefore this would not
 compile in other architectures.
 .
 To fix this:
 1) Pass a warning instead of an error saying that the header file is missing.
 2) Disable optimizations if cpuid.h was not found.
 .
 Behaviour:
 1) In non-x86 architectures we have no cpuid.h. We give a warning which I hope
 makes sense and is basically saying this is normal in non-x86 architectures and
 and we will ALWAYS disable the optimizations.
 2) In x86 architectures with cpuid.h we get the desired behaviour and check if
 the user request optimizations and if they are supported by the cpu.
 3) In x86 architectures w/o cpuid.h we give a warning basically telling the
 user to upgrade gcc and we ALWAYS disable optimizations since we can only tell
 there is sse/mmx support at build time but not at runtime.
 4) In non-x86 architectures with some unexpected cpuid.h the sse/mmx checks
 should fail and these optimizations will get disabled.
 .
 Tested in:
 amd64, i386: x86 + cpuid.h
 armel, armhf: non-x86 + no cpuid.h
 armel, armhf: non-x86 + dummy cpuid.h to pass test
 .
 The last test should simulate the case of an x86 with no mmx/sse (old i386).
 The 2nd test should be equal to x86 + no cpuid.h.
Author: Miguel Colon <debian.micove@gmail.com>
2012-04-04 15:37:39 +00:00
oparviai
1f6a68a6a3 CPUID routine bugfix: replaced inline assembly routine not working with all environment with __cpuid compiler intrinsic. 2012-04-01 17:01:42 +00:00
oparviai
a88461c737 Updated version id to 1.6.1pre 2011-07-17 11:46:22 +00:00
oparviai
9db805d439 Added configure flags to disable x86 optimizations 2011-07-17 11:17:57 +00:00
oparviai
d002b52f2a use more specifically named global #defines 2011-02-13 19:13:57 +00:00
oparviai
a0a7b369c4 Removed references to obsoleted 'soundtouch-1.4.pc.in' replacing these with 'soundtouch.pc.in' 2010-04-03 15:30:08 +00:00
oparviai
d577aee775 Fixed version number in configure.ac 2010-01-24 12:19:07 +00:00
oparviai
26bbd80873 Moved SoundStretch from "source/example" to "source" directory 2008-12-25 17:00:23 +00:00
oparviai
0e2ee653db Repaired Linux compilation 2008-12-25 16:33:39 +00:00
oparviai
77fab80d08 Edited automake scripts 2008-02-17 15:16:17 +00:00
oparviai
3ed4049f3e Fixes in Automake files & removed CR+LFs 2008-02-17 14:20:52 +00:00
oparviai
e69813f645 Activated SVN keyword expansion 2008-02-10 16:26:55 +00:00
oparviai
2b64de964c Initial commit as per SoundTouch v1.3.1 2008-02-10 16:24:28 +00:00