Module Name: src Committed By: jakllsch Date: Sun Mar 19 16:51:45 UTC 2017
Modified Files: src/external/bsd/mdocml/dist: configure Log Message: Fix configure script to not always provide an extern for strsep(). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/mdocml/dist/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/mdocml/dist/configure diff -u src/external/bsd/mdocml/dist/configure:1.8 src/external/bsd/mdocml/dist/configure:1.9 --- src/external/bsd/mdocml/dist/configure:1.8 Sun Mar 19 15:34:26 2017 +++ src/external/bsd/mdocml/dist/configure Sun Mar 19 16:51:45 2017 @@ -452,9 +452,10 @@ fi [ ${HAVE_STRLCPY} -eq 0 ] && \ echo "extern size_t strlcpy(char *, const char *, size_t);" -[ ${HAVE_STRSEP} -eq 0 ] && \ +if [ ${HAVE_STRSEP} -eq 0 ]; then echo "#undef strsep" echo "extern char *strsep(char **, const char *);" +fi [ ${HAVE_STRTONUM} -eq 0 ] && \ echo "extern long long strtonum(const char *, long long, long long, const char **);"