X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=7c88dc71a9af19ded81fb962fafc08f258ac8432;hb=ee8ddd8f5aadee71749882ba897c29e3c12fe1ed;hp=b5610187a70c3c639ba460aa002042d8640c3748;hpb=9e165e742fcaf247fe36644192194e59a02698aa;p=libsigrok.git diff --git a/configure.ac b/configure.ac index b5610187..7c88dc71 100644 --- a/configure.ac +++ b/configure.ac @@ -197,6 +197,9 @@ AC_ARG_ENABLE(zeroplus-logic-cube, # libsigrok.pc file. SR_PKGLIBS="" +# libm (the standard math library) is always needed. +AC_SEARCH_LIBS([pow], [m]) + # libglib-2.0 is always needed. Abort if it's not found. # Note: glib-2.0 is part of the libsigrok API (hard pkg-config requirement). # We require at least 2.32.0 due to e.g. g_variant_new_fixed_array().