diff options
author | Tobias Burnus <burnus@net-b.de> | 2010-12-08 09:06:49 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2010-12-08 09:06:49 +0100 |
commit | 4c993c44a094c023d70b6548955ebfef9b8e8721 (patch) | |
tree | 2b1ed8c40ac9bc96e92cf0633b01f6ea4c4a5e23 /libquadmath/configure.ac | |
parent | 505b439a062e6f264161f33c0c50727d5614b28b (diff) | |
download | gcc-4c993c44a094c023d70b6548955ebfef9b8e8721.zip gcc-4c993c44a094c023d70b6548955ebfef9b8e8721.tar.gz gcc-4c993c44a094c023d70b6548955ebfef9b8e8721.tar.bz2 |
re PR fortran/46543 (libquadmath: Add documentation)
2010-12-08 Tobias Burnus <burnus@net-b.de>
PR fortran/46543
* configure.ac: Add texinfo checks.
* Makefile.am: Handle .texi documentation.
* libquadmath.texi: New.
* configure: Regenerated.
* Makefile.in: Regenerated.
From-SVN: r167583
Diffstat (limited to 'libquadmath/configure.ac')
-rw-r--r-- | libquadmath/configure.ac | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac index 82ee93f..a80d60b 100644 --- a/libquadmath/configure.ac +++ b/libquadmath/configure.ac @@ -30,7 +30,8 @@ AM_INIT_AUTOMAKE([1.9.0 foreign subdir-objects no-dist -Wall -Werror]) AC_MSG_CHECKING([for --enable-version-specific-runtime-libs]) AC_ARG_ENABLE(version-specific-runtime-libs, -[ --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory ], +AS_HELP_STRING([--enable-version-specific-runtime-libs], + [specify that runtime libraries should be installed in a compiler-specific directory]), [case "$enableval" in yes) version_specific_libs=yes ;; no) version_specific_libs=no ;; @@ -41,6 +42,14 @@ AC_MSG_RESULT($version_specific_libs) GCC_NO_EXECUTABLES +# See if makeinfo has been installed and is modern enough +# that we can use it. +ACX_CHECK_PROG_VER([MAKEINFO], [makeinfo], [--version], + [GNU texinfo.* \([0-9][0-9.]*\)], + [4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*]) +AM_CONDITIONAL(BUILD_INFO, test $gcc_cv_prog_makeinfo_modern = "yes") + + # Configure libtool AM_PROG_LIBTOOL ACX_LT_HOST_FLAGS @@ -187,5 +196,25 @@ else multilib_arg= fi + +# We would like our source tree to be readonly. However when releases or +# pre-releases are generated, the flex/bison generated files as well as the +# various formats of manuals need to be included along with the rest of the +# sources. Therefore we have --enable-generated-files-in-srcdir to do +# just that. +AC_MSG_CHECKING(generated-files-in-srcdir) +AC_ARG_ENABLE(generated-files-in-srcdir, +AS_HELP_STRING([--enable-generated-files-in-srcdir], + [put copies of generated files in source dir intended for creating source tarballs for users without texinfo bison or flex]), +[case "$enableval" in + yes) enable_generated_files_in_srcdir=yes ;; + no) enable_generated_files_in_srcdir=no ;; + *) AC_MSG_ERROR([Unknown argument to enable/disable version-specific libs]);; + esac], +[enable_generated_files_in_srcdir=no]) +AC_MSG_RESULT($enable_generated_files_in_srcdir) +AM_CONDITIONAL(GENINSRC, test "$enable_generated_files_in_srcdir" = yes) + + AC_CONFIG_FILES(Makefile) AC_OUTPUT |