/[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 3806 by schoenebeck, Thu Aug 13 13:35:33 2020 UTC revision 4003 by schoenebeck, Wed Nov 24 21:26:39 2021 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, 1)  m4_define(gigedit_ver_minor, 2)
8  m4_define(gigedit_ver_release, 1.svn23)  m4_define(gigedit_ver_release, 0.svn2)
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=4  LIBGIGEDIT_LT_CURRENT=5
32  LIBGIGEDIT_LT_REVISION=0  LIBGIGEDIT_LT_REVISION=0
33  LIBGIGEDIT_LT_AGE=0  LIBGIGEDIT_LT_AGE=0
34    
# Line 111  PKG_CHECK_MODULES(SIGC, sigc++-2.0) Line 111  PKG_CHECK_MODULES(SIGC, sigc++-2.0)
111  AC_SUBST(SIGC_CFLAGS)  AC_SUBST(SIGC_CFLAGS)
112  AC_SUBST(SIGC_LIBS)  AC_SUBST(SIGC_LIBS)
113    
114  PKG_CHECK_MODULES(GIG, gig >= 4.2.0)  PKG_CHECK_MODULES(GIG, gig >= 4.3.0)
115  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
116  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
117    
# Line 120  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1. Line 120  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.
120  AC_SUBST(SNDFILE_CFLAGS)  AC_SUBST(SNDFILE_CFLAGS)
121  AC_SUBST(SNDFILE_LIBS)  AC_SUBST(SNDFILE_LIBS)
122    
123  # check for (optional) presence of liblinuxsampler  # check for presence of liblinuxsampler
124  liblinuxsampler_version="2.1.1"  liblinuxsampler_version="2.2.0"
125  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
126      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
127      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0
# Line 130  LINUXSAMPLER_PLUGIN_DIR= Line 130  LINUXSAMPLER_PLUGIN_DIR=
130  if test "$have_linuxsampler" = "0"; then  if test "$have_linuxsampler" = "0"; then
131      echo "Required liblinuxsampler version not found!"      echo "Required liblinuxsampler version not found!"
132      echo "You need to have liblinuxsampler version ${liblinuxsampler_version}"      echo "You need to have liblinuxsampler version ${liblinuxsampler_version}"
133      echo "installed. Support for on-the-fly editing with LinuxSampler will"      echo "installed for this version of gigedit."
134      echo "be disabled."      exit -1;
135  else  else
136      echo "Found linuxsampler $liblinuxsampler_version"      echo "Found linuxsampler $liblinuxsampler_version"
137      echo -n "Retrieving LinuxSampler's plugin dir... "      echo -n "Retrieving LinuxSampler's plugin dir... "
# Line 139  else Line 139  else
139      if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then      if test "$LINUXSAMPLER_PLUGIN_DIR" = ""; then
140          have_linuxsampler=0          have_linuxsampler=0
141          echo "Error"          echo "Error"
142          echo "Could not retrieve LinuxSampler's plugin directory. Support"          echo "Could not retrieve LinuxSampler's plugin directory."
143          echo "for on-the-fly editing with LinuxSampler will be disabled."          exit -1;
144      else      else
145          echo "${LINUXSAMPLER_PLUGIN_DIR} "          echo "${LINUXSAMPLER_PLUGIN_DIR} "
146          # convert absolute LS plugin dir into relative dir          # convert absolute LS plugin dir into relative dir

Legend:
Removed from v.3806  
changed lines
  Added in v.4003

  ViewVC Help
Powered by ViewVC