On Wed, 13 Apr 2005, Jerry Gay wrote: > the attached patch against r7825 suppresses stderr output during 'bc' > step in configure
I was thinking along similar lines, but got stuck wondering: "Why is Configure.pl looking for bc in the first place? It doesn't do anything with the result." The problem is complicated because there are significant differences among bc(1) commands. For example, Solaris has a traditional bc(1) command. It does not accept the '-v' option, and Configure.pl currently sets has_bc='no'. The GNU version of bc(1) has many extensions beyond traditional bc(1). It does accept a '-v' option, and Configure.pl currently sets has_bc='yes'. A reasonable Configure.pl plan, then, would be to construct a bc input file representative of the sorts of things we actually use bc for, run the system bc (if there is one), and check that the output is as it should be. Since bc isn't used anywhere yet, I wasn't able to construct such a "typical" bc input file. -- Andy Dougherty [EMAIL PROTECTED]