f51d422012-07-25Bill Welliver AC_INIT(wnotify.cmod) AC_MODULE_INIT() AC_CONFIG_HEADER(wnotify_config.h)
4d7aec2015-11-08Martin Nilsson AC_CHECK_HEADERS(WinBase.h FileAPI.h)
f51d422012-07-25Bill Welliver  MY_CHECK_FUNCTION(FindFirstChangeNotification, [
a87c632014-10-10Henrik Grubbström (Grubba) #include <Windows.h>
f51d422012-07-25Bill Welliver #ifdef HAVE_WINBASE_H
a87c632014-10-10Henrik Grubbström (Grubba) #include <WinBase.h>
f51d422012-07-25Bill Welliver #endif #ifdef HAVE_FILEAPI_H
a87c632014-10-10Henrik Grubbström (Grubba) #include <FileAPI.h>
f51d422012-07-25Bill Welliver #endif ], [ FindFirstChangeNotification("", 0, 0); exit(0); ]) AC_SUBST(CMOD_CFLAGS) AC_SUBST(CMOD_LIBS) AC_OUTPUT(Makefile)