mirror of
https://github.com/tstack/lnav
synced 2024-11-03 23:15:38 +00:00
[build] Revert the LIBS variable after readline checks.
This commit is contained in:
parent
af21670065
commit
b9c8e18611
@ -45,6 +45,7 @@ AC_DEFUN([AX_PATH_LIB_READLINE],
|
||||
AS_VAR_SET(saved_CFLAGS, $CFLAGS)
|
||||
AS_VAR_SET(saved_CPPFLAGS, $CPPFLAGS)
|
||||
AS_VAR_SET(saved_LDFLAGS, $LDFLAGS)
|
||||
AS_VAR_SET(saved_LIBS, $LIBS)
|
||||
AS_CASE(["$with_readline"],
|
||||
[no],
|
||||
AC_MSG_ERROR([readline required to build]),
|
||||
@ -87,6 +88,7 @@ AC_DEFUN([AX_PATH_LIB_READLINE],
|
||||
AS_VAR_SET(CFLAGS, $saved_CFLAGS)
|
||||
AS_VAR_SET(CPPFLAGS, $saved_CPPFLAGS)
|
||||
AS_VAR_SET(LDFLAGS, $saved_LDFLAGS)
|
||||
AS_VAR_SET(LIBS, $saved_LIBS)
|
||||
|
||||
AC_SUBST([READLINE_LIBS])
|
||||
AC_SUBST([READLINE_CFLAGS])
|
||||
|
Loading…
Reference in New Issue
Block a user