mainAutoconf - Support: sr #111314, the ax_lib_postgresql detection...

 
 

sr #111314: the ax_lib_postgresql detection based on pg_config is broken

Submitter:  None
Submitted:  Wed 10 Sep 2025 06:13:54 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 10 Sep 2025 06:39:36 PM UTC, comment #1: 

Hi, this macro is a part of autoconf-archive which is seperate from autoconf. Can you report it there? Here is a link: https://savannah. ... /autoconf-archive

Thanks!

Collin Funk <collinfunk>
Wed 10 Sep 2025 06:13:54 PM UTC, original submission:  

The ax_lib_postgresql can use pg_config for selecting PostgreSQL clients devel files. But there is a problem in using the option `--cflags`. This option is related to build of PostgreSQL server (not client).

In `libpq.pc` is `cflags` `Cflags: -I${includedir}`

but the `cflags` from `pg_config` is:

`-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g  -Wimplicit-function-declaration -Wall -Wmissing-prototypes -Werror=return-type -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2`

It is unrelated to client

Anonymous

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code