X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=acinclude.m4;h=45ea8dae4661662cbf5709a4b82a96b881c3223d;hp=0061968fd13df10dfdbe135aa78ed42482ec9e8d;hb=28a3fbcae30217a4574ec5cd64a89c8757a54cbf;hpb=ef2ed9a711c416722c34548015b4ae3621948c1c diff --git a/acinclude.m4 b/acinclude.m4 index 0061968f..45ea8dae 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -43,6 +43,10 @@ dnl When both libtermcap and libncurses exist, we prefer the latter, because dnl libtermcap is being phased out. AC_DEFUN([GINAC_TERMCAP], [LIBTERMCAP= +case $host_os in +*mingw32*) + ;; dnl no termcap libraries are necessary (need hacked libreadline) +*) AC_CHECK_FUNCS(tgetent) if test "x$ac_cv_func_tgetent" = "xyes"; then : @@ -52,6 +56,8 @@ else AC_CHECK_LIB(termcap, tgetent, LIBTERMCAP="-ltermcap") fi fi +;; +esac AC_SUBST(LIBTERMCAP) ])