From 0b5a53f7497e24fa0a638d21121b089307e4a4c4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 20 Oct 2016 17:51:45 +0000 Subject: merge rev. 1.46: work around the lack of EFTYPE --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 85088b4f..969b7501 100755 --- a/configure +++ b/configure @@ -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__ -- cgit