summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* Add ax_pthread.m4 to m4/Keith Packard2016-05-291-0/+337
| | | | | | | Threaded input requires AX_PTHREAD, which is provided by this file. Signed-off-by: Keith Packard <keithp@keithp.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
* configure.ac: remove remaining TLS referencesEmil Velikov2015-03-241-55/+0
| | | | | | | | | No longer used with the removal of the GL dispatch (glapi) from libglx a few releases ago. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
* xorg-tls: fix warning, replace AC_TRY_COMPILE with AC_COMPILE_IFELSEGaetan Nadon2014-01-221-2/+2
| | | | | | | | The code produced in the configure script is identical. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* XORG_TLS: Pick the first option that works (ie: prefer __thread)Jeremy Huddleston Sequoia2013-02-141-1/+1
| | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flagsAlan Coopersmith2011-05-271-4/+2
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* glx: Silence warnings when building with clangJeremy Huddleston2011-04-252-74/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | This replaces AX_TLS (GPL3) with XORG_TLS (MIT) In file included from glapi.c:46: In file included from ./glapi.h:51: ./glthread.h:237:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ In file included from glapi.c:46: ./glapi.h:92:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ glapi.c:82:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))) = NULL; ^ glapi.c:85:20: error: unknown attribute 'tls_model' ignored [-Werror,-Wunknown-attributes] __attribute__((tls_model("initial-exec"))); ^ 4 errors generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Tested-by: Jamey Sharp <jamey@minilop.net> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
* Add macro for detecting thread local storage support.Tom Fogal2011-01-081-0/+74
| | | | | | | | | This adds an AX_TLS macro which attempts to identify if the underlying compiler/platform supports thread local storage (TLS). The macro comes from the autoconf macro archive. Signed-off-by: Tom Fogal <tfogal@alumni.unh.edu> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
* remove doltAdrian Bunk2010-09-301-181/+0
| | | | | | | | | | | With libtool 2.2.10 the difference in build time is so small (< 5% with -j8 builds) that it isn't worth having this hack. Signed-off-by: Adrian Bunk <bunk@stusta.de> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* dolt: add Cygwin to supported platformsYaakov Selkowitz2009-10-131-0/+3
| | | | | Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Keith Packard <keithp@keithp.com>
* Remove shave now that automake-1.11 has AM_SILENT_RULESAlan Coopersmith2009-10-061-73/+0
| | | | | | | | | | | | Revert "Add shave so that we can see the steaming piles of warnings generated." This reverts commit 181cc08c8908a119fc403f970dea8cc98d3e0b9b. shave was left in the xserver 1.7 release/branch to allow developers & distros time to transition to automake-1.11. xserver 1.8 series will require automake-1.11 for silencing build noise. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* Add shave so that we can see the steaming piles of warnings generated.Eric Anholt2009-04-141-0/+73
| | | | | The old style output can be reenabled for build system debugging using "make V=1", or --disable-shave at configure time.
* Move contributed m4 to a subdir so we can more easily update contributions.Eric Anholt2009-04-142-0/+227