Ethereal-dev: Re: [Ethereal-dev] nmake: Having problems with http_proxy setting in tools/win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Tue, 17 Aug 2004 07:34:53 +0200
Olivier Biot wrote:

From: Ulf Lamping

| Hi List!
|
| When trying to use the setup target in the Makefile.nmake, I'm
having
| problems to set the http_proxy.
|
| Even when defining http_proxy using an environment setting, it won't
use
| the proxy.

I added that piece of code in the shell script as I assumed we'd be
using WGET from CygWin. From the lynx time already, the *NIX shells
used the all-lowercase "http_proxy" shell variable. Maybe it's using
all-uppercase values for Win32 variants not running from the CygWin
bash shell?

| The only way to use a proxy, I had to change in tools/win32_setup.sh
the
| line 49:
|
|     if [ -z "$http_proxy" ] ; then
|
| to
|
|     if [ -z "$HTTP_PROXY" ] ; then
|
| so there seems to be a problem with upper/lower case comparison
string.

As mentioned earlier, that may be a win32-ism of wget. Feel free to
change the script if it fixes the issue (I no longer work for Siemens
where I had a corporate proxy I could test with).

Do you know how to "or" this together, so both ways will work?

Regards, ULFL