> When I run configure, it goes into an infinite loop.  I traced the problem
> to the following statement in 'configure.in', line 1213 in version 5.1.1:
> 
>   if [ "`/usr/bin/which $CCBASE`" = "/usr/ucb/cc" ]; then
> 
> This line is executed only for Solaris.  The problem is that on Solaris,
> /usr/bin/which is a script that reads the user's .cshrc to get the aliases
> and the path.  However, in my personal .cshrc file I have a few 'which'
> commands, so the configure scripts loops forever, creating more and more
> 'which' processes, until the system runs out of processes.

I'm wondering why your .cshrc, on its own, doesn't go into infinite 
recursion.
> The workaround for now is to comment out all the 'which' statements before
> the configure, restore them afterwards.
> 
> Anyone has a better idea?

Not really.  Set/unset an environment variable in your .cshrc so you can 
detect the recusion?

Andrew


_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to