Re: [PATCH] testsuite: fix race conditions in ltdl dryrun

2015-01-20 Thread Gary V. Vaughan
-tests.tar.gz0001-tests-fix-race-in-aclocal-autoheader-calls.patch Applied and pushed. Thanks again! Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: bug#19370: Acknowledgement (LT 2.4.4 regression (vs. 2.4.2))

2015-01-16 Thread Gary V. Vaughan
[[Adding Autoconf List, the home of autoreconf]] On Jan 16, 2015, at 1:26 PM, Gary V. Vaughan g...@vaughan.pe wrote: And the problem is that autoreconf, as called from the autogen.sh in the tarball, still runs the tools in the wrong order. Autoreconf stupidly runs aclocal first, and then calls

Re: bug#18916: libtool-2.4.3 caused autoconf test failure

2014-11-02 Thread Gary V. Vaughan
libtoolize output. E.g.: AT_CHECK([sed -n [s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p] stdout], [0], [stdout]) Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

Re: A Closer Look at GNU AutoTools

2014-09-05 Thread Gary V. Vaughan
, and in the mean time patches, corrections or even reports of examples that are broken or otherwise misleading with current releases would be enough to prompt me into taking the first few bites if the elephant. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org

Re: [GNU Autoconf 2.69] OSX autotools: `aclocal.m4' not being output by `autom4te'

2014-06-27 Thread Gary V. Vaughan
, there are surely many others. HTH, -- Gary V. Vaughan (gary AT gnu DOT org) signature.asc Description: Message signed with OpenPGP using GPGMail ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: [GNU Autoconf 2.69] OSX autotools: `aclocal.m4' not being output by `autom4te'

2014-06-27 Thread Gary V. Vaughan
drive and deploy that on each target machine in turn for access to the files it contains. And with a little extra care you could easily incorporate snapshotting and/or backups into the process without additional tools. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) signature.asc Description

Re: How can I set a subproject to build as a static library by default

2014-01-19 Thread Gary V. Vaughan
On Jan 20, 2014, at 3:52 PM, Steven Stewart-Gallus sstewartgallu...@mylangara.bc.ca wrote: I know I can use LT_INIT([static]) to build libraries in my project statically (by default) but how can I make subprojects build statically? Pass --disable-shared to AC_CONFIG_SUBDIRS.

as_echo/bs_echo still required?

2014-01-01 Thread Gary V. Vaughan
if there is a consensus to apply them. But, it looks like doing so effectively deprecates Solaris 7 support, which may be premature... Comments? Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) signature.asc Description: Message signed with OpenPGP using GPGMail

Re: as_echo/bs_echo still required?

2014-01-01 Thread Gary V. Vaughan
Hi Paul, On Jan 2, 2014, at 3:45 PM, Paul Eggert egg...@cs.ucla.edu wrote: Gary V. Vaughan wrote: it looks like doing so effectively deprecates Solaris 7 support That's fine. Sun (now Oracle) stopped supporting Solaris 7 in August 2008. Even Solaris 8 is fair game now; its end

_AC_PROG_FC_V_OUTPUT fails to parse SunStudio12.13 fortran output

2013-12-21 Thread Gary V. Vaughan
if someone can explain what needs to be done :) Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) signature.asc Description: Message signed with OpenPGP using GPGMail

Re: AC_*/AM_* macros for options

2013-10-28 Thread Gary V. Vaughan
options work: _LT_COMPILER_OPTION. While I wouldn’t recommend relying on internal APIs in your own code, it’s definitely useful to study the implementation to see how you can do something similar for your own code. HTH, -- Gary V. Vaughan (gary AT gnu DOT org) signature.asc Description

Re: process result code in if

2013-06-06 Thread Gary V. Vaughan
On 7 Jun 2013, at 08:41, Miles Bader mi...@gnu.org wrote: Wait, why can't you use test $x -gt 0...? You mean test 0 -lt $x, otherwise if x starts with a hyphen (e.g -1) things will go awry! Cheers, -- Gary V. Vaughan (gary AT gnu DOT org

