• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* Debug messages. */
5 /* #undef ENABLE_DEBUG */
6 
7 /* Experimental features. */
8 /* #undef ENABLE_EXPERIMENTAL */
9 
10 /* System logging. */
11 #define ENABLE_LOGGING 1
12 
13 /* Enable openssl for modinfo. */
14 /* #undef ENABLE_OPENSSL */
15 
16 /* Enable Xz for modules. */
17 /* #undef ENABLE_XZ */
18 
19 /* Enable zlib for modules. */
20 /* #undef ENABLE_ZLIB */
21 
22 /* Define to 1 if you have the declaration of `be32toh', and to 0 if you
23    don't. */
24 #define HAVE_DECL_BE32TOH 1
25 
26 /* Define to 1 if you have the declaration of `strndupa', and to 0 if you
27    don't. */
28 /* #define HAVE_DECL_STRNDUPA */
29 
30 /* Define to 1 if you have the <dlfcn.h> header file. */
31 #define HAVE_DLFCN_H 1
32 
33 /* Define to 1 if you have the `finit_module' function. */
34 /* #undef HAVE_FINIT_MODULE */
35 
36 /* Define to 1 if you have the <inttypes.h> header file. */
37 #define HAVE_INTTYPES_H 1
38 
39 /* Define to 1 if you have the <linux/module.h> header file. */
40 /* #undef HAVE_LINUX_MODULE_H */
41 
42 /* Define to 1 if you have the <memory.h> header file. */
43 #define HAVE_MEMORY_H 1
44 
45 /* Define if _Noreturn is available */
46 #define HAVE_NORETURN 1
47 
48 /* Define to 1 if you have the `secure_getenv' function. */
49 #define HAVE_SECURE_GETENV 1
50 
51 /* Define if _Static_assert() is available */
52 #define HAVE_STATIC_ASSERT 1
53 
54 /* Define to 1 if you have the <stdint.h> header file. */
55 #define HAVE_STDINT_H 1
56 
57 /* Define to 1 if you have the <stdlib.h> header file. */
58 #define HAVE_STDLIB_H 1
59 
60 /* Define to 1 if you have the <strings.h> header file. */
61 #define HAVE_STRINGS_H 1
62 
63 /* Define to 1 if you have the <string.h> header file. */
64 #define HAVE_STRING_H 1
65 
66 /* Define to 1 if `st_mtim' is a member of `struct stat'. */
67 /*#define HAVE_STRUCT_STAT_ST_MTIM 1*/
68 
69 /* Define to 1 if you have the <sys/stat.h> header file. */
70 #define HAVE_SYS_STAT_H 1
71 
72 /* Define to 1 if you have the <sys/types.h> header file. */
73 #define HAVE_SYS_TYPES_H 1
74 
75 /* Define to 1 if you have the <unistd.h> header file. */
76 #define HAVE_UNISTD_H 1
77 
78 /* Define to 1 if compiler has __builtin_clz() builtin function */
79 #define HAVE___BUILTIN_CLZ 1
80 
81 /* Define to 1 if compiler has __builtin_types_compatible_p() builtin function
82    */
83 #define HAVE___BUILTIN_TYPES_COMPATIBLE_P 1
84 
85 /* Define to 1 if compiler has __builtin_uaddll_overflow() builtin function */
86 #define HAVE___BUILTIN_UADDLL_OVERFLOW 0
87 
88 /* Define to 1 if compiler has __builtin_uaddl_overflow() builtin function */
89 #define HAVE___BUILTIN_UADDL_OVERFLOW 0
90 
91 /* Define to 1 if you have the `__secure_getenv' function. */
92 /* #undef HAVE___SECURE_GETENV */
93 
94 /* Define to 1 if you have the `__xstat' function. */
95 #define HAVE___XSTAT 1
96 
97 /* Features in this build */
98 #define KMOD_FEATURES "-XZ -ZLIB -OPENSSL -EXPERIMENTAL"
99 
100 /* Define to the sub-directory where libtool stores uninstalled libraries. */
101 #define LT_OBJDIR ".libs/"
102 
103 /* Name of package */
104 #define PACKAGE "kmod"
105 
106 /* Define to the address where bug reports for this package should be sent. */
107 #define PACKAGE_BUGREPORT "linux-modules@vger.kernel.org"
108 
109 /* Define to the full name of this package. */
110 #define PACKAGE_NAME "kmod"
111 
112 /* Define to the full name and version of this package. */
113 #define PACKAGE_STRING "kmod 26"
114 
115 /* Define to the one symbol short name of this package. */
116 #define PACKAGE_TARNAME "kmod"
117 
118 /* Define to the home page for this package. */
119 #define PACKAGE_URL "http://git.kernel.org/?p=utils/kernel/kmod/kmod.git"
120 
121 /* Define to the version of this package. */
122 #define PACKAGE_VERSION "26"
123 
124 /* Define to 1 if you have the ANSI C header files. */
125 #define STDC_HEADERS 1
126 
127 /* Enable extensions on AIX 3, Interix.  */
128 #ifndef _ALL_SOURCE
129 # define _ALL_SOURCE 1
130 #endif
131 /* Enable GNU extensions on systems that have them.  */
132 #ifndef _GNU_SOURCE
133 # define _GNU_SOURCE 1
134 #endif
135 /* Enable threading extensions on Solaris.  */
136 #ifndef _POSIX_PTHREAD_SEMANTICS
137 # define _POSIX_PTHREAD_SEMANTICS 1
138 #endif
139 /* Enable extensions on HP NonStop.  */
140 #ifndef _TANDEM_SOURCE
141 # define _TANDEM_SOURCE 1
142 #endif
143 /* Enable general extensions on Solaris.  */
144 #ifndef __EXTENSIONS__
145 # define __EXTENSIONS__ 1
146 #endif
147 
148 
149 /* Version number of package */
150 #define VERSION "26"
151 
152 /* Enable large inode numbers on Mac OS X 10.5.  */
153 #ifndef _DARWIN_USE_64_BIT_INODE
154 # define _DARWIN_USE_64_BIT_INODE 1
155 #endif
156 
157 /* Number of bits in a file offset, on hosts where this is settable. */
158 /* #undef _FILE_OFFSET_BITS */
159 
160 /* Define for large files, on AIX-style hosts. */
161 /* #undef _LARGE_FILES */
162 
163 /* Define to 1 if on MINIX. */
164 /* #undef _MINIX */
165 
166 /* Define to 2 if the system does not provide POSIX.1 features except with
167    this defined. */
168 /* #undef _POSIX_1_SOURCE */
169 
170 /* Define to 1 if you need to in order for `stat' and other things to work. */
171 /* #undef _POSIX_SOURCE */
172 
173 #if defined(__APPLE__)
174 
175 #define get_current_dir_name()	getwd(malloc(128))
176 #define strndupa(_s,_l)        strdup(_s)
177 char* basename(const char*);
178 #define init_module	darwin_init_module
179 #define delete_module	darwin_delete_module
180 #define program_invocation_short_name "depmod"
181 #include <endian-darwin.h>
182 #else
183 #include <endian.h>
184 
185 #endif
186 
187 #if defined(__ANDROID__)
188 #include <stdlib.h>
189 #include <unistd.h>
get_current_dir_name(void)190 static inline char *get_current_dir_name(void)
191 {
192     return getcwd(malloc(PATH_MAX), PATH_MAX);
193 }
194 #endif
195