Add PACKAGE_URL to configure.ac
[skeinsum.git] / configure.ac
index 05488e2155976d267838eccd949096197dd3f3ad..04f33573c5ac01911623ee2b1079e4e5686e5de4 100644 (file)
@@ -1,11 +1,11 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-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 +13,14 @@ 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