4 |
# The following is the current, official release version of gigedit: |
# The following is the current, official release version of gigedit: |
5 |
|
|
6 |
m4_define(gigedit_ver_major, 1) |
m4_define(gigedit_ver_major, 1) |
7 |
m4_define(gigedit_ver_minor, 1) |
m4_define(gigedit_ver_minor, 2) |
8 |
m4_define(gigedit_ver_release, 0.svn8) |
m4_define(gigedit_ver_release, 0.svn1) |
9 |
|
|
10 |
AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) |
AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) |
11 |
AC_CONFIG_SRCDIR([configure.ac]) |
AC_CONFIG_SRCDIR([configure.ac]) |
28 |
# 6. If any interfaces have been removed since the last public release, then set age |
# 6. If any interfaces have been removed since the last public release, then set age |
29 |
# to 0. |
# to 0. |
30 |
|
|
31 |
LIBGIGEDIT_LT_CURRENT=4 |
LIBGIGEDIT_LT_CURRENT=5 |
32 |
LIBGIGEDIT_LT_REVISION=0 |
LIBGIGEDIT_LT_REVISION=0 |
33 |
LIBGIGEDIT_LT_AGE=0 |
LIBGIGEDIT_LT_AGE=0 |
34 |
|
|
70 |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
71 |
AM_CONDITIONAL(MAC, test "$mac" = "yes") |
AM_CONDITIONAL(MAC, test "$mac" = "yes") |
72 |
|
|
73 |
|
# make sure C++11 is supported by compiler |
74 |
|
# (add CXXFLAGS if required [e.g. -std=c++11]) |
75 |
|
m4_ifdef([m4_include(m4/ax_cxx_compile_stdcxx.m4)],, |
76 |
|
[sinclude([m4/ax_cxx_compile_stdcxx.m4])]) |
77 |
|
AX_CXX_COMPILE_STDCXX(11, [], mandatory) |
78 |
|
|
79 |
# Note: even though Objective-C sources are just compiled for Mac, the |
# Note: even though Objective-C sources are just compiled for Mac, the |
80 |
# following AC macros though must not be embedded into a shell check |
# following AC macros though must not be embedded into a shell check |
81 |
# (if test "$mac" = "yes" ...), because those AC macros themselves are |
# (if test "$mac" = "yes" ...), because those AC macros themselves are |
111 |
AC_SUBST(SIGC_CFLAGS) |
AC_SUBST(SIGC_CFLAGS) |
112 |
AC_SUBST(SIGC_LIBS) |
AC_SUBST(SIGC_LIBS) |
113 |
|
|
114 |
PKG_CHECK_MODULES(GIG, gig >= 4.1.0) |
PKG_CHECK_MODULES(GIG, gig >= 4.3.0) |
115 |
AC_SUBST(GIG_CFLAGS) |
AC_SUBST(GIG_CFLAGS) |
116 |
AC_SUBST(GIG_LIBS) |
AC_SUBST(GIG_LIBS) |
117 |
|
|
121 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
122 |
|
|
123 |
# check for (optional) presence of liblinuxsampler |
# check for (optional) presence of liblinuxsampler |
124 |
liblinuxsampler_version="2.1.0" |
liblinuxsampler_version="2.2.0" |
125 |
PKG_CHECK_MODULES( |
PKG_CHECK_MODULES( |
126 |
LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, |
LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, |
127 |
have_linuxsampler=1, have_linuxsampler=0 |
have_linuxsampler=1, have_linuxsampler=0 |