use the clang driver to obtain command line arguments for the clang frontend
commit044484d389819cbaefd8b12b12ff71227206e4e6
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 12 Nov 2011 17:10:44 +0000 (12 18:10 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 13 Nov 2011 14:51:33 +0000 (13 15:51 +0100)
tree8f43214e8bc56d731f753885b0b968e6c6d5ef10
parentc8d4ee75a3322d789fd14f3b5a587ff60a109c0a
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
pet.cc