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

Contents of /libgig/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 315 - (show annotations) (download)
Fri Nov 26 19:29:05 2004 UTC (19 years, 4 months ago) by schoenebeck
Original Path: libgig/trunk/configure.in
File size: 1504 byte(s)
preparation for release 1.0.0

1 AC_INIT(configure.in)
2 AM_CONFIG_HEADER(config.h)
3
4 AM_INIT_AUTOMAKE(libgig, 1.0.0, 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 SHARED_VERSION_INFO="1:0:0"
25
26
27 AC_C_BIGENDIAN
28
29 AC_LANG_CPLUSPLUS
30 AC_PROG_CXX
31 AM_PROG_LIBTOOL
32
33 AC_SUBST(SHLIB_VERSION_ARG)
34 AC_SUBST(SHARED_VERSION_INFO)
35
36 // check for presence of libsndfile
37 PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.2, ac_cv_sndfile=1, ac_cv_sndfile=0)
38 AC_DEFINE_UNQUOTED([HAVE_SNDFILE],${ac_cv_sndfile}, [Set to 1 if you have libsndfile.])
39 AC_SUBST(SNDFILE_CFLAGS)
40 AC_SUBST(SNDFILE_LIBS)
41
42 AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec gig.pc Doxyfile)

  ViewVC Help
Powered by ViewVC