Commit graph

22 commits

Author SHA1 Message Date
Michał Dębski
a7797d30a8 check: Use mkstemp instead of tempnam if possible
Using tempnam() is deprecated, this gives warning and fails the build
with -Werror.

https://bugzilla.gnome.org/show_bug.cgi?id=745858
2015-03-11 16:14:24 +00:00
Sebastian Rasmussen
755a66b6a2 check: Update version number of included libcheck
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741550
2014-12-15 15:14:31 +01:00
Sebastian Rasmussen
85c8b5d2c4 check: Apply GStreamer-specific patches
Reintroduced patches:

 * Make sure that fail_if(1) actually fails
   from commit 9f99d056a2

New patches due to updated libcheck (based on 0.9.14):

 * Checks in m4/check-checks.m4 to cater for new dependencies
 * Conditional compile-time compat POSIX fallbacks for libcheck
 * Avoid relative paths for libcheck header files
 * Make timer_create() usage depend on posix timers, not librt
 * Rely on default AX_PTHREAD behavior to allow HAVE_PTHREAD to be used
   when checking for types and functions (like clock_gettime())
 * Avoid double declaration of clock_gettime() when availabe outside of
   librt by making compat clock_gettime() declaration conditional
 * check 0.9.9 renamed _fail_unless() and 0.9.12 later renamed it again
   to _ck_assert_failed(), so ASSERT_{CRITICAL,WARNING}() now calls this
   function
 * Remove libcheck fallback infrastructure for malloc(), realloc(),
   gettimeofday() and snprintf() since either they appear to be
   available or they introduce even more dependencies.

The result is an embedded check in gstreamer that has been tested by
running check tests in core, -base, -good, -bad, -ugly and rtsp-server
on Linux, OSX and Windows.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
2014-12-06 17:48:25 +01:00
Arun Raghavan
4e8b843863 build: Update ax_pthread.m4 and move it to common
Has some updates for Clang support (might not work with newer Clang
properly, yet), AIX support, and some misc fixes.
2014-11-26 21:50:27 +05:30
Sebastian Dröge
1042857f33 configure: Properly check for pthread
The old check failed on Android for example.
2012-10-22 15:05:24 +02:00
Idar Tollefsen
7b80441f9d build: Make sure AC_INCLUDES_DEFAULT is used
Without using AC_INCLUDES_DEFAULT explicitly,
certain platforms will complain that the header
was found, but not usable by the compiler.
This happens for instance on Solaris where certain
headers are needed to pull in proper defines.

Also upgrade to newer autoconf syntax and use proper quoting.

https://bugzilla.gnome.org/show_bug.cgi?id=667293
2012-06-27 21:08:28 +01:00
Tim-Philipp Müller
b40320d483 build: make autotools put its m4 files into m4/ instead of common/m4/
This is how we do it in the other modules, and gets rid of the annoying
dirty status for common when doing git status (at least once you clean
out the old files from there).
2010-03-30 15:20:07 +01:00
Thomas Vander Stichele
d4f9846e2d removing m4 dir
Original commit message from CVS:
removing m4 dir
2002-02-09 21:21:18 +00:00
Thomas Vander Stichele
47a7f07728 more cleanups
Original commit message from CVS:
more cleanups
2002-02-09 21:19:11 +00:00
Thomas Vander Stichele
cf1fb56395 Initial revision
Original commit message from CVS:
Initial revision
2002-02-03 16:16:36 +00:00
Andy Wingo
81337fdf49 adding pkg-config's m4.
Original commit message from CVS:
adding pkg-config's m4.
2002-01-27 16:02:57 +00:00
Andy Wingo
f58c8f26b4 build system tweaks, and now the cothreads test code will build and configure with the rest of gst.
Original commit message from CVS:
build system tweaks, and now the cothreads test code will build and configure with the rest of gst.
2002-01-23 00:04:33 +00:00
David I. Lehn
97bdeecdc7 Add m4 dir stuff to dist
Original commit message from CVS:
Add m4 dir stuff to dist
Add glib.m4
Remove m4s we don't need in the core
2002-01-08 23:54:15 +00:00
Andy Wingo
b0e9aadb85 added gtk.m4 (for gtk 1.2)
Original commit message from CVS:
added gtk.m4 (for gtk 1.2)
2002-01-04 06:07:04 +00:00
Thomas Vander Stichele
4c3fee6256 not necessary anymore
Original commit message from CVS:
not necessary anymore
2002-01-03 16:00:34 +00:00
Andy Wingo
981cf4d212 this patch fixes arts and artsd compilation problems. this is necessary for make dist to work. i know plugins are bei...
Original commit message from CVS:
this patch fixes arts and artsd compilation problems. this is necessary for make
dist to work. i know plugins are being moved, though, this needs to be ported to
the -plugins module.

* experimental and broken selection now use GST_CHECK_FEATURE, for what it's worth
* crucial fixes to arts m4's that need backporting to autostars and -plugins
* make gst-feature less frantic in reporting missing plugins
* cleanups and misc arts fixes
2001-12-20 20:41:28 +00:00
Thomas Vander Stichele
9f86a21499 more fixes
Original commit message from CVS:
more fixes
2001-12-16 16:28:30 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Thomas Vander Stichele
65679bab3f liblame check from autostars
Original commit message from CVS:
liblame check from autostars
2001-12-15 14:28:54 +00:00
Thomas Vander Stichele
02e08e11db m4 files for dependencies and a README
Original commit message from CVS:
m4 files for dependencies and a README
2001-12-15 11:17:47 +00:00
Thomas Vander Stichele
688e1fecdc release c++ checking comment out test
Original commit message from CVS:
release c++ checking
comment out test
2001-12-12 00:12:58 +00:00
Thomas Vander Stichele
9613fca2e2 this check should work
Original commit message from CVS:
this check should work
2001-12-11 21:15:04 +00:00