[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getprogname and libtool
From: |
Daiki Ueno |
Subject: |
Re: getprogname and libtool |
Date: |
Tue, 18 Oct 2016 21:07:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> The consequence is that in packages that use GNU libtool, such programs will
> print "lt-prog" instead of "prog" in their usage message and other messages.
> This will disturb
> * the hacker who uses the programs before doing "make install",
> * the test suite.
Sorry, I'm skeptical about this. Would it be useful to test the
getprogname functionality from outside of test-getprogname.c?
> What are the possible solutions? I can see these:
> a) Modify the 'getprogname' module to strip a leading 'lt-' prefix
> (even on BSD and Cygwin platforms).
> b) Create a distinct module that is like 'getprogname' but also strips the
> 'lt-' prefix, and change the recommended idiom accordingly.
> c) Modify libtool to store the executables as .libs/lt/prog${EXEEXT} rather
> than .libs/lt-prog${EXEEXT}.
I would vote for (b), but how about just creating a shell script wrapper
around test-getprogname, which checks if it is a libtool wrapper or a
native binary and somehow passes the real program name?
Regards,
--
Daiki Ueno
- getprogname: comments and test failure on Cygwin, Bruno Haible, 2016/10/16
- Re: getprogname: comments and test failure on Cygwin, Pádraig Brady, 2016/10/16
- Re: getprogname: comments and test failure on Cygwin, Jim Meyering, 2016/10/16
- Re: getprogname: comments and test failure on Cygwin, Daiki Ueno, 2016/10/18
- getprogname and libtool, Bruno Haible, 2016/10/18
- Re: getprogname and libtool,
Daiki Ueno <=
- Re: getprogname and libtool, Jim Meyering, 2016/10/18
- Re: getprogname and libtool, Bruno Haible, 2016/10/18
- Re: getprogname and libtool, Jim Meyering, 2016/10/18
- Re: getprogname and libtool, Bruno Haible, 2016/10/18
- Re: getprogname and libtool, Jim Meyering, 2016/10/18
- Re: getprogname and libtool, Bruno Haible, 2016/10/18
- Re: getprogname: comments and test failure on Cygwin, Jim Meyering, 2016/10/18
- Re: getprogname: comments and test failure on Cygwin, Bruno Haible, 2016/10/18