From: David Schleef Date: Tue, 21 Jan 2003 21:28:27 +0000 (+0000) Subject: Add test for ucontext.h. (Needed for cothreads.c) X-Git-Tag: BRANCH-RELEASE-0_5_2-ROOT~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e5b741993e0cffe709f14c298f5ac47f8fd8924;p=platform%2Fupstream%2Fgstreamer.git Add test for ucontext.h. (Needed for cothreads.c) Original commit message from CVS: Add test for ucontext.h. (Needed for cothreads.c) --- diff --git a/configure.ac b/configure.ac index 49aa74c..ed7ba9a 100644 --- a/configure.ac +++ b/configure.ac @@ -206,6 +206,9 @@ main() {atomic_t t; atomic_set(&t,0); atomic_inc(&t); atomic_add(1,&t);return 0; ]) fi +dnl Check for ucontext.h +AC_CHECK_HEADER(ucontext.h, AC_DEFINE(HAVE_UCONTEXT_H, 1, [defined if we have ucontext.h])) + dnl ###################################################################### dnl # Check command line parameters, and set shell variables accordingly # dnl ######################################################################