X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=14e6e2156a449d0cb59f0aa0a01400f5b8087fbe;hb=78d34718d999143141b20ae5f23595efb86bd166;hp=b43d7f5e270875fc0df3a4e8ef0bf0443c8c1c79;hpb=9000c679a8904a398022b96e01649120e024c615;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index b43d7f5..14e6e21 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1243,19 +1243,19 @@ AC_DEFUN([FP_FIND_ROOT],[ AC_MSG_CHECKING(for path to top of build tree) dnl This would be -dnl make -C utils/pwd clean && make -C utils/pwd +dnl make -C utils/ghc-pwd clean && make -C utils/ghc-pwd dnl except we don't want to have to know what make is called. Sigh. -if test ! -f utils/pwd/pwd && test ! -f utils/pwd/pwd.exe; then - cd utils/pwd +if test ! -f utils/ghc-pwd/ghc-pwd && test ! -f utils/ghc-pwd/ghc-pwd.exe; then + cd utils/ghc-pwd rm -f *.o rm -f *.hi - rm -f pwd - rm -f pwd.exe - $WithGhc -v0 --make pwd -o pwd + rm -f ghc-pwd + rm -f ghc-pwd.exe + $WithGhc -v0 --make ghc-pwd -o ghc-pwd cd ../.. fi -hardtop=`utils/pwd/pwd` +hardtop=`utils/ghc-pwd/ghc-pwd` if ! test -d "$hardtop"; then AC_MSG_ERROR([cannot determine current directory])