Rename build_docs to docs

All other features are named foo and enabled with --enable-foo.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-08-12 18:29:52 +02:00 committed by Anthony Liguori
parent 83a3ab8bb2
commit a25dba179d

20
configure vendored
View File

@ -181,7 +181,7 @@ bluez=""
brlapi="" brlapi=""
curl="" curl=""
curses="" curses=""
build_docs="" docs=""
nptl="" nptl=""
vde="" vde=""
vnc_tls="" vnc_tls=""
@ -522,9 +522,9 @@ for opt do
;; ;;
--with-pkgversion=*) pkgversion=" ($optarg)" --with-pkgversion=*) pkgversion=" ($optarg)"
;; ;;
--disable-docs) build_docs="no" --disable-docs) docs="no"
;; ;;
--enable-docs) build_docs="yes" --enable-docs) docs="yes"
;; ;;
*) echo "ERROR: unknown option $opt"; show_help="yes" *) echo "ERROR: unknown option $opt"; show_help="yes"
;; ;;
@ -1410,15 +1410,15 @@ if compile_prog "" "" ; then
fi fi
# Check if tools are available to build documentation. # Check if tools are available to build documentation.
if test "$build_docs" != "no" ; then if test "$docs" != "no" ; then
if test -x "`which texi2html 2>/dev/null`" -a \ if test -x "`which texi2html 2>/dev/null`" -a \
-x "`which pod2man 2>/dev/null`" ; then -x "`which pod2man 2>/dev/null`" ; then
build_docs=yes docs=yes
else else
if test "$build_docs" = "yes" ; then if test "$docs" = "yes" ; then
feature_not_found "build_docs" feature_not_found "docs"
fi fi
build_docs=no docs=no
fi fi
fi fi
@ -1593,7 +1593,7 @@ fi
echo "xen support $xen" echo "xen support $xen"
echo "brlapi support $brlapi" echo "brlapi support $brlapi"
echo "bluez support $bluez" echo "bluez support $bluez"
echo "Documentation $build_docs" echo "Documentation $docs"
[ ! -z "$uname_release" ] && \ [ ! -z "$uname_release" ] && \
echo "uname -r $uname_release" echo "uname -r $uname_release"
echo "NPTL support $nptl" echo "NPTL support $nptl"
@ -1722,7 +1722,7 @@ if [ "$source_path_used" = "yes" ]; then
echo "VPATH=$source_path" >> $config_host_mak echo "VPATH=$source_path" >> $config_host_mak
fi fi
echo "TARGET_DIRS=$target_list" >> $config_host_mak echo "TARGET_DIRS=$target_list" >> $config_host_mak
if [ "$build_docs" = "yes" ] ; then if [ "$docs" = "yes" ] ; then
echo "BUILD_DOCS=yes" >> $config_host_mak echo "BUILD_DOCS=yes" >> $config_host_mak
fi fi
if test "$sdl" = "yes" ; then if test "$sdl" = "yes" ; then