Remove unnecessary defines
[mech_eap.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 PKCS12_FUNCS
32 #define PCSC_FUNCS
33 #define CONFIG_CTRL_IFACE
34 #define CONFIG_CTRL_IFACE_NAMED_PIPE
35 #define CONFIG_DRIVER_NDIS
36 #define CONFIG_NDIS_EVENTS_INTEGRATED
37 #define CONFIG_DEBUG_FILE
38 #define EAP_MD5
39 #define EAP_TLS
40 #define EAP_MSCHAPv2
41 #define EAP_PEAP
42 #define EAP_TTLS
43 #define EAP_GTC
44 #define EAP_OTP
45 #define EAP_LEAP
46 #define EAP_TNC
47 #define _CRT_SECURE_NO_DEPRECATE
48
49 #ifdef USE_INTERNAL_CRYPTO
50 #define CONFIG_TLS_INTERNAL_CLIENT
51 #define CONFIG_INTERNAL_LIBTOMMATH
52 #define CONFIG_INTERNAL_X509
53 #define CONFIG_CRYPTO_INTERNAL
54 #endif /* USE_INTERNAL_CRYPTO */
55 #endif /* CONFIG_WIN32_DEFAULTS */
56
57 #ifdef __SYMBIAN32__
58 #define OS_NO_C_LIB_DEFINES
59 #define CONFIG_ANSI_C_EXTRA
60 #define CONFIG_NO_WPA_MSG
61 #define CONFIG_NO_HOSTAPD_LOGGER
62 #define CONFIG_NO_STDOUT_DEBUG
63 #define CONFIG_BACKEND_FILE
64 #define CONFIG_INTERNAL_LIBTOMMATH
65 #define CONFIG_INTERNAL_X509
66 #define CONFIG_CRYPTO_INTERNAL
67 #define IEEE8021X_EAPOL
68 #define PKCS12_FUNCS
69 #define EAP_MD5
70 #define EAP_TLS
71 #define EAP_MSCHAPv2
72 #define EAP_PEAP
73 #define EAP_TTLS
74 #define EAP_GTC
75 #define EAP_OTP
76 #define EAP_LEAP
77 #define EAP_FAST
78 #endif /* __SYMBIAN32__ */
79
80 #ifdef CONFIG_XCODE_DEFAULTS
81 #define CONFIG_DRIVER_OSX
82 #define CONFIG_BACKEND_FILE
83 #define IEEE8021X_EAPOL
84 #define PKCS12_FUNCS
85 #define CONFIG_CTRL_IFACE
86 #define CONFIG_CTRL_IFACE_UNIX
87 #define CONFIG_DEBUG_FILE
88 #define EAP_MD5
89 #define EAP_TLS
90 #define EAP_MSCHAPv2
91 #define EAP_PEAP
92 #define EAP_TTLS
93 #define EAP_GTC
94 #define EAP_OTP
95 #define EAP_LEAP
96 #define EAP_TNC
97 #define CONFIG_WPS
98 #define EAP_WSC
99
100 #ifdef USE_INTERNAL_CRYPTO
101 #define CONFIG_TLS_INTERNAL_CLIENT
102 #define CONFIG_INTERNAL_LIBTOMMATH
103 #define CONFIG_INTERNAL_X509
104 #define CONFIG_CRYPTO_INTERNAL
105 #endif /* USE_INTERNAL_CRYPTO */
106 #endif /* CONFIG_XCODE_DEFAULTS */
107
108 #endif /* BUILD_CONFIG_H */