Add AC_CONFIG_HEADERS to configure.ac
In bootstrap.sh also call autoheader to create config.h.in with the HAVE_... macros to put into config.h when running ./configure.
This commit is contained in:
parent
91923c7320
commit
466f773fe1
3 changed files with 8 additions and 0 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -10,8 +10,14 @@ config.log
|
||||||
config.status
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
configure
|
configure
|
||||||
|
config.h
|
||||||
|
config.h.in
|
||||||
|
config.h.in~
|
||||||
depcomp
|
depcomp
|
||||||
|
libtool
|
||||||
ltmain.sh
|
ltmain.sh
|
||||||
install-sh
|
install-sh
|
||||||
missing
|
missing
|
||||||
|
musl-obstack.pc
|
||||||
|
stamp-h1
|
||||||
m4/
|
m4/
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
libtoolize
|
libtoolize
|
||||||
aclocal
|
aclocal
|
||||||
|
autoheader
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
|
|
|
@ -6,6 +6,7 @@ AC_INIT([obstack], [1.2], [pullmoll@t-online.de])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.16])
|
AM_INIT_AUTOMAKE([1.16])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
|
Loading…
Reference in a new issue