32a628e57c10cf016f0f1bfd374ce41d90af54bc
[libeap.git] / src / utils / build_config.h
1 /*
2  * wpa_supplicant/hostapd - Build time configuration defines
3  * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  *
14  * This header file can be used to define configuration defines that were
15  * originally defined in Makefile. This is mainly meant for IDE use or for
16  * systems that do not have suitable 'make' tool. In these cases, it may be
17  * easier to have a single place for defining all the needed C pre-processor
18  * defines.
19  */
20
21 #ifndef BUILD_CONFIG_H
22 #define BUILD_CONFIG_H
23
24 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
25
26 #ifdef CONFIG_WIN32_DEFAULTS
27 #define CONFIG_NATIVE_WINDOWS
28 #define CONFIG_ANSI_C_EXTRA
29 #define CONFIG_WINPCAP
30 #define IEEE8021X_EAPOL
31 #define EAP_TLS_FUNCS
32 #define PKCS12_FUNCS
33 #define PCSC_FUNCS
34 #define CONFIG_CTRL_IFACE
35 #define CONFIG_CTRL_IFACE_NAMED_PIPE
36 #define CONFIG_DRIVER_NDIS
37 #define CONFIG_NDIS_EVENTS_INTEGRATED
38 #define CONFIG_DEBUG_FILE
39 #define EAP_MD5
40 #define EAP_TLS
41 #define EAP_MSCHAPv2
42 #define EAP_PEAP
43 #define EAP_TTLS
44 #define EAP_GTC
45 #define EAP_OTP
46 #define EAP_LEAP
47 #define EAP_TNC
48 #define _CRT_SECURE_NO_DEPRECATE
49
50 #ifdef USE_INTERNAL_CRYPTO
51 #define CONFIG_TLS_INTERNAL
52 #define CONFIG_TLS_INTERNAL_CLIENT
53 #define CONFIG_INTERNAL_LIBTOMMATH
54 #define INTERNAL_SHA256
55 #define INTERNAL_MD5
56 #define INTERNAL_MD4
57 #define CONFIG_INTERNAL_X509
58 #define CONFIG_CRYPTO_INTERNAL
59 #endif /* USE_INTERNAL_CRYPTO */
60 #endif /* CONFIG_WIN32_DEFAULTS */
61
62 #ifdef __SYMBIAN32__
63 #define OS_NO_C_LIB_DEFINES
64 #define CONFIG_ANSI_C_EXTRA
65 #define CONFIG_NO_WPA_MSG
66 #define CONFIG_NO_HOSTAPD_LOGGER
67 #define CONFIG_NO_STDOUT_DEBUG
68 #define CONFIG_BACKEND_FILE
69 #define INTERNAL_MD5
70 #define INTERNAL_MD4
71 #define CONFIG_INTERNAL_LIBTOMMATH
72 #define CONFIG_INTERNAL_X509
73 #define EAP_TLS_FUNCS
74 #define CONFIG_TLS_INTERNAL
75 #define CONFIG_CRYPTO_INTERNAL
76 #define IEEE8021X_EAPOL
77 #define PKCS12_FUNCS
78 #define EAP_MD5
79 #define EAP_TLS
80 #define EAP_MSCHAPv2
81 #define EAP_PEAP
82 #define EAP_TTLS
83 #define EAP_GTC
84 #define EAP_OTP
85 #define EAP_LEAP
86 #define EAP_FAST
87 #endif /* __SYMBIAN32__ */
88
89 #endif /* BUILD_CONFIG_H */