OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../quagga/link-readline-order.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- quagga-0.99.3/configure.orig 2006-02-13 20:23:28.000000000 +0100
  17. +++ quagga-0.99.3/configure 2006-02-13 20:35:54.000000000 +0100
  18. @@ -11234,7 +11234,7 @@
  19. echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
  20. echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
  21. if test $ac_cv_lib_readline_main = yes; then
  22. - LIBREADLINE="$LIBREADLINE -lreadline"
  23. + LIBREADLINE="-lreadline $LIBREADLINE"
  24. fi
  25. if test $ac_cv_lib_readline_main = no; then
  26. --- quagga-0.99.3/configure.ac.orig 2006-02-13 20:40:40.000000000 +0100
  27. +++ quagga-0.99.3/configure.ac 2006-02-13 20:41:00.000000000 +0100
  28. @@ -431,7 +431,7 @@
  29. )]
  30. )]
  31. )
  32. - AC_CHECK_LIB(readline, main, LIBREADLINE="$LIBREADLINE -lreadline",,
  33. + AC_CHECK_LIB(readline, main, LIBREADLINE="-lreadline $LIBREADLINE",,
  34. "$LIBREADLINE")
  35. if test $ac_cv_lib_readline_main = no; then
  36. AC_MSG_ERROR([vtysh needs libreadline but was not found and usable on your system.])