# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([libtuberia], [1.0.0]) AC_CONFIG_SRCDIR([src/tuberia.c]) AC_CONFIG_HEADERS([config.h]) AC_PREFIX_DEFAULT("/usr") AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_SILENT_RULES([yes]) # Checks for programs. AC_PROG_CC AC_PROG_RANLIB AM_PROG_AR AM_CFLAGS="-Wall -Werror" AC_SUBST([AM_CFLAGS]) # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([stdlib.h sys/time.h]) # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_CHECK_FUNCS([gettimeofday]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT