From 690a2f7da66de6faa69362a42aec6467d58209af Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 17 Feb 2002 07:22:56 +0000 Subject: [PATCH] * sysdeps/mach/Makefile (mach-before-compile): Don't include mach_interface.h here, since not all variants use that name. --- ChangeLog | 3 +++ sysdeps/mach/Makefile | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a096966..b70cb72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-02-16 Roland McGrath + * sysdeps/mach/Makefile (mach-before-compile): Don't include + mach_interface.h here, since not all variants use that name. + * sysdeps/mach/configure.in: Add some checks for Mach headers to ensure a sane installation. (mach_interface_list): Define this variable by checking for .defs diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile index da10c08..4d4e4c0 100644 --- a/sysdeps/mach/Makefile +++ b/sysdeps/mach/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc. +# Copyright (C) 1993,94,96,97,2002 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 @@ -29,9 +29,13 @@ ifneq (mach,$(subdir)) mach-objpfx = $(common-objpfx)mach/ # These are all the generated files that includes. +# Actually, it's only some of them. We omit mach_interface.h +# because it's different in Darwin and the conditional crap is +# too much trouble. This should suffice for getting the mach/Makefile +# rules invoked when they need to be. mach-before-compile := $(mach-objpfx)mach-shortcuts.h \ $(patsubst %,$(mach-objpfx)mach/mach_%.h,\ - interface port host) + port host) # This patsubst generates patterns like `m%h-shortcuts.h', which are damn # likely to match just the corresponding particular file we want. -- 2.7.4