https://issues.apache.org/ooo/show_bug.cgi?id=123682

            Bug ID: 123682
        Issue Type: DEFECT
           Summary: configure should use $GREP, $EGREP to work well on
                    Solaris
           Product: Build Tools
           Version: 4.0.1
          Hardware: All
                OS: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: configure
          Assignee: issues@openoffice.apache.org
          Reporter: tropikha...@gmail.com
                CC: issues@openoffice.apache.org

Created attachment 81914
  --> https://issues.apache.org/ooo/attachment.cgi?id=81914&action=edit
patch

in some places, configure has 'grep' hardcoded, instead of the autodetected
GREP and EGREP variables.
Since Solaris' default grep does not support -E, this leads to failures:

$ ./configure --disable-mozilla --disable-cups --with-system-python
--enable-presenter-console --enable-wiki-publisher --enable-minimizer 
--without-junit
--with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
...
using system dmake
checking whether the found dmake is the right dmake... grep: illegal option --
E
Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
configure: WARNING: no
configure: error: please use --with-dmake-path or --with-dmake-url to specify
dmake executable or source

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to