From a3ec41da2d6c8eb39b3f4d54e183a8d5d8c2166a Mon Sep 17 00:00:00 2001 From: sjborley Date: Thu, 13 Dec 2007 21:29:51 +0000 Subject: [PATCH] * Fixed(?) missing files error when autogen.sh is run (with no adms) - configure.in: removed adms directors from AC_CONFIG_FILES list * Fixed inclusion of termcap header - configure.in: add check for to - frontend/terminal.c: select either or --- ChangeLog | 7 +++++++ configure.in | 8 +++----- src/frontend/terminal.c | 4 +++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index b39ad7a86..1241d27dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-12-13 Steven Borley + * Fixed(?) missing files error when autogen.sh is run (with no adms) + - configure.in: removed adms directors from AC_CONFIG_FILES list + * Fixed inclusion of termcap header + - configure.in: add check for to + - frontend/terminal.c: select either or + 2007-12-09 Dietmar Warning * src/frontend/numparam/xpression.c: placeholder for agauss (y=nominal_value) * src/spicelib/parser/inpdomod.c: if no bsim3 version given then use 3.30 diff --git a/configure.in b/configure.in index bb55a59dc..f5ca60957 100644 --- a/configure.in +++ b/configure.in @@ -769,6 +769,9 @@ else -lncurses ) fi +dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined +AC_CHECK_HEADERS(ncurses/termcap.h termcap.h) + dnl Output Files dnl ------------ @@ -783,11 +786,6 @@ src/spinit \ src/spicelib/Makefile \ src/spicelib/analysis/Makefile \ src/spicelib/devices/Makefile \ -src/spicelib/devices/adms/hicum0/Makefile \ -src/spicelib/devices/adms/hicum2/Makefile \ -src/spicelib/devices/adms/mextram/Makefile \ -src/spicelib/devices/adms/ekv/Makefile \ -src/spicelib/devices/adms/psp102/Makefile \ src/spicelib/devices/asrc/Makefile \ src/spicelib/devices/bjt/Makefile \ src/spicelib/devices/bjt2/Makefile \ diff --git a/src/frontend/terminal.c b/src/frontend/terminal.c index 88c483b9a..b1eea062d 100644 --- a/src/frontend/terminal.c +++ b/src/frontend/terminal.c @@ -32,7 +32,9 @@ $Id$ #endif #endif -#ifdef HAVE_TERMCAP +#ifdef HAVE_TERMCAP_H +#include +#elif HAVE_NCURSES_TERMCAP_H #include #endif