From: Hans-Bernhard B. <br...@us...> - 2004-02-12 18:18:24
|
Update of /cvsroot/cscope/cscope In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30676 Modified Files: configure.in Log Message: Fix Ctrl-C handler working only once per session. Index: configure.in =================================================================== RCS file: /cvsroot/cscope/cscope/configure.in,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** configure.in 14 Aug 2003 14:34:15 -0000 1.29 --- configure.in 12 Feb 2004 18:13:12 -0000 1.30 *************** *** 382,386 **** AC_HEADER_DIRENT AC_HEADER_STDC ! AC_CHECK_HEADERS(fcntl.h sys/window.h sys/termios.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. --- 382,386 ---- AC_HEADER_DIRENT AC_HEADER_STDC ! AC_CHECK_HEADERS(fcntl.h sys/window.h sys/termios.h unistd.h signal.h) dnl Checks for typedefs, structures, and compiler characteristics. *************** *** 389,392 **** --- 389,403 ---- AC_TYPE_PID_T AC_TYPE_SIZE_T + AC_CHECK_TYPE(sighandler_t,[],[],[ + #ifdef HAVE_SIGNAL_H + # include <signal.h> + #endif]) + dnl This test was ripped from gnuplot's configure.in: + AC_MSG_CHECKING(for sigsetjmp) + AC_TRY_LINK([#include <setjmp.h>], [jmp_buf env; sigsetjmp(env, 1);], + [AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SIGSETJMP,1, + [ Define if we have sigsetjmp(). ])], + AC_MSG_RESULT(no)) dnl Checks for library functions. |