1 /*****************************************************************************
3 * File: config.h (Hard-coded for Android development environment)
5 * Author: Max Kastanas <max2idea@users.sourceforge.net>
7 * Purpose: General config.h modified for Android env
9 * License (GNU Public License):
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 *****************************************************************************
24 #ifndef FWKNOP_CONFIG_H
25 #define FWKNOP_CONFIG_H
27 /* Define if building universal (internal helper macro) */
28 /* #undef AC_APPLE_UNIVERSAL_BUILD */
30 /* Path to firewall command executable (it should match the firewall type). */
31 #define FIREWALL_EXE "/sbin/iptables"
33 /* The firewall type: ipf. */
34 /* #undef FIREWALL_IPF */
36 /* The firewall type: ipfw. */
37 /* #undef FIREWALL_IPFW */
39 /* The firewall type: iptables. */
40 #define FIREWALL_IPTABLES 1
42 /* Path to gpg executable */
43 #define GPG_EXE "/usr/bin/gpg"
45 /* Define to 1 if you have the <arpa/inet.h> header file. */
46 #define HAVE_ARPA_INET_H 1
48 /* Define to 1 if you have the <arpa/nameser.h> header file. */
49 #define HAVE_ARPA_NAMESER_H 1
51 /* Define to 1 if you have the `bzero' function. */
54 /* Define to 1 if you have the <ctype.h> header file. */
55 #define HAVE_CTYPE_H 1
57 /* Define to 1 if you have the <dlfcn.h> header file. */
58 #define HAVE_DLFCN_H 1
60 /* Define to 1 if you have the <endian.h> header file. */
61 #define HAVE_ENDIAN_H 1
63 /* Define to 1 if you have the <errno.h> header file. */
64 #define HAVE_ERRNO_H 1
66 /* Define to 1 if you have the `gettimeofday' function. */
67 #define HAVE_GETTIMEOFDAY 1
69 /* Define to 1 if you have the <inttypes.h> header file. */
70 #define HAVE_INTTYPES_H 1
72 /* Define if you have libgdbm */
73 #define HAVE_LIBGDBM 1
75 /* Define if you have libgpgme */
76 /* #undef HAVE_LIBGPGME */
78 /* Define if you have libndbm */
79 /* #undef HAVE_LIBNDBM */
81 /* Define if you have libpcap */
82 #define HAVE_LIBPCAP 1
84 /* Define to 1 if you have the <locale.h> header file. */
85 #define HAVE_LOCALE_H 1
87 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
91 /* Define to 1 if you have the `memmove' function. */
92 #define HAVE_MEMMOVE 1
94 /* Define to 1 if you have the <memory.h> header file. */
95 #define HAVE_MEMORY_H 1
97 /* Define to 1 if you have the `memset' function. */
100 /* Define to 1 if you have the <netdb.h> header file. */
101 #define HAVE_NETDB_H 1
103 /* Define to 1 if you have the <netinet/in.h> header file. */
104 #define HAVE_NETINET_IN_H 1
106 /* Define to 1 if you have the <net/ethernet.h> header file. */
107 /* #undef HAVE_NET_ETHERNET_H */
109 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
110 and to 0 otherwise. */
111 #define HAVE_REALLOC 1
113 /* Define to 1 if you have the <resolv.h> header file. */
114 #define HAVE_RESOLV_H 1
116 /* Define to 1 if you have the `socket' function. */
117 #define HAVE_SOCKET 1
119 /* Define to 1 if `stat' has the bug that it succeeds when given the
120 zero-length file name argument. */
121 /* #undef HAVE_STAT_EMPTY_STRING_BUG */
123 /* Define to 1 if you have the <stdint.h> header file. */
124 #define HAVE_STDINT_H 1
126 /* Define to 1 if you have the <stdlib.h> header file. */
127 #define HAVE_STDLIB_H 1
129 /* Define to 1 if you have the `strchr' function. */
130 #define HAVE_STRCHR 1
132 /* Define to 1 if you have the `strcspn' function. */
133 #define HAVE_STRCSPN 1
135 /* Define to 1 if you have the `strdup' function. */
136 #define HAVE_STRDUP 1
138 /* Define to 1 if you have the <strings.h> header file. */
139 #define HAVE_STRINGS_H 1
141 /* Define to 1 if you have the <string.h> header file. */
142 #define HAVE_STRING_H 1
144 /* Define to 1 if you have the `strncasecmp' function. */
145 #define HAVE_STRNCASECMP 1
147 /* Define to 1 if you have the `strndup' function. */
148 #define HAVE_STRNDUP 1
150 /* Define to 1 if you have the `strrchr' function. */
151 #define HAVE_STRRCHR 1
153 /* Define to 1 if you have the `strspn' function. */
154 #define HAVE_STRSPN 1
156 /* Define to 1 if you have the <sys/byteorder.h> header file. */
157 /* #undef HAVE_SYS_BYTEORDER_H */
159 /* Define to 1 if you have the <sys/endian.h> header file. */
160 /* #undef HAVE_SYS_ENDIAN_H */
162 /* Define to 1 if you have the <sys/ethernet.h> header file. */
163 /* #undef HAVE_SYS_ETHERNET_H */
165 /* Define to 1 if you have the <sys/socket.h> header file. */
166 #define HAVE_SYS_SOCKET_H 1
168 /* Define to 1 if you have the <sys/stat.h> header file. */
169 #define HAVE_SYS_STAT_H 1
171 /* Define to 1 if you have the <sys/time.h> header file. */
172 #define HAVE_SYS_TIME_H 1
174 /* Define to 1 if you have the <sys/types.h> header file. */
175 #define HAVE_SYS_TYPES_H 1
177 /* Define to 1 if you have the <sys/wait.h> header file. */
178 #define HAVE_SYS_WAIT_H 1
180 /* Define to 1 if you have the <termios.h> header file. */
181 #define HAVE_TERMIOS_H 1
183 /* Define to 1 if you have the <time.h> header file. */
184 #define HAVE_TIME_H 1
186 /* Define to 1 if you have the <unistd.h> header file. */
187 #define HAVE_UNISTD_H 1
189 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
191 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
193 /* Define to the sub-directory in which libtool stores uninstalled libraries.
195 #define LT_OBJDIR ".libs/"
197 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
198 /* #undef NO_MINUS_C_MINUS_O */
200 /* Name of package */
201 #define PACKAGE "fwknop"
203 /* Define to the address where bug reports for this package should be sent. */
204 #define PACKAGE_BUGREPORT "dstuart@dstuart.org"
206 /* Define to the full name of this package. */
207 #define PACKAGE_NAME "fwknop"
209 /* Define to the full name and version of this package. */
210 #define PACKAGE_STRING "fwknop 2.0"
212 /* Define to the one symbol short name of this package. */
213 #define PACKAGE_TARNAME "fwknop"
215 /* Define to the version of this package. */
216 #define PACKAGE_VERSION "2.0"
218 /* The size of `unsigned int', as computed by sizeof. */
219 #define SIZEOF_UNSIGNED_INT 4
221 /* Define to 1 if you have the ANSI C header files. */
222 #define STDC_HEADERS 1
224 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
225 #define TIME_WITH_SYS_TIME 1
227 /* Enable extensions on AIX 3, Interix. */
229 # define _ALL_SOURCE 1
231 /* Enable GNU extensions on systems that have them. */
233 # define _GNU_SOURCE 1
235 /* Enable threading extensions on Solaris. */
236 #ifndef _POSIX_PTHREAD_SEMANTICS
237 # define _POSIX_PTHREAD_SEMANTICS 1
239 /* Enable extensions on HP NonStop. */
240 #ifndef _TANDEM_SOURCE
241 # define _TANDEM_SOURCE 1
243 /* Enable general extensions on Solaris. */
244 #ifndef __EXTENSIONS__
245 # define __EXTENSIONS__ 1
249 /* Version number of package */
250 #define VERSION "2.0"
252 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
253 significant byte first (like Motorola and SPARC, unlike Intel). */
254 #if defined AC_APPLE_UNIVERSAL_BUILD
255 # if defined __BIG_ENDIAN__
256 # define WORDS_BIGENDIAN 1
259 # ifndef WORDS_BIGENDIAN
260 /* # undef WORDS_BIGENDIAN */
264 /* Number of bits in a file offset, on hosts where this is settable. */
265 #define _FILE_OFFSET_BITS 64
267 /* Define for large files, on AIX-style hosts. */
268 /* #undef _LARGE_FILES */
270 /* Define to 1 if on MINIX. */
273 /* Define to 2 if the system does not provide POSIX.1 features except with
275 /* #undef _POSIX_1_SOURCE */
277 /* Define to 1 if you need to in order for `stat' and other things to work. */
278 /* #undef _POSIX_SOURCE */
280 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
281 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
282 #define below would cause a syntax error. */
283 /* #undef _UINT32_T */
285 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
286 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
287 #define below would cause a syntax error. */
288 /* #undef _UINT64_T */
290 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
291 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
292 #define below would cause a syntax error. */
293 /* #undef _UINT8_T */
295 /* Define to empty if `const' does not conform to ANSI C. */
298 /* Define to the type of a signed integer type of width exactly 16 bits if
299 such a type exists and the standard includes do not define it. */
302 /* Define to the type of a signed integer type of width exactly 32 bits if
303 such a type exists and the standard includes do not define it. */
306 /* Define to the type of a signed integer type of width exactly 64 bits if
307 such a type exists and the standard includes do not define it. */
310 /* Define to the type of a signed integer type of width exactly 8 bits if such
311 a type exists and the standard includes do not define it. */
314 /* Define to rpl_malloc if the replacement function should be used. */
317 /* Define to `long int' if <sys/types.h> does not define. */
320 /* Define to `int' if <sys/types.h> does not define. */
323 /* Define to rpl_realloc if the replacement function should be used. */
326 /* Define to `unsigned int' if <sys/types.h> does not define. */
329 /* Define to `int' if <sys/types.h> does not define. */
332 /* Define to the type of an unsigned integer type of width exactly 16 bits if
333 such a type exists and the standard includes do not define it. */
334 /* #undef uint16_t */
336 /* Define to the type of an unsigned integer type of width exactly 32 bits if
337 such a type exists and the standard includes do not define it. */
338 /* #undef uint32_t */
340 /* Define to the type of an unsigned integer type of width exactly 64 bits if
341 such a type exists and the standard includes do not define it. */
342 /* #undef uint64_t */
344 /* Define to the type of an unsigned integer type of width exactly 8 bits if
345 such a type exists and the standard includes do not define it. */
349 #endif /* FWKNOP_CONFIG_H */