| 1 |
# -*- Autoconf -*- |
| 2 |
# Process this file with autoconf to produce a configure script. |
| 3 |
|
| 4 |
AC_PREREQ([2.69]) |
| 5 |
AC_INIT([mingw-w64-genidl],[1.0],[[email protected]]) |
| 6 |
AC_CONFIG_AUX_DIR([build-aux]) |
| 7 |
AC_CONFIG_SRCDIR([src/genidl.c]) |
| 8 |
AC_CONFIG_HEADERS([config.h]) |
| 9 |
|
| 10 |
AM_INIT_AUTOMAKE([foreign subdir-objects]) |
| 11 |
AM_MAINTAINER_MODE |
| 12 |
|
| 13 |
AC_CANONICAL_HOST |
| 14 |
|
| 15 |
# Checks for programs. |
| 16 |
AC_PROG_CC |
| 17 |
|
| 18 |
# Checks for libraries. |
| 19 |
|
| 20 |
# Checks for header files. |
| 21 |
AC_CHECK_HEADERS([malloc.h memory.h stdint.h stdlib.h string.h]) |
| 22 |
|
| 23 |
# Checks for typedefs, structures, and compiler characteristics. |
| 24 |
AC_TYPE_INT16_T |
| 25 |
AC_TYPE_INT32_T |
| 26 |
AC_TYPE_INT64_T |
| 27 |
AC_TYPE_SIZE_T |
| 28 |
AC_TYPE_UINT16_T |
| 29 |
AC_TYPE_UINT32_T |
| 30 |
AC_TYPE_UINT64_T |
| 31 |
|
| 32 |
# Checks for library functions. |
| 33 |
#AC_FUNC_MALLOC |
| 34 |
#AC_FUNC_REALLOC |
| 35 |
AC_CHECK_FUNCS([memset strchr strdup strrchr strstr]) |
| 36 |
|
| 37 |
AC_CONFIG_FILES([Makefile]) |
| 38 |
AC_OUTPUT |