[FYI] m4sugar: fix AS_VAR_GET regression.

2013-01-29 Thread Gary V. Vaughan
AS_VAR_GET expands AS_ECHO inside en evaled single quoted string, which causes the single quotes in printf '%s\n' to expose the %s\n to the shell which expands \n to simply n before passing it to printf. * lib/m4sugar/m4sh.m4 (AS_ECHO): Use double quotes around the format string. *

Re: [FYI] m4sugar: fix AS_VAR_GET regression.

2013-01-29 Thread Gary V. Vaughan
Hi Peter, On 29 Jan 2013, at 20:17, Peter Rosin p...@lysator.liu.se wrote: On 2013-01-29 13:27, Gary V. Vaughan wrote: Normally, @command{printf} is safer and easier to use than @command{echo} -and @command{echo -n}. Thus, you should use @command{printf '%s\n'} +and @command{echo -n

[PATCH] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
From: Gary V. Vaughan g...@gnu.org Following a recent discussion on bug-gnulib, Jim tells me not to use the ugly as_echo setting boilerplate in my scripts anymore, since printf has been available on every shell we care about for at least 5 if not 10 years. That affords us the opportunity

Re: [PATCH] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
such patch to Autoconf should update the documentation a bit for @item @command {echo}, and it needs a NEWS item. Okay, I'll reroll the patch with those additions presently. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

[PATCHv2] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
Added NEWS entry, and updated texinfo documentation for echo. Okay to push? printf '%s\n' ... has been a fine replacement for plain echo for at least 5 years (probably more like 10), even with most museum-piece shells. * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Remove. (_AS_SHELL_SANITIZE): Keep

Re: [PATCHv2] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
On 29 Jan 2013, at 09:24, Gary V. Vaughan g...@gnu.org wrote: Added NEWS entry, and updated texinfo documentation for echo. Okay to push? [[snip]] +** Use of 'printf' is now recommended instead of working around bugs in + 'echo'. Macros AS_ECHO and AS_ECHO_N now expand unconditionally

[PATCHv3] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
Incorporating feedback from Paul and Paul. Thank you both :) Okay to push? printf '%s\n' ... has been a fine replacement for plain echo for at least 5 years (probably more like 10), even with most museum-piece shells. * lib/m4sugar/m4sh.m4 (_AS_ECHO_PREPARE): Remove. (_AS_SHELL_SANITIZE): Keep

Re: [PATCHv3] m4sugar: factor away _AS_ECHO_PREPARE.

2013-01-28 Thread Gary V. Vaughan
On 29 Jan 2013, at 13:17, Gary V. Vaughan g...@gnu.org wrote: Incorporating feedback from Paul and Paul. Of course that should say Paul and *Peter*. Apologies. Typos on parade. Time for a break methinks. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal

2012-10-17 Thread Gary V. Vaughan
the argument to AC_CONFIG_MACRO_DIR, when both are given, providing a diagnostic error if they do not. Otherwise if only one of those is provided by the calling project, it uses whichever is provided as the destination for libtool.m4 and friends. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal

2012-10-17 Thread Gary V. Vaughan
completed), so the next major release is much more robust to M4 quoting etc. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal

2012-10-17 Thread Gary V. Vaughan
it :( I think simplifying Autotools to the point where you no longer need to write a separate bootstrap script to invoke them in just the right order will be necessary -- just an 'autoreconf' and off you go! :) Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)

Re: [RFC] Superseding aclocal? (was: Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal)

2012-10-17 Thread Gary V. Vaughan
Hi Stefano, Thanks for the fast response! On 17 Oct 2012, at 15:52, Stefano Lattarini stefano.lattar...@gmail.com wrote: [Adding Automake list in CC:] Reference: https://lists.gnu.org/archive/html/autoconf-patches/2012-10/msg00018.html On 10/17/2012 10:25 AM, Gary V. Vaughan wrote

