Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] The disable-libtool-linkdep-fixup configure option
@ 2013-01-29 16:34 Thibault, Daniel
  2013-01-29 16:54 ` Christian Babeux
  0 siblings, 1 reply; 4+ messages in thread
From: Thibault, Daniel @ 2013-01-29 16:34 UTC (permalink / raw)


The git.lttng.org packages lttng-ust and lttng-tools have a configure option named disable-libtool-linkdep-fixup.  The 'linkdep fixup', if I understand correctly, serves to fix a problem with the version of the libtool package used with Debian systems (and possibly others), as described in http://bugs.lttng.org/issues/321.  The fixup in question consists of changing occurrences of the 'link_all_deplibs=no' flag in config/libtool.m4 to 'link_all_deplibs=unknown' instead.

The default value of the option is 'yes' (re: configure.ac), which means the fixup is applied.  Setting the option to another value, such as 'no', means the fixup is not applied.

Why then is the option named *disable*-libtool-linkdep-fixup?  Shouldn't it be named *enable*-libtool-linkdep-fixup instead?

Daniel U. Thibault
R & D pour la d?fense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
Cyber s?curit? pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
Protection des syst?mes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
2459 route de la Bravoure
Qu?bec, QC? G3J 1X5
CANADA
Vox?: (418) 844-4000 x4245
Fax?: (418) 844-4538
NAC?: 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada?/ Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



^ permalink raw reply	[flat|nested] 4+ messages in thread
* [lttng-dev] The disable-libtool-linkdep-fixup configure option
@ 2013-01-29 17:20 Thibault, Daniel
  2013-01-29 17:32 ` Mathieu Desnoyers
  0 siblings, 1 reply; 4+ messages in thread
From: Thibault, Daniel @ 2013-01-29 17:20 UTC (permalink / raw)


> > The default value of the option is 'yes' (re: configure.ac), which means the fixup is applied.  Setting the option to another value, such as 'no', means the fixup is not applied.
> > Why then is the option named *disable*-libtool-linkdep-fixup?  Shouldn't it be named *enable*-libtool-linkdep-fixup instead?
>
>Because the option is enabled by default on all systems. This is to facilitate cross-compilation on Debian/Ubuntu systems.
>
> Christian

If you had to compare the following two command lines, which one would you say disabled the fixup?

./configure --disable-libtool-linkdep-fixup=yes
./configure --disable-libtool-linkdep-fixup=no

The first line is the current default, and it leaves the fixup enabled (right?).  That's why I suspect enable-libtool-linkdep-fixup would be a more meaningful name.

Daniel U. Thibault
R & D pour la d?fense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
Cyber s?curit? pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
Protection des syst?mes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
2459 route de la Bravoure
Qu?bec, QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada / Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-29 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-29 16:34 [lttng-dev] The disable-libtool-linkdep-fixup configure option Thibault, Daniel
2013-01-29 16:54 ` Christian Babeux
2013-01-29 17:20 Thibault, Daniel
2013-01-29 17:32 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox