
On Mon, Jul 13, 2015 at 01:09:09PM +0200, Michal Trojnara wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 13.07.2015 10:10, Peter Pentchev wrote:
Maybe wrap them in an AM_CONDITIONAL for an AUTHOR_TESTS or RELEASE_TESTS environment variable or something like this, like the Perl folks do?
I guess these are good ideas. I'd appreciate some documentation and/or sample code pointers.
Okay, what do you think about the attached patch? For some documentation, see: http://www.gnu.org/software/automake/manual/html_node/Usage-of-Conditionals.... ...or, for a real-world example, the upvoted answer to: http://stackoverflow.com/questions/15368848/checking-environment-variable-in... ...or the contrib/minizip source in zlib: https://github.com/madler/zlib/blob/master/contrib/minizip/configure.ac https://github.com/madler/zlib/blob/master/contrib/minizip/Makefile.am Of course, it's up to you whether to do it this way or in the somewhat more traditional --with/--enable-something style. G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org p.penchev@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13