5 |
|
|
6 |
LIBGIG_RELEASE_MAJOR=3 |
LIBGIG_RELEASE_MAJOR=3 |
7 |
LIBGIG_RELEASE_MINOR=3 |
LIBGIG_RELEASE_MINOR=3 |
8 |
LIBGIG_RELEASE_BUILD=0.cvs1 |
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 |
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*) |
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.]) |