+2001-06-01 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.in (s-mlib): Make backtick-commands always succeed.
+ (DRIVER_DEFINES): Ditto.
+
2001-05-31 Richard Henderson <rth@redhat.com>
* gcc.c (init_gcc_specs): When linking against libgcc_s.so,
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)`" \
+ "`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
$(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h
$(STAMP) s-mlib
-DDEFAULT_TARGET_MACHINE=\"$(target_alias)\" \
-DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
-DTOOLDIR_BASE_PREFIX=\"$(unlibsubdir)/../\" \
- `test "$${SHLIB_LINK}" -a "@enable_shared@" = "yes" && echo "-DENABLE_SHARED_LIBGCC"` \
- `test "$${SHLIB_MULTILIB}" && echo "-DNO_SHARED_LIBGCC_MULTILIB"`
+ `test "X$${SHLIB_LINK}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \
+ `test "X$${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"`
gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) intl.h multilib.h \
Makefile $(lang_specs_files) prefix.h $(GCC_H)