# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([fuzzinband], [0.0], [ydroneaud@opteya.com]) AC_CONFIG_SRCDIR([ib-hw-nes-create-qp-null.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE AC_SYS_LARGEFILE # Checks for programs. AC_PROG_CC # Checks for libraries. AC_CHECK_LIB([ibverbs], [ibv_get_device_list], [], [AC_MSG_ERROR([Please install libibverbs.])]) # Checks for header files. AC_CHECK_HEADERS([stddef.h stdint.h string.h unistd.h]) AC_HEADER_ASSERT AC_CHECK_HEADER([infiniband/kern-abi.h], [], [AC_MSG_ERROR([ not found. Please install libibverbs.])]) AC_CHECK_HEADER([infiniband/verbs.h], [], [AC_MSG_ERROR([ not found. Please install libibverbs.])]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T AC_TYPE_SSIZE_T AC_TYPE_UINT8_T AC_TYPE_UINTPTR_T # Checks for library functions. AC_FUNC_MMAP AC_CHECK_FUNCS([munmap mprotect strerror]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT