From 39ff233cf16e9c9b1c78d9a57b00ae1ea0871112 Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 25 Apr 2006 22:41:10 +0000 Subject: [PATCH] Detect the presence of stdint.h --- vvp/config.h.in | 8 +++++++- vvp/configure.in | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/vvp/config.h.in b/vvp/config.h.in index 199a374f2..55ae75887 100644 --- a/vvp/config.h.in +++ b/vvp/config.h.in @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: config.h.in,v 1.20 2005/09/14 02:50:07 steve Exp $" +#ident "$Id: config.h.in,v 1.21 2006/04/25 22:41:10 steve Exp $" #endif #if defined(__cplusplus) @@ -48,6 +48,7 @@ # undef HAVE_LIBREADLINE # undef HAVE_READLINE_READLINE_H # undef HAVE_READLINE_HISTORY_H +# undef HAVE_STDINT_H /* Figure if I can use readline. */ #undef USE_READLINE @@ -61,7 +62,9 @@ # define MODULE_DIR "." #endif +#ifdef HAVE_STDINT_H # include +#endif #if SIZEOF_UNSIGNED >= 8 typedef unsigned vvp_time64_t; @@ -107,6 +110,9 @@ typedef unsigned long vvp_time64_t; /* * $Log: config.h.in,v $ + * Revision 1.21 2006/04/25 22:41:10 steve + * Detect the presence of stdint.h + * * Revision 1.20 2005/09/14 02:50:07 steve * Add word integer compares. * diff --git a/vvp/configure.in b/vvp/configure.in index 7704c1912..cf5b7e848 100644 --- a/vvp/configure.in +++ b/vvp/configure.in @@ -35,7 +35,7 @@ fi AC_PROG_INSTALL AC_LANG_CPLUSPLUS -AC_CHECK_HEADERS(getopt.h malloc.h iosfwd) +AC_CHECK_HEADERS(getopt.h malloc.h stdint.h iosfwd) AC_CHECK_SIZEOF(unsigned long long) AC_CHECK_SIZEOF(unsigned long)