|
|
|
@ -388,7 +388,7 @@ if test "x$with_tcl" != "x" -a "$with_tcl" != "no" ; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
. $tcl_config_sh |
|
|
|
. $tcl_config_sh |
|
|
|
|
|
|
|
CFLAGS="$CFLAGS $TCL_INCLUDE_SPEC" |
|
|
|
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC" |
|
|
|
@ -400,8 +400,8 @@ if test "x$with_tcl" != "x" -a "$with_tcl" != "no" ; then |
|
|
|
fi |
|
|
|
|
|
|
|
AC_MSG_CHECKING([for TCL module BLT]) |
|
|
|
rm -f conftest.tcl |
|
|
|
cat > conftest.tcl << EOF |
|
|
|
rm -f conftest.tcl |
|
|
|
cat > conftest.tcl << EOF |
|
|
|
package require BLT; |
|
|
|
exit; |
|
|
|
EOF |
|
|
|
@ -616,7 +616,7 @@ dnl sig_t is the type of a signal handler on 4.4BSD's, |
|
|
|
dnl other systems use __sighandler_t. |
|
|
|
AC_CHECK_TYPES([sighandler_t, sig_t, __sighandler_t], [], [], |
|
|
|
[#include <sys/types.h> |
|
|
|
#include <signal.h> ]) |
|
|
|
#include <signal.h>]) |
|
|
|
|
|
|
|
dnl Check for a few libraries and headers: |
|
|
|
AC_HEADER_DIRENT |
|
|
|
@ -686,10 +686,10 @@ dnl check, if we have sigsetjmp and siglongjmp. |
|
|
|
dnl A trivial AC_CHECK_FUNCS(sigsetjmp) won't do because sigsetjmp() might be a |
|
|
|
dnl macro declared in <setjmp.h>. (joze) |
|
|
|
AC_MSG_CHECKING([for sigsetjmp]) |
|
|
|
AC_TRY_LINK([#include <setjmp.h>], [jmp_buf env; sigsetjmp(env, 1);], |
|
|
|
AC_TRY_LINK([#include <setjmp.h>],[jmp_buf env; sigsetjmp(env, 1);], |
|
|
|
[AC_MSG_RESULT([yes]) |
|
|
|
AC_DEFINE([HAVE_SIGSETJMP], [], [Define if we have sigsetjmp().])], |
|
|
|
[AC_MSG_RESULT([no])] ) |
|
|
|
[AC_MSG_RESULT([no])]) |
|
|
|
|
|
|
|
dnl Check for some headers (asprintf, dirname, etc.) |
|
|
|
AC_CHECK_HEADERS([libiberty.h libgen.h]) |
|
|
|
@ -971,7 +971,7 @@ else |
|
|
|
AC_CHECK_LIB([edit], [readline], |
|
|
|
[LIBS="$LIBS -ledit"], |
|
|
|
[AC_MSG_ERROR([Couldn't find editline libraries.])], |
|
|
|
[-lncurses ]) |
|
|
|
[-lncurses]) |
|
|
|
fi |
|
|
|
|
|
|
|
dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined |
|
|
|
|