diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -194,12 +194,13 @@ putvar CFG_CPUTYPE putvar CFG_CONFIGURE_ARGS step_msg "looking for build programs" -probe_need CFG_GCC gcc probe_need CFG_GIT git probe_need CFG_PERL perl probe_need CFG_PYTHON python probe_need CFG_CURL curl +probe CFG_CLANG clang +probe CFG_GCC gcc probe CFG_LLVM_CONFIG llvm-config probe CFG_VALGRIND valgrind probe CFG_OCAMLC ocamlc @@ -211,6 +212,11 @@ probe CFG_MAKEINFO makeinfo probe CFG_TEXI2PDF texi2pdf probe CFG_TEX tex +if [ -z "$CFG_CLANG" -a -z "$CFG_GCC" ] +then + err "either clang or gcc is required" +fi + # Valgrind is only reliable on Linux. On Windows it doesn't work at all, and # on the Mac the dynamic linker causes Valgrind to emit a huge stream of # errors. |