NightStrike | ce40cdd | 2010-02-26 14:22:07 +0000 | [diff] [blame] | 1 | # -*- Autoconf -*- |
| 2 | # Process this file with autoconf to produce a configure script. |
| 3 | |
NightStrike | 4bf3e49 | 2013-04-09 19:38:12 +0000 | [diff] [blame] | 4 | AC_PREREQ([2.69]) |
NightStrike | ce40cdd | 2010-02-26 14:22:07 +0000 | [diff] [blame] | 5 | AC_INIT([mingw-w64-genidl],[1.0],[mingw-w64-public@lists.sourceforge.net]) |
| 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]) |
NightStrike | c6641c5 | 2010-03-05 19:25:18 +0000 | [diff] [blame] | 11 | AM_MAINTAINER_MODE |
NightStrike | ce40cdd | 2010-02-26 14:22:07 +0000 | [diff] [blame] | 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. |
Ozkan Sezer | b340a3e | 2022-09-25 15:55:32 +0300 | [diff] [blame] | 33 | #AC_FUNC_MALLOC |
| 34 | #AC_FUNC_REALLOC |
NightStrike | ce40cdd | 2010-02-26 14:22:07 +0000 | [diff] [blame] | 35 | AC_CHECK_FUNCS([memset strchr strdup strrchr strstr]) |
| 36 | |
| 37 | AC_CONFIG_FILES([Makefile]) |
| 38 | AC_OUTPUT |