diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..6932468 --- /dev/null +++ b/configure.ac @@ -0,0 +1,32 @@ +# -*- 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 |