summaryrefslogtreecommitdiff
path: root/docs/docbook/configure
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-27 01:50:41 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-27 01:50:41 +0000
commit690d94daf1d5106f03f9830978ec63ee2c85aabe (patch)
treebba34a74b6454f36eb3eeb85e0db5466db4d67fb /docs/docbook/configure
parent55732721fcefc43bdc898a9a9bb021bee193e32f (diff)
downloadsamba-690d94daf1d5106f03f9830978ec63ee2c85aabe.tar.gz
samba-690d94daf1d5106f03f9830978ec63ee2c85aabe.tar.bz2
samba-690d94daf1d5106f03f9830978ec63ee2c85aabe.zip
Fix PDF build
(This used to be commit 90042ce898b3acd4390baea58716362714e7edcb)
Diffstat (limited to 'docs/docbook/configure')
-rwxr-xr-xdocs/docbook/configure72
1 files changed, 72 insertions, 0 deletions
diff --git a/docs/docbook/configure b/docs/docbook/configure
index f668d8c2b6..d2f8c5b7e4 100755
--- a/docs/docbook/configure
+++ b/docs/docbook/configure
@@ -634,6 +634,76 @@ else
echo "$ac_t""no" 1>&6
fi
+# Extract the first word of "latex", so it can be a program name with args.
+set dummy latex; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:641: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_LATEX'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$LATEX" in
+ /*)
+ ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_LATEX="$LATEX" # 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_LATEX="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ ;;
+esac
+fi
+LATEX="$ac_cv_path_LATEX"
+if test -n "$LATEX"; then
+ echo "$ac_t""$LATEX" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+# Extract the first word of "dvips", so it can be a program name with args.
+set dummy dvips; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:676: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_DVIPS'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$DVIPS" in
+ /*)
+ ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
+ ;;
+ ?:/*)
+ ac_cv_path_DVIPS="$DVIPS" # 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_DVIPS="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ ;;
+esac
+fi
+DVIPS="$ac_cv_path_DVIPS"
+if test -n "$DVIPS"; then
+ echo "$ac_t""$DVIPS" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
DOC_BUILD_DATE=`date '+%d-%m-%Y'`
@@ -785,6 +855,8 @@ s%@mandir@%$mandir%g
s%@XSLTPROC@%$XSLTPROC%g
s%@PDFLATEX@%$PDFLATEX%g
s%@XMLTO@%$XMLTO%g
+s%@LATEX@%$LATEX%g
+s%@DVIPS@%$DVIPS%g
s%@DOC_BUILD_DATE@%$DOC_BUILD_DATE%g
CEOF