This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/17077] --with-system-readline uses bundled readline include files
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 13 Jul 2015 07:23:45 +0000
- Subject: [Bug build/17077] --with-system-readline uses bundled readline include files
- Auto-submitted: auto-generated
- References: <bug-17077-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17077
--- Comment #6 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee dot org> ---
Created attachment 8429
--> https://sourceware.org/bugzilla/attachment.cgi?id=8429&action=edit
Include the bundled readline header files, only when the bundled readline is
built.
The provided patch:
-- makes use of the fact, that the preprocessor can differentiate between
#include "file" and #include <file>, when proceeding paths;
-- substitutes all occurrences of #include
"readline/{readline,history,tilde}.h" with #include
<readline/{readline,history,tilde}.h>;
-- enables the project root directory for includes (from opcode),
unconditionally only for #include "file", and for all includes ("",<>), when
the bundled readline is built (using -iquote in place of -I);
-- does not approach the problem for sim/erc32/sis.c.
--
You are receiving this mail because:
You are on the CC list for the bug.