aboutsummaryrefslogtreecommitdiffstats
path: root/erts/aclocal.m4
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-21 11:23:37 +0200
committerBjörn Gustavsson <[email protected]>2011-09-21 11:23:37 +0200
commite58fa57a4936ad16e81ed05441fc5c85fabafb5d (patch)
treef77b99a6c433564add6b58d8489ee88200ffa9cb /erts/aclocal.m4
parentec36499d7e329b4dc69a1a3be3422eac7907c260 (diff)
parent0cc4d4d12020310c98f9583e612074e26821163c (diff)
downloadotp-e58fa57a4936ad16e81ed05441fc5c85fabafb5d.tar.gz
otp-e58fa57a4936ad16e81ed05441fc5c85fabafb5d.tar.bz2
otp-e58fa57a4936ad16e81ed05441fc5c85fabafb5d.zip
Merge branch 'dev' into major
* dev: erl_bif_types: Fix types for lists:key{search,find,member}/3 Fix build problems on MacOS 10.7 (Lion)
Diffstat (limited to 'erts/aclocal.m4')
-rw-r--r--erts/aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/aclocal.m4 b/erts/aclocal.m4
index 5daaa0ae5b..27f643921e 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