Thread: pgsql-server/ /configure /configure.in ontrib/ ...

pgsql-server/ /configure /configure.in ontrib/ ...

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/08/07 18:11:58

Modified files:
    .              : configure configure.in
    contrib/pg_autovacuum: pg_autovacuum.h
    contrib/pg_dumplo: main.c
    src/bin/pg_dump: pg_dump.c pg_dumpall.c pg_restore.c
    src/bin/psql   : startup.c
    src/bin/scripts: common.h
    src/include    : getopt_long.h pg_config.h.in

Log message:
    Don't assume that struct option is available just because we can find a
    getopt_long().  This is more or less the same problem as we saw earlier
    with getaddrinfo() and struct addrinfo, and for the same reason: random
    user-added libraries might contain the subroutine, but there's no
    guarantee we will find the matching header files.