/[svn]/libgig/trunk/configure.ac
ViewVC logotype

Contents of /libgig/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 220 - (show annotations) (download)
Wed Aug 18 12:11:26 2004 UTC (19 years, 7 months ago) by schoenebeck
Original Path: libgig/trunk/configure.in
File size: 1563 byte(s)
* added support for libsndfile to the 'gigextract' tool

1 AC_INIT(configure.in)
2 AM_CONFIG_HEADER(config.h)
3
4 AM_INIT_AUTOMAKE(libgig, 0.7.1, cuse@users.sourceforge.net)
5 AC_PROG_LIBTOOL
6
7
8 #------------------------------------------------------------------------------------
9 # Rules for library version information:
10 #
11 # 1. Start with version information of `0:0:0' for each libtool library.
12 # 2. Update the version information only immediately before a public release of
13 # your software. More frequent updates are unnecessary, and only guarantee
14 # that the current interface number gets larger faster.
15 # 3. If the library source code has changed at all since the last update, then
16 # increment revision (`c:r:a' becomes `c:r+1:a').
17 # 4. If any interfaces have been added, removed, or changed since the last update,
18 # increment current, and set revision to 0.
19 # 5. If any interfaces have been added since the last public release, then increment
20 # age.
21 # 6. If any interfaces have been removed since the last public release, then set age
22 # to 0.
23
24 # we wait to bump the version until the next point release
25 SHARED_VERSION_INFO="0:0:0"
26
27
28 AC_C_BIGENDIAN
29
30 AC_LANG_CPLUSPLUS
31 AC_PROG_CXX
32 AM_PROG_LIBTOOL
33
34 AC_SUBST(SHLIB_VERSION_ARG)
35 AC_SUBST(SHARED_VERSION_INFO)
36
37 // check for presence of libsndfile
38 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2, ac_cv_sndfile=1, ac_cv_sndfile=0)
39 AC_DEFINE_UNQUOTED([HAVE_SNDFILE],${ac_cv_sndfile}, [Set to 1 if you have libsndfile.])
40 AC_SUBST(SNDFILE_CFLAGS)
41 AC_SUBST(SNDFILE_LIBS)
42
43 AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec gig.pc Doxyfile)

  ViewVC Help
Powered by ViewVC