Opened 10 years ago

Closed 10 years ago

#3348 closed defect (fixed)

Compilation after ./configure --with-threads fails on FreeBSD 8.0

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.7.1
Component: ConfigBuild Version: unspecified
Severity: normal Keywords:
Cc:

Description

Neither PTHREAD_MUTEX_RECURSIVE, MUTEX_TYPE_COUNTING_FAST nor PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP are set as #define on this platform, but PTHREAD_MUTEX_RECURSIVE is an enum. So detect PTHREAD_MUTEX_RECURSIVE in configure by a compilation test.

Change History (3)

comment:1 Changed 10 years ago by Even Rouault

Fixed in trunk (r18651) and in branches/1.7 (r18652)

comment:2 Changed 10 years ago by Even Rouault

Summary: ./configure --with-threads fails on FreeBSD 8.0Compilation after ./configure --with-threads fails on FreeBSD 8.0

comment:3 Changed 10 years ago by Even Rouault

Milestone: 1.7.1
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.