*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.45 1999/07/16 05:23:26 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.46 1999/07/16 17:46:32 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
#include "libpq/libpq.h"
#include "miscadmin.h"
#include "storage/backendid.h"
-#include "storage/bufpage.h"
#include "storage/proc.h"
#include "storage/sinval.h"
#include "storage/smgr.h"
[ -s /usr/include/$INCLUDE ] && continue
[ "$INCLUDE" = postgres.h ] && continue
# preserve configure-specific includes
- grep -B1 -A1 -q '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' |
- egrep -q '^#if|^#else|^#endif' && continue
+ grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
+ egrep -q '^#if|^#else' && continue
+ grep -A1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
+ egrep -q '^#else|^#endif' && continue
cat /tmp/$$a |
grep -v '^#include[ ]*[<"]'"$INCLUDE"'[>"]' >/tmp/$$b
if [ "$IS_INCLUDE" = "Y" ]