2
define([AC_CACHE_LOAD], )dnl
3
define([AC_CACHE_SAVE], )dnl
5
dnl Process this file with autoconf to produce a configure script.
9
dnl This is just to run configure in all applications that need it.
12
if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
13
AC_MSG_ERROR(You need to set the environment variable ERL_TOP!)
16
AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
18
dnl Version 2.55 of autoconf generate code that assume a
19
dnl sub directory isn't a link. Internally at Ericsson
20
dnl some OTP application directories are soft links.
21
dnl An added "/." solves this problem.
23
dnl The arguments to AC_CONFIG_SUBDIRS should be literals
24
dnl but a bug in autoconf 2.13 breaks conditional use
25
dnl of multiple AC_CONFIG_SUBDIRS so we do it the "wrong"
26
dnl way to force correct code.
30
if test -f "$d/configure" ; then
31
appdirs="$appdirs $d/."
35
AC_CONFIG_SUBDIRS($appdirs)