Ralf Wildenhues skrev:
* Peter Rosin wrote on Wed, Aug 13, 2008 at 11:00:33AM CEST:
Ralf Wildenhues skrev:
-  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" &>conftest.err)
+  (eval "$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext" >conftest.err 2>&1)

Is there a reason for this,

Yes,
  >file 2>&1

is completely equivalent to
  &>file

except that the latter syntax is bash-specific and the former supported
by all POSIX-compatible shells.  I was testing with dash last night and
saw ugly noise on (undirected) stderr when running configure.

Oops, and *blush* :-)

Cheers,
Peter



Reply via email to