grep and ctags

Simon Hausmann hausmann at kde.org
Thu Mar 7 23:23:04 UTC 2002


On Wed, Mar 06, 2002 at 01:38:44PM -0800, Roland Krause wrote:
> Friends, 
> on my Solaris (x86) box, the path is set such that a simple grep is
> /usr/bin/grep and not /usr/xpg4/bin/grep. 
> 
> Now, is there a way to have configure test for that and set a define in
> config.h to the path for the grep that supports regular expressions? 
> 
> I would be more than happy to modify GrepDialog::slotSearch to include
> a path to a regular expression grep. 

I think testing for grep at build time is not a good idea. After all
it's a pure run-time dependency. Better fix your PATH :)

(like if you only want xpg4's grep without xpg4/bin before /usr/bin
symlink that grep in ~/bin and move that to the front of your PATH?)


Simon




More information about the KDevelop-devel mailing list