summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEugeniy Meshcheryakov <eugen@debian.org>2009-05-06 17:58:44 +0200
committerEugeniy Meshcheryakov <eugen@debian.org>2009-05-06 17:58:44 +0200
commitb62c413b3be70e525bb7d7dc42913beaae060d63 (patch)
tree3f5317d912bf088956162335b852b4830fd497e8 /configure
parent997c3c681be1ae4de4b7aa14ea75e9a346ec2b9a (diff)
downloadsystemtap-steved-b62c413b3be70e525bb7d7dc42913beaae060d63.tar.gz
systemtap-steved-b62c413b3be70e525bb7d7dc42913beaae060d63.tar.xz
systemtap-steved-b62c413b3be70e525bb7d7dc42913beaae060d63.zip
Run autoreconf
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure43
1 files changed, 41 insertions, 2 deletions
diff --git a/configure b/configure
index 24292d5c..82e36a32 100755
--- a/configure
+++ b/configure
@@ -665,6 +665,7 @@ BUILD_REFDOCS_TRUE
have_xmlto
BUILD_DOCS_FALSE
BUILD_DOCS_TRUE
+have_latex2html
have_ps2pdf
have_dvips
have_latex
@@ -6548,7 +6549,45 @@ $as_echo "no" >&6; }
fi
-if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
+# Extract the first word of "latex2html", so it can be a program name with args.
+set dummy latex2html; ac_word=$2
+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_have_latex2html+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$have_latex2html"; then
+ ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_have_latex2html="yes"
+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no"
+fi
+fi
+have_latex2html=$ac_cv_prog_have_latex2html
+if test -n "$have_latex2html"; then
+ { $as_echo "$as_me:$LINENO: result: $have_latex2html" >&5
+$as_echo "$have_latex2html" >&6; }
+else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
if test "$enable_docs" == "yes"; then
{ { $as_echo "$as_me:$LINENO: error: cannot find all tools for building documentation" >&5
$as_echo "$as_me: error: cannot find all tools for building documentation" >&2;}
@@ -6559,7 +6598,7 @@ $as_echo "$as_me: error: cannot find all tools for building documentation" >&2;}
$as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
fi
fi
-if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no"; then
+if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
building_docs="yes"
fi
if test "$building_docs" == "yes"; then