use the clang driver to obtain command line arguments for the clang frontend
commit518637043dd40811cce0b0803cb303698e2a9062
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 13 Nov 2011 14:39:55 +0000 (13 15:39 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 13 Nov 2011 14:45:24 +0000 (13 15:45 +0100)
treef7118e245c3356aee0cd98eb2fb13aecda7d2278
parent2b6dabfaa33f983315cc284838830e9dcd76ba54
use the clang driver to obtain command line arguments for the clang frontend

Recent clang perform the Linux header searching in the driver instead
of the fronted.  We therefore need to call the driver to obtain
the system include paths and pass them along to the frontend.

Helped-by: Chandler Carruth <chandlerc@google.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac
interface/extract_interface.cc