Fix pthread compiler flags to work on Solaris and with Studio compiler
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 6 Jan 2012 23:45:29 +0000 (15:45 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 8 Jan 2012 20:49:03 +0000 (21:49 +0100)
commit504c4fa94f109338ef90a7e07b21bfafa67b8d4e
treeb7d918728793d8d70802bb363069eeda31aaef3f
parent4e3c85f153276fc297570364b71ddbdd37aeaf5a
Fix pthread compiler flags to work on Solaris and with Studio compiler

AC_USE_SYSTEM_EXTENSIONS is used to let autoconf take care of setting
the right system defintions for POSIX threads & similar extensions to
the base POSIX API.   Since it will also #define _GNU_SOURCE 1, remove
the extra setting to avoid compiler warnings about redefined macros.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
configure.ac
tests/Makefile.am
tests/gem_fence_thrash.c