/[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 646 by schoenebeck, Mon Jun 13 00:08:10 2005 UTC revision 2329 by schoenebeck, Mon Mar 12 14:59:10 2012 UTC
# Line 3  AC_INIT(configure.in) Line 3  AC_INIT(configure.in)
3  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
4  # Library's "official" release version:  # Library's "official" release version:
5    
6  LIBGIG_RELEASE_MAJOR=2  LIBGIG_RELEASE_MAJOR=3
7  LIBGIG_RELEASE_MINOR=0  LIBGIG_RELEASE_MINOR=3
8  LIBGIG_RELEASE_BUILD=1  LIBGIG_RELEASE_BUILD=0.svn3
9    
10  #------------------------------------------------------------------------------------  #------------------------------------------------------------------------------------
11  # The following is the libtool / shared library version. This doesn't have to  # The following is the libtool / shared library version. This doesn't have to
# Line 24  LIBGIG_RELEASE_BUILD=1 Line 24  LIBGIG_RELEASE_BUILD=1
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_LT_CURRENT=3  LIBGIG_LT_CURRENT=10
28  LIBGIG_LT_REVISION=0  LIBGIG_LT_REVISION=0
29  LIBGIG_LT_AGE=1  LIBGIG_LT_AGE=4
30  SHARED_VERSION_INFO="$LIBGIG_LT_CURRENT:$LIBGIG_LT_REVISION:$LIBGIG_LT_AGE"  SHARED_VERSION_INFO="$LIBGIG_LT_CURRENT:$LIBGIG_LT_REVISION:$LIBGIG_LT_AGE"
31    
32    
 AC_C_BIGENDIAN  
   
33  AC_LANG_CPLUSPLUS  AC_LANG_CPLUSPLUS
34  AC_PROG_CXX  AC_PROG_CXX
35    AC_LIBTOOL_WIN32_DLL
36  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
37    
38    AC_C_BIGENDIAN
39    
40  AC_SUBST(SHLIB_VERSION_ARG)  AC_SUBST(SHLIB_VERSION_ARG)
41  AC_SUBST(SHARED_VERSION_INFO)  AC_SUBST(SHARED_VERSION_INFO)
42    AC_SUBST(LIBGIG_RELEASE_MAJOR)
43    AC_SUBST(LIBGIG_RELEASE_MINOR)
44    AC_SUBST(LIBGIG_RELEASE_BUILD)
45    
46  have_audio_file_lib="false"  have_audio_file_lib="false"
47    
# Line 66  if test "$have_audio_file_lib" = "false" Line 70  if test "$have_audio_file_lib" = "false"
70      exit -1;      exit -1;
71  fi  fi
72    
73    AC_CHECK_HEADERS(uuid/uuid.h)
74    AC_SEARCH_LIBS(uuid_generate, uuid)
75    AC_CHECK_FUNCS(uuid_generate)
76    
77    case "$host" in
78        *mingw*|*cygwin*)
79            win32=yes
80            ;;
81        *)
82            win32=no
83            ;;
84    esac
85    AM_CONDITIONAL(WIN32, test "$win32" = "yes")
86    
87    case "$host" in
88        *-*-darwin*)
89            mac=yes
90            ;;
91        *)
92            mac=no
93            ;;
94    esac
95    AM_CONDITIONAL(MAC, test "$mac" = "yes")
96    
97    if test "$ac_cv_func_uuid_generate" = no -a "$mac" = no -a "$win32" = no; then
98        AC_MSG_WARN([No UUID generate function found.
99    *** libgig will not be able to create DLSIDs in DLS and gig files.
100    *** Install libuuid from e2fsprogs to solve this. Package might be called
101    *** uuid-dev, libext2fs2-devel or e2fsprogs-devel.])
102    fi
103    
104  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
105  AM_INIT_AUTOMAKE(libgig, "$LIBGIG_RELEASE_MAJOR.$LIBGIG_RELEASE_MINOR.$LIBGIG_RELEASE_BUILD")  AM_INIT_AUTOMAKE(libgig, "$LIBGIG_RELEASE_MAJOR.$LIBGIG_RELEASE_MINOR.$LIBGIG_RELEASE_BUILD")
106    
107  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( \
108        Doxyfile \
109        gig.pc \
110        libgig.spec \
111        Makefile \
112        src/Makefile \
113        src/testcases/Makefile \
114        doc/Makefile \
115        man/Makefile \
116        man/dlsdump.1 \
117        man/gigdump.1 \
118        man/gigextract.1 \
119        man/rifftree.1 \
120        debian/Makefile \
121        osx/Makefile \
122        osx/libgig.xcodeproj/Makefile \
123        win32/Makefile \
124        win32/libgig.dev \
125    )

Legend:
Removed from v.646  
changed lines
  Added in v.2329

  ViewVC Help
Powered by ViewVC