summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-11-06 10:30:42 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-11-06 10:30:42 +0000
commit144a2ecd57590c6cce9981a2b28cee5f5805bd5d (patch)
tree9f6a9f4f9a2e902116651561d6956fd3d9cdfef1 /configure
parente4044ba2d7487839ae7113074a65f1457fda56d7 (diff)
downloadpostgresql-144a2ecd57590c6cce9981a2b28cee5f5805bd5d.tar.gz
Make the detection of nsgmls more robust for funny shells.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 7 insertions, 5 deletions
diff --git a/configure b/configure
index e23dae792a..d4cfc5b26b 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