about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-25 15:42:34 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-25 15:42:34 +0000
commit0155a7737f5653e07015421b962b70fd8831c4ad (patch)
tree48ce04644835332f6d81ed848d8ff68f6d3973c9 /Makeconfig
parente66b6eca3d51457a2348d4dd23638a7b339b9e03 (diff)
downloadglibc-0155a7737f5653e07015421b962b70fd8831c4ad.tar.gz
glibc-0155a7737f5653e07015421b962b70fd8831c4ad.tar.xz
glibc-0155a7737f5653e07015421b962b70fd8831c4ad.zip
Update.
1998-11-25  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 2.0.104.

1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>

	* libio/bits/stdio.h (fread_unlocked): Add missing parentheses
	around parameter n.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* time/tzfile.c (__tzfile_read): Fix comment.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makerules (build-shlib): Pass -O1 down to linker to get
	optimized shared libraries.

1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
	file.  Strip "-" from inhibited subdir name.  Combine into a
	single awk program.
	($(common-objpfx)sysd-sorted): Fix sed command.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makeconfig b/Makeconfig
index 2c13c2073c..ac3834af50 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -772,14 +772,14 @@ subdirs	:= $(filter mach,$(subdirs)) $(filter hurd,$(subdirs)) \
 
 all-Subdirs-files = $(wildcard $(config-sysdirs:%=$(..)%/Subdirs))
 $(common-objpfx)sysd-dirs: $(common-objpfx)config.make $(all-Subdirs-files)
-	($(AWK) 'END { printf ("sysdep-subdirs =") }' /dev/null;	\
-	 $(AWK) '/^[^#-]/ { printf (" %s", $$0) }' $(all-Subdirs-files);\
-	 echo;								\
-	 $(AWK) 'END { printf ("sysdep-inhibit-subdirs =") }' /dev/null;\
-	 $(AWK) '/^-/ { printf (" %s", $$0) }' $(all-Subdirs-files);	\
-	 echo;								\
-	 echo 'sysd-dirs-done = t';					\
-	) > $@-tmp
+	$(AWK) 'BEGIN { subdirs = ""; inhibit = "" };			\
+		/^#/ { next };						\
+		/^[^-]/ { subdirs = subdirs " " $$0 };			\
+		/^-/ { inhibit = inhibit " " substr($$0, 2) };		\
+		END { printf "sysdep-subdirs =%s\n", subdirs;		\
+		      printf "sysdep-inhibit-subdirs =%s\n", inhibit;	\
+		      print "sysd-dirs-done = t" }'			\
+	       /dev/null $(all-Subdirs-files) > $@-tmp
 	mv -f $@-tmp $@
 
 all-Depend-files = $(wildcard $(..)*/Depend)