gnucap/gnucap-0.34-libtermcap.patch

17 lines
633 B
Diff
Raw Normal View History

--- gnucap-2006-01-17/src/configure 2005-09-06 21:08:39.000000000 +0200
+++ gnucap-2006-01-17-qilnx/src/configure 2006-03-20 18:28:06.000000000 +0100
@@ -9,11 +9,11 @@
(cd O; rm -f gnucap-modelgen; ln -s ../../modelgen/O/gnucap-modelgen gnucap-modelgen)
rm -f a.out
-g++ -lreadline -ltermcap test_readline.cc
+g++ -lreadline -lcurses test_readline.cc
if [ -f a.out ] ; then
echo "using readline"
echo "-DHAS_READLINE \\" >>Make.ccflags
- echo "-lreadline -ltermcap \\" >>Make.libs
+ echo "-lreadline -lcurses \\" >>Make.libs
else
echo "either libtermcap or libreadline is missing - not using readline"
fi