check: Only check for gmp/gsl if building of tests is not disabled

This commit is contained in:
Sebastian Dröge 2009-11-20 09:33:48 +01:00
parent 81d3fda6e8
commit 43b157b775

View file

@ -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 ***