Commit be2c0fc9 by Kai Tietz

config.in (HAVE_STDINT_H): New.

2009-09-03  Kai Tietz  <kai.tietz@onevision.com>

	* config.in (HAVE_STDINT_H): New.
	* configure.ac (GCC_HEADER_STDINT): Generated gstdint.h.
	* configure: Regenerated.
	* system.h (gstdint.h): Add include.
	* Makefile.in (aclocal): Add config/stdint.m4.
	* aclocal.m4: Regenerated.

From-SVN: r151379
parent 8e094aa2
......@@ -1621,6 +1621,7 @@ aclocal_deps = \
$(srcdir)/../config/lib-prefix.m4 \
$(srcdir)/../config/override.m4 \
$(srcdir)/../config/progtest.m4 \
$(srcdir)/../config/stdint.m4 \
$(srcdir)/../config/unwind_ipinfo.m4 \
$(srcdir)/../config/warnings.m4 \
$(srcdir)/acinclude.m4
......
......@@ -114,6 +114,7 @@ m4_include([../config/lib-link.m4])
m4_include([../config/lib-prefix.m4])
m4_include([../config/override.m4])
m4_include([../config/progtest.m4])
m4_include([../config/stdint.m4])
m4_include([../config/unwind_ipinfo.m4])
m4_include([../config/warnings.m4])
m4_include([acinclude.m4])
......@@ -1144,6 +1144,9 @@
#undef HAVE_MALLOC_H
#endif
#ifndef USED_FOR_TARGET
#undef HAVE_STDINT_H
#endif
/* Define to 1 if you have the `mbstowcs' function. */
#ifndef USED_FOR_TARGET
......
......@@ -939,6 +939,8 @@ AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h iconv.h \
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
GCC_HEADER_STDINT(gstdint.h)
# These tests can't be done till we know if we have limits.h.
gcc_AC_C_CHAR_BIT
AC_C_BIGENDIAN
......
......@@ -414,6 +414,8 @@ extern void *calloc (size_t, size_t);
extern void *realloc (void *, size_t);
#endif
#include "gstdint.h"
/* If the system doesn't provide strsignal, we get it defined in
libiberty but no declaration is supplied. */
#if !defined (HAVE_STRSIGNAL) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment