Tests for ml.exe and cygwin bash path now only carried out on Windows

This commit is contained in:
oisin 2001-02-07 10:37:00 +00:00
parent c83313dba0
commit 105b273183

View file

@ -865,16 +865,14 @@ if test -z "$FLEX"; then
AC_MSG_WARN([no flex found in \$PATH, install flex]) >> warn
fi
dnl ***************************************
dnl testing bash tools path on Windows
dnl testing bash tools path
dnl ***************************************
if test "$_os" = "WINNT"; then
AC_PATH_PROG(CYGWIN, bash)
CYGWIN=`dirname $CYGWIN`
fi
AC_PATH_PROG(CYGWIN, bash)
CYGWIN=`dirname $CYGWIN`
dnl ***************************************
dnl testing ml.exe assembler path
dnl ***************************************
if test "$_os" = "WINNT"; then
if test ! -x "$with_asm_home/ml.exe"; then
AC_PATH_PROG(ML_EXE, ml.exe)
if test -z "$ML_EXE"; then
@ -883,9 +881,7 @@ if test ! -x "$with_asm_home/ml.exe"; then
with_asm_home="ASM_IN_PATH"
fi
fi
else
with_asm_home="NO_ASM_HOME"
fi
dnl ===================================================================
dnl Setting up the environment.
dnl ===================================================================