[LLVMbugs] [Bug 14672] New: Missing variable dereference operators in configure.ac

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 20 12:41:22 PST 2012


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: unassignedbugs at nondot.org
        ReportedBy: kparzysz at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list