From: Sam S. <sd...@gn...> - 2003-09-26 14:41:36
|
> * Don Cohen <qba...@vf...3-vap.pbz> [2003-09-25 21:36:49 -0700]: > > > gcc -g -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DDYNAMIC_FFI -DNO_READLINE -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -o lisp.run > > Everything looks ok until that last line - note it contains > -lreadline ! > If I redo that line without -lreadline it seems to work ok. > Could the problem be as simple as including that -lreadline even when > --without-readline is specified? Or perhaps configure shouldn't even > be looking for readline when --without-readline is specified? please try the appended patch. thanks for investigating! -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Do not worry about which side your bread is buttered on: you eat BOTH sides. Index: src/configure =================================================================== RCS file: /cvsroot/clisp/clisp/src/configure,v retrieving revision 1.82 diff -u -w -b -r1.82 configure --- src/configure 5 Sep 2003 14:41:30 -0000 1.82 +++ src/configure 26 Sep 2003 14:38:43 -0000 @@ -1294,8 +1300,18 @@ + + ac_config_headers="$ac_config_headers unixconf.h" + +# Check whether --with-readline or --without-readline was given. +if test "${with_readline+set}" = set; then + withval="$with_readline" + ac_cv_use_readline=$withval +else + ac_cv_use_readline=no +fi; { echo "$as_me:$LINENO: * checks for programs" >&5 echo "$as_me: * checks for programs" >&6;} ac_ext=c @@ -20328,6 +20344,7 @@ +if test "$ac_cv_use_readline" != "no"; then if test $ac_cv_search_tgetent != no ; then @@ -21197,6 +21214,7 @@ fi fi +fi { echo "$as_me:$LINENO: * checks for OS services" >&5 echo "$as_me: * checks for OS services" >&6;} echo "$as_me:$LINENO: checking for the valid characters in filenames" >&5 |