dnl***************************************************************************
-dnl Copyright 2018-2021,2022 Thomas E. Dickey *
+dnl Copyright 2018-2022,2023 Thomas E. Dickey *
dnl Copyright 1998-2017,2018 Free Software Foundation, Inc. *
dnl *
dnl Permission is hereby granted, free of charge, to any person obtaining a *
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
-dnl $Id: configure.in,v 1.753 2022/11/05 20:14:56 tom Exp $
+dnl $Id: configure.in,v 1.755 2023/01/08 01:50:05 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.753 $)
+AC_REVISION($Revision: 1.755 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
### Defaults for ncurses ABI
CF_ABI_DEFAULTS
+### override ABI version, e.g., packagers
+CF_WITH_ABI_ALTERED
+
### Checks for programs.
AC_ARG_WITH(ada,
[ --without-ada suppress check for Ada compiler, don't build demo],
AC_SUBST(LIB_SUFFIX)
CF_PATHSEP
+# headers needed for checks...
+AC_CHECK_DECL(exit)
+AC_HEADER_DIRENT
+
###############################################################################
AC_MSG_CHECKING(if you want to build a separate terminfo library)
CF_NCURSES_ABI_6
fi
-case $cf_cv_abi_version in
+case $cf_cv_abi_default in
(5)
NCURSES_MOUSE_VERSION=1
;;
AC_SUBST(MATH_LIB)
### Checks for header files.
-AC_STDC_HEADERS
-AC_HEADER_DIRENT
AC_HEADER_TIME
CF_REGEX
if test -n "$RESULTING_SYMS"
then
cf_filter_syms=$cf_dft_filter_syms
- CF_VERBOSE(will map symbols to ABI=$cf_cv_abi_version)
+ CF_VERBOSE(will map symbols to ABI=$cf_cv_abi_default)
fi
if test "x$WILDCARD_SYMS" = xno
cf_LIST_MODELS="$cf_list_models"
cf_cv_VERSION_GNATMAKE=$cf_cv_VERSION_GNATMAKE
cf_cv_VERSION_GPRBUILD=$cf_cv_VERSION_GPRBUILD
+cf_cv_abi_default="$cf_cv_abi_default"
cf_cv_abi_version="$cf_cv_abi_version"
cf_cv_do_relink="$cf_cv_do_relink"
cf_cv_do_reranlib="$cf_cv_do_reranlib"