002-force-internal-readline.patch 712 B

123456789101112131415161718192021222324
  1. --- a/configure
  2. +++ b/configure
  3. @@ -5430,8 +5430,7 @@ if test $opt_readline = yes; then
  4. # static version specified as -llibname to override the
  5. # dynamic version
  6. case "${host_os}" in
  7. - darwin[89]*|darwin10*) READLINE_LIB='${READLINE_LIBRARY}' ;;
  8. - *) READLINE_LIB=-lreadline ;;
  9. + *) READLINE_LIB='${READLINE_LIBRARY}' ;;
  10. esac
  11. fi
  12. else
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -578,8 +578,7 @@ if test $opt_readline = yes; then
  16. # static version specified as -llibname to override the
  17. # dynamic version
  18. case "${host_os}" in
  19. - darwin[[89]]*|darwin10*) READLINE_LIB='${READLINE_LIBRARY}' ;;
  20. - *) READLINE_LIB=-lreadline ;;
  21. + *) READLINE_LIB='${READLINE_LIBRARY}' ;;
  22. esac
  23. fi
  24. else