lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV ac#54: FreeBSD bulding is broken again, please fix


From: Андрей Чернов
Subject: Re: LYNX-DEV ac#54: FreeBSD bulding is broken again, please fix
Date: Thu, 21 Aug 1997 16:56:20 +0400 (MSD)

On Thu, 21 Aug 1997, T.E.Dickey wrote:

> > Please do something with this check:
> > 
> > aclocal.m4:
> >     AC_MSG_CHECKING(if we can link ncurses without $cf_ncurses_LIBS)
> > configure:
> > checking if we can link ncurses without -lmytinfo ... yes
> >                                                   ^^^
> > 
> > It cause FreeBSD linked without -lmytinfo again and linker fails
> > as result...
> I'll need to see the compiler logs to decide how to fix it (it worked
> properly for me).

Do you mean configure log instead? Configure removes -lmytinfo from LIBS at this
step (which was added earlier). Here is related part from sh -x configure
[args], notice LIBS changes:

+ echo -n checking for tgoto in -lmytinfo...
checking for tgoto in -lmytinfo... + echo configure:3651: checking for tgoto in 
-lmytinfo
+ echo+ sed mytinfo_tgoto y%./+-%__p_%

+ ac_lib_var=mytinfo_tgoto
+ echo ${ac_cv_lib_mytinfo_tgoto+set}
+ eval test "${ac_cv_lib_mytinfo_tgoto+set}" = set
+ test  = set
+ ac_save_LIBS=
+ LIBS=-lmytinfo
^^^^^^^^^^^^^^^^  (right)
+ cat
+ eval echo configure:3670: "${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5"
+ echo configure:3670: gcc -o conftest -g -O2   conftest.c -lmytinfo    1>&5
+ test -s conftest
+ rm -rf conftest conftest.c
+ eval ac_cv_lib_mytinfo_tgoto=yes
+ ac_cv_lib_mytinfo_tgoto=yes
+ rm -f conftest*
+ LIBS=
+ echo $ac_cv_lib_mytinfo_tgoto
+ eval test "$ac_cv_lib_mytinfo_tgoto" = yes
+ test yes = yes
+ echo yes
yes
+ cf_ncurses_LIBS=-lmytinfo
+ LIBS=-lmytinfo
+ cf_cv_have_lib_ncurses=no
+ echo -n checking for initscr...
checking for initscr... + echo configure:3697: checking for initscr
+ echo ${ac_cv_func_initscr+set}
+ eval test "${ac_cv_func_initscr+set}" = set
+ test  = set
+ cat
+ eval echo configure:3725: "${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5"
+ echo configure:3725: gcc -o conftest -g -O2   conftest.c -lmytinfo    1>&5
+ echo configure: failed program was:
+ cat conftest.c
+ rm -rf conftest.c
+ eval ac_cv_func_initscr=no
+ ac_cv_func_initscr=no
+ rm -f conftest*
+ echo $ac_cv_func_initscr
+ eval test "$ac_cv_func_initscr" = yes
+ test no = yes
+ echo no
no
+ cf_save_LIBS=-lmytinfo
+ echo -n checking for initscr in -lncurses...
checking for initscr in -lncurses... + echo configure:3745: checking for 
initscr in -lncurses
+ LIBS=-lncurses -lmytinfo
^^^^^^^^^^^^^^^^^^^^^^^^^^ (right)
+ cat
+ eval echo configure:3755: "${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5"
+ echo configure:3755: gcc -o conftest -g -O2   conftest.c -lncurses -lmytinfo  
  1>&5
+ test -s conftest
+ rm -rf conftest conftest.c
+ echo yes
yes
+ cf_cv_have_lib_ncurses=yes
+ rm -f conftest*
+ test yes = no
+ test -n -lmytinfo
+ echo -n checking if we can link ncurses without -lmytinfo ...
checking if we can link ncurses without -lmytinfo ... + echo configure:3819: 
checking if we can link ncurses without -lmytinfo
+ cf_ncurses_SAVE=-lncurses -lmytinfo
+ echo+ sed -lncurses -e -lmytinfo s/-lmytinfo //
 -e s/-lmytinfo$//
+ q=-lncurses
+ test -lncurses  != -lncurses -lmytinfo
+ LIBS=-lncurses
^^^^^^^^^^^^^^^^^^ (wrong)

-- 
Andrey A. Chernov
<address@hidden>
http://www.nagual.pp.ru/~ache/

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]