configure.ac fix for Cygwin

edge.strict_endians
uvman 2006-05-16 11:58:22 +00:00
parent d0cd21d4e3
commit bcbb7e06e2
2 changed files with 4 additions and 6 deletions

View File

@ -47,6 +47,7 @@ xx/xx/2006 - 1.13.1-WIP
attribute completely and index entry (filename) completely and all in
correct order. Essential for hunting bugs in directory operations
code... (Anton)
- configure.ac fix for Cygwin. (Yuval)
27/02/2006 - 1.13.0 - Lots and lots and lots of fixes and enhancements.

View File

@ -192,13 +192,12 @@ compile_gnome_vfs=false
if test "$enable_gnome_vfs" != "no"; then
PKG_CHECK_MODULES(LIBNTFS_GNOMEVFS, [glib-2.0 gthread-2.0 gnome-vfs-module-2.0],
[ compile_gnome_vfs=true ],
[
if test "$enable_gnome_vfs" = "yes"; then
AC_MSG_ERROR([Linux-NTFS Gnome VFS module requires glib-2.0 and gnome-vfs-module-2.0 libraries.])
else
AC_MSG_WARN([Linux-NTFS Gnome VFS module requires glib-2.0 and gnome-vfs-module-2.0 libraries.])
fi
])
)
fi
AM_CONDITIONAL(ENABLE_GNOME_VFS, $compile_gnome_vfs)
@ -208,22 +207,20 @@ if test "$enable_fuse_module" != "no"; then
case "$target_os" in
linux*)
PKG_CHECK_MODULES(FUSE_MODULE, fuse >= 2.3.0, [ compile_fuse_module=true ],
[
if test "$enable_fuse_module" = "yes"; then
AC_MSG_ERROR([ntfsmount requires FUSE version >= 2.3.0.])
else
AC_MSG_WARN([ntfsmount requires FUSE version >= 2.3.0.])
fi
]);;
);;
freebsd*)
PKG_CHECK_MODULES(FUSE_MODULE, fuse >= 2.5.0, [ compile_fuse_module=true ],
[
if test "$enable_fuse_module" = "yes"; then
AC_MSG_ERROR([ntfsmount requires FUSE version >= 2.5.0 under FreeBSD.])
else
AC_MSG_WARN([ntfsmount requires FUSE version >= 2.5.0 under FreeBSD.])
fi
]);;
);;
*)
if test "$enable_fuse_module" = "yes"; then
AC_MSG_ERROR([ntfsmount can be built only under Linux and FreeBSD.])