Crypto build cleanup: remove INTERNAL_MD4
[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_MD5
55 #define CONFIG_INTERNAL_X509
56 #define CONFIG_CRYPTO_INTERNAL
57 #endif /* USE_INTERNAL_CRYPTO */
58 #endif /* CONFIG_WIN32_DEFAULTS */
59
60 #ifdef __SYMBIAN32__
61 #define OS_NO_C_LIB_DEFINES
62 #define CONFIG_ANSI_C_EXTRA
63 #define CONFIG_NO_WPA_MSG
64 #define CONFIG_NO_HOSTAPD_LOGGER
65 #define CONFIG_NO_STDOUT_DEBUG
66 #define CONFIG_BACKEND_FILE
67 #define INTERNAL_MD5
68 #define CONFIG_INTERNAL_LIBTOMMATH
69 #define CONFIG_INTERNAL_X509
70 #define EAP_TLS_FUNCS
71 #define CONFIG_TLS_INTERNAL
72 #define CONFIG_CRYPTO_INTERNAL
73 #define IEEE8021X_EAPOL
74 #define PKCS12_FUNCS
75 #define EAP_MD5
76 #define EAP_TLS
77 #define EAP_MSCHAPv2
78 #define EAP_PEAP
79 #define EAP_TTLS
80 #define EAP_GTC
81 #define EAP_OTP
82 #define EAP_LEAP
83 #define EAP_FAST
84 #endif /* __SYMBIAN32__ */
85
86 #endif /* BUILD_CONFIG_H */