aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-04-04 11:39:20 +0000
committerNick Clifton <nickc@gcc.gnu.org>2008-04-04 11:39:20 +0000
commit2a79c47f95d0e9c4a6846c9ec96c69ec65ec198d (patch)
tree5649721c24cb44021ca826778ba0ac70a4ef09cf /configure
parentc071e8bcc22f8b9cd854584d3dfccab9b2c23de7 (diff)
downloadgcc-2a79c47f95d0e9c4a6846c9ec96c69ec65ec198d.zip
gcc-2a79c47f95d0e9c4a6846c9ec96c69ec65ec198d.tar.gz
gcc-2a79c47f95d0e9c4a6846c9ec96c69ec65ec198d.tar.bz2
re PR middle-end/4334 (Flow control insn inside a basic block, arm/netbsd, gcc 3.1)
PR binutils/4334 * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): New macro to check that cygwin builds are not running in textmode. * configure.ac: Run ACX_XHEXK_CYGWIN_CAT_WORKS for cygwin hosted builds. * configure: Regenerate. From-SVN: r133894
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure27
1 files changed, 27 insertions, 0 deletions
diff --git a/configure b/configure
index 0fc08b58..b146180 100755
--- a/configure
+++ b/configure
@@ -2780,6 +2780,33 @@ case "${host}" in
host_makefile_frag="config/mh-djgpp"
;;
*-cygwin*)
+
+echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
+echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
+echo a >cygwin-cat-check
+if test `cat cygwin-cat-check` == a ; then
+ rm cygwin-cat-check
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+else
+ rm cygwin-cat-check
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
+ Please either mount the build directory in binary mode or run the following
+ commands before running any configure script:
+set -o igncr
+export SHELLOPTS
+ " >&5
+echo "$as_me: error: The cat command does not ignore carriage return characters.
+ Please either mount the build directory in binary mode or run the following
+ commands before running any configure script:
+set -o igncr
+export SHELLOPTS
+ " >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
host_makefile_frag="config/mh-cygwin"
;;
*-mingw*)