diff options
author | Christopher Faylor <me@cgf.cx> | 2000-06-17 17:54:05 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-06-17 17:54:05 +0000 |
commit | e94903eb0f98dea688ac3a009b97dfeb15a1a348 (patch) | |
tree | e01bca44d95e752576b69569ddae813f27fc920f /winsup/cygwin/configure.in | |
parent | e46892585a414ecf986e1fde9208595192179082 (diff) | |
download | newlib-e94903eb0f98dea688ac3a009b97dfeb15a1a348.zip newlib-e94903eb0f98dea688ac3a009b97dfeb15a1a348.tar.gz newlib-e94903eb0f98dea688ac3a009b97dfeb15a1a348.tar.bz2 |
* configure.in: Detect "cross-hosting" situation and set appropriate variables
in Makefile to avoid building excess stuff.
* configure: Regenerate.
* Makefile.in: Accomodate above change.
Diffstat (limited to 'winsup/cygwin/configure.in')
-rw-r--r-- | winsup/cygwin/configure.in | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/winsup/cygwin/configure.in b/winsup/cygwin/configure.in index 65f2520..4c23360 100644 --- a/winsup/cygwin/configure.in +++ b/winsup/cygwin/configure.in @@ -60,18 +60,32 @@ AC_CANONICAL_SYSTEM LIB_AC_PROG_CC +case "$with_cross_host" in + ""|*cygwin*) + all_host="all_host" + install_host="install_host" + ;; + *) + all_host= + install_host= + ;; +esac + +AC_SUBST(all_host) +AC_SUBST(install_host) + AC_CHECK_TOOL(AR, ar, ar) -AC_SUBST(AR) +dnl AC_SUBST(AR) AC_CHECK_TOOL(AS, as, as) -AC_SUBST(AS) +dnl C_SUBST(AS) AC_CHECK_TOOL(RANLIB, ranlib, ranlib) -AC_SUBST(RANLIB) +dnl C_SUBST(RANLIB) AC_CHECK_TOOL(LD, ld, ld) -AC_SUBST(LD) +dnl C_SUBST(LD) AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool) -AC_SUBST(DLLTOOL) +dnl C_SUBST(DLLTOOL) AC_CHECK_TOOL(WINDRES, windres, windres) -AC_SUBST(WINDRES) +dnl C_SUBST(WINDRES) AC_ALLOCA AC_CONFIG_SUBDIRS(utils doc) |