/[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 2016 by iliev, Tue Oct 27 18:34:06 2009 UTC revision 2182 by persson, Sat Jun 11 17:53:24 2011 UTC
# 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.2016  
changed lines
  Added in v.2182

  ViewVC Help
Powered by ViewVC