1189251Ssam/*
2189251Ssam * wpa_supplicant/hostapd - Build time configuration defines
3189251Ssam * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
4189251Ssam *
5252726Srpaulo * This software may be distributed under the terms of the BSD license.
6252726Srpaulo * See README for more details.
7189251Ssam *
8189251Ssam * This header file can be used to define configuration defines that were
9189251Ssam * originally defined in Makefile. This is mainly meant for IDE use or for
10189251Ssam * systems that do not have suitable 'make' tool. In these cases, it may be
11189251Ssam * easier to have a single place for defining all the needed C pre-processor
12189251Ssam * defines.
13189251Ssam */
14189251Ssam
15189251Ssam#ifndef BUILD_CONFIG_H
16189251Ssam#define BUILD_CONFIG_H
17189251Ssam
18189251Ssam/* Insert configuration defines, e.g., #define EAP_MD5, here, if needed. */
19189251Ssam
20189251Ssam#ifdef CONFIG_WIN32_DEFAULTS
21189251Ssam#define CONFIG_NATIVE_WINDOWS
22189251Ssam#define CONFIG_ANSI_C_EXTRA
23189251Ssam#define CONFIG_WINPCAP
24189251Ssam#define IEEE8021X_EAPOL
25189251Ssam#define PKCS12_FUNCS
26189251Ssam#define PCSC_FUNCS
27189251Ssam#define CONFIG_CTRL_IFACE
28189251Ssam#define CONFIG_CTRL_IFACE_NAMED_PIPE
29189251Ssam#define CONFIG_DRIVER_NDIS
30189251Ssam#define CONFIG_NDIS_EVENTS_INTEGRATED
31189251Ssam#define CONFIG_DEBUG_FILE
32189251Ssam#define EAP_MD5
33189251Ssam#define EAP_TLS
34189251Ssam#define EAP_MSCHAPv2
35189251Ssam#define EAP_PEAP
36189251Ssam#define EAP_TTLS
37189251Ssam#define EAP_GTC
38189251Ssam#define EAP_OTP
39189251Ssam#define EAP_LEAP
40189251Ssam#define EAP_TNC
41189251Ssam#define _CRT_SECURE_NO_DEPRECATE
42189251Ssam
43189251Ssam#ifdef USE_INTERNAL_CRYPTO
44189251Ssam#define CONFIG_TLS_INTERNAL_CLIENT
45189251Ssam#define CONFIG_INTERNAL_LIBTOMMATH
46189251Ssam#define CONFIG_CRYPTO_INTERNAL
47189251Ssam#endif /* USE_INTERNAL_CRYPTO */
48189251Ssam#endif /* CONFIG_WIN32_DEFAULTS */
49189251Ssam
50214734Srpaulo#ifdef CONFIG_XCODE_DEFAULTS
51214734Srpaulo#define CONFIG_DRIVER_OSX
52214734Srpaulo#define CONFIG_BACKEND_FILE
53214734Srpaulo#define IEEE8021X_EAPOL
54214734Srpaulo#define PKCS12_FUNCS
55214734Srpaulo#define CONFIG_CTRL_IFACE
56214734Srpaulo#define CONFIG_CTRL_IFACE_UNIX
57214734Srpaulo#define CONFIG_DEBUG_FILE
58214734Srpaulo#define EAP_MD5
59214734Srpaulo#define EAP_TLS
60214734Srpaulo#define EAP_MSCHAPv2
61214734Srpaulo#define EAP_PEAP
62214734Srpaulo#define EAP_TTLS
63214734Srpaulo#define EAP_GTC
64214734Srpaulo#define EAP_OTP
65214734Srpaulo#define EAP_LEAP
66214734Srpaulo#define EAP_TNC
67214734Srpaulo#define CONFIG_WPS
68214734Srpaulo#define EAP_WSC
69214734Srpaulo
70214734Srpaulo#ifdef USE_INTERNAL_CRYPTO
71214734Srpaulo#define CONFIG_TLS_INTERNAL_CLIENT
72214734Srpaulo#define CONFIG_INTERNAL_LIBTOMMATH
73214734Srpaulo#define CONFIG_CRYPTO_INTERNAL
74214734Srpaulo#endif /* USE_INTERNAL_CRYPTO */
75214734Srpaulo#endif /* CONFIG_XCODE_DEFAULTS */
76214734Srpaulo
77189251Ssam#endif /* BUILD_CONFIG_H */
78