[sr #110395] Makefile generated from Makefile.in unqoute *FLAGS variable twice while ./configure script only once

2023-12-08 Thread Zack Weinberg
Update of sr#110395 (group autoconf):

  Status:None => Need Info  


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110395] Makefile generated from Makefile.in unqoute *FLAGS variable twice while ./configure script only once

2023-12-08 Thread Zack Weinberg
Update of sr#110395 (group autoconf):

Priority:   5 - Unprioritized => 2 - Eventually 

___

Follow-up Comment #1:

I am inclined to say that *FLAGS should be unquoted only once. However, it is
not obvious to me whether this means the bug needs to be addressed in
Automake, or whether this means config.status needs to *put back* some quoting
so that Automake's existing code does the right thing.

Postponing until someone has time to have a conversation with the automake
people and decide what is the best approach.


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[sr #110395] Makefile generated from Makefile.in unqoute *FLAGS variable twice while ./configure script only once

2020-12-07 Thread anonymous
URL:
  

 Summary: Makefile generated from Makefile.in unqoute *FLAGS
variable twice while ./configure script only once
 Project: Autoconf
Submitted by: None
Submitted on: Mon 07 Dec 2020 06:30:09 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: nikolai.meri...@member.fsf.org
 Open/Closed: Open
 Discussion Lock: Any
Operating System: None

___

Details:

For the following scenario it's impossible to provide correct CFLAGS with
attached configure.ac, Makefile.am, and main.c files.

You must use +CFLAGS='-DSTRING="string"'+ to pass +AC_COMPILE_IFELSE+ test
from configure.ac, but to provide same macro value to main.c you should use
+CFLAGS='-DSTRING=\"string\"'+.

As result we have the current situation:
> ./configure CFLAGS='-DSTRING="string"' && make # Fails on compilation
> ./configure CFLAGS='-DSTRING=\"string\"' && make # Fails on configuration



___

File Attachments:


---
Date: Mon 07 Dec 2020 06:30:09 PM UTC  Name: configure.ac  Size: 309B   By:
None


---
Date: Mon 07 Dec 2020 06:30:09 PM UTC  Name: Makefile.am  Size: 44B   By: None


---
Date: Mon 07 Dec 2020 06:30:09 PM UTC  Name: main.c  Size: 56B   By: None



___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/