configure.ac: Error out if with-file-notification=w32 is specified on Cygwin

Fixes: 19909

Copyright-paperwork-exempt: yes
This commit is contained in:
Robert Pluim 2015-03-02 08:52:22 -05:00 committed by Ken Brown
parent da02eb556a
commit 04fb1029e4
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2015-03-02 Robert Pluim <rpluim@gmail.com> (tiny change)
* configure.ac: Error out if with-file-notification=w32 is
specified on Cygwin. (Bug#19909)
2015-02-27 Paul Eggert <eggert@cs.ucla.edu>
Don't require GNU putenv

View file

@ -2664,6 +2664,11 @@ fi
dnl MS Windows native file monitor is available for mingw32 only.
case $with_file_notification,$opsys in
w32,cygwin)
AC_MSG_ERROR([`--with-file-notification=w32' was specified, but
this is only supported on MS-Windows native and MinGW32 builds.
Consider using gfile instead.])
;;
w32,* | yes,mingw32)
AC_CHECK_HEADER(windows.h)
if test "$ac_cv_header_windows_h" = yes ; then