| # -*- Autoconf -*- |
| # Process this file with autoconf to produce a configure script. |
| |
| AC_PREREQ([2.69]) |
| AC_INIT([wifihwtesttool], [1.0]) |
| AM_INIT_AUTOMAKE([foreign]) |
| |
| AC_CONFIG_SRCDIR([wifi_hw_test_tool/lib.h]) |
| AC_CONFIG_HEADERS([config.h]) |
| |
| # Checks for programs. |
| AC_PROG_CC |
| AC_PROG_RANLIB |
| |
| # Checks for libraries. |
| # FIXME: Replace `main' with a function in `-lm': |
| AC_CHECK_LIB([m], [main]) |
| # FIXME: Replace `main' with a function in `-lwifitest': |
| AC_CHECK_LIB([wifitest], [main]) |
| |
| # Checks for header files. |
| AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h]) |
| |
| # Checks for typedefs, structures, and compiler characteristics. |
| AC_CHECK_HEADER_STDBOOL |
| AC_C_INLINE |
| AC_TYPE_SIZE_T |
| AC_TYPE_UINT32_T |
| AC_TYPE_UINT8_T |
| |
| # Checks for library functions. |
| AC_CHECK_FUNCS([memset socket strerror strrchr]) |
| |
| AC_CONFIG_FILES([Makefile |
| libwifitest/Makefile |
| wifi_hw_test_tool/Makefile]) |
| AC_OUTPUT |