Mercurial > hg > octave-lyh > gnulib-hg
changeset 6026:96e68d9810b9
Fix typo in last commit.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Fri, 12 Aug 2005 08:03:21 +0000 |
parents | 5c7eb3550ce5 |
children | 306d44610193 |
files | m4/readline.m4 |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/readline.m4 +++ b/m4/readline.m4 @@ -39,8 +39,10 @@ [readline((char*)0);], gl_cv_lib_readline=yes) if test "$gl_cv_lib_readline" = yes; then - LIBREADLINE="$LIBREADLINE -l$extra_lib" - LTLIBREADLINE="$LTLIBREADLINE -l$extra_lib" + if test -n "$extra_lib"; then + LIBREADLINE="$LIBREADLINE -l$extra_lib" + LTLIBREADLINE="$LTLIBREADLINE -l$extra_lib" + fi break fi done