On 07/14/2011 02:31 PM, Steve Bennett wrote:
> Hi All,
>
> I have worked with Ben Summers to resolve some small
> issues with autosetup on Solaris (mostly related to the fact that Solaris
> doesn't have a posix-compliant shell in /bin/sh).
>
> The updates have been pushed to the autosetup repository
> and a patch is attached here.
>
> There are two additional changes:
> 1. GNUmakefile.in is changed to remove the non-gnu := syntax
> 2. The "no pager" modification is moved out into local.tcl so that
>     it won't be undone by future autosetup updates.
>
> Cheers,
> Steve

I'm wondering about this, from the cc-check-function-in-lib header
comment:

   # If additional libraries may be needed for linking, they should be
   # specified
   # as $extralibs as "-lotherlib1 -lotherlib2".
   # These libraries are not automatically added to LIBS.

On Slackware (I guess other systems too) this seems to come up a lot.
For example, you can't link the system SQLite without also explicitly
linking libdl. And you can't link readline without also linking
ncurses. And so on.

So how should, say, a test for readline() be written? So that -lncurses
is added to LIBS if required?

Dan.

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to