summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-09 12:55:54 +0000
committerIan Lynagh <igloo@earth.li>2008-07-09 12:55:54 +0000
commitccc9a4a5c7131e5bece84c0983d7d3f8d6480967 (patch)
tree31ee87e710f90dbbf57ae3e6a073cb15bfd83cc3 /aclocal.m4
parent3897d02a5c0deb5c3bfda3299a28bbef525eba84 (diff)
downloadhaskell-ccc9a4a5c7131e5bece84c0983d7d3f8d6480967.tar.gz
Remove all references to -mno-cygwin
We shouldn't need it, as we don't call cygwin's gcc, and it was causing problems with the nightly builders passing it to GHC.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m432
1 files changed, 0 insertions, 32 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 8593b89788..9622084a4d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -56,38 +56,6 @@ AC_DEFUN([FP_EVAL_STDERR],
])# FP_EVAL_STDERR
-# FP_CHECK_FLAG(FLAG, [ACTION-IF-SUPPORTED], [ACTION-IF-NOT-SUPPORTED])
-# ---------------------------------------------------------------------
-# Check to see whether the compiler for the current language supports a
-# particular option.
-#
-# Implementation note: When given an unkown option, GCC issues an warning on
-# stderr only, but returns an exit value of 0 nevertheless. Consequently we have
-# to check stderr *and* the exit value.
-#
-# Used by ghc.
-AC_DEFUN([FP_CHECK_FLAG],
-[AC_LANG_COMPILER_REQUIRE()dnl
-AC_LANG_CASE([C], [fp_compiler="$CC" m4_pushdef([fp_Flags], [CFLAGS])],
- [C++], [fp_compiler="$CXX" m4_pushdef([fp_Flags], [CXXFLAGS])],
- [Fortran 77], [fp_compiler="$F77" m4_pushdef([fp_Flags], [FFLAGS])])
-m4_pushdef([fp_Cache], [fp_cv_[]fp_Flags[]AS_TR_SH([$1])])[]dnl
-AC_CACHE_CHECK([whether $fp_compiler accepts $1], [fp_Cache],
-[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
-fp_save_flags="$fp_Flags"
-fp_Flags="$fp_Flags $1"
-fp_Cache=no
-if FP_EVAL_STDERR([$ac_compile conftest.$ac_ext]) >/dev/null; then
- test -s conftest.err || fp_Cache=yes
-fi
-fp_Flags="$fp_save_flags"
-rm -f conftest.err conftest.$ac_ext])
-AS_IF([test $fp_Cache = yes], [$2], [$3])[]dnl
-m4_popdef([fp_Cache])[]dnl
-m4_popdef([fp_Flags])[]dnl
-])# FP_CHECK_FLAG
-
-
# FP_PROG_CONTEXT_DIFF
# --------------------
# Figure out how to do context diffs. Sets the output variable ContextDiffCmd.