mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2025-03-07 16:16:53 +08:00
ncurses 5.7 - patch 20100227
+ add Ada95/configure script, to use in tar-file created by Ada95/make-tar.sh + fix typo in wresize.3x (patch by Tim van der Molen). + modify screen-bce.XXX entries to exclude ech, since screen's color model does not clear with color for that feature -TD
This commit is contained in:
parent
4f10f7dff4
commit
677412a37f
@ -1,5 +1,6 @@
|
||||
# $Id: Makefile.in,v 1.17 2010/02/27 00:55:23 tom Exp $
|
||||
##############################################################################
|
||||
# Copyright (c) 1998 Free Software Foundation, Inc. #
|
||||
# Copyright (c) 1998-2003,2010 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
@ -29,7 +30,7 @@
|
||||
# Author: Juergen Pfeifer, 1996
|
||||
#
|
||||
# Version Control
|
||||
# $Revision: 1.15 $
|
||||
# $Revision: 1.17 $
|
||||
#
|
||||
SHELL = /bin/sh
|
||||
THIS = Makefile
|
||||
@ -61,7 +62,11 @@ realclean ::
|
||||
for d in $(SUBDIRS); do \
|
||||
(cd $$d ; $(MAKE) $(CF_MFLAGS) $@) ;\
|
||||
done
|
||||
rm -f Makefile
|
||||
-rm -f config.cache config.log config.status include/ncurses_cfg.h
|
||||
-rm -f Makefile
|
||||
|
||||
preinstall :
|
||||
@
|
||||
|
||||
install.data :
|
||||
@
|
||||
|
3095
Ada95/aclocal.m4
vendored
Normal file
3095
Ada95/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
11598
Ada95/configure
vendored
Normal file
11598
Ada95/configure
vendored
Normal file
File diff suppressed because it is too large
Load Diff
681
Ada95/configure.in
Normal file
681
Ada95/configure.in
Normal file
@ -0,0 +1,681 @@
|
||||
dnl***************************************************************************
|
||||
dnl Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
dnl *
|
||||
dnl Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
dnl copy of this software and associated documentation files (the *
|
||||
dnl "Software"), to deal in the Software without restriction, including *
|
||||
dnl without limitation the rights to use, copy, modify, merge, publish, *
|
||||
dnl distribute, distribute with modifications, sublicense, and/or sell *
|
||||
dnl copies of the Software, and to permit persons to whom the Software is *
|
||||
dnl furnished to do so, subject to the following conditions: *
|
||||
dnl *
|
||||
dnl The above copyright notice and this permission notice shall be included *
|
||||
dnl in all copies or substantial portions of the Software. *
|
||||
dnl *
|
||||
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
dnl IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
dnl DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
dnl OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
dnl THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
dnl *
|
||||
dnl Except as contained in this notice, the name(s) of the above copyright *
|
||||
dnl holders shall not be used in advertising or otherwise to promote the *
|
||||
dnl sale, use or other dealings in this Software without prior written *
|
||||
dnl authorization. *
|
||||
dnl***************************************************************************
|
||||
dnl
|
||||
dnl Author: Thomas E. Dickey
|
||||
dnl
|
||||
dnl $Id: configure.in,v 1.11 2010/02/27 23:02:46 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.13.20020210)
|
||||
AC_REVISION($Revision: 1.11 $)
|
||||
AC_INIT(gen/gen.c)
|
||||
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
|
||||
|
||||
CF_TOP_BUILDDIR
|
||||
|
||||
CF_CHECK_CACHE([AC_CANONICAL_SYSTEM])
|
||||
AC_ARG_WITH(system-type,
|
||||
[ --with-system-type=XXX test: override derived host system-type],
|
||||
[AC_MSG_WARN(overriding system type to $withval)
|
||||
cf_cv_system_name=$withval])
|
||||
|
||||
### Save the given $CFLAGS to allow user-override.
|
||||
cf_user_CFLAGS="$CFLAGS"
|
||||
|
||||
### Default install-location
|
||||
CF_CFG_DEFAULTS
|
||||
|
||||
### Checks for programs.
|
||||
AC_PROG_CC
|
||||
CF_GCC_VERSION
|
||||
|
||||
AC_PROG_CPP
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
CF_PROG_CC_C_O(CC)
|
||||
AC_ISC_POSIX
|
||||
CF_ANSI_CC_REQD
|
||||
CF_PROG_EXT
|
||||
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
CF_PROG_AWK
|
||||
CF_PROG_EGREP
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
|
||||
AC_SYS_LONG_FILE_NAMES
|
||||
|
||||
# if we find pkg-config, check if we should install the ".pc" files.
|
||||
CF_PKG_CONFIG
|
||||
|
||||
if test "$PKG_CONFIG" != no ; then
|
||||
AC_MSG_CHECKING(if we should install .pc files for $PKG_CONFIG)
|
||||
|
||||
# Leave this as something that can be overridden in the environment.
|
||||
if test -z "$PKG_CONFIG_LIBDIR" ; then
|
||||
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[[^/]]*/[[^/]]*$,,'`/lib/pkgconfig
|
||||
fi
|
||||
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'`
|
||||
if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
|
||||
AC_ARG_ENABLE(pc-files,
|
||||
[ --enable-pc-files generate and install .pc files for pkg-config],
|
||||
[enable_pc_files=$enableval],
|
||||
[enable_pc_files=no])
|
||||
AC_MSG_RESULT($enable_pc_files)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN(did not find library $PKG_CONFIG_LIBDIR)
|
||||
enable_pc_files=no
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(PKG_CONFIG_LIBDIR)
|
||||
|
||||
AC_MSG_CHECKING(if we should assume mixed-case filenames)
|
||||
AC_ARG_ENABLE(mixed-case,
|
||||
[ --enable-mixed-case tic should assume mixed-case filenames],
|
||||
[enable_mixedcase=$enableval],
|
||||
[enable_mixedcase=auto])
|
||||
AC_MSG_RESULT($enable_mixedcase)
|
||||
if test "$enable_mixedcase" = "auto" ; then
|
||||
CF_MIXEDCASE_FILENAMES
|
||||
else
|
||||
cf_cv_mixedcase=$enable_mixedcase
|
||||
if test "$enable_mixedcase" = "yes" ; then
|
||||
AC_DEFINE(MIXEDCASE_FILENAMES)
|
||||
fi
|
||||
fi
|
||||
|
||||
# do this after mixed-case option (tags/TAGS is not as important as tic).
|
||||
AC_PROG_MAKE_SET
|
||||
CF_MAKE_TAGS
|
||||
CF_MAKEFLAGS
|
||||
|
||||
dnl These are standard among *NIX systems, but not when cross-compiling
|
||||
AC_CHECK_TOOL(RANLIB, ranlib, ':')
|
||||
AC_CHECK_TOOL(LD, ld, ld)
|
||||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
CF_AR_FLAGS
|
||||
|
||||
dnl Special option for use by system-builders: the install-prefix is used to
|
||||
dnl adjust the location into which the actual install is done, so that an
|
||||
dnl archive can be built without modifying the host system's configuration.
|
||||
AC_MSG_CHECKING(if you have specified an install-prefix)
|
||||
AC_ARG_WITH(install-prefix,
|
||||
[ --with-install-prefix prefixes actual install-location ($DESTDIR)],
|
||||
[case "$withval" in #(vi
|
||||
yes|no) #(vi
|
||||
;;
|
||||
*) DESTDIR="$withval"
|
||||
;;
|
||||
esac])
|
||||
AC_MSG_RESULT($DESTDIR)
|
||||
AC_SUBST(DESTDIR)
|
||||
|
||||
###############################################################################
|
||||
CF_HELP_MESSAGE(Build-Tools Needed to Compile Temporary Applications for Cross-compiling:)
|
||||
# If we're cross-compiling, allow the user to override the tools and their
|
||||
# options. The configure script is oriented toward identifying the host
|
||||
# compiler, etc., but we need a build compiler to generate parts of the source.
|
||||
CF_BUILD_CC
|
||||
|
||||
###############################################################################
|
||||
CF_HELP_MESSAGE(Options to Specify the Libraries Built/Used:)
|
||||
|
||||
### Options to allow the user to specify the set of libraries which are used.
|
||||
### Use "--without-normal --with-shared" to allow the default model to be
|
||||
### shared, for example.
|
||||
cf_list_models=""
|
||||
AC_MSG_CHECKING(for specified models)
|
||||
test -z "$cf_list_models" && cf_list_models=normal
|
||||
AC_MSG_RESULT($cf_list_models)
|
||||
|
||||
### Use the first model as the default, and save its suffix for use in building
|
||||
### up test-applications.
|
||||
AC_MSG_CHECKING(for default model)
|
||||
DFT_LWR_MODEL=`echo "$cf_list_models" | $AWK '{print $1}'`
|
||||
AC_MSG_RESULT($DFT_LWR_MODEL)
|
||||
|
||||
CF_UPPER(DFT_UPR_MODEL,$DFT_LWR_MODEL)dnl
|
||||
|
||||
AC_SUBST(DFT_LWR_MODEL)dnl the default model ("normal")
|
||||
AC_SUBST(DFT_UPR_MODEL)dnl the default model ("NORMAL")
|
||||
|
||||
CF_NCURSES_ADDON
|
||||
|
||||
CF_LIB_PREFIX(cf_prefix)
|
||||
LIB_PREFIX=$cf_prefix
|
||||
AC_SUBST(LIB_PREFIX)
|
||||
|
||||
LIB_SUFFIX=
|
||||
AC_SUBST(LIB_SUFFIX)
|
||||
|
||||
###############################################################################
|
||||
|
||||
dnl Not all ports of gcc support the -g option
|
||||
|
||||
if test X"$CC_G_OPT" = X"" ; then
|
||||
CC_G_OPT='-g'
|
||||
test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT=''
|
||||
fi
|
||||
AC_SUBST(CC_G_OPT)
|
||||
|
||||
AC_MSG_CHECKING(for default loader flags)
|
||||
case $DFT_LWR_MODEL in
|
||||
normal) LD_MODEL='' ;;
|
||||
debug) LD_MODEL=$CC_G_OPT ;;
|
||||
profile) LD_MODEL='-pg';;
|
||||
shared) LD_MODEL='' ;;
|
||||
esac
|
||||
AC_SUBST(LD_MODEL)dnl the type of link (e.g., -g or -pg)
|
||||
AC_MSG_RESULT($LD_MODEL)
|
||||
|
||||
CF_SHARED_OPTS
|
||||
|
||||
###############################################################################
|
||||
CF_HELP_MESSAGE(Fine-Tuning Your Configuration:)
|
||||
|
||||
CF_PATHSEP
|
||||
|
||||
### use option --enable-broken-linker to force on use of broken-linker support
|
||||
AC_MSG_CHECKING(if you want broken-linker support code)
|
||||
AC_ARG_ENABLE(broken_linker,
|
||||
[ --enable-broken_linker compile with broken-linker support code],
|
||||
[with_broken_linker=$enableval],
|
||||
[with_broken_linker=${BROKEN_LINKER-no}])
|
||||
AC_MSG_RESULT($with_broken_linker)
|
||||
|
||||
BROKEN_LINKER=0
|
||||
if test "$with_broken_linker" = yes ; then
|
||||
AC_DEFINE(BROKEN_LINKER)
|
||||
BROKEN_LINKER=1
|
||||
elif test "$DFT_LWR_MODEL" = shared ; then
|
||||
case $cf_cv_system_name in #(vi
|
||||
cygwin*)
|
||||
AC_DEFINE(BROKEN_LINKER)
|
||||
BROKEN_LINKER=1
|
||||
CF_VERBOSE(cygwin linker is broken anyway)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(BROKEN_LINKER)
|
||||
|
||||
# Check to define _XOPEN_SOURCE "automatically"
|
||||
CF_XOPEN_SOURCE
|
||||
|
||||
CF_LARGEFILE
|
||||
|
||||
### Enable compiling-in rcs id's
|
||||
AC_MSG_CHECKING(if RCS identifiers should be compiled-in)
|
||||
AC_ARG_WITH(rcs-ids,
|
||||
[ --with-rcs-ids compile-in RCS identifiers],
|
||||
[with_rcs_ids=$withval],
|
||||
[with_rcs_ids=no])
|
||||
AC_MSG_RESULT($with_rcs_ids)
|
||||
test "$with_rcs_ids" = yes && AC_DEFINE(USE_RCS_IDS)
|
||||
|
||||
###############################################################################
|
||||
CF_HELP_MESSAGE(Extensions:)
|
||||
|
||||
### Note that some functions (such as const) are normally disabled anyway.
|
||||
AC_MSG_CHECKING(if you want to build with function extensions)
|
||||
AC_ARG_ENABLE(ext-funcs,
|
||||
[ --disable-ext-funcs disable function-extensions],
|
||||
[with_ext_funcs=$enableval],
|
||||
[with_ext_funcs=yes])
|
||||
AC_MSG_RESULT($with_ext_funcs)
|
||||
if test "$with_ext_funcs" = yes ; then
|
||||
NCURSES_EXT_FUNCS=1
|
||||
AC_DEFINE(HAVE_USE_DEFAULT_COLORS)
|
||||
AC_DEFINE(NCURSES_EXT_FUNCS)
|
||||
else
|
||||
NCURSES_EXT_FUNCS=0
|
||||
fi
|
||||
AC_SUBST(NCURSES_EXT_FUNCS)
|
||||
|
||||
### use option --enable-const to turn on use of const beyond that in XSI.
|
||||
AC_MSG_CHECKING(for extended use of const keyword)
|
||||
AC_ARG_ENABLE(const,
|
||||
[ --enable-const compile with extra/non-standard const],
|
||||
[with_ext_const=$enableval],
|
||||
[with_ext_const=no])
|
||||
AC_MSG_RESULT($with_ext_const)
|
||||
NCURSES_CONST='/*nothing*/'
|
||||
if test "$with_ext_const" = yes ; then
|
||||
NCURSES_CONST=const
|
||||
fi
|
||||
AC_SUBST(NCURSES_CONST)
|
||||
|
||||
###############################################################################
|
||||
# These options are relatively safe to experiment with.
|
||||
CF_HELP_MESSAGE(Development Code:)
|
||||
AC_MSG_CHECKING(if you want all development code)
|
||||
AC_ARG_WITH(develop,
|
||||
[ --without-develop disable development options],
|
||||
[with_develop=$withval],
|
||||
[with_develop=no])
|
||||
AC_MSG_RESULT($with_develop)
|
||||
|
||||
###############################################################################
|
||||
# These are just experimental, probably should not be in a package:
|
||||
CF_HELP_MESSAGE(Experimental Code:)
|
||||
|
||||
# This is still experimental (20080329), but should ultimately be moved to
|
||||
# the script-block --with-normal, etc.
|
||||
CF_WITH_PTHREAD
|
||||
|
||||
AC_MSG_CHECKING(if you want to use weak-symbols for pthreads)
|
||||
AC_ARG_ENABLE(weak-symbols,
|
||||
[ --enable-weak-symbols enable weak-symbols for pthreads],
|
||||
[use_weak_symbols=$withval],
|
||||
[use_weak_symbols=no])
|
||||
AC_MSG_RESULT($use_weak_symbols)
|
||||
if test "$use_weak_symbols" = yes ; then
|
||||
CF_WEAK_SYMBOLS
|
||||
else
|
||||
cf_cv_weak_symbols=no
|
||||
fi
|
||||
|
||||
if test $cf_cv_weak_symbols = yes ; then
|
||||
AC_DEFINE(USE_WEAK_SYMBOLS)
|
||||
fi
|
||||
|
||||
PTHREAD=
|
||||
if test "$with_pthread" = "yes" ; then
|
||||
AC_DEFINE(USE_PTHREADS)
|
||||
enable_reentrant=yes
|
||||
if test $cf_cv_weak_symbols = yes ; then
|
||||
PTHREAD=-lpthread
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(PTHREAD)
|
||||
|
||||
# Reentrant code has to be opaque; there's little advantage to making ncurses
|
||||
# opaque outside of that, so there is no --enable-opaque option. We can use
|
||||
# this option without --with-pthreads, but this will be always set for
|
||||
# pthreads.
|
||||
AC_MSG_CHECKING(if you want experimental reentrant code)
|
||||
AC_ARG_ENABLE(reentrant,
|
||||
[ --enable-reentrant compile with experimental reentrant code],
|
||||
[with_reentrant=$enableval],
|
||||
[with_reentrant=no])
|
||||
AC_MSG_RESULT($with_reentrant)
|
||||
if test "$with_reentrant" = yes ; then
|
||||
cf_cv_enable_reentrant=1
|
||||
if test $cf_cv_weak_symbols = yes ; then
|
||||
CF_REMOVE_LIB(LIBS,$LIBS,pthread)
|
||||
else
|
||||
LIB_SUFFIX="t${LIB_SUFFIX}"
|
||||
fi
|
||||
AC_DEFINE(USE_REENTRANT)
|
||||
else
|
||||
cf_cv_enable_reentrant=0
|
||||
fi
|
||||
AC_SUBST(cf_cv_enable_reentrant)
|
||||
|
||||
### Allow using a different wrap-prefix
|
||||
if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then
|
||||
AC_MSG_CHECKING(for prefix used to wrap public variables)
|
||||
AC_ARG_WITH(wrap-prefix,
|
||||
[ --with-wrap-prefix=XXX override prefix used for public variables],
|
||||
[NCURSES_WRAP_PREFIX=$withval],
|
||||
[NCURSES_WRAP_PREFIX=_nc_])
|
||||
AC_MSG_RESULT($NCURSES_WRAP_PREFIX)
|
||||
else
|
||||
NCURSES_WRAP_PREFIX=_nc_
|
||||
fi
|
||||
AC_SUBST(NCURSES_WRAP_PREFIX)
|
||||
AC_DEFINE_UNQUOTED(NCURSES_WRAP_PREFIX,"$NCURSES_WRAP_PREFIX")
|
||||
|
||||
###############################################################################
|
||||
CF_HELP_MESSAGE(Testing/development Options:)
|
||||
|
||||
### use option --disable-echo to suppress full display compiling commands
|
||||
AC_MSG_CHECKING(if you want to display full commands during build)
|
||||
AC_ARG_ENABLE(echo,
|
||||
[ --enable-echo build: display "compiling" commands (default)],
|
||||
[with_echo=$enableval],
|
||||
[with_echo=yes])
|
||||
if test "$with_echo" = yes; then
|
||||
ECHO_LINK=
|
||||
else
|
||||
ECHO_LINK='@ echo linking $@ ... ;'
|
||||
fi
|
||||
AC_MSG_RESULT($with_echo)
|
||||
AC_SUBST(ECHO_LINK)
|
||||
|
||||
### use option --enable-warnings to turn on all gcc warnings
|
||||
AC_MSG_CHECKING(if you want to see compiler warnings)
|
||||
AC_ARG_ENABLE(warnings,
|
||||
[ --enable-warnings build: turn on GCC compiler warnings],
|
||||
[with_warnings=$enableval])
|
||||
AC_MSG_RESULT($with_warnings)
|
||||
|
||||
if test "x$with_warnings" = "xyes"; then
|
||||
ADAFLAGS="$ADAFLAGS -gnatg"
|
||||
CF_GCC_WARNINGS(Wdeclaration-after-statement Wextra Wno-unknown-pragmas Wswitch-enum)
|
||||
fi
|
||||
CF_GCC_ATTRIBUTES
|
||||
|
||||
### use option --enable-assertions to turn on generation of assertion code
|
||||
AC_MSG_CHECKING(if you want to enable runtime assertions)
|
||||
AC_ARG_ENABLE(assertions,
|
||||
[ --enable-assertions test: turn on generation of assertion code],
|
||||
[with_assertions=$enableval],
|
||||
[with_assertions=no])
|
||||
AC_MSG_RESULT($with_assertions)
|
||||
if test -n "$GCC"
|
||||
then
|
||||
if test "$with_assertions" = no
|
||||
then
|
||||
AC_DEFINE(NDEBUG)
|
||||
CPPFLAGS="$CPPFLAGS -DNDEBUG"
|
||||
else
|
||||
ADAFLAGS="$ADAFLAGS -gnata"
|
||||
fi
|
||||
fi
|
||||
|
||||
### use option --disable-leaks to suppress "permanent" leaks, for testing
|
||||
AC_DEFINE(HAVE_NC_ALLOC_H)
|
||||
|
||||
### use option --enable-expanded to generate certain macros as functions
|
||||
AC_ARG_ENABLE(expanded,
|
||||
[ --enable-expanded test: generate functions for certain macros],
|
||||
[test "$enableval" = yes && AC_DEFINE(NCURSES_EXPANDED)])
|
||||
|
||||
### use option --disable-macros to suppress macros in favor of functions
|
||||
AC_ARG_ENABLE(macros,
|
||||
[ --disable-macros test: use functions rather than macros],
|
||||
[test "$enableval" = no && AC_DEFINE(NCURSES_NOMACROS)])
|
||||
|
||||
# Normally we only add trace() to the debug-library. Allow this to be
|
||||
# extended to all models of the ncurses library:
|
||||
cf_all_traces=no
|
||||
case "$CFLAGS $CPPFLAGS" in
|
||||
*-DTRACE*)
|
||||
cf_all_traces=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(whether to add trace feature to all models)
|
||||
AC_ARG_WITH(trace,
|
||||
[ --with-trace test: add trace() function to all models of ncurses],
|
||||
[cf_with_trace=$withval],
|
||||
[cf_with_trace=$cf_all_traces])
|
||||
AC_MSG_RESULT($cf_with_trace)
|
||||
|
||||
if test "$cf_with_trace" = yes ; then
|
||||
ADA_TRACE=TRUE
|
||||
CF_ADD_CFLAGS(-DTRACE)
|
||||
else
|
||||
ADA_TRACE=FALSE
|
||||
fi
|
||||
|
||||
AC_SUBST(ADA_TRACE)
|
||||
|
||||
### Checks for libraries.
|
||||
case $cf_cv_system_name in #(vi
|
||||
*mingw32*) #(vi
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_FUNC(gettimeofday,
|
||||
AC_DEFINE(HAVE_GETTIMEOFDAY),[
|
||||
|
||||
AC_CHECK_LIB(bsd, gettimeofday,
|
||||
AC_DEFINE(HAVE_GETTIMEOFDAY)
|
||||
LIBS="$LIBS -lbsd")])dnl CLIX: bzero, select, gettimeofday
|
||||
;;
|
||||
esac
|
||||
|
||||
### Checks for header files.
|
||||
AC_STDC_HEADERS
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_TIME
|
||||
|
||||
### checks for compiler characteristics
|
||||
AC_LANG_C
|
||||
AC_C_CONST
|
||||
|
||||
### Checks for external-data
|
||||
CF_LINK_DATAONLY
|
||||
|
||||
### Checks for library functions.
|
||||
CF_MKSTEMP
|
||||
|
||||
AC_TYPE_SIGNAL
|
||||
|
||||
dnl We'll do our own -g libraries, unless the user's overridden via $CFLAGS
|
||||
if test -z "$cf_user_CFLAGS" && test "$with_no_leaks" = no ; then
|
||||
CF_STRIP_G_OPT(CFLAGS)
|
||||
CF_STRIP_G_OPT(CXXFLAGS)
|
||||
fi
|
||||
|
||||
CF_HELP_MESSAGE(Ada95 Binding Options:)
|
||||
|
||||
dnl Check for availability of GNU Ada Translator (GNAT).
|
||||
dnl At the moment we support no other Ada95 compiler.
|
||||
cf_ada_make=gnatmake
|
||||
AC_CHECK_PROG(gnat_exists, $cf_ada_make, yes, no)
|
||||
if test "$ac_cv_prog_gnat_exists" = no; then
|
||||
cf_ada_make=
|
||||
else
|
||||
CF_GNAT_VERSION
|
||||
AC_CHECK_PROG(M4_exists, m4, yes, no)
|
||||
if test "$ac_cv_prog_M4_exists" = no; then
|
||||
cf_cv_prog_gnat_correct=no
|
||||
echo Ada95 binding required program m4 not found. Ada95 binding disabled.
|
||||
fi
|
||||
if test "$cf_cv_prog_gnat_correct" = yes; then
|
||||
AC_MSG_CHECKING(if GNAT works)
|
||||
CF_GNAT_TRY_RUN([procedure conftest;],
|
||||
[with Text_IO;
|
||||
with GNAT.OS_Lib;
|
||||
procedure conftest is
|
||||
begin
|
||||
Text_IO.Put ("Hello World");
|
||||
Text_IO.New_Line;
|
||||
GNAT.OS_Lib.OS_Exit (0);
|
||||
end conftest;],[cf_cv_prog_gnat_correct=yes],[cf_cv_prog_gnat_correct=no])
|
||||
AC_MSG_RESULT($cf_cv_prog_gnat_correct)
|
||||
fi
|
||||
fi
|
||||
if test "$cf_cv_prog_gnat_correct" = yes; then
|
||||
ADAFLAGS="-O3 -gnatpn $ADAFLAGS"
|
||||
|
||||
AC_MSG_CHECKING(if GNAT pragma Unreferenced works)
|
||||
CF_GNAT_TRY_LINK([procedure conftest;],
|
||||
[with Text_IO;
|
||||
with GNAT.OS_Lib;
|
||||
procedure conftest is
|
||||
test : Integer;
|
||||
pragma Unreferenced (test);
|
||||
begin
|
||||
test := 1;
|
||||
Text_IO.Put ("Hello World");
|
||||
Text_IO.New_Line;
|
||||
GNAT.OS_Lib.OS_Exit (0);
|
||||
end conftest;],[cf_cv_pragma_unreferenced=yes],[cf_cv_pragma_unreferenced=no])
|
||||
AC_MSG_RESULT($cf_cv_pragma_unreferenced)
|
||||
|
||||
# if the pragma is supported, use it (needed in the Trace code).
|
||||
if test $cf_cv_pragma_unreferenced = yes ; then
|
||||
PRAGMA_UNREF=TRUE
|
||||
else
|
||||
PRAGMA_UNREF=FALSE
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(ada-compiler,
|
||||
[ --with-ada-compiler=CMD specify Ada95 compiler command (default gnatmake)],
|
||||
[cf_ada_compiler=$withval],
|
||||
[cf_ada_compiler=gnatmake])
|
||||
|
||||
cf_ada_package=terminal_interface
|
||||
|
||||
AC_SUBST(cf_ada_make)
|
||||
AC_SUBST(cf_ada_compiler)
|
||||
AC_SUBST(cf_ada_package)
|
||||
AC_SUBST(ADAFLAGS)
|
||||
AC_SUBST(cf_compile_generics)
|
||||
AC_SUBST(cf_generic_objects)
|
||||
AC_SUBST(PRAGMA_UNREF)
|
||||
|
||||
CF_WITH_PATH(ada-include,
|
||||
[ --with-ada-include=DIR Ada includes are in DIR],
|
||||
ADA_INCLUDE,
|
||||
PREFIX/lib/ada/adainclude,
|
||||
[$]prefix/lib/ada/adainclude)
|
||||
AC_SUBST(ADA_INCLUDE)
|
||||
|
||||
CF_WITH_PATH(ada-objects,
|
||||
[ --with-ada-objects=DIR Ada objects are in DIR],
|
||||
ADA_OBJECTS,
|
||||
PREFIX/lib/ada/adalib,
|
||||
[$]prefix/lib/ada/adalib)
|
||||
AC_SUBST(ADA_OBJECTS)
|
||||
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
|
||||
# not needed
|
||||
TINFO_ARGS2=
|
||||
AC_SUBST(TINFO_ARGS2)
|
||||
|
||||
### Construct the list of include-directories to be generated
|
||||
CF_INCLUDE_DIRS
|
||||
CF_ADA_INCLUDE_DIRS
|
||||
|
||||
### Build up pieces for makefile rules
|
||||
AC_MSG_CHECKING(default library suffix)
|
||||
CF_LIB_TYPE($DFT_LWR_MODEL,DFT_ARG_SUFFIX)dnl
|
||||
AC_SUBST(DFT_ARG_SUFFIX)dnl the string to append to "-lncurses" ("")
|
||||
AC_MSG_RESULT($DFT_ARG_SUFFIX)
|
||||
|
||||
AC_MSG_CHECKING(default library-dependency suffix)
|
||||
CF_LIB_SUFFIX($DFT_LWR_MODEL,DFT_LIB_SUFFIX,DFT_DEP_SUFFIX)dnl
|
||||
AC_SUBST(DFT_DEP_SUFFIX)dnl the corresponding library-suffix (".a")
|
||||
AC_MSG_RESULT($DFT_DEP_SUFFIX)
|
||||
|
||||
AC_MSG_CHECKING(default object directory)
|
||||
CF_OBJ_SUBDIR($DFT_LWR_MODEL,DFT_OBJ_SUBDIR)dnl
|
||||
AC_SUBST(DFT_OBJ_SUBDIR)dnl the default object-directory ("obj")
|
||||
AC_MSG_RESULT($DFT_OBJ_SUBDIR)
|
||||
|
||||
### Set up low-level terminfo dependencies for makefiles.
|
||||
|
||||
if test "$DFT_LWR_MODEL" = shared ; then
|
||||
case $cf_cv_system_name in #(vi
|
||||
cygwin*)
|
||||
# "lib" files have ".dll.a" suffix, "cyg" files have ".dll"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
### Construct the list of subdirectories for which we'll customize makefiles
|
||||
### with the appropriate compile-rules.
|
||||
|
||||
SUB_MAKEFILES="gen/adacurses${DFT_ARG_SUFFIX}-config:gen/adacurses-config.in"
|
||||
|
||||
AC_DEFINE_UNQUOTED(NCURSES_PATHSEP,'$PATH_SEPARATOR')
|
||||
|
||||
### Now that we're done running tests, add the compiler-warnings, if any
|
||||
CF_ADD_CFLAGS($EXTRA_CFLAGS)
|
||||
|
||||
################################################################################
|
||||
|
||||
if test x"$enable_pc_files" = xyes ; then \
|
||||
SUB_MAKEFILES="$SUB_MAKEFILES misc/gen-pkgconfig:misc/gen-pkgconfig.in"
|
||||
MAKE_PC_FILES=
|
||||
else
|
||||
MAKE_PC_FILES="#"
|
||||
fi
|
||||
AC_SUBST(MAKE_PC_FILES)
|
||||
AC_SUBST(cross_compiling)
|
||||
|
||||
################################################################################
|
||||
|
||||
TEST_ARG2=
|
||||
AC_SUBST(TEST_ARG2)
|
||||
|
||||
dnl for separate build, this is good enough for "sh $(top_srcdir)/misc/shlib"
|
||||
NCURSES_SHLIB2="sh -c"
|
||||
AC_SUBST(NCURSES_SHLIB2)
|
||||
|
||||
dnl ditto for "$(top_srcdir)/tar-copy.sh"
|
||||
for cf_path in . .. ../..
|
||||
do
|
||||
if test -f $cf_path/tar-copy.sh
|
||||
then
|
||||
NCURSES_COPY2=`echo 'sh $(top_srcdir)/'$cf_path'/tar-copy.sh' | sed -e 's,/./,/,'`
|
||||
break
|
||||
fi
|
||||
done
|
||||
AC_SUBST(NCURSES_COPY2)
|
||||
|
||||
ADA_SUBDIRS="include gen src samples"
|
||||
for cf_dir in $ADA_SUBDIRS
|
||||
do
|
||||
SUB_MAKEFILES="$SUB_MAKEFILES $cf_dir/Makefile"
|
||||
done
|
||||
AC_SUBST(ADA_SUBDIRS)
|
||||
|
||||
NCURSES_TREE="#"
|
||||
AC_SUBST(NCURSES_TREE)
|
||||
|
||||
EXTERNAL_TREE=
|
||||
AC_SUBST(EXTERNAL_TREE)
|
||||
|
||||
AC_OUTPUT( \
|
||||
$SUB_MAKEFILES \
|
||||
Makefile,,[
|
||||
### Special initialization commands, used to pass information from the
|
||||
### configuration-run into config.status
|
||||
|
||||
AWK="$AWK"
|
||||
DFT_ARG_SUFFIX="$DFT_ARG_SUFFIX"
|
||||
DFT_LWR_MODEL="$DFT_LWR_MODEL"
|
||||
ECHO_LINK="$ECHO_LINK"
|
||||
LIB_NAME="$LIB_NAME"
|
||||
LIB_SUFFIX="$LIB_SUFFIX"
|
||||
NCURSES_MAJOR="$NCURSES_MAJOR"
|
||||
NCURSES_MINOR="$NCURSES_MINOR"
|
||||
NCURSES_PATCH="$NCURSES_PATCH"
|
||||
cf_cv_abi_version="$cf_cv_abi_version"
|
||||
cf_cv_rel_version="$cf_cv_rel_version"
|
||||
cf_cv_rm_so_locs="$cf_cv_rm_so_locs"
|
||||
cf_cv_shared_soname='$cf_cv_shared_soname'
|
||||
cf_cv_shlib_version="$cf_cv_shlib_version"
|
||||
cf_cv_shlib_version_infix="$cf_cv_shlib_version_infix"
|
||||
cf_cv_system_name="$cf_cv_system_name"
|
||||
host="$host"
|
||||
target="$target"
|
||||
|
||||
],cat)dnl
|
||||
${MAKE-make} preinstall
|
@ -28,7 +28,7 @@
|
||||
#
|
||||
# Author: Juergen Pfeifer, 1996
|
||||
#
|
||||
# $Id: Makefile.in,v 1.64 2010/02/21 01:48:47 tom Exp $
|
||||
# $Id: Makefile.in,v 1.66 2010/02/27 19:54:38 tom Exp $
|
||||
#
|
||||
.SUFFIXES:
|
||||
|
||||
@ -84,7 +84,8 @@ M4FLAGS = -DNCURSES_EXT_FUNCS=@NCURSES_EXT_FUNCS@
|
||||
|
||||
ADACURSES_CONFIG = adacurses@DFT_ARG_SUFFIX@-config
|
||||
|
||||
WRAPPER = sh $(top_srcdir)/misc/shlib
|
||||
WRAPPER = @NCURSES_SHLIB2@
|
||||
TAR_COPY = @NCURSES_COPY2@
|
||||
GENERATE = ./gen$x '@DFT_ARG_SUFFIX@'
|
||||
DEL_ADAMODE = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
|
||||
|
||||
@ -170,22 +171,22 @@ sources:
|
||||
$(DESTDIR)$(bindir) \
|
||||
$(ADA_INCLUDE) \
|
||||
$(ADA_OBJECTS) :
|
||||
sh $(top_srcdir)/mkdirs.sh $@
|
||||
mkdir -p $@
|
||||
|
||||
install \
|
||||
install.libs :: $(ADA_INCLUDE)
|
||||
@echo installing package $(ALIB) in $(ADA_INCLUDE)
|
||||
@$(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
|
||||
@$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
|
||||
@test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
|
||||
@test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
|
||||
@$(TAR_COPY) '$(ALIB)*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
|
||||
@$(TAR_COPY) '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(ADA_INCLUDE)
|
||||
@test $(srcdir) != ./ && $(TAR_COPY) '$(ALIB)*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
|
||||
@test $(srcdir) != ./ && $(TAR_COPY) '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(ADA_INCLUDE)
|
||||
|
||||
install \
|
||||
install.libs :: $(ADA_OBJECTS)
|
||||
@echo installing package $(ALIB) in $(ADA_OBJECTS)
|
||||
@-chmod a-wx $(ADA_SRCDIR)/*.ali
|
||||
@$(top_srcdir)/tar-copy.sh '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
|
||||
@$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
|
||||
@$(TAR_COPY) '$(ALIB)*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
|
||||
@$(TAR_COPY) '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
|
||||
@-chmod u+x $(ADA_SRCDIR)/*.ali
|
||||
|
||||
install \
|
||||
|
80
Ada95/include/MKncurses_def.sh
Normal file
80
Ada95/include/MKncurses_def.sh
Normal file
@ -0,0 +1,80 @@
|
||||
#! /bin/sh
|
||||
# $Id: MKncurses_def.sh,v 1.2 2003/10/25 16:19:46 tom Exp $
|
||||
##############################################################################
|
||||
# Copyright (c) 2000 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
# to deal in the Software without restriction, including without limitation #
|
||||
# the rights to use, copy, modify, merge, publish, distribute, distribute #
|
||||
# with modifications, sublicense, and/or sell copies of the Software, and to #
|
||||
# permit persons to whom the Software is furnished to do so, subject to the #
|
||||
# following conditions: #
|
||||
# #
|
||||
# The above copyright notice and this permission notice shall be included in #
|
||||
# all copies or substantial portions of the Software. #
|
||||
# #
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
|
||||
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
|
||||
# DEALINGS IN THE SOFTWARE. #
|
||||
# #
|
||||
# Except as contained in this notice, the name(s) of the above copyright #
|
||||
# holders shall not be used in advertising or otherwise to promote the sale, #
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
#
|
||||
# MKncurses_def.sh -- generate fallback definitions for ncurses_cfg.h
|
||||
#
|
||||
# Author: Thomas E. Dickey 2000
|
||||
#
|
||||
# Given the choice between constructs such as
|
||||
#
|
||||
# #if defined(foo) && foo
|
||||
# #if foo
|
||||
#
|
||||
# we chose the latter. It is guaranteed by the language standard, and there
|
||||
# appear to be no broken compilers that do not honor that detail. But some
|
||||
# people want to use gcc's -Wundef option (corresponding to one of the less
|
||||
# useful features in Watcom's compiler) to check for misspellings. So we
|
||||
# generate a set of fallback definitions to quiet the warnings without making
|
||||
# the code ugly.
|
||||
#
|
||||
DEFS="${1-ncurses_defs}"
|
||||
cat <<EOF
|
||||
/*
|
||||
* This file is generated by $0
|
||||
*/
|
||||
|
||||
#ifndef NC_DEFINE_H
|
||||
#define NC_DEFINE_H 1
|
||||
|
||||
EOF
|
||||
|
||||
${AWK-awk} <$DEFS '
|
||||
!/^[@#]/ {
|
||||
if ( NF == 1 )
|
||||
{
|
||||
print "#ifndef", $1
|
||||
print "#define", $1, "0"
|
||||
print "#endif"
|
||||
print ""
|
||||
} else if ( NF != 0 ) {
|
||||
print "#ifndef", $1
|
||||
printf "#define"
|
||||
for (n = 1; n <= NF; n++) {
|
||||
printf " %s", $n
|
||||
}
|
||||
print ""
|
||||
print "#endif"
|
||||
print ""
|
||||
}
|
||||
}
|
||||
END {
|
||||
print "#endif /* NC_DEFINE_H */"
|
||||
}
|
||||
'
|
89
Ada95/include/Makefile.in
Normal file
89
Ada95/include/Makefile.in
Normal file
@ -0,0 +1,89 @@
|
||||
# $Id: Makefile.in,v 1.1 2010/02/27 01:07:34 tom Exp $
|
||||
##############################################################################
|
||||
# Copyright (c) 2010 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
# to deal in the Software without restriction, including without limitation #
|
||||
# the rights to use, copy, modify, merge, publish, distribute, distribute #
|
||||
# with modifications, sublicense, and/or sell copies of the Software, and to #
|
||||
# permit persons to whom the Software is furnished to do so, subject to the #
|
||||
# following conditions: #
|
||||
# #
|
||||
# The above copyright notice and this permission notice shall be included in #
|
||||
# all copies or substantial portions of the Software. #
|
||||
# #
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
|
||||
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
|
||||
# DEALINGS IN THE SOFTWARE. #
|
||||
# #
|
||||
# Except as contained in this notice, the name(s) of the above copyright #
|
||||
# holders shall not be used in advertising or otherwise to promote the sale, #
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
#
|
||||
# Author: Thomas E. Dickey
|
||||
#
|
||||
# Makefile for ncurses source code.
|
||||
#
|
||||
# This makes header files used when building Ada95 as a separate tree.
|
||||
#
|
||||
# The variable 'srcdir' refers to the source-distribution, and can be set with
|
||||
# the configure script by "--srcdir=DIR".
|
||||
|
||||
# turn off _all_ suffix rules; we'll generate our own
|
||||
.SUFFIXES:
|
||||
|
||||
SHELL = /bin/sh
|
||||
THIS = Makefile
|
||||
|
||||
DESTDIR = @DESTDIR@
|
||||
srcdir = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
includedir = @includedir@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
AWK = @AWK@
|
||||
|
||||
# These files are generated by this makefile
|
||||
AUTO_SRC = \
|
||||
ncurses_def.h
|
||||
|
||||
################################################################################
|
||||
all \
|
||||
libs \
|
||||
depend \
|
||||
sources \
|
||||
install :: $(AUTO_SRC)
|
||||
|
||||
ncurses_def.h: $(srcdir)/ncurses_defs $(srcdir)/MKncurses_def.sh
|
||||
AWK=$(AWK) sh $(srcdir)/MKncurses_def.sh $(srcdir)/ncurses_defs >$@
|
||||
|
||||
tags:
|
||||
ctags *.[ch]
|
||||
|
||||
@MAKE_UPPER_TAGS@TAGS:
|
||||
@MAKE_UPPER_TAGS@ etags *.[ch]
|
||||
|
||||
mostlyclean ::
|
||||
-rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
|
||||
|
||||
clean :: mostlyclean
|
||||
-rm -f $(AUTO_SRC)
|
||||
|
||||
distclean :: clean
|
||||
-rm -f Makefile
|
||||
|
||||
realclean :: distclean
|
||||
|
||||
###############################################################################
|
||||
# The remainder of this file is automatically generated during configuration
|
||||
###############################################################################
|
72
Ada95/include/ncurses_cfg.hin
Normal file
72
Ada95/include/ncurses_cfg.hin
Normal file
@ -0,0 +1,72 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2004,2005 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
* "Software"), to deal in the Software without restriction, including *
|
||||
* without limitation the rights to use, copy, modify, merge, publish, *
|
||||
* distribute, distribute with modifications, sublicense, and/or sell *
|
||||
* copies of the Software, and to permit persons to whom the Software is *
|
||||
* furnished to do so, subject to the following conditions: *
|
||||
* *
|
||||
* The above copyright notice and this permission notice shall be included *
|
||||
* in all copies or substantial portions of the Software. *
|
||||
* *
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
* *
|
||||
* Except as contained in this notice, the name(s) of the above copyright *
|
||||
* holders shall not be used in advertising or otherwise to promote the *
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Author: Thomas E. Dickey <dickey@clark.net> 1997 *
|
||||
****************************************************************************/
|
||||
/*
|
||||
* $Id: ncurses_cfg.hin,v 1.7 2005/01/02 01:26:58 tom Exp $
|
||||
*
|
||||
* This is a template-file used to generate the "ncurses_cfg.h" file.
|
||||
*
|
||||
* Rather than list every definition, the configuration script substitutes the
|
||||
* definitions that it finds using 'sed'. You need a patch (original date
|
||||
* 971222) to autoconf 2.12 or 2.13 to do this.
|
||||
*
|
||||
* See:
|
||||
* http://invisible-island.net/autoconf/
|
||||
* ftp://invisible-island.net/autoconf/
|
||||
*/
|
||||
#ifndef NC_CONFIG_H
|
||||
#define NC_CONFIG_H
|
||||
@DEFS@
|
||||
|
||||
#include <ncurses_def.h>
|
||||
|
||||
/* The C compiler may not treat these properly but C++ has to */
|
||||
#ifdef __cplusplus
|
||||
#undef const
|
||||
#undef inline
|
||||
#else
|
||||
#if defined(lint) || defined(TRACE)
|
||||
#undef inline
|
||||
#define inline /* nothing */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* On HP-UX, the C compiler doesn't grok mbstate_t without
|
||||
-D_XOPEN_SOURCE=500. However, this causes problems on
|
||||
IRIX. So, we #define mbstate_t to int in configure.in
|
||||
only for the C compiler if needed. */
|
||||
#ifndef __cplusplus
|
||||
#ifdef NEED_MBSTATE_T_DEF
|
||||
#define mbstate_t int
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* NC_CONFIG_H */
|
207
Ada95/include/ncurses_defs
Normal file
207
Ada95/include/ncurses_defs
Normal file
@ -0,0 +1,207 @@
|
||||
# $Id: ncurses_defs,v 1.41 2008/11/16 00:19:59 juergen Exp $
|
||||
##############################################################################
|
||||
# Copyright (c) 2000-2007,2008 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
# to deal in the Software without restriction, including without limitation #
|
||||
# the rights to use, copy, modify, merge, publish, distribute, distribute #
|
||||
# with modifications, sublicense, and/or sell copies of the Software, and to #
|
||||
# permit persons to whom the Software is furnished to do so, subject to the #
|
||||
# following conditions: #
|
||||
# #
|
||||
# The above copyright notice and this permission notice shall be included in #
|
||||
# all copies or substantial portions of the Software. #
|
||||
# #
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
|
||||
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
|
||||
# DEALINGS IN THE SOFTWARE. #
|
||||
# #
|
||||
# Except as contained in this notice, the name(s) of the above copyright #
|
||||
# holders shall not be used in advertising or otherwise to promote the sale, #
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
#
|
||||
# See "MKncurses_def.sh" for an explanation.
|
||||
#
|
||||
# (hint: don't try to define NDEBUG ;-)
|
||||
|
||||
BROKEN_LINKER
|
||||
BSD_TPUTS
|
||||
CC_HAS_PROTOS
|
||||
CPP_HAS_PARAM_INIT
|
||||
CURSES_ACS_ARRAY acs_map
|
||||
CURSES_WACS_ARRAY _nc_wacs
|
||||
DECL_ERRNO
|
||||
ETIP_NEEDS_MATH_H
|
||||
GCC_NORETURN /* nothing */
|
||||
GCC_UNUSED /* nothing */
|
||||
HAVE_BIG_CORE
|
||||
HAVE_BSD_CGETENT
|
||||
HAVE_BSD_SIGNAL_H
|
||||
HAVE_BTOWC
|
||||
HAVE_BUILTIN_H
|
||||
HAVE_CHGAT 1
|
||||
HAVE_COLOR_SET 1
|
||||
HAVE_DIRENT_H
|
||||
HAVE_ERRNO
|
||||
HAVE_FCNTL_H
|
||||
HAVE_FILTER 1
|
||||
HAVE_FORM_H
|
||||
HAVE_GETBEGX 1
|
||||
HAVE_GETCURX 1
|
||||
HAVE_GETCWD
|
||||
HAVE_GETEGID
|
||||
HAVE_GETEUID
|
||||
HAVE_GETMAXX 1
|
||||
HAVE_GETNSTR
|
||||
HAVE_GETOPT_H
|
||||
HAVE_GETPARX 1
|
||||
HAVE_GETTIMEOFDAY
|
||||
HAVE_GETTTYNAM
|
||||
HAVE_GETWIN 1
|
||||
HAVE_GPM_H
|
||||
HAVE_GPP_BUILTIN_H
|
||||
HAVE_GXX_BUILTIN_H
|
||||
HAVE_HAS_KEY
|
||||
HAVE_IOSTREAM
|
||||
HAVE_ISASCII
|
||||
HAVE_ISSETUGID
|
||||
HAVE_LANGINFO_CODESET
|
||||
HAVE_LIBC_H
|
||||
HAVE_LIBDBMALLOC
|
||||
HAVE_LIBDMALLOC
|
||||
HAVE_LIBFORM
|
||||
HAVE_LIBGPM
|
||||
HAVE_LIBMENU
|
||||
HAVE_LIBMPATROL
|
||||
HAVE_LIBPANEL
|
||||
HAVE_LIMITS_H
|
||||
HAVE_LINK
|
||||
HAVE_LOCALE_H
|
||||
HAVE_LONG_FILE_NAMES
|
||||
HAVE_MBLEN
|
||||
HAVE_MBRLEN
|
||||
HAVE_MBRTOWC
|
||||
HAVE_MBSRTOWCS
|
||||
HAVE_MBSTOWCS
|
||||
HAVE_MBTOWC
|
||||
HAVE_MENU_H
|
||||
HAVE_MKSTEMP
|
||||
HAVE_MVVLINE 1
|
||||
HAVE_MVWVLINE 1
|
||||
HAVE_NANOSLEEP
|
||||
HAVE_NC_ALLOC_H
|
||||
HAVE_PANEL_H
|
||||
HAVE_POLL
|
||||
HAVE_POLL_H
|
||||
HAVE_PURIFY
|
||||
HAVE_PUTWC
|
||||
HAVE_PUTWIN 1
|
||||
HAVE_REGEXPR_H_FUNCS
|
||||
HAVE_REGEXP_H_FUNCS
|
||||
HAVE_REGEX_H_FUNCS
|
||||
HAVE_REMOVE
|
||||
HAVE_RESIZETERM
|
||||
HAVE_RESIZE_TERM
|
||||
HAVE_RIPOFFLINE 1
|
||||
HAVE_SELECT
|
||||
HAVE_SETBUF
|
||||
HAVE_SETBUFFER
|
||||
HAVE_SETUPTERM 1
|
||||
HAVE_SETVBUF
|
||||
HAVE_SIGACTION
|
||||
HAVE_SIGVEC
|
||||
HAVE_SIZECHANGE
|
||||
HAVE_SLK_COLOR
|
||||
HAVE_SLK_INIT 1
|
||||
HAVE_STRDUP
|
||||
HAVE_STRSTR
|
||||
HAVE_SYMLINK
|
||||
HAVE_SYS_BSDTYPES_H
|
||||
HAVE_SYS_IOCTL_H
|
||||
HAVE_SYS_PARAM_H
|
||||
HAVE_SYS_POLL_H
|
||||
HAVE_SYS_SELECT_H
|
||||
HAVE_SYS_TERMIO_H
|
||||
HAVE_SYS_TIMES_H
|
||||
HAVE_SYS_TIME_H
|
||||
HAVE_SYS_TIME_SELECT
|
||||
HAVE_TCGETATTR
|
||||
HAVE_TCGETPGRP
|
||||
HAVE_TELL
|
||||
HAVE_TERMATTRS 1
|
||||
HAVE_TERMIOS_H
|
||||
HAVE_TERMIO_H
|
||||
HAVE_TERMNAME 1
|
||||
HAVE_TERM_H 1
|
||||
HAVE_TGETENT 1
|
||||
HAVE_TIGETNUM 1
|
||||
HAVE_TIGETSTR 1
|
||||
HAVE_TIMES
|
||||
HAVE_TTYENT_H
|
||||
HAVE_TYPEAHEAD 1
|
||||
HAVE_TYPEINFO
|
||||
HAVE_TYPE_ATTR_T
|
||||
HAVE_TYPE_SIGACTION
|
||||
HAVE_UNISTD_H
|
||||
HAVE_UNLINK
|
||||
HAVE_USE_DEFAULT_COLORS
|
||||
HAVE_VFSCANF
|
||||
HAVE_VSNPRINTF
|
||||
HAVE_VSSCANF
|
||||
HAVE_WCSRTOMBS
|
||||
HAVE_WCSTOMBS
|
||||
HAVE_WCTOB
|
||||
HAVE_WCTOMB
|
||||
HAVE_WCTYPE_H
|
||||
HAVE_WINSSTR 1
|
||||
HAVE_WORKING_POLL
|
||||
HAVE_WRESIZE
|
||||
HAVE__DOSCAN
|
||||
MIXEDCASE_FILENAMES
|
||||
NCURSES_CHAR_EQ
|
||||
NCURSES_EXPANDED
|
||||
NCURSES_EXT_COLORS
|
||||
NCURSES_EXT_FUNCS
|
||||
NCURSES_NO_PADDING
|
||||
NCURSES_PATHSEP ':'
|
||||
NEED_PTEM_H
|
||||
NO_LEAKS
|
||||
PURE_TERMINFO
|
||||
RETSIGTYPE
|
||||
STDC_HEADERS
|
||||
SVR4_ACTION
|
||||
SVR4_TERMIO
|
||||
SYSTEM_NAME "unknown"
|
||||
TERMINFO "none"
|
||||
TERMPATH "none"
|
||||
TIME_WITH_SYS_TIME
|
||||
TYPEOF_CHTYPE
|
||||
USE_COLORFGBG
|
||||
USE_DATABASE
|
||||
USE_GETCAP
|
||||
USE_GETCAP_CACHE
|
||||
USE_HARD_TABS
|
||||
USE_HASHED_DB
|
||||
USE_HASHMAP
|
||||
USE_HOME_TERMINFO
|
||||
USE_LINKS
|
||||
USE_MY_MEMMOVE
|
||||
USE_OK_BCOPY
|
||||
USE_RCS_IDS
|
||||
USE_REENTRANT
|
||||
USE_SAFE_SPRINTF
|
||||
USE_SCROLL_HINTS
|
||||
USE_SIGWINCH
|
||||
USE_SYMLINKS
|
||||
USE_SYSMOUSE
|
||||
USE_TERMCAP
|
||||
USE_WEAK_SYMBOLS
|
||||
USE_WIDEC_SUPPORT
|
||||
USE_XMC_SUPPORT
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: make-tar.sh,v 1.2 2010/02/20 23:45:13 tom Exp $
|
||||
# $Id: make-tar.sh,v 1.4 2010/02/27 23:57:56 tom Exp $
|
||||
##############################################################################
|
||||
# Copyright (c) 2010 Free Software Foundation, Inc. #
|
||||
# #
|
||||
@ -55,6 +55,15 @@ mkdir $BUILD/$ROOTNAME
|
||||
|
||||
cp -p -r * $BUILD/$ROOTNAME/ || exit
|
||||
|
||||
# Add the config.* utility scripts from the top-level directory.
|
||||
for i in . ..
|
||||
do
|
||||
for j in config.guess config.sub install-sh tar-copy.sh
|
||||
do
|
||||
test -f $i/$j && cp -p $i/$j $BUILD/$ROOTNAME/
|
||||
done
|
||||
done
|
||||
|
||||
# Add the ada documentation.
|
||||
mkdir $BUILD/$ROOTNAME/doc || exit
|
||||
cd ../doc/html || exit
|
||||
|
@ -1,5 +1,5 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 1998-2007,2009 Free Software Foundation, Inc. #
|
||||
# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
@ -28,7 +28,7 @@
|
||||
#
|
||||
# Author: Juergen Pfeifer, 1996
|
||||
#
|
||||
# $Id: Makefile.in,v 1.34 2009/01/11 01:11:44 tom Exp $
|
||||
# $Id: Makefile.in,v 1.35 2010/02/27 19:54:38 tom Exp $
|
||||
#
|
||||
.SUFFIXES:
|
||||
|
||||
@ -74,6 +74,8 @@ LINK = $(CC)
|
||||
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
|
||||
|
||||
RANLIB = @RANLIB@
|
||||
TAR_COPY = @NCURSES_COPY2@
|
||||
|
||||
################################################################################
|
||||
ADA = @cf_ada_compiler@
|
||||
ADAPREP = gnatprep
|
||||
@ -186,7 +188,7 @@ install.libs :: $(LIBRARY_FILE)
|
||||
|
||||
install \
|
||||
install.libs :: $(LIBRARY_FILE)
|
||||
@$(top_srcdir)/tar-copy.sh $(LIBRARY_FILE) . $(ADA_OBJECTS)
|
||||
@$(TAR_COPY) $(LIBRARY_FILE) . $(ADA_OBJECTS)
|
||||
@echo made $@
|
||||
|
||||
uninstall \
|
||||
|
7
MANIFEST
7
MANIFEST
@ -3,6 +3,9 @@
|
||||
./Ada95/Makefile.in
|
||||
./Ada95/README
|
||||
./Ada95/TODO
|
||||
./Ada95/aclocal.m4
|
||||
./Ada95/configure
|
||||
./Ada95/configure.in
|
||||
./Ada95/gen/Makefile.in
|
||||
./Ada95/gen/adacurses-config.in
|
||||
./Ada95/gen/gen.c
|
||||
@ -23,6 +26,10 @@
|
||||
./Ada95/gen/terminal_interface-curses-trace.ads.m4
|
||||
./Ada95/gen/terminal_interface-curses.adb.m4
|
||||
./Ada95/gen/terminal_interface-curses.ads.m4
|
||||
./Ada95/include/MKncurses_def.sh
|
||||
./Ada95/include/Makefile.in
|
||||
./Ada95/include/ncurses_cfg.hin
|
||||
./Ada95/include/ncurses_defs
|
||||
./Ada95/make-tar.sh
|
||||
./Ada95/samples/Makefile.in
|
||||
./Ada95/samples/README
|
||||
|
9
NEWS
9
NEWS
@ -25,7 +25,7 @@
|
||||
-- sale, use or other dealings in this Software without prior written --
|
||||
-- authorization. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: NEWS,v 1.1506 2010/02/20 22:57:37 tom Exp $
|
||||
-- $Id: NEWS,v 1.1507 2010/02/27 21:51:12 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
This is a log of changes that ncurses has gone through since Zeyd started
|
||||
@ -45,6 +45,13 @@ 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.
|
||||
|
||||
20100227
|
||||
+ add Ada95/configure script, to use in tar-file created by
|
||||
Ada95/make-tar.sh
|
||||
+ fix typo in wresize.3x (patch by Tim van der Molen).
|
||||
+ modify screen-bce.XXX entries to exclude ech, since screen's color
|
||||
model does not clear with color for that feature -TD
|
||||
|
||||
20100220
|
||||
+ add make-tar.sh scripts to Ada95 and test subdirectories to help with
|
||||
making those separately distributable.
|
||||
|
50
configure
vendored
50
configure
vendored
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Revision: 1.482 .
|
||||
# From configure.in Revision: 1.484 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by Autoconf 2.52.20081225.
|
||||
#
|
||||
@ -17856,6 +17856,12 @@ do
|
||||
test ! -d $cf_dir && mkdir $cf_dir
|
||||
done
|
||||
|
||||
# symbols that differ when compiling Ada95 by itself.
|
||||
NCURSES_SHLIB2='sh $(top_srcdir)/misc/shlib'
|
||||
|
||||
NCURSES_COPY2='sh $(top_srcdir)/tar-copy.sh'
|
||||
|
||||
# values to use as strings
|
||||
cat >>confdefs.h <<EOF
|
||||
#define NCURSES_PATHSEP '$PATH_SEPARATOR'
|
||||
EOF
|
||||
@ -17947,18 +17953,18 @@ fi
|
||||
### If we're building with rpath, try to link non-standard libs that way too.
|
||||
if test "$DFT_LWR_MODEL" = "shared"; then
|
||||
|
||||
echo "$as_me:17950: checking for updated LDFLAGS" >&5
|
||||
echo "$as_me:17956: checking for updated LDFLAGS" >&5
|
||||
echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6
|
||||
if test -n "$LDFLAGS" ; then
|
||||
echo "$as_me:17953: result: maybe" >&5
|
||||
echo "$as_me:17959: result: maybe" >&5
|
||||
echo "${ECHO_T}maybe" >&6
|
||||
test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6
|
||||
|
||||
echo "${as_me-configure}:17957: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
|
||||
echo "${as_me-configure}:17963: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
|
||||
|
||||
test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
|
||||
|
||||
echo "${as_me-configure}:17961: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
|
||||
echo "${as_me-configure}:17967: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
|
||||
|
||||
case "$EXTRA_LDFLAGS" in #(vi
|
||||
-Wl,-rpath,*) #(vi
|
||||
@ -17980,7 +17986,7 @@ if test -n "$cf_rpath_hack" ; then
|
||||
do
|
||||
test -n "$verbose" && echo " Filtering $cf_rpath_src" 1>&6
|
||||
|
||||
echo "${as_me-configure}:17983: testing Filtering $cf_rpath_src ..." 1>&5
|
||||
echo "${as_me-configure}:17989: testing Filtering $cf_rpath_src ..." 1>&5
|
||||
|
||||
case $cf_rpath_src in #(vi
|
||||
-L*) #(vi
|
||||
@ -17991,7 +17997,7 @@ echo "${as_me-configure}:17983: testing Filtering $cf_rpath_src ..." 1>&5
|
||||
fi
|
||||
test -n "$verbose" && echo " ...Filter $cf_rpath_tmp" 1>&6
|
||||
|
||||
echo "${as_me-configure}:17994: testing ...Filter $cf_rpath_tmp ..." 1>&5
|
||||
echo "${as_me-configure}:18000: testing ...Filter $cf_rpath_tmp ..." 1>&5
|
||||
|
||||
EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
|
||||
;;
|
||||
@ -18001,15 +18007,15 @@ echo "${as_me-configure}:17994: testing ...Filter $cf_rpath_tmp ..." 1>&5
|
||||
LDFLAGS=$cf_rpath_dst
|
||||
test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6
|
||||
|
||||
echo "${as_me-configure}:18004: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
|
||||
echo "${as_me-configure}:18010: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
|
||||
|
||||
test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
|
||||
|
||||
echo "${as_me-configure}:18008: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
|
||||
echo "${as_me-configure}:18014: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
|
||||
|
||||
fi
|
||||
else
|
||||
echo "$as_me:18012: result: no" >&5
|
||||
echo "$as_me:18018: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
fi
|
||||
|
||||
@ -18129,7 +18135,7 @@ DEFS=-DHAVE_CONFIG_H
|
||||
: ${CONFIG_STATUS=./config.status}
|
||||
ac_clean_files_save=$ac_clean_files
|
||||
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
||||
{ echo "$as_me:18132: creating $CONFIG_STATUS" >&5
|
||||
{ echo "$as_me:18138: creating $CONFIG_STATUS" >&5
|
||||
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
||||
cat >$CONFIG_STATUS <<_ACEOF
|
||||
#! $SHELL
|
||||
@ -18305,7 +18311,7 @@ cat >>$CONFIG_STATUS <<\EOF
|
||||
echo "$ac_cs_version"; exit 0 ;;
|
||||
--he | --h)
|
||||
# Conflict between --help and --header
|
||||
{ { echo "$as_me:18308: error: ambiguous option: $1
|
||||
{ { echo "$as_me:18314: error: ambiguous option: $1
|
||||
Try \`$0 --help' for more information." >&5
|
||||
echo "$as_me: error: ambiguous option: $1
|
||||
Try \`$0 --help' for more information." >&2;}
|
||||
@ -18324,7 +18330,7 @@ Try \`$0 --help' for more information." >&2;}
|
||||
ac_need_defaults=false;;
|
||||
|
||||
# This is an error.
|
||||
-*) { { echo "$as_me:18327: error: unrecognized option: $1
|
||||
-*) { { echo "$as_me:18333: error: unrecognized option: $1
|
||||
Try \`$0 --help' for more information." >&5
|
||||
echo "$as_me: error: unrecognized option: $1
|
||||
Try \`$0 --help' for more information." >&2;}
|
||||
@ -18423,7 +18429,7 @@ do
|
||||
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
||||
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
||||
"include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;;
|
||||
*) { { echo "$as_me:18426: error: invalid argument: $ac_config_target" >&5
|
||||
*) { { echo "$as_me:18432: error: invalid argument: $ac_config_target" >&5
|
||||
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
||||
{ (exit 1); exit 1; }; };;
|
||||
esac
|
||||
@ -18698,6 +18704,8 @@ s,@TEST_ARG2@,$TEST_ARG2,;t t
|
||||
s,@TEST_DEP2@,$TEST_DEP2,;t t
|
||||
s,@ADA_SUBDIRS@,$ADA_SUBDIRS,;t t
|
||||
s,@DIRS_TO_MAKE@,$DIRS_TO_MAKE,;t t
|
||||
s,@NCURSES_SHLIB2@,$NCURSES_SHLIB2,;t t
|
||||
s,@NCURSES_COPY2@,$NCURSES_COPY2,;t t
|
||||
s,@HAVE_TCGETATTR@,$HAVE_TCGETATTR,;t t
|
||||
s,@HAVE_TERMIO_H@,$HAVE_TERMIO_H,;t t
|
||||
s,@HAVE_TERMIOS_H@,$HAVE_TERMIOS_H,;t t
|
||||
@ -18817,7 +18825,7 @@ done; }
|
||||
esac
|
||||
|
||||
if test x"$ac_file" != x-; then
|
||||
{ echo "$as_me:18820: creating $ac_file" >&5
|
||||
{ echo "$as_me:18828: creating $ac_file" >&5
|
||||
echo "$as_me: creating $ac_file" >&6;}
|
||||
rm -f "$ac_file"
|
||||
fi
|
||||
@ -18835,7 +18843,7 @@ echo "$as_me: creating $ac_file" >&6;}
|
||||
-) echo $tmp/stdin ;;
|
||||
[\\/$]*)
|
||||
# Absolute (can't be DOS-style, as IFS=:)
|
||||
test -f "$f" || { { echo "$as_me:18838: error: cannot find input file: $f" >&5
|
||||
test -f "$f" || { { echo "$as_me:18846: error: cannot find input file: $f" >&5
|
||||
echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
echo $f;;
|
||||
@ -18848,7 +18856,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
echo $srcdir/$f
|
||||
else
|
||||
# /dev/null tree
|
||||
{ { echo "$as_me:18851: error: cannot find input file: $f" >&5
|
||||
{ { echo "$as_me:18859: error: cannot find input file: $f" >&5
|
||||
echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi;;
|
||||
@ -18914,7 +18922,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
||||
* ) ac_file_in=$ac_file.in ;;
|
||||
esac
|
||||
|
||||
test x"$ac_file" != x- && { echo "$as_me:18917: creating $ac_file" >&5
|
||||
test x"$ac_file" != x- && { echo "$as_me:18925: creating $ac_file" >&5
|
||||
echo "$as_me: creating $ac_file" >&6;}
|
||||
|
||||
# First look for the input files in the build tree, otherwise in the
|
||||
@ -18925,7 +18933,7 @@ echo "$as_me: creating $ac_file" >&6;}
|
||||
-) echo $tmp/stdin ;;
|
||||
[\\/$]*)
|
||||
# Absolute (can't be DOS-style, as IFS=:)
|
||||
test -f "$f" || { { echo "$as_me:18928: error: cannot find input file: $f" >&5
|
||||
test -f "$f" || { { echo "$as_me:18936: error: cannot find input file: $f" >&5
|
||||
echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
echo $f;;
|
||||
@ -18938,7 +18946,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
echo $srcdir/$f
|
||||
else
|
||||
# /dev/null tree
|
||||
{ { echo "$as_me:18941: error: cannot find input file: $f" >&5
|
||||
{ { echo "$as_me:18949: error: cannot find input file: $f" >&5
|
||||
echo "$as_me: error: cannot find input file: $f" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi;;
|
||||
@ -18996,7 +19004,7 @@ cat >>$CONFIG_STATUS <<\EOF
|
||||
rm -f $tmp/in
|
||||
if test x"$ac_file" != x-; then
|
||||
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
|
||||
{ echo "$as_me:18999: $ac_file is unchanged" >&5
|
||||
{ echo "$as_me:19007: $ac_file is unchanged" >&5
|
||||
echo "$as_me: $ac_file is unchanged" >&6;}
|
||||
else
|
||||
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
|
12
configure.in
12
configure.in
@ -28,14 +28,14 @@ dnl***************************************************************************
|
||||
dnl
|
||||
dnl Author: Thomas E. Dickey 1995-on
|
||||
dnl
|
||||
dnl $Id: configure.in,v 1.482 2010/02/20 20:00:54 tom Exp $
|
||||
dnl $Id: configure.in,v 1.484 2010/02/27 21:34:00 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.13.20020210)
|
||||
AC_REVISION($Revision: 1.482 $)
|
||||
AC_REVISION($Revision: 1.484 $)
|
||||
AC_INIT(ncurses/base/lib_initscr.c)
|
||||
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
|
||||
|
||||
@ -1874,6 +1874,14 @@ fi
|
||||
|
||||
CF_DIRS_TO_MAKE
|
||||
|
||||
# symbols that differ when compiling Ada95 by itself.
|
||||
NCURSES_SHLIB2='sh $(top_srcdir)/misc/shlib'
|
||||
AC_SUBST(NCURSES_SHLIB2)
|
||||
|
||||
NCURSES_COPY2='sh $(top_srcdir)/tar-copy.sh'
|
||||
AC_SUBST(NCURSES_COPY2)
|
||||
|
||||
# values to use as strings
|
||||
AC_DEFINE_UNQUOTED(NCURSES_PATHSEP,'$PATH_SEPARATOR')
|
||||
|
||||
AC_DEFINE_UNQUOTED(NCURSES_VERSION_STRING, "${NCURSES_MAJOR}.${NCURSES_MINOR}.${NCURSES_PATCH}")
|
||||
|
4
dist.mk
4
dist.mk
@ -25,7 +25,7 @@
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
# $Id: dist.mk,v 1.747 2010/02/20 19:31:06 tom Exp $
|
||||
# $Id: dist.mk,v 1.748 2010/02/26 21:31:09 tom Exp $
|
||||
# Makefile for creating ncurses distributions.
|
||||
#
|
||||
# This only needs to be used directly as a makefile by developers, but
|
||||
@ -37,7 +37,7 @@ SHELL = /bin/sh
|
||||
# These define the major/minor/patch versions of ncurses.
|
||||
NCURSES_MAJOR = 5
|
||||
NCURSES_MINOR = 7
|
||||
NCURSES_PATCH = 20100220
|
||||
NCURSES_PATCH = 20100227
|
||||
|
||||
# We don't append the patch to the version, since this only applies to releases
|
||||
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\"***************************************************************************
|
||||
.\" Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. *
|
||||
.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. *
|
||||
.\" *
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
.\" copy of this software and associated documentation files (the *
|
||||
@ -28,7 +28,7 @@
|
||||
.\"
|
||||
.\" Author: Thomas E. Dickey 1996
|
||||
.\"
|
||||
.\" $Id: wresize.3x,v 1.9 2006/02/25 21:47:06 tom Exp $
|
||||
.\" $Id: wresize.3x,v 1.10 2010/02/27 21:49:29 Tim.van.der.Molen Exp $
|
||||
.TH wresize 3X ""
|
||||
.SH NAME
|
||||
\fBwresize\fR - resize a curses window
|
||||
@ -41,7 +41,7 @@ The \fBwresize\fR function reallocates storage for an \fBncurses\fR
|
||||
window to adjust its dimensions to the specified values.
|
||||
If either dimension is larger than the current values, the
|
||||
window's data is filled with blanks that have the current background rendition
|
||||
(as set by \fBwbkgndset\fR) merged into them.
|
||||
(as set by \fBwbkgdset\fR) merged into them.
|
||||
.SH RETURN VALUE
|
||||
The function returns the integer \fBERR\fR upon failure and \fBOK\fR on success.
|
||||
It will fail if either of the dimensions less than or equal to zero,
|
||||
|
@ -6,8 +6,8 @@
|
||||
# Report bugs and new terminal descriptions to
|
||||
# bug-ncurses@gnu.org
|
||||
#
|
||||
# $Revision: 1.360 $
|
||||
# $Date: 2010/02/13 18:46:49 $
|
||||
# $Revision: 1.361 $
|
||||
# $Date: 2010/02/24 00:56:04 $
|
||||
#
|
||||
# The original header is preserved below for reference. It is noted that there
|
||||
# is a "newer" version which differs in some cosmetic details (but actually
|
||||
@ -4526,7 +4526,8 @@ screen|VT 100/ANSI X3.64 virtual terminal,
|
||||
# The bce and status-line entries are from screen 3.9.13 (and require some
|
||||
# changes to .screenrc).
|
||||
screen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
|
||||
bce, use=screen,
|
||||
bce,
|
||||
ech@, use=screen,
|
||||
screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
|
||||
dsl=\E_\E\\, fsl=\E\\, tsl=\E_, use=screen,
|
||||
|
||||
@ -4652,21 +4653,29 @@ screen.mlterm|screen in mlterm,
|
||||
# bce on
|
||||
# defbce on
|
||||
screen-bce.xterm-new|screen optimized for modern xterm,
|
||||
bce, use=screen.xterm-new,
|
||||
bce,
|
||||
ech@, use=screen.xterm-new,
|
||||
screen-bce.rxvt|screen optimized for rxvt,
|
||||
bce, use=screen.rxvt,
|
||||
bce,
|
||||
ech@, use=screen.rxvt,
|
||||
screen-bce.Eterm|screen optimized for Eterm,
|
||||
bce, use=screen.Eterm,
|
||||
bce,
|
||||
ech@, use=screen.Eterm,
|
||||
screen-bce.mrxvt|screen optimized for mrxvt,
|
||||
bce, use=screen.mrxvt,
|
||||
bce,
|
||||
ech@, use=screen.mrxvt,
|
||||
screen-bce.gnome|screen optimized for GNOME-Terminal,
|
||||
bce, use=screen.gnome,
|
||||
bce,
|
||||
ech@, use=screen.gnome,
|
||||
screen-bce.konsole|screen optimized for KDE console window,
|
||||
bce, use=screen.konsole,
|
||||
bce,
|
||||
ech@, use=screen.konsole,
|
||||
screen-bce.linux|screen optimized for linux console,
|
||||
bce, use=screen.linux,
|
||||
bce,
|
||||
ech@, use=screen.linux,
|
||||
screen-bce.mlterm|screen optimized for mlterm,
|
||||
bce, use=screen.mlterm,
|
||||
bce,
|
||||
ech@, use=screen.mlterm,
|
||||
|
||||
screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols,
|
||||
cols#132, use=screen,
|
||||
@ -22135,6 +22144,10 @@ v3220|LANPAR Vision II model 3220/3221/3222,
|
||||
# 2010-02-13
|
||||
# * add several screen-bce.XXX entries -TD
|
||||
#
|
||||
# 2010-02-23
|
||||
# * modify screen-bce.XXX entries to exclude ech, since screen's color
|
||||
# model does not clear with color for that feature -TD
|
||||
#
|
||||
# The following sets edit modes for GNU EMACS.
|
||||
# Local Variables:
|
||||
# fill-prefix:"\t"
|
||||
|
Loading…
Reference in New Issue
Block a user