Re: Testing the value of a variable defined with m4_define (configure.ac)

2011-11-05 Thread Gary V. Vaughan
=somevalue; VAR2=somevalue2; fi HTH, -- Gary V. Vaughan (gary AT gnu DOT org) ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: Getting AC_PROG_CC_C99

2011-09-30 Thread Gary V. Vaughan
[Re-adding bug-autoconf] Hi Bruno, On 30 Sep 2011, at 16:56, Bruno Haible wrote: Gary V. Vaughan wrote: But why emit a warning when we can just fix-up the definition on the fly? ... This changeset fixes AC_PROG_CC_C99 (and effectively AC_PROG_CC_STDC) whether it is called before or after

Fwd: Getting AC_PROG_CC_C99

2011-09-28 Thread Gary V. Vaughan
From a private discussion about preventing CFLAGS getting -std=gnu99 twice, that leads to a bug report for gnulib and maybe autoconf too... Begin forwarded message: From: Gary V. Vaughan g...@gnu.org Subject: Re: Getting AC_PROG_CC_C99 Date: 28 September 2011 12:38:33 GMT+07:00 To: Reuben

Re: How to enable/disable my debug code?

2011-07-30 Thread Gary V. Vaughan
On 31 Jul 2011, at 02:04, NightStrike wrote: On Wed, Jul 27, 2011 at 10:22 PM, narke narkewo...@gmail.com wrote: On 27 July 2011 14:36, Gary V. Vaughan g...@vaughan.pe wrote: because those are in the users' namespace. Instead, Makefile.am should be setting required (but not compiler specific

Re: How to enable/disable my debug code?

2011-07-30 Thread Gary V. Vaughan
On 31 Jul 2011, at 06:57, NightStrike wrote: On Sat, Jul 30, 2011 at 3:26 PM, Gary V. Vaughan g...@gnu.org wrote: On 31 Jul 2011, at 02:04, NightStrike wrote: Unless I'm completely wrong, and there is in fact some sort of standard for compiler options other than do whatever gcc does

Re: How to enable/disable my debug code?

2011-07-27 Thread Gary V. Vaughan
';AC_DEFINE([__MY_DEBUG__])]) HTH, -- Gary V. Vaughan (gary AT gnu DOT org) ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: How to enable/disable my debug code?

2011-07-27 Thread Gary V. Vaughan
On 27 Jul 2011, at 19:22, narke wrote: Hi, Gary Howdy! On 27 July 2011 14:36, Gary V. Vaughan g...@vaughan.pe wrote: On 27 Jul 2011, at 12:56, narke wrote: With a same set of autoconf/automake files, how to I distribute my program that allows user to build it with or without debug code

Parsing autoconf input before running aclocal [Was Re: autoreconf and gettext]

2011-05-31 Thread Gary V. Vaughan
relevant posts, and I'll look up the links for you in the gnulib archives. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org) ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: Version number constructed with m4_esyscmd not a literal?

2011-02-28 Thread Gary V. Vaughan
for similar cases in this list, so I assume it can be somehow used without such warning. Removing the outer quotes will let m4_esyscmd run to completion during argument collection, and (untested!) avoid the warning: AC_INIT([freeciv], m4_esyscmd([./fc_version | tr -d '\n'])) Cheers, -- Gary V

Re: Use pipe and sed in configure.ac

2011-02-10 Thread Gary V. Vaughan
, but I'm pretty sure they're all covered by the info manuals. HTH, Gary -- Gary V. Vaughan (g...@gnu.org) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: minimum m4 version

2010-11-08 Thread Gary V. Vaughan
1.4.14 or later is recommended)[[...]] Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description: This is a digitally signed message part ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: installable gnulib library

