staging: usbip: Fix build with --with-tcp-wrappers
authorDominik Paulus <dominik.paulus@fau.de>
Thu, 19 Sep 2013 12:47:41 +0000 (14:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:32:43 +0000 (16:32 -0700)
With --with-tcp-wrappers=no specified, the build system reset LIBS to
the empty string and thus fails to link against libsysfs.

Signed-off-by: Dominik Paulus <dominik.paulus@fau.de>
Signed-off-by: Tobias Polzer <tobias.polzer@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/configure.ac

index 2be4060f90363a693ffe635955ab462acef98eb8..0ee5d92639962ac65f13c1704e54bcb4dafb53de 100644 (file)
@@ -70,7 +70,6 @@ AC_ARG_WITH([tcp-wrappers],
                       [AC_MSG_RESULT([not found]); exit 1])
             else
                     AC_MSG_RESULT([no]);
-                    LIBS="$saved_LIBS"
             fi],
            dnl [ACTION-IF-NOT-GIVEN]
            [AC_MSG_RESULT([(default)])