73 |
AC_SEARCH_LIBS(uuid_generate, uuid) |
AC_SEARCH_LIBS(uuid_generate, uuid) |
74 |
AC_CHECK_FUNCS(uuid_generate CFUUIDCreate) |
AC_CHECK_FUNCS(uuid_generate CFUUIDCreate) |
75 |
|
|
76 |
if test "$ac_cv_func_uuid_generate" = no -a "$ac_cv_func_CFUUIDCreate" = no; then |
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. |
AC_MSG_WARN([No UUID generate function found. |
88 |
*** 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. |
89 |
*** Install libuuid from e2fsprogs to solve this. Package might be called |
*** Install libuuid from e2fsprogs to solve this. Package might be called |