helpAutoconf - Support: sr #110395, Makefile generated from...


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

Submitter:  None
Submitted:  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:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Mon 07 Dec 2020 06:30:09 PM UTC, original submission:  

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

You must use +CFLAGS='-DSTRING="string"'+ to pass +AC_COMPILE_IFELSE+ test from, 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



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #50418: added by None (309B - application/octet-stream)
file #50419: added by None (44B - application/octet-stream)
file #50420:  main.c added by None (56B - text/x-csrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-07 None Attached File- Added, #50418
        Attached File- Added, #50419
        Attached File- Added main.c, #50420

    Back to the top

    Powered by Savane 3.9