diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-21 16:15:35 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-21 16:15:35 +0000 |
commit | 2d7abb70179481c883c377855525a6097fc39d53 (patch) | |
tree | f6aa0144e71fd3223c27ae0382d052a48cd15959 /configure | |
parent | ea28a44931e2a38553fd2217f8471216da9b5ca8 (diff) |
add missing getprogname test + eventually include err.h
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 <err.h>" fi if [ ${HAVE_EXPLICIT_BZERO} -eq 0 ]; then echo "extern void explicit_bzero(void*, size_t);" |