agment and 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 preferr
roll 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
get. You 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
ne have no 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
http
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
efer 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.
unit 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
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 capability
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
could be 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
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
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 | S
able.
What I ended up doing was giving all relevant 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
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
urce tree 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: *** [
know 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 s
avourite book on
the Autotools!
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
on using a native 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
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
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
hat's 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
O
parses those variables, but
I'm assuming 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
nodist_..._SOURCES,
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
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
a *_SOURCES variable.
Is this a dead end or is 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
$(files_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 So
not sure 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
Finally, while not portable to all 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 Eng
27;s naughty
to use where 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
$(AX_V_LUAC)test "$(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 t
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.
ackage.
I think that as 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
automatica
ks ok, but I suspect this is not an elegant solution 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
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
On Fri, 2014-12-26 at 18:46 -0700, Warren Young wrote:
> On Dec 26, 2014, at 7:56 AM, Kip Warner 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 bac
On Wed, 2014-12-24 at 15:49 -0700, Warren Young wrote:
> On Dec 23, 2014, at 8:37 PM, Kip Warner 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 ;
that to prepare 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
p --suffix=.dtshd.spdif --dry-run
...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
Descriptio
= -Wno-portability" to the Makefile(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 re
/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
he
> intl/ 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
xt 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
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
Op
cally and/or pinging the gettext mailing lists. With local
> patching you may need to take care when you run autopoint so
> 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 ha
s are often
> run as the superuser. It's no fun for anyone involved when a buggy
> makefile trashes someone's root filesystem...
Absolutely agree. 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
ult. I think in the end I should
probably 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
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: Thi
d.net/~avaneya/avaneya/trunk/view/head:/Extras/Viking%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
7;d <http://rod.gs/A2m>. As for debs, I'd love 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
7;m also missing the elftools python dependency the script needs
and having trouble tracking down what I need to do to get that working,
assuming lddtree.py approach 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
pstream bug report, I 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
OpenPG
ssing absolute paths to the .a files?
I haven't tried that. I'm sure that would probably work, but there's
probably a more elegant approach.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
me&Section=ABI&Lname=libpng12
I actually don't know about that issue. However, based on the LSB 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/6
d to statically link stuff 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
is is the configure.ac for zziplib. I don't really have much
meaningful experience with libtool, but based on my reading of this, I
think 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
m:
<http://rod.gs/Lwo>
Any help appreciated.
Respectfully,
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
56 matches
Mail list logo