Win32: do not compile nfs-cp in utils

It depends on stat features that are not available
libnfs-4.0.0-vitalif
Jean-Baptiste Kempf 2016-01-08 23:17:56 +01:00
parent cd53647f53
commit 3c37d03f4b
2 changed files with 9 additions and 1 deletions

View File

@ -91,6 +91,8 @@ fi
AC_SUBST(WARN_CFLAGS)
LIBSOCKET=
SYS=
case $host in
*solaris*)
AC_CHECK_HEADERS([sys/filio.h])
@ -100,10 +102,12 @@ case $host in
;;
*mingw32* | *cygwin* | *wince* | *mingwce*)
LIBSOCKET='-lws2_32'
SYS=mingw32
;;
*)
;;
esac
AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
AC_SUBST([LIBSOCKET])
# check for poll.h

View File

@ -1,4 +1,8 @@
bin_PROGRAMS = nfs-cat nfs-cp nfs-ls
bin_PROGRAMS = nfs-cat nfs-ls
if !HAVE_WIN32
bin_PROGRAMS += nfs-cp
endif
AM_CPPFLAGS = \
-I$(abs_top_srcdir)/include \