#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh,v 1.13 1998/08/25 17:36:18 momjian Exp $
+# $Header: /cvsroot/pgsql/src/backend/catalog/Attic/genbki.sh.in,v 1.1 1998/10/14 16:05:01 thomas Exp $
#
# NOTES
# non-essential whitespace is removed from the generated file.
# make sure it is empty
>/tmp/genbki.tmp
-PATH=$PATH:/lib:/usr/ccs/lib:/usr/ccs/lbin # to find cpp
-cpp /dev/null >/dev/null 2>&1
-if [ "$?" -ne 0 ]
-then echo "Can't find cpp. Exiting." 1>&2
- exit 1
-fi
-
-BKIOPTS=''
if [ $? != 0 ]
then
echo `basename $0`: Bad option
exit 1
fi
+BKIOPTS=''
+
for opt in $*
do
case $opt in
}
}
' | \
-cpp $BKIOPTS | \
+@CPP@ @CPPSTDIN@ $BKIOPTS | \
sed -e '/^[ ]*$/d' \
-e 's/[ ][ ]*/ /g' || exit 1