Re: autoreconf --force seemingly does not forcibly update everything

2024-04-01 Thread Eric Blake
the use of serial numbers in .m4 snippets was intentional in gnulib (more or less where the practice originated), but only because gnulib prefers a linear history (everything is monotonically increasing, no forks for the serial number to diverge on). In light of this weekend's mess, Bruno may have more id

Re: Evaluating arithmetic expressions with macros (eval)

2023-10-16 Thread Eric Blake
ure.ac file, both m4_eval(...) and eval(...) will do the same actions, but only m4_eval(...) complies with the manual (and although unlikely due to back-compat reasons, some future release of autoconf could decide to make eval(...) no longer do what you want). -- Eric Blake, Principal Software Engineer

Re: remaining tasks before Autoconf release

2023-04-19 Thread Eric Blake
widening the type @code{time_t} as needed to represent file > -wand other timestamps after January 2038. This widening is possible > +wand other timestamps after mid-January 2038. This widening is possible s/wand/and/ ? -- Eric Blake, Principal Software Engineer Red Hat, Inc.

Re: On time64 and Large File Support

2023-03-01 Thread Eric Blake
changed gnutls to use 64-bit time_t ...which is an ABI incompatibility because gnutls has public APIs which have time_t parameters so apps talking to gnutls will expect 32-bit time_t, but gnutls is processing 64-bit time_t this is utterly insane -- Eric Blake, Principal Software Engineer Red Hat,

Re: Subscribe

2022-07-12 Thread Eric Blake
On Mon, Jul 11, 2022 at 09:05:24AM +0300, d...@collaboration.cafe wrote: > How can I subscribe to this mailing list, please? Like most GNU lists, you can subscribe on the list overview page: https://lists.gnu.org/mailman/listinfo/autoconf -- Eric Blake, Principal Software Engineer Red Hat,

Re: [PATCH 1/5] Require Perl 5.10.0 or later.

