add stdint.h and mop up configure.in

This commit is contained in:
tg 2004-05-24 19:08:52 +00:00
parent 712a3cc064
commit bb629ad8eb
2 changed files with 7 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $MirBSD: conf-end.h,v 1.4 2004/05/24 19:06:54 tg Exp $ */
/* $MirBSD: conf-end.h,v 1.5 2004/05/24 19:08:52 tg Exp $ */
/* $OpenBSD: conf-end.h,v 1.2 1996/08/25 12:37:58 downsj Exp $ */
/* Include ksh features? */
@ -90,6 +90,10 @@
# endif /* HAVE_SYS_TYPES_H */
#endif /* HAVE_SYS_PARAM_H */
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
/* pdksh assumes system calls return EINTR if a signal happened (this so
* the signal handler doesn't have to longjmp()). I don't know if this
* happens (or can be made to happen) with sigset() et. al. (the bsd41 signal

View File

@ -1,4 +1,4 @@
dnl $MirBSD: configure.in,v 1.6 2004/05/24 19:06:54 tg Exp $
dnl $MirBSD: configure.in,v 1.7 2004/05/24 19:08:52 tg Stab $
dnl
dnl Process this file with autoconf to produce a configure script
dnl
@ -10,7 +10,6 @@ dnl
dnl
dnl Start of auto-configuration stuff...
dnl
dnl
AC_PROG_CC
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
@ -20,19 +19,17 @@ dnl
dnl Program name munging stuff (prefix, suffix, transform)
AC_ARG_PROGRAM
dnl
dnl
dnl Headers
dnl
AC_HEADER_DIRENT
KSH_UNISTD_H
KSH_TERM_CHECK
AC_CHECK_HEADERS(sys/param.h sys/types.h sys/resource.h sys/time.h \
stddef.h stdlib.h string.h limits.h paths.h \
stddef.h stdlib.h stdint.h string.h limits.h paths.h \
memory.h fcntl.h values.h ulimit.h)
AC_HEADER_TIME
KSH_HEADER_SYS_WAIT
dnl
dnl
dnl Typedefs
dnl
dnl (don't use AC_TYPE_XXX() 'cause it doesn't check word boundaries)
@ -67,7 +64,6 @@ KSH_CHECK_H_TYPE(sigset_t, for sigset_t in <sys/types.h> and <signal.h>,
[#include <signal.h>], unsigned)
KSH_RLIM_CHECK
dnl
dnl
dnl Library functions
dnl
KSH_MEMMOVE
@ -85,13 +81,11 @@ KSH_SYS_SIGLIST
KSH_TIME_DECLARED
KSH_TIMES_CHECK
dnl
dnl
dnl Structures
dnl
AC_HEADER_STAT
AC_STRUCT_ST_RDEV
dnl
dnl
dnl Compiler characteristics
dnl
AC_C_CONST
@ -100,7 +94,6 @@ KSH_C_VOLATILE
KSH_C_PROTOTYPES
KSH_C_FUNC_ATTR
dnl
dnl
dnl System services
dnl
AC_SYS_INTERPRETER
@ -108,7 +101,6 @@ if test $ac_cv_sys_interpreter = no;
then AC_DEFINE(SHARPBANG)
fi
dnl
dnl
dnl Misc ksh tests
dnl
KSH_DUP2_CLEXEC_CHECK