diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-08 18:32:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-08 18:32:37 +0000 |
commit | 21852576ffe6365d6cba071699630cbb65621fc2 (patch) | |
tree | 5ede118529b32810c512d86e32d5ee2a30c76296 /sim/sh/configure.in | |
parent | c64dfabd074aa77d7814bb532a1ad07592db5ae3 (diff) | |
download | gdb-21852576ffe6365d6cba071699630cbb65621fc2.zip gdb-21852576ffe6365d6cba071699630cbb65621fc2.tar.gz gdb-21852576ffe6365d6cba071699630cbb65621fc2.tar.bz2 |
* configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.
* configure: Rebuild.
* Makefile.in (INSTALL): Revert to using install.sh.
(INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
(INSTALL_XFORM, INSTALL_XFORM1): Restore.
(CC_FOR_BUILD): Restore.
(gencode): Build using $(CC_FOR_BUILD).
(install): Don't install in $(tooldir).
Diffstat (limited to 'sim/sh/configure.in')
-rw-r--r-- | sim/sh/configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sim/sh/configure.in b/sim/sh/configure.in index 6aba96d..7b96e72 100644 --- a/sim/sh/configure.in +++ b/sim/sh/configure.in @@ -14,6 +14,14 @@ AC_SUBST(HDEFINES) AR=${AR-ar} AC_SUBST(AR) AC_PROG_RANLIB -AC_PROG_INSTALL + +# Put a plausible default for CC_FOR_BUILD in Makefile. +AC_C_CROSS +if test "x$cross_compiling" = "xno"; then + CC_FOR_BUILD='$(CC)' +else + CC_FOR_BUILD=gcc +fi +AC_SUBST(CC_FOR_BUILD) AC_OUTPUT(Makefile) |