summaryrefslogtreecommitdiff
path: root/docs/docbook/configure
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-04-19 21:41:48 +0000
committerGerald Carter <jerry@samba.org>2001-04-19 21:41:48 +0000
commit8939efc8c700b46f53e336ef126c02e244c7f448 (patch)
tree7142feb6d05e26c148dc8f174693dab8c688cee6 /docs/docbook/configure
parent2cf8efffe2a8ff543eabe3c5975b15bc2c041885 (diff)
downloadsamba-8939efc8c700b46f53e336ef126c02e244c7f448.tar.gz
samba-8939efc8c700b46f53e336ef126c02e244c7f448.tar.bz2
samba-8939efc8c700b46f53e336ef126c02e244c7f448.zip
merge from 2.2
(This used to be commit 6270765ed5d4e94d34af6d512f17f403b9624699)
Diffstat (limited to 'docs/docbook/configure')
-rwxr-xr-xdocs/docbook/configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/docbook/configure b/docs/docbook/configure
index 5745489fdb..b2403428a2 100755
--- a/docs/docbook/configure
+++ b/docs/docbook/configure
@@ -739,6 +739,41 @@ else
echo "$ac_t""no" 1>&6
fi
+# Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:746: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$PERL" in
+ /*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
+ ac_dummy="$PATH"
+ for ac_dir in $ac_dummy; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_PERL="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ ;;
+esac
+fi
+PERL="$ac_cv_path_PERL"
+if test -n "$PERL"; then
+ echo "$ac_t""$PERL" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
SGML_SHARE="/usr/local/share/sgml"
@@ -915,6 +950,7 @@ s%@NSGMLS@%$NSGMLS%g
s%@HTMLDOC@%$HTMLDOC%g
s%@ONSGMLS@%$ONSGMLS%g
s%@SGMLSPL@%$SGMLSPL%g
+s%@PERL@%$PERL%g
s%@SGML_SHARE@%$SGML_SHARE%g
s%@DOC_BUILD_DATE@%$DOC_BUILD_DATE%g