]> 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)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 12 Sep 2011 08:29:31 +0000 (12:29 +0400)
commitc7c3144f1f6f56bb4a20050b939e2a1da26f98cc
tree158b88d08b8f21f3c87e505cb1ca9ccddedf5ffb
parent4009e279f3cde5075fe00d5d81a78fdd97b3987a
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