|
11 | 11 | #
|
12 | 12 | #
|
13 | 13 | # IDENTIFICATION
|
14 |
| -# $PostgreSQL: pgsql/src/backend/catalog/genbki.sh,v 1.41 2007/01/05 22:19:24 momjian Exp $ |
| 14 | +# $PostgreSQL: pgsql/src/backend/catalog/genbki.sh,v 1.42 2007/02/06 09:16:08 petere Exp $ |
15 | 15 | #
|
16 | 16 | # NOTES
|
17 | 17 | # non-essential whitespace is removed from the generated file.
|
|
59 | 59 | echo"$CMDNAME [ -I dir ] --set-version=VERSION -o prefix files..."
|
60 | 60 | echo
|
61 | 61 | echo"Options:"
|
62 |
| -echo" -I path topostgres_ext.h andpg_config_manual.hfiles" |
| 62 | +echo" -I path to pg_config_manual.hfile" |
63 | 63 | echo" -o prefix of output files"
|
64 | 64 | echo" --set-version PostgreSQL version number for initdb cross-check"
|
65 | 65 | echo
|
@@ -106,10 +106,10 @@ TMPFILE="genbkitmp$$.c"
|
106 | 106 | trap"rm -f$TMPFILE${OUTPUT_PREFIX}.bki.$$${OUTPUT_PREFIX}.description.$$${OUTPUT_PREFIX}.shdescription.$$" 0 1 2 3 15
|
107 | 107 |
|
108 | 108 |
|
109 |
| -# Get NAMEDATALEN frompostgres_ext.h |
| 109 | +# Get NAMEDATALEN frompg_config_manual.h |
110 | 110 | fordirin$INCLUDE_DIRS;do
|
111 |
| -if [-f"$dir/postgres_ext.h" ];then |
112 |
| - NAMEDATALEN=`grep'^#define[ ]*NAMEDATALEN'$dir/postgres_ext.h|$AWK'{ print $3 }'` |
| 111 | +if [-f"$dir/pg_config_manual.h" ];then |
| 112 | + NAMEDATALEN=`grep'^#define[ ]*NAMEDATALEN'$dir/pg_config_manual.h|$AWK'{ print $3 }'` |
113 | 113 | break
|
114 | 114 | fi
|
115 | 115 | done
|
|