]> git.cameronkatri.com Git - mandoc.git/blobdiff - configure
typo; noticed by jmc@ some time ago
[mandoc.git] / configure
index eb9311e3faf605161f4998d99acef94709714d4a..baa05ad4d1df5a21b0138edcf554393ca354fe11 100755 (executable)
--- a/configure
+++ b/configure
@@ -305,10 +305,8 @@ __HEREDOC__
 [ ${HAVE_FGETLN} -eq 0 ] && \
        echo "extern    char     *fgetln(FILE *, size_t *);"
 
-if [ ${HAVE_GETSUBOPT} -eq 0 ]; then
+[ ${HAVE_GETSUBOPT} -eq 0 ] && \
        echo "extern    int       getsubopt(char **, char * const *, char **);"
-       echo "extern    char     *suboptarg;"
-fi
 
 [ ${HAVE_REALLOCARRAY} -eq 0 ] && \
        echo "extern    void     *reallocarray(void *, size_t, size_t);"