llvm.org GIT mirror llvm / f18b6fe
comment tweaks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149060 91177308-0d34-0410-b5e6-96231b3b80d8 Gabor Greif 7 years ago
1 changed file(s) with 15 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
372372 AC_MSG_WARN([Configuring LLVM for an unknown target archicture])
373373 fi
374374
375 # Determine the LLVM native architecture for the target
375 dnl Determine the LLVM native architecture for the target
376376 case "$llvm_cv_target_arch" in
377377 x86) LLVM_NATIVE_ARCH="X86" ;;
378378 x86_64) LLVM_NATIVE_ARCH="X86" ;;
385385 dnl Check for the endianness of the target
386386 AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little]))
387387
388 dnl Check for build platform executable suffix if we're crosscompiling
388 dnl Check for build platform executable suffix if we're cross-compiling
389389 if test "$cross_compiling" = yes; then
390390 AC_SUBST(LLVM_CROSS_COMPILING, [1])
391391 AC_BUILD_EXEEXT
669669 esac
670670 AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
671671
672 # Determine whether we are building LLVM support for the native architecture.
673 # If so, define LLVM_NATIVE_ARCH to that LLVM target.
672 dnl Determine whether we are building LLVM support for the native architecture.
673 dnl If so, define LLVM_NATIVE_ARCH to that LLVM target.
674674 for a_target in $TARGETS_TO_BUILD; do
675675 if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
676676 AC_DEFINE_UNQUOTED(LLVM_NATIVE_ARCH, $LLVM_NATIVE_ARCH,
697697 fi
698698 done
699699
700 # Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
701 # target feature def files.
700 dnl Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
701 dnl target feature def files.
702702 LLVM_ENUM_TARGETS=""
703703 LLVM_ENUM_ASM_PRINTERS=""
704704 LLVM_ENUM_ASM_PARSERS=""
14341434 dnl checks found to the Makefiles so we can use it there too
14351435 AC_SUBST(SHLIBPATH_VAR,$libltdl_cv_shlibpath_var)
14361436
1437 # Translate the various configuration directories and other basic
1438 # information into substitutions that will end up in Makefile.config.in
1439 # that these configured values can be used by the makefiles
1437 dnl Translate the various configuration directories and other basic
1438 dnl information into substitutions that will end up in Makefile.config.in
1439 dnl that these configured values can be used by the makefiles
14401440 if test "${prefix}" = "NONE" ; then
14411441 prefix="/usr/local"
14421442 fi
14611461 AC_SUBST(LLVM_MANDIR)
14621462 AC_SUBST(LLVM_CONFIGTIME)
14631463
1464 # Place the various directores into the config.h file as #defines so that we
1465 # can know about the installation paths within LLVM.
1464 dnl Place the various directories into the config.h file as #defines so that we
1465 dnl can know about the installation paths within LLVM.
14661466 AC_DEFINE_UNQUOTED(LLVM_PREFIX,"$LLVM_PREFIX",
14671467 [Installation prefix directory])
14681468 AC_DEFINE_UNQUOTED(LLVM_BINDIR, "$LLVM_BINDIR",
14861486 AC_DEFINE_UNQUOTED(LLVM_DEFAULT_TARGET_TRIPLE, "$target",
14871487 [Target triple LLVM will generate code for by default])
14881488
1489 # Determine which bindings to build.
1489 dnl Determine which bindings to build.
14901490 if test "$BINDINGS_TO_BUILD" = auto ; then
14911491 BINDINGS_TO_BUILD=""
14921492 if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
14951495 fi
14961496 AC_SUBST(BINDINGS_TO_BUILD,$BINDINGS_TO_BUILD)
14971497
1498 # This isn't really configurey, but it avoids having to repeat the list in
1499 # other files.
1498 dnl This isn't really configurey, but it avoids having to repeat the list in
1499 dnl other files.
15001500 AC_SUBST(ALL_BINDINGS,ocaml)
15011501
1502 # Do any work necessary to ensure that bindings have what they need.
1502 dnl Do any work necessary to ensure that bindings have what they need.
15031503 binding_prereqs_failed=0
15041504 for a_binding in $BINDINGS_TO_BUILD ; do
15051505 case "$a_binding" in