Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I have committed massive changes for SunOS4 port. Tested on:
> SunOS 4.1.4
> Vine Linux 2.1 (variant of RedHat Linux 6.2J)
> FreeBSD 4.2-RELEASE
> Please let me know if I have broken something.
Everything still builds and passes regression on HPUX, but I concur with
Peter that the HAVE_OPTARG configure stuff must be unnecessary. Please
observe
thatsrc/backend/bootstrap/bootstrap.csrc/backend/postmaster/postmaster.csrc/backend/tcop/postgres.csrc/bin/pg_dump/pg_dump.csrc/bin/psql/startup.csrc/interfaces/ecpg/preproc/ecpg.c
all seem to be getting along fine with no configure test. There are
also a bunch of contrib modules that use optarg, and would also need
to be changed if you want to apply a configure test.
I suggest reverting the configure and config.h changes and instead
making pg_restore and pg_id follow the coding practices used in the
above-mentioned files for optarg.
regards, tom lane