Commit graph

10 commits

Author SHA1 Message Date
Alexandre "kAworu" Perrin
cc08f45304 test for __builtin_clz() and fallback to an inline implementation.
__builtin_clz() is not defined by gcc prior to 3.4 and maybe not for some other
compiler vendors.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 20:42:03 +02:00
Uli Schlachter
46048332b0 Don't fail if execinfo is not available
Previously, cmake aborted when execinfo was not found. With this commit the
backtrace code is just disabled when execinfo is not available.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-12 20:14:56 +02:00
Julien Danjou
b780be7578 build: detect endianness at compile time
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 12:06:24 +02:00
Julien Danjou
62ec664d0f config.h: always compile with Imlib2, so remove define
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:34:00 +02:00
Matthew William Cox
84796930b7 Fix default search path for configurations
Modified lookup of system configuration to accomodate the new XDG
locations.

Add an XDG_CONFIG_DIR variable to cmake to help find/set the system-wide
configuration location.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 20:10:13 +02:00
Julien Danjou
58eac8af1c config: fix load paths
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 08:15:17 +02:00
Julien Danjou
fb13bff697 config: use XDG for loading config
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-08 14:07:56 +02:00
Michael Gehring
9206a60e88 cmake: consolidate version strings 2008-06-22 22:13:06 +02:00
Michael Gehring
8b4f39900a cmake: add WITH_IMLIB2 WITH_DBUS to config.h.in 2008-06-20 15:40:31 +02:00
Felix C. Morency
26a91507a0 * Added CMake-based build system necessary files 2008-06-19 22:28:47 +02:00