/[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 1416 by schoenebeck, Sun Oct 14 12:06:32 2007 UTC revision 2274 by schoenebeck, Mon Sep 19 21:41:34 2011 UTC
# Line 4  AC_INIT(configure.in) Line 4  AC_INIT(configure.in)
4  # Library's "official" release version:  # Library's "official" release version:
5    
6  LIBGIG_RELEASE_MAJOR=3  LIBGIG_RELEASE_MAJOR=3
7  LIBGIG_RELEASE_MINOR=2  LIBGIG_RELEASE_MINOR=3
8  LIBGIG_RELEASE_BUILD=0  LIBGIG_RELEASE_BUILD=0.svn2
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=0 Line 24  LIBGIG_RELEASE_BUILD=0
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=8  LIBGIG_LT_CURRENT=10
28  LIBGIG_LT_REVISION=0  LIBGIG_LT_REVISION=0
29  LIBGIG_LT_AGE=2  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)  AC_SUBST(LIBGIG_RELEASE_MAJOR)
# Line 71  fi Line 72  fi
72    
73  AC_CHECK_HEADERS(uuid/uuid.h)  AC_CHECK_HEADERS(uuid/uuid.h)
74  AC_SEARCH_LIBS(uuid_generate, uuid)  AC_SEARCH_LIBS(uuid_generate, uuid)
75  AC_CHECK_FUNCS(uuid_generate CFUUIDCreate)  AC_CHECK_FUNCS(uuid_generate)
76    
77  case "$host" in  case "$host" in
78      *mingw*|*cygwin*)      *mingw*|*cygwin*)
# Line 83  case "$host" in Line 84  case "$host" in
84  esac  esac
85  AM_CONDITIONAL(WIN32, test "$win32" = "yes")  AM_CONDITIONAL(WIN32, test "$win32" = "yes")
86    
87  if test "$ac_cv_func_uuid_generate" = no -a "$ac_cv_func_CFUUIDCreate" = no -a "$win32" = no; then  case "$host" in
88     AC_MSG_WARN([No UUID generate function found.      *-*-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.  *** 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  *** Install libuuid from e2fsprogs to solve this. Package might be called
101  *** uuid-dev, libext2fs2-devel or e2fsprogs-devel.])  *** uuid-dev, libext2fs2-devel or e2fsprogs-devel.])

Legend:
Removed from v.1416  
changed lines
  Added in v.2274

  ViewVC Help
Powered by ViewVC