/[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 1953 by schoenebeck, Thu Jul 30 08:16:02 2009 UTC revision 2274 by schoenebeck, Mon Sep 19 21:41:34 2011 UTC
# Line 5  AC_INIT(configure.in) Line 5  AC_INIT(configure.in)
5    
6  LIBGIG_RELEASE_MAJOR=3  LIBGIG_RELEASE_MAJOR=3
7  LIBGIG_RELEASE_MINOR=3  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 72  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 84  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.1953  
changed lines
  Added in v.2274

  ViewVC Help
Powered by ViewVC