Re: if vs. ifdef in Makefile.am

2023-03-03 Thread ljh
Hi, It seems the other project is on the right way. I do not know if Autotools can be used as easily like this? # cmake -S . -B debug_dir -DCMAKE_BUILD_TYPE=Debug # cmake -S . -B release_dir -DCMAKE_BUILD_TYPE= Release It sets -g in Debug, -O3 in Release for build command. It sets -DNDEBUG in

Re: rhel8 test failure confirmation?

2023-03-03 Thread Bogdan
Karl Berry , Wed Mar 01 2023 20:01:26 GMT+0100 (Central European Standard Time) Does anyone have access to an RHEL 8-based machine? Alma Linux, Rocky Linux, original RHEL, or even (sort of) CentOS 8? It would be nice if someone could run a make check there (from automake dev). git clone -q

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread Jan Engelhardt
On Friday 2023-03-03 10:40, ljh wrote: >--disable-assert is 1/3 of the way and cd is the other 2/3.

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread ljh
ifdef is not wrong. In GCC, `-DFOO=1` means `-DFOO` -D name Predefine name as a macro, with definition 1. -D name=definition

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread Jan Engelhardt
On Friday 2023-03-03 09:36, ljh wrote: >Jacob Bachmeyer wrote: >>$ (mkdir test-build; cd ./test-build && ../src/configure --enable-assert ...) >> >>$ (mkdir release-build; cd ./release-build && ../src/configure >>--disable-assert ...)

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread ljh
Hi, --disable-assert is 1/3 of the way

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread Jan Engelhardt
On Friday 2023-03-03 11:13, ljh wrote: >ifdef is not wrong. But ifdef is not portable.

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread ljh
Hi, Thanks for the hint. I did not know this before. Found it here, autoconf manual 16.3: cd to the directory where you want the object files and executables to go and run the configure script. configure automatically checks for the source code in the directory that configure is in and in

Re: if vs. ifdef in Makefile.am

2023-03-03 Thread Jan Engelhardt
On Friday 2023-03-03 13:14, ljh wrote: >Thanks for the hint. I did not know this before. > >Found it here, autoconf manual 16.3: > cd to the directory where you want the object files and executables to > go and run the configure script. configure automatically checks for > the source code in

Re: rhel8 test failure confirmation?

2023-03-03 Thread Bogdan
Bogdan , Fri Mar 03 2023 11:21:25 GMT+0100 (Central European Standard Time) Karl Berry , Wed Mar 01 2023 20:01:26 GMT+0100 (Central European Standard Time) Does anyone have access to an RHEL 8-based machine? Alma Linux, Rocky Linux, original RHEL, or even (sort of) CentOS 8? It would be nice

Re: rhel8 test failure confirmation?

2023-03-03 Thread Karl Berry
Note that 'config.h' is older (4 seconds) than './configure', which shouldn't be the case as it should get updated with new values. Indeed. That is the same sort of thing as I was observing with nodef. But what (at any level) could be causing that to happen? Files just aren't getting

Re: rhel8 test failure confirmation?

2023-03-03 Thread Bogdan
Bogdan , Fri Mar 03 2023 14:56:07 GMT+0100 (Central European Standard Time) Bogdan , Fri Mar 03 2023 11:21:25 GMT+0100 (Central European Standard Time) Karl Berry , Wed Mar 01 2023 20:01:26 GMT+0100 (Central European Standard Time) Does anyone have access to an RHEL 8-based machine? Alma Linux,