Author: mturk Date: Sat Apr 18 08:26:32 2009 New Revision: 766267 URL: http://svn.apache.org/viewvc?rev=766267&view=rev Log: Do not catch stderr
Modified: commons/sandbox/runtime/trunk/src/main/native/configure Modified: commons/sandbox/runtime/trunk/src/main/native/configure URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=766267&r1=766266&r2=766267&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/configure (original) +++ commons/sandbox/runtime/trunk/src/main/native/configure Sat Apr 18 08:26:32 2009 @@ -449,12 +449,13 @@ int main() {printf("%d", sizeof($1));return 0;} EOF - rc="0" + rc="" $cc $ccflags $cppopts $test.c -o $test$exe >/dev/null 2>&1 if [ -x $test$exe ]; then - rc="`./$test$exe 2>&1`" + rc="`./$test$exe 2>/dev/null`" fi rm -rf $test.* $test *.pdb >/dev/null 2>&1 || true + if [ ".$rc" = . ]; then rc="0"; fi echo $rc 1>&2 echo $rc }