source: rtems/doc/configure.ac @ 24c6364

4.104.114.84.9
Last change on this file since 24c6364 was 24c6364, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 31, 2002 at 12:12:46 AM

2002-07-30 Joel Sherrill <joel@…>

  • configure.ac: Added supplements/arm/Makefile.
  • Property mode set to 100644
File size: 3.4 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.52)
4
5AC_INIT([rtems-doc],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
6AC_CONFIG_SRCDIR([project.am])
7RTEMS_TOP([..])
8AC_CONFIG_AUX_DIR([..])
9
10AM_INIT_AUTOMAKE([no-define foreign 1.6])
11AM_MAINTAINER_MODE
12
13AC_ARG_ENABLE(html,
14[  --disable-html           disable html support ],
15[case $enableval in
16yes) ;;
17no) ;;
18*) AC_MSG_ERROR("invalid value");;
19esac],
20[enable_html="yes"]
21)
22
23AC_ARG_ENABLE(dvi,
24[  --disable-dvi           disable dvi support ],
25[case $enableval in
26yes) ;;
27no) ;;
28*) AC_MSG_ERROR("invalid value");;
29esac],
30[enable_dvi="yes"]
31)
32
33AC_ARG_ENABLE(pdf,
34[  --disable-pdf           disable pdf support ],
35[case $enableval in
36yes) ;;
37no) ;;
38*) AC_MSG_ERROR("invalid value");;
39esac],
40[enable_pdf="yes"]
41)
42
43AC_ARG_ENABLE(ps,
44[  --disable-ps            disable ps support ],
45[case $enableval in
46yes) ;;
47no) ;;
48*) AC_MSG_ERROR("invalid value");;
49esac],
50[enable_ps="yes"]
51)
52
53AC_ARG_ENABLE(papersize,
54[  --enable-papersize=[letter|a4|]    set papersize [default:system defaults]],
55[case $enableval in
56a4) papersize=a4 ;;
57letter) papersize=letter ;;
58yes) papersize= ;;
59no) papersize= ;;
60*) AC_MSG_ERROR([Invalid papersize])
61;;
62esac],
63[papersize=]
64)
65
66pkgdocdir="\$(datadir)/rtems"
67AC_SUBST(pkgdocdir)
68
69htmldir="\$(pkgdocdir)/html"
70AC_SUBST(htmldir)
71
72dnl Checks for programs.
73AC_PROG_LN_S
74
75AC_CHECK_PROGS(PERL,perl)
76
77TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
78AC_SUBST(TEXI2WWW)
79
80AC_CHECK_PROGS(GS,gs)
81AM_CONDITIONAL(GS,test x"$GS" != x"")
82
83AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
84AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
85if test "$enable_pdf" = "yes"; then
86  AC_CHECK_PROGS(EPSTOPDF,epstopdf)
87  AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
88
89  AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
90  AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
91fi
92
93AM_CONDITIONAL(USE_HTML,
94  test "$enable_html" = "yes"  \
95     && test x"PERL" != x"" )
96
97AM_CONDITIONAL(USE_DVI,
98  test "$enable_dvi" = "yes" \
99    && test x"$TEXI2DVI" != x"" )
100
101AM_CONDITIONAL(USE_PS,
102  test "$enable_ps" = "yes" \
103    && test x"$TEXI2DVI" != x"" )
104
105AM_CONDITIONAL(USE_PDF,
106  test "$enable_pdf" = "yes" \
107    && test x"$TEXI2DVI" != x"" \
108    && test x"$TEXI2PDF" != x"" )
109
110case $papersize in
111a4)
112  TEXI2DVI="${TEXI2DVI} --texinfo=@afourpaper"
113  TEXI2PDF="${TEXI2PDF} --texinfo=@afourpaper"
114  DVIPS="dvips -t a4"
115;;
116letter)
117  DVIPS="dvips -t letter"
118  ;;
119*)
120  DVIPS="dvips"
121;;
122esac
123AC_SUBST(DVIPS)
124
125BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
126AC_SUBST(BMENU2)
127
128dnl Checks for libraries.
129
130dnl Checks for header files.
131
132dnl Checks for typedefs, structures, and compiler characteristics.
133
134dnl Checks for library functions.
135
136AC_CONFIG_SUBDIRS(tools)
137
138AC_CONFIG_FILES([Makefile
139rtems_support.html
140index.html
141images/Makefile
142common/Makefile
143FAQ/Makefile
144develenv/Makefile
145user/Makefile
146bsp_howto/Makefile
147started/Makefile
148started/pictures/Makefile
149porting/Makefile
150networking/Makefile
151posix_users/Makefile
152posix1003.1/Makefile
153filesystem/Makefile
154itron3.0/Makefile
155ada_user/Makefile
156started_ada/Makefile
157rtems_gdb/Makefile
158rgdb_specs/Makefile
159relnotes/Makefile
160new_chapters/Makefile
161supplements/Makefile
162supplements/arm/Makefile
163supplements/hppa1_1/Makefile
164supplements/i386/Makefile
165supplements/i960/Makefile
166supplements/m68k/Makefile
167supplements/mips/Makefile
168supplements/mips64orion/Makefile
169supplements/powerpc/Makefile
170supplements/sh/Makefile
171supplements/sparc/Makefile
172supplements/template/Makefile
173gnu_docs/Makefile
174src2html/Makefile
175])
176AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.