snapshot of project "ncurses", label v6_2_20210703

This commit is contained in:
Thomas E. Dickey 2021-07-03 20:25:05 +00:00
parent a87a50b726
commit 13aa16e9f9
37 changed files with 5794 additions and 4990 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.26 2021/01/23 20:34:50 tom Exp $
# $Id: Makefile.in,v 1.28 2021/07/03 18:54:54 tom Exp $
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2010,2015 Free Software Foundation, Inc. #
@ -31,7 +31,7 @@
# Author: Juergen Pfeifer, 1996
#
# Version Control
# $Revision: 1.26 $
# $Revision: 1.28 $
#
SHELL = @SHELL@
VPATH = @srcdir@
@ -42,6 +42,21 @@ SUBDIRS = @ADA_SUBDIRS@
TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
@SET_MAKE@
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
sources \
@ -72,6 +87,8 @@ realclean ::
-rm -f config.cache config.log config.status include/ncurses_cfg.h
-rm -f Makefile
depend :
tags :
@

85
Ada95/aclocal.m4 vendored
View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey
dnl
dnl $Id: aclocal.m4,v 1.176 2021/06/19 23:44:07 tom Exp $
dnl $Id: aclocal.m4,v 1.177 2021/07/03 20:24:36 tom Exp $
dnl Macros used in NCURSES Ada95 auto-configuration script.
dnl
dnl These macros are maintained separately from NCURSES. The copyright on
@ -2526,6 +2526,89 @@ CF_EOF
AC_SUBST(cf_cv_makeflags)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_PHONY version: 3 updated: 2021/01/08 16:08:21
dnl -------------
dnl Check if the make-program handles a ".PHONY" target, e.g,. a target which
dnl acts as a placeholder.
dnl
dnl The ".PHONY" feature was proposed in 2011 here
dnl https://www.austingroupbugs.net/view.php?id=523
dnl and is scheduled for release in P1003.1 Issue 8 (late 2022).
dnl
dnl This is not supported by SVr4 make (or SunOS 4, 4.3SD, etc), but works with
dnl a few others (i.e., GNU make and the non-POSIX "BSD" make):
dnl
dnl + This is a GNU make feature (since April 1988, but in turn from binutils,
dnl date unspecified).
dnl
dnl + It was adopted in NetBSD make in June 1995.
dnl
dnl + The other BSD make programs are derived from the NetBSD make (and for
dnl that reason are not actually different "implementations").
dnl
dnl + Some features of NetBSD make were actually adapted from pmake, which
dnl began as a modified GNU make starting in 1993.
dnl
dnl + Version 3.8 of the dmake program in January 1992 also implemented this
dnl GNU make extension, but is less well known than the BSD make.
AC_DEFUN([CF_MAKE_PHONY],[
AC_CACHE_CHECK(for \".PHONY\" make-support, cf_cv_make_PHONY,[
rm -rf conftest*
(
mkdir conftest || exit 1
cd conftest
cat >makefile <<'CF_EOF'
.PHONY: always
DATA=0
always: always.out
@echo "** making [$]@ [$](DATA)"
once: once.out
@echo "** making [$]@ [$](DATA)"
always.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
once.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
CF_EOF
for cf_data in 1 2 3
do
${MAKE:-make} always DATA=$cf_data
${MAKE:-make} once DATA=$cf_data
${MAKE:-make} -t always once
if test -f always ; then
echo "no (case 1)" > ../conftest.tmp
elif test ! -f always.out ; then
echo "no (case 2)" > ../conftest.tmp
elif test ! -f once.out ; then
echo "no (case 3)" > ../conftest.tmp
elif ! cmp -s always.out once.out ; then
echo "no (case 4)" > ../conftest.tmp
diff always.out once.out
else
cf_check="`cat always.out`"
if test "x$cf_check" != "x$cf_data" ; then
echo "no (case 5)" > ../conftest.tmp
else
echo yes > ../conftest.tmp
rm -f ./*.out
continue
fi
fi
break
done
) >&AC_FD_CC 2>&1
cf_cv_make_PHONY="`cat conftest.tmp`"
rm -rf conftest*
])
MAKE_NO_PHONY="#"
MAKE_PHONY="#"
test "x$cf_cv_make_PHONY" = xyes && MAKE_PHONY=
test "x$cf_cv_make_PHONY" != xyes && MAKE_NO_PHONY=
AC_SUBST(MAKE_NO_PHONY)
AC_SUBST(MAKE_PHONY)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_TAGS version: 6 updated: 2010/10/23 15:52:32
dnl ------------
dnl Generate tags/TAGS targets for makefiles. Do not generate TAGS if we have

2392
Ada95/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey
dnl
dnl $Id: configure.in,v 1.82 2021/01/09 11:20:33 tom Exp $
dnl $Id: configure.in,v 1.83 2021/07/03 20:23:24 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
@ -37,8 +37,8 @@ dnl https://invisible-island.net/autoconf/
dnl https://invisible-island.net/autoconf/my-autoconf.html
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20200111)
AC_REVISION($Revision: 1.82 $)
AC_PREREQ(2.52.20210509)
AC_REVISION($Revision: 1.83 $)
AC_INIT(gen/gen.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
@ -102,6 +102,7 @@ fi
# do this after mixed-case option (tags/TAGS is not as important as tic).
AC_PROG_MAKE_SET
CF_MAKE_PHONY
CF_MAKE_TAGS
CF_MAKEFLAGS

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.8 2021/01/23 20:42:08 tom Exp $
# $Id: Makefile.in,v 1.9 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2019-2020,2021 Thomas E. Dickey #
# Copyright 2011-2015,2018 Free Software Foundation, Inc. #
@ -52,9 +52,26 @@ THIS = @ADA_LIBNAME@
DOCDIR = $(DESTDIR)$(datadir)/doc/$(THIS)
MANDIR = $(DESTDIR)$(mandir)/man1
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.html
@MAKE_PHONY@.PHONY : install.man
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : lint
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.html
@MAKE_PHONY@.PHONY : uninstall.man
all \
sources \
depend \
tags :
$(DOCDIR) \

View File

@ -30,7 +30,7 @@
# Author: Juergen Pfeifer, 1996
# and: Thomas E. Dickey, 1997
#
# $Id: Makefile.in,v 1.96 2021/01/23 20:42:08 tom Exp $
# $Id: Makefile.in,v 1.97 2021/07/03 15:45:33 tom Exp $
#
.SUFFIXES:
@ -143,6 +143,19 @@ GEN_SRC = $(srcdir)/$(ABASE).ads.m4 \
$(srcdir)/$(ABASE)-forms-field_user_data.ads.m4 \
$(srcdir)/$(ABASE)-panels-user_data.ads.m4
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs : $(GEN_TARGETS)

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.6 2020/02/02 23:34:34 tom Exp $
# $Id: Makefile.in,v 1.7 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020 Thomas E. Dickey #
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 2010-2015,2018 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -60,9 +60,21 @@ AUTO_SRC = \
ncurses_def.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
depend \
sources \
install :: $(AUTO_SRC)

View File

@ -29,7 +29,7 @@
#
# Author: Juergen Pfeifer, 1996
#
# $Id: Makefile.in,v 1.63 2021/06/17 21:11:08 tom Exp $
# $Id: Makefile.in,v 1.64 2021/07/03 15:45:33 tom Exp $
#
.SUFFIXES:
@ -109,6 +109,22 @@ LARGS = -largs -L../lib -l@ADA_LIBNAME@ @TEST_ARG2@ $(LD_FLAGS) @TEST_LIBS2@
PROGS = tour$x ncurses$x @USE_GNAT_SIGINT@ rain$x
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.examples
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.examples
@MAKE_PHONY@.PHONY : uninstall.libs
all :: $(PROGS)
@echo made $@

View File

@ -29,7 +29,7 @@
#
# Author: Juergen Pfeifer, 1996
#
# $Id: Makefile.in,v 1.95 2021/01/23 20:42:08 tom Exp $
# $Id: Makefile.in,v 1.96 2021/07/03 15:45:33 tom Exp $
#
.SUFFIXES:
@ -174,6 +174,20 @@ GENOBJS=$(ABASE)-menus-menu_user_data.o \
$(ABASE)-text_io-modular_io.o \
$(ABASE)-text_io-complex_io.o
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all :: $(BUILD_DIR_LIB)/$(STATIC_LIBNAME)
@echo done

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.43 2020/02/02 23:34:34 tom Exp $
# $Id: Makefile.in,v 1.44 2021/07/03 14:31:59 tom Exp $
##############################################################################
# Copyright 2018-2019,2020 Thomas E. Dickey #
# Copyright 1998-2014,2015 Free Software Foundation, Inc. #
@ -67,6 +67,19 @@ INSTALL_DATA = @INSTALL_DATA@
DIRS_TO_MAKE = @DIRS_TO_MAKE@
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : preinstall
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : tags
@MAKE_PHONY@.PHONY : uninstall
all :: $(DIRS_TO_MAKE)
$(DIRS_TO_MAKE) :
@ -99,7 +112,7 @@ preinstall :
distclean \
realclean ::
check:
check :
@ echo The test-programs are interactive

7
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.3678 2021/06/26 20:47:31 tom Exp $
-- $Id: NEWS,v 1.3680 2021/07/03 19:02:51 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@ -46,6 +46,11 @@ See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
20210703
+ amend libtool configuration to add dependency for install.tic, etc.,
in ncurses/Makefile on the lower-level libraries.
+ modify configure script to support ".PHONY" make program feature.
20210626
+ add configure option --disable-root-access, which tells ncurses to
disallow most file-opens by setuid processes.

View File

@ -1 +1 @@
5:0:10 6.2 20210626
5:0:10 6.2 20210703

141
aclocal.m4 vendored
View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
dnl $Id: aclocal.m4,v 1.963 2021/06/19 23:41:36 tom Exp $
dnl $Id: aclocal.m4,v 1.969 2021/07/03 20:17:35 tom Exp $
dnl Macros used in NCURSES auto-configuration script.
dnl
dnl These macros are maintained separately from NCURSES. The copyright on
@ -4302,7 +4302,7 @@ ifelse($1,,,[$1=$LIB_PREFIX])
AC_SUBST(LIB_PREFIX)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_LIB_RULES version: 95 updated: 2021/03/20 12:00:25
dnl CF_LIB_RULES version: 96 updated: 2021/07/03 16:16:40
dnl ------------
dnl Append definitions and rules for the given models to the subdirectory
dnl Makefiles, and the recursion rule for the top-level Makefile. If the
@ -4319,6 +4319,7 @@ dnl
dnl Note: Libs_To_Make is mixed case, since it is not a pure autoconf variable.
AC_DEFUN([CF_LIB_RULES],
[AC_REQUIRE([AC_PROG_FGREP])dnl
AC_REQUIRE([CF_MAKE_PHONY])dnl
cf_prefix=$LIB_PREFIX
AC_REQUIRE([CF_SUBST_NCURSES_VERSION])
@ -4639,6 +4640,8 @@ CF_EOF
traces=$LIB_TRACING \
MODEL=$cf_ITEM \
CXX_MODEL=$CXX_MODEL \
LIB_SUFFIX=$LIB_SUFFIX \
make_phony="${cf_cv_make_PHONY:-no}" \
model=$cf_subdir \
prefix=$cf_prefix \
suffix=$cf_suffix \
@ -4686,6 +4689,21 @@ CF_EOF
echo ' ( cd '$cf_dir' && ${MAKE} ${TOP_MFLAGS} [$]@ )' >>Makefile
done
echo >> Makefile
echo '# generated by CF_LIB_RULES' >> Makefile
if test "x$cf_cv_make_PHONY" = xyes ; then
cat >> Makefile <<-CF_EOF
.PHONY : libs
.PHONY : lintlib
.PHONY : install.includes
.PHONY : uninstall.includes
.PHONY : install.libs
.PHONY : uninstall.libs
CF_EOF
fi
for cf_dir in $SRC_SUBDIRS
do
if test ! -d "$srcdir/$cf_dir" ; then
@ -4704,6 +4722,15 @@ do
fi
if test -f "$srcdir/$cf_dir/modules" ; then
if test "x$cf_cv_make_PHONY" = xyes ; then
cat >> Makefile <<-CF_EOF
.PHONY : install.$cf_dir
.PHONY : uninstall.$cf_dir
CF_EOF
fi
echo >> Makefile
if test -f "$srcdir/$cf_dir/headers" ; then
cat >> Makefile <<CF_EOF
@ -4712,9 +4739,8 @@ uninstall.includes \\
CF_EOF
fi
echo 'lint \' >> Makefile
cat >> Makefile <<CF_EOF
lint \\
libs \\
lintlib \\
install.libs \\
@ -4736,6 +4762,14 @@ CF_EOF
fi
done
if test "x$cf_cv_make_PHONY" = xyes ; then
cat >> Makefile <<-CF_EOF
.PHONY : install.data
.PHONY : uninstall.data
CF_EOF
fi
if test "x$cf_with_db_install" = xyes; then
cat >> Makefile <<CF_EOF
@ -4752,6 +4786,15 @@ CF_EOF
fi
if test "x$cf_with_manpages" = xyes; then
if test "x$cf_cv_make_PHONY" = xyes ; then
cat >> Makefile <<-CF_EOF
.PHONY : install.man
.PHONY : uninstall.man
CF_EOF
fi
cat >> Makefile <<CF_EOF
install.man \\
@ -4884,6 +4927,13 @@ do
if test -f "$srcdir/$cf_dir/modules" ; then
if test "$cf_dir" != "c++" ; then
if test "x$cf_cv_make_PHONY" = xyes ; then
cat >> $cf_dir/Makefile <<-CF_EOF
.PHONY : depend
CF_EOF
fi
cat >>$cf_dir/Makefile <<"CF_EOF"
depend : ${AUTO_SRC}
makedepend -- ${CPPFLAGS} -- ${C_SRC}
@ -5221,6 +5271,89 @@ CF_EOF
AC_SUBST(cf_cv_makeflags)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_PHONY version: 3 updated: 2021/01/08 16:08:21
dnl -------------
dnl Check if the make-program handles a ".PHONY" target, e.g,. a target which
dnl acts as a placeholder.
dnl
dnl The ".PHONY" feature was proposed in 2011 here
dnl https://www.austingroupbugs.net/view.php?id=523
dnl and is scheduled for release in P1003.1 Issue 8 (late 2022).
dnl
dnl This is not supported by SVr4 make (or SunOS 4, 4.3SD, etc), but works with
dnl a few others (i.e., GNU make and the non-POSIX "BSD" make):
dnl
dnl + This is a GNU make feature (since April 1988, but in turn from binutils,
dnl date unspecified).
dnl
dnl + It was adopted in NetBSD make in June 1995.
dnl
dnl + The other BSD make programs are derived from the NetBSD make (and for
dnl that reason are not actually different "implementations").
dnl
dnl + Some features of NetBSD make were actually adapted from pmake, which
dnl began as a modified GNU make starting in 1993.
dnl
dnl + Version 3.8 of the dmake program in January 1992 also implemented this
dnl GNU make extension, but is less well known than the BSD make.
AC_DEFUN([CF_MAKE_PHONY],[
AC_CACHE_CHECK(for \".PHONY\" make-support, cf_cv_make_PHONY,[
rm -rf conftest*
(
mkdir conftest || exit 1
cd conftest
cat >makefile <<'CF_EOF'
.PHONY: always
DATA=0
always: always.out
@echo "** making [$]@ [$](DATA)"
once: once.out
@echo "** making [$]@ [$](DATA)"
always.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
once.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
CF_EOF
for cf_data in 1 2 3
do
${MAKE:-make} always DATA=$cf_data
${MAKE:-make} once DATA=$cf_data
${MAKE:-make} -t always once
if test -f always ; then
echo "no (case 1)" > ../conftest.tmp
elif test ! -f always.out ; then
echo "no (case 2)" > ../conftest.tmp
elif test ! -f once.out ; then
echo "no (case 3)" > ../conftest.tmp
elif ! cmp -s always.out once.out ; then
echo "no (case 4)" > ../conftest.tmp
diff always.out once.out
else
cf_check="`cat always.out`"
if test "x$cf_check" != "x$cf_data" ; then
echo "no (case 5)" > ../conftest.tmp
else
echo yes > ../conftest.tmp
rm -f ./*.out
continue
fi
fi
break
done
) >&AC_FD_CC 2>&1
cf_cv_make_PHONY="`cat conftest.tmp`"
rm -rf conftest*
])
MAKE_NO_PHONY="#"
MAKE_PHONY="#"
test "x$cf_cv_make_PHONY" = xyes && MAKE_PHONY=
test "x$cf_cv_make_PHONY" != xyes && MAKE_NO_PHONY=
AC_SUBST(MAKE_NO_PHONY)
AC_SUBST(MAKE_PHONY)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_TAGS version: 6 updated: 2010/10/23 15:52:32
dnl ------------
dnl Generate tags/TAGS targets for makefiles. Do not generate TAGS if we have

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.131 2021/06/17 21:11:08 tom Exp $
# $Id: Makefile.in,v 1.133 2021/07/03 18:53:57 tom Exp $
##############################################################################
# Copyright 2018-2020,2021 Thomas E. Dickey #
# Copyright 1998-2015,2016 Free Software Foundation, Inc. #
@ -163,15 +163,31 @@ LDFLAGS = $(TEST_ARGS) @LDFLAGS@ \
AUTO_SRC = \
etip.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs :: $(AUTO_SRC) $(LIBRARIES)
@MAKE_TESTS@all :: demo$x
sources : $(AUTO_SRC)
depend :
sources : $(AUTO_SRC)
tags:
$(CTAGS) *.[h] *.cc
@ -260,7 +276,7 @@ etip.h: $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
$(SHELL) $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
# Verify that each header-file can be compiled without including another.
check::
check ::
@$(SHELL) -c "for header in *.h;\
do \
[ \$${header} = etip.h ] && continue; \

4294
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
dnl $Id: configure.in,v 1.733 2021/06/26 23:10:42 tom Exp $
dnl $Id: configure.in,v 1.734 2021/07/03 14:51:53 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
@ -38,7 +38,7 @@ dnl https://invisible-island.net/autoconf/my-autoconf.html
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210101)
AC_REVISION($Revision: 1.733 $)
AC_REVISION($Revision: 1.734 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
@ -280,6 +280,7 @@ fi
# do this after mixed-case option (tags/TAGS is not as important as tic).
AC_PROG_MAKE_SET
CF_MAKE_PHONY
CF_MAKE_TAGS
CF_MAKEFLAGS
@ -2573,6 +2574,7 @@ cf_cv_do_reranlib="$cf_cv_do_reranlib"
cf_cv_do_symlinks="$cf_cv_do_symlinks"
cf_cv_enable_lp64="$cf_cv_enable_lp64"
cf_cv_enable_opaque="$cf_cv_enable_opaque"
cf_cv_make_PHONY="$cf_cv_make_PHONY"
cf_cv_prog_CC_c_o=$cf_cv_prog_CC_c_o
cf_cv_prog_CXX_c_o=$cf_cv_prog_CXX_c_o
cf_cv_prog_gnat_correct=$cf_cv_prog_gnat_correct

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1422 2021/06/26 11:41:07 tom Exp $
# $Id: dist.mk,v 1.1423 2021/07/03 13:09:18 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@ -38,7 +38,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 2
NCURSES_PATCH = 20210626
NCURSES_PATCH = 20210703
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.71 2021/01/23 20:42:08 tom Exp $
# $Id: Makefile.in,v 1.72 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2015,2018 Free Software Foundation, Inc. #
@ -134,6 +134,19 @@ AUTO_SRC = \
../include/form.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
install :: $(AUTO_SRC) $(LIBRARIES)

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.51 2020/09/18 22:55:10 tom Exp $
# $Id: Makefile.in,v 1.53 2021/07/03 18:56:51 tom Exp $
##############################################################################
# Copyright 2019,2020 Thomas E. Dickey #
# Copyright 2019-2020,2021 Thomas E. Dickey #
# Copyright 1998-2013,2015 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -92,6 +92,21 @@ AUTO_SRC = \
term.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
depend \

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.50 2020/02/02 23:34:34 tom Exp $
# $Id: Makefile.in,v 1.52 2021/07/03 18:57:29 tom Exp $
##############################################################################
# Copyright 2019,2020 Thomas E. Dickey #
# Copyright 2019-2020,2021 Thomas E. Dickey #
# Copyright 1998-2013,2015 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -52,6 +52,21 @@ INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir)
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.man
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.man
all \
sources : terminfo.5
depend :

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.70 2020/08/29 14:50:45 tom Exp $
# $Id: Makefile.in,v 1.71 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020 Thomas E. Dickey #
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2015,2018 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -136,6 +136,19 @@ AUTO_SRC = \
../include/mf_common.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
install :: $(AUTO_SRC) $(LIBRARIES)

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.76 2021/06/17 21:11:08 tom Exp $
# $Id: Makefile.in,v 1.78 2021/07/03 19:07:50 tom Exp $
##############################################################################
# Copyright 2018-2020,2021 Thomas E. Dickey #
# Copyright 1998-2016,2017 Free Software Foundation, Inc. #
@ -76,14 +76,30 @@ INSTALL_DATA = @INSTALL_DATA@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : depend
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.data
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.data
@MAKE_PHONY@.PHONY : uninstall.libs
all \
depend \
sources ::
@MAKE_DATABASE@all \
@MAKE_DATABASE@sources :: terminfo.tmp
depend :
@MAKE_DATABASE@install :: @MISC_INSTALL_DATA@
@MAKE_DATABASE@install.data :: terminfo.tmp \

View File

@ -1,4 +1,4 @@
# $Id: mk-1st.awk,v 1.110 2021/06/17 21:26:02 tom Exp $
# $Id: mk-1st.awk,v 1.114 2021/07/03 20:05:20 tom Exp $
##############################################################################
# Copyright 2018-2020,2021 Thomas E. Dickey #
# Copyright 1998-2016,2017 Free Software Foundation, Inc. #
@ -36,6 +36,7 @@
# traces ("all" or "DEBUG", to control whether tracing is compiled in)
# MODEL (e.g., "DEBUG", uppercase; toupper is not portable)
# CXX_MODEL (e.g., "DEBUG", uppercase)
# LIB_SUFFIX (e.g., "", "w", "t", "tw")
# model (directory into which we compile, e.g., "obj")
# prefix (e.g., "lib", for Unix-style libraries)
# suffix (e.g., "_g.a", for debug libraries)
@ -51,6 +52,7 @@
# DoLinks ("yes", "reverse" or "no", flag to add symbolic links)
# rmSoLocs ("yes" or "no", flag to add extra clean target)
# ldconfig (path for this tool, if used)
# make_phony ("yes" if the make-program accepts ".PHONY" directive.
# overwrite ("yes" or "no", flag to add link to libcurses.a
# depend (optional dependencies for all objects, e.g, ncurses_cfg.h)
# host (cross-compile host, if any)
@ -275,6 +277,8 @@ BEGIN {
using = 0
if (subset == "none") {
using = 1
print ""
print "# generated by mk-1st.awk"
} else if (in_subset($2) > 0) {
if (using == 0) {
if (found == 0) {
@ -289,28 +293,31 @@ BEGIN {
}
print ""
printf "# generated by mk-1st.awk (subset=%s)\n", subset
printf "# name: %s\n", name
printf "# traces: %s\n", traces
printf "# MODEL: %s\n", MODEL
printf "# CXX_MODEL: %s\n", CXX_MODEL
printf "# model: %s\n", model
printf "# prefix: %s\n", prefix
printf "# suffix: %s\n", suffix
printf "# subset: %s\n", subset
printf "# driver: %s\n", driver
printf "# ShlibVer: %s\n", ShlibVer
printf "# ShlibVerInfix: %s\n", ShlibVerInfix
printf "# SymLink: %s\n", SymLink
printf "# TermlibRoot: %s\n", TermlibRoot
printf "# TermlibSuffix: %s\n", TermlibSuffix
printf "# ReLink: %s\n", ReLink
printf "# ReRanlib: %s\n", ReRanlib
printf "# DoLinks: %s\n", DoLinks
printf "# rmSoLocs: %s\n", rmSoLocs
printf "# ldconfig: %s\n", ldconfig
printf "# overwrite: %s\n", overwrite
printf "# depend: %s\n", depend
printf "# host: %s\n", host
printf "# name: %s\n", name
printf "# traces: %s\n", traces
printf "# MODEL: %s\n", MODEL
printf "# CXX_MODEL: %s\n", CXX_MODEL
printf "# LIB_SUFFIX: %s\n", LIB_SUFFIX
printf "# model: %s\n", model
printf "# prefix: %s\n", prefix
printf "# suffix: %s\n", suffix
printf "# subset: %s\n", subset
printf "# driver: %s\n", driver
printf "# ShlibVer: %s\n", ShlibVer
printf "# ShlibVerInfix: %s\n", ShlibVerInfix
printf "# SymLink: %s\n", SymLink
printf "# TermlibRoot: %s\n", TermlibRoot
printf "# TermlibSuffix: %s\n", TermlibSuffix
printf "# ReLink: %s\n", ReLink
printf "# ReRanlib: %s\n", ReRanlib
printf "# DoLinks: %s\n", DoLinks
printf "# rmSoLocs: %s\n", rmSoLocs
printf "# ldconfig: %s\n", ldconfig
printf "# make_phony: %s\n", make_phony
printf "# overwrite: %s\n", overwrite
printf "# depend: %s\n", depend
printf "# host: %s\n", host
printf "# libtool_version: %s\n", libtool_version
print ""
}
using = 1
@ -470,10 +477,22 @@ END {
printf "\t\t-o %s $(%s_OBJS:$o=.lo) \\\n", lib_name, OBJS;
printf "\t\t-rpath $(libdir) \\\n";
printf "\t\t%s $(NCURSES_MAJOR):$(NCURSES_MINOR) $(LT_UNDEF) $(%s) $(LDFLAGS)\n", libtool_version, which_list;
if ( make_phony == "yes" ) {
print ""
printf ".PHONY :\tinstall.%s\n", name;
}
print ""
print "install \\"
print "install.libs \\"
printf "install.%s :: $(DESTDIR)$(libdir) ../lib/%s\n", name, lib_name
printf "install.%s :: \\\n", name;
printf "\t\t$(DESTDIR)$(libdir) \\\n";
if ( (name != TermlibRoot ) && ( index(name, "++") == 0 ) && ( index(name, "tic") == 1 || index(name, "ncurses") == 1 ) ) {
printf "\t\tinstall.%s \\\n", TermlibRoot;
if ( index(name, "tic") == 1 && index(TermlibRoot, "ncurses") != 1 ) {
printf "\t\tinstall.%s%s \\\n", "ncurses", LIB_SUFFIX;
}
}
printf "\t\t../lib/%s\n", lib_name
printf "\t@echo installing ../lib/%s as $(DESTDIR)$(libdir)/%s\n", lib_name, lib_name
printf "\tcd ../lib; $(LIBTOOL_INSTALL) $(INSTALL) %s $(DESTDIR)$(libdir)\n", lib_name
print ""

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.179 2021/06/17 21:11:08 tom Exp $
# $Id: Makefile.in,v 1.180 2021/07/03 15:27:09 tom Exp $
##############################################################################
# Copyright 2018-2020,2021 Thomas E. Dickey #
# Copyright 1998-2017,2018 Free Software Foundation, Inc. #
@ -217,6 +217,16 @@ wide = $(srcdir)/widechar
win32con = $(srcdir)/win32con
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : test_progs
all libs :: $(AUTO_SRC) ../lib $(LIBRARIES)
@CHECK_BUILD@all libs :: report_offsets$(BUILD_EXEEXT)
@ -235,7 +245,7 @@ $(DESTDIR)$(libdir) :
./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
$(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
init_keytry.h: make_keys$(BUILD_EXEEXT) keys.list
init_keytry.h : make_keys$(BUILD_EXEEXT) keys.list
./make_keys$(BUILD_EXEEXT) keys.list > $@
keys.list : $(tinfo)/MKkeys_list.sh

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210626) unstable; urgency=low
ncurses6 (6.2+20210703) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 26 Jun 2021 07:41:07 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210626) unstable; urgency=low
ncurses6 (6.2+20210703) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 26 Jun 2021 07:41:07 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210626) unstable; urgency=low
ncurses6 (6.2+20210703) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 26 Jun 2021 07:41:07 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
ncurses6 (5.9-20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.464 2021/06/26 11:41:07 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.465 2021/07/03 13:09:18 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "2"
!define VERSION_YYYY "2021"
!define VERSION_MMDD "0626"
!define VERSION_MMDD "0703"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
!define MY_ABI "5"

View File

@ -3,7 +3,7 @@
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.2
Release: 20210626
Release: 20210703
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.2
Release: 20210626
Release: 20210703
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.2
Release: 20210626
Release: 20210703
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,6 +1,6 @@
# $Id: Makefile.in,v 1.75 2020/08/29 14:50:45 tom Exp $
# $Id: Makefile.in,v 1.76 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020 Thomas E. Dickey #
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2015,2018 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -136,6 +136,19 @@ AUTO_SRC = \
../include/panel.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
all \
libs \
install :: $(AUTO_SRC) $(LIBRARIES)

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.110 2021/04/18 11:32:39 tom Exp $
# $Id: Makefile.in,v 1.111 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2016,2018 Free Software Foundation, Inc. #
@ -151,6 +151,23 @@ HEADER_DEPS = \
$(INCDIR)/nc_alloc.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
@MAKE_PHONY@.PHONY : clean
@MAKE_PHONY@.PHONY : distclean
@MAKE_PHONY@.PHONY : install
@MAKE_PHONY@.PHONY : install.libs
@MAKE_PHONY@.PHONY : install.progs
@MAKE_PHONY@.PHONY : libs
@MAKE_PHONY@.PHONY : lint
@MAKE_PHONY@.PHONY : mostlyclean
@MAKE_PHONY@.PHONY : realclean
@MAKE_PHONY@.PHONY : sources
@MAKE_PHONY@.PHONY : uninstall
@MAKE_PHONY@.PHONY : uninstall.libs
@MAKE_PHONY@.PHONY : uninstall.progs
all: $(AUTO_SRC) $(PROGS)
sources: $(AUTO_SRC)

View File

@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.128 2021/04/24 23:10:15 tom Exp $
# $Id: Makefile.in,v 1.129 2021/07/03 15:45:33 tom Exp $
##############################################################################
# Copyright 2020,2021 Thomas E. Dickey #
# Copyright 1998-2017,2018 Free Software Foundation, Inc. #
@ -153,6 +153,11 @@ HEADER_DEPS = \
$(incdir)/unctrl.h \
$(INCDIR)/nc_alloc.h
################################################################################
@MAKE_PHONY@.PHONY : all
@MAKE_PHONY@.PHONY : check
all::
# Verify that each header-file can be compiled without including another.

85
test/aclocal.m4 vendored
View File

@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written *
dnl authorization. *
dnl***************************************************************************
dnl
dnl $Id: aclocal.m4,v 1.195 2021/06/19 23:43:02 tom Exp $
dnl $Id: aclocal.m4,v 1.196 2021/07/03 20:21:44 tom Exp $
dnl
dnl Author: Thomas E. Dickey
dnl
@ -2341,6 +2341,89 @@ CF_SUBDIR_PATH($1,$2,lib)
$1="$cf_library_path_list [$]$1"
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_PHONY version: 3 updated: 2021/01/08 16:08:21
dnl -------------
dnl Check if the make-program handles a ".PHONY" target, e.g,. a target which
dnl acts as a placeholder.
dnl
dnl The ".PHONY" feature was proposed in 2011 here
dnl https://www.austingroupbugs.net/view.php?id=523
dnl and is scheduled for release in P1003.1 Issue 8 (late 2022).
dnl
dnl This is not supported by SVr4 make (or SunOS 4, 4.3SD, etc), but works with
dnl a few others (i.e., GNU make and the non-POSIX "BSD" make):
dnl
dnl + This is a GNU make feature (since April 1988, but in turn from binutils,
dnl date unspecified).
dnl
dnl + It was adopted in NetBSD make in June 1995.
dnl
dnl + The other BSD make programs are derived from the NetBSD make (and for
dnl that reason are not actually different "implementations").
dnl
dnl + Some features of NetBSD make were actually adapted from pmake, which
dnl began as a modified GNU make starting in 1993.
dnl
dnl + Version 3.8 of the dmake program in January 1992 also implemented this
dnl GNU make extension, but is less well known than the BSD make.
AC_DEFUN([CF_MAKE_PHONY],[
AC_CACHE_CHECK(for \".PHONY\" make-support, cf_cv_make_PHONY,[
rm -rf conftest*
(
mkdir conftest || exit 1
cd conftest
cat >makefile <<'CF_EOF'
.PHONY: always
DATA=0
always: always.out
@echo "** making [$]@ [$](DATA)"
once: once.out
@echo "** making [$]@ [$](DATA)"
always.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
once.out:
@echo "** making [$]@ [$](DATA)"
echo [$](DATA) > [$]@
CF_EOF
for cf_data in 1 2 3
do
${MAKE:-make} always DATA=$cf_data
${MAKE:-make} once DATA=$cf_data
${MAKE:-make} -t always once
if test -f always ; then
echo "no (case 1)" > ../conftest.tmp
elif test ! -f always.out ; then
echo "no (case 2)" > ../conftest.tmp
elif test ! -f once.out ; then
echo "no (case 3)" > ../conftest.tmp
elif ! cmp -s always.out once.out ; then
echo "no (case 4)" > ../conftest.tmp
diff always.out once.out
else
cf_check="`cat always.out`"
if test "x$cf_check" != "x$cf_data" ; then
echo "no (case 5)" > ../conftest.tmp
else
echo yes > ../conftest.tmp
rm -f ./*.out
continue
fi
fi
break
done
) >&AC_FD_CC 2>&1
cf_cv_make_PHONY="`cat conftest.tmp`"
rm -rf conftest*
])
MAKE_NO_PHONY="#"
MAKE_PHONY="#"
test "x$cf_cv_make_PHONY" = xyes && MAKE_PHONY=
test "x$cf_cv_make_PHONY" != xyes && MAKE_NO_PHONY=
AC_SUBST(MAKE_NO_PHONY)
AC_SUBST(MAKE_PHONY)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_MAKE_TAGS version: 6 updated: 2010/10/23 15:52:32
dnl ------------
dnl Generate tags/TAGS targets for makefiles. Do not generate TAGS if we have

3366
test/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
dnl***************************************************************************
dnl Copyright 2018-2019,2020 Thomas E. Dickey *
dnl Copyright 2018-2020,2021 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 *
@ -29,7 +29,7 @@ dnl***************************************************************************
dnl
dnl Author: Thomas E. Dickey 1996-on
dnl
dnl $Id: configure.in,v 1.162 2020/08/29 13:23:50 tom Exp $
dnl $Id: configure.in,v 1.163 2021/07/03 20:21:07 tom Exp $
dnl This is a simple configuration-script for the ncurses test programs that
dnl allows the test-directory to be separately configured against a reference
dnl system (i.e., sysvr4 curses)
@ -42,7 +42,7 @@ dnl https://invisible-island.net/autoconf/
dnl https://invisible-island.net/autoconf/my-autoconf.html
dnl https://invisible-island.net/ncurses/ncurses-examples.html
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20200111)
AC_PREREQ(2.52.20210509)
AC_INIT(ncurses.c)
AC_CONFIG_HEADER(ncurses_cfg.h:ncurses_tst.hin)
@ -62,6 +62,7 @@ AC_PROG_AWK
CF_PROG_INSTALL
CF_INSTALL_OPTS
CF_PROG_LINT
CF_MAKE_PHONY
CF_MAKE_TAGS
CF_MATH_LIB(MATH_LIB,pow(sin(x),x))