Files
rtems/doc/configure.in
Joel Sherrill 110445cba5 Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which splits the current monolithic specs files into a sequence of
subparts.  These can be concatenated togather to make a the whole .spec
file.  This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files.  Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

  It addresses the way *.spec.in get composed inside of the source
  tree.

  Changes:
    * Each spec.in is broken into several files (*.add), one *.add file
      per sub-package.
    * Each Makefile.am composes spec.ins from the *.add files
    * Removal of redundant automake support files.
    * Default value for BuildRoot changed to /tmp/<spec-file-name>
    * %clean stage added to *specs

  Advantages (IMHO).
    * The *.add files are easier to adminstrate and more flexible in
      comparison to the former *.specs.ins.
    * gccnewlib_c_only.spec.in now is composed from the same sources as
      gccnewlib.spec.in (less errors)
    * If using the default BuildRoot --clean now deletes all files that
      were generated while building.

  Notes:
    * rtems.spec.in has not yet been adapted to the scheme used for the
      other *spec.ins
    * Except for cosmetical changes the internals of the  *.spec files
      should not have changed.

  To Apply:
    cvs rm -f scripts/binutils/binutils.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
    cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
    cvs rm -f scripts/gdb/gdb.spec.in
    cvs rm -f scripts/config.sub
    cvs rm -f scripts/config.guess
    cvs rm -f scripts/install-sh
    cvs rm -f scripts/mkinstalldirs
    cvs rm -f scripts/missing

    patch -p1 < rtems-rc-4.5.0-21.diff

    cvs add scripts/*/*.add
    cvs add scripts/*/README
2000-06-10 19:41:09 +00:00

145 lines
2.8 KiB
Plaintext

dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_INIT(project.am)
RTEMS_VERSION=4.5.0-beta3
AM_INIT_AUTOMAKE(rtemsdoc,${RTEMS_VERSION},no)
AM_MAINTAINER_MODE
AC_ARG_ENABLE(html,
[ --disable-html disable html support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_html="yes"]
)
AC_ARG_ENABLE(dvi,
[ --disable-dvi disable dvi support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_dvi="yes"]
)
AC_ARG_ENABLE(pdf,
[ --disable-pdf disable pdf support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_pdf="yes"]
)
AC_ARG_ENABLE(ps,
[ --disable-ps disable ps support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_ps="yes"]
)
htmldir='$(pkgdatadir)/html'
AC_SUBST(htmldir)
dnl Checks for programs.
AC_PROG_LN_S
AC_CHECK_PROGS(PERL,perl)
TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
AC_SUBST(TEXI2WWW)
AC_CHECK_PROGS(GS,gs)
AM_CONDITIONAL(GS,test x"$GS" != x"")
# TEXI2DVI='$(PERL) $(top_srcdir)/tools/texi2www/texi2dvi'
AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
if test "$enable_pdf" = "yes"; then
AC_CHECK_PROGS(EPSTOPDF,epstopdf)
AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
fi
AM_CONDITIONAL(USE_HTML,
test "$enable_html" = "yes" \
&& test x"PERL" != x"" )
AM_CONDITIONAL(USE_DVI,
test "$enable_dvi" = "yes" \
&& test x"$TEXI2DVI" != x"" )
AM_CONDITIONAL(USE_PS,
test "$enable_ps" = "yes" \
&& test x"$TEXI2DVI" != x"" )
AM_CONDITIONAL(USE_PDF,
test "$enable_pdf" = "yes" \
&& test x"$TEXI2DVI" != x"" \
&& test x"$TEXI2PDF" != x"" )
BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
AC_SUBST(BMENU2)
dnl Checks for libraries.
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
AC_CONFIG_SUBDIRS(tools)
AC_OUTPUT(
Makefile
rtems_support.html
index.html
images/Makefile
common/Makefile
FAQ/Makefile
develenv/Makefile
user/Makefile
bsp_howto/Makefile
started/Makefile
started/pictures/Makefile
porting/Makefile
networking/Makefile
posix_users/Makefile
posix1003.1/Makefile
filesystem/Makefile
itron3.0/Makefile
ada_user/Makefile
started_ada/Makefile
rtems_gdb/Makefile
rgdb_specs/Makefile
relnotes/Makefile
new_chapters/Makefile
supplements/Makefile
supplements/hppa1_1/Makefile
supplements/i386/Makefile
supplements/i960/Makefile
supplements/m68k/Makefile
supplements/mips64orion/Makefile
supplements/powerpc/Makefile
supplements/sh/Makefile
supplements/sparc/Makefile
supplements/template/Makefile
gnu_docs/Makefile
src2html/Makefile
)