File:  [Local Repository] / gnujdoc / configure.in
Revision 1.75: download - view: text, annotated - select for diffs
Fri Oct 28 13:07:30 2005 UTC (13 years, 10 months ago) by futoshi
Branches: MAIN
CVS tags: HEAD
Add gengetopt-2.14.

dnl Process this file with autoconf to produce a configure script.

dnl Copyright (C) 1999 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>

dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2, or (at your option)
dnl any later version.

dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.

dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
dnl 02111-1307, USA.

dnl Init

AC_INIT(gnujdoc, 0.0, gnujdoc@gnu.org)
AC_CONFIG_SRCDIR([makeinfo.el])
AM_INIT_AUTOMAKE([1.9 dist-bzip2])
AC_PREREQ(2.59)


dnl Check programs

dnl FIXME: should check if an emacs found supports mule.
dnl Actually, we should internationalize makeinfo.
EMACS=emacs
AC_ARG_WITH(emacs,
  AS_HELP_STRING([--with-emacs=EMACS],
    [Use EMACS for producing info files [default=emacs]]),
  [EMACS=$with_emacs])
AC_SUBST(EMACS)

TEX=ptex
AC_ARG_WITH(tex,
  AS_HELP_STRING([--with-tex=TEX],
    [Use TEX for producing dvi files [default=ptex]]),
  [TEX=$with_tex])
AC_SUBST(TEX)

# Not use texi2html
# TEXI2HTML=texi2html
# AC_ARG_WITH(texi2html,
#   AS_HELP_STRING([--with-texi2html=TEXI2HTML],
#     [Use TEXI2HTML for producing html files [default=texi2html]]),
#   [TEXI2HTML=$with_texi2html])
# AC_SUBST(TEXI2HTML)

gnujdoc_REQUIRE_MAKEINFO([4.8],
  [echo "Good version makeinfo"],
  [AC_MSG_ERROR(makeinfo does not work.)])

dnl Check user options

GNUJDOC_SUBDIRS=""

gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_3,automake-1.3)
AC_ARG_ENABLE(automake-1_3,
  AS_HELP_STRING([--disable-automake-1_3],
    [do not install the automake 1.3 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_3=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_3"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_4,automake-1.4)
AC_ARG_ENABLE(automake-1_4,
  AS_HELP_STRING([--disable-automake-1_4],
    [do not install the automake 1.4 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_4=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_4"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_5,automake-1.5)
AC_ARG_ENABLE(automake-1_5,
  AS_HELP_STRING([--disable-automake-1_5],
    [do not install the automake 1.5 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_6,automake-1.6)
AC_ARG_ENABLE(automake-1_6,
  AS_HELP_STRING([--disable-automake-1_6],
    [do not install the automake 1.6 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_6=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_6"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_7,automake-1.7)
AC_ARG_ENABLE(automake-1_7,
  AS_HELP_STRING([--disable-automake-1_7],
    [do not install the automake 1.7 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_7=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_7"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_8,automake-1.8)
AC_ARG_ENABLE(automake-1_8,
  AS_HELP_STRING([--disable-automake-1_8],
    [do not install the automake 1.8 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_8=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_8"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_automake_1_9,automake-1.9)
AC_ARG_ENABLE(automake-1_9,
  AS_HELP_STRING([--disable-automake-1_9],
    [do not install the automake 1.9 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_automake_1_9=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_automake_1_9"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_coreutils_5_0,coreutils-5.0)
AC_ARG_ENABLE(coreutils-5_0,
  AS_HELP_STRING([--disable-coreutils-5_0],
    [do not install the coreutils 5.0 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_coreutils_5_0=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_coreutils_5_0"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_coreutils_5_2_1,coreutils-5.2.1)
AC_ARG_ENABLE(coreutils-5_2_1,
  AS_HELP_STRING([--disable-coreutils-5_2_1],
    [do not install the coreutils 5.2.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_coreutils_5_2_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_coreutils_5_2_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_standards,standards-19981118)
AC_ARG_ENABLE(standards,
  AS_HELP_STRING([--disable-standards],
    [do not install the GNU Coding Standards]),
  [test "x$enableval" = xno && gnujdoc_subdir_standards=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_standards"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_10,cvs-1.10)
AC_ARG_ENABLE(cvs,
  AS_HELP_STRING([--disable-cvs],
    [do not install the CVS manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_10=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_10"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_10_5,cvs-1.10.5)
AC_ARG_ENABLE(cvs-1_10_5,
  AS_HELP_STRING([--disable-cvs-1_10_5],
    [do not install the CVS 1.10.5 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_10_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_10_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_10_6,cvs-1.10.6)
AC_ARG_ENABLE(cvs-1_10_6,
  AS_HELP_STRING([--disable-cvs-1_10_6],
    [do not install the CVS 1.10.6 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_10_6=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_10_6"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_10_7,cvs-1.10.7)
AC_ARG_ENABLE(cvs-1_10_7,
  AS_HELP_STRING([--disable-cvs-1_10_7],
    [do not install the CVS 1.10.7 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_10_7=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_10_7"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_10_8,cvs-1.10.8)
AC_ARG_ENABLE(cvs-1_10_8,
  AS_HELP_STRING([--disable-cvs-1_10_8],
    [do not install the CVS 1.10.8 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_10_8=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_10_8"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_cvs_1_11,cvs-1.11)
AC_ARG_ENABLE(cvs-1_11,
  AS_HELP_STRING([--disable-cvs-1_11],
    [do not install the CVS 1.11 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_cvs_1_11=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_cvs_1_11"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_12,autoconf-2.12)
AC_ARG_ENABLE(autoconf-2_12,
  AS_HELP_STRING([--disable-autoconf-2_12],
    [do not install the autoconf 2.12 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_12=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_12"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_13,autoconf-2.13)
AC_ARG_ENABLE(autoconf-2_13,
  AS_HELP_STRING([--disable-autoconf-2_13],
    [do not install the autoconf 2.13 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_13=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_13"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_52,autoconf-2.52)
AC_ARG_ENABLE(autoconf-2_52,
  AS_HELP_STRING([--disable-autoconf-2_52],
    [do not install the autoconf 2.53 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_52=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_52"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_53,autoconf-2.53)
AC_ARG_ENABLE(autoconf-2_53,
  AS_HELP_STRING([--disable-autoconf-2_53],
    [do not install the autoconf 2.53 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_53=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_53"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_54,autoconf-2.54)
AC_ARG_ENABLE(autoconf-2_54,
  AS_HELP_STRING([--disable-autoconf-2_54],
    [do not install the autoconf 2.54 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_54=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_54"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_57,autoconf-2.57)
AC_ARG_ENABLE(autoconf-2_57,
  AS_HELP_STRING([--disable-autoconf-2_57],
    [do not install the autoconf 2.57 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_57=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_57"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_autoconf_2_59,autoconf-2.59)
AC_ARG_ENABLE(autoconf-2_59,
  AS_HELP_STRING([--disable-autoconf-2_59],
    [do not install the autoconf 2.59 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_autoconf_2_59=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_autoconf_2_59"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_hurd,hurd-0.2)
AC_ARG_ENABLE(hurd,
  AS_HELP_STRING([--disable-hurd],
    [do not install the hurd manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_hurd=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_hurd"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_gdb_4_16,gdb-4.16)
AC_ARG_ENABLE(gdb-4_16,
  AS_HELP_STRING([--disable-gdb-4_16],
    [do not install the GDB 4.16 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_gdb_4_16=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_gdb_4_16"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_gdb_4_17,gdb-4.17)
AC_ARG_ENABLE(gdb-4_17,
  AS_HELP_STRING([--disable-gdb-4_17],
    [do not install the GDB 4.17 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_gdb_4_17=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_gdb_4_17"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_gdb_4_18,gdb-4.18)
AC_ARG_ENABLE(gdb-4_18,
  AS_HELP_STRING([--disable-gdb-4_18],
    [do not install the GDB 4.18 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_gdb_4_18=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_gdb_4_18"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_flex_2_3_7,flex-2.3.7)
AC_ARG_ENABLE(flex-2_3_7,
  AS_HELP_STRING([--disable-flex-2_3_7],
    [do not install the flex 2.3.7 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_flex_2_3_7=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_flex_2_3_7"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_flex_2_5_4,flex-2.5.4)
AC_ARG_ENABLE(flex-2_5_4,
  AS_HELP_STRING([--disable-flex_2_5_4],
    [do not install the flex 2.5.4 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_flex_2_4_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_flex_2_5_4"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_emacs_20_3,emacs-20.3)
AC_ARG_ENABLE(emacs-20_3,
  AS_HELP_STRING([--disable-emacs-20_3],
    [do not install the Emacs manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_emacs_20_3=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_emacs_20_3"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_emacs_20_6,emacs-20.6)
AC_ARG_ENABLE(emacs-20_6,
  AS_HELP_STRING([--disable-emacs-20_6],
    [do not install the Emacs manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_emacs_20_6=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_emacs_20_6"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_elisp_20_2_5,elisp-manual-20-2.5)
AC_ARG_ENABLE(elisp-20-2_5,
  AS_HELP_STRING([--disable-elisp-20-2_5],
    [do not install the ELisp manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_elisp_20_2_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_elisp_20_2_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_bison_1_25,bison-1.25)
AC_ARG_ENABLE(bison-1_25,
  AS_HELP_STRING([--disable-bison-1_25],
    [do not install the bison 1.25 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_bison_1_25=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_bison_1_25"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_bison_1_28,bison-1.28)
AC_ARG_ENABLE(bison-1_28,
  AS_HELP_STRING([--disable-bison-1_28],
    [do not install the bison 1.28 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_bison_1_28=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_bison_1_28"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_gzip_1_2_4,gzip-1.2.4)
AC_ARG_ENABLE(gzip-1_2_4,
  AS_HELP_STRING([--disable-gzip-1_2_4],
    [do not install the gzip 1.2.4 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_gzip_1_2_4=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_gzip_1_2_4"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_grep_2_4_2,grep-2.4.2)
AC_ARG_ENABLE(grep-2_4_2,
  AS_HELP_STRING([--disable-grep-2_4_2],
    [do not install the grep 2.4.2 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_grep_2_4_2=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_grep_2_4_2"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_grep_2_5,grep-2.5)
AC_ARG_ENABLE(grep-2_5,
  AS_HELP_STRING([--disable-grep-2_5],
    [do not install the grep 2.5 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_grep_2_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_grep_2_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_5_3,wget-1.5.3)
AC_ARG_ENABLE(wget-1_5_3,
  AS_HELP_STRING([--disable-wget-1_5_3],
    [do not install the wget 1.5.3 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_5_3=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_5_3"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_6,wget-1.6)
AC_ARG_ENABLE(wget-1_6,
  AS_HELP_STRING([--disable-wget-1_6],
    [do not install the wget 1.6 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_6=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_6"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_7,wget-1.7)
AC_ARG_ENABLE(wget-1_7,
  AS_HELP_STRING([--disable-wget-1_7],
    [do not install the wget 1.7 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_7=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_7"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_8_1,wget-1.8.1)
AC_ARG_ENABLE(wget-1_8_1,
  AS_HELP_STRING([--disable-wget-1_8_1],
    [do not install the wget 1.8.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_8_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_8_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_9,wget-1.9)
AC_ARG_ENABLE(wget-1_9,
  AS_HELP_STRING([--disable-wget-1_9],
    [do not install the wget 1.9 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_9=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_9"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_wget_1_10,wget-1.10)
AC_ARG_ENABLE(wget-1_10,
  AS_HELP_STRING([--disable-wget-1_10],
    [do not install the wget 1.10 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_wget_1_10=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_wget_1_10"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_textutils_2_0,textutils-2.0)
AC_ARG_ENABLE(textutils-2_0,
  AS_HELP_STRING([--disable-textutils-2_0],
    [do not install the textutils 2.0 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_textutils_2_0=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_textutils_2_0"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_texinfo_4_0,texinfo-4.0)
AC_ARG_ENABLE(texinfo-4_0,
  AS_HELP_STRING([--disable-texinfo-4_0],
    [do not install the texinfo 4.0 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_texinfo_4_0=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_texinfo_4_0"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_texinfo_4_2,texinfo-4.2)
AC_ARG_ENABLE(texinfo-4_2,
  AS_HELP_STRING([--disable-texinfo-4_2],
    [do not install the texinfo 4.2 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_texinfo_4_2=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_texinfo_4_2"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_texinfo_4_3,texinfo-4.3)
AC_ARG_ENABLE(texinfo-4_3,
  AS_HELP_STRING([--disable-texinfo-4_3],
    [do not install the texinfo 4.3 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_texinfo_4_3=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_texinfo_4_3"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_fileutils_4_0,fileutils-4.0)
AC_ARG_ENABLE(fileutils-4_0,
  AS_HELP_STRING([--disable-fileutils-4_0],
    [do not install the fileutils 4.0 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_fileutils_4_0=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_fileutils_4_0"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_fileutils_4_1,fileutils-4.1)
AC_ARG_ENABLE(fileutils-4_1,
  AS_HELP_STRING([--disable-fileutils-4_1],
    [do not install the fileutils 4.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_fileutils_4_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_fileutils_4_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_libtool_1_3_5,libtool-1.3.5)
AC_ARG_ENABLE(libtool-1_3_5,
  AS_HELP_STRING([--disable-libtool-1_3_5],
    [do not install the libtool 1.3.5 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_libtool_1_3_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_libtool_1_3_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_libtool_1_4,libtool-1.4)
AC_ARG_ENABLE(libtool-1_4,
  AS_HELP_STRING([--disable-libtool-1_4],
    [do not install the libtool 1.4 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_libtool_1_4=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_libtool_1_4"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_libtool_1_4_1,libtool-1.4.1)
AC_ARG_ENABLE(libtool-1_4_1,
  AS_HELP_STRING([--disable-libtool-1_4_1],
    [do not install the libtool 1.4.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_libtool_1_4_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_libtool_1_4_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_libtool_1_4_2,libtool-1.4.2)
AC_ARG_ENABLE(libtool-1_4_2,
  AS_HELP_STRING([--disable-libtool-1_4_2],
    [do not install the libtool 1.4.2 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_libtool_1_4_2=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_libtool_1_4_2"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_libtool_1_5,libtool-1.5)
AC_ARG_ENABLE(libtool-1_5,
  AS_HELP_STRING([--disable-libtool-1_5],
    [do not install the libtool 1.5 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_libtool_1_5=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_libtool_1_5"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_sh_utils_2_0,sh-utils-2.0)
AC_ARG_ENABLE(sh-utils-2_0,
  AS_HELP_STRING([--disable-sh-utils-2_0],
    [do not install the sh-utils 2.0 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_sh_utils_2_0=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_sh_utils_2_0"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_m4_1_4,m4-1.4)
AC_ARG_ENABLE(m4-1_4,
  AS_HELP_STRING([--disable-m4-1_4],
    [do not install the m4 1.4 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_m4_1_4=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_m4_1_4"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_10_1,binutils-2.10.1)
AC_ARG_ENABLE(binutils-2_10_1,
  AS_HELP_STRING([--disable-binutils-2_10_1],
    [do not install the binutils 2.10.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_10_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_10_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_11,binutils-2.11)
AC_ARG_ENABLE(binutils-2_11,
  AS_HELP_STRING([--disable-binutils-2_11],
    [do not install the binutils 2.11 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_11=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_11"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_11_2,binutils-2.11.2)
AC_ARG_ENABLE(binutils-2_11_2,
  AS_HELP_STRING([--disable-binutils-2_11_2],
    [do not install the binutils 2.11.2 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_11_2=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_11_2"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_12_1,binutils-2.12.1)
AC_ARG_ENABLE(binutils-2_12_1,
  AS_HELP_STRING([--disable-binutils-2_12_1],
    [do not install the binutils 2.12.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_12_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_12_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_13,binutils-2.13)
AC_ARG_ENABLE(binutils-2_13,
  AS_HELP_STRING([--disable-binutils-2_13],
    [do not install the binutils 2.13 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_13=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_13"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_14,binutils-2.14)
AC_ARG_ENABLE(binutils-2_14,
  AS_HELP_STRING([--disable-binutils-2_14],
    [do not install the binutils 2.14 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_14=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_14"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_binutils_2_16_1,binutils-2.16.1)
AC_ARG_ENABLE(binutils-2_16_1,
  AS_HELP_STRING([--disable-binutils-2_16.1],
    [do not install the binutils 2.16.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_binutils_2_16_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_binutils_2_16_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_findutils_4_1,findutils-4.1)
AC_ARG_ENABLE(findutils-4_1,
  AS_HELP_STRING([--disable-findutils-4_1],
    [do not install the findutils 4.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_findutils_4_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_findutils_4_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_findutils_4_2_23,findutils-4.2.23)
AC_ARG_ENABLE(findutils-4_2_23,
  AS_HELP_STRING([--disable-findutils-4_2_23],
    [do not install the findutils 4.2.23 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_findutils_4_2_23=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_findutils_4_2_23"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_sed_3_02,sed-3.02)
AC_ARG_ENABLE(sed-3_02,
  AS_HELP_STRING([--disable-sed-3_02],
    [do not install the sed 3.02 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_sed_3_02=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_sed_3_02"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_sed_4_0_1,sed-4.0.1)
AC_ARG_ENABLE(sed-4_0_1,
  AS_HELP_STRING([--disable-sed-4_0_1],
    [do not install the sed 4.0.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_sed_4_0_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_sed_4_0_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_sed_4_1_2,sed-4.1.2)
AC_ARG_ENABLE(sed-4_1_2,
  AS_HELP_STRING([--disable-sed-4_1_2],
    [do not install the sed 4.1.2 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_sed_4_1_2=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_sed_4_1_2"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_diffutils_2_8_1,diffutils-2.8.1)
AC_ARG_ENABLE(diffutils-2_8_1,
  AS_HELP_STRING([--disable-diffutils-2_8_1],
    [do not install the diffutils 2.8.1 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_diffutils_2_8_1=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_diffutils_2_8_1"


gnujdoc_CHECK_SUBDIR(gnujdoc_subdir_gengetopt_2_14,gengetopt-2.14)
AC_ARG_ENABLE(gengetopt-2_14,
  AS_HELP_STRING([--disable-gengetopt-2_14],
    [do not install the gengetopt 2.14 manual]),
  [test "x$enableval" = xno && gnujdoc_subdir_gengetopt_2_14=""])
GNUJDOC_SUBDIRS="$GNUJDOC_SUBDIRS $gnujdoc_subdir_gengetopt_2_14"


AC_SUBST(GNUJDOC_SUBDIRS)

dnl Output

AC_CONFIG_FILES([Makefile \
  automake-1.3/Makefile \
  automake-1.4/Makefile \
  standards-19981118/Makefile \
  cvs-1.10/Makefile \
  cvs-1.10.5/Makefile \
  autoconf-2.12/Makefile \
  autoconf-2.13/Makefile \
  hurd-0.2/Makefile \
  gdb-4.16/Makefile \
  gdb-4.17/Makefile \
  gdb-4.18/Makefile \
  flex-2.5.4/Makefile \
  emacs-20.3/Makefile \
  bison-1.25/Makefile \
  cvs-1.10.6/Makefile \
  bison-1.28/Makefile \
  cvs-1.10.7/Makefile \
  cvs-1.10.8/Makefile \
  gzip-1.2.4/Makefile \
  cvs-1.11/Makefile \
  emacs-20.6/Makefile \
  elisp-manual-20-2.5/Makefile \
  grep-2.4.2/Makefile \
  texinfo-4.0/Makefile \
  textutils-2.0/Makefile \
  wget-1.5.3/Makefile \
  fileutils-4.0/Makefile \
  libtool-1.3.5/Makefile \
  sh-utils-2.0/Makefile \
  wget-1.6/Makefile \
  m4-1.4/Makefile \
  binutils-2.10.1/Makefile \
  fileutils-4.1/Makefile \
  binutils-2.11/Makefile \
  libtool-1.4/Makefile \
  wget-1.7/Makefile \
  binutils-2.11.2/Makefile \
  libtool-1.4.1/Makefile \
  findutils-4.1/Makefile \
  automake-1.5/Makefile \
  libtool-1.4.2/Makefile \
  autoconf-2.52/Makefile \
  wget-1.8.1/Makefile \
  sed-3.02/Makefile \
  automake-1.6/Makefile \
  autoconf-2.53/Makefile \
  texinfo-4.2/Makefile \
  grep-2.5/Makefile \
  binutils-2.12.1/Makefile \
  binutils-2.13/Makefile \
  autoconf-2.54/Makefile \
  automake-1.7/Makefile \
  diffutils-2.8.1/Makefile \
  sed-4.0.1/Makefile \
  texinfo-4.3/Makefile \
  libtool-1.5/Makefile \
  autoconf-2.57/Makefile \
  wget-1.9/Makefile \
  autoconf-2.59/Makefile \
  automake-1.8/Makefile \
  coreutils-5.0/Makefile \
  binutils-2.14/Makefile \
  automake-1.9/Makefile \
  coreutils-5.2.1/Makefile \
  flex-2.3.7/Makefile \
  wget-1.10/Makefile \
  findutils-4.2.23/Makefile \
  sed-4.1.2/Makefile \
  binutils-2.16.1/Makefile \
  gengetopt-2.14/Makefile])
AC_OUTPUT

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>