[cairo-bugs] [Bug 4475] configure checks pthread.h but not pthread library

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 31 14:23:41 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=4475


Paolo Borelli <pborelli at katamail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pborelli at katamail.com




--- Comment #10 from Paolo Borelli <pborelli at katamail.com>  2009-08-31 14:23:39 PST ---
Apart from detection, I think configure should also be tweaked to have a proper
default value, so that eg on windows pthread is not even tested unless one
really knows what he is doing and specifies --enable-pthread.


# by default disable pthreads on platforms with native threads
AC_ARG_ENABLE(pthread,
  AS_HELP_STRING([--disable-pthread],
                 [Do not use pthread]),
  [use_pthread=$enableval],
  [case "$host" in
    *-*-mingw*)
      use_pthread=no
      ;;
    *-*-beos)
      use_pthread=no
      ;;
    *-*-os2)
      use_pthread=no
      ;;
    *)
      use_pthread=auto
      ;;
    esac
  ])


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list