Skip to content
Snippets Groups Projects
configure.ac 699 B
Newer Older
Nigel Kukard's avatar
Nigel Kukard committed
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.67])
AC_INIT([cputool], [0.0.2], [nkukard@lbsd.net])
AM_INIT_AUTOMAKE

Nigel Kukard's avatar
Nigel Kukard committed
AC_CONFIG_SRCDIR([cputool.h])
AC_CONFIG_HEADERS([config.h])


# Checks for programs.
AC_PROG_CC
AC_GNU_SOURCE
Nigel Kukard's avatar
Nigel Kukard committed

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_STRTOD
AC_CHECK_FUNCS([bzero gettimeofday strerror])

Nigel Kukard's avatar
Nigel Kukard committed
AC_CONFIG_FILES([Makefile])

AC_OUTPUT