web
Last change
on this file since f6f3e91 was
f6f3e91,
checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago
|
Preserve directory hierarchy (not sure what happened to it)
|
-
Property mode set to
100644
|
File size:
945 bytes
|
Line | |
---|
1 | @ECHO OFF |
---|
2 | IF "x%1x" == "xx" ( |
---|
3 | ECHO Usage: configure "path to MIT Kerberos for Windows SDK" |
---|
4 | EXIT /B 1 |
---|
5 | ) |
---|
6 | SET KRB5SDK=%~f1 |
---|
7 | |
---|
8 | copy /y config.h.w32 config.h > nul |
---|
9 | copy /y Makefile.w32 Makefile > nul |
---|
10 | |
---|
11 | setlocal |
---|
12 | FOR /F "usebackq tokens=2 delims='=" %%i in (`findstr /R "^PACKAGE_VERSION=" configure`) DO SET VERSION=%%i |
---|
13 | FOR /F "usebackq tokens=1 delims=." %%i in ('%VERSION%') DO SET MAJOR=%%i |
---|
14 | FOR /F "usebackq tokens=2 delims=." %%i in ('%VERSION%') DO SET MINOR=%%i |
---|
15 | |
---|
16 | echo #define PACKAGE_BUGREPORT "rra@stanford.edu" >> config.h |
---|
17 | echo #define PACKAGE_NAME "remctl" >> config.h |
---|
18 | echo #define PACKAGE_STRING "remctl %MAJOR%.%MINOR%" >> config.h |
---|
19 | echo #define PACKAGE_TARNAME "remctl" >> config.h |
---|
20 | echo #define PACKAGE_VERSION "%MAJOR%.%MINOR%" >> config.h |
---|
21 | echo #define VERSION_MAJOR %MAJOR% >> config.h |
---|
22 | echo #define VERSION_MAJOR_STR "%MAJOR%" >> config.h |
---|
23 | echo #define VERSION_MINOR %MINOR% >> config.h |
---|
24 | echo #define VERSION_MINOR_STR "%MINOR%" >> config.h |
---|
Note: See
TracBrowser
for help on using the repository browser.