Harald Welte | 4b233b4 | 2012-11-07 08:32:31 +0100 | [diff] [blame] | 1 | # -*- Autoconf -*- |
| 2 | # Process this file with autoconf to produce a configure script. |
| 3 | |
| 4 | AC_PREREQ(2.57) |
| 5 | AC_INIT(libsmpp34, 1.10, ultraismo@yahoo.com) |
| 6 | AC_CONFIG_AUX_DIR(aux_config) |
| 7 | AM_INIT_AUTOMAKE |
| 8 | AM_CONFIG_HEADER([aux_config/config.h]) |
| 9 | |
| 10 | # Checks for programs. |
| 11 | AC_PROG_CC |
| 12 | AM_PROG_CC_C_O |
| 13 | AC_PROG_LIBTOOL |
| 14 | AC_PROG_INSTALL |
| 15 | |
| 16 | # Checks for libraries. |
| 17 | |
| 18 | # Checks for header files. |
| 19 | AC_HEADER_STDC |
| 20 | AC_CHECK_HEADERS([malloc.h netinet/in.h stdint.h string.h]) |
| 21 | |
| 22 | # Checks for typedefs, structures, and compiler characteristics. |
| 23 | |
| 24 | # Checks for library functions. |
| 25 | AC_FUNC_MALLOC |
| 26 | AC_CHECK_FUNCS([memset]) |
| 27 | AC_OUTPUT([Makefile |
| 28 | def_frame/Makefile |
| 29 | def_list/Makefile |
| 30 | binary/Makefile]) |