Home GnuPG
Diffusion nPth a49a061c65fb

configure.ac: improve check for clock_gettime library
a49a061c65fbUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

configure.ac: improve check for clock_gettime library

* configure.ac: When using AC_SEARCH_LIBS, handle the case in which
that function returns "none required". Also, save and restore LIBS
around the check, and properly m4-quote the first argument to AC_DEFINE.
Finally, also set and AC_SUBST LIB_CLOCK_GETTIME.
This added code is very similar to that provided in gnulib's
clock-time.m4.
* tests/Makefile.am (LDADD): Append $(LIB_CLOCK_GETTIME).

Details

Provenance
meyeringAuthored on Jun 5 2015, 5:03 PM
gniibeCommitted on Jun 6 2015, 9:46 AM
Parents
rPTHc2015a2bafa9: npth-config: supply a library dependency for clock_gettime.
Branches
Unknown
Tags
Unknown