aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure b/configure
index e23dae792ae..d4cfc5b26b5 100755
--- a/configure
+++ b/configure
@@ -17441,11 +17441,13 @@ else
</book>
EOF
-${NSGMLS-false} -s conftest.sgml 1>&5 2>&1
-if test $? -eq 0; then
- pgac_cv_check_docbook=yes
-else
- pgac_cv_check_docbook=no
+pgac_cv_check_docbook=no
+
+if test -n "$NSGMLS"; then
+ $NSGMLS -s conftest.sgml 1>&5 2>&1
+ if test $? -eq 0; then
+ pgac_cv_check_docbook=yes
+ fi
fi
rm -f conftest.sgml
fi