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:
Diffstat (limited to 'winsup/lsaauth/configure.in')
-rw-r--r--winsup/lsaauth/configure.in18
1 files changed, 5 insertions, 13 deletions
diff --git a/winsup/lsaauth/configure.in b/winsup/lsaauth/configure.in
index 9915d8e58..d25997431 100644
--- a/winsup/lsaauth/configure.in
+++ b/winsup/lsaauth/configure.in
@@ -24,21 +24,13 @@ AC_CANONICAL_SYSTEM
LIB_AC_PROG_CC
-NO_CYGWIN="$(cd ${srcdir}/../utils; pwd)/mingw"
+AC_CHECK_PROGS(MINGW32_CC, i686-w64-mingw32-gcc)
+AC_CHECK_PROGS(MINGW64_CC, x86_64-w64-mingw32-gcc)
-AC_SUBST(NO_CYGWIN)
-AC_ARG_PROGRAM
+test -z "$MINGW32_CC" && AC_MSG_ERROR([no acceptable mingw32 cc found in \$PATH])
+test -z "$MINGW64_CC" && AC_MSG_ERROR([no acceptable mingw64 cc found in \$PATH])
-if test "x$cross_compiling" = "xyes"; then
- if test "x$program_transform_name" = "xs,x,x,"; then
- program_transform_name=""
- fi
- if test "x$program_transform_name" = "x"; then
- program_transform_name="s,^,$host-,"
- else
- program_transform_name="$program_transform_name -e s,^,$host-,"
- fi
-fi
+AC_ARG_PROGRAM
AC_PROG_INSTALL