1 /* @configure_input@ */
2 /*****************************************************************
3 * HMMER - Biological sequence analysis with profile HMMs
4 * Copyright (C) 1992-1999 Washington University School of Medicine
7 * This source code is distributed under the terms of the
8 * GNU General Public License. See the files COPYING and LICENSE
10 *****************************************************************/
12 #ifndef SQUIDCONFH_INCLUDED
13 #define SQUIDCONFH_INCLUDED
16 * Captures #define's generated by the ./configure script;
17 * this configuration information is #included at the start of
21 /*****************************************************************
22 * Sizes of integer types.
23 * various things are set by ./configure; the code
24 * uses WORDS_BIGENDIAN and USE_HOST_BYTESWAP_FUNCTIONS.
25 *****************************************************************/
26 #undef WORDS_BIGENDIAN
27 #define SIZEOF_UNSIGNED_SHORT 0
28 #define SIZEOF_UNSIGNED_INT 0
29 #define SIZEOF_UNSIGNED_LONG 0
30 #define SIZEOF_UNSIGNED_LONG_LONG 0
31 #undef HAVE_NTOHS /* if defined, system provides ntohs() */
32 #undef HAVE_NTOHL /* if defined, system provides ntohl() */
33 #undef HAVE_HTONS /* if defined, system provides htons() */
34 #undef HAVE_HTONL /* if defined, system provides htonl() */
35 #if defined HAVE_NTOHL && defined HAVE_NTOHS && defined HAVE_HTONS && defined HAVE_HTONL
36 #define USE_HOST_BYTESWAP_FUNCTIONS 1
39 /*****************************************************************
40 * Can we support arithmetic 64-bit file offsets?
41 * four possible models checked for:
42 * 1. ftello(), fseeko() with 64-bit off_t
43 * 2. ftello64(), fseeko64() with 64-bit off64_t
44 * 3. ftell64(), fseek64() with 64-bit integer
45 * 4. fgetpos(), fsetpos() with an fpos_t that happens to be a
46 * 64-bit integer, even though ANSI says we're not supposed to know
47 * anything about fpos_t's internals.
48 * Based on what ./configure tells us about these, we set
49 * HAS_64BIT_FILE_OFFSETS or not.
50 *****************************************************************/
57 #undef ARITHMETIC_FPOS_T
59 #define SIZEOF_FPOS_T -1
60 #define SIZEOF_OFF_T -1
61 #define SIZEOF_OFF64_T -1
63 #if defined HAVE_FTELLO && defined HAVE_FSEEKO && SIZEOF_OFF_T == 8
64 #define HAS_64BIT_FILE_OFFSETS 1
65 #elif defined HAVE_FTELLO64 && defined HAVE_FSEEKO64 && SIZEOF_OFF64_T == 8
66 #define HAS_64BIT_FILE_OFFSETS 1
67 #elif defined HAVE_FTELL64 && defined HAVE_FSEEK64
68 #define HAS_64BIT_FILE_OFFSETS 1
69 #elif defined ARITHMETIC_FPOS_T && SIZEOF_FPOS_T == 8
70 #define HAS_64BIT_FILE_OFFSETS 1
72 #undef HAS_64BIT_FILE_OFFSETS
76 #endif /* SQUIDCONFH_INCLUDED */