/[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 3069 by schoenebeck, Mon Jan 2 22:20:51 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.svn23)
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    if test "$mac" = "yes"; then
74        AC_PROG_OBJC
75        AC_PROG_OBJCXX
76    fi
77    
78  PKG_PROG_PKG_CONFIG  PKG_PROG_PKG_CONFIG
79  have_gtk3=no  have_gtk3=no
# Line 78  PKG_CHECK_MODULES(SIGC, sigc++-2.0) Line 86  PKG_CHECK_MODULES(SIGC, sigc++-2.0)
86  AC_SUBST(SIGC_CFLAGS)  AC_SUBST(SIGC_CFLAGS)
87  AC_SUBST(SIGC_LIBS)  AC_SUBST(SIGC_LIBS)
88    
89  PKG_CHECK_MODULES(GIG, gig >= 3.3.0)  PKG_CHECK_MODULES(GIG, gig >= 4.0.0)
90  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
91  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
92    
93  # check for presence of libsndfile  # check for presence of libsndfile
94  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2)  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.11)
95  AC_SUBST(SNDFILE_CFLAGS)  AC_SUBST(SNDFILE_CFLAGS)
96  AC_SUBST(SNDFILE_LIBS)  AC_SUBST(SNDFILE_LIBS)
97    
 # 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  
   
98  # check for (optional) presence of liblinuxsampler  # check for (optional) presence of liblinuxsampler
99  liblinuxsampler_version="0.5.0"  liblinuxsampler_version="2.0.0"
100  PKG_CHECK_MODULES(  PKG_CHECK_MODULES(
101      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,      LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
102      have_linuxsampler=1, have_linuxsampler=0      have_linuxsampler=1, have_linuxsampler=0

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

  ViewVC Help
Powered by ViewVC