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

                 Summary: the ax_lib_postgresql detection based on pg_config
is broken
                   Group: Autoconf
               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 protected]
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 10 Sep 2025 06:13:54 PM UTC By: Anonymous
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








    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to