Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist Make sure isblank is not a macro, i...



details:   https://anonhg.NetBSD.org/src/rev/9f5643851561
branches:  trunk
changeset: 820404:9f5643851561
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jan 08 21:34:23 2017 +0000

description:
Make sure isblank is not a macro, it will have failed the configure
check earlier.

diffstat:

 external/bsd/mdocml/dist/configure |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r d061a95710e0 -r 9f5643851561 external/bsd/mdocml/dist/configure
--- a/external/bsd/mdocml/dist/configure        Sun Jan 08 19:49:25 2017 +0000
+++ b/external/bsd/mdocml/dist/configure        Sun Jan 08 21:34:23 2017 +0000
@@ -363,8 +363,10 @@
 [ ${HAVE_GETSUBOPT} -eq 0 ] && \
        echo "extern    int       getsubopt(char **, char * const *, char **);"
 
-[ ${HAVE_ISBLANK} -eq 0 ] && \
+if [ ${HAVE_ISBLANK} -eq 0 ]; then
+       echo "#undef isblank"
        echo "extern    int       isblank(int);"
+fi
 
 [ ${HAVE_MKDTEMP} -eq 0 ] && \
        echo "extern    char     *mkdtemp(char *);"



Home | Main Index | Thread Index | Old Index