diff options
author | Nicolas Dato <nicolas.dato@gmail.com> | 2024-03-03 18:03:56 -0300 |
---|---|---|
committer | Nicolas Dato <nicolas.dato@gmail.com> | 2024-03-04 22:03:09 -0300 |
commit | 56c249f61c536ea7157e1ef12648fbf7161ff5b0 (patch) | |
tree | 60360b958f3ea67bd424a4f9e79b4a49bae7e70d /configure.ac | |
parent | 4b1b7cd304e4ec33eabe1690d32ddc9d2f384836 (diff) | |
download | libtuberia-56c249f61c536ea7157e1ef12648fbf7161ff5b0.tar.gz |
Adding more functions, this should be the base idea. Now this need to be tested, fixed and improved
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 |