Commit 20889345 authored by Loren Merritt's avatar Loren Merritt

configure check for cc, rather than reporting lack of compiler as an asm error.

configure check for -mno-cygwin, since it's removed from gcc4.
parent 3e6b5309
......@@ -209,10 +209,12 @@ case $host_os in
;;
cygwin*)
SYS="MINGW"
CFLAGS="$CFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
EXE=".exe"
DEVNULL="NUL"
if cc_check "" -mno-cygwin; then
CFLAGS="$CFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
fi
;;
mingw*)
SYS="MINGW"
......@@ -298,6 +300,8 @@ esac
# check requirements
cc_check || die "No working C compiler found."
if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" \) ] ; then
pic="yes"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment