2015-06-06 05:12:40 -04:00
|
|
|
@echo off
|
2015-07-25 15:10:02 -04:00
|
|
|
rem %1 = directory holding config data (in cdata)
|
|
|
|
|
2015-06-06 05:12:40 -04:00
|
|
|
echo /* generated by gen_config_h.bat */ >tmp.h
|
|
|
|
for /f %%a in (%1cfg.h) do (if "%%a" NEQ "" (echo #define HAVE_NATIVE_%%a 1 >>tmp.h))
|
|
|
|
|
|
|
|
type cfg.h >>tmp.h
|
|
|
|
call out_copy_rename tmp.h ..\ config.h
|
|
|
|
del tmp.h
|