File tree 1 file changed +6
-1
lines changed 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6
6
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
7
7
find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print |
8
8
grep -v '\./postgres.h' |
9
+ grep -v '\./postgres_fe.h' |
9
10
grep -v '\./pg_config.h' |
10
11
grep -v '\./c.h' |
11
12
while read FILE
12
13
do
14
+ # Skip files with #if and #ifdef blocks because the blocks
15
+ # might contain code that is not compiled on this platform.
16
+ grep -q '^if' "$FILE" && continue
17
+
13
18
if [ `expr $FILE : '.*\.h$'` -ne 0 ]
14
19
then IS_INCLUDE="Y"
15
20
else IS_INCLUDE="N"
27
32
[ -s /usr/include/$INCLUDE ] && continue
28
33
[ "$INCLUDE" = postgres.h ] && continue
29
34
[ "$INCLUDE" = postgres_fe.h ] && continue
30
- [ "$INCLUDE" = config .h ] && continue
35
+ [ "$INCLUDE" = pg_config .h ] && continue
31
36
[ "$INCLUDE" = c.h ] && continue
32
37
33
38
# preserve configure-specific includes
You can’t perform that action at this time.
0 commit comments