1 dnl Process this file with autoconf to produce a configure script.
6 # Put a useful copy of CPP_FOR_TARGET in Makefile.
7 # This is only used to build the target values header files. These files are
8 # shipped with distributions so CPP_FOR_TARGET only needs to work in
9 # developer's trees. This value is borrowed from ../../Makefile.in.
11 if test -f \$\${rootme}/../../gcc/Makefile ; then \
12 if test -f \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/Makefile ; then \
13 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/ -idirafter \$\${rootme}/../../\$(TARGET_SUBDIR)/newlib/targ-include -idirafter \$(srcroot)/newlib/libc/include -nostdinc; \
15 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
18 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
21 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
24 AC_SUBST(CPP_FOR_TARGET)
26 # Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
27 if test x"${host}" = x"${target}" ; then
30 TARGET_SUBDIR=${target_alias}
32 AC_SUBST(TARGET_SUBDIR)