diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2011-09-21 11:23:20 +0200 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2011-09-21 11:23:20 +0200 |
commit | 0cc4d4d12020310c98f9583e612074e26821163c (patch) | |
tree | 21b0787438805f313ab55adce6111b6dc653b740 /erts/aclocal.m4 | |
parent | b5318ec588c0927dc8610451f92888646c255020 (diff) | |
parent | dd24ca1cb76de9973220fed356540f190a05ac83 (diff) | |
download | erlang-0cc4d4d12020310c98f9583e612074e26821163c.tar.gz |
Merge branch 'bjorn/erts/support-macosx-lion/OTP-9547' into dev
* bjorn/erts/support-macosx-lion/OTP-9547:
Fix build problems on MacOS 10.7 (Lion)
Diffstat (limited to 'erts/aclocal.m4')
-rw-r--r-- | erts/aclocal.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/aclocal.m4 b/erts/aclocal.m4 index 2bceb31983..7d9d099bba 100644 --- a/erts/aclocal.m4 +++ b/erts/aclocal.m4 @@ -125,6 +125,9 @@ AC_DEFUN(LM_FIND_EMU_CC, ac_cv_prog_emu_cc, [ AC_TRY_COMPILE([],[ +#ifdef __llvm__ +#error "llvm is currently unable to compile beam_emu.c" +#endif __label__ lbl1; __label__ lbl2; int x = magic(); @@ -140,7 +143,7 @@ lbl2: ],ac_cv_prog_emu_cc=$CC,ac_cv_prog_emu_cc=no) if test $ac_cv_prog_emu_cc = no; then - for ac_progname in emu_cc.sh gcc; do + for ac_progname in emu_cc.sh gcc-4.2 gcc; do IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do |