Re: if vs. ifdef in Makefile.am

2023-03-02 Thread Jacob Bachmeyer
Bogdan wrote: [...] Probably Nick's suggestion (a new option to ./configure or the AC_HEADER_ASSERT macro) would be the most future-proof, but it requires running ./configure each time you wish to change the build type (which maybe is not a bad idea, it depends). That would probably be a

Re: rhel8 test failure confirmation?

2023-03-02 Thread Karl Berry
Hi Frédéric, While building the trunk directly led to check failures, Confirmation is good. rebuilding the RPM in a mock environment didn't. Puzzling. I'll likely spend more time next week to perform more testing. It may simply be an environment problem: I guess it's

bug#59288: close 59288

2023-03-02 Thread Karl Berry
Thanks Ilmari, thanks Jan. Closing.

Re: if vs. ifdef in Makefile.am

2023-03-02 Thread ljh
Hi, Is there a way, in Makefile.am, to check if a variable is empty or defined on command line. # Makefile.am if $(FOOBAR) --- $ make FOOBAR=1 Thanks

Re: if vs. ifdef in Makefile.am

2023-03-02 Thread ljh
Hi, I observed that it adds `NDEBUG` in `config.h`. I will need to include this `config.h`, right? // config.h #define NDEBUG 1 My current solution is like the following. I do not know if it can be simplified. # src/configure.ac AC_ARG_ENABLE( [ndebug],

Re: rhel8 test failure confirmation?

2023-03-02 Thread Frederic Berat
Hello, For the record, I made a first run of testing on a rhel 8 system. While building the trunk directly led to check failures, rebuilding the RPM in a mock environment didn't. I'll likely spend more time next week to perform more testing. It may simply be an environment problem: I noticed the

bug#59288: close 59288

2023-03-02 Thread Ilmari Lauhakangas
Jan Engelhardt discovered this is not a problem in automake, but in curl: https://lists.gnu.org/archive/html/automake/2023-03/msg00010.html Ilmari

Re: curl's XC_AMEND_DISTCLEAN (Seeking contractor for a regression bug fix)

2023-03-02 Thread Ilmari Lauhakangas
On 2.3.2023 17.12, Jan Engelhardt wrote: On Thursday 2023-03-02 09:56, Ilmari Lauhakangas wrote: last year I reported a regression in automake: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59288 To the best of my knowledge, automake only runs during `autoreconf`, but not during ./configure.

Re: curl's XC_AMEND_DISTCLEAN (Seeking contractor for a regression bug fix)

2023-03-02 Thread Jan Engelhardt
On Thursday 2023-03-02 16:12, Jan Engelhardt wrote: >On Thursday 2023-03-02 09:56, Ilmari Lauhakangas wrote: >> last year I reported a regression in automake: >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59288 > >One will find that there is a file m4/xc-am-iface.m4 and a m4 macro

Re: if vs. ifdef in Makefile.am

2023-03-02 Thread Bogdan
ljh via Discussion list for automake , Wed Mar 01 2023 19:50:56 GMT+0100 (Central European Standard Time) Hi community, I want to build debug or release with ``` $ make # NDEBUG=1 $ make NDEBUG=1 ``` Can I have automake.am to define and convey something like this to the output Makefile:

Re: curl's XC_AMEND_DISTCLEAN (Seeking contractor for a regression bug fix)

2023-03-02 Thread Jan Engelhardt
On Thursday 2023-03-02 09:56, Ilmari Lauhakangas wrote: > last year I reported a regression in automake: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59288 To the best of my knowledge, automake only runs during `autoreconf`, but not during ./configure. So this looks less like an automake

Seeking contractor for a regression bug fix

2023-03-02 Thread Ilmari Lauhakangas
Hello, last year I reported a regression in automake: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59288 It is hitting some of our new LibreOffice contributors quite hard. I am working for The Document Foundation as a mentor through my one-man company, so I thought it would make sense for me

Re: if vs. ifdef in Makefile.am

2023-03-02 Thread Peter Johansson
On 2/3/23 16:07, ljh via Discussion list for automake wrote: Hi, It seems I can not use `--disable-assert` on Debian 11. You need to call macro AC_HEADER_ASSERT in your 'configure.ac' https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/autoconf.html#Particular-Headers