X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=eca417a455550d0fb53c95a8fa2272211fffc11d;hb=98b004a37fdfe0347eaaf379789ac0d595f70f25;hp=1e79fd9b3c6f43dd9d0518acf00e9f2fc2d6b030;hpb=eaa67895758acd3ea1546c8d026a1ed67d5eae25;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 1e79fd9..eca417a 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -611,6 +611,11 @@ echo foo > conftest.txt $fp_prog_find conftest.txt -print > conftest.out 2>&1 if grep '^conftest.txt$' conftest.out > /dev/null 2>&1 ; then # OK, looks like a real "find". + if which cygpath 1> /dev/null 2> /dev/null + then + fp_prog_find=`cygpath --mixed "$fp_prog_find"` + AC_MSG_NOTICE([Converted to "$fp_prog_find"]) + fi FindCmd="$fp_prog_find" else # Found a poor WinDoze version of "find", ignore it.