1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

More cleanup

This commit is contained in:
Bruce Momjian
1999-07-16 17:07:40 +00:00
parent 4d5aa343de
commit 773088809d
35 changed files with 84 additions and 80 deletions

View File

@@ -19,6 +19,9 @@ do
do
[ -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
cat /tmp/$$a |
grep -v '^#include[ ]*[<"]'"$INCLUDE"'[>"]' >/tmp/$$b
if [ "$IS_INCLUDE" = "Y" ]