Optionally run autoconf
authorPhilip Jameson <pjameson@fb.com>
Thu, 17 Aug 2017 00:46:52 +0000 (17:46 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 17 Aug 2017 00:50:20 +0000 (17:50 -0700)
commit1eb414a370feb35205571568117a26248e074bb5
tree4f2e8f9af4beede72917a9141fc5c207df3eeef4
parent29c72a135c04cf45aef35498432f45557aec02df
Optionally run autoconf

Summary:
This makes it so that the //folly:config rule can run autoconf to create folly-config

- Uses cxx_genrule get compiler settings and paths to dependent libraries
- Goes around a couple of oddities in the way that buck exports some of its macros
- While it uses buck_cxx_library, that's okay to use outside of facebook's internal repos.

Reviewed By: meyering

Differential Revision: D5620729

fbshipit-source-id: 0d2d8e3bda92182dcdcd3e80cb12a3756b3816ac
folly/build/buck_run_autoconf.sh [new file with mode: 0644]