2.59 and Explicit libc linking checks

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

 



Hi,

New to this list. It seems the logic behind determining whether or not libc
should be explicitly linked is backwards (in a generated configure script).
The grep command in...

(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5

... returns a value of 1 if the string is not found. Looking a few lines
down, you'll find...

(exit $ac_status);

... which fails the condition test and turns on explicit linking. As one
cannot assume grep has a -v option, I would think the
'archive_cmds_need_lc=no' and 'archive_cmds_need_lc=yes' statements are
backwards.

Does that make sense? Is this a problem with my logic or autoconf's logic?

Thanks in advance,
Rafael Rivera Jr.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux