aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configure
diff options
context:
space:
mode:
authorChristoph Egger <chegger@amazon.de>2013-05-10 16:07:44 +0200
committerIan Campbell <ian.campbell@citrix.com>2013-05-13 10:53:37 +0100
commit2569c54743c887ec6fbbba74efe56fb113b933fc (patch)
tree14a1874d288db7944e4ad6e23777d6bd9407f6a2 /docs/configure
parent017610862e55a31a5abb2a7e7da39ad628794e1e (diff)
downloadxen-2569c54743c887ec6fbbba74efe56fb113b933fc.tar.gz
xen-2569c54743c887ec6fbbba74efe56fb113b933fc.tar.bz2
xen-2569c54743c887ec6fbbba74efe56fb113b933fc.zip
docs: make 'gmake dist-docs' work
doc: buildsystem fixes - use correct pathes (make gmake dist-docs from toplevel directory work) - configure detects perl as tools/configure does Signed-off-by: Christoph Egger <chegger@amazon.de> Reviewed-by: Matthew Wilson <msw@amazon.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> [ ijc -- reran autogen.sh ]
Diffstat (limited to 'docs/configure')
-rwxr-xr-xdocs/configure54
1 files changed, 53 insertions, 1 deletions
diff --git a/docs/configure b/docs/configure
index d623d19446..a778bda09a 100755
--- a/docs/configure
+++ b/docs/configure
@@ -559,6 +559,7 @@ PACKAGE_URL='http://www.xen.org/'
ac_unique_file="misc/xen-command-line.markdown"
ac_subst_vars='LTLIBOBJS
LIBOBJS
+PERL
MARKDOWN
POD2TEXT
POD2HTML
@@ -613,7 +614,8 @@ FIG2DEV
POD2MAN
POD2HTML
POD2TEXT
-MARKDOWN'
+MARKDOWN
+PERL'
# Initialize some variables set by options.
@@ -1227,6 +1229,7 @@ Some influential environment variables:
POD2HTML Path to pod2html tool
POD2TEXT Path to pod2text tool
MARKDOWN Path to markdown tool
+ PERL Path to Perl parser
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -1701,6 +1704,8 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
# Extract the first word of "fig2dev", so it can be a program name with args.
set dummy fig2dev; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -1950,6 +1955,53 @@ $as_echo "$as_me: WARNING: markdown is not available so some documentation won't
fi
+
+# Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PERL+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ 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_path_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
+ ;;
+esac
+fi
+PERL=$ac_cv_path_PERL
+if test -n "$PERL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
+$as_echo "$PERL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test x"${PERL}" = x"no"
+then
+ as_fn_error $? "Unable to find perl, please install perl" "$LINENO" 5
+fi
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure