http://llvm.org/bugs/show_bug.cgi?id=14672

             Bug #: 14672
           Summary: Missing variable dereference operators in configure.ac
           Product: Build scripts
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


In autoconf/configure.in, in this test, the two environment variables are not
dereferenced with ${}:  clang_arcmt and clang_static_analyzer:


case "$enableval" in
  yes) AC_SUBST(ENABLE_CLANG_REWRITER,[1]) ;;
  no)
    if test clang_arcmt != "no" ; then
      AC_MSG_ERROR([Cannot enable clang ARC Migration Tool while disabling
rewriter.])
    fi
    if test clang_static_analyzer != "no" ; then
      AC_MSG_ERROR([Cannot enable clang static analyzer while disabling
rewriter.])
    fi
    AC_SUBST(ENABLE_CLANG_REWRITER,[0])
    ;;
  default) AC_SUBST(ENABLE_CLANG_REWRITER,[1]);;
  *) AC_MSG_ERROR([Invalid setting for --enable-clang-rewriter. Use "yes" or
"no"]) ;;
esac

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to