X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=configure.in;h=c14ebe7914410d07cdd3d1e45716cbcdf59b10a8;hp=dab67f614fa1dc5a6d9642a5bab5546ac2c67455;hb=b8da182f141a5d0e6bd6a7758a1c100ba4172610;hpb=89407f55b3f245bea3a8884c074940cd325ec3da diff --git a/configure.in b/configure.in index dab67f61..c14ebe79 100644 --- a/configure.in +++ b/configure.in @@ -28,14 +28,14 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.576 2013/11/16 23:22:48 tom Exp $ +dnl $Id: configure.in,v 1.577 2013/12/15 00:03:02 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl See http://invisible-island.net/autoconf/ for additional information. dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.52.20030208) -AC_REVISION($Revision: 1.576 $) +AC_REVISION($Revision: 1.577 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -1961,6 +1961,17 @@ solaris2*) #(vi ;; esac +# AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. +case "x$NCURSES_OSPEED" in #(vi +*short*) #(vi + cf_compatible=1 + ;; +*) + cf_compatible=0 + ;; +esac +AC_DEFINE_UNQUOTED(NCURSES_OSPEED_COMPAT,$cf_compatible,[Define to 1 if termcap variable ospeed is short]) + SUB_SCRIPTS= AC_OUTPUT( \