Help with static linking

2013-05-30 Thread Kip Warner
, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-01 Thread Kip Warner
it is using it: http://sourceforge.net/p/zziplib/svn/HEAD/tree/trunk/zzip-0/configure.ac -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-01 Thread Kip Warner
that way unless you're doing release management of binary applications, in which case you have another set of problems entirely. Hey Diego. Sorry, I'm confused. Are you referring to my need to statically link against certain libraries, or Robert's suggested approach? -- Kip Warner -- Software

Re: Help with static linking

2013-06-01 Thread Kip Warner
link, it says the library is pretty ubiquitous from what I'm reading. So I'll take your word for it. But it would still be an issue if someone wants to compile my application for w32/64 where the library will definitely not ship by default. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed

Re: Help with static linking

2013-06-01 Thread Kip Warner
can't find any more information on PKG_CHECK_MODULES_STATIC. Apparently in comment 7 it was commit around May 19, but I don't see it in my distro's /usr/share/aclocal/pkg.m4. Maybe it's just old. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Re: Help with static linking

2013-06-01 Thread Kip Warner
is the best way to handle this scenario. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with static linking

2013-06-02 Thread Kip Warner
to, but for the reasons I mentioned, it's not possible. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Broken install-data-yes target

2013-06-05 Thread Kip Warner
%20Lander%20Remastered/Extractor/Makefile.am Any help appreciated on solving the spaces in path problem. Just assume that renaming the directory is not an option at this point. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: Broken install-data-yes target

2013-06-05 Thread Kip Warner
On Wed, 2013-06-05 at 23:42 +0100, Gavin Smith wrote: AFAIK file names with spaces and funny characters in them are not supported by automake. Damn. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description

Re: Broken install-data-yes target

2013-06-05 Thread Kip Warner
just take the book's advice and not use spaces in the paths. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Broken install-data-yes target

2013-06-06 Thread Kip Warner
. Is this a problem in my Makefile.am, or a bug in Automake? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Broken install-data-yes target

