From 23b13f56ee315dabce52b7e54ea4cbd33097f9b7 Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Sat, 13 Nov 1999 01:28:19 +0000 Subject: Add support for threads (use at your own risk) Submitted by: Carlos A M dos Santos --- x11/XFree86/scripts/configure | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'x11/XFree86') diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure index f103b10daf9e..40e339961f1c 100644 --- a/x11/XFree86/scripts/configure +++ b/x11/XFree86/scripts/configure @@ -361,6 +361,13 @@ if [ $cpkb != NO ]; then echo "#define HasKrb4 $answ" >> $F fi +echo +yesno "Do you want to compile with threads support? (experimental)" +if [ $answ = YES ]; then + THREADS_PATCH=$FILESDIR/BSD-threads.diff +else + THREADS_PATCH= +fi echo echo "End of configuration questions. No more user input required" echo @@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then echo "===> Applying KerberosIV patches" patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH fi +if [ X$THREADS_PATCH != X ]; then + echo "===> Applying threads patches" + patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH +fi cat $F >> $WRKDIR/xc/config/cf/xf86site.def -- cgit v1.2.3