Files
rtems/doc/configure.in
Joel Sherrill a4ad948732 Patch rtemsdoc-4.5.0-rc-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
It addresses:
  * .cvsignore (only minor changes to yours, as they were pretty clean,
    most changes result from my mkcvsignore script being overly pedantic
    sorting entries alphabetically.)
  * timing.t handling and time<BSP>_.texi handling in supplements
  * network.t handling in bsp_howto
  * RTEMS_DATE and RTEMS_UPDATE handling in  configure.in. [It actually is
    a hack, as we could apply automake's version.texi handling instead - I
    know think to understand what automake does with it.]
  * avoid using temporary files; Therefore a new tool called bmenu2,
    derived from bemenu, is introduced, which reads a single file from stdin
    and writes to stdio.

  To apply:

    cd rtemsdoc
    patch -p1 < rtemsdoc-4.5.0-rc-3.diff
    cvs rm -f bsp_howto/network.t
    cvs add tools/bmenu/bmenu2.c
    ./bootstrap

  BTW: word-replace now is unused. It could be removed if you like to.
2000-05-01 16:53:13 +00:00

161 lines
3.1 KiB
Plaintext

dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_INIT(project.am)
AM_INIT_AUTOMAKE(rtemsdoc,4.5.0-beta2,no)
RTEMS_VERSION="$VERSION"
AC_SUBST(RTEMS_VERSION)
RTEMS_RELEASE="4.5.0"
AC_SUBST(RTEMS_RELEASE)
RTEMS_UPDATE_DATE="April 26 2000"
AC_SUBST(RTEMS_UPDATE_DATE)
RTEMS_UPDATE_MONTH="April 2000"
AC_SUBST(RTEMS_UPDATE_MONTH)
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"" )
AM_CONDITIONAL(USE_EXP, test x=y )
BMENU='$(top_builddir)/tools/bmenu/bmenu'
AC_SUBST(BMENU)
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_header.html
rtems_footer.html
rtems_support.html
index.html
images/Makefile
common/Makefile
common/setup.texi
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
)