Why conditionally include config.h?

2012-09-13 Thread Kip Warner
didn't configure first which ought to be an error anyways, no? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ Autoconf mailing

Re: Why conditionally include config.h?

2012-09-15 Thread Kip Warner
contributions to Gnulib. Can you point me to more information on this syntax check rule? I'd like to learn more. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: Why conditionally include config.h?

2012-09-15 Thread Kip Warner
ancient times), and thus #ifdefs are used. However, if one would try to build without HAVE_CONFIG_H defined today, it would go horribly wrong. Thanks Marco. Very helpful. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: Why conditionally include config.h?

2012-09-15 Thread Kip Warner
and HAVE_CONFIG_H is not defined. However, it is a bug for #if HAVE_CONFIG_H to be used in any installed header file because it might apply to any package, including some other package. Right. That makes sense. Thanks for your help Bob. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed

Re: Why conditionally include config.h?

2012-09-15 Thread Kip Warner
that needs now or may need in the future the information contained in it. One exception as previously pointed out would be of course to never #include it in non-local / public headers. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Re: Why conditionally include config.h?

2012-09-16 Thread Kip Warner
with the autotools. The advice you gave makes sense, although, today at least, I haven't any need for public system headers (yet). But should I ever have a need for creating them, I'll be sure to pay heed to your advice. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http

config.status: error: cannot find input file: `po/Makefile.in.in'

2013-05-19 Thread Kip Warner
receiving when I run ./configure is the following, despite po/ not existing: config.status: error: cannot find input file: `po/Makefile.in.in' Any help appreciated. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: config.status: error: cannot find input file: `po/Makefile.in.in'

2013-05-19 Thread Kip Warner
all over the place in an autotooled project to use gettext, but one thing I wasn't sure of was how much of it still needs to be done manually after gettextize has managed to gettext'ify the project? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http

distcheck missing files

2013-05-20 Thread Kip Warner
that the directory containing my test files ('Tests/') was present in the EXTRA_DIST variable. If I'm not mistaken, listing 'Tests' in that variable should copy everything recursively in that folder which is what I want. What am I doing wrong? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed

Re: distcheck missing files

2013-05-20 Thread Kip Warner
into the tarball according to the configure options used, even though that is generally a bad idea (you want the tarball to be independent of configure options). As far as I know, it isn't being conditionally modified. Here's the Makefile.am: http://pastebin.com/Ck57h01T Thanks Eric, -- Kip Warner

Re: distcheck missing files

2013-05-20 Thread Kip Warner
@:@])], [enable_nls=${enableval}], [enable_nls=yes]) Thanks a lot, -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

Re: distcheck missing files

2013-05-20 Thread Kip Warner
On Mon, 2013-05-20 at 19:36 -0700, Kip Warner wrote: Lastly, at the end of my ./configure, I'd like to output a general summary of parameters the build will be created with. One of those is whether NLS was enabled. Is there a way to check for $enable_nls without having to manually define

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 ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo

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
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

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 ___ Autoconf mailing list Autoconf@gnu.org

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 ___ Autoconf mailing list Autoconf

Re: Help with static linking

2013-06-03 Thread Kip Warner
that they're different. However, not all packages have perfect support for cross-compilation so it may be more work. Thanks a lot Paul. I'll get back to you guys if I have issues. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: Help with static linking

2013-06-03 Thread Kip Warner
and libraries. It's far more than just some library version differences: you need a whole different compiler. Thankfully it looks as though there are precompiled MinGW debs available for my distribution (Ubuntu Raring / amd64) and hopefully I'll be able to get them up and running. -- Kip Warner

Mangled argument vector choking on spaces?

2014-12-29 Thread Kip Warner
of it, the argument vector was broken up unintentionally. I'm assuming I am not doing something correctly. Any help appreciated. Respectfully, -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally

Re: Mangled argument vector choking on spaces?

2014-12-29 Thread Kip Warner
vector. From what I can see configure has the correct arguments, but some were accidentally split. Remember that the arguments are already correctly escaped and if I run what was logged in config.log, it runs fine with the spaces. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed

Re: Mangled argument vector choking on spaces?

2014-12-30 Thread Kip Warner
On Tue, 2014-12-30 at 08:53 -0600, Bob Friesenhahn wrote: On Mon, 29 Dec 2014, Kip Warner wrote: Unfortunately I need spaces on GNU systems and possibly elsewhere. I'm sure there is a way to do this and it's simply a matter of coalescing parts of the argument vector. From what I can see

Re: Mangled argument vector choking on spaces?

2015-01-02 Thread Kip Warner
. The only way I can see this ever happening is if argument vectors were prepared through higher level functions, such as M4 macros, with different functions to distinguish the two semantics. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Re: Mangled argument vector choking on spaces?

2015-01-01 Thread Kip Warner
. Agreed. The whole purpose of autoconf is to help write portable scripts. Paths with spaces in them, whether we like them or not, is often uncontrollable and a fact of reality. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc

Re: Mangled argument vector choking on spaces?

2015-01-05 Thread Kip Warner
into an argument vector. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org

Re: $sysconfdir substitution

2016-06-10 Thread Kip Warner
LAGS), but I need the variable substituted in a non-compiled .in file with AC_CONFIG_FILES. -- 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: $sysconfdir substitution

2016-06-10 Thread Kip Warner
up with seems to work, albeit it is a bit ugly. SYSCONFDIR=`test "$prefix" = NONE && prefix=$ac_default_prefix; eval echo "${sysconfdir}"` AC_SUBST([sysconfdir], [$SYSCONFDIR]) AC_CONFIG_FILES([myfile]) -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/si

Re: $sysconfdir substitution

2016-06-10 Thread Kip Warner
using sed to generate one file from > another, substituting in the values of some Makefile variables. I > don't know if it's possible or advisable to use this in combination > with AC_CONFIG_FILES, but using it instead of AC_CONFIG_FILES would > certainly work. Thanks Gavin. I th

Re: $sysconfdir substitution

2016-06-10 Thread Kip Warner
my big reservations in substituting the the expanded paths in AC_CONFIG_FILES because the user can override when they run make. *sigh* Maybe I will have to do it through Automake after all... -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevert

$sysconfdir substitution

2016-06-10 Thread Kip Warner
Hey list, I'd like to make the fully expanded $sysconfdir shell variable available within a file processed via AC_CONFIG_FILES. I am currently trying AC_SUBST([SYSCONFDIR], [$sysconfdir]), but it is not fully evaluated at ${prefix}/etc which is useless for me. Any ideas? Regards, -- Kip Warner

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: automake-1.16.5 released [stable]

2021-10-04 Thread Kip Warner
On Sun, 2021-10-03 at 21:51 -0700, Jim Meyering wrote: > Thanks to everyone who has contributed! > The following people contributed changes to this release: Thank you everyone for your contributions. All of us who depend on your work are very grateful. -- Kip Warner -- Senior Software En