Magellan Linux

Contents of /trunk/pilot-link/patches/pilot-link-0.12.4-threads.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 847 - (show annotations) (download)
Fri Jun 12 17:42:06 2009 UTC (14 years, 10 months ago) by niro
File size: 711 byte(s)
-patches for pilot-link

1 diff -Naur pilot-link-0.12.2.orig/m4/threads.m4 pilot-link-0.12.2/m4/threads.m4
2 --- pilot-link-0.12.2.orig/m4/threads.m4 2005-03-02 23:36:49.000000000 +0100
3 +++ pilot-link-0.12.2/m4/threads.m4 2007-08-25 20:36:36.000000000 +0200
4 @@ -5,9 +5,10 @@
5 #
6
7 AC_DEFUN([PILOT_LINK_THREADS_SUPPORT], [
8 - use_threads=false
9 - AC_ARG_ENABLE(threads,[ --enable-threads Add this to have built-in thread safety],use_threads=true)
10 - if $use_threads; then
11 + use_threads=true
12 + AC_ARG_ENABLE([threads], AS_HELP_STRING([--disable-threads], [Build without built-in thread safety (default: test)]))
13 +
14 + if test "x$enable_threads" != "xno"; then
15 ACX_PTHREAD
16 if test x"$acx_pthread_ok" = xno; then
17 use_threads=false