developer | 74a34a1 | 2022-10-24 11:36:03 +0800 | [diff] [blame^] | 1 | AC_PREREQ([2.65]) |
| 2 | AC_INIT([hal], [1.0], [BUG-REPORT-ADDRESS]) |
| 3 | AM_INIT_AUTOMAKE([foreign]) |
| 4 | LT_INIT |
| 5 | |
| 6 | AC_PREFIX_DEFAULT(`pwd`) |
| 7 | AC_ENABLE_SHARED |
| 8 | AC_DISABLE_STATIC |
| 9 | |
| 10 | AC_CONFIG_HEADERS([config.h]) |
| 11 | AC_CONFIG_MACRO_DIR([m4]) |
| 12 | |
| 13 | # Checks for programs. |
| 14 | AC_PROG_CC |
| 15 | AC_PROG_INSTALL |
| 16 | AM_PROG_CC_C_O |
| 17 | AM_PROG_LIBTOOL(libtool) |
| 18 | |
| 19 | # Checks for header files. |
| 20 | AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) |
| 21 | |
| 22 | # Checks for typedefs, structures, and compiler characteristics. |
| 23 | AC_HEADER_STDBOOL |
| 24 | AC_C_INLINE |
| 25 | |
| 26 | # Checks for library functions. |
| 27 | AC_FUNC_MALLOC |
| 28 | |
| 29 | AC_CONFIG_FILES(Makefile) |
| 30 | |
| 31 | |
| 32 | AC_OUTPUT |
| 33 | |