X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=bafb3ba34eea764351b265b4e3112dec17d4864f;hb=1060e9b5f80cde2c6b6cb18ded1fdbe0862c7796;hp=3ebe563785ac8cd84bd5327bf54bd3805dadfe9e;hpb=81c16ddcdf0dc76c1aca3a1b3fe6e58c22cc6d73;p=libsigrokflow.git diff --git a/configure.ac b/configure.ac index 3ebe563..bafb3ba 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,16 @@ SR_LIB_VERSION_SET([SRF_LIB_VERSION], [0:0:0]) # We require at least 0.22, as "Requires.private" behaviour changed there. PKG_PROG_PKG_CONFIG([0.22]) +# Keep track of all checked modules so we can list them at the end. +SR_PKG_CHECK_SUMMARY([srf_pkglibs_summary]) + +# Collect the pkg-config module names of all dependencies in SRF_PKGLIBS. +# These are used to derive the compiler flags and for the "Requires.private" +# field in the generated libsigrokflow.pc file. +SR_VAR_OPT_PKG([SRF_PKGLIBS], [srf_deps_avail]) + +SR_ARG_OPT_PKG([libsigrokcxx], [LIBSIGROKCXX], , [libsigrokcxx >= 0.5.1]) + AC_LANG([C++]) SR_ARG_ENABLE_WARNINGS([SRF_WXXFLAGS], [-Wall], [-Wall -Wextra]) @@ -106,4 +116,7 @@ Compile configuration: Detected libraries (required): - gstreamermm >= 1.8.0 ........... $srf_gstreamermm_version +Detected libraries (optional): +$srf_pkglibs_summary + _EOF