version 1.64, 2017/07/01 09:47:30 |
version 1.65, 2018/02/27 11:16:23 |
|
|
HAVE_STRINGLIST= |
HAVE_STRINGLIST= |
HAVE_STRLCAT= |
HAVE_STRLCAT= |
HAVE_STRLCPY= |
HAVE_STRLCPY= |
|
HAVE_STRNDUP= |
HAVE_STRPTIME= |
HAVE_STRPTIME= |
HAVE_STRSEP= |
HAVE_STRSEP= |
HAVE_STRTONUM= |
HAVE_STRTONUM= |
Line 238 runtest strcasestr STRCASESTR || true |
|
Line 239 runtest strcasestr STRCASESTR || true |
|
runtest stringlist STRINGLIST || true |
runtest stringlist STRINGLIST || true |
runtest strlcat STRLCAT || true |
runtest strlcat STRLCAT || true |
runtest strlcpy STRLCPY || true |
runtest strlcpy STRLCPY || true |
|
runtest strndup STRNDUP || true |
runtest strptime STRPTIME || true |
runtest strptime STRPTIME || true |
runtest strsep STRSEP || true |
runtest strsep STRSEP || true |
runtest strtonum STRTONUM || true |
runtest strtonum STRTONUM || true |
|
|
|
|
[ ${HAVE_GETLINE} -eq 0 -o \ |
[ ${HAVE_GETLINE} -eq 0 -o \ |
${HAVE_REALLOCARRAY} -eq 0 -o ${HAVE_RECALLOCARRAY} -eq 0 -o \ |
${HAVE_REALLOCARRAY} -eq 0 -o ${HAVE_RECALLOCARRAY} -eq 0 -o \ |
${HAVE_STRLCAT} -eq 0 -o ${HAVE_STRLCPY} -eq 0 ] \ |
${HAVE_STRLCAT} -eq 0 -o ${HAVE_STRLCPY} -eq 0 -o \ |
|
${HAVE_STRNDUP} -eq 0 ] \ |
&& echo "#include <sys/types.h>" |
&& echo "#include <sys/types.h>" |
[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" |
[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" |
[ ${HAVE_GETLINE} -eq 0 ] && echo "#include <stdio.h>" |
[ ${HAVE_GETLINE} -eq 0 ] && echo "#include <stdio.h>" |
Line 396 cat << __HEREDOC__ |
|
Line 399 cat << __HEREDOC__ |
|
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
#define HAVE_STRINGLIST ${HAVE_STRINGLIST} |
#define HAVE_STRLCAT ${HAVE_STRLCAT} |
#define HAVE_STRLCAT ${HAVE_STRLCAT} |
#define HAVE_STRLCPY ${HAVE_STRLCPY} |
#define HAVE_STRLCPY ${HAVE_STRLCPY} |
|
#define HAVE_STRNDUP ${HAVE_STRNDUP} |
#define HAVE_STRPTIME ${HAVE_STRPTIME} |
#define HAVE_STRPTIME ${HAVE_STRPTIME} |
#define HAVE_STRSEP ${HAVE_STRSEP} |
#define HAVE_STRSEP ${HAVE_STRSEP} |
#define HAVE_STRTONUM ${HAVE_STRTONUM} |
#define HAVE_STRTONUM ${HAVE_STRTONUM} |
|
|
|
|
[ ${HAVE_STRLCPY} -eq 0 ] && \ |
[ ${HAVE_STRLCPY} -eq 0 ] && \ |
echo "extern size_t strlcpy(char *, const char *, size_t);" |
echo "extern size_t strlcpy(char *, const char *, size_t);" |
|
|
|
[ ${HAVE_STRNDUP} -eq 0 ] && \ |
|
echo "extern char *strndup(const char *, size_t);" |
|
|
[ ${HAVE_STRSEP} -eq 0 ] && \ |
[ ${HAVE_STRSEP} -eq 0 ] && \ |
echo "extern char *strsep(char **, const char *);" |
echo "extern char *strsep(char **, const char *);" |