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

            Bug ID: 18755
           Summary: configure fails if GREP_OPTIONS contains --line-number
                    (or -n)
           Product: Build scripts
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: autoconf
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

My .zshrc sets the GREP_OPTIONS environment variable to "--color
--line-number". This causes the configure script to fail with the following
error message:

checking for grep that handles long lines and -e... configure: error: no
acceptable grep could be found in
/usr/omni/bin/Scripts:/usr/omni/bin:/usr/omni/svn/bin:/usr/omni/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/xpg4/bin
configure: error: ../../../projects/sample/configure failed for projects/sample

If the build system depends on grep behaving a certain way, it really ought to
run it in a custom environment and unset GREP_OPTIONS.

-- 
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