version 1.79, 2021/09/19 12:28:04 |
version 1.80, 2021/09/19 15:05:39 |
|
|
# |
# |
# $Id$ |
# $Id$ |
# |
# |
# Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
# Copyright (c) 2014-2021 Ingo Schwarze <schwarze@openbsd.org> |
# |
# |
# Permission to use, copy, modify, and distribute this software for any |
# Permission to use, copy, modify, and distribute this software for any |
# purpose with or without fee is hereby granted, provided that the above |
# purpose with or without fee is hereby granted, provided that the above |
|
|
HAVE_ISBLANK= |
HAVE_ISBLANK= |
HAVE_LESS_T= |
HAVE_LESS_T= |
HAVE_MKDTEMP= |
HAVE_MKDTEMP= |
|
HAVE_MKSTEMPS= |
HAVE_NANOSLEEP= |
HAVE_NANOSLEEP= |
HAVE_NTOHL= |
HAVE_NTOHL= |
HAVE_O_DIRECTORY= |
HAVE_O_DIRECTORY= |
Line 307 runtest getline GETLINE || true |
|
Line 308 runtest getline GETLINE || true |
|
runtest getsubopt GETSUBOPT "" -D_GNU_SOURCE || true |
runtest getsubopt GETSUBOPT "" -D_GNU_SOURCE || true |
runtest isblank ISBLANK || true |
runtest isblank ISBLANK || true |
runtest mkdtemp MKDTEMP || true |
runtest mkdtemp MKDTEMP || true |
|
runtest mkstemps MKSTEMPS || true |
runtest nanosleep NANOSLEEP "${LD_NANOSLEEP}" "-lrt" || true |
runtest nanosleep NANOSLEEP "${LD_NANOSLEEP}" "-lrt" || true |
runtest ntohl NTOHL || true |
runtest ntohl NTOHL || true |
runtest O_DIRECTORY O_DIRECTORY || true |
runtest O_DIRECTORY O_DIRECTORY || true |
Line 483 cat << __HEREDOC__ |
|
Line 485 cat << __HEREDOC__ |
|
#define HAVE_ISBLANK ${HAVE_ISBLANK} |
#define HAVE_ISBLANK ${HAVE_ISBLANK} |
#define HAVE_LESS_T ${HAVE_LESS_T} |
#define HAVE_LESS_T ${HAVE_LESS_T} |
#define HAVE_MKDTEMP ${HAVE_MKDTEMP} |
#define HAVE_MKDTEMP ${HAVE_MKDTEMP} |
|
#define HAVE_MKSTEMPS ${HAVE_MKSTEMPS} |
#define HAVE_NTOHL ${HAVE_NTOHL} |
#define HAVE_NTOHL ${HAVE_NTOHL} |
#define HAVE_PLEDGE ${HAVE_PLEDGE} |
#define HAVE_PLEDGE ${HAVE_PLEDGE} |
#define HAVE_PROGNAME ${HAVE_PROGNAME} |
#define HAVE_PROGNAME ${HAVE_PROGNAME} |
|
|
if [ ${HAVE_MKDTEMP} -eq 0 ]; then |
if [ ${HAVE_MKDTEMP} -eq 0 ]; then |
echo "extern char *mkdtemp(char *);" |
echo "extern char *mkdtemp(char *);" |
MANDOC_COBJS="${MANDOC_COBJS} compat_mkdtemp.o" |
MANDOC_COBJS="${MANDOC_COBJS} compat_mkdtemp.o" |
|
fi |
|
if [ ${HAVE_MKSTEMPS} -eq 0 ]; then |
|
echo "extern int mkstemps(char *, int);" |
|
MANDOC_COBJS="${MANDOC_COBJS} compat_mkstemps.o" |
fi |
fi |
if [ ${HAVE_OHASH} -eq 0 ]; then |
if [ ${HAVE_OHASH} -eq 0 ]; then |
MANDOC_COBJS="${MANDOC_COBJS} compat_ohash.o" |
MANDOC_COBJS="${MANDOC_COBJS} compat_ohash.o" |