X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/727f18afe9c2eec15ee446cb667d9561644b5bf6..fe58cbc86638e214fa137166a704fbff798c546a:/buildlib/config.h.in diff --git a/buildlib/config.h.in b/buildlib/config.h.in index 9a4816a04..eddb16246 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -2,6 +2,8 @@ byte first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN +/* The following 4 are only used by inttypes.h shim if the system lacks + inttypes.h */ /* The number of bytes in a usigned char. */ #undef SIZEOF_CHAR @@ -14,55 +16,27 @@ /* The number of bytes in a unsigned short. */ #undef SIZEOF_SHORT -/* Define if we have libgpm. */ -#undef HAVE_LIBGPM +/* Define if we have the timegm() function */ +#undef HAVE_TIMEGM -/* Define if we have the SLang library from Davis. */ -#undef HAVE_LIBSLANG +/* These two are used by the statvfs shim for glibc2.0 and bsd */ +/* Define if we have sys/vfs.h */ +#undef HAVE_VFS_H -/* Define if we have the X11 windowing system. */ -#undef HAVE_X11 +/* Define if we have sys/mount.h */ +#undef HAVE_MOUNT_H -/* Define the architecture name string */ -#undef ARCHITECTURE +/* Define if we have enabled pthread support */ +#undef HAVE_PTHREAD + +/* If there is no socklen_t, define this for the netdb shim */ +#undef NEED_SOCKLEN_T_DEFINE + +/* Define the arch name string */ +#undef COMMON_ARCH /* The version number string */ #undef VERSION /* The package name string */ #undef PACKAGE - -/* Generate the fixed bit size types */ -#if SIZEOF_INT == 4 -# define INT32 int -# define UINT32 unsigned int -#else -# if SIZEOF_LONG == 4 -# define INT32 long -# define UINT32 unsigned long -# else -# if SIZEOF_SHORT == 4 -# define INT32 short -# define UINT32 unsigned short -# else -# error Must have a form of 32-bit integer -# endif -# endif -#endif - -#if SIZEOF_INT == 2 -# define INT16 int -# define UINT16 unsigned int -#else -# if SIZEOF_LONG == 2 -# define INT16 long -# define UINT16 unsigned long -# else -# if SIZEOF_SHORT == 2 -# define INT16 short -# define UINT16 short -# else -# error Must have a form of 16-bit integer -# endif -# endif -#endif