configure.ac: add llvm-config --system-libs to CLANG_LIBS

Recent versions of llvm-config split off the --system-libs from the --ldflags.
Curiously, llvm-config --system-libs first prints a line with only spaces,
so we need to pick up the last line from the output.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
update for rename of FunctionProtoType accessors from 'Arg' to 'Param'

We usually use the new name in the code and map that to the old name
for older versions, but in this case, the new method name is also
used in other objects and those names should not be mapped to the old name.
It is therefore easier to keep using the old name and to map that to
the new name.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
update for rename of getResultType to getReturnType

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>