Commit 144a2ecd authored by Peter Eisentraut's avatar Peter Eisentraut

Make the detection of nsgmls more robust for funny shells.

parent e4044ba2
# $Header: /cvsroot/pgsql/config/docbook.m4,v 1.4 2002/07/16 00:51:37 momjian Exp $ # $Header: /cvsroot/pgsql/config/docbook.m4,v 1.5 2003/11/06 10:30:42 petere Exp $
# PGAC_PROG_JADE # PGAC_PROG_JADE
# -------------- # --------------
...@@ -31,11 +31,13 @@ AC_CACHE_CHECK([for DocBook V$1], [pgac_cv_check_docbook], ...@@ -31,11 +31,13 @@ AC_CACHE_CHECK([for DocBook V$1], [pgac_cv_check_docbook],
</book> </book>
EOF EOF
${NSGMLS-false} -s conftest.sgml 1>&AS_MESSAGE_LOG_FD 2>&1 pgac_cv_check_docbook=no
if test $? -eq 0; then
pgac_cv_check_docbook=yes if test -n "$NSGMLS"; then
else $NSGMLS -s conftest.sgml 1>&AS_MESSAGE_LOG_FD 2>&1
pgac_cv_check_docbook=no if test $? -eq 0; then
pgac_cv_check_docbook=yes
fi
fi fi
rm -f conftest.sgml]) rm -f conftest.sgml])
......
...@@ -17441,11 +17441,13 @@ else ...@@ -17441,11 +17441,13 @@ else
</book> </book>
EOF EOF
${NSGMLS-false} -s conftest.sgml 1>&5 2>&1 pgac_cv_check_docbook=no
if test $? -eq 0; then
pgac_cv_check_docbook=yes if test -n "$NSGMLS"; then
else $NSGMLS -s conftest.sgml 1>&5 2>&1
pgac_cv_check_docbook=no if test $? -eq 0; then
pgac_cv_check_docbook=yes
fi
fi fi
rm -f conftest.sgml rm -f conftest.sgml
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment