diff options
author | Karl Ramm <kcr@1ts.org> | 2009-07-08 21:54:26 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-07-08 21:54:26 +0000 |
commit | 6f0a1fa9fc94ef627c7a54a3f4309d2c4236c28b (patch) | |
tree | 35fbf70f28dae787e73e17f38cefb7f03ecaea5b /configure.in | |
parent | 69d1ae4bef2b81c2f767000cb0d5b5a1e01bba2d (diff) |
configure.in: Fix libss detection to not depend on shared-library dependencies
(configure regenerated)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 8e451da..ab15ca2 100644 --- a/configure.in +++ b/configure.in @@ -158,11 +158,8 @@ 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) - AC_CHECK_LIB(ss, ss_perror, SS_LIBS=-lss, - [AC_MSG_ERROR(ss library not found)], -lcom_err) + AC_CHECK_LIB(ss, ss_perror, SS_LIBS="-lss -lreadline -lcurses", + [AC_MSG_ERROR(ss library not found)], -lcom_err -lreadline -lcurses) AC_SUBST(SS_LIBS) else AC_MSG_ERROR(This package requires ss.) |