OSDN Git Service

* Makefile.in (DLLTOOL_FLAGS): Remove -U.
[mingw/mingw-org-wsl.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.68])
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])
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_INSTALL
12 AC_PROG_MKDIR_P
13 AC_PROG_RANLIB
14 AC_CHECK_TOOL([AS], [as], [as])
15 AC_CHECK_TOOL([DLLTOOL], [dlltool], [dlltool])
16
17 AC_ARG_VAR([PACKAGE_RELEASE], [Release serial number for the current PACKAGE_VERSION])
18 AC_SUBST([PACKAGE_RELEASE], [${PACKAGE_RELEASE-"1"}])
19
20 # Checks for libraries.
21
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])
24
25 # Checks for typedefs, structures, and compiler characteristics.
26 AC_HEADER_STDBOOL
27 AC_C_INLINE
28 AC_TYPE_INT16_T
29 AC_TYPE_INT32_T
30 AC_TYPE_INT64_T
31 AC_TYPE_INT8_T
32 AC_TYPE_MODE_T
33 AC_TYPE_OFF_T
34 AC_TYPE_PID_T
35 AC_TYPE_SIZE_T
36 AC_TYPE_SSIZE_T
37 AC_CHECK_MEMBERS([struct stat.st_rdev])
38 AC_TYPE_UINT16_T
39 AC_TYPE_UINT32_T
40 AC_TYPE_UINT64_T
41 AC_TYPE_UINT8_T
42 AC_CHECK_TYPES([ptrdiff_t])
43
44 # Checks for library functions.
45 AC_FUNC_MALLOC
46 AC_FUNC_MBRTOWC
47 AC_FUNC_MKTIME
48 AC_FUNC_REALLOC
49 AC_FUNC_STRCOLL
50 AC_FUNC_STRTOD
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])
52
53 AC_CONFIG_FILES([Makefile tests/Makefile])
54 AC_OUTPUT