Revision cc8ae6de configure

b/configure
94 94
check_gcc="yes"
95 95
softmmu="yes"
96 96
user="no"
97
build_docs="no"
97 98

  
98 99
# OS specific
99 100
targetos=`uname -s`
......
427 428
fi # cross compilation
428 429
fi # -z $sdl
429 430

  
431
# Check if tools are available to build documentation.
432
if [ ! -z `which texi2html` ] && [ ! -z `which pod2man` ]; then
433
  build_docs="yes"
434
fi
435

  
430 436
if test "$mingw32" = "yes" ; then
431 437
if test -z "$prefix" ; then
432 438
    prefix="/c/Program Files/Qemu"
......
489 495
fi
490 496
echo "FMOD support      $fmod $fmod_support"
491 497
echo "kqemu support     $kqemu"
498
echo "Documentation     $build_docs"
492 499

  
493 500
if test $sdl_too_old = "yes"; then
494 501
echo "-> Your SDL version is too old - please upgrade to have SDL support"
......
632 639
  echo "VPATH=$source_path" >> $config_mak
633 640
fi
634 641
echo "TARGET_DIRS=$target_list" >> $config_mak
642
if [ "$build_docs" = "yes" ] ; then
643
  echo "BUILD_DOCS=yes" >> $config_mak
644
fi
635 645

  
636 646
# XXX: suppress that
637 647
if [ "$bsd" = "yes" ] ; then

Also available in: Unified diff