blob: 1a5116c97b454c5d7646df5785b231102e6b64c5 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.69])
5AC_INIT([wifihwtesttool], [1.0])
6AM_INIT_AUTOMAKE([foreign])
7
8AC_CONFIG_SRCDIR([wifi_hw_test_tool/lib.h])
9AC_CONFIG_HEADERS([config.h])
10
11# Checks for programs.
12AC_PROG_CC
13AC_PROG_RANLIB
14
15# Checks for libraries.
16# FIXME: Replace `main' with a function in `-lm':
17AC_CHECK_LIB([m], [main])
18# FIXME: Replace `main' with a function in `-lwifitest':
19AC_CHECK_LIB([wifitest], [main])
20
21# Checks for header files.
22AC_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])
23
24# Checks for typedefs, structures, and compiler characteristics.
25AC_CHECK_HEADER_STDBOOL
26AC_C_INLINE
27AC_TYPE_SIZE_T
28AC_TYPE_UINT32_T
29AC_TYPE_UINT8_T
30
31# Checks for library functions.
32AC_CHECK_FUNCS([memset socket strerror strrchr])
33
34AC_CONFIG_FILES([Makefile
35 libwifitest/Makefile
36 wifi_hw_test_tool/Makefile])
37AC_OUTPUT