Revision cf257238 configure

b/configure
313 313
int main(void) {}
314 314
EOF
315 315

  
316
if $cc -c -o $TMPO $TMPC 2>/dev/null ; then
316
if $cc -c -o $TMPO $TMPC 2> /dev/null ; then
317 317
  : C compiler works ok
318 318
else
319 319
    echo "ERROR: \"$cc\" either does not exist or does not work"
......
338 338
int main(){return 0;}
339 339
EOF
340 340
    check_cc() {
341
	which "$1" >&/dev/null
341
	which "$1" 2> /dev/null
342 342
	return $?
343 343
    }
344 344

  
345
    if "$cc" -o $TMPE $TMPC 2>/dev/null ; then
345
    if "$cc" -o $TMPE $TMPC 2> /dev/null ; then
346 346
	echo "WARNING: \"$cc\" looks like gcc 4.x"
347 347
	found_compat_cc="no"
348 348
	if test "$gcc3_search" = "yes" ; then
......
442 442
}
443 443
EOF
444 444

  
445
if $cc -o $TMPE $TMPC 2>/dev/null ; then
445
if $cc -o $TMPE $TMPC 2> /dev/null ; then
446 446
$TMPE && bigendian="yes"
447 447
else
448 448
echo big/little test failed

Also available in: Unified diff