Skip to content

Commit

Permalink
quieten unary argument warning during configure (#723)
Browse files Browse the repository at this point in the history
shell variable can be empty
  • Loading branch information
rolandwalker authored and jonas committed Aug 17, 2017
1 parent 21fde36 commit aa4b1ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/ax_lib_readline.m4
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,22 @@ if test $bash_cv_termcap_lib = gnutermcap && test -z "$prefer_curses"; then
LDFLAGS="$LDFLAGS -L./lib/termcap"
TERMCAP_LIB="./lib/termcap/libtermcap.a"
TERMCAP_DEP="./lib/termcap/libtermcap.a"
elif test $bash_cv_termcap_lib = libtermcap && test -z "$prefer_curses"; then
elif test X$bash_cv_termcap_lib = Xlibtermcap && test -z "$prefer_curses"; then
TERMCAP_LIB=-ltermcap
TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libtinfow; then
elif test X$bash_cv_termcap_lib = Xlibtinfow; then
TERMCAP_LIB=-ltinfow
TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libtinfo; then
elif test X$bash_cv_termcap_lib = Xlibtinfo; then
TERMCAP_LIB=-ltinfo
TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libncursesw; then
elif test X$bash_cv_termcap_lib = Xlibncursesw; then
TERMCAP_LIB=-lncursesw
TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libncurses; then
elif test X$bash_cv_termcap_lib = Xlibncurses; then
TERMCAP_LIB=-lncurses
TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libc; then
elif test X$bash_cv_termcap_lib = Xlibc; then
TERMCAP_LIB=
TERMCAP_DEP=
else
Expand Down

0 comments on commit aa4b1ac

Please sign in to comment.