diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-29 03:23:43 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-29 03:23:43 +0000 |
commit | 3db3a9da5f3860852c8b71db255a42fc81d66b82 (patch) | |
tree | 93ad43b9d8d7010d6fd5da87b1316af5f6500f20 /configure | |
parent | [w3m-dev 02919] no need of width (diff) | |
download | w3m-3db3a9da5f3860852c8b71db255a42fc81d66b82.tar.gz w3m-3db3a9da5f3860852c8b71db255a42fc81d66b82.zip |
[w3m-dev 02921] use inttypes.h instead of stdint.h
* configure: check inttypes.h instead of stdint.h
* config.h.dist: s/STDINT_H/INTTYPES_H/
* mktable.c: use inttypes.h instead of stdint.h
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rwxr-xr-x | configure | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.55 2002/01/21 15:56:13 ukai Exp $ +# $Id: configure,v 1.56 2002/01/29 03:23:44 ukai Exp $ # Configuration. # @@ -1717,20 +1717,21 @@ else def_have_sys_select_h='#undef HAVE_SYS_SELECT_H' fi -####### check for stdint.h +####### check for inttypes cat > _zmachdep.c <<EOF -#include <stdint.h> +#include <inttypes.h> main() { + uintptr_t p; ; } EOF if $cc $cflags -c _zmachdep.c > /dev/null 2>&1 then - echo "You have stdint.h." - def_have_stdint_h='#define HAVE_STDINT_H' + echo "You have inttypes.h." + def_have_inttypes_h='#define HAVE_INTTYPES_H' else - def_have_stdint_h='#undef HAVE_STDINT_H' + def_have_inttypes_h='#undef HAVE_INTTYPES_H' fi ####### setpgrp(pid, pgrp) or setpgrp() ? @@ -2134,7 +2135,7 @@ $def_longjmp $def_jmpbuf $def_have_float_h $def_have_sys_select_h -$def_have_stdint_h +$def_have_inttypes_h $def_sighandler $def_sig_arg |