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

Diff of /libgig/trunk/configure.ac

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

revision 644 by schoenebeck, Sun Jun 12 23:52:05 2005 UTC revision 1330 by persson, Sun Sep 9 10:36:23 2007 UTC
# Line 1  Line 1 
1  AC_INIT(configure.in)  AC_INIT(configure.in)
2    
3  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
4  # Rules for library version information:  # Library's "official" release version:
5    
6    LIBGIG_RELEASE_MAJOR=3
7    LIBGIG_RELEASE_MINOR=1
8    LIBGIG_RELEASE_BUILD=1
9    
10    #------------------------------------------------------------------------------------
11    # The following is the libtool / shared library version. This doesn't have to
12    # do anything with the release version. It MUST conform to the following rules:
13  #  #
14  #  1. Start with version information of `0:0:0' for each libtool library.  #  1. Start with version information of `0:0:0' for each libtool library.
15  #  2. Update the version information only immediately before a public release of  #  2. Update the version information only immediately before a public release of
# Line 16  AC_INIT(configure.in) Line 24  AC_INIT(configure.in)
24  #  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
25  #     to 0.  #     to 0.
26    
27  LIBGIG_CURRENT=3  LIBGIG_LT_CURRENT=7
28  LIBGIG_REVISION=0  LIBGIG_LT_REVISION=0
29  LIBGIG_AGE=1  LIBGIG_LT_AGE=1
30  SHARED_VERSION_INFO="$LIBGIG_CURRENT:$LIBGIG_REVISION:$LIBGIG_AGE"  SHARED_VERSION_INFO="$LIBGIG_LT_CURRENT:$LIBGIG_LT_REVISION:$LIBGIG_LT_AGE"
31    
32    
33  AC_C_BIGENDIAN  AC_C_BIGENDIAN
# Line 30  AM_PROG_LIBTOOL Line 38  AM_PROG_LIBTOOL
38    
39  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
40  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
41    AC_SUBST(LIBGIG_RELEASE_MAJOR)
42    AC_SUBST(LIBGIG_RELEASE_MINOR)
43    AC_SUBST(LIBGIG_RELEASE_BUILD)
44    
45  have_audio_file_lib="false"  have_audio_file_lib="false"
46    
# Line 58  if test "$have_audio_file_lib" = "false" Line 69  if test "$have_audio_file_lib" = "false"
69      exit -1;      exit -1;
70  fi  fi
71    
72    AC_CHECK_HEADERS(uuid/uuid.h)
73    AC_SEARCH_LIBS(uuid_generate, uuid)
74    AC_CHECK_FUNCS(uuid_generate CFUUIDCreate)
75    
76    case "$host" in
77        *mingw*|*cygwin*)
78            win32=yes
79            ;;
80        *)
81            win32=no
82            ;;
83    esac
84    AM_CONDITIONAL(WIN32, test "$win32" = "yes")
85    
86    if test "$ac_cv_func_uuid_generate" = no -a "$ac_cv_func_CFUUIDCreate" = no -a "$win32" = no; then
87       AC_MSG_WARN([No UUID generate function found.
88    *** libgig will not be able to create DLSIDs in DLS and gig files.
89    *** Install libuuid from e2fsprogs to solve this. Package might be called
90    *** uuid-dev, libext2fs2-devel or e2fsprogs-devel.])
91    fi
92    
93  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
94  AM_INIT_AUTOMAKE(libgig, "$LIBGIG_CURRENT.$LIBGIG_REVISION.$LIBGIG_AGE")  AM_INIT_AUTOMAKE(libgig, "$LIBGIG_RELEASE_MAJOR.$LIBGIG_RELEASE_MINOR.$LIBGIG_RELEASE_BUILD")
95    
96  AC_OUTPUT(Makefile doc/Makefile man/Makefile src/Makefile libgig.spec gig.pc Doxyfile man/dlsdump.1 man/gigdump.1 man/gigextract.1 man/rifftree.1 debian/Makefile)  AC_OUTPUT( \
97        Doxyfile \
98        gig.pc \
99        libgig.spec \
100        Makefile \
101        src/Makefile \
102        src/testcases/Makefile \
103        doc/Makefile \
104        man/Makefile \
105        man/dlsdump.1 \
106        man/gigdump.1 \
107        man/gigextract.1 \
108        man/rifftree.1 \
109        debian/Makefile \
110        osx/Makefile \
111        osx/libgig.xcodeproj/Makefile \
112        win32/Makefile \
113        win32/libgig.dev \
114    )

Legend:
Removed from v.644  
changed lines
  Added in v.1330

  ViewVC Help
Powered by ViewVC