Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>>>>>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
>>>
| Lars> | Kayvan> I have now installed a fresh cygwin install on a new
| Lars> Win32 | Kayvan> computer, and ran into the same "cannot find
| Lars> binary" issue | Kayvan> upon a fresh checkout and compile of
| Lars> lyx.
>>>
| Lars> | Kayvan> The following patch fixes this by ensuring that
| Lars> BOOST_POSIX is | Kayvan> set for Cygwin in the src/config.h
| Lars> file.
>>>
| Lars> | Kayvan> I see no reason why we just should not assume
| Lars> BOOST_POSIX for | Kayvan> Cygwin.
>>>
| Lars> | I won't comment on the goal (although it seems reasonable),
| Lars> but | concerning the means, you may want to use AH_BOTTOM
| Lars> instead.
>>>
| | In configure.ac, add in the AH_BOTTOM call something like
| | #ifdef __CYGWIN__ 
| | #defing BOOST_POSIX 
| Lars> #define BOOST_POSIX 1
>
| Indeed.
>
| I thought it is how we pass information to boost.

Yeah... if this is only for cygwin then AH_BOTTOM is ok, but if we see
that we need this for other platforms as well, then a "full-fledged"
autoconf macro is more approp.

And the other info we pass to boost is static.

-- 
        Lgb

Reply via email to