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.
 
 
 
 
 
 

46 lines
1.6 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pilot-link/configure-readline.patch.disable
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 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.
# --- SDE-COPYRIGHT-NOTE-END ---
--- pilot-link-0.11.8/configure.orig 2004-10-04 12:13:21.812743376 +0200
+++ pilot-link-0.11.8/configure 2004-10-04 12:13:49.164585264 +0200
@@ -10499,6 +10499,9 @@
LIBS="$ac_save_LIBS"
done
+
+ac_check_lib_save_LIBS="$LIBS"
+LIBS="$LIBS -lreadline -lncurses"
echo "$as_me:$LINENO: checking for readline" >&5
echo $ECHO_N "checking for readline... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
@@ -10531,7 +10534,7 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- RL_LIBS="-lreadline"
+ RL_LIBS="-lreadline -lncurses"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -10586,6 +10589,8 @@
fi
fi
+LIBS="$ac_check_lib_save_LIBS"
+
if test "x$RL_LIBS" != "x"; then
echo "$as_me:$LINENO: checking for basic readline functions" >&5
echo $ECHO_N "checking for basic readline functions... $ECHO_C" >&6