3 |
#------------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------------ |
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, 0) |
m4_define(gigedit_ver_major, 1) |
7 |
m4_define(gigedit_ver_minor, 2) |
m4_define(gigedit_ver_minor, 0) |
8 |
m4_define(gigedit_ver_release, 0) |
m4_define(gigedit_ver_release, 0.svn58) |
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=2 |
LIBGIGEDIT_LT_CURRENT=3 |
32 |
LIBGIGEDIT_LT_REVISION=0 |
LIBGIGEDIT_LT_REVISION=0 |
33 |
LIBGIGEDIT_LT_AGE=0 |
LIBGIGEDIT_LT_AGE=0 |
34 |
|
|
61 |
IT_PROG_INTLTOOL(0.35.0) |
IT_PROG_INTLTOOL(0.35.0) |
62 |
AM_GLIB_GNU_GETTEXT |
AM_GLIB_GNU_GETTEXT |
63 |
|
|
64 |
|
windows=no |
65 |
|
mac=no |
66 |
case $host in |
case $host in |
67 |
*mingw*|*cygwin*) windows=yes ;; |
*mingw*|*cygwin*) windows=yes ;; |
68 |
*) windows=no ;; |
*-*-darwin*) mac=yes ;; |
69 |
esac |
esac |
70 |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") |
71 |
|
AM_CONDITIONAL(MAC, test "$mac" = "yes") |
72 |
|
|
73 |
|
# Note: even though Objective-C sources are just compiled for Mac, the |
74 |
|
# following AC macros though must not be embedded into a shell check |
75 |
|
# (if test "$mac" = "yes" ...), because those AC macros themselves are |
76 |
|
# expanded before any shell code is executed, the generated configure |
77 |
|
# code though would then not be executed and would lead to interesting |
78 |
|
# libtool errors on non-Mac systems due to this. |
79 |
|
AC_PROG_OBJC |
80 |
|
AC_PROG_OBJCXX |
81 |
|
|
82 |
|
PKG_CHECK_EXISTS(gtk+-3.0 >= 2.99, |
83 |
|
[PKG_CHECK_MODULES([GTK], [gtk+-3.0])], |
84 |
|
[PKG_CHECK_MODULES([GTK], [gtk+-2.0])]) |
85 |
|
|
86 |
PKG_PROG_PKG_CONFIG |
PKG_PROG_PKG_CONFIG |
87 |
have_gtk3=no |
have_gtk3=no |
94 |
AC_SUBST(SIGC_CFLAGS) |
AC_SUBST(SIGC_CFLAGS) |
95 |
AC_SUBST(SIGC_LIBS) |
AC_SUBST(SIGC_LIBS) |
96 |
|
|
97 |
PKG_CHECK_MODULES(GIG, gig >= 3.3.0) |
PKG_CHECK_MODULES(GIG, gig >= 4.0.0) |
98 |
AC_SUBST(GIG_CFLAGS) |
AC_SUBST(GIG_CFLAGS) |
99 |
AC_SUBST(GIG_LIBS) |
AC_SUBST(GIG_LIBS) |
100 |
|
|
104 |
AC_SUBST(SNDFILE_LIBS) |
AC_SUBST(SNDFILE_LIBS) |
105 |
|
|
106 |
# check for (optional) presence of liblinuxsampler |
# check for (optional) presence of liblinuxsampler |
107 |
liblinuxsampler_version="0.5.0" |
liblinuxsampler_version="2.0.0" |
108 |
PKG_CHECK_MODULES( |
PKG_CHECK_MODULES( |
109 |
LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, |
LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, |
110 |
have_linuxsampler=1, have_linuxsampler=0 |
have_linuxsampler=1, have_linuxsampler=0 |
202 |
Makefile |
Makefile |
203 |
src/Makefile |
src/Makefile |
204 |
src/gigedit/Makefile |
src/gigedit/Makefile |
205 |
|
src/gigedit/gfx/Makefile |
206 |
src/plugin/Makefile |
src/plugin/Makefile |
207 |
gfx/Makefile |
gfx/Makefile |
208 |
po/Makefile.in |
po/Makefile.in |