| OLD | NEW | 
|   1 #!/bin/bash |   1 #!/bin/bash | 
|   2 # |   2 # | 
|   3 # Copyright 2007 Google Inc. All Rights Reserved. |   3 # Copyright 2007 Google Inc. All Rights Reserved. | 
|   4 # Author: shess@google.com (Scott Hess) |   4 # Author: shess@google.com (Scott Hess) | 
|   5  |   5  | 
 |   6 cd src | 
 |   7  | 
|   6 mkdir bld |   8 mkdir bld | 
|   7 cd bld |   9 cd bld | 
|   8 ../configure |  10 ../configure | 
|   9 FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h" |  11 FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h" | 
|  10 OPTS="" |  12 OPTS="" | 
|  11 # These options should match those in ../../tools/config.mk. |  13 # These options should match those in ../../tools/config.mk. | 
|  12 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" |  14 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" | 
|  13 make "OPTS=$OPTS" $FILES |  15 make "OPTS=$OPTS" $FILES | 
|  14 cp -f $FILES ../preprocessed |  16 cp -f $FILES ../preprocessed | 
|  15  |  17  | 
|  16 cd .. |  18 cd .. | 
|  17 rm -rf bld |  19 rm -rf bld | 
|  18  |  20  | 
|  19 # TODO(shess) I can't find config.h, which exists in the original |  21 # TODO(shess) I can't find config.h, which exists in the original | 
|  20 # third_party/sqlite/ directory.  I also haven't found a client of it, |  22 # third_party/sqlite/ directory.  I also haven't found a client of it, | 
|  21 # yet, so maybe it's not a file we need. |  23 # yet, so maybe it's not a file we need. | 
| OLD | NEW |