gas: sparc: fix collision of registers and pseudo-ops.
[deliverable/binutils-gdb.git] / sim / common / configure.ac
CommitLineData
c906108c 1dnl Process this file with autoconf to produce a configure script.
6ffe910a 2AC_PREREQ(2.64)dnl
c906108c
SS
3AC_INIT(Makefile.in)
4
936df756 5AC_PROG_CC
c906108c
SS
6
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.
11CPP_FOR_TARGET="\` \
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; \
15 else \
16 echo \$\${rootme}/../../gcc/xgcc -B\$\${rootme}/../../gcc/; \
17 fi; \
18 else \
19 if test '\$(host_canonical)' = '\$(target_canonical)' ; then \
20 echo \$(CC); \
21 else \
22 t='\$(program_transform_name)'; echo gcc | sed -e 's/x/x/' \$\$t; \
23 fi; \
24 fi\` -E"
25AC_SUBST(CPP_FOR_TARGET)
26
27# Set TARGET_SUBDIR, needed by CPP_FOR_TARGET.
28if test x"${host}" = x"${target}" ; then
29 TARGET_SUBDIR="."
30else
31 TARGET_SUBDIR=${target_alias}
32fi
33AC_SUBST(TARGET_SUBDIR)
34
936df756 35AC_OUTPUT(Makefile)
This page took 0.733069 seconds and 4 git commands to generate.