2001-01-29 Ulrich Drepper <drepper@redhat.com>
+ * malloc/Makefile: Don't build memusagestat if cross-compiling.
+
* sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
* math/libm-test.inc (rint_test): Add a few more tests for round
-# 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
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