summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure6
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--NetWare/config.wc1
-rw-r--r--Porting/Glossary5
-rw-r--r--Porting/config.sh1
-rwxr-xr-xconfig_h.SH6
-rw-r--r--configure.com1
-rw-r--r--plan9/config_sh.sample1
-rw-r--r--symbian/config.sh1
-rw-r--r--uconfig.h10
-rw-r--r--uconfig.sh1
-rw-r--r--uconfig64.sh1
-rw-r--r--win32/config.ce1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
15 files changed, 36 insertions, 2 deletions
diff --git a/Configure b/Configure
index fbf239bb49..eac67ea53d 100755
--- a/Configure
+++ b/Configure
@@ -954,6 +954,7 @@ i_shadow=''
i_socks=''
i_stdbool=''
i_stddef=''
+i_stdint=''
i_stdlib=''
i_string=''
strings=''
@@ -5752,6 +5753,10 @@ do set $yyy; var=$2; eval "was=\$$2";
set $yyy; shift; shift; yyy=$@;
done'
+: see if stdint is available
+set stdint.h i_stdint
+eval $inhdr
+
: see if stdlib is available
set stdlib.h i_stdlib
eval $inhdr
@@ -23810,6 +23815,7 @@ i_socks='$i_socks'
i_stdarg='$i_stdarg'
i_stdbool='$i_stdbool'
i_stddef='$i_stddef'
+i_stdint='$i_stdint'
i_stdlib='$i_stdlib'
i_string='$i_string'
i_sunmath='$i_sunmath'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index d9ac805946..da74cf0125 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -693,6 +693,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='define'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index c96669383c..1fc3b982fb 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -675,6 +675,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='define'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/Porting/Glossary b/Porting/Glossary
index 563273a106..4b4cc1b7bb 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -3257,6 +3257,11 @@ i_stddef (i_stddef.U):
indicates to the C program that <stddef.h> exists and should
be included.
+i_stdint (i_stdint.U):
+ This variable conditionally defines the I_STDINT symbol, which
+ indicates to the C program that <stdint.h> exists and should
+ be included.
+
i_stdlib (i_stdlib.U):
This variable conditionally defines the I_STDLIB symbol, which
indicates to the C program that <stdlib.h> exists and should
diff --git a/Porting/config.sh b/Porting/config.sh
index ec9b418866..4521f5b69b 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -708,6 +708,7 @@ i_socks='define'
i_stdarg='define'
i_stdbool='define'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/config_h.SH b/config_h.SH
index d947b79ba8..30374b7535 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -744,6 +744,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_stddef I_STDDEF /**/
+/* I_STDINT:
+ * This symbol, if defined, indicates that <stdint.h> exists and should
+ * be included.
+ */
+#$i_stdint I_STDINT /**/
+
/* I_STDLIB:
* This symbol, if defined, indicates that <stdlib.h> exists and should
* be included.
diff --git a/configure.com b/configure.com
index 4beb059956..001ae8ac2d 100644
--- a/configure.com
+++ b/configure.com
@@ -6448,6 +6448,7 @@ $ ELSE
$ WC "i_stdbool='undef'"
$ ENDIF
$ WC "i_stddef='define'"
+$ WC "i_stdint='undef'"
$ WC "i_stdlib='define'"
$ WC "i_string='define'"
$ WC "i_sunmath='undef'"
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index e61deb113d..7a9b5caf4d 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -687,6 +687,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/symbian/config.sh b/symbian/config.sh
index cc8f2dcb33..4cd1cd2150 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -614,6 +614,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='undef'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/uconfig.h b/uconfig.h
index 4543b89448..d55873a0bf 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -709,6 +709,12 @@
*/
#define I_STDDEF /**/
+/* I_STDINT:
+ * This symbol, if defined, indicates that <stdint.h> exists and should
+ * be included.
+ */
+/*#define I_STDINT / **/
+
/* I_STDLIB:
* This symbol, if defined, indicates that <stdlib.h> exists and should
* be included.
@@ -4803,6 +4809,6 @@
#endif
/* Generated from:
- * d11e261bb139be0ee56e1999842277e01b6c71ad49dcb6334cea88f982648fb4 config_h.SH
- * 11ac8affd49fd0343b02249879adb0b00934fdfa8405591f28f73077e00105ab uconfig.sh
+ * 0f8a0a7c63b386e4ced948683f663789f15d702182a8443f833613f5d7cfecc7 config_h.SH
+ * a4410f6212dd1c64a11e20c38b71f6449fbafd923141b5e5dcd867e0dfd4dadb uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index 84cd7c5ad0..b6d505bf14 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -600,6 +600,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/uconfig64.sh b/uconfig64.sh
index ff0f48c9c1..fec0e8acf0 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -601,6 +601,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/win32/config.ce b/win32/config.ce
index de8c776841..afabb9a01c 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -671,6 +671,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/win32/config.gc b/win32/config.gc
index 58c0fbcff6..428006e8d6 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -683,6 +683,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='define'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'
diff --git a/win32/config.vc b/win32/config.vc
index a20b04b46c..5f8265863b 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -682,6 +682,7 @@ i_socks='undef'
i_stdarg='define'
i_stdbool='undef'
i_stddef='define'
+i_stdint='undef'
i_stdlib='define'
i_string='define'
i_sunmath='undef'