Parent Directory | Revision Log
* transition from plain Makefile to autotools, source files moved to src/ * configure.in: added test for x86 architecture * src/voice.h: x86 specific asm optimization for double to int casts only if compiling for x86 architecture
1 | AC_INIT(configure.in) |
2 | |
3 | AC_CANONICAL_SYSTEM |
4 | |
5 | echo -n "Checking whether x86 architecture... " |
6 | def_arch_x86=0 |
7 | case $target_cpu in |
8 | "i386" | "i486" | "i586" | "i686" | "i786") |
9 | echo "yes" |
10 | def_arch_x86=1;; |
11 | *) |
12 | echo "no";; |
13 | esac |
14 | AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.]) |
15 | |
16 | AM_CONFIG_HEADER(config.h) |
17 | AM_INIT_AUTOMAKE(linuxsampler, 0.1) |
18 | |
19 | AC_LANG_CPLUSPLUS |
20 | AC_PROG_CXX |
21 | AM_PROG_LIBTOOL |
22 | |
23 | AC_OUTPUT(Makefile src/Makefile) |
ViewVC Help | |
Powered by ViewVC |