2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([MinGW.org WSL], [4.0], [http://www.mingw.org/report_bugs], [mingw.org-wsl], [http://www.mingw.org])
6 AC_CONFIG_SRCDIR([include/_mingw.h])
7 AC_CONFIG_HEADERS([config.h])
14 AC_CHECK_TOOL([AS], [as], [as])
15 AC_CHECK_TOOL([DLLTOOL], [dlltool], [dlltool])
17 AC_ARG_VAR([PACKAGE_RELEASE], [Release serial number for the current PACKAGE_VERSION])
18 AC_SUBST([PACKAGE_RELEASE], [${PACKAGE_RELEASE-"1"}])
20 # Checks for libraries.
22 # Checks for header files.
23 AC_CHECK_HEADERS([fcntl.h fenv.h float.h inttypes.h limits.h locale.h malloc.h memory.h stddef.h stdint.h stdlib.h string.h strings.h sys/file.h sys/param.h sys/time.h sys/timeb.h unistd.h values.h wchar.h wctype.h])
25 # Checks for typedefs, structures, and compiler characteristics.
37 AC_CHECK_MEMBERS([struct stat.st_rdev])
42 AC_CHECK_TYPES([ptrdiff_t])
44 # Checks for library functions.
51 AC_CHECK_FUNCS([atexit btowc bzero dup2 fesetround floor ftime ftruncate getcwd gethostbyaddr gethostbyname gethostname gettimeofday inet_ntoa isascii iswprint localeconv mblen mbrlen memchr memmove memset mkdir modf pow putenv rint rmdir select setlocale socket sqrt strcasecmp strchr strcspn strdup strerror strncasecmp strpbrk strrchr strspn strstr strtol strtoul strtoull strtoumax tzset utime])
53 AC_CONFIG_FILES([Makefile])