lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Problem with Cygwin port under bash shell


From: Thomas Dickey
Subject: Re: lynx-dev Problem with Cygwin port under bash shell
Date: Sat, 31 Jan 2004 19:35:04 -0500 (EST)

On Sat, 31 Jan 2004, Doug Kaufman wrote:

> On Sat, 31 Jan 2004, Doug Kaufman wrote:
>
> > 2. The binary compiled as if "CAN_CUT_AND_PASTE" was not defined, even
> > though HAVE_POPEN was defined in lynx_cfg.h. If I moved the
> > "#include <www_tcp.h>" to near the top of the HTUtils.h file, then it
> > compiled with "CAN_CUT_AND_PASTE". I presume that this is because WIN_EX
> > was then defined while HTUtils.h is being evaluated. Does this imply
> > that the lynx_cfg.h file is not being included and that I either need
> > to change the line in HTUtils.h to '#include "lynx_cfg.h"' instead of
> > "#include <lynx_cfg.h>" or add a "-I." to the CPPFLAGS?
>
> I now see why CAN_CUT_AND_PASTE was not defined, even though
> HAVE_POPEN is defined in lynx_cfg.h. There is a line in HTUtils.h
> that undefines HAVE_POPEN for Cygwin. So the options are to either
> define WIN_EX for Cygwin before www_tcp.h (as Tom had said he planned
> to do) or to take out the line undefining HAVE_POPEN for Cygwin.
> Does anyone remember why that was undefined? Is Cygwin's popen still

A quick check shows it was added in 2.8.3dev.8 - and looking at the
change, it appears that I simplified some ifdef's there in the wrong way.
Just remove the #undef.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]