X-Git-Url: https://jxself.org/git/?p=skeinsum.git;a=blobdiff_plain;f=configure.ac;h=f1e7a18650e2e94d00f19d64b5d158295eb084f9;hp=d2faa78690dd5ed1a646bc4f65338536d82318c0;hb=9342f28c12e2bb962296f53e2bd4331fb55ce002;hpb=225580b92ee570c3a0a7f924250dd11b36095124 diff --git a/configure.ac b/configure.ac index d2faa78..f1e7a18 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,26 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. +# +# This file is part of skeinsum. +# +# skeinsum is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# skeinsum is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with skeinsum. If not, see . -AC_PREREQ([2.68]) -AC_INIT([skeinsum], [1.0], [j@jxself.org]) +AC_PREREQ([2.69]) +AC_INIT([skeinsum], m4_esyscmd_s([./version.sh]), [j@jxself.org], [], [https://jxself.org/skein.shtml]) AC_CONFIG_SRCDIR([skein.h]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE([skeinsum],[1.0]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) # Checks for programs. AC_PROG_CC @@ -13,14 +28,16 @@ AC_PROG_CC # Checks for libraries. # Checks for header files. -AC_CHECK_HEADERS([limits.h malloc.h stddef.h stdlib.h string.h unistd.h]) +AC_CHECK_HEADERS([limits.h malloc.h stddef.h stdlib.h string.h unistd.h errno.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC -AC_CHECK_FUNCS([memset]) +AC_CHECK_FUNCS([memset strerror]) + +AC_SYS_LARGEFILE AC_CONFIG_FILES([makefile]) AC_OUTPUT