URL: <https://savannah.gnu.org/support/?111382>
Summary: AC_PROG_A68 clobbers A68FLAGS
Group: Autoconf
Submitter: thesamesam
Submitted: Wed 04 Feb 2026 10:34:55 PM UTC
Priority: 5 - Unprioritized
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Unlocked
Operating System: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 04 Feb 2026 10:34:55 PM UTC By: Sam James <thesamesam>
AC_PROG_A68 seems to unconditionally clobber A68FLAGS, ignoring any value set
as an environment variable or argument to configure.
configure.ac:
```
AC_INIT([foo],[1.0], [[email protected]], [foo], [])
AC_PROG_A68
AC_OUTPUT
```
```
$ autoreconf # from master autoconf.git at
31eb3a33b09099298940c9cb192dc0790eab113c
$ export A68FLAGS="-ggdb3 -O2"
$ ./configure
$ grep A68FLAGS config.log
ac_cv_env_A68FLAGS_set=set
ac_cv_env_A68FLAGS_value='-ggdb3 -O2'
A68FLAGS='-g -O2'
```
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111382>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
