Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2000-10-20 00:56:51 +0400
committerEarnie Boyd <earnie@users.sf.net>2000-10-20 00:56:51 +0400
commit74266a0fee830ed4162d10e253c872f349511a23 (patch)
treea4575038e60f3059e890453d726ca2e7f4096531 /winsup/w32api/configure.in
parent19d9e89b4a75a206f85ac3f3d2914dd593e4c582 (diff)
* Makefile.in: increment VERSION. Change tar file name for dist and
bindist targets to be more standard. * config.guess: Update with the currently published file. * config.sub: ditto. * configure.in: Use value of build_alias instead of testing for directory names to set BUILDENV. * configure: ditto. * lib/Makefile.in: Change the name of the targets install, install-headers and install-libraries to xinstall, xinstall-headers and xinstall-libraries for system target specified installation. Recreate targets install, install-headers and install-libraries for exec-prefix specified installation. Ditto for the uninstall targets of the same name.
Diffstat (limited to 'winsup/w32api/configure.in')
-rw-r--r--winsup/w32api/configure.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/winsup/w32api/configure.in b/winsup/w32api/configure.in
index ffc31dac8..2c6066e86 100644
--- a/winsup/w32api/configure.in
+++ b/winsup/w32api/configure.in
@@ -35,12 +35,10 @@ AC_CHECK_TOOL(WINDRES, windres, windres)
AC_SUBST(WINDRES)
AC_MSG_CHECKING([for build environment])
-BUILDENV=
-if test -d ../../winsup; then
- BUILDENV=cygwin
-elif test -d ../mingw; then
- BUILDENV=mingw
-fi
+case "$build_alias" in
+*-mingw*) BUILDENV=mingw;;
+*-cygwin*) BUILDENV=cygwin;;
+esac
if test -z "$BUILDENV"; then
AC_MSG_RESULT(standard)
else