1 |
AC_INIT(configure.in) |
AC_INIT(configure.in) |
2 |
|
|
3 |
|
#------------------------------------------------------------------------------------ |
4 |
|
# LinuxSampler's / liblinuxsampler's "official" release version: |
5 |
|
|
6 |
|
LINUXSAMPLER_RELEASE_MAJOR=0 |
7 |
|
LINUXSAMPLER_RELEASE_MINOR=3 |
8 |
|
LINUXSAMPLER_RELEASE_BUILD=3 |
9 |
|
|
10 |
|
#------------------------------------------------------------------------------------ |
11 |
|
# The following is the libtool / shared library version. This doesn't have to |
12 |
|
# do anything with the release version. It MUST conform to the following rules: |
13 |
|
# |
14 |
|
# 1. Start with version information of `0:0:0' for each libtool library. |
15 |
|
# 2. Update the version information only immediately before a public release of |
16 |
|
# your software. More frequent updates are unnecessary, and only guarantee |
17 |
|
# that the current interface number gets larger faster. |
18 |
|
# 3. If the library source code has changed at all since the last update, then |
19 |
|
# increment revision (`c:r:a' becomes `c:r+1:a'). |
20 |
|
# 4. If any interfaces have been added, removed, or changed since the last update, |
21 |
|
# increment current, and set revision to 0. |
22 |
|
# 5. If any interfaces have been added since the last public release, then increment |
23 |
|
# age. |
24 |
|
# 6. If any interfaces have been removed since the last public release, then set age |
25 |
|
# to 0. |
26 |
|
|
27 |
|
LIBLINUXSAMPLER_LT_CURRENT=0 |
28 |
|
LIBLINUXSAMPLER_LT_REVISION=0 |
29 |
|
LIBLINUXSAMPLER_LT_AGE=0 |
30 |
|
SHARED_VERSION_INFO="$LIBLINUXSAMPLER_LT_CURRENT:$LIBLINUXSAMPLER_LT_REVISION:$LIBLINUXSAMPLER_LT_AGE" |
31 |
|
|
32 |
|
AM_PROG_LIBTOOL |
33 |
|
|
34 |
|
AC_SUBST(SHLIB_VERSION_ARG) |
35 |
|
AC_SUBST(SHARED_VERSION_INFO) |
36 |
|
|
37 |
AC_C_BIGENDIAN |
AC_C_BIGENDIAN |
38 |
AC_CANONICAL_SYSTEM |
AC_CANONICAL_SYSTEM |
39 |
|
|
260 |
(default=on). LinuxSampler provides CPU specific |
(default=on). LinuxSampler provides CPU specific |
261 |
assembly optimizations for the most important |
assembly optimizations for the most important |
262 |
synthesis algorithms. You usually don't want to |
synthesis algorithms. You usually don't want to |
263 |
diable that.], |
disable that.], |
264 |
[config_asm="no"], |
[config_asm="no"], |
265 |
[config_asm="yes"] |
[config_asm="yes"] |
266 |
) |
) |
584 |
# Create Build Files |
# Create Build Files |
585 |
|
|
586 |
AM_CONFIG_HEADER(config.h) |
AM_CONFIG_HEADER(config.h) |
587 |
AM_INIT_AUTOMAKE(linuxsampler, 0.3.2) |
AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD") |
588 |
|
|
589 |
AC_LANG_CPLUSPLUS |
AC_LANG_CPLUSPLUS |
590 |
AC_PROG_CXX |
AC_PROG_CXX |
591 |
|
|
592 |
|
# some gcc 4.0 versions need -msse for SSE register allocations |
593 |
|
if test "$config_asm" = "yes"; then |
594 |
|
if test "$def_arch_x86" = 1; then |
595 |
|
CXXFLAGS="$CXXFLAGS -msse" |
596 |
|
fi |
597 |
|
fi |
598 |
|
|
599 |
# autoconf 2.59/libtool 1.5.12 bug? work-around. Without a check like |
# autoconf 2.59/libtool 1.5.12 bug? work-around. Without a check like |
600 |
# this, the dlfcn.h check in am_prog_libtool may fail. |
# this, the dlfcn.h check in am_prog_libtool may fail. |
601 |
AC_CHECK_HEADER(stdlib.h) |
AC_CHECK_HEADER(stdlib.h) |
602 |
|
|
|
AM_PROG_LIBTOOL |
|
|
|
|
603 |
AC_OUTPUT( \ |
AC_OUTPUT( \ |
604 |
Makefile \ |
Makefile \ |
605 |
man/Makefile \ |
man/Makefile \ |
625 |
Documentation/Makefile \ |
Documentation/Makefile \ |
626 |
Documentation/Engines/Makefile \ |
Documentation/Engines/Makefile \ |
627 |
Documentation/Engines/gig/Makefile \ |
Documentation/Engines/gig/Makefile \ |
628 |
|
linuxsampler.pc \ |
629 |
|
Doxyfile \ |
630 |
) |
) |
631 |
|
|
632 |
|
|