cygwin-leading-underscore-test

This commit is contained in:
vivian.mcphail 2005-05-07 04:24:52 +00:00
parent 908385396b
commit 6e8f0dc68f

View File

@ -42,6 +42,12 @@ fi
AC_SUBST(WHOLE_ARCHIVE_FLAG) AC_SUBST(WHOLE_ARCHIVE_FLAG)
AC_SUBST(LEADING_UNDERSCORE) AC_SUBST(LEADING_UNDERSCORE)
if test "$build-os" = "cygwin"
then
LEADING_UNDERSCORE=1
fi
AC_SUBST(LEADING_UNDERSCORE)
# Find pwd, in a cygwin friendly way. # Find pwd, in a cygwin friendly way.
# Suggested by: http://www.haskell.org/ghc/docs/latest/html/users_guide/ch11s04.html # Suggested by: http://www.haskell.org/ghc/docs/latest/html/users_guide/ch11s04.html
TOP=`echo "Directory.getCurrentDirectory >>= putStrLn.init.tail.show " | ghci -ignore-dot-ghci -v0` TOP=`echo "Directory.getCurrentDirectory >>= putStrLn.init.tail.show " | ghci -ignore-dot-ghci -v0`