Hi,
It seems I can not use `--disable-assert` on Debian 11.
```
$ ./configure --disable-assert
...
configure: WARNING: unrecognized options: --disable-assert
```
$ autoconf --version
autoconf (GNU Autoconf) 2.69
$
$ automake --version
automake (GNU automake) 1.16.3
$
On 2023-03-01, Jan Engelhardt wrote:
> You can utilize the same mechanism behind automake's `make V=1`:
>
> NDEBUG = 0
> my_CPPFLAGS_0 =
> my_CPPFLAGS_1 = -NDEBUG
> my_CFLAGS_0 = -O3
> my_CFLAGS_1 =
> AM_CPPFLAGS = ${my_CPPFLAGS_${NDEBUG}}
> AM_CFLAGS = ${my_CFLAGS_${NDEBUG}}
This syntax is not
FAIL: t/remake-aclocal-version-mismatch.sh
Thanks for trying it, Nick.
I'm glad it's not just me.
And I sure wonder wtf is going on :(. -k
Hi ljh,
"ljh" via Discussion list for automake writes:
> 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:
>
>
> ```
> ifdef NDEBUG
On Wednesday 2023-03-01 19:50, ljh via Discussion list for automake wrote:
>```
>$ make # NDEBUG=1
>$ make NDEBUG=1
>```
>
>Can I have automake.am to define and convey something like this to the output
>Makefile:
>```
>ifdef NDEBUG # if vs. ifdef
>CPPFLAGS += -DNDEBUG
>CFLAGS += -O3 #
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:
```
ifdef NDEBUG # if vs. ifdef
CPPFLAGS += -DNDEBUG
CFLAGS += -O3 # .cpp
else
CFLAGS += -g # .cpp
On 2023-03-01, Karl Berry wrote:
> 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 git://git.savannah.gnu.org/automake.git
>
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 git://git.savannah.gnu.org/automake.git
cd automake
./bootstrap
./configure &&