X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=autoconf%2Fconfigure.ac;h=16535dfba4abbc78466d7a30e94a1356f80912b9;hb=a586fd2c5665c75c1b2870b1361d794ac25caf9e;hp=fb73e51df3f053cf65217a35fd293edfdc93e310;hpb=1084c3397c784990cf46eef050c76813316fa080;p=oota-llvm.git diff --git a/autoconf/configure.ac b/autoconf/configure.ac index fb73e51df3f..16535dfba4a 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -74,7 +74,7 @@ if test ${srcdir} != "." ; then fi dnl Quit if it is an in-source build -if test ${srcdir} == "." ; then +if test ${srcdir} = "." ; then AC_MSG_ERROR([In-source builds are not allowed. Please configure from a separate build directory!]) fi @@ -431,6 +431,7 @@ AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch], arm64*-*) llvm_cv_target_arch="AArch64" ;; arm*-*) llvm_cv_target_arch="ARM" ;; aarch64*-*) llvm_cv_target_arch="AArch64" ;; + avr-*) llvm_cv_target_arch="AVR" ;; mips-* | mips64-*) llvm_cv_target_arch="Mips" ;; mipsel-* | mips64el-*) llvm_cv_target_arch="Mips" ;; xcore-*) llvm_cv_target_arch="XCore" ;; @@ -468,6 +469,7 @@ case $host in arm64*-*) host_arch="AArch64" ;; arm*-*) host_arch="ARM" ;; aarch64*-*) host_arch="AArch64" ;; + avr-*) host_arch="AVR" ;; mips-* | mips64-*) host_arch="Mips" ;; mipsel-* | mips64el-*) host_arch="Mips" ;; xcore-*) host_arch="XCore" ;; @@ -801,6 +803,7 @@ else PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;; x86_64) AC_SUBST(TARGET_HAS_JIT,1) ;; ARM) AC_SUBST(TARGET_HAS_JIT,1) ;; + AVR) AC_SUBST(TARGET_HAS_JIT,0) ;; Mips) AC_SUBST(TARGET_HAS_JIT,1) ;; XCore) AC_SUBST(TARGET_HAS_JIT,0) ;; MSP430) AC_SUBST(TARGET_HAS_JIT,0) ;; @@ -1640,6 +1643,7 @@ if test "$llvm_cv_os_type" = "MingW" ; then AC_CHECK_LIB(ole32, main) AC_CHECK_LIB(psapi, main) AC_CHECK_LIB(shell32, main) + AC_CHECK_LIB(uuid,main) fi dnl dlopen() is required for plugin support. @@ -2238,3 +2242,14 @@ AC_CONFIG_MAKEFILE(bindings/ocaml/Makefile.ocaml) dnl Finally, crank out the output AC_OUTPUT +echo "" +echo "" +echo "################################################################################" +echo "################################################################################" +echo "The LLVM project has deprecated building with configure & make." +echo "The autoconf-based makefile build system will be removed in the 3.9 release." +echo "" +echo "Please migrate to the CMake-based build system." +echo "For more information see: http://llvm.org/docs/CMake.html" +echo "################################################################################" +echo "################################################################################"