Make HAVE_TERMIOS_H and associated config.sh shell variable available

when configure detects the presence of termios.h; later we'll use this
for correct configuration of edline/readline.

Also, fix a bug in acconfig.h -- somebody forgot to add an undef to
cover the LIBNDBM configure symbol, which was preventing autoheader
from working properly.
This commit is contained in:
Eric S. Raymond 2001-01-16 15:01:26 +00:00
parent 844c297da9
commit 1360359bb9
2 changed files with 7 additions and 1 deletions

View File

@ -78,6 +78,9 @@
(e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
#undef HAVE_STDARG_PROTOTYPES #undef HAVE_STDARG_PROTOTYPES
/* Define if you have termios available */
#undef HAVE_TERMIOS_H
/* Define this if you have the type uintptr_t */ /* Define this if you have the type uintptr_t */
#undef HAVE_UINTPTR_T #undef HAVE_UINTPTR_T
@ -169,6 +172,9 @@
/* Define if you want to use BSD db. */ /* Define if you want to use BSD db. */
#undef WITH_LIBDB #undef WITH_LIBDB
/* Define if you want to use ndbm. */
#undef WITH_LIBNDBM
/* Define if you want to produce an OpenStep/Rhapsody framework /* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */ (shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK #undef WITH_NEXT_FRAMEWORK

View File

@ -406,7 +406,7 @@ dnl AC_MSG_RESULT($cpp_type)
# checks for header files # checks for header files
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \ AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \ signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \ sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \
sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \ sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \ sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \