version 1.39, 2016/07/10 18:24:23 |
version 1.43, 2016/07/19 13:36:13 |
Line 34 echo "config.log: writing..." |
|
Line 34 echo "config.log: writing..." |
|
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" |
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man" |
OSNAME= |
OSNAME= |
|
|
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -f -` |
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -f -` |
CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings" |
CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings" |
|
CFLAGS="${CFLAGS} -Wno-unused-parameter" |
LDADD= |
LDADD= |
LDFLAGS= |
LDFLAGS= |
LD_OHASH= |
LD_OHASH= |
|
|
HAVE_REALLOCARRAY= |
HAVE_REALLOCARRAY= |
HAVE_REWB_BSD= |
HAVE_REWB_BSD= |
HAVE_REWB_SYSV= |
HAVE_REWB_SYSV= |
|
HAVE_SANDBOX_INIT= |
HAVE_STRCASESTR= |
HAVE_STRCASESTR= |
HAVE_STRINGLIST= |
HAVE_STRINGLIST= |
HAVE_STRLCAT= |
HAVE_STRLCAT= |
Line 186 runtest isblank ISBLANK || true |
|
Line 188 runtest isblank ISBLANK || true |
|
runtest mkdtemp MKDTEMP || true |
runtest mkdtemp MKDTEMP || true |
runtest mmap MMAP || true |
runtest mmap MMAP || true |
runtest pledge PLEDGE || true |
runtest pledge PLEDGE || true |
|
runtest sandbox_init SANDBOX_INIT || true |
runtest progname PROGNAME || true |
runtest progname PROGNAME || true |
runtest reallocarray REALLOCARRAY || true |
runtest reallocarray REALLOCARRAY || true |
runtest rewb-bsd REWB_BSD || true |
runtest rewb-bsd REWB_BSD || true |
Line 282 cat << __HEREDOC__ |
|
Line 285 cat << __HEREDOC__ |
|
#error "Do not use C++. See the INSTALL file." |
#error "Do not use C++. See the INSTALL file." |
#endif |
#endif |
|
|
#ifndef MANDOC_CONFIG_H |
#if !defined(__GNUC__) || (__GNUC__ < 4) |
#define MANDOC_CONFIG_H |
#define __attribute__(x) |
|
#endif |
|
|
#if defined(__linux__) || defined(__MINT__) |
#if defined(__linux__) || defined(__MINT__) |
#define _GNU_SOURCE /* See test-*.c what needs this. */ |
#define _GNU_SOURCE /* See test-*.c what needs this. */ |
Line 317 cat << __HEREDOC__ |
|
Line 321 cat << __HEREDOC__ |
|
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
#define HAVE_REWB_BSD ${HAVE_REWB_BSD} |
#define HAVE_REWB_BSD ${HAVE_REWB_BSD} |
#define HAVE_REWB_SYSV ${HAVE_REWB_SYSV} |
#define HAVE_REWB_SYSV ${HAVE_REWB_SYSV} |
|
#define HAVE_SANDBOX_INIT ${HAVE_SANDBOX_INIT} |
#define HAVE_STRCASESTR ${HAVE_STRCASESTR} |
#define HAVE_STRCASESTR ${HAVE_STRCASESTR} |
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
#define HAVE_STRLCAT ${HAVE_STRLCAT} |
#define HAVE_STRLCAT ${HAVE_STRLCAT} |
|
|
|
|
[ ${HAVE_VASPRINTF} -eq 0 ] && \ |
[ ${HAVE_VASPRINTF} -eq 0 ] && \ |
echo "extern int vasprintf(char **, const char *, va_list);" |
echo "extern int vasprintf(char **, const char *, va_list);" |
|
|
echo |
|
echo "#endif /* MANDOC_CONFIG_H */" |
|
|
|
echo "config.h: written" 1>&2 |
echo "config.h: written" 1>&2 |
echo "config.h: written" 1>&3 |
echo "config.h: written" 1>&3 |