mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 07:47:00 +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
|
||||
autom4te.cache/
|
||||
autoscan.log
|
||||
config.guess
|
||||
config.h
|
||||
config.h.in
|
||||
|
|
@ -8,6 +9,7 @@ config.log
|
|||
config.status
|
||||
config.sub
|
||||
configure
|
||||
configure.scan
|
||||
contrib/Makefile
|
||||
contrib/Makefile.in
|
||||
depcomp
|
||||
|
|
|
|||
22
configure.ac
22
configure.ac
|
|
@ -23,24 +23,38 @@ AC_PROG_LIBTOOL
|
|||
LT_INIT
|
||||
|
||||
# Checks for header files.
|
||||
|
||||
AC_CHECK_HEADERS([arpa/inet.h \
|
||||
AC_CHECK_HEADERS([\
|
||||
arpa/inet.h \
|
||||
fcntl.h \
|
||||
langinfo.h \
|
||||
libintl.h \
|
||||
netinet/in.h \
|
||||
stddef.h \
|
||||
stdlib.h \
|
||||
string.h \
|
||||
strings.h \
|
||||
sys/socket.h \
|
||||
unistd.h])
|
||||
unistd.h \
|
||||
])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_INLINE
|
||||
AC_HEADER_STDBOOL
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_UINT32_T
|
||||
|
||||
# Checks for library functions.
|
||||
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
|
||||
man/Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue