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 |
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0) |
case $host in |
63 |
PKG_CHECK_MODULES(GIG, gig >= 3.2.0) |
*mingw*|*cygwin*) windows=yes ;; |
64 |
|
*) windows=no ;; |
65 |
|
esac |
66 |
|
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
67 |
|
|
68 |
|
PKG_PROG_PKG_CONFIG |
69 |
|
PKG_CHECK_EXISTS(gtkmm-3.0 >= 2.99, |
70 |
|
[PKG_CHECK_MODULES(GTKMM, gtkmm-3.0)], |
71 |
|
[PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.8 gthread-2.0 cairomm-1.0)]) |
72 |
|
|
73 |
|
PKG_CHECK_MODULES(GIG, gig >= 3.3.0) |
74 |
|
|
75 |
# check for presence of libsndfile |
# check for presence of libsndfile |
76 |
PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2) |
PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2) |
102 |
else |
else |
103 |
echo "Found linuxsampler $liblinuxsampler_version" |
echo "Found linuxsampler $liblinuxsampler_version" |
104 |
echo -n "Retrieving LinuxSampler's plugin dir... " |
echo -n "Retrieving LinuxSampler's plugin dir... " |
105 |
LINUXSAMPLER_PLUGIN_DIR=`pkg-config --variable plugindir linuxsampler` |
LINUXSAMPLER_PLUGIN_DIR=`$PKG_CONFIG --variable plugindir linuxsampler` |
106 |
if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then |
if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then |
107 |
have_linuxsampler=0 |
have_linuxsampler=0 |
108 |
echo "Error" |
echo "Error" |
198 |
win32/gigedit.dev |
win32/gigedit.dev |
199 |
win32/gigedit.nsi |
win32/gigedit.nsi |
200 |
win32/Makefile |
win32/Makefile |
201 |
|
gigedit.spec |
202 |
]) |
]) |
203 |
AC_OUTPUT |
AC_OUTPUT |