Some improvements
* Require Autoconf 2.70 * Add table of contents * Reorder configuration
This commit is contained in:
parent
82cb925e82
commit
13b21e2fe5
14
README.md
14
README.md
|
@ -3,6 +3,20 @@ Autotools project
|
||||||
|
|
||||||
This is a template of an 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:
|
Don't forget to change the following files:
|
||||||
|
|
||||||
* `.gitignore`
|
* `.gitignore`
|
||||||
|
|
15
configure.ac
15
configure.ac
|
@ -2,14 +2,14 @@
|
||||||
# Specify program versions #
|
# Specify program versions #
|
||||||
############################
|
############################
|
||||||
|
|
||||||
AC_PREREQ([2.68])
|
AC_PREREQ([2.70])
|
||||||
LT_PREREQ([2.4.6])
|
LT_PREREQ([2.4.6])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#######################
|
##################################
|
||||||
# Initialize Autoconf #
|
# Initialize Autoconf & Automake #
|
||||||
#######################
|
##################################
|
||||||
|
|
||||||
AC_INIT([autotools-project],
|
AC_INIT([autotools-project],
|
||||||
m4_normalize(m4_include([VERSION])),
|
m4_normalize(m4_include([VERSION])),
|
||||||
|
@ -28,12 +28,6 @@ AC_CONFIG_FILES([
|
||||||
include/Makefile
|
include/Makefile
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# Initialize Automake #
|
|
||||||
#######################
|
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.16 subdir-objects])
|
AM_INIT_AUTOMAKE([1.16 subdir-objects])
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +41,6 @@ AC_LANG([C])
|
||||||
AM_PROG_AR
|
AM_PROG_AR
|
||||||
AM_PROG_AS
|
AM_PROG_AS
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CC_C99
|
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_CHECK_HEADER_STDBOOL
|
AC_CHECK_HEADER_STDBOOL
|
||||||
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
|
AC_CHECK_HEADERS([stdarg.h stddef.h stdint.h])
|
||||||
|
|
Loading…
Reference in New Issue