Skip to content

Commit

Permalink
Update configure.ac in accordance with autoscan
Browse files Browse the repository at this point in the history
Also bumped the version number to 0.1.4

Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <[email protected]>
  • Loading branch information
larsewi committed Apr 26, 2024
1 parent 42a17e0 commit a2359a7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.71])
AC_INIT([leech], [0.1.3], [https://github.com/larsewi/leech/issues], [leech],
AC_INIT([leech], [0.1.4], [https://github.com/larsewi/leech/issues], [leech],
[https://github.com/larsewi/leech])
AC_CONFIG_SRCDIR([lib/leech.h])
AC_CONFIG_HEADERS([config.h])
Expand All @@ -15,6 +15,10 @@ AC_PROG_CPP
AC_PROG_CXX
AC_PROG_INSTALL
AM_PROG_AR
AC_PROG_AWK
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB

LT_INIT([dlopen])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
Expand All @@ -26,11 +30,19 @@ AC_CHECK_HEADERS([arpa/inet.h unistd.h stdint.h fcntl.h])
AC_CHECK_HEADER_STDBOOL
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_MODE_T
AC_TYPE_UINT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T

# Checks for libraries.
AC_CHECK_LIB([dl], [dlopen])
AC_CHECK_LIB([m], [floor])

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([memmove memset strchr strspn strdup strerror strndup mkdir rmdir])
AC_CHECK_FUNCS([memmove memset strchr strspn strdup strerror strpbrk strtol strndup mkdir rmdir])

# Configure arguments.
AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [enable debugging]),
Expand Down Expand Up @@ -73,4 +85,5 @@ else
fi

AC_CONFIG_FILES([Makefile lib/Makefile bin/Makefile tests/Makefile])
AC_CONFIG_SUBDIRS([libltdl])
AC_OUTPUT

0 comments on commit a2359a7

Please sign in to comment.