aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-29 16:23:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-29 16:23:37 +0000
commit80727e4b0244a99b091b16051cb239d8964cae00 (patch)
tree3910dfe3f71884e1febb2b27e078f6e7d02f22af /configure
parent[w3m-dev 02921] use inttypes.h instead of stdint.h (diff)
downloadw3m-80727e4b0244a99b091b16051cb239d8964cae00.tar.gz
w3m-80727e4b0244a99b091b16051cb239d8964cae00.zip
[w3m-dev 02920] don't use inttypes.h and/or stdint.h
* mktable.c: remove inttypes.h, uintptr_t, use unsigned long instead * configure: remove inttypes.h detection * config.h.dist: remove HAVE_INTTYPES_H From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rwxr-xr-xconfigure20
1 files changed, 1 insertions, 19 deletions
diff --git a/configure b/configure
index 4c7c641..0cdf96a 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.56 2002/01/29 03:23:44 ukai Exp $
+# $Id: configure,v 1.57 2002/01/29 16:23:37 ukai Exp $
# Configuration.
#
@@ -1717,23 +1717,6 @@ else
def_have_sys_select_h='#undef HAVE_SYS_SELECT_H'
fi
-####### check for inttypes
-cat > _zmachdep.c <<EOF
-#include <inttypes.h>
-main()
-{
- uintptr_t p;
- ;
-}
-EOF
-if $cc $cflags -c _zmachdep.c > /dev/null 2>&1
-then
- echo "You have inttypes.h."
- def_have_inttypes_h='#define HAVE_INTTYPES_H'
-else
- def_have_inttypes_h='#undef HAVE_INTTYPES_H'
-fi
-
####### setpgrp(pid, pgrp) or setpgrp() ?
cat > _zmachdep.c << EOF
#include <unistd.h>
@@ -2135,7 +2118,6 @@ $def_longjmp
$def_jmpbuf
$def_have_float_h
$def_have_sys_select_h
-$def_have_inttypes_h
$def_sighandler
$def_sig_arg