VirtualBox

Ignore:
Timestamp:
Dec 15, 2007 7:18:33 PM (17 years ago)
Author:
vboxsync
Message:

Cooked up a vboxconfig.h to try make the unix boxes go green.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.6.30/include/vboxconfig.h

    r6082 r6089  
    11/* config.h.in.  Generated from configure.in by autoheader.  */
    2 #undef PACKAGE
    3 #undef VERSION
    4 #undef HAVE_LIBZ
    5 #undef HAVE_LIBM
    6 #undef HAVE_ISINF
    7 #undef HAVE_ISNAN
    8 #undef HAVE_LIBHISTORY
    9 #undef HAVE_LIBREADLINE
    10 #undef HAVE_LIBPTHREAD
    11 #undef HAVE_PTHREAD_H
     2#if defined(RT_OS_WINDOWS) || defined(RT_OS_LINUX)
     3# undef HAVE_LIBM
     4#else
     5# define HAVE_LIBM 1
     6#endif
    127
    138/* Define if IPV6 support is there */
     
    1510
    1611/* Define if getaddrinfo is there */
    17 #undef HAVE_GETADDRINFO
     12#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
     13# define HAVE_GETADDRINFO 1
     14#else
     15# undef HAVE_GETADDRINFO
     16#endif
    1817
    1918/* Define to 1 if you have the <ansidecl.h> header file. */
     
    2120
    2221/* Define to 1 if you have the <arpa/inet.h> header file. */
    23 #undef HAVE_ARPA_INET_H
     22#if defined(RT_OS_WINDOWS)
     23# undef HAVE_ARPA_INET_H
     24#else
     25# define HAVE_ARPA_INET_H 1
     26#endif
    2427
    2528/* Define to 1 if you have the <arpa/nameser.h> header file. */
    26 #undef HAVE_ARPA_NAMESER_H
     29#if defined(RT_OS_WINDOWS)
     30# undef HAVE_ARPA_NAMESER_H
     31#else
     32# define HAVE_ARPA_NAMESER_H 1
     33#endif
    2734
    2835/* Whether struct sockaddr::__ss_family exists */
     
    3340
    3441/* Define to 1 if you have the <ctype.h> header file. */
    35 #undef HAVE_CTYPE_H
     42#define HAVE_CTYPE_H 1
    3643
    3744/* Define to 1 if you have the <dirent.h> header file. */
    38 #undef HAVE_DIRENT_H
     45#if defined(RT_OS_WINDOWS)
     46# undef HAVE_DIRENT_H
     47#else
     48# define HAVE_DIRENT_H 1
     49#endif
    3950
    4051/* Define to 1 if you have the <dlfcn.h> header file. */
    41 #undef HAVE_DLFCN_H
     52#if defined(RT_OS_WINDOWS)
     53# undef HAVE_DLFCN_H
     54#else
     55# define HAVE_DLFCN_H 1
     56#endif
    4257
    4358/* Have dlopen based dso */
    44 #undef HAVE_DLOPEN
     59#if defined(RT_OS_WINDOWS)
     60# undef HAVE_DLOPEN
     61#else
     62# define HAVE_DLOPEN 1
     63#endif
    4564
    4665/* Define to 1 if you have the <dl.h> header file. */
     
    4867
    4968/* Define to 1 if you have the <errno.h> header file. */
    50 #undef HAVE_ERRNO_H
     69#define HAVE_ERRNO_H 1
    5170
    5271/* Define to 1 if you have the <fcntl.h> header file. */
    53 #undef HAVE_FCNTL_H
     72#define HAVE_FCNTL_H 1
    5473
    5574/* Define to 1 if you have the `finite' function. */
    56 #undef HAVE_FINITE
     75#if defined(RT_OS_WINDOWS)
     76# undef HAVE_FINITE
     77#else
     78# define HAVE_FINITE 1
     79#endif
    5780
    5881/* Define to 1 if you have the <float.h> header file. */
    59 #undef HAVE_FLOAT_H
     82#if defined(RT_OS_WINDOWS)
     83# undef HAVE_FLOAT_H
     84#else
     85# define HAVE_FLOAT_H 1
     86#endif
    6087
    6188/* Define to 1 if you have the `fpclass' function. */
    62 #undef HAVE_FPCLASS
     89#if 0
     90# define HAVE_FPCLASS 1
     91#else
     92# undef HAVE_FPCLASS
     93#endif
    6394
    6495/* Define to 1 if you have the `fprintf' function. */
    65 #undef HAVE_FPRINTF
     96#define HAVE_FPRINTF 1
    6697
    6798/* Define to 1 if you have the `fp_class' function. */
     
    72103
    73104/* Define to 1 if you have the `ftime' function. */
    74 #undef HAVE_FTIME
    75 
    76 /* Define if getaddrinfo is there */
    77 #undef HAVE_GETADDRINFO
     105#if defined(RT_OS_WINDOWS)
     106# undef HAVE_FTIME
     107#else
     108# define HAVE_FTIME 1
     109#endif
    78110
    79111/* Define to 1 if you have the `gettimeofday' function. */
    80 #undef HAVE_GETTIMEOFDAY
     112#if defined(RT_OS_WINDOWS)
     113# undef HAVE_GETTIMEOFDAY
     114#else
     115# define HAVE_GETTIMEOFDAY 1
     116#endif
    81117
    82118/* Define to 1 if you have the <ieeefp.h> header file. */
     
    84120
    85121/* Define to 1 if you have the <inttypes.h> header file. */
    86 #undef HAVE_INTTYPES_H
     122#if defined(RT_OS_WINDOWS)
     123# undef HAVE_INTTYPES_H
     124#else
     125# define HAVE_INTTYPES_H 1
     126#endif
    87127
    88128/* Define if isinf is there */
    89 #undef HAVE_ISINF
     129#define HAVE_ISINF 1
    90130
    91131/* Define if isnan is there */
    92 #undef HAVE_ISNAN
     132#define HAVE_ISNAN 1
    93133
    94134/* Define to 1 if you have the `isnand' function. */
    95 #undef HAVE_ISNAND
     135#if 0
     136# define HAVE_ISNAND 1
     137#else
     138# undef HAVE_ISNAND
     139#endif
    96140
    97141/* Define if history library is there (-lhistory) */
     
    99143
    100144/* Define if pthread library is there (-lpthread) */
    101 #undef HAVE_LIBPTHREAD
     145#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     146# undef HAVE_LIBPTHREAD
     147#else
     148# define HAVE_LIBPTHREAD 1
     149#endif
    102150
    103151/* Define if readline library is there (-lreadline) */
     
    105153
    106154/* Have compression library */
    107 #undef HAVE_LIBZ
     155#define HAVE_LIBZ 1
    108156
    109157/* Define to 1 if you have the <limits.h> header file. */
    110 #undef HAVE_LIMITS_H
     158#define HAVE_LIMITS_H 1
    111159
    112160/* Define to 1 if you have the `localtime' function. */
    113 #undef HAVE_LOCALTIME
     161#define HAVE_LOCALTIME 1
    114162
    115163/* Define to 1 if you have the <malloc.h> header file. */
    116 #undef HAVE_MALLOC_H
     164#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     165# define HAVE_MALLOC_H 1
     166#else
     167# undef HAVE_MALLOC_H
     168#endif
    117169
    118170/* Define to 1 if you have the <math.h> header file. */
    119 #undef HAVE_MATH_H
     171#define HAVE_MATH_H 1
    120172
    121173/* Define to 1 if you have the <memory.h> header file. */
    122 #undef HAVE_MEMORY_H
     174#define HAVE_MEMORY_H 1
    123175
    124176/* Define to 1 if you have the <nan.h> header file. */
     
    129181
    130182/* Define to 1 if you have the <netdb.h> header file. */
    131 #undef HAVE_NETDB_H
     183#if defined(RT_OS_WINDOWS)
     184# undef HAVE_NETDB_H
     185#else
     186# define HAVE_NETDB_H 1
     187#endif
    132188
    133189/* Define to 1 if you have the <netinet/in.h> header file. */
    134 #undef HAVE_NETINET_IN_H
     190#if defined(RT_OS_WINDOWS)
     191# undef HAVE_NETINET_IN_H
     192#else
     193# define HAVE_NETINET_IN_H 1
     194#endif
    135195
    136196/* Define to 1 if you have the `printf' function. */
    137 #undef HAVE_PRINTF
     197#define HAVE_PRINTF 1
    138198
    139199/* Define if <pthread.h> is there */
    140 #undef HAVE_PTHREAD_H
     200#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     201# undef HAVE_PTHREAD_H
     202#else
     203# define HAVE_PTHREAD_H 1
     204#endif
    141205
    142206/* Define to 1 if you have the <resolv.h> header file. */
    143 #undef HAVE_RESOLV_H
     207#if defined(RT_OS_WINDOWS)
     208# undef HAVE_RESOLV_H
     209#else
     210# define HAVE_RESOLV_H 1
     211#endif
    144212
    145213/* Have shl_load based dso */
     
    147215
    148216/* Define to 1 if you have the `signal' function. */
    149 #undef HAVE_SIGNAL
     217#if defined(RT_OS_WINDOWS)
     218# undef HAVE_SIGNAL
     219#else
     220# define HAVE_SIGNAL 1
     221#endif
    150222
    151223/* Define to 1 if you have the <signal.h> header file. */
    152 #undef HAVE_SIGNAL_H
     224#define HAVE_SIGNAL_H 1
    153225
    154226/* Define to 1 if you have the `snprintf' function. */
    155 #undef HAVE_SNPRINTF
     227#if defined(RT_OS_WINDOWS) /* others? */
     228# undef HAVE_SNPRINTF
     229#else
     230# define HAVE_SNPRINTF 1
     231#endif
     232
    156233
    157234/* Define to 1 if you have the `sprintf' function. */
    158 #undef HAVE_SPRINTF
     235#define HAVE_SPRINTF 1
    159236
    160237/* Define to 1 if you have the `sscanf' function. */
    161 #undef HAVE_SSCANF
     238#define HAVE_SSCANF 1
    162239
    163240/* Define to 1 if you have the `stat' function. */
    164 #undef HAVE_STAT
     241#define HAVE_STAT 1
    165242
    166243/* Define to 1 if you have the <stdarg.h> header file. */
    167 #undef HAVE_STDARG_H
     244#define HAVE_STDARG_H 1
    168245
    169246/* Define to 1 if you have the <stdint.h> header file. */
    170 #undef HAVE_STDINT_H
     247#if defined(RT_OS_WINDOWS)
     248# undef HAVE_STDINT_H
     249#else
     250# define HAVE_STDINT_H 1
     251#endif
    171252
    172253/* Define to 1 if you have the <stdlib.h> header file. */
    173 #undef HAVE_STDLIB_H
     254#define HAVE_STDLIB_H 1
    174255
    175256/* Define to 1 if you have the `strdup' function. */
    176 #undef HAVE_STRDUP
     257#define HAVE_STRDUP 1
    177258
    178259/* Define to 1 if you have the `strerror' function. */
    179 #undef HAVE_STRERROR
     260#define HAVE_STRERROR 1
    180261
    181262/* Define to 1 if you have the `strftime' function. */
    182 #undef HAVE_STRFTIME
     263#define HAVE_STRFTIME 1
    183264
    184265/* Define to 1 if you have the <strings.h> header file. */
    185 #undef HAVE_STRINGS_H
     266#if defined(RT_OS_WINDOWS)
     267# undef HAVE_STRINGS_H
     268#else
     269# define HAVE_STRINGS_H 1
     270#endif
    186271
    187272/* Define to 1 if you have the <string.h> header file. */
    188 #undef HAVE_STRING_H
     273#define HAVE_STRING_H 1
    189274
    190275/* Define to 1 if you have the `strndup' function. */
    191 #undef HAVE_STRNDUP
     276#if defined(RT_OS_LINUX) || defined(RT_OS_OS2) /*??*/
     277# define HAVE_STRNDUP 1
     278#else
     279# undef HAVE_STRNDUP
     280#endif
    192281
    193282/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
    194283   */
    195 #undef HAVE_SYS_DIR_H
     284#if defined(RT_OS_WINDOWS) /* others? */
     285# undef HAVE_SYS_DIR_H
     286#else
     287# define HAVE_SYS_DIR_H 1
     288#endif
    196289
    197290/* Define to 1 if you have the <sys/mman.h> header file. */
    198 #undef HAVE_SYS_MMAN_H
     291#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     292# undef HAVE_SYS_MMAN_H
     293#else
     294# define HAVE_SYS_MMAN_H 1
     295#endif
    199296
    200297/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
     
    203300
    204301/* Define to 1 if you have the <sys/select.h> header file. */
    205 #undef HAVE_SYS_SELECT_H
     302#if defined(RT_OS_WINDOWS)
     303# undef HAVE_SYS_SELECT_H
     304#else
     305# define HAVE_SYS_SELECT_H 1
     306#endif
    206307
    207308/* Define to 1 if you have the <sys/socket.h> header file. */
    208 #undef HAVE_SYS_SOCKET_H
     309#if defined(RT_OS_WINDOWS)
     310# undef HAVE_SYS_SOCKET_H
     311#else
     312# define HAVE_SYS_SOCKET_H 1
     313#endif
    209314
    210315/* Define to 1 if you have the <sys/stat.h> header file. */
    211 #undef HAVE_SYS_STAT_H
     316#define HAVE_SYS_STAT_H 1
    212317
    213318/* Define to 1 if you have the <sys/timeb.h> header file. */
    214 #undef HAVE_SYS_TIMEB_H
     319#define HAVE_SYS_TIMEB_H 1
    215320
    216321/* Define to 1 if you have the <sys/time.h> header file. */
    217 #undef HAVE_SYS_TIME_H
     322#if defined(RT_OS_WINDOWS)
     323# undef HAVE_SYS_TIME_H
     324#else
     325# define HAVE_SYS_TIME_H 1
     326#endif
    218327
    219328/* Define to 1 if you have the <sys/types.h> header file. */
    220 #undef HAVE_SYS_TYPES_H
     329#define HAVE_SYS_TYPES_H 1
    221330
    222331/* Define to 1 if you have the <time.h> header file. */
    223 #undef HAVE_TIME_H
     332#define HAVE_TIME_H 1
    224333
    225334/* Define to 1 if you have the <unistd.h> header file. */
    226 #undef HAVE_UNISTD_H
     335#if defined(RT_OS_WINDOWS)
     336# undef HAVE_UNISTD_H
     337#else
     338# define HAVE_UNISTD_H 1
     339#endif
    227340
    228341/* Whether va_copy() is available */
    229 #undef HAVE_VA_COPY
     342#ifdef RT_ARCH_AMD64
     343# define HAVE_VA_COPY 1
     344#else
     345# undef HAVE_VA_COPY
     346#endif
    230347
    231348/* Define to 1 if you have the `vfprintf' function. */
    232 #undef HAVE_VFPRINTF
     349#define HAVE_VFPRINTF 1
    233350
    234351/* Define to 1 if you have the `vsnprintf' function. */
    235 #undef HAVE_VSNPRINTF
     352#if defined(RT_OS_WINDOWS)
     353# undef HAVE_VSNPRINTF
     354#else
     355# define HAVE_VSNPRINTF 1
     356#endif
    236357
    237358/* Define to 1 if you have the `vsprintf' function. */
    238 #undef HAVE_VSPRINTF
     359#define HAVE_VSPRINTF 1
    239360
    240361/* Define to 1 if you have the <zlib.h> header file. */
    241 #undef HAVE_ZLIB_H
     362#define HAVE_ZLIB_H 1
    242363
    243364/* Define to 1 if you have the `_stat' function. */
    244 #undef HAVE__STAT
     365#if defined(RT_OS_WINDOWS)
     366# define HAVE__STAT 1
     367#else
     368# undef HAVE__STAT
     369#endif
    245370
    246371/* Whether __va_copy() is available */
     
    248373
    249374/* Name of package */
    250 #undef PACKAGE
     375#define PACKAGE "libxml2"
    251376
    252377/* Define to the address where bug reports for this package should be sent. */
    253 #undef PACKAGE_BUGREPORT
     378#define PACKAGE_BUGREPORT ""
    254379
    255380/* Define to the full name of this package. */
    256 #undef PACKAGE_NAME
     381#define PACKAGE_NAME ""
    257382
    258383/* Define to the full name and version of this package. */
    259 #undef PACKAGE_STRING
     384#define PACKAGE_STRING ""
    260385
    261386/* Define to the one symbol short name of this package. */
    262 #undef PACKAGE_TARNAME
     387#define PACKAGE_TARNAME ""
    263388
    264389/* Define to the version of this package. */
    265 #undef PACKAGE_VERSION
     390#define PACKAGE_VERSION "2.6.30"
    266391
    267392/* Define to 1 if the C compiler supports function prototypes. */
    268 #undef PROTOTYPES
     393#define PROTOTYPES 1
    269394
    270395/* Define to 1 if you have the ANSI C header files. */
    271 #undef STDC_HEADERS
     396#define STDC_HEADERS 1
    272397
    273398/* Support for IPv6 */
     
    275400
    276401/* Version number of package */
    277 #undef VERSION
     402#define VERSION "2.6.30"
    278403
    279404/* Determine what socket length (socklen_t) data type is */
    280 #undef XML_SOCKLEN_T
    281 
    282 /* Using the Win32 Socket implementation */
    283 #undef _WINSOCKAPI_
     405#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     406# define XML_SOCKLEN_T int
     407#else
     408# define XML_SOCKLEN_T socklen_t
     409#endif
    284410
    285411/* Define like PROTOTYPES; this can be used by system headers. */
    286 #undef __PROTOTYPES
     412#define __PROTOTYPES 1
    287413
    288414/* Win32 Std C name mangling work-around */
     
    294420/* Win32 Std C name mangling work-around */
    295421#undef vsnprintf
     422
     423/* Using the Win32 Socket implementation */
     424#ifdef RT_OS_WINDOWS
     425# include <io.h>
     426# include <direct.h>
     427# ifdef NEED_SOCKETS
     428#  include <wsockcompat.h>
     429# endif
     430#else  /* !RT_OS_WINDOWS */
     431# undef _WINSOCKAPI_
     432#endif /* !RT_OS_WINDOWS */
     433
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette