mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
check: Only check for gmp/gsl if building of tests is not disabled
This commit is contained in:
parent
81d3fda6e8
commit
43b157b775
1 changed files with 14 additions and 12 deletions
|
@ -326,6 +326,7 @@ if test "x$HAVE_WINSOCK2_H" = "xyes"; then
|
|||
fi
|
||||
|
||||
dnl check for GMP/GSL, used by the gst_util_uint64_scale unit test only
|
||||
if test "x$BUILD_TESTS" = "xyes"; then
|
||||
AG_GST_CHECK_LIBHEADER(GMP, gmp,
|
||||
__gmpz_init_set_d, ,
|
||||
gmp.h,
|
||||
|
@ -338,6 +339,7 @@ AG_GST_CHECK_LIBHEADER(GSL, gsl,
|
|||
GSL_LIBS="-lgsl -lgslcblas"
|
||||
AC_SUBST(GSL_LIBS)
|
||||
AC_DEFINE(HAVE_GSL, [1],[Have GSL library]))
|
||||
fi
|
||||
|
||||
dnl *** checks for types/defines ***
|
||||
|
||||
|
|
Loading…
Reference in a new issue