source: rtems/doc/configure.ac @ c7ddb172

4.104.114.84.95
Last change on this file since c7ddb172 was 4b1f924, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/22/03 at 05:39:11

2003-01-22 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require autoconf-2.57. Require automake-1.7.2. Remove started/pictures/Makefile.
  • started/Makefile.am: Merge-in pictures/Makefile.am
  • started/pictures/Makefile.am: Remove.
  • 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.57)
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.7.2])
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
141FAQ/Makefile
142develenv/Makefile
143user/Makefile
144bsp_howto/Makefile
145started/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/arm/Makefile
160supplements/hppa1_1/Makefile
161supplements/i386/Makefile
162supplements/i960/Makefile
163supplements/m68k/Makefile
164supplements/mips/Makefile
165supplements/mips64orion/Makefile
166supplements/powerpc/Makefile
167supplements/sh/Makefile
168supplements/sparc/Makefile
169supplements/template/Makefile
170gnu_docs/Makefile
171src2html/Makefile
172])
173AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.