aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-10-20 17:51:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-10-20 17:51:45 +0000
commitf47fd7e334728136df1aa1903f06deee9cab932e (patch)
tree6b136ac62ba426c2376645e60393a1033ea89cb1
parentdcafba6cd43a72e8e44c43096aca6ea5de61de39 (diff)
downloadmandoc-f47fd7e334728136df1aa1903f06deee9cab932e.tar.gz
mandoc-f47fd7e334728136df1aa1903f06deee9cab932e.tar.zst
mandoc-f47fd7e334728136df1aa1903f06deee9cab932e.zip
merge rev. 1.46: work around the lack of EFTYPE
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 1f43c29c..d4ee0a3d 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: configure,v 1.43.2.4 2016/08/10 12:54:02 schwarze Exp $
+# $Id: configure,v 1.43.2.5 2016/10/20 17:51:45 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -51,6 +51,7 @@ BUILD_DB=1
BUILD_CGI=0
HAVE_DIRENT_NAMLEN=
+HAVE_EFTYPE=
HAVE_ERR=
HAVE_FTS=
HAVE_GETLINE=
@@ -202,6 +203,7 @@ get_locale() {
# --- library functions ---
runtest dirent-namlen DIRENT_NAMLEN || true
+runtest EFTYPE EFTYPE || true
runtest err ERR || true
runtest fts FTS || true
runtest getline GETLINE || true
@@ -352,6 +354,7 @@ echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\""
[ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
[ -n "${UTF8_LOCALE}" ] && echo "#define UTF8_LOCALE \"${UTF8_LOCALE}\""
[ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""
+[ ${HAVE_EFTYPE} -eq 0 ] && echo "#define EFTYPE EINVAL"
[ ${HAVE_PATH_MAX} -eq 0 ] && echo "#define PATH_MAX 4096"
cat << __HEREDOC__