summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-13 22:11:28 +0000
committerRoland McGrath <roland@gnu.org>1996-05-13 22:11:28 +0000
commita13dab1c0fc22afd6065e35619883e95f9241c6d (patch)
tree77bd3fd5ea6d7d94da835931f0458845118c8629 /extra-lib.mk
parent* configure.in (--with-fp): Note in help string that it's the default. (diff)
downloadglibc-a13dab1c0fc22afd6065e35619883e95f9241c6d.tar.gz
glibc-a13dab1c0fc22afd6065e35619883e95f9241c6d.tar.bz2
glibc-a13dab1c0fc22afd6065e35619883e95f9241c6d.zip
* extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
* posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
Diffstat (limited to 'extra-lib.mk')
-rw-r--r--extra-lib.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra-lib.mk b/extra-lib.mk
index f6a1c83e37..214ffcfe02 100644
--- a/extra-lib.mk
+++ b/extra-lib.mk
@@ -10,6 +10,8 @@ extra-libs-left := $(filter-out $(lib),$(extra-libs-left))
object-suffixes-$(lib) := $(filter-out $($(lib)-inhibit-o),$(object-suffixes))
+ifneq (,$(object-suffixes-$(lib)))
+
# Make sure these are simply-expanded variables before we append to them,
# since we want the expressions we append to be expanded right now.
install-lib := $(install-lib)
@@ -38,3 +40,5 @@ $(common-objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \
endef
object-suffixes-left = $(object-suffixes-$(lib))
include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes-$(lib)))
+
+endif