summaryrefslogtreecommitdiffstats
path: root/docs/docbook/configure
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-03-07 13:42:49 +0000
committerGerald Carter <jerry@samba.org>2001-03-07 13:42:49 +0000
commitfba29406742bd23909831405936866115ae4f07e (patch)
tree67d560282292151807009cc699fcaf0e5e734795 /docs/docbook/configure
parentc975c1020303125ca26fd61b0bb850a2af0395af (diff)
downloadsamba-fba29406742bd23909831405936866115ae4f07e.tar.gz
samba-fba29406742bd23909831405936866115ae4f07e.tar.xz
samba-fba29406742bd23909831405936866115ae4f07e.zip
rules for building individual HOWTOs
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 5745489fdb1..b2403428a23 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