2022-07-12 Thread Eric Blake
+AS_EXECUTABLE_P(["$ac_path_$1"]) || continue > +$3 > +$ac_path_$1_found && break 4 > + done > +done > + done])dnl > + if test -z "$ac_cv_path_$1"; then > + m4_default([$4], > + [AC_MSG_ERROR([no acceptable m4_bpatsubst(

Re: [1003.1(2016/18)/Issue7+TC2 0001558]: require [^...] in addition to [!...] for bracket expression negation

2022-02-18 Thread Eric Blake
lly going to > even try and report. The …[^… is passed to sed. But it is also > processed by the shell first, by accident. (This is from > OpenSSH-portable’s configure.) So we need to patch autoconf to properly shell-quote the sed script stored in as_tr_cpp. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

[sr #110547] AX_PYTHON_DEVEL version checks fail with Python 3.10

2021-10-05 Thread Eric Blake
Update of sr #110547 (project autoconf): Status:None => Not Autoconf Open/Closed:Open => Closed ___ Follow-up Comment #1: AX_PYTHON_DEVEL

Re: [PATCH] Port test to next m4 version

2021-09-17 Thread Eric Blake
On Tue, Aug 31, 2021 at 04:15:28PM -0700, Paul Eggert wrote: > * tests/tools.at (autom4te cache): > Allow m4 to quote 'like this' as well as 'like this'. > --- > tests/tools.at | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) ACK. -- Eric Blake, Principal So

[sr #110526] Typo caught by codespell

2021-08-12 Thread Eric Blake
Update of sr #110526 (project autoconf): Status:None => Done Open/Closed:Open => Closed ___ Follow-up Comment #1: I've pushed that

Re: [PATCH] doc: fix typo in variable name

2021-06-30 Thread Eric Blake
can check whether the C++ compiler has been set to > -accept standard C++ by inspecting the shell variable @code{ac_prog_cc_stdc}. > +accept standard C++ by inspecting the shell variable > @code{ac_prog_cxx_stdcxx}. Yep, that's correct. I've pushed it. -- Eric Blake, Principal Soft

Re: [PATCH] _AC_PROG_CXX_STDCXX_EDITION_TRY: fix typo in variable name

2021-06-30 Thread Eric Blake
name matches the comments above and the resulting _AC_COMPILE_IFELSE below, but agree that it is correct. Thanks; I've pushed it in your name. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: [PATCH] lib/autoconf/c.m4: fix NULL pointer dereference in _AC_LANG_IO_PROGRAM

2021-06-29 Thread Eric Blake
my employer added a few weeks ago a configuration > to GMail which automatically adds this blurb, even to full-text emails > sent to mailing lists. Thanks! That indeed makes it easier to reply to your mail without worrying whether I'm getting in trouble with your employer. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

[PATCH] maint: advertise GNU in README

2021-05-10 Thread Eric Blake
* README: Add section to attract more people towards the GNU project. Inspired by a suggestion from Jose E. Marchesi on the gnu-prog-discuss mailing list. --- README | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README b/README index fd16df7c..2cedb951

[PATCH] maint: ensure autoconf-latest.* links stay up-to-date

2021-05-10 Thread Eric Blake
* cfg.mk (GNUPLOADFLAGS): New. https://lists.gnu.org/archive/html/autoconf/2021-05/msg6.html --- I just pushed this, after coming up with something similar for m4. cfg.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfg.mk b/cfg.mk index 0d4ec728..6a89e489 100644 --- a/cfg.mk +++

Re: autoconf-2.71 released [stable]

2021-05-08 Thread Eric Blake
ile I'm seeing if gnulib will improve 'maint.mk' to pass --symlink-regexp in the suggested gnupload command it generates during 'make stable', so we don't forget this step for the next release. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualizat

Re: Licensing of Autoconf

2020-10-12 Thread Eric Blake
, but the main COPYING file is GPLv2. Is this significant? Autoconf installs both COPYING and COPYINGv3 for ease of use by other projects; but Autoconf itself is under COPYINGv3 (see Readme). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization

Re: autoconf-2.69c released [beta]

2020-09-30 Thread Eric Blake
d comments and in what the second-built autoconf will produce). Ideas on streamlining that are welcome, but as we at least have a documented procedure (even if it is multi-step), it's not essential to fix before 2.70. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-

Re: autoconf bug tracking?

2020-09-03 Thread Eric Blake
gn"ed: https://debbugs.gnu.org/cgi/pkgreport.cgi?package=autoconf We haven't been using it, but I would not be opposed to flipping the switch to start using it. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: Knowing which tool is being run, from M4

2020-08-05 Thread Eric Blake
autoconf and automake, that may still not help you in the short term for learning when automake is running things (other than seeing if AM_INIT is defined). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: [PATCH] AC_LANG_INT_SAVE: Modernize function declarators (C89 and above).

2020-08-05 Thread Eric Blake
. It may not be needed on that front, but at the same time, I don't see it as hurting. We can't guarantee that all configure snippets compile warning-free, but where a warning is easy to avoid, we might as well do it. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301

Re: Who's the upstream owner of GNUmakefile?

2020-08-04 Thread Eric Blake
On 8/4/20 10:07 AM, Eric Blake wrote: On 8/4/20 9:58 AM, Zack Weinberg wrote: I just pushed a commit that partially reverts a `make fetch'. Partially revert e54e3f90: restore use of $(MAKE) in error message. In commit 14d58bfd, the error message printed by the ‘abort-due

Re: Who's the upstream owner of GNUmakefile?

2020-08-04 Thread Eric Blake
'make fetch' is intended to do. So, if you want a change to stick in that file, update the gnulib version first, then update autoconf to the newer version of gnulib containing that fix. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org

Re: [sr #110215] AC_EGREP_HEADER appears to be broken in master

2020-03-24 Thread Eric Blake
? Or maybe just tweak the NEWS blurb to mention that users depending on $GREP being set early may need to be careful? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: M4sh tests 77 and 78 vs /bin/sh -> dash

2020-03-20 Thread Eric Blake
he current working directory causes ./configure to fail (for any configure that uses $as-echo), should we teach _AS_DETECT_BETTER_SHELL to catch that bash bug and prefer dash (even with no LINENO support) over bash in that scenario? -- Eric Blake, Principal Software Engineer Red Hat, Inc.

[sr #110212] Transform pkgdatadir using program-prefix and -suffix

2020-03-19 Thread Eric Blake
Follow-up Comment #1, sr #110212 (project autoconf): Such a change first needs to be incorporated into the GNU Coding Standards. ___ Reply to this item at:

Re: [PATCH] Define $as_echo and $as_echo_n for backward compatibility.

2020-03-13 Thread Eric Blake
On 3/13/20 2:22 PM, Zack Weinberg wrote: On Fri, Mar 13, 2020 at 3:13 PM Eric Blake wrote: Unpatched bash 5.0 has a bug where calling $as_echo that contains \ can result in unintended globbing, where the behavior of the expansion is dependent on the contents of the current directory. Nasty

Re: [PATCH] Define $as_echo and $as_echo_n for backward compatibility.

2020-03-13 Thread Eric Blake
s bug doesn't affect this patch) https://www.mail-archive.com/austin-group-l@opengroup.org/msg04237.html ACK -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: [PATCH] _AS_REEXEC_WITH_SHELL: don’t use AS_EXIT.

2020-03-13 Thread Eric Blake
ll appear _after_ this point. +dnl We shouldn't have to worry about any traps being active at this point. +exit 255])# _AS_REEXEC_WITH_SHELL # _AS_PREPARE -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: Question:Why configure file does not exist on git repository?

2020-02-05 Thread Eric Blake
ftp.gnu.org/gnu/autoconf/, each of which contains a configure file. How can I build autoconf from scratch with ONLY source code on git repository ? You can't. You have to bootstrap with a released tarball before you can hack on the git repository. -- Eric Blake, Principal Software Engineer

Re: How should long messages be displayed

2019-09-17 Thread Eric Blake
> strings? > > Many thanks in advance for any hint! Can you paste the actual portion of the configure.ac in question? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc De

Re: Making a path absolute portably

2019-07-10 Thread Eric Blake
tax is proven to be portable and reliable: > > abssrcdir="`cd $srcdir && pwd`" No, that still has problems if $srcdir contains whitespace or begins with '-'; and also eats trailing newlines in an unusually-named directory. Do you have to worry about that in practice? Probably n

Re: Making a path absolute portably

2019-07-10 Thread Eric Blake
ing all of those items could be done with: abssrcdir=$(unset CDPATH; cd -- "$srcdir" && printf %sX "$PWD") || fail abssrcdir=${abcsrcdir%X} but how much portability you actually have to worry about, vs. ignoring as unlikely, may depend on context of how you expect $

Re: Re-exec of $as_myself chooses wrong configure script from PATH

2019-05-30 Thread Eric Blake
> > In other words, I re-exec the wrong script entirely. This can be worked > around by running "sh ./configure" instead of "sh configure", but leads > to a great deal of head-scratching. > > Is this something that can (should?) be fixed? I'm not convinced that you hav

Re: AC_INCLUDES_DEFAULT

2019-03-19 Thread Eric Blake
thout an argument), if you wanted to try and override a different setting of that shell variable to be effective at the point where the rest of configure then relies on the contents of the variable. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualizati

Re: [PATCH] AC_COMPILE_IFELSE: Evaluate user supplied arguments

2019-03-07 Thread Eric Blake
ur use of ${CFLAGS} during configure should use the same level of quotation stripping as what the resulting makefile will. Your patch could use a NEWS entry for the change. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature

Re: failure in building po/Makefile due to crippled sed

2019-03-07 Thread Eric Blake
; sed -e '1,/^POTFILES =/d' -e '/^# Makevars/+1,$d' \ > -e "s|@POFILES@|$POFILES|g" \ > ... \ > -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" \ > "$ac_dir/Makefile.in" > Temp2 > sed -e '1,/^# Makevars/d' \ > -e "s|@P

Re: Why does autoupdate remove spaces after commas in AC_INIT only?

2019-03-06 Thread Eric Blake
are only eaten on the macros that autoupdate is looking for, and AC_INIT happens to be one of those macros. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature ___

Re: Any chance to make a new autoconf release?

2019-03-05 Thread Eric Blake
shown on the list that they are trying to improve the current state of things with working patches. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital sig

Re: Any chance to make a new autoconf release?

2019-03-05 Thread Eric Blake
to be booked with real life to the point that I have not been able to devote enough time to a good release. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing

Re: autoreconf doesn't follow includes.

2019-02-21 Thread Eric Blake
happy to accept a patch to autoreconf to do similar chasing when building the command line to pass to automake, but I'm not sure how easy it would be for me to write the patch myself. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: autoreconf and depcomp

2019-02-02 Thread Eric Blake
omake. Updating mail distribution accordingly. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature ___ Autoconf mailing list A

Re: [PATCH] regex: Add extra escapes to regular expressions in m4

2019-01-29 Thread Eric Blake
On 1/29/19 8:23 PM, Siddhesh Poyarekar wrote: > On 30/01/19 2:16 AM, Eric Blake wrote: >> Looking at m4/fnmatch.m4, it looks like we are already used to the idea >> of doubling up \\ that will pass through AC_LANG_PROGRAM() and the >> unquoted heredoc; on that grounds,

Re: [PATCH] regex: Add extra escapes to regular expressions in m4

2019-01-29 Thread Eric Blake
[adding bug-autoconf] On 1/29/19 2:18 PM, Eric Blake wrote: > On 1/29/19 12:57 PM, Siddhesh Poyarekar wrote: >> From: Siddhesh Poyarekar >> >> * m4/regex.m4 (gl_REGEX): Add extra escape characters to >> regular expressions. >> --- >> >>

Re: Where are the original commands defined?

2019-01-24 Thread Eric Blake
ore or after the macro that expanded to the line in question. Use echo instead of : if you also need help in comparing the output of configure to spot where your probe point was executed in relation to the other things being run. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1

Re: What is the correct way to disable -O2?

2019-01-23 Thread Eric Blake
ot present in Autoconf sources; at this point, any question about its intent should be asked to the bash project as the place that declared that variable. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Descri

Re: configure: error: C preprocessor "/lib/cpp" fails sanity check

2018-11-17 Thread Eric Blake
ich makes it hard to see the "more details" that stdout/stderr said we should be looking for in evidence why configure failed. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org _

Re: Arguemnts to configure

2018-10-02 Thread Eric Blake
semantics? A strong justification is needed, at which point maybe we can work on amending the GNU Coding Standards to document your use case for everyone to be able to share it. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | l

Re: Check if make supports nested variables is done twice when using silent rules

2018-09-28 Thread Eric Blake
(Debian version syntax): autoconf 2.69-10 automake 1:1.15-6 Regards Jacob -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: non standard name of a dependency

2018-09-21 Thread Eric Blake
, that should be possible if the package followed the autoconf recommendations for allowing overrides. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf

Re: automatically showing test-suite.log on failure?

2018-09-21 Thread Eric Blake
='per-test log files' else at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'" fi AS_ECHO(["Please send $at_msg and all information you think might help: in lib/autotest/general.m4, to mention the recommendation for compression. -- Eric Blake, Principal Software Engine

copyright problem with install-sh, request for clean-room rewrite

2018-09-03 Thread Eric Blake
hese, just make sure not to ignore # Now rename the file to the real destination. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: Skip all version checks with autoconf?

2018-08-27 Thread Eric Blake
that are trying to help you resolve your issues isn't going to resolve the issue. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf@gnu.org https

Re: Skip all version checks with autoconf?

2018-08-24 Thread Eric Blake
particular version check. Or, actually install newer versions of the autotools. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf@gnu.org https

Re: How to write directly to config.h from configure?

2018-07-26 Thread Eric Blake
d int word32; ]]) (where MY_TYPEDEFS is replaced by whatever name you desire, although it should be prefixed to your project to avoid collisions) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org |

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

2018-07-02 Thread Eric Blake
Makefile without having to depend on automake (although typically you don't store either po/Makefile.in.in nor po/Makefile.in in version control, as they are generated files). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: configure[xxxx]: : is not an identifer

2018-06-07 Thread Eric Blake
is niche enough that we just let you live with the workaround. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: configure[xxxx]: : is not an identifer

2018-06-07 Thread Eric Blake
for the problem. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: using autoconf to create build scripts for Assembly language programs

2018-06-07 Thread Eric Blake
that adds that functionality on top of /usr/bin/as, at least according to the automake documentation. But again, the autoconf list is not the best list to be asking this; you'll (hopefully) get better response on the automake list, since it is an automake feature you are trying to use. -- Eric

Re: using autoconf to create build scripts for Assembly language programs

2018-06-07 Thread Eric Blake
(since the automake documentation said the default would be $CC which is typically gcc on a GNU/Linux system). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing

Re: sharedlocalstate default - does anybody use this?

2018-06-06 Thread Eric Blake
/configure --sharedstatedir=/var/lib' exists, and distros are responsible for setting it. Or is there some other way to handle this? No, as long as you use sharedstatedir correctly, then you don't have to take care of anything further. -- Eric Blake, Principal Software Engineer Re

Re: why generate output to tmp file and mv to actual file?

2018-06-01 Thread Eric Blake
file will see either the old inode which was presumably complete, or the new inode that we just completed), so that the target file is always a valid and complete file for reading or execution. In fact, the notion of generate to a temporary then move into place is a rather common idiom. -- E

Re: Problem with --version after compiling autoconf

2018-05-30 Thread Eric Blake
On 05/30/2018 07:23 AM, Eric Blake wrote: which in turn is expanding this macro before calling m4's eval with invalid input: m4_bpatsubst(m4_bpatsubst(m4_translit(0,$1, [.-], [,,]),]dnl m4_dquote(m4_dquote(m4_defn([m4_cr_Letters])))[[+],   [+1,-1,[0r36:\&]]),

Re: Problem with --version after compiling autoconf

2018-05-30 Thread Eric Blake
hich means that anything larger than radix 20 (0-9 and a-j) is botched on an EBCDIC machine. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ Autoconf mailing list Autoconf@gnu

Re: unable to escape ! in autotest stdout comparison text

2018-05-29 Thread Eric Blake
od way to access my program without using the shell variables defined in atconfig. My approach works with both AT_CHECK and AT_CHECK_UNQUOTED, as there is no longer anything variable in the expected output. In fact, since bash changes argv[0] into the absolute path when a PATH lookup was performed, this al

Re: Problem with --version after compiling autoconf

2018-05-29 Thread Eric Blake
of things that need tweaking to work correctly. I suppose you could start by running 'make check', and then pasting the testsuite.log of the failing tests, if that might contain hints of where things are going wrong. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266

Re: Does a 2.70 release exist?

2018-04-24 Thread Eric Blake
rong and > 2.70 doesn't exist? If that's true, will it ever exist? I have not yet (made? found?) the time to release 2.70. But it will happen, someday. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc De

Re: [autoconf archive] syntax error in ax_lib_postgresql.m4 script.

2018-03-22 Thread Eric Blake
On 03/22/2018 05:15 PM, Eric Blake wrote: Furthermore, you probably want to add: m4_pattern_forbid([AX_]) Make that m4_pattern_forbid([^AX_]) so that it is properly anchored to only flag words that begin with AX, rather than anywhere in the middle. -- Eric Blake, Principal Software

Re: [autoconf archive] syntax error in ax_lib_postgresql.m4 script.

2018-03-22 Thread Eric Blake
someone help me to fix it? It's probably a question to the autoconf-archive list on their recommended practices for how to best install their .m4 files for use in your configure.ac file. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org

Re: How to change the shebang in 'configure' to require Bash

2018-03-19 Thread Eric Blake
se copy me on all the answers, as I am not subscribed to this mailing list. It's already list policy to reply-to-all, precisely for that reason. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | l

Re: [PATCH] AC_C_BIGENDIAN: fix narrowing error

2018-03-12 Thread Eric Blake
On 03/12/2018 07:47 AM, Eric Blake wrote: On 03/12/2018 04:24 AM, Rechi wrote: The following patch will fix AC_C_BIGENDIAN, for cross compiling, if narrowing is a fatal error in the used compiler. Narrowing should not be a fatal error unless you used -Werror, which we advise against doing

Re: [PATCH] AC_C_BIGENDIAN: fix narrowing error

2018-03-12 Thread Eric Blake
short int ebcdic_mm[] =   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; and that is easy to maintain, so I'll go ahead and incorporate it when I get a chance. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org

Re: Autoheader should ignore m4 "dnl" comments

2018-02-22 Thread Eric Blake
ossible to fix, at which point, documentation would be the only thing to improve. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: Fwd: BUG report using autoconf…

2018-02-05 Thread Eric Blake
as taken place, and its presence in the meantime is enough to prevent unintended infinite recursion of trying to expand the SC_ENABLE_DEBUG macro from its own output. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: m4_map and AC_REQUIRE hoisting

2018-01-24 Thread Eric Blake
is gives: > > def2 > hello > > as expected. > > I really have no idea why TEST1 results in a different expansion from > the other two examples. What exactly is different about m4_mapall? Hopefully my explanation into the deep magic guts helped! -- Eric Blake, Principal

Re: Should I define _GNU_SOURCE?

2018-01-22 Thread Eric Blake
matter what are user options? If you want to enable the use of a platform's extensions, the easiest way is to use the AC_USE_SYSTEM_EXTENSIONS macro (rather than -D_GNU_SOURCE, as that only works for a subset of systems), prior to the rest of your configure.ac that probes which extensions are now avail

Re: autoreconf breaks shell functions in configure.ac

2018-01-15 Thread Eric Blake
IX constructs not portable to ancient /bin/sh. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature

Re: How to check for SIGABRT?

2017-12-08 Thread Eric Blake
digm, I agree that making it easier in autotest to check that a process died due to a particular signal may be a worthwhile enhancement. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP dig

Re: [PATCH] Support for Flang and ARM HPC compiler

2017-08-30 Thread Eric Blake
ran expert, so I can't test this, but in principle the patch looks reasonable; and it is small enough to not need copyright assignment. However, I wonder if it does need mention in NEWS, so I'll wait a bit longer before applying to see if anyone else chimes in on review. -- Eric Blake, Principal Sof

Re: Segfault while checking for suffix of executables

2017-08-29 Thread Eric Blake
/bin/sh to not dump core, there's not much autoconf can do; conversely, if we can isolate exactly what bug we are tickling in /bin/sh, it may be possible to tweak autoconf to avoid generating shell scripts that tickle that pattern. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature

Re: Why my AT_CHECK() can't work?

2017-08-18 Thread Eric Blake
[Killing ovsdb-server (PID) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature ___ Autoconf mailing list Autoconf@gnu.org ht

Re: [nts] bootstrap patch

2017-08-16 Thread Eric Blake
quivalent to adding :.:; having the current working directory earlier than the end of PATH can sometimes lead to trojan horses being executed. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org signature.asc Description

Re: [PATCH] fix regex in AC_DEFINE_UNQUOTED

2017-08-15 Thread Eric Blake
ot; for > basic regex alteration. > * tests/torture.at (Substitute and define special characters): > Add test case. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > lib/autoconf/general.m4 | 2 +- > tests/torture.at | 2 ++ > 2 files changed, 3 inse

Re: Why my AT_CHECK() can't work?

2017-08-10 Thread Eric Blake
milar to 'empty') expands to nothing, but is converted after the point when trailing whitespace is eaten. The manual documents this: https://www.gnu.org/software/autoconf/manual/autoconf.html#Quadrigraphs -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Vi

Re: Why my AT_CHECK() can't work?

2017-08-09 Thread Eric Blake
ON SYNC COLLECTING DISTRIBUTING >> + partner_state ACTIVE AGGREGATION SYNC COLLECTING DISTRIBUTING Could this be a difference in line endings between what your .at file used and what stdout contains (which in turn is what line endings ovs-appctl outputs)? -- Eric Blake, Principal

Re: Why my AT_CHECK() can't work?

2017-08-09 Thread Eric Blake
pctl dpdk/bond-show dpdkb2 | sed -n '/ACTIVE/p' | head -4`, > result is: Notice that what you ran by hand limited the sed output to just the interesting lines, rather than the first four lines where lines containing ACTIVE were doubled. > That's exactly what I matched in AT_CHECK, why it fails?

Re: Determination of default configuration values for build projects and checking the settings

2017-07-11 Thread Eric Blake
to avoid repetitive testing; but if you don't trust the installed site-wide defaults that you get when you avoid the testing, then what DO you trust? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org s

Re: [GNU Autoconf 2.69] testsuite: 258 285 286 309 310 failed

2017-04-12 Thread Eric Blake
utomake > doesn’t recognized autoconf (I am on Mac and I install all the GNU tools in a > custom folder) Posting the testsuite.log (perhaps compressed) might let others read and offer insight into the failure messages you are seeing. But without that additional information, there is not enough fo

Re: Variable expansin in AC_PREFIX_DEFAULT

2017-03-22 Thread Eric Blake
nds to code that runs at the place where the macro was used. > > Is it not possible to set the default prefix in this way? What other > good ways are there to set the default prefix to something discovered at > configure time? Is AC_PREFIX_PROGRAM any better for your use case? >

Re: bug#25740: [PATCH] Swallow m4traces that have no file/line number

2017-03-07 Thread Eric Blake
XFile ($tcache . $req->id, "<"); >while ($_ = $traces->getline) > { > + # Traces without file/line > + next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$}); Would it be better to keep the error message, but set the file and line to placeholders, instead of comp

Re: #ifndef BIGENDIAN #undef BIGENDIAN ?

2017-02-27 Thread Eric Blake
ut autoconf doing this. It's documented here: https://www.gnu.org/software/autoconf/manual/autoconf.html#Header-Templates > I just tried to use AC_C_BIGENDIAN for my project and was startled to > see its output. The output is correct. Remember that config.h.in files have a slightly different

Re: Autoconf should fail if there are macros with invalid names

2017-02-21 Thread Eric Blake
portion of their macro names; for example, gnulib has [gl_INIT]. So requiring all uppercase is a bit too strict; but requiring an underscore (so that there is a separation of namespace and rest of the name) may make sense. Likewise, requiring no digits is too harsh; for example, gnulib has [gl_FUNC_A

Re: Configure breaks by build

2017-02-20 Thread Eric Blake
opment list. However, it appears to me that you are getting an error because your usage of the macro is incorrect. Here's an example I picked up from a package that uses the macro correctly: PKG_CHECK_MODULES([LIBNL_ROUTE3], [libnl-route-3.0]) which makes it look like you forgot a first argumen

Re: Couldn't locate INSTALL file

2017-02-07 Thread Eric Blake
onf from a tarball (or distribution) - so you're right back to needing that tarball. And if you are not planning on developing autoconf itself, then why bother with bootstrapping git? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signatu

Re: config.status and /bin/sh on Solaris

2017-01-27 Thread Eric Blake
nually running '/path/to/shell -x ./configure' may help see what was probed (warning, the trace may be huge, so don't go blindly posting megabytes of stuff to this list). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Descr

Re: complex configure tests involving multiple files and possibly libtool/automake

2017-01-26 Thread Eric Blake
On 01/26/2017 03:42 PM, Eric Blake wrote: > > I'm not directly aware of a way to do it, but you CAN use AC_TRY_COMPILE > and then in the 'action-if-true' branch you can copy conftest.o to a > safe location, then try and figure out how to make the subsequent > AC_TRY_LINK refer back

Re: complex configure tests involving multiple files and possibly libtool/automake

2017-01-26 Thread Eric Blake
ingle file compile and link will not > do. This is in attempt to detect issue on Cygwin with C++11 > `thread_local`. See > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697#. > -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org sig

Re: Defining data files to install

2017-01-26 Thread Eric Blake
make/manual/automake.html#Alternative But I'm not as good at automake as I am at autoconf, so I'm cc'ing that list in, in case someone else has more ideas. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

[PATCH] doc: emphasize that config.h must be first

2017-01-25 Thread Eric Blake
* doc/autoconf.texi (C and Posix Variants, System Services): Remind user to include config.h first. (Configuration Headers): Give another reason why config.h must be first, and mention that only .c files need it. Based on discussion on bugs.debian.org/158969 Signed-off-by: Eric Blake <

Re: autoconf: AC_SYS_LARGEFILE documentation misleading

2017-01-25 Thread Eric Blake
On 01/25/2017 11:30 AM, Thorsten Glaser wrote: > On Wed, 25 Jan 2017, Eric Blake wrote: > >> Please propose a patch to the documentation, rather than just telling me >> that it is wrong, so that we have a concrete proposal for a wording >> improvement that we can discus

  1   2   3   4   5   6   7   8   9   10   >