1
0
Fork 0
mirror of https://github.com/tailix/autotools-project.git synced 2024-10-27 05:23:30 -04:00

Some improvements

* Require Autoconf 2.70
* Add table of contents
* Reorder configuration
This commit is contained in:
Alex Kotov 2022-12-05 07:45:47 +04:00
parent 82cb925e82
commit 13b21e2fe5
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 18 additions and 11 deletions

View file

@ -3,6 +3,20 @@ Autotools project
This is a template of an Autotools project.
Table of contents
-----------------
* [Overview](#autotools-project)
* [Table of contents](#table-of-contents)
* [Usage](#usage)
Usage
-----
Don't forget to change the following files:
* `.gitignore`

View file

@ -2,14 +2,14 @@
# Specify program versions #
############################
AC_PREREQ([2.68])
AC_PREREQ([2.70])
LT_PREREQ([2.4.6])
#######################
# Initialize Autoconf #
#######################
##################################
# Initialize Autoconf & Automake #
##################################
AC_INIT([autotools-project],
m4_normalize(m4_include([VERSION])),
@ -28,12 +28,6 @@ AC_CONFIG_FILES([
include/Makefile
])
#######################
# Initialize Automake #
#######################
AM_INIT_AUTOMAKE([1.16 subdir-objects])
@ -47,7 +41,6 @@ AC_LANG([C])
AM_PROG_AR
AM_PROG_AS
AC_PROG_CC
AC_PROG_CC_C99
AC_C_INLINE
AC_CHECK_HEADER_STDBOOL
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])