summaryrefslogtreecommitdiff
path: root/lib/autoconf/general.m4
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-05-31 07:32:27 +0000
committerAkim Demaille <akim@epita.fr>2001-05-31 07:32:27 +0000
commit7312c775f1fdce89bddec9488ae139e039752f0f (patch)
treeda8111a58023f0bebafa35938f09c1c0b0c404b9 /lib/autoconf/general.m4
parentede868b1e6fd5eba22f71dd93e534d3886ec1e20 (diff)
downloadautoconf-7312c775f1fdce89bddec9488ae139e039752f0f.tar.gz
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
stdlib.h. From Paul Eggert and Lars Hecking.
Diffstat (limited to 'lib/autoconf/general.m4')
-rw-r--r--lib/autoconf/general.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 0d8c7600..3deae136 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -2333,13 +2333,17 @@ ac_includes_default="\
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+# include <stdint.h>
+# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"
])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
-AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h unistd.h)
+AC_CHECK_HEADERS(stdlib.h string.h memory.h strings.h inttypes.h stdint.h unistd.h)
])