Reorganize automake

This commit is contained in:
Job Snijders
2021-08-17 11:25:02 +00:00
parent f473454ff7
commit 4eb9566de8
3 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
AC_INIT(bgpq4,0.0.7,job@sobornost.net)
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AC_PACKAGE_URL(https://github.com/bgp/bgpq4)
AC_CONFIG_HEADERS([config.h])
AM_SILENT_RULES([yes])
@@ -8,8 +11,12 @@ AC_PROG_CC
CC=cc
CFLAGS="${CFLAGS} -std=gnu11"
AC_PROG_LIBTOOL
AC_PROG_INSTALL
AM_CONDITIONAL([HAVE_STRLCPY], [test "x$ac_cv_func_strlcpy" = xyes])
AC_CHECK_HEADERS([sys/cdefs.h sys/queue.h sys/tree.h sys/select.h])
AC_MSG_CHECKING([for STAILQ_ interface in queue.h])