From: <en...@ke...> - 2008-09-15 15:18:11
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: ensonic Date: Mon Sep 15 2008 15:18:22 UTC Log message: * configure.ac: Do not probe availability of check unit test library when cross compiling, as test would not work anyway. Also cleanup verbose output of the check test. Fixes #551952. Modified files: . : ChangeLog configure.ac Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4061&r2=1.4062 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/configure.ac.diff?r1=1.558&r2=1.559 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.4061 retrieving revision 1.4062 diff -u -d -r1.4061 -r1.4062 --- ChangeLog 14 Sep 2008 22:01:28 -0000 1.4061 +++ ChangeLog 15 Sep 2008 15:18:05 -0000 1.4062 @@ -1,3 +1,10 @@ +2008-09-15 Stefan Kost <en...@us...> + + * configure.ac: + Do not probe availability of check unit test library when cross + compiling, as test would not work anyway. Also cleanup verbose output + of the check test. Fixes #551952. 2008-09-14 Wim Taymans <wim...@co...> Based on patch by: Antoine Tremblay <hexa00 at gmail dot com> Index: configure.ac RCS file: /cvs/gstreamer/gstreamer/configure.ac,v retrieving revision 1.558 retrieving revision 1.559 diff -u -d -r1.558 -r1.559 --- configure.ac 1 Aug 2008 11:57:40 -0000 1.558 +++ configure.ac 15 Sep 2008 15:18:07 -0000 1.559 @@ -498,13 +498,13 @@ AC_SUBST(GST_DISABLE_XML_DEFINE) dnl check for "check", unit testing library/header -AM_PATH_CHECK(0.9.2, - [ - HAVE_CHECK=yes - AC_MSG_NOTICE(CHECK_CFLAGS: $CHECK_CFLAGS) - AC_MSG_NOTICE(CHECK_LIBS: $CHECK_LIBS) - ], - HAVE_CHECK=no) +if test "$cross_compiling" != yes; then + AM_PATH_CHECK(0.9.2, + HAVE_CHECK=yes, + HAVE_CHECK=no) +else + HAVE_CHECK=no +fi AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes") dnl pkg-config check that for libcheck that works for cross-compiling |