version 1.27, 2015/07/19 06:05:16 |
version 1.29, 2015/11/06 16:30:33 |
|
|
BUILD_CGI=0 |
BUILD_CGI=0 |
|
|
HAVE_DIRENT_NAMLEN= |
HAVE_DIRENT_NAMLEN= |
|
HAVE_ERR= |
HAVE_FGETLN= |
HAVE_FGETLN= |
HAVE_FTS= |
HAVE_FTS= |
HAVE_GETSUBOPT= |
HAVE_GETSUBOPT= |
HAVE_ISBLANK= |
HAVE_ISBLANK= |
HAVE_MKDTEMP= |
HAVE_MKDTEMP= |
HAVE_MMAP= |
HAVE_MMAP= |
|
HAVE_PROGNAME= |
HAVE_REALLOCARRAY= |
HAVE_REALLOCARRAY= |
HAVE_STRCASESTR= |
HAVE_STRCASESTR= |
HAVE_STRINGLIST= |
HAVE_STRINGLIST= |
|
|
|
|
# --- library functions --- |
# --- library functions --- |
runtest dirent-namlen DIRENT_NAMLEN || true |
runtest dirent-namlen DIRENT_NAMLEN || true |
|
runtest err ERR || true |
runtest fgetln FGETLN || true |
runtest fgetln FGETLN || true |
runtest fts FTS || true |
runtest fts FTS || true |
runtest getsubopt GETSUBOPT || true |
runtest getsubopt GETSUBOPT || true |
runtest isblank ISBLANK || true |
runtest isblank ISBLANK || true |
runtest mkdtemp MKDTEMP || true |
runtest mkdtemp MKDTEMP || true |
runtest mmap MMAP || true |
runtest mmap MMAP || true |
|
runtest progname PROGNAME || true |
runtest reallocarray REALLOCARRAY || true |
runtest reallocarray REALLOCARRAY || true |
runtest strcasestr STRCASESTR || true |
runtest strcasestr STRCASESTR || true |
runtest stringlist STRINGLIST || true |
runtest stringlist STRINGLIST || true |
Line 290 echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\"" |
|
Line 294 echo "#define MANPATH_DEFAULT \"${MANPATH_DEFAULT}\"" |
|
|
|
cat << __HEREDOC__ |
cat << __HEREDOC__ |
#define HAVE_DIRENT_NAMLEN ${HAVE_DIRENT_NAMLEN} |
#define HAVE_DIRENT_NAMLEN ${HAVE_DIRENT_NAMLEN} |
|
#define HAVE_ERR ${HAVE_ERR} |
#define HAVE_FGETLN ${HAVE_FGETLN} |
#define HAVE_FGETLN ${HAVE_FGETLN} |
#define HAVE_FTS ${HAVE_FTS} |
#define HAVE_FTS ${HAVE_FTS} |
#define HAVE_GETSUBOPT ${HAVE_GETSUBOPT} |
#define HAVE_GETSUBOPT ${HAVE_GETSUBOPT} |
#define HAVE_ISBLANK ${HAVE_ISBLANK} |
#define HAVE_ISBLANK ${HAVE_ISBLANK} |
#define HAVE_MKDTEMP ${HAVE_MKDTEMP} |
#define HAVE_MKDTEMP ${HAVE_MKDTEMP} |
#define HAVE_MMAP ${HAVE_MMAP} |
#define HAVE_MMAP ${HAVE_MMAP} |
|
#define HAVE_PROGNAME ${HAVE_PROGNAME} |
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
#define HAVE_STRCASESTR ${HAVE_STRCASESTR} |
#define HAVE_STRCASESTR ${HAVE_STRCASESTR} |
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
Line 334 cat << __HEREDOC__ |
|
Line 340 cat << __HEREDOC__ |
|
|
|
__HEREDOC__ |
__HEREDOC__ |
|
|
|
if [ ${HAVE_ERR} -eq 0 ]; then |
|
echo "extern void err(int, const char *, ...);" |
|
echo "extern void warn(const char *, ...);" |
|
echo "extern void warnx(const char *, ...);" |
|
fi |
|
|
[ ${HAVE_FGETLN} -eq 0 ] && \ |
[ ${HAVE_FGETLN} -eq 0 ] && \ |
echo "extern char *fgetln(FILE *, size_t *);" |
echo "extern char *fgetln(FILE *, size_t *);" |
|
|
|
|
|
|
[ ${HAVE_MKDTEMP} -eq 0 ] && \ |
[ ${HAVE_MKDTEMP} -eq 0 ] && \ |
echo "extern char *mkdtemp(char *);" |
echo "extern char *mkdtemp(char *);" |
|
|
|
if [ ${HAVE_PROGNAME} -eq 0 ]; then |
|
echo "extern const char *getprogname(void);" |
|
echo "extern void setprogname(const char *);" |
|
fi |
|
|
[ ${HAVE_REALLOCARRAY} -eq 0 ] && \ |
[ ${HAVE_REALLOCARRAY} -eq 0 ] && \ |
echo "extern void *reallocarray(void *, size_t, size_t);" |
echo "extern void *reallocarray(void *, size_t, size_t);" |