--- orig/pilot-link-0.11.8/configure	2003-07-01 15:08:40.000000000 -0400
+++ pilot-link-0.11.8/configure	2006-01-25 23:15:54.940736720 -0500
@@ -10554,7 +10554,7 @@
 _ACEOF
 rm -f conftest.$ac_objext conftest$ac_exeext
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-  (eval $ac_link) 2>&5
+  (eval $ac_link -lreadline -lncurses ) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&

