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 $ */ /* $OpenBSD: conf-end.h,v 1.2 1996/08/25 12:37:58 downsj Exp $ */
/* Include ksh features? */ /* Include ksh features? */
@ -90,6 +90,10 @@
# endif /* HAVE_SYS_TYPES_H */ # endif /* HAVE_SYS_TYPES_H */
#endif /* HAVE_SYS_PARAM_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 /* 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 * 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 * 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
dnl Process this file with autoconf to produce a configure script dnl Process this file with autoconf to produce a configure script
dnl dnl
@ -10,7 +10,6 @@ dnl
dnl dnl
dnl Start of auto-configuration stuff... dnl Start of auto-configuration stuff...
dnl dnl
dnl
AC_PROG_CC AC_PROG_CC
AC_PROG_CPP AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL AC_PROG_GCC_TRADITIONAL
@ -20,19 +19,17 @@ dnl
dnl Program name munging stuff (prefix, suffix, transform) dnl Program name munging stuff (prefix, suffix, transform)
AC_ARG_PROGRAM AC_ARG_PROGRAM
dnl dnl
dnl
dnl Headers dnl Headers
dnl dnl
AC_HEADER_DIRENT AC_HEADER_DIRENT
KSH_UNISTD_H KSH_UNISTD_H
KSH_TERM_CHECK KSH_TERM_CHECK
AC_CHECK_HEADERS(sys/param.h sys/types.h sys/resource.h sys/time.h \ 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) memory.h fcntl.h values.h ulimit.h)
AC_HEADER_TIME AC_HEADER_TIME
KSH_HEADER_SYS_WAIT KSH_HEADER_SYS_WAIT
dnl dnl
dnl
dnl Typedefs dnl Typedefs
dnl dnl
dnl (don't use AC_TYPE_XXX() 'cause it doesn't check word boundaries) 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) [#include <signal.h>], unsigned)
KSH_RLIM_CHECK KSH_RLIM_CHECK
dnl dnl
dnl
dnl Library functions dnl Library functions
dnl dnl
KSH_MEMMOVE KSH_MEMMOVE
@ -85,13 +81,11 @@ KSH_SYS_SIGLIST
KSH_TIME_DECLARED KSH_TIME_DECLARED
KSH_TIMES_CHECK KSH_TIMES_CHECK
dnl dnl
dnl
dnl Structures dnl Structures
dnl dnl
AC_HEADER_STAT AC_HEADER_STAT
AC_STRUCT_ST_RDEV AC_STRUCT_ST_RDEV
dnl dnl
dnl
dnl Compiler characteristics dnl Compiler characteristics
dnl dnl
AC_C_CONST AC_C_CONST
@ -100,7 +94,6 @@ KSH_C_VOLATILE
KSH_C_PROTOTYPES KSH_C_PROTOTYPES
KSH_C_FUNC_ATTR KSH_C_FUNC_ATTR
dnl dnl
dnl
dnl System services dnl System services
dnl dnl
AC_SYS_INTERPRETER AC_SYS_INTERPRETER
@ -108,7 +101,6 @@ if test $ac_cv_sys_interpreter = no;
then AC_DEFINE(SHARPBANG) then AC_DEFINE(SHARPBANG)
fi fi
dnl dnl
dnl
dnl Misc ksh tests dnl Misc ksh tests
dnl dnl
KSH_DUP2_CLEXEC_CHECK KSH_DUP2_CLEXEC_CHECK