mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
configure: Restore "x" in "[$]WITHVAL_$1" comparison
Fix a minor bug introduced in commit de45a1df516deee13fe002a0f71678a2ce46cd73 on 2005-07-21. Before that, EL_CHECK_OPTIONAL_LIBRARY used to do this: if test -n "$withval" && test "x$withval" != xno; then AC_MSG_ERROR([$2 not found]) fi It was then changed to look in "[$]WITHVAL_$1" rather than "$withval", but the initial "x" was lost in that change. Restore it.
This commit is contained in:
parent
2d8fd9cecf
commit
0dee9f79a7
@ -440,7 +440,7 @@ AC_DEFUN([EL_CHECK_OPTIONAL_LIBRARY],
|
|||||||
LIBS="$LIBS -l$4"
|
LIBS="$LIBS -l$4"
|
||||||
else
|
else
|
||||||
if test -n "[$]WITHVAL_$1" &&
|
if test -n "[$]WITHVAL_$1" &&
|
||||||
test "[$]WITHVAL_$1" != xno; then
|
test "x[$]WITHVAL_$1" != xno; then
|
||||||
AC_MSG_ERROR([$2 not found])
|
AC_MSG_ERROR([$2 not found])
|
||||||
fi
|
fi
|
||||||
EL_RESTORE_FLAGS
|
EL_RESTORE_FLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user