From 56c249f61c536ea7157e1ef12648fbf7161ff5b0 Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Sun, 3 Mar 2024 18:03:56 -0300 Subject: Adding more functions, this should be the base idea. Now this need to be tested, fixed and improved --- configure.ac | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') 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 -- cgit v1.2.3