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