]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.7 - patch 20101128
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 28 Nov 2010 18:37:37 +0000 (18:37 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 28 Nov 2010 18:37:37 +0000 (18:37 +0000)
+ modify test/configure and test/Makefile.in to handle this special
  case of building within a build-tree (Debian #34182):
mkdir -p build && cd build && ../test/configure && make

NEWS
dist.mk
test/Makefile.in
test/configure
test/configure.in

diff --git a/NEWS b/NEWS
index 311ed8bb32e315199d3665a74d5df6db57ec4274..6a919665159cbdfa4de3e19d16a5d08ecda4ba9e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1614 2010/11/28 00:32:32 tom Exp $
+-- $Id: NEWS,v 1.1615 2010/11/28 16:43:28 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,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.
 
+20101128
+       + modify test/configure and test/Makefile.in to handle this special
+         case of building within a build-tree (Debian #34182):
+               mkdir -p build && cd build && ../test/configure && make
+
 20101127
        + miscellaneous build-fixes for Ada95 and test-directories when built
          out-of-tree.
diff --git a/dist.mk b/dist.mk
index c8993ffe92aeb1ea0add145da1dbef5fea106d51..8948d22abbd40c020588242c4d97435cc40019c4 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.782 2010/11/27 16:17:05 tom Exp $
+# $Id: dist.mk,v 1.783 2010/11/28 16:43:43 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 = 20101127
+NCURSES_PATCH = 20101128
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index c9d5618047cbdc1443ea0c13c1d9da4a763ca6c9..9fde0adbe8b1ccd2991570c60e9866f2860c8c99 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.107 2010/11/27 21:47:17 tom Exp $
+# $Id: Makefile.in,v 1.108 2010/11/28 16:39:40 tom Exp $
 ##############################################################################
 # Copyright (c) 1998-2008,2010 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -72,7 +72,7 @@ CC            = @CC@
 CPP            = @CPP@
 
 CFLAGS         = @CFLAGS@ @EXTRA_CFLAGS@
-CPPFLAGS       =  -I../test -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@
+CPPFLAGS       = -I. -I$(srcdir) -I../test -DHAVE_CONFIG_H @CPPFLAGS@
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
index 41395d2a4e3d1eea2fb46f43cf4dcba74654778f..07fd3489a8b8002b29c027e5179b55df33a31a8a 100755 (executable)
@@ -15477,10 +15477,10 @@ for N in $LIST
 do
        cat >>Makefile <<TEST_EOF
 
-\$(MODEL)/$N.o : $N.c \\
-       test.priv.h \\
+\$(MODEL)/$N.o : \$(srcdir)/$N.c \\
+       \$(srcdir)/test.priv.h \\
        ncurses_cfg.h
-       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) $N.c
+       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
 TEST_EOF
 done
 
index 28eddbcaac62b28966a777cec3532c9b9dd99c79..697ad550ff47aea5020a74bb291c265b7f512ff5 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1996, etc.
 dnl
-dnl $Id: configure.in,v 1.84 2010/11/28 00:16:57 tom Exp $
+dnl $Id: configure.in,v 1.85 2010/11/28 16:38:04 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)
@@ -293,10 +293,10 @@ for N in $LIST
 do
        cat >>Makefile <<TEST_EOF
 
-\$(MODEL)/$N.o : $N.c \\
-       test.priv.h \\
+\$(MODEL)/$N.o : \$(srcdir)/$N.c \\
+       \$(srcdir)/test.priv.h \\
        ncurses_cfg.h
-       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) $N.c
+       @echo compiling $N; \$(CC) -c \$(CFLAGS_DEFAULT) \$(srcdir)/$N.c
 TEST_EOF
 done