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:
Sami Kerola 2011-07-08 22:58:38 +02:00
parent cef03de0a9
commit 704e0fdd4a
2 changed files with 20 additions and 4 deletions

2
.gitignore vendored
View file

@ -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

View file

@ -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