4
dnl Copyright Ericsson AB 1999-2010. All Rights Reserved.
6
dnl The contents of this file are subject to the Erlang Public License,
7
dnl Version 1.1, (the "License"); you may not use this file except in
8
dnl compliance with the License. You should have received a copy of the
9
dnl Erlang Public License along with this software. If not, it can be
10
dnl retrieved online at http://www.erlang.org/.
12
dnl Software distributed under the License is distributed on an "AS IS"
13
dnl basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
dnl the License for the specific language governing rights and limitations
15
dnl under the License.
21
define([AC_CACHE_LOAD], )dnl
22
define([AC_CACHE_SAVE], )dnl
24
dnl Process this file with autoconf to produce a configure script.
28
dnl This is just to run configure in all applications that need it.
31
if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
32
AC_MSG_ERROR(You need to set the environment variable ERL_TOP!)
35
AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
37
AC_ARG_ENABLE(bootstrap-only,
38
[ --enable-bootstrap-only enable bootstrap only configuration],
39
[ if test "X$enableval" = "Xyes"; then
47
# Multiple versions of autoconf generates code that
48
# don't work on all platforms (e.g. SunOS 5.8) if
49
# sub directories are soft links. Internally at Ericsson
50
# some OTP application directories are soft links.
51
# An added "/." solves this problem.
53
@BOOTSTRAP_CONFIGURE_APPS@
55
if test $bootstrap_only = no; then
57
@NON_BOOTSTRAP_CONFIGURE_APPS@