From 74618e2b82b5158adf42caf64af70cbd7c699c6c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 9 Jul 2000 13:14:19 +0000 Subject: Another round of those unportable config/build changes :-/ * Add option to build with OpenSSL out of the box. Fix thusly exposed bit rot. Although it compiles now, getting this to do something useful is left as an exercise. * Fix Kerberos options to defer checking for required libraries until all the other libraries are checked for. * Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc. * Install work around for Autoconf's install-sh relative path anomaly. Get rid of old INSTL_*_OPTS variables, now that we don't need them anymore. * Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX. * Look for only one of readline.h or readline/readline.h, not both. * Make check for PS_STRINGS cacheable. Don't test for the header files separately. * Disable fcntl(F_SETLK) test on Linux. * Substitute the standard GCC warnings set into CFLAGS in configure, don't add it on in Makefile.global. * Sweep through contrib tree to teach makefiles standard semantics. ... and in completely unrelated news: * Make postmaster.opts arbitrary options-aware. I still think we need to save the environment as well. --- src/backend/utils/misc/ps_status.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/backend/utils/misc/ps_status.c') diff --git a/src/backend/utils/misc/ps_status.c b/src/backend/utils/misc/ps_status.c index edc82f35218..75d9f8802c7 100644 --- a/src/backend/utils/misc/ps_status.c +++ b/src/backend/utils/misc/ps_status.c @@ -5,7 +5,7 @@ * to contain some useful information. Differs wildly across * platforms. * - * $Header: /cvsroot/pgsql/src/backend/utils/misc/ps_status.c,v 1.1 2000/06/04 01:44:34 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/ps_status.c,v 1.2 2000/07/09 13:14:11 petere Exp $ * * Copyright 2000 by PostgreSQL Global Development Group * various details abducted from various places @@ -20,11 +20,9 @@ #ifdef HAVE_SYS_PSTAT_H # include /* for HP-UX */ #endif -#ifdef HAVE_MACHINE_VMPARAM_H +#ifdef HAVE_PS_STRINGS # include /* for old BSD */ -#endif -#ifdef HAVE_SYS_EXEC_H -# include /* for old BSD */ +# include #endif #include "miscadmin.h" -- cgit v1.2.3