]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
authorRoland McGrath <roland@gnu.org>
Mon, 13 May 1996 22:11:28 +0000 (22:11 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 13 May 1996 22:11:28 +0000 (22:11 +0000)
* posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.

ChangeLog
extra-lib.mk
posix/glob.h

index 61a1bbdb8921a15d4aff78e9d17344854621b1a0..876173ef40ef61f8cf71672031672923eaa3aac7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Mon May 13 12:03:03 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
+       * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
+
+       * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
+
        * configure.in (--with-fp): Note in help string that it's the default.
 
        * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
index f6a1c83e37b14a76afbbb18c3037b8afbc8f605a..214ffcfe026909a794a48e7281e73f7ad896fdf9 100644 (file)
@@ -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
index 6eea06298caf9fa55103c77dc4baa80bc6bc695d..73fd01806697f5a2f7caca37837d4c19f8952ce0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public License as
@@ -65,7 +65,9 @@ extern "C"
 #define        GLOB_NOMATCH    3       /* No matches found.  */
 
 /* Structure describing a globbing run.  */
+#ifndef _AMIGA                 /* Buggy compiler.   */
 struct stat;
+#endif
 typedef struct
   {
     int gl_pathc;              /* Count of paths matched by the pattern.  */