Commit graph

3 commits

Author SHA1 Message Date
Peter Johnson
e6d2aab9ea * ax_create_stdint_h.m4: Fix a couple bugs.
The m4_ifvaln() call doesn't seem to serve a purpose and generated bad shell
script code (trying to actually run a header file).
_STDINT_HEADER_INTPTR ifdef shouldn't wrap INTMAX_T check.

svn path=/trunk/yasm/; revision=1519
2006-05-04 03:59:39 +00:00
Peter Johnson
846b658f5b * ax_create_stdint_h.m4: Don't bother using head -1 to get the first line of
gcc --version; this is just extra information.  POSIX needs -n 1 instead of
-1; instead of dealing with this, just disable this function.

Noticed by: Vikas Kumar <walburn@gmail.com>

svn path=/trunk/yasm/; revision=1480
2006-04-09 06:05:37 +00:00
Peter Johnson
f928be04b2 * hamt.c: Use uintptr_t to correctly cast to integer from pointer. On some
platforms (notably Win64), unsigned long is not big enough to hold a
pointer.
* Makefile.am, configure.ac: Use ax_create_stdint_h to get us uintptr_t.
* ax_create_stdint_h.m4: Implementation of ax_create_stdint_h autoconf
macro from http://ac-archive.sourceforge.net/guidod/ax_create_stdint_h.html

svn path=/trunk/yasm/; revision=1223
2005-09-05 20:53:07 +00:00