Skip to content

Commit

Permalink
Remove makefile, add configure.ac. #4
Browse files Browse the repository at this point in the history
  • Loading branch information
bezborodow committed Mar 25, 2024
1 parent ee6d598 commit 7cb861f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Makefile

This file was deleted.

28 changes: 28 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.71])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([cidrl.c,cidrl6.c])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T

# Checks for library functions.
AC_CHECK_FUNCS([inet_ntoa])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT

0 comments on commit 7cb861f

Please sign in to comment.