+2002-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ * Makefile.in (s-mlib): Handle --disable-multilib by separate
+ genmultilib invocation.
+
2002-04-04 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
# switches.
multilib.h: s-mlib; @true
s-mlib: $(srcdir)/genmultilib Makefile
- $(SHELL) $(srcdir)/genmultilib \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_OPTIONS)`" \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_DIRNAMES)`" \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_MATCHES)`" \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_EXCEPTIONS)`" \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_EXTRA_OPTS)`" \
- "`test @enable_multilib@ != yes || echo $(MULTILIB_EXCLUSIONS)`" \
- > tmp-mlib.h
+ if test @enable_multilib@ = yes; then \
+ $(SHELL) $(srcdir)/genmultilib \
+ "$(MULTILIB_OPTIONS)" \
+ "$(MULTILIB_DIRNAMES)" \
+ "$(MULTILIB_MATCHES)" \
+ "$(MULTILIB_EXCEPTIONS)" \
+ "$(MULTILIB_EXTRA_OPTS)" \
+ "$(MULTILIB_EXCLUSIONS)" \
+ > tmp-mlib.h; \
+ else \
+ $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' > tmp-mlib.h; \
+ fi
$(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h
$(STAMP) s-mlib