122 # Should we build a JDK without a graphical UI?
123 AC_MSG_CHECKING([headless only])
124 AC_ARG_ENABLE([headless-only], [AS_HELP_STRING([--enable-headless-only],
125 [only build headless (no GUI) support @<:@disabled@:>@])])
126
127 if test "x$enable_headless_only" = "xyes"; then
128 ENABLE_HEADLESS_ONLY="true"
129 AC_MSG_RESULT([yes])
130 elif test "x$enable_headless_only" = "xno"; then
131 ENABLE_HEADLESS_ONLY="false"
132 AC_MSG_RESULT([no])
133 elif test "x$enable_headless_only" = "x"; then
134 ENABLE_HEADLESS_ONLY="false"
135 AC_MSG_RESULT([no])
136 else
137 AC_MSG_ERROR([--enable-headless-only can only take yes or no])
138 fi
139
140 AC_SUBST(ENABLE_HEADLESS_ONLY)
141
142 # Should we build the complete docs, or just a lightweight version?
143 AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs],
144 [build complete documentation @<:@enabled if all tools found@:>@])])
145
146 # Verify dependencies
147 AC_MSG_CHECKING([for graphviz dot])
148 if test "x$DOT" != "x"; then
149 AC_MSG_RESULT([yes])
150 else
151 AC_MSG_RESULT([no, cannot generate full docs])
152 FULL_DOCS_DEP_MISSING=true
153 fi
154
155 AC_MSG_CHECKING([for pandoc])
156 if test "x$PANDOC" != "x"; then
157 AC_MSG_RESULT([yes])
158 else
159 AC_MSG_RESULT([no, cannot generate full docs])
160 FULL_DOCS_DEP_MISSING=true
161 fi
|
122 # Should we build a JDK without a graphical UI?
123 AC_MSG_CHECKING([headless only])
124 AC_ARG_ENABLE([headless-only], [AS_HELP_STRING([--enable-headless-only],
125 [only build headless (no GUI) support @<:@disabled@:>@])])
126
127 if test "x$enable_headless_only" = "xyes"; then
128 ENABLE_HEADLESS_ONLY="true"
129 AC_MSG_RESULT([yes])
130 elif test "x$enable_headless_only" = "xno"; then
131 ENABLE_HEADLESS_ONLY="false"
132 AC_MSG_RESULT([no])
133 elif test "x$enable_headless_only" = "x"; then
134 ENABLE_HEADLESS_ONLY="false"
135 AC_MSG_RESULT([no])
136 else
137 AC_MSG_ERROR([--enable-headless-only can only take yes or no])
138 fi
139
140 AC_SUBST(ENABLE_HEADLESS_ONLY)
141
142 # Should we offer stripped("public") pdbs too ?
143 AC_MSG_CHECKING([stripped pdbs])
144 AC_ARG_ENABLE([stripped-pdbs], [AS_HELP_STRING([--enable-stripped-pdbs],
145 [create (on Windows) stripped pdb files too @<:@disabled@:>@])])
146
147 if test "x$enable_stripped_pdbs" = "xyes"; then
148 ENABLE_STRIPPED_PDBS="true"
149 AC_MSG_RESULT([yes])
150 elif test "x$enable_stripped_pdbs" = "xno"; then
151 ENABLE_STRIPPED_PDBS="false"
152 AC_MSG_RESULT([no])
153 elif test "x$enable_stripped_pdbs" = "x"; then
154 ENABLE_STRIPPED_PDBS="true"
155 AC_MSG_RESULT([no])
156 else
157 AC_MSG_ERROR([--enable-stripped-pdbs can only take yes or no])
158 fi
159
160 AC_SUBST(ENABLE_STRIPPED_PDBS)
161
162
163 # Should we build the complete docs, or just a lightweight version?
164 AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs],
165 [build complete documentation @<:@enabled if all tools found@:>@])])
166
167 # Verify dependencies
168 AC_MSG_CHECKING([for graphviz dot])
169 if test "x$DOT" != "x"; then
170 AC_MSG_RESULT([yes])
171 else
172 AC_MSG_RESULT([no, cannot generate full docs])
173 FULL_DOCS_DEP_MISSING=true
174 fi
175
176 AC_MSG_CHECKING([for pandoc])
177 if test "x$PANDOC" != "x"; then
178 AC_MSG_RESULT([yes])
179 else
180 AC_MSG_RESULT([no, cannot generate full docs])
181 FULL_DOCS_DEP_MISSING=true
182 fi
|