From: Daniel Elstner Date: Tue, 8 Sep 2015 02:02:04 +0000 (+0200) Subject: Build: Fix restore of LIBS after temporary change X-Git-Tag: libsigrok-0.4.0~328 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=39cf2004dc389632cf5bbae9557ed0ee7c86f1e9;p=libsigrok.git Build: Fix restore of LIBS after temporary change --- diff --git a/configure.ac b/configure.ac index c562d1b7..16056c2b 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ SR_ARG_OPT_CHECK([libieee1284], [LIBIEEE1284],, [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[(void) ieee1284_open(0, 0, 0);]])], [sr_have_libieee1284=yes], [sr_have_libieee1284=no]) - sr_save_LIBS=$LIBS + LIBS=$sr_save_LIBS ]) AS_IF([test "x$sr_have_libieee1284" = xyes], [SR_PREPEND([SR_EXTRA_LIBS], [-lieee1284])])