/[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 1152 by schoenebeck, Mon Apr 9 18:52:39 2007 UTC revision 1213 by schoenebeck, Wed May 30 00:14:05 2007 UTC
# Line 1  Line 1 
1  dnl Process this file with autoconf to produce a configure script.  dnl Process this file with autoconf to produce a configure script.
2  AC_INIT(gigedit,0.0.3)  AC_INIT(gigedit,0.0.3)
 AC_CONFIG_SRCDIR(src/main.cpp)  
3    
4  AC_CONFIG_HEADERS(config.h)  #------------------------------------------------------------------------------------
5    # The following is the libtool / shared library version. This doesn't have to
6    # do anything with the release version. It MUST conform to the following rules:
7    #
8    #  1. Start with version information of `0:0:0' for each libtool library.
9    #  2. Update the version information only immediately before a public release of
10    #     your software. More frequent updates are unnecessary, and only guarantee
11    #     that the current interface number gets larger faster.
12    #  3. If the library source code has changed at all since the last update, then
13    #     increment revision (`c:r:a' becomes `c:r+1:a').
14    #  4. If any interfaces have been added, removed, or changed since the last update,
15    #     increment current, and set revision to 0.
16    #  5. If any interfaces have been added since the last public release, then increment
17    #     age.
18    #  6. If any interfaces have been removed since the last public release, then set age
19    #     to 0.
20    
21    LIBGIGEDIT_LT_CURRENT=0
22    LIBGIGEDIT_LT_REVISION=0
23    LIBGIGEDIT_LT_AGE=0
24    SHARED_VERSION_INFO="$LIBGIGEDIT_LT_CURRENT:$LIBGIGEDIT_LT_REVISION:$LIBGIGEDIT_LT_AGE"
25    AC_PROG_LIBTOOL
26    AC_SUBST(SHLIB_VERSION_ARG)
27    AC_SUBST(SHARED_VERSION_INFO)
28    
29    AC_CONFIG_SRCDIR(src/main.cpp)
30    AC_CONFIG_HEADERS(config.h)
31  AM_INIT_AUTOMAKE  AM_INIT_AUTOMAKE
32    
33  GETTEXT_PACKAGE=gigedit  GETTEXT_PACKAGE=gigedit
# Line 23  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1. Line 47  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.
47  AC_SUBST(SNDFILE_CFLAGS)  AC_SUBST(SNDFILE_CFLAGS)
48  AC_SUBST(SNDFILE_LIBS)  AC_SUBST(SNDFILE_LIBS)
49    
50    # check for (optional) presence of liblinuxsampler
51    liblinuxsampler_version="0.4.0.5cvs"
52    PKG_CHECK_MODULES(
53        LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version,
54        have_linuxsampler=1, have_linuxsampler=0
55    )
56    if test "$have_linuxsampler" = "0"; then
57        echo "Required liblinuxsampler version not found!"
58        echo "You need to have liblinuxsampler version ${liblinuxsampler_version}"
59        echo "installed. Support for on-the-fly editing with LinuxSampler will"
60        echo "be disabled."
61    else
62        echo "yes, found linuxsampler $linuxsampler_version"
63    fi
64    AC_SUBST(LINUXSAMPLER_CFLAGS)
65    AC_SUBST(LINUXSAMPLER_LIBS)
66    AM_CONDITIONAL(HAVE_LINUXSAMPLER, test $have_linuxsampler = "1")
67    AC_DEFINE_UNQUOTED(
68        HAVE_LINUXSAMPLER, $have_linuxsampler,
69        [Define to 1 if you have LinuxSampler installed.]
70    )
71    
72  AC_CONFIG_FILES([  AC_CONFIG_FILES([
73  Makefile          Makefile
74  src/Makefile          src/Makefile
75  po/Makefile.in          src/plugin/Makefile
76  debian/Makefile          po/Makefile.in
77            debian/Makefile
78  ])  ])
79  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.1152  
changed lines
  Added in v.1213

  ViewVC Help
Powered by ViewVC