Detect the presence of stdint.h

This commit is contained in:
steve 2006-04-25 22:41:10 +00:00
parent 58118bddc5
commit 39ff233cf1
2 changed files with 8 additions and 2 deletions

View File

@ -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 <stdint.h>
#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.
*

View File

@ -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)