You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This applies
erlang/otp@f1044ef
which currently exists in `master` to fix an error when configuring the
build on OSX Big Sur.
See erlang/otp#2871 for details.
Fixeskerl#346.
Tested with this configuration.
- OSX 11.0.1
- OTP 23.1.4 and 23.1.5
@@ -387,50 +387,6 @@ if test X${enable_native_libs} = Xyes -a X${enable_hipe} != Xno; then
755
+
fi
756
+
AC_SUBST(NATIVE_LIBS_ENABLED)
757
+
758
+
-if test $CROSS_COMPILING = no; then
759
+
- case $host_os in
760
+
- darwin*)
761
+
- macosx_version=`sw_vers -productVersion`
762
+
- test $? -eq 0 || {
763
+
- AC_MSG_ERROR([Failed to execute 'sw_vers'; please provide it in PATH])
764
+
- }
765
+
- [case "$macosx_version" in
766
+
- [1-9][0-9].[0-9])
767
+
- int_macosx_version=`echo $macosx_version | sed 's|\([^\.]*\)\.\([^\.]*\)|\10\200|'`;;
768
+
- [1-9][0-9].[0-9].[0-9])
769
+
- int_macosx_version=`echo $macosx_version | sed 's|\([^\.]*\)\.\([^\.]*\)\.\([^\.]*\)|\1\2\3|'`;;
770
+
- [1-9][0-9].[1-9][0-9])
771
+
- int_macosx_version=`echo $macosx_version | sed 's|\([^\.]*\)\.\([^\.]*\)|\1\200|'`;;
772
+
- [1-9][0-9].[1-9][0-9].[0-9])
773
+
- int_macosx_version=`echo $macosx_version | sed 's|\([^\.]*\)\.\([^\.]*\)\.\([^\.]*\)|\1\20\3|'`;;
774
+
- [1-9][0-9].[1-9][0-9].[1-9][0-9])
775
+
- int_macosx_version=`echo $macosx_version | sed 's|\([^\.]*\)\.\([^\.]*\)\.\([^\.]*\)|\1\2\3|'`;;
776
+
- *)
777
+
- int_macosx_version=unexpected;;
778
+
- esac]
779
+
- test $int_macosx_version != unexpected || {
780
+
- AC_MSG_ERROR([Unexpected MacOSX version ($macosx_version) returned by 'sw_vers -productVersion'; this configure script probably needs to be updated])
0 commit comments