Subversion Repositories Tewi

Rev

Rev 168 | Rev 244 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 168 Rev 240
Line 1... Line 1...
1
/* $Id: option.c 168 2024-09-26 20:24:04Z nishi $ */
1
/* $Id: option.c 240 2024-10-03 05:54:55Z nishi $ */
2
/* This file is not intended to be in the server. */
2
/* This file is not intended to be in the server. */
3
 
3
 
4
#include <stdio.h>
4
#include <stdio.h>
5
#include <string.h>
5
#include <string.h>
6
 
6
 
Line 24... Line 24...
24
#endif
24
#endif
25
	} else if(strcmp(argv[1], "libs") == 0) {
25
	} else if(strcmp(argv[1], "libs") == 0) {
26
#ifndef NO_SSL
26
#ifndef NO_SSL
27
		printf("-lssl -lcrypto");
27
		printf("-lssl -lcrypto");
28
#endif
28
#endif
-
 
29
		if(strcmp(argv[3], "WINDOWS") == 0){
-
 
30
#ifdef USE_WINSOCK1
-
 
31
			printf(" -lwsock32");
-
 
32
#else
-
 
33
			printf(" -lws2_32");
-
 
34
#endif
-
 
35
		}else if(strcmp(argv[3], "WINDOWS_WATCOM") == 0){
-
 
36
#ifdef USE_WINSOCK1
-
 
37
			printf(" wsock32.lib");
-
 
38
#else
-
 
39
			printf(" ws2_32.lib");
-
 
40
#endif
-
 
41
		}
29
	}
42
	}
30
	printf("\n");
43
	printf("\n");
31
	return 0;
44
	return 0;
32
}
45
}