/[svn]/gigedit/trunk/configure.ac
ViewVC logotype

Diff of /gigedit/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3339 by schoenebeck, Sun Jul 30 18:57:35 2017 UTC revision 3462 by persson, Sun Feb 3 13:27:28 2019 UTC
# Line 4  dnl Process this file with autoconf to p Line 4  dnl Process this file with autoconf to p
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, 0)  m4_define(gigedit_ver_minor, 1)
8  m4_define(gigedit_ver_release, 0.svn61)  m4_define(gigedit_ver_release, 0.svn8)
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])
# Line 28  AC_CONFIG_AUX_DIR([.]) Line 28  AC_CONFIG_AUX_DIR([.])
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=3  LIBGIGEDIT_LT_CURRENT=4
32  LIBGIGEDIT_LT_REVISION=0  LIBGIGEDIT_LT_REVISION=0
33  LIBGIGEDIT_LT_AGE=0  LIBGIGEDIT_LT_AGE=0
34    
# Line 77  AM_CONDITIONAL(MAC, test "$mac" = "yes") Line 77  AM_CONDITIONAL(MAC, test "$mac" = "yes")
77  # code though would then not be executed and would lead to interesting  # code though would then not be executed and would lead to interesting
78  # libtool errors on non-Mac systems due to this.  # libtool errors on non-Mac systems due to this.
79  AC_PROG_OBJC  AC_PROG_OBJC
80  AC_PROG_OBJCXX  # The OBJCXX macro didn't exist before autoconf 2.65, so ifdef it to
81    # avoid warnings on old systems.
82    m4_ifdef([AC_PROG_OBJCXX], [AC_PROG_OBJCXX])
83    
84    m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
85    
86  PKG_CHECK_EXISTS(gtk+-3.0 >= 2.99,  PKG_CHECK_EXISTS(gtk+-3.0 >= 2.99,
87          [PKG_CHECK_MODULES([GTK], [gtk+-3.0])],          [PKG_CHECK_MODULES([GTK], [gtk+-3.0])],
# Line 90  PKG_CHECK_EXISTS(gtkmm-3.0 >= 2.99, Line 94  PKG_CHECK_EXISTS(gtkmm-3.0 >= 2.99,
94          [PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.8 gthread-2.0 cairomm-1.0)])          [PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.8 gthread-2.0 cairomm-1.0)])
95  AM_CONDITIONAL(HAVE_GTK3, [test "$have_gtk3" = "yes"])  AM_CONDITIONAL(HAVE_GTK3, [test "$have_gtk3" = "yes"])
96    
97    # Check for cairommconfig.h, as it was moved in cairomm 1.8.4. We only
98    # need it for newer versions.
99    gigedit_save_CPPFLAGS=$CPPFLAGS
100    CPPFLAGS="$GTKMM_CFLAGS $CPPFLAGS"
101    AC_CHECK_HEADERS([cairommconfig.h])
102    CPPFLAGS=$gigedit_save_CPPFLAGS
103    
104  PKG_CHECK_MODULES(SIGC, sigc++-2.0)  PKG_CHECK_MODULES(SIGC, sigc++-2.0)
105  AC_SUBST(SIGC_CFLAGS)  AC_SUBST(SIGC_CFLAGS)
106  AC_SUBST(SIGC_LIBS)  AC_SUBST(SIGC_LIBS)
107    
108  PKG_CHECK_MODULES(GIG, gig >= 4.0.0)  PKG_CHECK_MODULES(GIG, gig >= 4.1.0)
109  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
110  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
111    
# Line 104  AC_SUBST(SNDFILE_CFLAGS) Line 115  AC_SUBST(SNDFILE_CFLAGS)
115  AC_SUBST(SNDFILE_LIBS)  AC_SUBST(SNDFILE_LIBS)
116    
117  # check for (optional) presence of liblinuxsampler  # check for (optional) presence of liblinuxsampler
118  liblinuxsampler_version="2.0.0"  liblinuxsampler_version="2.1.0"
119  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
120      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
121      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0

Legend:
Removed from v.3339  
changed lines
  Added in v.3462

  ViewVC Help
Powered by ViewVC