2010-10-10 Thread Gary V. Vaughan
in the right order. What's the difference between AC_USE_SYSTEM_EXTENSIONS and gl_USE_SYSTEM_ EXTENSIONS? The warnings seem to indicate that adding AC_REQUIRE([AC_ USE_SYSTEM_EXTENSIONS]) to AC_{RUN,COMPILE}_IFELSE is the right solution. Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description

Re: docs: document zsh specialty with empty here-documents.

2010-09-12 Thread Gary V. Vaughan
other shells create an empty file: Also, is it really just that one micro release of zsh that has this problem? Or do you mean since 4.3.10 or maybe before 4.3.10 or even at least 4.3.10? Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description: This is a digitally signed message part

Re: [PATCH 2/5] docs: mention cost of globbing during variable expansion

2010-08-26 Thread Gary V. Vaughan
possible. Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description: This is a digitally signed message part

Re: [PATCH 2/5] docs: mention cost of globbing during variable expansion

2010-08-26 Thread Gary V. Vaughan
prefer the look of: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} But that's just a stylistic issue, unless one form avoids a shell bug somewhere? [[snip many more examples of the same]] Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description

Re: porting with autotools

2010-08-25 Thread Gary V. Vaughan
for :) Cheers, -- Gary V. Vaughan (g...@gnu.org) PGP.sig Description: This is a digitally signed message part ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: AC_TRY_EVAL

2010-08-08 Thread Gary V. Vaughan
, although we'll need something (better!) for Automake and Libtool to use instead, as you say. Cheers, -- Gary V. Vaughan (g...@gnu.org)

Re: How to correctly generate 'foobar.h' from 'foobar.h.in'

2010-08-06 Thread Gary V. Vaughan
sed - that way ${prefix} is expanded by the shell before passing it to sed. Have a look at how GNU M4 creates its bootstrap script for an example. Cheers, -- Gary V. Vaughan (g...@gnu.org) ___ Autoconf mailing list Autoconf@gnu.org http

Re: The problem with pgk-config

2010-08-01 Thread Gary V . Vaughan
, and they have never given me any problems personally. Cheers, -- Gary V. Vaughan (g...@gnu.org) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: The problem with pgk-config

2010-08-01 Thread Gary V. Vaughan
installed .la files, which would make folding in pkg-config like functionality impossible. I confess that I haven't really tried to understand why that is, since I always leave the .la files in place, and they have never given me any problems personally. Cheers, -- Gary V. Vaughan (g...@gnu.org

Re: Document, test, and fix AT_ARG_OPTION, AT_ARG_OPTION_ARG.

2010-06-22 Thread Gary V. Vaughan
). But that will be post-2.66. Agreed. I'm not planning on worrying too much about how to merge things after 2.66, since getopt.m4sh is still cooking in Libtool for the moment... Cheers, -- Gary V. Vaughan (g...@gnu.org)

Re: Defining dependencies in Automake

2010-06-22 Thread Gary V. Vaughan
V. Vaughan (g...@gnu.org) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Comment on introduction pages

2010-06-03 Thread Gary V. Vaughan
in a Makefile But then it would be wrong for an even larger percentage of automake users, almost none of which are hermaphrodites. At least with male pronouns we're exactly right 90% of the time or so. Cheers, -- Gary V. Vaughan (g...@gnu.org)

Re: AC_BEFORE does not warn when it should

2010-06-02 Thread Gary V. Vaughan
. Agreed. I can reproduce this with gnulib git master. Unfortunately, even with the generous commenting of m4_require in autoconf's m4sugar.m4, I can't figure out why it's happening :( IIRC Akim wrote the original implementation, and maybe has time to help... Cheers, -- Gary V. Vaughan (g...@gnu.org)

Re: Best practices for autotools

2010-05-04 Thread Gary V. Vaughan
in the book inaccurate, obsolete or just plain wrong. Cheers, -- Gary V. Vaughan (g...@gnu.org) ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: sed on binary files

