6 |
# The following is the current, official release version of gigedit: |
# The following is the current, official release version of gigedit: |
7 |
|
|
8 |
GIGEDIT_VER_MAJOR=0 |
GIGEDIT_VER_MAJOR=0 |
9 |
GIGEDIT_VER_MINOR=1 |
GIGEDIT_VER_MINOR=2 |
10 |
GIGEDIT_VER_RELEASE=1 |
GIGEDIT_VER_RELEASE=0 |
11 |
|
|
12 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
13 |
# The following is the libtool / shared library version. This doesn't have to |
# The following is the libtool / shared library version. This doesn't have to |
26 |
# 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 |
27 |
# to 0. |
# to 0. |
28 |
|
|
29 |
LIBGIGEDIT_LT_CURRENT=1 |
LIBGIGEDIT_LT_CURRENT=2 |
30 |
LIBGIGEDIT_LT_REVISION=0 |
LIBGIGEDIT_LT_REVISION=0 |
31 |
LIBGIGEDIT_LT_AGE=0 |
LIBGIGEDIT_LT_AGE=0 |
32 |
|
|
33 |
SHARED_VERSION_INFO="$LIBGIGEDIT_LT_CURRENT:$LIBGIGEDIT_LT_REVISION:$LIBGIGEDIT_LT_AGE" |
SHARED_VERSION_INFO="$LIBGIGEDIT_LT_CURRENT:$LIBGIGEDIT_LT_REVISION:$LIBGIGEDIT_LT_AGE" |
34 |
AC_LANG_CPLUSPLUS |
AC_LANG_CPLUSPLUS |
35 |
AC_PROG_CXX |
AC_PROG_CXX |
36 |
|
AC_LIBTOOL_WIN32_DLL |
37 |
AC_PROG_LIBTOOL |
AC_PROG_LIBTOOL |
38 |
AC_SUBST(SHLIB_VERSION_ARG) |
AC_SUBST(SHLIB_VERSION_ARG) |
39 |
AC_SUBST(SHARED_VERSION_INFO) |
AC_SUBST(SHARED_VERSION_INFO) |
59 |
IT_PROG_INTLTOOL(0.35.0) |
IT_PROG_INTLTOOL(0.35.0) |
60 |
AM_GLIB_GNU_GETTEXT |
AM_GLIB_GNU_GETTEXT |
61 |
|
|
62 |
|
case $host in |
63 |
|
*mingw*|*cygwin*) windows=yes ;; |
64 |
|
*) windows=no ;; |
65 |
|
esac |
66 |
|
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
67 |
|
|
68 |
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0) |
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0) |
69 |
PKG_CHECK_MODULES(GIG, gig >= 3.2.0) |
PKG_CHECK_MODULES(GIG, gig >= 3.2.0) |
70 |
|
|
74 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
75 |
|
|
76 |
# check for loop functionality in libsndfile |
# check for loop functionality in libsndfile |
77 |
gigedit_save_CFLAGS=$CFLAGS |
gigedit_save_CXXFLAGS=$CXXFLAGS |
78 |
CFLAGS="$SNDFILE_CFLAGS $CFLAGS" |
CXXFLAGS="$SNDFILE_CFLAGS $CXXFLAGS" |
79 |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],, |
80 |
[AC_MSG_WARN([Your version of libsndfile does not support |
[AC_MSG_WARN([Your version of libsndfile does not support |
81 |
reading of loop information. Gigedit will not be able to |
reading of loop information. Gigedit will not be able to |
82 |
extract loop information from sample files.])], |
extract loop information from sample files.])], |
83 |
[#include <sndfile.h>]) |
[#include <sndfile.h>]) |
84 |
CFLAGS=$gigedit_save_CFLAGS |
CXXFLAGS=$gigedit_save_CXXFLAGS |
85 |
|
|
86 |
# check for (optional) presence of liblinuxsampler |
# check for (optional) presence of liblinuxsampler |
87 |
liblinuxsampler_version="0.5.0" |
liblinuxsampler_version="0.5.0" |
194 |
win32/gigedit.dev |
win32/gigedit.dev |
195 |
win32/gigedit.nsi |
win32/gigedit.nsi |
196 |
win32/Makefile |
win32/Makefile |
197 |
|
gigedit.spec |
198 |
]) |
]) |
199 |
AC_OUTPUT |
AC_OUTPUT |