summaryrefslogtreecommitdiff
path: root/erts/autoconf
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2021-05-26 18:15:14 +0200
committerRickard Green <rickard@erlang.org>2021-06-15 01:05:48 +0200
commit30ca523fa146fcc888ade1548c46d80c2f42bb50 (patch)
tree6dd655f40279c0fee1be25e364c2b86212b2dfe1 /erts/autoconf
parent02d555a52d0bdadd519cd55fb5a380f2ff64a5d0 (diff)
downloaderlang-30ca523fa146fcc888ade1548c46d80c2f42bb50.tar.gz
Adapt configure scripts to autoconf 2.71 (step 2)
Replace conditional constructs (if, case) with autoconf constructs (AS_IF(), AS_CASE()) where needed. This due to the following (cut from autoconf 2.70 release notes): - Autoconf macros that use AC_REQUIRE are not safe to use in shell control-flow constructs that appear outside of macros defined by AC_DEFUN. Use AS_IF, AS_CASE, etc. instead. (See the Prerequisite Macro section of the manual for details.) The set of macros that use AC_REQUIRE internally may change from release to release. The only macros that are guaranteed *not* to use AC_REQUIRE are the macros for acting on the results of a test: AC_DEFINE, AC_SUBST, AC_MSG_*, AC_CACHE_CHECK, etc.
Diffstat (limited to 'erts/autoconf')
-rwxr-xr-xerts/autoconf/win32.config.cache.static6
-rwxr-xr-xerts/autoconf/win64.config.cache.static6
2 files changed, 6 insertions, 6 deletions
diff --git a/erts/autoconf/win32.config.cache.static b/erts/autoconf/win32.config.cache.static
index b3328e5414..790ea9ab00 100755
--- a/erts/autoconf/win32.config.cache.static
+++ b/erts/autoconf/win32.config.cache.static
@@ -36,11 +36,11 @@ ac_cv_env_CXX_value=cc.sh
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
-ac_cv_env_build_alias_value=win32
+ac_cv_env_build_alias_value=local-x86-pc-windows
ac_cv_env_host_alias_set=set
-ac_cv_env_host_alias_value=win32
+ac_cv_env_host_alias_value=local-x86-pc-windows
ac_cv_env_target_alias_set=set
-ac_cv_env_target_alias_value=win32
+ac_cv_env_target_alias_value=local-x86-pc-windows
ac_cv_exeext=${ac_cv_exeext=.exe}
ac_cv_func___brk=${ac_cv_func___brk=no}
ac_cv_func___sbrk=${ac_cv_func___sbrk=no}
diff --git a/erts/autoconf/win64.config.cache.static b/erts/autoconf/win64.config.cache.static
index c7d92c7000..73146cbb86 100755
--- a/erts/autoconf/win64.config.cache.static
+++ b/erts/autoconf/win64.config.cache.static
@@ -40,11 +40,11 @@ ac_cv_env_CXX_value=cc.sh
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
-ac_cv_env_build_alias_value=win32
+ac_cv_env_build_alias_value=local-x86_64-pc-windows
ac_cv_env_host_alias_set=set
-ac_cv_env_host_alias_value=win32
+ac_cv_env_host_alias_value=local-x86_64-pc-windows
ac_cv_env_target_alias_set=set
-ac_cv_env_target_alias_value=win32
+ac_cv_env_target_alias_value=local-x86_64-pc-windows
ac_cv_exeext=${ac_cv_exeext=.exe}
ac_cv_func___brk=${ac_cv_func___brk=no}
ac_cv_func___sbrk=${ac_cv_func___sbrk=no}