]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2003-02-20 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 21 Feb 2003 03:02:16 +0000 (03:02 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 21 Feb 2003 03:02:16 +0000 (03:02 +0000)
* Makerules: Clean up conditional around include of tls.make.
* Make-dist: Export generating=t to prevent using that.
(+distinfo): Likewise for $(shell $(MAKE) ...) runs.

Make-dist
Makerules

index e757a64d3dabe46b3b73dd5945366225f2616c3d..a5f4ddb54f2a8993c76d2551e5673802ba0a2078 100644 (file)
--- a/Make-dist
+++ b/Make-dist
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1991-2001, 2002, 2003 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -63,7 +63,7 @@ all-headers = $(filter-out $(sysdep_headers),$(headers))
 else
 +distinfo := $(shell MAKEFLAGS= MFLAGS= $(MAKE) -s no_deps=t \
                     inhibit_interface_rules=t inhibit_mach_syscalls=t \
-                    inhibit_timezone_rules=t \
+                    inhibit_timezone_rules=t generating=t \
                     subdirs='$(subdirs)' echo-distinfo | grep -v '^make')
 foo:=$(shell echo>&2 '+distinfo=$(+distinfo)')
 all-headers := $(patsubst +header+%,%,$(filter +header+%,$(+distinfo)))
@@ -263,3 +263,4 @@ unexport distribute generated
 export inhibit_mach_syscalls=t
 export no_deps=t
 export inhibit_interface_rules=t
+export generating=t
index a4acb895712d23c39de4ba4ff412e3510d9fcb62..75dfd5a2bb05487b9798a17a1d8adb6ccb610ccf 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1181,7 +1181,7 @@ define check-abi
        | diff -pu0 - $(filter %.symlist,$^)
 endef
 
-ifeq ($(sysd-sorted-done)$(generating),t)
+ifeq ($(firstword $(sysd-sorted-done) f)$(firstword $(generating) f),tf)
 -include $(common-objpfx)tls.make
 config-tls-yes := tls
 config-tls-no := notls