2008-10-02 Thread Gary V. Vaughan
Hi Eric, On 2 Oct 2008, at 10:51, Eric Blake wrote: Is there any portable way to process files that contain NUL bytes? None that I'm aware of. Many GNU utilities are reasonably well behaved with respect to '\0', and m4 is unusual to some extent in that we don't handle them well

Re: 1-gary-leopard-dSYM-removal.patch

2008-01-31 Thread Gary V. Vaughan
On 18 Jan 2008, at 17:07, Gary V. Vaughan wrote: Hi Paul, On 18 Jan 2008, at 08:32, Paul Eggert wrote: Gary V. Vaughan [EMAIL PROTECTED] writes: +# Clean up potential compiler droppings: +ac_files=a.out.* a.exe.* a_out.exe.* b.out.* conftest.* +for ac_file in $ac_files; do + case $ac_file

Autoreconf calling order order [WAS FYI: 333-gary-refactor-LTDL_INIT.patch]

2008-01-24 Thread Gary V. Vaughan
affects the contents of aclocal.m4, and should be run before # aclocal, so we can't use configure --trace which relies on a consistent # configure.(ac|in) and aclocal.m4. I'm punting this one as an autoreconf bug. Cheers, Gary -- Gary V. Vaughan ([EMAIL PROTECTED]) PGP.sig

Re: 1-gary-leopard-dSYM-removal.patch

2008-01-18 Thread Gary V. Vaughan
On 18 Jan 2008, at 05:44, Ralf Wildenhues wrote: Hi Gary, Hallo Ralf, * Gary V. Vaughan wrote on Thu, Jan 17, 2008 at 08:16:46PM CET: I'm not convinced that this is the cleanest way to achieve this, but in any case the equivalent is needed in order for 'make distcheck' to pass with current

Re: 1-gary-leopard-dSYM-removal.patch

2008-01-18 Thread Gary V. Vaughan
Hi Paul, On 18 Jan 2008, at 08:32, Paul Eggert wrote: Gary V. Vaughan [EMAIL PROTECTED] writes: +# Clean up potential compiler droppings: +ac_files=a.out.* a.exe.* a_out.exe.* b.out.* conftest.* +for ac_file in $ac_files; do + case $ac_file in +_AC_COMPILER_OBJEXT_REJECT ) rm -rf

1-gary-leopard-dSYM-removal.patch

2008-01-17 Thread Gary V. Vaughan
I'm not convinced that this is the cleanest way to achieve this, but in any case the equivalent is needed in order for 'make distcheck' to pass with current libtool HEAD. Please apply something similar. 2008-01-18 Gary V. Vaughan [EMAIL PROTECTED] * lib/autoconf/lang.m4

Re: M4 syntax $11 vs. ${11}

2007-02-19 Thread Gary V. Vaughan
Apologies for joining the conversation so late: On 30 Jan 2007, at 07:23, Eric Blake wrote: How about if M4 uses a slightly-different syntax, so that the two uses are never confused? That way, the conversion problem won't ever have to be addressed, and Autoconf won't have to disable the

Re: Aclocal bug?

2006-11-09 Thread Gary V. Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo Stepan! On 9 Nov 2006, at 08:59, Stepan Kasal wrote: wow this is an interesting bug, I enjoyed analysing it! And I enjoyed your analysis! Thankyou :-) On Wed, Nov 08, 2006 at 11:49:31PM -0600, Gary V. Vaughan wrote: On 8 Nov 2006, at 13

Re: RFC: rename symbols to m4symbols

2006-09-18 Thread Gary V. Vaughan
sense to do that with the modules builtin by virtue of your english words with 0 arguments rule above, but I see no compelling reason to change load or unload when they are perfectly in keeping with the style of many SUSv3 builtin names. Cheers, Gary. - -- Gary V. Vaughan ())_. gary

