source: rtems/doc/configure.in @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was 110445c, checked in by Joel Sherrill <joel.sherrill@…>, on 06/10/00 at 19:41:09

Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@…>
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

  • Property mode set to 100644
File size: 2.8 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.13)
4
5AC_INIT(project.am)
6
7RTEMS_VERSION=4.5.0-beta3
8
9AM_INIT_AUTOMAKE(rtemsdoc,${RTEMS_VERSION},no)
10AM_MAINTAINER_MODE
11
12AC_ARG_ENABLE(html,
13[  --disable-html           disable html support ],
14[case $enableval in
15yes) ;;
16no) ;;
17*) AC_MSG_ERROR("invalid value");;
18esac],
19[enable_html="yes"]
20)
21
22AC_ARG_ENABLE(dvi,
23[  --disable-dvi           disable dvi support ],
24[case $enableval in
25yes) ;;
26no) ;;
27*) AC_MSG_ERROR("invalid value");;
28esac],
29[enable_dvi="yes"]
30)
31
32AC_ARG_ENABLE(pdf,
33[  --disable-pdf           disable pdf support ],
34[case $enableval in
35yes) ;;
36no) ;;
37*) AC_MSG_ERROR("invalid value");;
38esac],
39[enable_pdf="yes"]
40)
41
42AC_ARG_ENABLE(ps,
43[  --disable-ps            disable ps support ],
44[case $enableval in
45yes) ;;
46no) ;;
47*) AC_MSG_ERROR("invalid value");;
48esac],
49[enable_ps="yes"]
50)
51
52htmldir='$(pkgdatadir)/html'
53AC_SUBST(htmldir)
54
55dnl Checks for programs.
56AC_PROG_LN_S
57
58AC_CHECK_PROGS(PERL,perl)
59
60TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
61AC_SUBST(TEXI2WWW)
62
63AC_CHECK_PROGS(GS,gs)
64AM_CONDITIONAL(GS,test x"$GS" != x"")
65
66# TEXI2DVI='$(PERL) $(top_srcdir)/tools/texi2www/texi2dvi'
67AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
68AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
69
70if test "$enable_pdf" = "yes"; then
71  AC_CHECK_PROGS(EPSTOPDF,epstopdf)
72  AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
73
74  AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
75  AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
76fi
77
78AM_CONDITIONAL(USE_HTML,
79  test "$enable_html" = "yes"  \
80     && test x"PERL" != x"" )
81
82AM_CONDITIONAL(USE_DVI,
83  test "$enable_dvi" = "yes" \
84    && test x"$TEXI2DVI" != x"" )
85
86AM_CONDITIONAL(USE_PS,
87  test "$enable_ps" = "yes" \
88    && test x"$TEXI2DVI" != x"" )
89
90AM_CONDITIONAL(USE_PDF,
91  test "$enable_pdf" = "yes" \
92    && test x"$TEXI2DVI" != x"" \
93    && test x"$TEXI2PDF" != x"" )
94
95BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
96AC_SUBST(BMENU2)
97
98dnl Checks for libraries.
99
100dnl Checks for header files.
101
102dnl Checks for typedefs, structures, and compiler characteristics.
103
104dnl Checks for library functions.
105
106AC_CONFIG_SUBDIRS(tools)
107
108AC_OUTPUT(
109Makefile
110rtems_support.html
111index.html
112images/Makefile
113common/Makefile
114FAQ/Makefile
115develenv/Makefile
116user/Makefile
117bsp_howto/Makefile
118started/Makefile
119started/pictures/Makefile
120porting/Makefile
121networking/Makefile
122posix_users/Makefile
123posix1003.1/Makefile
124filesystem/Makefile
125itron3.0/Makefile
126ada_user/Makefile
127started_ada/Makefile
128rtems_gdb/Makefile
129rgdb_specs/Makefile
130relnotes/Makefile
131new_chapters/Makefile
132supplements/Makefile
133supplements/hppa1_1/Makefile
134supplements/i386/Makefile
135supplements/i960/Makefile
136supplements/m68k/Makefile
137supplements/mips64orion/Makefile
138supplements/powerpc/Makefile
139supplements/sh/Makefile
140supplements/sparc/Makefile
141supplements/template/Makefile
142gnu_docs/Makefile
143src2html/Makefile
144)
Note: See TracBrowser for help on using the repository browser.