> The text above is resolving into a variable assignment (!!):
> 
> if test -d /usr/[...]tory; BOOST_INC := /usr/include/boost141; [...]
> 
> which is why you're not getting an error.  Believe it or not that's a valid
> variable assignment statement in GNU make.
> 
> You'll want to do something like this instead:
> 
> ifneq (,$(wildcard /usr/include/boost141/.))
>     $(info Using Boost 1.41 directory)
>     BOOST_INC := /usr/include/boost141
>     BOOST_LIB := boost141/boost_python-mt else
>     $(info Using default Boost location)
>     BOOST_INC := /usr/include/boost
>     BOOST_LIB := boost_python-mt
> endif

Hi Paul

Thanks very much for putting me right on this.  Your code fixed my problem.

Best regards

David

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to