Add a New Comment Rich Markup
Your patch has been pushed to the Git repository in commit 2fca6b72c6a18efd00712c185f22efb4d61c725c. Thank you very much for the bug fix!
Hello! AX_BOOST_PYTHON does not use quotes when setting CPPFLAGS, which can cause problems if CPPFLAGS is already defined to something. For example: 1) Imagine CPPFLAGS starts as "-DTEST=1 -DTEST=2" 2) "CPPFLAGS_SAVE=$CPPFLAGS" will expand to "CPPFLAGS_SAVE=-DTEST=1 -DTEST=2" which will try to run the program "-DTEST=2" with a temporary CPPFLAG_SAVE environment variable. 1) Imagine CPPFLAGS starts as "-DTEST=1" 2) You'll get past the previous problem because CPPFLAGS is only one word. 3) But "CPPFLAGS=-I$PYTHON_INCLUDE_DIR $CPPFLAGS" will expand to something like "CPPFLAGS=-I/usr/include/python2.7 -DTEST=1" and you hit the same issue again. The program "-DTEST=1" will not be found. The attached patch fixes AX_BOOST_PYTHON for me. A quick grep showed that some other macros might be affected too, so you might want to do a general check.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 5 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12