| # -*- Autoconf -*- |
| # Process this file with autoconf to produce a configure script. |
| |
| AC_PREREQ([2.65]) |
| AC_INIT([mingw-w64-gendef],[1.0],[mingw-w64-public@lists.sourceforge.net]) |
| AC_CONFIG_AUX_DIR([build-aux]) |
| AC_CONFIG_SRCDIR([src/gendef.c]) |
| AC_CONFIG_HEADERS([config.h]) |
| |
| AM_INIT_AUTOMAKE([foreign subdir-objects]) |
| AM_MAINTAINER_MODE |
| |
| AC_CANONICAL_HOST |
| |
| # Checks for programs. |
| AC_PROG_CC |
| |
| # Checks for libraries. |
| |
| # Checks for header files. |
| AC_CHECK_HEADERS([inttypes.h memory.h stdint.h stdlib.h string.h]) |
| |
| # Checks for typedefs, structures, and compiler characteristics. |
| AC_TYPE_INT32_T |
| AC_TYPE_SIZE_T |
| AC_TYPE_UINT16_T |
| AC_TYPE_UINT32_T |
| AC_TYPE_UINT64_T |
| AC_TYPE_UINT8_T |
| |
| # Checks for library functions. |
| AC_FUNC_MALLOC |
| AC_CHECK_FUNCS([memset strdup strrchr strlwr]) |
| |
| AC_CONFIG_FILES([Makefile]) |
| AC_OUTPUT |