Re: libtool --ltdl vs. autoreconf

2006-05-09 Thread Gary V. Vaughan
libtoolize invocation that I had stopped seeing it as a bug. It is something that should be fixed before releasing Autoconf-2.60 though, or else Libtool-2.0 will need another Autoconf release for proper integration :-( Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org

Re: Autotesting - GNU Autoconf

2006-04-06 Thread Gary V. Vaughan
. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook signature.asc Description: OpenPGP digital signature

Re: proposed gnulib-related additions to Autoconf

2006-03-10 Thread Gary V. Vaughan
/software/libtool/, Libtool}. The uref for Gnulib is wrong. Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http

Re: proposed gnulib-related additions to Autoconf

2006-03-10 Thread Gary V. Vaughan
Hi Paul, Paul Eggert wrote: Gary V. Vaughan [EMAIL PROTECTED] writes: i) Let's just improve AC_CHECK_HEADERS (et al) to always make configure smaller and faster by despatching to (undocumented internal) _AC_CHECK_HEADERS_ONCE when it can. Won't that break old scripts

Re: No release for 2 years?

2006-01-05 Thread Gary V. Vaughan
Akim wanted in the next release of autoconf. I don't know of any reason why we couldn't put out an alpha of autoconf right now. Then after a whole lot of platform testing, fixing any bugs that fall out, a 2.60 release seems perfectly feasible. Cheers, Gary. -- Gary V. Vaughan

Re: Bug in latest install-sh

2005-11-01 Thread Gary V. Vaughan
PROTECTED] - SIG}, the feature is not widely supported yet. +But it si safe to use @samp{trap '' SIG} to ignore the signal; in particular, ^^ s/si/is/ Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker

Re: Fix LT_WITH_LTDL: AU_ALIAS bug

2005-09-10 Thread Gary V. Vaughan
of m4_if, to cope with empty macro arguments. Use less quoting for expanded LIBLTDL, LTDLINCL Cheers, Gary -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software

Re: [gettext] changequote considered harmful

2005-08-03 Thread Gary V. Vaughan
*... and that is far more important. It will become acceptable style as more projects adopt it when they realise it is the technically correct thing to do! Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker

Re: [PATCH] Support AC_CONFIG_LIBOBJ_DIR (fixes PR/401)

2005-04-25 Thread Gary V. Vaughan
the rest. ChangeLog entries for automake: 2005-04-25 Gary V. Vaughan [EMAIL PROTECTED] Fixes PR/401 * automake.in (config_libobj_dir): Either `.' or whatever directory is given to AC_CONFIG_LIBOBJ_DIR in configure.ac. (scan_autoconf_traces): Set config_libobj_dir

Re: [PATCH] Support AC_CONFIG_LIBOBJ_DIR

2005-04-18 Thread Gary V. Vaughan
-18 Gary V. Vaughan [EMAIL PROTECTED] * automake.in (config_libobj_dir): Either `.' or whatever directory is given to AC_CONFIG_LIBOBJ_DIR in configure.ac. (scan_autoconf_traces): Set config_libobj_dir. (require_libobj_with_macro): Use $config_libobj_dir when looking

Re: [PATCH] Support AC_CONFIG_LIBOBJ_DIR

2005-04-18 Thread Gary V. Vaughan
Hi Paul, Paul Eggert wrote: I like the patch from the Autoconf point of view, assuming the Automake folks take their bit. Thanks. One small point: Gary V. Vaughan [EMAIL PROTECTED] writes: +ac_libobj_dir= +test X${ac_config_libobj_dir-.} != X. + ac_libobj_dir=`echo

Re: Avoid redirecting to /dev/null

2005-02-04 Thread Gary V. Vaughan
suffix, `.lo'. Try `libtool --help' for more information about other modes. HTH, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author

Re: C99 support

