mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Add config.h as needed.
This commit is contained in:
parent
d9901793f7
commit
fbe4ad2154
@ -8,13 +8,11 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.14 1999/07/15 15:19:32 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/scansup.c,v 1.15 1999/07/17 04:00:28 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
/* $Id: isinf.c,v 1.8 1999/07/16 04:59:35 momjian Exp $ */
|
/* $Id: isinf.c,v 1.9 1999/07/17 04:00:29 momjian Exp $ */
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#if HAVE_FPCLASS
|
#if HAVE_FPCLASS
|
||||||
#if HAVE_IEEEFP_H
|
#if HAVE_IEEEFP_H
|
||||||
#include <ieeefp.h>
|
#include <ieeefp.h>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.27 1999/07/16 04:59:41 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.28 1999/07/17 04:00:30 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
|
|
||||||
#include "catalog/catalog.h"
|
#include "catalog/catalog.h"
|
||||||
#include "executor/execdebug.h"
|
#include "executor/execdebug.h"
|
||||||
#include "miscadmin.h"
|
#include "miscadmin.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
:
|
:
|
||||||
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
|
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
|
||||||
find . \( -name CVS -a -prune \) -o -type f -print | grep -v '\./postgres.h' |
|
find . \( -name CVS -a -prune \) -o -type f -print |
|
||||||
|
grep -v '\./postgres.h' |
|
||||||
|
grep -v '\./config.h' |
|
||||||
while read FILE
|
while read FILE
|
||||||
do
|
do
|
||||||
if [ "`echo $FILE | sed -n 's/^.*\.\([^\.]*\)$/\1/p'`" = "h" ]
|
if [ "`echo $FILE | sed -n 's/^.*\.\([^\.]*\)$/\1/p'`" = "h" ]
|
||||||
@ -19,6 +21,7 @@ do
|
|||||||
do
|
do
|
||||||
[ -s /usr/include/$INCLUDE ] && continue
|
[ -s /usr/include/$INCLUDE ] && continue
|
||||||
[ "$INCLUDE" = postgres.h ] && continue
|
[ "$INCLUDE" = postgres.h ] && continue
|
||||||
|
[ "$INCLUDE" = config.h ] && continue
|
||||||
# preserve configure-specific includes
|
# preserve configure-specific includes
|
||||||
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
|
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
|
||||||
egrep -q '^#if|^#else' && continue
|
egrep -q '^#if|^#else' && continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user