30 lines
820 B
Diff
30 lines
820 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -176,15 +176,6 @@
|
|
if ${COMP} -o "test-${1}" "${SOURCEDIR}/test-${1}.c" ${3} 1>&3 2>&3
|
|
then
|
|
echo "partial result of ${n}: ${CC} succeeded" 1>&3
|
|
- else
|
|
- echo "tested ${n}: no (compilation failed)" 1>&2
|
|
- echo "result of ${n}: ${CC} failed with exit status $?" 1>&3
|
|
- echo "result of compiling ${n}: no" 1>&3
|
|
- echo 1>&3
|
|
- return 1
|
|
- fi
|
|
-
|
|
- if ./test-${1} 1>&3 2>&3; then
|
|
echo "tested ${n}: yes" 1>&2
|
|
echo "result of running ${n}: yes" 1>&3
|
|
echo 1>&3
|
|
@@ -199,10 +190,9 @@
|
|
return 0
|
|
else
|
|
echo "tested ${n}: no (execution failed)" 1>&2
|
|
- echo "result of ${n}: execution failed with exit status $?" 1>&3
|
|
+ echo "result of ${n}: ${CC} failed with exit status $?" 1>&3
|
|
echo "result of running ${n}: no" 1>&3
|
|
echo 1>&3
|
|
- rm "test-${1}"
|
|
return 1
|
|
fi
|
|
}
|