[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libtool's manual disparages Automake! :-o
From: |
Gary V. Vaughan |
Subject: |
Libtool's manual disparages Automake! :-o |
Date: |
Tue, 24 Feb 2004 18:11:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am auditing the libtool texinfo manual in preparation for the next release.
Currently, it says:
~ The flags `-dlopen' or `-dlpreopen' (*note Link mode::) would fit
better in the PROGRAM_LDADD variable. Unfortunately, GNU automake, up
to release 1.4, doesn't accept these flags in a PROGRAM_LDADD variable,
so you have the following alternatives:
~ * add them to PROGRAM_LDFLAGS, and list the libraries in
~ PROGRAM_DEPENDENCIES, then wait for a release of GNU automake that
~ accepts these flags where they belong;
~ * surround the flags between quotes, but then you must set
~ PROGRAM_DEPENDENCIES too:
~ program_LDADD = "-dlopen" libfoo.la
~ program_DEPENDENCIES = libfoo.la
~ * set and `AC_SUBST' variables DLOPEN and DLPREOPEN in
~ `configure.in' and use address@hidden@' and address@hidden@' as
~ replacements for the explicit flags `-dlopen' and `-dlpreopen' in
~ `program_LDADD'. Automake will discard `AC_SUBST'ed variables
~ from dependencies, so it will behave exactly as we expect it to
~ behave when it accepts these flags in `program_LDADD'. But hey!,
~ this is ugly!
I am unsure of the wisdom of these words. Should I change the manual to
wholeheartedly recommend the first alternative, and discard the others? Or
should Automake be patched to accept `program_LDADD = -dlopen foo.la'?
Cheers,
Gary.
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAO5PaFRMICSmD1gYRAjNNAKC6kRa8TRE+Fe4JRy0CUtMH3IbPjwCfYDaI
48Iddk/Izgc2UgvPfu27HIQ=
=Kwq3
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Libtool's manual disparages Automake! :-o,
Gary V. Vaughan <=