8
8
#
9
9
#
10
10
# IDENTIFICATION
11
- # $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
11
+ # $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
12
12
#
13
13
# NOTES
14
14
# Passes any -D options on to cpp prior to generating the list
15
15
# of internal functions. These come from BKIOPTS.
16
16
#
17
17
# -------------------------------------------------------------------------
18
18
19
- # cpp is usually in one of these places...
20
- PATH=/usr/lib:/lib:/usr/ccs/lib:$PATH
21
-
22
- BKIOPTS=' '
23
19
if [ $? != 0 ]
24
20
then
25
21
echo ` basename $0 ` : Bad option
26
22
exit 1
27
23
fi
28
24
25
+ BKIOPTS=' '
26
+
29
27
#
30
28
# Pass on any -D declarations, throwing away any other command
31
29
# line switches.
@@ -65,7 +63,7 @@ sed -e 's/^.*OID[^=]*=[^0-9]*//' \
65
63
awk '
66
64
/^#/ { print; next; }
67
65
$4 == "11" { print; next; }' | \
68
- cpp $BKIOPTS | \
66
+ @CPP@ @CPPSTDIN@ $BKIOPTS | \
69
67
egrep ' ^[0-9]' | \
70
68
sort -n > $RAWFILE
71
69
@@ -81,7 +79,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
81
79
*
82
80
* Copyright (c) 1994, Regents of the University of California
83
81
*
84
- * $Id : Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
82
+ * $Id : Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
85
83
*
86
84
* NOTES
87
85
* ******************************
@@ -195,7 +193,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
195
193
*
196
194
*
197
195
* IDENTIFICATION
198
- * $Header : /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
196
+ * $Header : /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
199
197
*
200
198
* NOTES
201
199
*
0 commit comments