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 |
|
|
65 |
esac |
esac |
66 |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
67 |
|
|
68 |
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.10 gthread-2.0) |
PKG_PROG_PKG_CONFIG |
69 |
PKG_CHECK_MODULES(GIG, gig >= 3.2.0) |
have_gtk3=no |
70 |
|
PKG_CHECK_EXISTS(gtkmm-3.0 >= 2.99, |
71 |
|
[PKG_CHECK_MODULES(GTKMM, gtkmm-3.0, have_gtk3=yes)], |
72 |
|
[PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.8 gthread-2.0 cairomm-1.0)]) |
73 |
|
AM_CONDITIONAL(HAVE_GTK3, [test "$have_gtk3" = "yes"]) |
74 |
|
|
75 |
|
PKG_CHECK_MODULES(GIG, gig >= 3.3.0) |
76 |
|
|
77 |
# check for presence of libsndfile |
# check for presence of libsndfile |
78 |
PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2) |
PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2) |
104 |
else |
else |
105 |
echo "Found linuxsampler $liblinuxsampler_version" |
echo "Found linuxsampler $liblinuxsampler_version" |
106 |
echo -n "Retrieving LinuxSampler's plugin dir... " |
echo -n "Retrieving LinuxSampler's plugin dir... " |
107 |
LINUXSAMPLER_PLUGIN_DIR=`pkg-config --variable plugindir linuxsampler` |
LINUXSAMPLER_PLUGIN_DIR=`$PKG_CONFIG --variable plugindir linuxsampler` |
108 |
if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then |
if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then |
109 |
have_linuxsampler=0 |
have_linuxsampler=0 |
110 |
echo "Error" |
echo "Error" |