configure: Do not use 'sed -i'
authorPavel Borzenkov <pavel.borzenkov@gmail.com>
Thu, 10 Nov 2011 20:26:59 +0000 (00:26 +0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Nov 2011 18:49:51 +0000 (12:49 -0600)
commitb1a99250c50bee9d541470a48e18364aa7bd74ab
tree8f188bd6395426544aeefe28a075f1be5ef57ef5
parent47249ceec2120f00d2dd3aa974f1c25c830e3fad
configure: Do not use 'sed -i'

'sed -i' is not defined in POSIX. It doesn't work on Mac OS X the way
it's used in configure (without suffix argument). This patch implements
Peter Maydell's idea of xattr.h detection.

Cc: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure