summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-10-14 16:06:14 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-10-14 16:06:14 +0000
commit624eb9ee24de58b98c45fc8bdbda3e3a26b38ded (patch)
tree616f8caac948d6053d80ed55fa5a5bad83db338e /src
parentb48edd74d12c7d37514b298806e37a5dc9791f8d (diff)
Allow auto-detection of cpp and required flags.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/Gen_fmgrtab.sh.in14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/backend/utils/Gen_fmgrtab.sh.in b/src/backend/utils/Gen_fmgrtab.sh.in
index 246acdf1790..757f291e664 100644
--- a/src/backend/utils/Gen_fmgrtab.sh.in
+++ b/src/backend/utils/Gen_fmgrtab.sh.in
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
+# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
@@ -16,16 +16,14 @@
#
#-------------------------------------------------------------------------
-# cpp is usually in one of these places...
-PATH=/usr/lib:/lib:/usr/ccs/lib:$PATH
-
-BKIOPTS=''
if [ $? != 0 ]
then
echo `basename $0`: Bad option
exit 1
fi
+BKIOPTS=''
+
#
# Pass on any -D declarations, throwing away any other command
# line switches.
@@ -65,7 +63,7 @@ sed -e 's/^.*OID[^=]*=[^0-9]*//' \
awk '
/^#/ { print; next; }
$4 == "11" { print; next; }' | \
-cpp $BKIOPTS | \
+@CPP@ @CPPSTDIN@ $BKIOPTS | \
egrep '^[0-9]' | \
sort -n > $RAWFILE
@@ -81,7 +79,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
+ * $Id: Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
*
* NOTES
* ******************************
@@ -195,7 +193,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.9 1998/01/31 05:54:57 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.10 1998/10/14 16:06:14 thomas Exp $
*
* NOTES
*