mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
build-sys: autotools configure.ac update
Add recent changes to autotools header, function and compiler capability checks. The patch also adds to .gitignore autoscan outputs. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
cef03de0a9
commit
704e0fdd4a
2 changed files with 20 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
autom4te.cache/
|
autom4te.cache/
|
||||||
|
autoscan.log
|
||||||
config.guess
|
config.guess
|
||||||
config.h
|
config.h
|
||||||
config.h.in
|
config.h.in
|
||||||
|
|
@ -8,6 +9,7 @@ config.log
|
||||||
config.status
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
configure
|
configure
|
||||||
|
configure.scan
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
contrib/Makefile.in
|
contrib/Makefile.in
|
||||||
depcomp
|
depcomp
|
||||||
|
|
|
||||||
22
configure.ac
22
configure.ac
|
|
@ -23,24 +23,38 @@ AC_PROG_LIBTOOL
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
|
AC_CHECK_HEADERS([\
|
||||||
AC_CHECK_HEADERS([arpa/inet.h \
|
arpa/inet.h \
|
||||||
fcntl.h \
|
fcntl.h \
|
||||||
|
langinfo.h \
|
||||||
libintl.h \
|
libintl.h \
|
||||||
netinet/in.h \
|
netinet/in.h \
|
||||||
|
stddef.h \
|
||||||
stdlib.h \
|
stdlib.h \
|
||||||
string.h \
|
string.h \
|
||||||
strings.h \
|
strings.h \
|
||||||
sys/socket.h \
|
sys/socket.h \
|
||||||
unistd.h])
|
unistd.h \
|
||||||
|
])
|
||||||
|
|
||||||
# Checks for typedefs, structures, and compiler characteristics.
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_C_INLINE
|
||||||
AC_HEADER_STDBOOL
|
AC_HEADER_STDBOOL
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
AC_TYPE_UINT32_T
|
||||||
|
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
AC_FUNC_MALLOC
|
AC_FUNC_MALLOC
|
||||||
AC_CHECK_FUNCS([inet_ntoa memset strerror strstr strdup])
|
AC_FUNC_REALLOC
|
||||||
|
AC_CHECK_FUNCS([\
|
||||||
|
inet_ntoa \
|
||||||
|
memset \
|
||||||
|
nl_langinfo \
|
||||||
|
strdup \
|
||||||
|
strerror \
|
||||||
|
strrchr \
|
||||||
|
strstr \
|
||||||
|
])
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
man/Makefile
|
man/Makefile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue