bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110395] Makefile generated from Makefile.in unqoute *FLAGS variable


From: anonymous
Subject: [sr #110395] Makefile generated from Makefile.in unqoute *FLAGS variable twice while ./configure script only once
Date: Mon, 7 Dec 2020 13:30:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

URL:
  <https://savannah.gnu.org/support/?110395>

                 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.merinov@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

<http://savannah.gnu.org/support/download.php?file_id=50418>
-------------------------------------------------------
Date: Mon 07 Dec 2020 06:30:09 PM UTC  Name: Makefile.am  Size: 44B   By: None

<http://savannah.gnu.org/support/download.php?file_id=50419>
-------------------------------------------------------
Date: Mon 07 Dec 2020 06:30:09 PM UTC  Name: main.c  Size: 56B   By: None

<http://savannah.gnu.org/support/download.php?file_id=50420>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110395>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]