OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [configure.ac] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.