source: rtems/doc/configure.in @ 5dd28ac7

4.104.114.84.95
Last change on this file since 5dd28ac7 was 5dd28ac7, checked in by Joel Sherrill <joel.sherrill@…>, on 01/17/02 at 23:16:48

2001-01-17 Joel Sherrill <joel@…>

  • configure.in: Changed the version to eng-20010816b.
  • Property mode set to 100644
File size: 3.2 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=eng-20010816b
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
52AC_ARG_ENABLE(papersize,
53[  --enable-papersize=[letter|a4|]    set papersize [default:system defaults]],
54[case $enableval in
55a4) papersize=a4 ;;
56letter) papersize=letter ;;
57yes) papersize= ;;
58no) papersize= ;;
59*) AC_MSG_ERROR([Invalid papersize])
60;;
61esac],
62[papersize=]
63)
64
65htmldir='$(pkgdatadir)/html'
66AC_SUBST(htmldir)
67
68dnl Checks for programs.
69AC_PROG_LN_S
70
71AC_CHECK_PROGS(PERL,perl)
72
73TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
74AC_SUBST(TEXI2WWW)
75
76AC_CHECK_PROGS(GS,gs)
77AM_CONDITIONAL(GS,test x"$GS" != x"")
78
79AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
80AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
81if test "$enable_pdf" = "yes"; then
82  AC_CHECK_PROGS(EPSTOPDF,epstopdf)
83  AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
84
85  AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
86  AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
87fi
88
89AM_CONDITIONAL(USE_HTML,
90  test "$enable_html" = "yes"  \
91     && test x"PERL" != x"" )
92
93AM_CONDITIONAL(USE_DVI,
94  test "$enable_dvi" = "yes" \
95    && test x"$TEXI2DVI" != x"" )
96
97AM_CONDITIONAL(USE_PS,
98  test "$enable_ps" = "yes" \
99    && test x"$TEXI2DVI" != x"" )
100
101AM_CONDITIONAL(USE_PDF,
102  test "$enable_pdf" = "yes" \
103    && test x"$TEXI2DVI" != x"" \
104    && test x"$TEXI2PDF" != x"" )
105
106case $papersize in
107a4)
108  TEXI2DVI="${TEXI2DVI} --texinfo=@afourpaper"
109  TEXI2PDF="${TEXI2PDF} --texinfo=@afourpaper"
110  DVIPS="dvips -t a4"
111;;
112letter)
113  DVIPS="dvips -t letter"
114  ;;
115*)
116  DVIPS="dvips"
117;;
118esac
119AC_SUBST(DVIPS)
120
121BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
122AC_SUBST(BMENU2)
123
124dnl Checks for libraries.
125
126dnl Checks for header files.
127
128dnl Checks for typedefs, structures, and compiler characteristics.
129
130dnl Checks for library functions.
131
132AC_CONFIG_SUBDIRS(tools)
133
134AC_OUTPUT(
135Makefile
136rtems_support.html
137index.html
138images/Makefile
139common/Makefile
140FAQ/Makefile
141develenv/Makefile
142user/Makefile
143bsp_howto/Makefile
144started/Makefile
145started/pictures/Makefile
146porting/Makefile
147networking/Makefile
148posix_users/Makefile
149posix1003.1/Makefile
150filesystem/Makefile
151itron3.0/Makefile
152ada_user/Makefile
153started_ada/Makefile
154rtems_gdb/Makefile
155rgdb_specs/Makefile
156relnotes/Makefile
157new_chapters/Makefile
158supplements/Makefile
159supplements/hppa1_1/Makefile
160supplements/i386/Makefile
161supplements/i960/Makefile
162supplements/m68k/Makefile
163supplements/mips64orion/Makefile
164supplements/powerpc/Makefile
165supplements/sh/Makefile
166supplements/sparc/Makefile
167supplements/template/Makefile
168gnu_docs/Makefile
169src2html/Makefile
170)
Note: See TracBrowser for help on using the repository browser.