# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([bootchart], [1.20], [auke-jan.h.kok@intel.com]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_SRCDIR([bootchart.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_INSTALL # Checks for libraries. AC_CHECK_LIB([rt], [clock_gettime]) # Checks for header files. AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/time.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_FUNC_FORK AC_FUNC_MALLOC AC_FUNC_STRTOD AC_CHECK_FUNCS([clock_gettime memset strchr strstr uname]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT