summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-07-08 21:54:26 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-07-08 21:54:26 +0000
commit6f0a1fa9fc94ef627c7a54a3f4309d2c4236c28b (patch)
tree35fbf70f28dae787e73e17f38cefb7f03ecaea5b /configure
parent69d1ae4bef2b81c2f767000cb0d5b5a1e01bba2d (diff)
configure.in: Fix libss detection to not depend on shared-library dependencies
(configure regenerated)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 2 insertions, 5 deletions
diff --git a/configure b/configure
index 85ed6fa..af717aa 100755
--- a/configure
+++ b/configure
@@ -25027,16 +25027,13 @@ if test "$ss" != no; then
CPPFLAGS="$CPPFLAGS -I$ss/include"
LDFLAGS="$LDFLAGS -L$ss/lib"
fi
- #XXX
- #AC_CHECK_LIB(curses, initscr)
- #AC_CHECK_LIB(readline, readline)
{ echo "$as_me:$LINENO: checking for ss_perror in -lss" >&5
echo $ECHO_N "checking for ss_perror in -lss... $ECHO_C" >&6; }
if test "${ac_cv_lib_ss_ss_perror+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lss -lcom_err $LIBS"
+LIBS="-lss -lcom_err -lreadline -lcurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -25092,7 +25089,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ss_ss_perror" >&5
echo "${ECHO_T}$ac_cv_lib_ss_ss_perror" >&6; }
if test $ac_cv_lib_ss_ss_perror = yes; then
- SS_LIBS=-lss
+ SS_LIBS="-lss -lreadline -lcurses"
else
{ { echo "$as_me:$LINENO: error: ss library not found" >&5
echo "$as_me: error: ss library not found" >&2;}