dd, shred: use fdatasync only if declared
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Jul 2011 20:40:03 +0000 (13:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Jul 2011 20:41:19 +0000 (13:41 -0700)
commit339613b6bdd8d4a51435cba9e903b8b5bb082da4
tree170c9516716a58b4a3c85414094dfcc74601045d
parentf603b2d228e4f5ea811c17470361b683e4fee1ee
dd, shred: use fdatasync only if declared

* m4/jm-macros.m4 (coreutils_MACROS): Use fdatasync only if declared.
MacOS X 10.7 has an fdatasync that is not declared, and is rumored to
be ineffective.  (Bug#9141)
m4/jm-macros.m4