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

Diff of /libgig/trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by schoenebeck, Sat Oct 25 20:15:04 2003 UTC revision 315 by schoenebeck, Fri Nov 26 19:29:05 2004 UTC
# Line 1  Line 1 
1  AC_INIT(configure.in)  AC_INIT(configure.in)
   
2  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
3  AM_INIT_AUTOMAKE(libgig, 0.1)  
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  AC_LANG_CPLUSPLUS
30  AC_PROG_CXX  AC_PROG_CXX
31  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
32    
33  AC_OUTPUT(Makefile src/Makefile)  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)

Legend:
Removed from v.2  
changed lines
  Added in v.315

  ViewVC Help
Powered by ViewVC