configure: When overriding LIBS, include old $LIBS value.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 6 Oct 2017 09:31:58 +0000 (10:31 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 6 Oct 2017 09:31:58 +0000 (10:31 +0100)
Fixes commit a4165c822baf74f5c1906593a984f996b11058d1.

configure.ac

index 6b27aff..aecf96e 100644 (file)
@@ -47,7 +47,7 @@ PKG_CHECK_MODULES([AUGEAS], [augeas])
 
 dnl Check for aug_source function, added in Augeas 1.8.0.
 old_LIBS="$LIBS"
-LIBS="$AUGEAS_LIBS"
+LIBS="$AUGEAS_LIBS $LIBS"
 AC_CHECK_FUNCS([aug_source])
 LIBS="$old_LIBS"