autoconf: add -Werror to libutil.h header check
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 8 Oct 2012 11:18:29 +0000 (12:18 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Mon, 8 Oct 2012 11:18:29 +0000 (12:18 +0100)
commit58109c79513670eb5d35e8eae0c58c2f7a293c91
tree6fc6c0242a8f2069030c85ffc22818aa74750cef
parentfa8e0b69fe9b04b9c0d30938179c38bbb032a621
autoconf: add -Werror to libutil.h header check

libutil.h is only needed on BSDs, but not in Linux. Debian package
libbsd-dev-0.3.0-1 installed a libutil.h overlay that contains a

Perform the libutil.h check with -Werror, so we don't include this
bogus header.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/configure
tools/m4/ptyfuncs.m4