2004-11-28 Thread Gary V. Vaughan
], [], [lt_no_builtin_flag=$lt_no_builtin_flag -fno-rtti -fno-exceptions ]) HTH, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author

[BUG] autoupdate vs aclocal m4_include

2004-11-18 Thread Gary V. Vaughan
@@ -AC_INIT(x, 0) +AC_INIT([x],[0]) AC_CONFIG_MACRO_DIR(m4sugar) -AC_PROG_LIBTOOL +LT_INIT AC_OUTPUT HTH, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool

Re: Building all static

2004-11-03 Thread Gary V. Vaughan
against a static only link. Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook

Re: Building all static

2004-11-03 Thread Gary V. Vaughan
Hi Bill, Bill Moseley wrote: On Tue, Nov 02, 2004 at 12:39:10PM +, Gary V. Vaughan wrote: 2) Is there a standard way to run configure that should build a completely static binary? Assuming libtool is doing all your linking: ./configure LDFLAGS='-all-static' As I posted, that doesn't

Re: Building all static

2004-11-03 Thread Gary V. Vaughan
Hi Peter, Peter O'Gorman wrote: Gary V. Vaughan wrote: Considering Bob's posts about how static linking against system libraries gets you a binary that might stop working if you move it to another similar version, or upgrade your system... and considering that we already extract a list

Re: Building all static

2004-11-03 Thread Gary V. Vaughan
(and thus there is a libxml2.la file present), where libz is not. Yep! Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
keep -all-static as an alias to -static). Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
Hi Bob! Bob Friesenhahn wrote: On Tue, 2 Nov 2004, Gary V. Vaughan wrote: Unless someone shouts me down, then according to the principle of least surprise, I'm inclined to change the semantics to: -static do not do any dynamic linking at all -lt-staticdo not do any dynamic

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
if libtool took -static to be the same as calling cc -static and/or ld -static to link? Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
Replying to myself after reading more of the thread... Gary V. Vaughan wrote: Bob Friesenhahn wrote: The main purpose of building a completely static program is to satisfy security or system bootstrap requirements (/usr partition not mounted). It is not always possible to build

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
that this would happen someday :-( Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
dynamically based on some other method than whether or not they have a .la file attached? `-lt-static' was still-born, lets pretend I never said that ;-) Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker

Re: Building all static

2004-11-02 Thread Gary V. Vaughan
said :-) As long as they are `few'. I happen to think that they really are. And for the very few who really really want fully static, they can still use -all-static to stop libtool trying to outsmart them. Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research

Re: Bug in XFile.pm?

2004-11-01 Thread Gary V. Vaughan
Alexandre Duret-Lutz wrote: Hi Gary, Salut Alexandre! Gary == Gary V Vaughan [EMAIL PROTECTED] writes: Gary While trying to autoconfiscate zlib-1.2.2 on a Linux Gary RHEL3 box, I keep seeing the following error from Gary aclocal, automake and autoconf during bootstrap: Gary Use

Re: m4sugar.m4

2004-10-06 Thread Gary V. Vaughan
Salut Akim! Akim Demaille wrote: Gary == Gary V Vaughan [EMAIL PROTECTED] writes: Would you mind if I ship an implementation of m4sugar.m4 with the next release of GNU m4, with an eye to replacing parts of it with C at some point? There are some issues in m4sugar that were waiting

Re: libtool--release--2.0 test results

2004-10-05 Thread Gary V. Vaughan
I bootstrapped libtool with the autoconf-2.59 release, so maybe this bug is fixed in CVS autoconf? Gary V. Vaughan wrote: hppa2.0-hp-hpux10.20: 3 of 85 tests failed [[All tagdemo-make]] Anyway these fail because of this: checking for g++... no checking for c++... no checking for gpp

Re: shell portability question

2004-09-19 Thread Gary V . Vaughan
stop it choking on valid things like this: foo=bar; break Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http

Re: shell portability question

2004-09-19 Thread Gary V . Vaughan
. Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook -BEGIN PGP SIGNATURE- Version

shell portability question

2004-09-18 Thread Gary V . Vaughan
] ;; *) _AS_PATH_WALK([], [test -r $as_dir/$[0] as_myself=$as_dir/$[0] break]) ;; esac Who is correct? Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org

m4sugar.m4

2004-09-14 Thread Gary V . Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Would you mind if I ship an implementation of m4sugar.m4 with the next release of GNU m4, with an eye to replacing parts of it with C at some point? Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research

Re: help with Failed dependencies

2004-09-05 Thread Gary V . Vaughan
with the LD_LIBRARY_PATH, that is for finding libraries when a program starts up, not when it is being compiled. HTH, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool

Re: checking for gcc

2004-08-10 Thread Gary V. Vaughan
bertold wrote: how to cancel check for gcc? i believe it's in configure.in file. If you want to specify a compiler, other than the one configure finds when left to its own devices, just invoke configure like this: $ ./configure CC=xlc -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org

Re: cvs build prob

2004-07-28 Thread Gary V. Vaughan
Hi Patrick! Patrick Welche wrote: On Tue, Jul 27, 2004 at 01:25:43PM -0700, Paul Eggert wrote: Gary V. Vaughan [EMAIL PROTECTED] writes: The workaround in this case is easy. Just omit the outer quotes and remove the inner backslashes: output_verbose_link_cmd=`$echo X$output_verbose_link_cmd

Re: cvs build prob

2004-07-27 Thread Gary V. Vaughan
\ | $Xsed -e \$no_glob_subst\` (setting set +o posix in configure for the benefit of ksh fixes things too.) Does ksh have a way to detect itself programatically so that libtool can add something of the form: test -z $KSH_VERSION || set +o posix Cheers, Gary. -- Gary V. Vaughan

[BUG] autoreconf calls libtoolize too late

2004-06-17 Thread Gary V. Vaughan
... This is causing real problems for my m4 bootstrap, which currently has to call libtoolize by hand before calling autoreconf (which then calls it again with no effect after aclocal). Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks

Re: libtoolize and AC_CONFIG_SUBDIRS

2004-04-30 Thread Gary V . Vaughan
AC_CONFIG_MACRO_DIR if none is set in the subpackage's configure.ac.) That is autoconf simply tracking back up the tree looking for install-sh if AC_CONFIG_AUX_DIR is not set in the subpackage. Libtool doesn't do anything special for either. HTH, Gary. - -- Gary V. Vaughan ())_. [EMAIL

Fwd: libtool--gary--1.0--patch-8

2004-04-13 Thread Gary V . Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In response to this thread: Alexandre Oliva wrote: On Apr 7, 2004, Gary V. Vaughan [EMAIL PROTECTED] wrote: Agreed. Autoconf generates a config.h that encourages #ifdef/#ifndef. And then it promotes the use of #if. I recall discussions about

Re: [PATCH] Fix some bootstrap issues arising from multi-lang support. (Modified by Gary V. Vaughan)

2004-03-24 Thread Gary V . Vaughan
. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2

Re: func_infer_tag() broken on IRIX 6.5

2004-02-11 Thread Gary V. Vaughan
to an arbitrary nesting limit. Removing the returns isn't too hard, but if my other assumptions are bad, then 1.6 is in trouble :-( Cheers, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://www.oranda.demon.co.uk GNU Hacker

Re: Trouble with variable substitution

2004-01-28 Thread Gary V. Vaughan
,']` LT_ALPHA=`echo AC_PACKAGE_VERSION | sed ['s,^[0-9.]*,,']` Note the lack of $AC_PACKAGE_VERSION, AC_PACKAGE_VERSION is an m4 macro! After this you could add, say: VERSION=$LT_MAJOR.$LT_MINOR.$LT_MICRO HTH, Gary. - -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist

  1   2   >