Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 497 lines (434 sloc) 15.038 kb
84adefa The R13B03 release.
Erlang/OTP authored
1 dnl Process this file with autoconf to produce a configure script.
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
2
3 dnl %CopyrightBegin%
4 dnl
03d322c @sverker erts: Deprecate halfword emulator
sverker authored
5 dnl Copyright Ericsson AB 1998-2014. All Rights Reserved.
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
6 dnl
7 dnl The contents of this file are subject to the Erlang Public License,
8 dnl Version 1.1, (the "License"); you may not use this file except in
9 dnl compliance with the License. You should have received a copy of the
10 dnl Erlang Public License along with this software. If not, it can be
11 dnl retrieved online at http://www.erlang.org/.
12 dnl
13 dnl Software distributed under the License is distributed on an "AS IS"
14 dnl basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15 dnl the License for the specific language governing rights and limitations
16 dnl under the License.
17 dnl
18 dnl %CopyrightEnd%
19
84adefa The R13B03 release.
Erlang/OTP authored
20 AC_PREREQ(2.8)dnl
21
22 AC_INIT()
23
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
24 LM_PRECIOUS_VARS
25
84adefa The R13B03 release.
Erlang/OTP authored
26 default_cache_file=./config.cache
27
28 if test "x$no_recursion" != "xyes" -a "x$OVERRIDE_CONFIG_CACHE" = "x"; then
29 # The no_recursion variable is not documented, but the only
30 # action we take on it is disabling caching which is safe!
31 if test "x$cache_file" != "x$default_cache_file"; then
32 echo "Ignoring the --cache-file argument since it can cause the system to be erroneously configured"
33 fi
34 echo "Disabling caching"
35 if test -f $cache_file; then
36 echo "Removing cache file $cache_file"
37 rm -f $cache_file
38 fi
39 cache_file=/dev/null
40 fi
41
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
42 case "X$ERL_TOP" in
43 X)
44 ;;
45 X/*)
46 test -f $ERL_TOP/erts/emulator/beam/beam_emu.c || {
47 AC_MSG_ERROR([Invalid \$ERL_TOP])
48 }
49 srcdir="$ERL_TOP";;
50 *)
51 AC_MSG_ERROR([\$ERL_TOP needs to be absolute]);;
52 esac
53
84adefa The R13B03 release.
Erlang/OTP authored
54 dnl How to set srcdir absolute is taken from the GNU Emacs distribution
55 #### Make srcdir absolute, if it isn't already. It's important to
56 #### avoid running the path through pwd unnecessary, since pwd can
57 #### give you automounter prefixes, which can go away.
58 case "${srcdir}" in
59 /* ) ;;
60 . )
61 ## We may be able to use the $PWD environment variable to make this
62 ## absolute. But sometimes PWD is inaccurate.
63 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
64 CDPATH=
65 if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ;
66 then
67 srcdir="$PWD"
68 else
69 srcdir="`(cd ${srcdir}; pwd)`"
70 fi
71 ;;
72 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
73 esac
74
75 #
76 # Now srcdir is absolute and also the top of Erlang distribution, ERL_TOP.
77 #
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
78 test "X$ERL_TOP" != "X" || ERL_TOP="$srcdir"
84adefa The R13B03 release.
Erlang/OTP authored
79 AC_SUBST(ERL_TOP)
80
81 dnl
82 dnl Aux programs are found in erts/autoconf
83 dnl
84 AC_CONFIG_AUX_DIR(${srcdir}/erts/autoconf)
85
86 dnl
87 dnl Figure out what we are running on. And in violation of autoconf
88 dnl style assume that $host is also what we are building for. I would
89 dnl like to get cross compiling working, since we actually have
90 dnl systems we cross compile for!
91 dnl
92
93 if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
94 AC_CANONICAL_HOST
95 fi
96
97 TARGET=$host
98 AC_SUBST(TARGET)
99
af62952 @rickard-green Fix SSL build failure when building in minimal source tree
rickard-green authored
100 if test "$cross_compiling" = "yes"; then
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
101 CROSS_COMPILING=yes
102 else
103 CROSS_COMPILING=no
104 fi
105 AC_SUBST(CROSS_COMPILING)
106
107
108 AC_ARG_ENABLE(bootstrap-only,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
109 AS_HELP_STRING([--enable-bootstrap-only],
110 [enable bootstrap only configuration]),
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
111 [ if test "X$enableval" = "Xyes"; then
112 BOOTSTRAP_ONLY=yes
113 else
114 BOOTSTRAP_ONLY=no
115 fi
116 ],
117 BOOTSTRAP_ONLY=no)
118
119 AC_SUBST(BOOTSTRAP_ONLY)
120
121 if test $CROSS_COMPILING = yes -a $BOOTSTRAP_ONLY = yes; then
122 AC_MSG_ERROR([Cannot both cross compile and build a bootstrap system])
123 fi
84adefa The R13B03 release.
Erlang/OTP authored
124
125 dnl Checks for programs.
126
127 AC_PROG_CC
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
128 AC_PROG_CXX
129 AC_CHECK_TOOL(LD, [ld])
84adefa The R13B03 release.
Erlang/OTP authored
130
131 #
132 # We need GNU make, complain if we can't find it
133 #
134 AC_MSG_CHECKING(for GNU make)
135 # If there is a Makefile created we don't want make to start making, run
136 # in a subdirectory and -f /dev/null
137 MAKE_PROG=x
138 if test X"$CLEARCASE_MAKE_COMPAT" = X"gnu" -a X"$CLEARCASE_ROOT" != X"" ; then
139 eval clearmake -version 2>&1 | grep clearmake > /dev/null 2>&1
140 case $? in
141 0) MAKE_PROG="clearmake -V";;
142 *);;
143 esac
144 fi
145 if test X"$MAKE_PROG" = X"x"; then
146 mkdir conftestmake
147 if test -d conftestmake; then
148 cd conftestmake
149 for m in make gmake ggmake; do
150 eval $m --version -f /dev/null 2>&1 | grep GNU > /dev/null 2>&1
151 case $? in
152 0) MAKE_PROG=$m ; break ;;
153 *) ;;
154 esac
155 done
156 cd ..
157 else
158 AC_MSG_ERROR(could not create subdirectory)
159 fi
160 fi
161 rm -rf conftestmake
162 case $MAKE_PROG in
163 x) AC_MSG_RESULT(no)
164 AC_MSG_ERROR(GNU make is required!)
165 ;;
166 *) AC_MSG_RESULT(yes ($MAKE_PROG))
167 AC_SUBST(MAKE_PROG)
168 ;;
169 esac
170
171 AC_PROG_INSTALL
172 if test X"${INSTALL}" = "X${ac_aux_dir}/install-sh -c" && test -f /usr/ucb/install ; then
173 case $host_os in
174 osf*) ;;
175 *) INSTALL="/usr/ucb/install -c" ;;
176 esac
177 fi
178
179 AC_PROG_LN_S
180 AC_PROG_RANLIB
181
182 #
3fd4e3e @rickard-green Misc adjustments of OTP version
rickard-green authored
183 # Get erts version from erts/vsn.mk
84adefa The R13B03 release.
Erlang/OTP authored
184 #
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
185 AC_MSG_CHECKING([ERTS version])
d041cab @rickard-green OTP-8512 Add Erlangish MarkDown to Erlangish XML support
rickard-green authored
186 [ERTS_VSN=`sed -n "s/^VSN[ ]*=[ ]*\(.*\)/\1/p" < $ERL_TOP/erts/vsn.mk`]
187 AC_MSG_RESULT([$ERTS_VSN])
188 AC_SUBST(ERTS_VSN)
84adefa The R13B03 release.
Erlang/OTP authored
189
3fd4e3e @rickard-green Misc adjustments of OTP version
rickard-green authored
190 #
191 # Get OTP release and OTP version from $ERL_TOP/OTP_VERSION
192 #
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
193 AC_MSG_CHECKING([OTP release])
3fd4e3e @rickard-green Misc adjustments of OTP version
rickard-green authored
194 [OTP_REL=`cat $ERL_TOP/OTP_VERSION | sed "s|\([0-9]*\).*|\1|"`]
d041cab @rickard-green OTP-8512 Add Erlangish MarkDown to Erlangish XML support
rickard-green authored
195 AC_MSG_RESULT([$OTP_REL])
196 AC_SUBST(OTP_REL)
84adefa The R13B03 release.
Erlang/OTP authored
197
3fd4e3e @rickard-green Misc adjustments of OTP version
rickard-green authored
198 AC_MSG_CHECKING([OTP version])
199 [OTP_VSN=`cat $ERL_TOP/OTP_VERSION`]
200 AC_MSG_RESULT([$OTP_VSN])
201 AC_SUBST(OTP_VSN)
202
84adefa The R13B03 release.
Erlang/OTP authored
203 AC_ARG_ENABLE(threads,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
204 AS_HELP_STRING([--enable-threads], [enable async thread support])
205 AS_HELP_STRING([--disable-threads], [disable async thread support]))
84adefa The R13B03 release.
Erlang/OTP authored
206
c1c03ae @vinoski initial support for dirty schedulers and dirty NIFs
vinoski authored
207 AC_ARG_ENABLE(dirty-schedulers,
208 AS_HELP_STRING([--enable-dirty-schedulers], [enable dirty scheduler support]))
209
fb94cd9 @bufflig Store pointers to heap data in 32-bit words
bufflig authored
210 AC_ARG_ENABLE(halfword-emulator,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
211 AS_HELP_STRING([--enable-halfword-emulator],
03d322c @sverker erts: Deprecate halfword emulator
sverker authored
212 [enable halfword emulator (only for 64bit builds). Note: Halfword emulator is marked as deprecated and scheduled for removal in future major release.]))
fb94cd9 @bufflig Store pointers to heap data in 32-bit words
bufflig authored
213
84adefa The R13B03 release.
Erlang/OTP authored
214 AC_ARG_ENABLE(smp-support,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
215 AS_HELP_STRING([--enable-smp-support], [enable smp support])
216 AS_HELP_STRING([--disable-smp-support], [disable smp support]))
84adefa The R13B03 release.
Erlang/OTP authored
217
218 AC_ARG_WITH(termcap,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
219 AS_HELP_STRING([--with-termcap], [use termcap (default)])
220 AS_HELP_STRING([--without-termcap],
221 [do not use any termcap libraries (ncurses,curses,termcap,termlib)]))
84adefa The R13B03 release.
Erlang/OTP authored
222
223 AC_ARG_ENABLE(kernel-poll,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
224 AS_HELP_STRING([--enable-kernel-poll], [enable kernel poll support])
225 AS_HELP_STRING([--disable-kernel-poll], [disable kernel poll support]))
226
227 AC_ARG_ENABLE(sctp,
228 AS_HELP_STRING([--enable-sctp], [enable sctp support])
229 AS_HELP_STRING([--disable-sctp], [disable sctp support]))
84adefa The R13B03 release.
Erlang/OTP authored
230
231 AC_ARG_ENABLE(hipe,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
232 AS_HELP_STRING([--enable-hipe], [enable hipe support])
233 AS_HELP_STRING([--disable-hipe], [disable hipe support]))
234
235 AC_ARG_ENABLE(native-libs,
236 AS_HELP_STRING([--enable-native-libs],
237 [compile Erlang libraries to native code]))
238
cca350e @bufflig Change to more specific configure options for dtrace
bufflig authored
239 AC_ARG_WITH(dynamic-trace,
240 AS_HELP_STRING([--with-dynamic-trace={dtrace|systemtap}],
241 [specify use of dynamic trace framework, dtrace or systemtap])
242 AS_HELP_STRING([--without-dynamic-trace],
243 [don't enable any dynamic tracing (default)]))
244 AC_ARG_ENABLE(vm-probes,
245 AS_HELP_STRING([--enable-vm-probes],
246 [add dynamic trace probes to the Beam VM (only possible if --with-dynamic-trace is enabled, and then default)]))
1b78e85 @rickard-green OTP-8323 Cross compilation improvements and other build system
rickard-green authored
247 AC_ARG_WITH(javac,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
248 AS_HELP_STRING([--with-javac=JAVAC], [specify Java compiler to use])
249 AS_HELP_STRING([--with-javac], [use a Java compiler if found (default)])
250 AS_HELP_STRING([--without-javac], [don't use any Java compiler]))
84adefa The R13B03 release.
Erlang/OTP authored
251
252 AC_ARG_ENABLE(megaco_flex_scanner_lineno,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
253 AS_HELP_STRING([--disable-megaco-flex-scanner-lineno],
254 [disable megaco flex scanner lineno]))
84adefa The R13B03 release.
Erlang/OTP authored
255
256 AC_ARG_ENABLE(megaco_reentrant_flex_scanner,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
257 AS_HELP_STRING([--disable-megaco-reentrant-flex-scanner],
258 [disable reentrant megaco flex scanner]))
84adefa The R13B03 release.
Erlang/OTP authored
259
260 AC_ARG_WITH(ssl,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
261 AS_HELP_STRING([--with-ssl=PATH], [specify location of OpenSSL include and lib])
262 AS_HELP_STRING([--with-ssl], [use SSL (default)])
263 AS_HELP_STRING([--without-ssl], [don't use SSL]))
84adefa The R13B03 release.
Erlang/OTP authored
264
df5ecc7 @sverker Add configure option --with-ssl-incl=PATH
sverker authored
265 AC_ARG_WITH(ssl-incl,
266 AS_HELP_STRING([--with-ssl-incl=PATH],
267 [location of OpenSSL include dir, if different than specified by --with-ssl=PATH]))
268
23aa4ad @sverker erts,crypto: Add configure option --with-ssl-rpath
sverker authored
269 AC_ARG_WITH(ssl-rpath,
270 AS_HELP_STRING([--with-ssl-rpath=yes|no|PATHS],
271 [runtime library path for OpenSSL. Default is 'yes', which equates to a
272 number of standard locations. If 'no', then no runtime
273 library paths wil be used. Anything else should be a
274 comma separated list of paths.]))
275
84adefa The R13B03 release.
Erlang/OTP authored
276 AC_ARG_ENABLE(dynamic-ssl-lib,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
277 AS_HELP_STRING([--disable-dynamic-ssl-lib],
278 [disable using dynamic openssl libraries]))
84adefa The R13B03 release.
Erlang/OTP authored
279
9f57d8c @bjorng configure: Prefer the system's zlib over own our zlib source
bjorng authored
280 AC_ARG_ENABLE(builtin-zlib,
281 AS_HELP_STRING([--enable-builtin-zlib],
282 [force use of our own built-in zlib]))
84adefa The R13B03 release.
Erlang/OTP authored
283
4085125 @rickard-green OTP-8449 Documentation improvements.
rickard-green authored
284 dnl This functionality has been lost along the way... :(
285 dnl It could perhaps be nice to reintroduce some day; therefore,
286 dnl it is not removed just commented out.
287 dnl
288 dnl #
289 dnl # Set Erlang man page directory
290 dnl #
291 dnl AC_ARG_ENABLE(erlang-mandir,
292 dnl [ --disable-erlang-mandir do not install Erlang man pages in a private directory],
293 dnl [ case "$enableval" in
294 dnl no) erl_mandir=$mandir ;;
295 dnl *) erl_mandir='$(erlang_libdir)/man' ;;
296 dnl esac ], erl_mandir='$(erlang_libdir)/man')
297 dnl AC_SUBST(erl_mandir)
84adefa The R13B03 release.
Erlang/OTP authored
298
299 AC_ARG_ENABLE(darwin-universal,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
300 AS_HELP_STRING([--enable-darwin-universal],
301 [build universal binaries on darwin i386]),
84adefa The R13B03 release.
Erlang/OTP authored
302 [ case "$enableval" in
303 no) enable_darwin_universal=no ;;
304 *) enable_darwin_univeral=yes ;;
305 esac
306 ],enable_darwin_universal=no)
307
308
309 AC_ARG_ENABLE(darwin-64bit,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
310 AS_HELP_STRING([--enable-darwin-64bit], [build 64bit binaries on darwin]),
84adefa The R13B03 release.
Erlang/OTP authored
311 [ case "$enableval" in
312 no) enable_darwin_64bit=no ;;
313 *) enable_darwin_64bit=yes ;;
314 esac
315 ],enable_darwin_64bit=no)
316
317 AC_ARG_ENABLE(m64-build,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
318 AS_HELP_STRING([--enable-m64-build],
319 [build 64bit binaries using the -m64 flag to (g)cc]),
84adefa The R13B03 release.
Erlang/OTP authored
320 [ case "$enableval" in
321 no) enable_m64_build=no ;;
322 *) enable_m64_build=yes ;;
323 esac
324 ],enable_m64_build=no)
325
cad901a @bufflig Teach configure --enable-m32-build for forcing a 32-bit build
bufflig authored
326 AC_ARG_ENABLE(m32-build,
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
327 AS_HELP_STRING([--enable-m32-build],
328 [build 32bit binaries using the -m32 flag to (g)cc]),
cad901a @bufflig Teach configure --enable-m32-build for forcing a 32-bit build
bufflig authored
329 [ case "$enableval" in
330 no) enable_m32_build=no ;;
331 *)
332 if test X${enable_darwin_64bit} = Xyes -o X${enable_m64_build} = Xyes;
333 then
334 AC_MSG_ERROR([(--enable-darwin-64bit or --enable-m64-build) and --enable-m32-build are mutually exclusive]) ;
335 fi ;
336 enable_m32_build=yes ;;
337 esac
338 ],enable_m32_build=no)
339
7aa711e @rickard-green Cleanup configure help texts
rickard-green authored
340 AC_ARG_WITH(libatomic_ops,
341 AS_HELP_STRING([--with-libatomic_ops=PATH],
342 [specify and prefer usage of libatomic_ops in the ethread library]))
343
84adefa The R13B03 release.
Erlang/OTP authored
344 dnl OK, we might have darwin switches off different kinds, lets
345 dnl check it all before continuing.
346 TMPSYS=`uname -s`-`uname -m`
347 if test X${enable_darwin_universal} = Xyes; then
348 if test X${enable_darwin_64bit} = Xyes; then
349 AC_MSG_ERROR([--enable-darwin-universal and --enable-darwin-64bit mutually exclusive])
350 fi
351 enable_hipe=no
352 CFLAGS="-arch i386 -arch ppc $CFLAGS"
353 export CFLAGS
354 LDFLAGS="-arch i386 -arch ppc $LDFLAGS"
355 export LDFLAGS
356 fi
357 if test X${enable_darwin_64bit} = Xyes; then
358 case "$TMPSYS" in
359 Darwin-i386|Darwin-x86_64)
360 ;;
361 Darwin*)
362 AC_MSG_ERROR([--enable-darwin-64bit only supported on x86 hosts])
363 ;;
364 *)
365 AC_MSG_ERROR([--enable-darwin-64bit only supported on Darwin])
366 ;;
367 esac
368 enable_hipe=no
369 CFLAGS="-m64 $CFLAGS"
370 export CFLAGS
371 LDFLAGS="-m64 $LDFLAGS"
372 export LDFLAGS
373 elif test X"$TMPSYS" '=' X"Darwin-i386"; then
374 CFLAGS="-m32 $CFLAGS"
375 export CFLAGS
376 LDFLAGS="-m32 $LDFLAGS"
377 export LDFLAGS
378 fi
379
cc894a7 @tuncer Implement --enable-sanitizers[=sanitizers]
tuncer authored
380 m4_define(DEFAULT_SANITIZERS, [address,undefined])
381 AC_ARG_ENABLE(sanitizers,
382 AS_HELP_STRING(
383 [--enable-sanitizers@<:@=comma-separated list of sanitizers@:>@],
384 [Default=DEFAULT_SANITIZERS]))
385
fed9a84 @nox Implement ./otp_build configure --enable-silent-rules
nox authored
386 AC_ARG_ENABLE([silent-rules], [dnl
387 AS_HELP_STRING(
388 [--enable-silent-rules],
389 [less verbose build output (undo: "make V=1")])
390 AS_HELP_STRING(
391 [--disable-silent-rules],
392 [verbose build output (undo: "make V=0")])dnl
393 ])
394
b4ce42f @tuncer Default enable silent rules
tuncer authored
395 DEFAULT_VERBOSITY=0
396 if test X${enable_silent_rules} = Xno; then
397 DEFAULT_VERBOSITY=1
fed9a84 @nox Implement ./otp_build configure --enable-silent-rules
nox authored
398 fi
399 AC_SUBST(DEFAULT_VERBOSITY)
400
84adefa The R13B03 release.
Erlang/OTP authored
401 if test X${enable_m64_build} = Xyes; then
402 enable_hipe=no
403 CFLAGS="-m64 $CFLAGS"
404 export CFLAGS
405 LDFLAGS="-m64 $LDFLAGS"
406 export LDFLAGS
407 fi
cad901a @bufflig Teach configure --enable-m32-build for forcing a 32-bit build
bufflig authored
408 if test X${enable_m32_build} = Xyes; then
409 enable_hipe=no
410 CFLAGS="-m32 $CFLAGS"
411 export CFLAGS
412 LDFLAGS="-m32 $LDFLAGS"
413 export LDFLAGS
414 fi
84adefa The R13B03 release.
Erlang/OTP authored
415
d28b000 @bufflig Make hipe hipe-compiled w/ --enable-native-libs
bufflig authored
416 NATIVE_LIBS_ENABLED=
417 if test X${enable_native_libs} = Xyes -a X${enable_hipe} != Xno; then
418 NATIVE_LIBS_ENABLED=yes
419 fi
420 AC_SUBST(NATIVE_LIBS_ENABLED)
421
0ed2039 @garazdawi Add configure option --without-$app
garazdawi authored
422
423 rm -f $ERL_TOP/lib/SKIP-APPLICATIONS
424 for app in `cd lib && ls -d *`; do
4b00470 @garazdawi Fix sh compatability issue
garazdawi authored
425 var=`eval echo \\$with_$app`
2882032 @tuncer configure.in: fix test == bashism
tuncer authored
426 if test X${var} = Xno; then
0ed2039 @garazdawi Add configure option --without-$app
garazdawi authored
427 echo "$app" >> $ERL_TOP/lib/SKIP-APPLICATIONS
428 fi
429 done
430
84adefa The R13B03 release.
Erlang/OTP authored
431 export ERL_TOP
432 AC_CONFIG_SUBDIRS(lib erts)
433
fed9a84 @nox Implement ./otp_build configure --enable-silent-rules
nox authored
434 AC_CONFIG_FILES([Makefile make/output.mk])
d041cab @rickard-green OTP-8512 Add Erlangish MarkDown to Erlangish XML support
rickard-green authored
435 AC_CONFIG_FILES([make/emd2exml], [chmod +x make/emd2exml])
436
437 AC_OUTPUT
84adefa The R13B03 release.
Erlang/OTP authored
438
439 pattern="lib/*/SKIP"
440 files=`echo $pattern`
0ed2039 @garazdawi Add configure option --without-$app
garazdawi authored
441 if test "$files" != "$pattern" || test -f $ERL_TOP/lib/SKIP-APPLICATIONS; then
84adefa The R13B03 release.
Erlang/OTP authored
442 echo '*********************************************************************'
443 echo '********************** APPLICATIONS DISABLED **********************'
444 echo '*********************************************************************'
445 echo
0ed2039 @garazdawi Add configure option --without-$app
garazdawi authored
446 if test "$files" != "$pattern"; then
447 for skipfile in $files; do
448 app=`dirname $skipfile`; app=`basename $app`
449 printf "%-15s: " $app; cat $skipfile
450 done
451 fi
452 if test -f $ERL_TOP/lib/SKIP-APPLICATIONS; then
453 for skipapp in `cat $ERL_TOP/lib/SKIP-APPLICATIONS`; do
454 printf "%-15s: User gave --without-%s option\n" $skipapp $skipapp
455 done
456 fi
84adefa The R13B03 release.
Erlang/OTP authored
457 echo
458 echo '*********************************************************************'
459 fi
460 pattern="lib/*/CONF_INFO"
461 files=`echo $pattern`
300b419 @rickard-green Rewrite ethread library
rickard-green authored
462 if test "$files" != "$pattern" || test -f erts/CONF_INFO; then
84adefa The R13B03 release.
Erlang/OTP authored
463 echo '*********************************************************************'
464 echo '********************** APPLICATIONS INFORMATION *******************'
465 echo '*********************************************************************'
466 echo
876d39c @rickard-green Refuse to build SMP runtime by default without native atomics
rickard-green authored
467 test "$files" != "$pattern" || files=""
300b419 @rickard-green Rewrite ethread library
rickard-green authored
468 test ! -f erts/CONF_INFO || files="$files erts/CONF_INFO"
84adefa The R13B03 release.
Erlang/OTP authored
469 for infofile in $files; do
470 app=`dirname $infofile`; app=`basename $app`
471 printf "%-15s: " $app; cat $infofile
472 done
473 echo
474 echo '*********************************************************************'
475 fi
476 if test -f "erts/doc/CONF_INFO"; then
477 echo '*********************************************************************'
478 echo '********************** DOCUMENTATION INFORMATION ******************'
479 echo '*********************************************************************'
480 echo
481 printf "%-15s: \n" documentation;
bdb41b9 @tuncer Build placeholder PDF files if FOP is not found
tuncer authored
482 havexsltproc="yes"
84adefa The R13B03 release.
Erlang/OTP authored
483 for cmd in `cat erts/doc/CONF_INFO`; do
484 echo " $cmd is missing."
bdb41b9 @tuncer Build placeholder PDF files if FOP is not found
tuncer authored
485 if test $cmd = "xsltproc"; then
486 havexsltproc="no"
487 fi
84adefa The R13B03 release.
Erlang/OTP authored
488 done
bdb41b9 @tuncer Build placeholder PDF files if FOP is not found
tuncer authored
489 if test $havexsltproc = "no"; then
490 echo ' The documentation can not be built.'
491 else
492 echo ' Using fakefop to generate placeholder PDF files.'
493 fi
84adefa The R13B03 release.
Erlang/OTP authored
494 echo
495 echo '*********************************************************************'
496 fi
Something went wrong with that request. Please try again.