Commit graph

3 commits

Author SHA1 Message Date
Alan Coopersmith
caa71668af Use __builtin_popcountl if available to replace Ones() in GetImage.c
If the compiler knows of a better algorithm for counting the number of
bits set in a word for the target CPU, let it use that, instead of the
classic algorithm optimized for PDP-6.

Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-09-28 16:16:07 -07:00
James Cloos
da099f0d20 Revert “Dolt-ify"
Libtool’s is now sufficiently fast that DOLT is no longer
worth the bother, even on those few systems where is works.

This reverts commit 3e9afd501e
and part of commit d31e644c65.

It conflicted with commit f6a4fd0c76
which moved dolt from configure.ac to m4/dolt.m4.

And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188

Signed-off-by: James Cloos <cloos@jhcloos.com>
2010-09-13 05:27:41 -04:00
Gaetan Nadon
f6a4fd0c76 config: update and relocate AC_DEFINE_DIR macro
Remove deprecated acinclude.m4 macro container file
Use separate macro files as per autoconf recommendation
Use the latest macro from GNU (ax) which replaces
the non-gnu version (ac)
This preserves the Autoconf macro AC namespace.

Also moved out of acinclude.m4 is the DOLT macro

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-06 11:23:44 -04:00