Last change
on this file since 3907 was
3907,
checked in by Sam Hocevar, 14 years ago
|
Add a test for win32/config.h synchronisation.
|
-
Property svn:executable set to
*
|
File size:
437 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | failure=0 |
---|
4 | |
---|
5 | config_h_in=$(dirname "$0")/../config.h.in |
---|
6 | win32_config_h=$(dirname "$0")/../win32/config.h |
---|
7 | |
---|
8 | for key in $(sed -ne 's/.*#undef *\([A-Za-z0-9_]*\).*/\1/p' "$config_h_in"); |
---|
9 | do |
---|
10 | if ! grep '[ef] \<'"$key"'\>' "$win32_config_h" >/dev/null 2>&1; then |
---|
11 | echo "error: $key missing from win32/config.h" |
---|
12 | failure=1 |
---|
13 | fi |
---|
14 | done |
---|
15 | |
---|
16 | if test "$failure" != "0"; then |
---|
17 | exit 1 |
---|
18 | else |
---|
19 | echo "0 errors in Win32 config.h" |
---|
20 | fi |
---|
21 | |
---|
22 | exit 0 |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.