mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Save and restore LIBS when checking for b64_ntop, reported by Ralf Friedl.
This commit is contained in:
parent
fb02df66cc
commit
a34de2e378
@ -285,6 +285,7 @@ if test "x$found_b64_ntop" = xno; then
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for b64_ntop with -lresolv)
|
AC_MSG_CHECKING(for b64_ntop with -lresolv)
|
||||||
|
OLD_LIBS="$LIBS"
|
||||||
LIBS="$LIBS -lresolv"
|
LIBS="$LIBS -lresolv"
|
||||||
AC_TRY_LINK(
|
AC_TRY_LINK(
|
||||||
[
|
[
|
||||||
@ -297,6 +298,7 @@ if test "x$found_b64_ntop" = xno; then
|
|||||||
found_b64_ntop=no
|
found_b64_ntop=no
|
||||||
)
|
)
|
||||||
if test "x$found_b64_ntop" = xno; then
|
if test "x$found_b64_ntop" = xno; then
|
||||||
|
LIBS="$OLD_LIBS"
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user