You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 rivejä
437 B

  1. #!/bin/sh
  2. failure=0
  3. config_h_in=$(dirname "$0")/../config.h.in
  4. win32_config_h=$(dirname "$0")/../win32/config.h
  5. for key in $(sed -ne 's/.*#undef *\([A-Za-z0-9_]*\).*/\1/p' "$config_h_in");
  6. do
  7. if ! grep '[ef] \<'"$key"'\>' "$win32_config_h" >/dev/null 2>&1; then
  8. echo "error: $key missing from win32/config.h"
  9. failure=1
  10. fi
  11. done
  12. if test "$failure" != "0"; then
  13. exit 1
  14. else
  15. echo "0 errors in Win32 config.h"
  16. fi
  17. exit 0