2013-06-07 Thread Kip Warner
that it is not overwritten (I'm not overly familiar with these tools myself). Hope that helps, Thanks Nick. That was helpful. Perhaps when I have time I'll run this by the appropriate gettext mailing list. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Missing msgfmt

2013-07-23 Thread Kip Warner
if the binary is not detected. This is a problem for my build which depends on it during compilation time. How can I change this behaviour? I could have added a manual check for the tool, but it seemed redundant with AM_GNU_GETTEXT's check, but not enforcement. -- Kip Warner -- Software Engineer OpenPGP

AM_GNU_GETTEXT and intl/ directory

2014-11-15 Thread Kip Warner
to work in intl/ when I run autoreconf -v -i. Is there any way to have it put the intl/ into a subdirectory of my choosing? I tried adding a path as a third parameter in AM_GNU_GETTEXT, but it just ignored it. Regards, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail

Re: AM_GNU_GETTEXT and intl/ directory

2014-12-17 Thread Kip Warner
/ subdirectory. Sorry. Thanks anyways. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Normalized absolute path

2014-12-20 Thread Kip Warner
/some_file.foo I have tried the above and too many syntactical variations, but automake complains about all of them when I try to achieve the intention of the above. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: Normalized absolute path

2014-12-22 Thread Kip Warner
(s) using such constructs (I assume you are OK with mandating the use of GNU make to build your package). Hey Stefano, I'd prefer to keep it portable, so I wonder if it's possible to invoke things like realpath directly from the shell if realpath is present on the system? -- Kip Warner

Re: Normalized absolute path

2014-12-22 Thread Kip Warner
...to generate a path the ALSA file writer plugin can write out to which is absolute, normalized, and (should) contains no spaces. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message

Autotools and CMake

2014-12-23 Thread Kip Warner
X's makefile. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Autotools and CMake

2014-12-26 Thread Kip Warner
On Wed, 2014-12-24 at 15:49 -0700, Warren Young wrote: On Dec 23, 2014, at 8:37 PM, Kip Warner k...@thevertigo.com wrote: Stefano Lattarini is no longer the Automake maintainer: http://goo.gl/eE1v9R Thanks for bringing that to my attention, Warren. I’d put the “mkdir build ; cd build

Re: Autotools and CMake

2014-12-29 Thread Kip Warner
On Fri, 2014-12-26 at 18:46 -0700, Warren Young wrote: On Dec 26, 2014, at 7:56 AM, Kip Warner k...@thevertigo.com wrote: I think the logical place to configure another subproject is within the superproject's configure script. Hey Warren. Thank you so much for getting back to me. Yes

Re: Autotools and CMake

2014-12-29 Thread Kip Warner
On Mon, 2014-12-29 at 21:05 -0800, Kip Warner wrote: Yes. In my case I don't distribute a bootstrap script, nor do I use one myself as maintainer. I ask Sorry, I don't know what happened to the rest of this sentence: ...my users to run autoreconf -v -i -- Kip Warner -- Senior

Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
on and there are some very good suggestions from this mailing list. Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
long as I don't have to actually modify the generated parser sources, I don't have a problem requiring the user to have the two tools installed. Most of the compilation I'll be doing, and most of what remains will probably be on a build server which will automatically pull the required build dependencies

Re: Fwd: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
$(LUA_PATH)set" = set || export > LUA_PATH="$(LUA_PATH)" ;\ > $(LUAC) -o $@ $< > > It uses the automake silent rules convention to quiet things; see > section 21.3 "How Automake can help in silencing make" Excellent idea for extending the silent rules. I was ac

Re: Integrating flexc++(1) and bisonc++(1) into Makefile.am

2017-07-12 Thread Kip Warner
On Wed, 2017-07-12 at 10:59 -0400, Will Estes wrote: > You might also have a look at the flex test suite to see various ways > in which automake is abused to build odd things for flex itself. > There's a lot of edge cases there and you might get ideas. Great idea. Thanks Will. -- K

Re: Automake Digest, Vol 175, Issue 3

2017-09-08 Thread Kip Warner
On Fri, 2017-09-08 at 13:40 +0200, Václav Haisman wrote: > You might want to look at AutoGen > (https://www.gnu.org/software/autogen/) and use that to create the > Makefile.am contents. Thanks Václav. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail prefe

Re: Automake Digest, Vol 175, Issue 3

2017-09-05 Thread Kip Warner
CES, CLEANFILES, and as a target. The parser_clobbered_source_files_only variant containing the file names only is used on line 150 as a workaround for where bisonc++(1) emits its files. If you can see a more elegant way of solving the same problem I'm trying to, I'm all ears. -- Kip Warner |

Re: Automake Digest, Vol 175, Issue 3

2017-09-07 Thread Kip Warner
suming they have to be computed in advance if you're also using them outside of a rule. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Automake Digest, Vol 175, Issue 3

2017-09-07 Thread Kip Warner
an argument in favor of adding the directory part since no > comparable portability headache applies to > > "dir/$$i" Good call Thomas. It would have been no problem to keep the trailing slash, and personally I prefer it. -- Kip Warner | Senior Software Engineer OpenPGP signed/e

Re: Portable $addprefix

2017-08-25 Thread Kip Warner
make implementations, expansions > like this: > >   $(files_only:%:dir/%) > > do work in multiple implementations other than GNU make. I like this, but unfortunately I need to target for portability. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail

Re: Portable $addprefix

2017-08-27 Thread Kip Warner
e if Automake needs to initialize the variable prior to emitting Makefile from Makefile.am. Do you know if this is the case? I went to test it, but for some reason I keep getting these errors on that line: Makefile:836: *** missing separator. Stop. -- Kip Warner | Senior Software Engineer OpenPGP si

Portable $addprefix

2017-08-24 Thread Kip Warner
portability is a concern and a different implementation of make may be used behind Automake. I was wondering if anyone has come up with a recipe for scenarios like this? -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description

Re: Portable $addprefix

2017-09-02 Thread Kip Warner
f it later changes to dozens or more, it will probably be a good idea to revisit your combined suggestions. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Portable $addprefix

2017-09-01 Thread Kip Warner
es_with_path) is used.  As a consequence it should only be > used in the recipe of a rule, not as a target or prerequisite. Thanks Matt, but unfortunately I'll need to be able to use it as at least a target, and possibly later as a prerequisite as well. -- Kip Warner | Senior Software Engineer

Re: Portable $addprefix

2017-09-01 Thread Kip Warner
there a workaround? Assume a reference within a _SOURCES variable is probably necessary. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Target dependent on dynamically generated dependency list

2017-11-24 Thread Kip Warner
really don't think this feels elegant. https://pastebin.com/STGvw2Fd Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: [GSoC] Proposal for "Parse Makefile.am using an AST"

2018-03-04 Thread Kip Warner
ve system language like C++, consider looking at flexc++(1) and bisonc++(1). Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.cartesiantheatre.com signature.asc Description: This is a digitally signed message part

Re: [GSoC] Proposal for "Parse Makefile.am using an AST"

2018-03-05 Thread Kip Warner
ols! A lot of what Automake does is string manipulation which probably lends itself well to an interpreted language like Perl. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.cartesiantheatre.com signature.asc Description: This is a digitally signed message part

Re: Parallel builds with some ordering constraints

2018-12-29 Thread Kip Warner
ree and confirmed that: automake-1.16: warnings are treated as errors Makefile.am:200: warning: user target 'Init_d_Stop.sh.log' defined here ... /usr/share/automake-1.16/am/check2.am: ... overrides Automake target 'Init_d_Stop.sh.log' defined here make: *** [Makefile:1156: ../Makefile.in]

Parallel builds with some ordering constraints

2018-12-29 Thread Kip Warner
what I can do for the binary check_PROGRAMS that test the daemon itself to constrain them to run between the former two? Yours truly, -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed

Re: Parallel builds with some ordering constraints

2018-12-30 Thread Kip Warner
elevant targets an alias named "ordered_test_*" and then declared the graph ordering. Works like a charm. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Parallel builds with some ordering constraints

2018-12-30 Thread Kip Warner
elevant targets an alias named "ordered_test_*" and then declaring ordering rules for each. It looks very clean and it works. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-16 Thread Kip Warner
On Fri, 2019-03-15 at 14:35 -0700, Kip Warner wrote: > On Fri, 2019-03-15 at 16:24 -0500, Bob Friesenhahn wrote: > > A project can be made subordinate to another project without > > the author of the subordinate project being aware of it. This is a > > very useful capabil

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-15 Thread Kip Warner
doing something wrong though. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

AC_ARG_ENABLE and checking for unrecognized switches

2019-03-14 Thread Kip Warner
Hey list, I use AC_ARG_ENABLE to create a number of different --enable switches. I noticed when I accidentally mistyped the in --enable- , ./configure didn't bail on the unrecognized switch. Is there something I need to add to configure.ac in order to get it to do this? -- Kip Warner | Senior

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-14 Thread Kip Warner
On Thu, 2019-03-14 at 23:27 -0500, Eric Blake wrote: > Unfortunately, since it is by design that unknown --enable arguments > are ignored, I don't know of a handy way to switch that behavior to > warn or fail instead. Thanks anyways Eric. -- Kip Warner | Senior Software Engineer OpenP

Re: AC_ARG_ENABLE and checking for unrecognized switches

2019-03-15 Thread Kip Warner
also has no subprojects such that the root configure.ac invokes child ones. There's not even child Makefile.am's. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Stopping unit test on failed partial ordering dependency

2019-04-22 Thread Kip Warner
test to spawn the daemon fails for any reason, all the client requests are bound to fail anyways so there's no point on trying to debug them when the problem is obvious that the daemon isn't running. How can I solve this problem? -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail

Re: Stopping unit test on failed partial ordering dependency

2019-04-23 Thread Kip Warner
not to do that because it overly complicates things because the test script is already a wrapper for a binary to run. PS Good to hear from you again. I always have your book by my side. -- Kip Warner | Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.theve

Re: Stopping unit test on failed partial ordering dependency

2019-04-23 Thread Kip Warner
On Tue, 2019-04-23 at 10:25 -0500, Bob Friesenhahn wrote: > On Mon, 22 Apr 2019, Kip Warner wrote: > > How can I solve this problem? > > By using the TAP test framework you could organize your related > tests into ordered scripts which assure that test > construction/destru

Re: Future plans for Autotools

2021-01-20 Thread Kip Warner
intention of migrating away from the Autotools for any of my projects. My personal experience is that every time someone tries to develop a replacement, they tend to reinvent it and in a poorer way. -- Kip Warner -- Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.th

Re: Future plans for Autotools

2021-05-03 Thread Kip Warner
u still have to implement it yourself? -- Kip Warner -- Senior Software Engineer OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with parallel test harness

2023-01-08 Thread Kip Warner
oll down and see the paragraph "In order to guarantee an ordering between tests...". Hope that is helpful. Yours truly, -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Help with parallel test harness

2023-01-08 Thread Kip Warner
then use the include command in your main makefile: https://www.gnu.org/software/automake/manual/html_node/Include.html The latter will "bake" the external fragment into the actual Makefile that Automake generates. -- Kip Warner OpenPGP signed/encrypted mail preferred https:/