From 2d7abb70179481c883c377855525a6097fc39d53 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 21 Jan 2021 16:15:35 +0000 Subject: [PATCH] add missing getprogname test + eventually include err.h --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 7bacd2a..eef4af1 100755 --- a/configure +++ b/configure @@ -227,6 +227,7 @@ fi runtest err ERR || true runtest explicit_bzero EXPLICIT_BZERO || true +runtest getprogname GETPROGNAME || true runtest libtls LIBTLS || true runtest recallocarray RECALLOCARRAY || true runtest strlcat STRLCAT || true @@ -277,6 +278,8 @@ if [ ${HAVE_ERR} -eq 0 ]; then echo "extern void warn(const char*, ...);" echo "extern void warnx(const char*, ...);" COMPAT="${COMPAT} compat/err.o" +else + echo "#include " fi if [ ${HAVE_EXPLICIT_BZERO} -eq 0 ]; then echo "extern void explicit_bzero(void*, size_t);"