From 6e8f0dc68f2904533e81f60272f3d615b52a12ad Mon Sep 17 00:00:00 2001 From: "vivian.mcphail" Date: Sat, 7 May 2005 04:24:52 +0000 Subject: [PATCH] cygwin-leading-underscore-test --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 5c46161..77d8989 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,12 @@ fi AC_SUBST(WHOLE_ARCHIVE_FLAG) 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. # 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`