32 lines
716 B
Plaintext
32 lines
716 B
Plaintext
AC_PREREQ([2.69])
|
|
AC_INIT([wireless-monitor], [1.0.0], [your-email@example.com])
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
|
AC_CONFIG_SRCDIR([src/main.c])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
# Checks for programs
|
|
AC_PROG_CC
|
|
AC_PROG_CC_C99
|
|
AM_PROG_AR
|
|
|
|
# Checks for libraries
|
|
PKG_CHECK_MODULES([LIBPCAP], [libpcap])
|
|
PKG_CHECK_MODULES([LIBNL], [libnl-genl-3.0 libnl-3.0])
|
|
|
|
# Checks for header files
|
|
AC_CHECK_HEADERS([sys/socket.h netinet/in.h linux/nl80211.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics
|
|
AC_TYPE_UINT8_T
|
|
AC_TYPE_UINT16_T
|
|
AC_TYPE_UINT32_T
|
|
|
|
# Checks for library functions
|
|
AC_CHECK_FUNCS([memset memcpy strncpy])
|
|
|
|
AC_CONFIG_FILES([
|
|
Makefile
|
|
src/Makefile
|
|
])
|
|
AC_OUTPUT
|