/[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 2919 by schoenebeck, Wed May 18 11:37:31 2016 UTC revision 3540 by schoenebeck, Sat Jul 27 18:50: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.svn15)  m4_define(gigedit_ver_release, 1)
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 70  esac Line 70  esac
70  AM_CONDITIONAL(WINDOWS, test "$windows" = "yes")  AM_CONDITIONAL(WINDOWS, test "$windows" = "yes")
71  AM_CONDITIONAL(MAC, test "$mac" = "yes")  AM_CONDITIONAL(MAC, test "$mac" = "yes")
72    
73  if test "$mac" = "yes"; then  # Note: even though Objective-C sources are just compiled for Mac, the
74      AC_PROG_OBJC  # following AC macros though must not be embedded into a shell check
75  fi  # (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    # 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,
87            [PKG_CHECK_MODULES([GTK], [gtk+-3.0])],
88            [PKG_CHECK_MODULES([GTK], [gtk+-2.0])])
89    
90  PKG_PROG_PKG_CONFIG  PKG_PROG_PKG_CONFIG
91  have_gtk3=no  have_gtk3=no
# Line 81  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.2.0)
109  AC_SUBST(GIG_CFLAGS)  AC_SUBST(GIG_CFLAGS)
110  AC_SUBST(GIG_LIBS)  AC_SUBST(GIG_LIBS)
111    
# Line 95  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.1"
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
# Line 193  AC_CONFIG_FILES([ Line 213  AC_CONFIG_FILES([
213          Makefile          Makefile
214          src/Makefile          src/Makefile
215          src/gigedit/Makefile          src/gigedit/Makefile
216        src/gigedit/gfx/Makefile
217          src/plugin/Makefile          src/plugin/Makefile
218          gfx/Makefile          gfx/Makefile
219          po/Makefile.in          po/Makefile.in

Legend:
Removed from v.2919  
changed lines
  Added in v.3540

  ViewVC Help
Powered by ViewVC