source: rtems/doc/configure.ac @ b2145d92

4.104.114.84.95
Last change on this file since b2145d92 was b40b8808, checked in by Joel Sherrill <joel.sherrill@…>, on 02/14/02 at 22:16:25

2001-02-14 Joel Sherrill <joel@…>

  • configure.ac: New mips supplement.
  • 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
6AC_CONFIG_SRCDIR([project.am])
7AC_CONFIG_AUX_DIR([.])
8
9RTEMS_VERSION=Snapshot
10
11AM_INIT_AUTOMAKE(rtemsdoc,${RTEMS_VERSION},no)
12AM_MAINTAINER_MODE
13
14AC_ARG_ENABLE(html,
15[  --disable-html           disable html support ],
16[case $enableval in
17yes) ;;
18no) ;;
19*) AC_MSG_ERROR("invalid value");;
20esac],
21[enable_html="yes"]
22)
23
24AC_ARG_ENABLE(dvi,
25[  --disable-dvi           disable dvi support ],
26[case $enableval in
27yes) ;;
28no) ;;
29*) AC_MSG_ERROR("invalid value");;
30esac],
31[enable_dvi="yes"]
32)
33
34AC_ARG_ENABLE(pdf,
35[  --disable-pdf           disable pdf support ],
36[case $enableval in
37yes) ;;
38no) ;;
39*) AC_MSG_ERROR("invalid value");;
40esac],
41[enable_pdf="yes"]
42)
43
44AC_ARG_ENABLE(ps,
45[  --disable-ps            disable ps support ],
46[case $enableval in
47yes) ;;
48no) ;;
49*) AC_MSG_ERROR("invalid value");;
50esac],
51[enable_ps="yes"]
52)
53
54AC_ARG_ENABLE(papersize,
55[  --enable-papersize=[letter|a4|]    set papersize [default:system defaults]],
56[case $enableval in
57a4) papersize=a4 ;;
58letter) papersize=letter ;;
59yes) papersize= ;;
60no) papersize= ;;
61*) AC_MSG_ERROR([Invalid papersize])
62;;
63esac],
64[papersize=]
65)
66
67pkgdocdir="\$(datadir)/rtems"
68AC_SUBST(pkgdocdir)
69
70htmldir="\$(pkgdocdir)/html"
71AC_SUBST(htmldir)
72
73dnl Checks for programs.
74AC_PROG_LN_S
75
76AC_CHECK_PROGS(PERL,perl)
77
78TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
79AC_SUBST(TEXI2WWW)
80
81AC_CHECK_PROGS(GS,gs)
82AM_CONDITIONAL(GS,test x"$GS" != x"")
83
84AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
85AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
86if test "$enable_pdf" = "yes"; then
87  AC_CHECK_PROGS(EPSTOPDF,epstopdf)
88  AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
89
90  AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
91  AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
92fi
93
94AM_CONDITIONAL(USE_HTML,
95  test "$enable_html" = "yes"  \
96     && test x"PERL" != x"" )
97
98AM_CONDITIONAL(USE_DVI,
99  test "$enable_dvi" = "yes" \
100    && test x"$TEXI2DVI" != x"" )
101
102AM_CONDITIONAL(USE_PS,
103  test "$enable_ps" = "yes" \
104    && test x"$TEXI2DVI" != x"" )
105
106AM_CONDITIONAL(USE_PDF,
107  test "$enable_pdf" = "yes" \
108    && test x"$TEXI2DVI" != x"" \
109    && test x"$TEXI2PDF" != x"" )
110
111case $papersize in
112a4)
113  TEXI2DVI="${TEXI2DVI} --texinfo=@afourpaper"
114  TEXI2PDF="${TEXI2PDF} --texinfo=@afourpaper"
115  DVIPS="dvips -t a4"
116;;
117letter)
118  DVIPS="dvips -t letter"
119  ;;
120*)
121  DVIPS="dvips"
122;;
123esac
124AC_SUBST(DVIPS)
125
126BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
127AC_SUBST(BMENU2)
128
129dnl Checks for libraries.
130
131dnl Checks for header files.
132
133dnl Checks for typedefs, structures, and compiler characteristics.
134
135dnl Checks for library functions.
136
137AC_CONFIG_SUBDIRS(tools)
138
139AC_CONFIG_FILES([Makefile
140rtems_support.html
141index.html
142images/Makefile
143common/Makefile
144FAQ/Makefile
145develenv/Makefile
146user/Makefile
147bsp_howto/Makefile
148started/Makefile
149started/pictures/Makefile
150porting/Makefile
151networking/Makefile
152posix_users/Makefile
153posix1003.1/Makefile
154filesystem/Makefile
155itron3.0/Makefile
156ada_user/Makefile
157started_ada/Makefile
158rtems_gdb/Makefile
159rgdb_specs/Makefile
160relnotes/Makefile
161new_chapters/Makefile
162supplements/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.