From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 2/2] ptxdist: Add more checks, recommended by autoscan
Date: Mon, 6 Nov 2017 16:26:07 +0100 [thread overview]
Message-ID: <20171106152607.18938-3-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20171106152607.18938-1-clemens.gruber@pqgruber.com>
Checks recommended by autoscan (taken from configure.scan)
Only the PROG checks were ommitted, because of the already existing GNU
tools checks.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
configure.ac | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/configure.ac b/configure.ac
index f00ccdba5..6cef3e496 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,8 @@ dnl Check header files, mostly for lxdialog & kconfig
dnl
AC_HEADER_STDC
+AC_CHECK_HEADERS([fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h stddef.h stdlib.h string.h sys/time.h unistd.h])
+
AC_CHECK_HEADER([regex.h], [], AC_MSG_ERROR([Cannot find regex.h.]))
AC_SEARCH_LIBS(regcomp, [regex gnuregex],,
@@ -90,6 +92,29 @@ AC_CHECK_HEADER(
])
AM_CONDITIONAL(BUILD_NCONF, test "x$NCURSES_FOUND" = "xyes")
+dnl
+dnl Checks for typedefs, structures, and compiler characteristics.
+dnl
+AC_CHECK_HEADER_STDBOOL
+AC_C_INLINE
+AC_TYPE_INT16_T
+AC_TYPE_INT32_T
+AC_TYPE_INT8_T
+AC_TYPE_OFF_T
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT8_T
+
+dnl
+dnl Checks for library functions.
+dnl
+AC_FUNC_ALLOCA
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+AC_CHECK_FUNCS([bzero gettimeofday memmove memset mkdir regcomp setlocale strcasecmp strchr strcspn strdup strncasecmp strpbrk strrchr strspn strtol strtoull uname])
+
AC_SYS_INTERPRETER
if test "$interpval" != yes ; then
--
2.15.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2017-11-06 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-06 15:26 [ptxdist] [PATCH 0/2] ptxdist: pkg-config changes Clemens Gruber
2017-11-06 15:26 ` [ptxdist] [PATCH 1/2] ptxdist: Use pkg-config for ncurses detection Clemens Gruber
2017-11-06 15:26 ` Clemens Gruber [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171106152607.18938-3-clemens.gruber@pqgruber.com \
--to=clemens.gruber@pqgruber.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox