staging: usbip: userspace: allow `configure --with-tcp-wrappers`
authorW. Trevor King <wking@tremily.us>
Fri, 17 Aug 2012 10:47:05 +0000 (06:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 16:44:04 +0000 (09:44 -0700)
commitce591f76c79da49389091a2f62597c88b8a29374
treed8f031a7418fdee3f40ab6ed25fb757496f5ce55
parent93efc55b42536273d8ca5cccb5261cfe5e1471bb
staging: usbip: userspace: allow `configure --with-tcp-wrappers`

When `--with-tcp-wrappers` is passed to `configure`, the previous code
always reset LIBS to $saved_LIBS, regardless of whether libwrap was
found or not.  The current code makes the `--with-tcp-wrappers` case
look more like the default case, and it only resets LIBS if libwrap
was not found.

Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/configure.ac