Fix tests for glog and gflags
authorSara Golemon <sgolemon@fb.com>
Wed, 24 Jun 2015 16:31:49 +0000 (09:31 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 24 Jun 2015 18:06:12 +0000 (11:06 -0700)
commitc6b307876b4977227f2f40270b6a35a80f05b473
treecf48dc3f9c0aaa1ae761b656bb1b89b4911f67bd
parent4514c06cdfe7038b74ab99916824f203a65da446
Fix tests for glog and gflags

Summary: The existing tests were trying to find undocumented
symbols in glog/glags which aren't guaranteed to be there on all
platforms.

Use AC_RUN_IFELSE() to try building and executing some code
typical of the usage of these libraries.

Closes #117

Reviewed By: @JoelMarcey

Differential Revision: D2183526
folly/configure.ac