aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-11-26 07:42:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-11-26 07:42:11 +0000
commit4aa67b7a74bb11df4cba5e49f1b089a7da6b5fc4 (patch)
treedc0af717985ac313470e44b41fd4297f80ce6958 /configure
parenta121fde484ea2d14b80a55edbc89155192ed5364 (diff)
downloadmandoc-4aa67b7a74bb11df4cba5e49f1b089a7da6b5fc4.tar.gz
mandoc-4aa67b7a74bb11df4cba5e49f1b089a7da6b5fc4.tar.zst
mandoc-4aa67b7a74bb11df4cba5e49f1b089a7da6b5fc4.zip
No point in trying to go on when elementary database operations
like preparing queries or binding variables fail; that won't yield useful results anyway but may generate huge pointless error messages. Issue reported by deraadt@.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 261d50bb..21997fcc 100755
--- a/configure
+++ b/configure
@@ -339,6 +339,7 @@ __HEREDOC__
if [ ${HAVE_ERR} -eq 0 ]; then
echo "extern void err(int, const char *, ...);"
+ echo "extern void errx(int, const char *, ...);"
echo "extern void warn(const char *, ...);"
echo "extern void warnx(const char *, ...);"
fi