]> granicus.if.org Git - gc/commit
Use pkg-config to pick up libatomic_ops, etc.
authorPetter Urkedal <paurkedal@gmail.com>
Sun, 14 Aug 2011 10:57:27 +0000 (12:57 +0200)
committerPetter Urkedal <paurkedal@gmail.com>
Sun, 14 Aug 2011 11:10:40 +0000 (13:10 +0200)
commit4ea4917ccf99952726ac141fb6317368437b93f2
treebe0775d33335a368c57f05f29dbe27407e27cc7a
parentcc71a44e2736bac577673feb20ee66841d34ec92
Use pkg-config to pick up libatomic_ops, etc.

* configure.ac: Remove checks for ar and ranlib.
* configure.ac: Replace AC_CHECK_HEADER with PKG_CHECK_MODULES when
checking for libatomic_ops.  The macro sets the appropriate flags, so
simplify accordingly.
* Makefile.am, configure.ac: Set ATOMIC_OPS_CFLAGS in configure.ac
instead of conditionally doing it in Makefile.am, to be more consistent
with the pkg-config case.
* configure.ac: Fix a typo and some phrases.
Makefile.am
configure.ac