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.
39 lines
1.6 KiB
39 lines
1.6 KiB
18 years ago
|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# T2 SDE: package/.../quagga/link-readline-order.patch
|
||
|
# Copyright (C) 2006 The T2 SDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- T2-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
--- quagga-0.99.3/configure.orig 2006-02-13 20:23:28.000000000 +0100
|
||
|
+++ quagga-0.99.3/configure 2006-02-13 20:35:54.000000000 +0100
|
||
|
@@ -11234,7 +11234,7 @@
|
||
|
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
|
||
|
echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
|
||
|
if test $ac_cv_lib_readline_main = yes; then
|
||
|
- LIBREADLINE="$LIBREADLINE -lreadline"
|
||
|
+ LIBREADLINE="-lreadline $LIBREADLINE"
|
||
|
fi
|
||
|
|
||
|
if test $ac_cv_lib_readline_main = no; then
|
||
|
--- quagga-0.99.3/configure.ac.orig 2006-02-13 20:40:40.000000000 +0100
|
||
|
+++ quagga-0.99.3/configure.ac 2006-02-13 20:41:00.000000000 +0100
|
||
|
@@ -431,7 +431,7 @@
|
||
|
)]
|
||
|
)]
|
||
|
)
|
||
|
- AC_CHECK_LIB(readline, main, LIBREADLINE="$LIBREADLINE -lreadline",,
|
||
|
+ AC_CHECK_LIB(readline, main, LIBREADLINE="-lreadline $LIBREADLINE",,
|
||
|
"$LIBREADLINE")
|
||
|
if test $ac_cv_lib_readline_main = no; then
|
||
|
AC_MSG_ERROR([vtysh needs libreadline but was not found and usable on your system.])
|