Sync usage with man page.
[netbsd-mini2440.git] / dist / wpa / src / utils / build_config.h
blob1e147fe369113a3a8999f0416e30b7efba48bf3e
1 /*
2 * wpa_supplicant/hostapd - Build time configuration defines
3 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
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.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
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.
21 #ifndef BUILD_CONFIG_H
22 #define BUILD_CONFIG_H
24 /* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
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
50 #ifdef USE_INTERNAL_CRYPTO
51 #define CONFIG_TLS_INTERNAL
52 #define CONFIG_TLS_INTERNAL_CLIENT
53 #define CONFIG_INTERNAL_LIBTOMMATH
54 #define INTERNAL_AES
55 #define INTERNAL_SHA1
56 #define INTERNAL_SHA256
57 #define INTERNAL_MD5
58 #define INTERNAL_MD4
59 #define INTERNAL_DES
60 #define CONFIG_INTERNAL_X509
61 #define CONFIG_CRYPTO_INTERNAL
62 #endif /* USE_INTERNAL_CRYPTO */
63 #endif /* CONFIG_WIN32_DEFAULTS */
65 #ifdef __SYMBIAN32__
66 #define OS_NO_C_LIB_DEFINES
67 #define CONFIG_ANSI_C_EXTRA
68 #define CONFIG_NO_WPA_MSG
69 #define CONFIG_NO_HOSTAPD_LOGGER
70 #define CONFIG_NO_STDOUT_DEBUG
71 #define CONFIG_BACKEND_FILE
72 #define INTERNAL_AES
73 #define INTERNAL_SHA1
74 #define INTERNAL_MD5
75 #define INTERNAL_MD4
76 #define INTERNAL_DES
77 #define CONFIG_INTERNAL_LIBTOMMATH
78 #define CONFIG_INTERNAL_X509
79 #define EAP_TLS_FUNCS
80 #define CONFIG_TLS_INTERNAL
81 #define CONFIG_CRYPTO_INTERNAL
82 #define IEEE8021X_EAPOL
83 #define PKCS12_FUNCS
84 #define EAP_MD5
85 #define EAP_TLS
86 #define EAP_MSCHAPv2
87 #define EAP_PEAP
88 #define EAP_TTLS
89 #define EAP_GTC
90 #define EAP_OTP
91 #define EAP_LEAP
92 #define EAP_FAST
93 #endif /* __SYMBIAN32__ */
95 #endif /* BUILD_CONFIG_H */