From 48d99185e3c261d7735d446fe467d6d82fc73702 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 30 Jan 2001 01:45:30 +0000 Subject: Update. * malloc/Makefile: Don't build memusagestat if cross-compiling. --- malloc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'malloc/Makefile') diff --git a/malloc/Makefile b/malloc/Makefile index d69d49bbd3..84324ca563 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1991-1999, 2000, 2001 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 @@ -69,12 +69,17 @@ address-width=18 endif endif +# Unless we get a test for the availability of libgd which also works +# for cross-compiling we disable the memusagestat generation in this +# situation. +ifneq ($(cross-compiling),yes) # If the gd library is available we build the `memusagestat' program. ifneq ($(LIBGD),no) install-bin += memusagestat memusage generated += memusagestat memusage extra-objs += memusagestat.o endif +endif # Another goal which can be used to override the configure decision. .PHONY: do-memusagestat -- cgit v1.2.3