/[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 2366 by persson, Sat Sep 8 17:21:48 2012 UTC revision 3123 by schoenebeck, Tue Apr 25 20:45:54 2017 UTC
# Line 3  dnl Process this file with autoconf to p Line 3  dnl Process this file with autoconf to p
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.svn29)
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=2  LIBGIGEDIT_LT_CURRENT=3
32  LIBGIGEDIT_LT_REVISION=0  LIBGIGEDIT_LT_REVISION=0
33  LIBGIGEDIT_LT_AGE=0  LIBGIGEDIT_LT_AGE=0
34    
# Line 61  AC_PROG_CXX Line 61  AC_PROG_CXX
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_PROG_PKG_CONFIG  PKG_PROG_PKG_CONFIG
83  have_gtk3=no  have_gtk3=no
# Line 78  PKG_CHECK_MODULES(SIGC, sigc++-2.0) Line 90  PKG_CHECK_MODULES(SIGC, sigc++-2.0)
90  AC_SUBST(SIGC_CFLAGS)  AC_SUBST(SIGC_CFLAGS)
91  AC_SUBST(SIGC_LIBS)  AC_SUBST(SIGC_LIBS)
92    
93  PKG_CHECK_MODULES(GIG, gig >= 3.3.0)  PKG_CHECK_MODULES(GIG, gig >= 4.0.0)
94  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
95  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
96    
97  # check for presence of libsndfile  # check for presence of libsndfile
98  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2)  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.11)
99  AC_SUBST(SNDFILE_CFLAGS)  AC_SUBST(SNDFILE_CFLAGS)
100  AC_SUBST(SNDFILE_LIBS)  AC_SUBST(SNDFILE_LIBS)
101    
 # check for loop functionality in libsndfile  
 gigedit_save_CXXFLAGS=$CXXFLAGS  
 CXXFLAGS="$SNDFILE_CFLAGS $CXXFLAGS"  
 AC_CHECK_MEMBERS([SF_INSTRUMENT.loops],,  
                  [AC_MSG_WARN([Your version of libsndfile does not support  
     reading of loop information. Gigedit will not be able to  
     extract loop information from sample files.])],  
                  [#include <sndfile.h>])  
 CXXFLAGS=$gigedit_save_CXXFLAGS  
   
102  # check for (optional) presence of liblinuxsampler  # check for (optional) presence of liblinuxsampler
103  liblinuxsampler_version="0.5.0"  liblinuxsampler_version="2.0.0"
104  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
105      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
106      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0
# Line 196  AC_CONFIG_FILES([ Line 198  AC_CONFIG_FILES([
198          Makefile          Makefile
199          src/Makefile          src/Makefile
200          src/gigedit/Makefile          src/gigedit/Makefile
201        src/gigedit/gfx/Makefile
202          src/plugin/Makefile          src/plugin/Makefile
203          gfx/Makefile          gfx/Makefile
204          po/Makefile.in          po/Makefile.in

Legend:
Removed from v.2366  
changed lines
  Added in v.3123

  ViewVC Help
Powered by ViewVC