[patch][cmake] Check if plugin-api.h provides LDPT_GET_SYMBOLS_V2

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Oct 4 09:40:30 PDT 2013

LDPT_GET_SYMBOLS_V2 was added back in 2011, but it looks like there
are still versions of plugin-api.h out there that don't have it.

This patch adds a cmake check so that we degrade gracefully with old versions.

I will write an autoconf version too, but I would like to get this one
reviewed first. In particular, I would like to know what you think
about adding gold-config.h.cmake. I like it because at least with
cmake it lets us keep all the changes in tools/gold.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 2585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/0bd2dd43/attachment.obj>

More information about the llvm-commits mailing list