*** empty log message ***

This commit is contained in:
hyung-hwan 2005-01-19 11:58:26 +00:00
parent 832d5c4e61
commit 0d3089f9ae
3 changed files with 102 additions and 12 deletions

86
ase/config.h.in Normal file
View File

@ -0,0 +1,86 @@
/* xp/config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET
/* Define to 1 if your system has a GNU libc compatible `realloc' function,
and to 0 otherwise. */
#undef HAVE_REALLOC
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Big Endian */
#undef XP_ENDIAN_BIG
/* Little Endian */
#undef XP_ENDIAN_LITTLE
/* Unknown Endian */
#undef XP_ENDIAN_UNKNOWN
/* fcntl.h */
#undef XP_HAVE_FCNTL_H
/* limits.h */
#undef XP_HAVE_LIMITS_H
/* stdarg.h */
#undef XP_HAVE_STDARG_H
/* stddef.h */
#undef XP_HAVE_STDDEF_H
/* unistd.h */
#undef XP_HAVE_UNISTD_H
/* wchar.h */
#undef XP_HAVE_WCHAR_H
/* _POSIX_SOURCE */
#undef _POSIX_SOURCE
/* Define to rpl_realloc if the replacement function should be used. */
#undef realloc

View File

@ -1,6 +1,7 @@
AC_PREREQ(2.59)
AC_INIT([xpkit], [deb-0.1.0])
AC_REVISION([$Revision: 1.9 $])
AC_REVISION([$Revision: 1.10 $])
AC_CONFIG_HEADER([xp/config.h])
# Checks for programs.
AC_PROG_CXX
@ -11,18 +12,18 @@ AC_PROG_RANLIB
# Checks for header files.
#AC_HEADER_STDC
AC_CHECK_HEADER([unistd.h], [AC_DEFINE(XP_HAVE_UNISTD_H)])
AC_CHECK_HEADER([fcntl.h], [AC_DEFINE(XP_HAVE_FCNTL_H)])
AC_CHECK_HEADER([stdarg.h], [AC_DEFINE(XP_HAVE_STDARG_H)])
AC_CHECK_HEADER([stddef.h], [AC_DEFINE(XP_HAVE_STDDEF_H)])
AC_CHECK_HEADER([limits.h], [AC_DEFINE(XP_HAVE_LIMITS_H)])
AC_CHECK_HEADER([wchar.h], [AC_DEFINE(XP_HAVE_WCHAR_H)])
AC_CHECK_HEADER([unistd.h], [AC_DEFINE([XP_HAVE_UNISTD_H],[],[unistd.h])])
AC_CHECK_HEADER([fcntl.h], [AC_DEFINE([XP_HAVE_FCNTL_H],[],[fcntl.h])])
AC_CHECK_HEADER([stdarg.h], [AC_DEFINE([XP_HAVE_STDARG_H],[],[stdarg.h])])
AC_CHECK_HEADER([stddef.h], [AC_DEFINE([XP_HAVE_STDDEF_H],[],[stddef.h])])
AC_CHECK_HEADER([limits.h], [AC_DEFINE([XP_HAVE_LIMITS_H],[],[limits.h])])
AC_CHECK_HEADER([wchar.h], [AC_DEFINE([XP_HAVE_WCHAR_H],[],[wchar.h])])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_BIGENDIAN(
[AC_DEFINE(XP_ENDIAN_BIG)],
[AC_DEFINE(XP_ENDIAN_LITTLE)],
[AC_DEFINE(XP_ENDIAN_UNKNOWN)])
[AC_DEFINE([XP_ENDIAN_BIG],[],[Big Endian])],
[AC_DEFINE([XP_ENDIAN_LITTLE],[],[Little Endian])],
[AC_DEFINE([XP_ENDIAN_UNKNOWN],[],[Unknown Endian])])
# Checks for library functions.
AC_FUNC_MEMCMP
@ -30,7 +31,7 @@ AC_FUNC_REALLOC
AC_CHECK_FUNCS([memset])
# Checks for system files
AC_CHECK_FILE([/NextDeveloper],[AC_DEFINE(_POSIX_SOURCE)])
AC_CHECK_FILE([/NextDeveloper],[AC_DEFINE([_POSIX_SOURCE],[],[_POSIX_SOURCE])])
AC_CONFIG_FILES([Makefile build/Makefile xp/Makefile xp/c/Makefile])
AC_OUTPUT

View File

@ -1,10 +1,13 @@
/*
* $Id: types.h,v 1.8 2005-01-08 13:40:14 bacon Exp $
* $Id: types.h,v 1.9 2005-01-19 11:58:26 bacon Exp $
*/
#ifndef _XP_TYPES_H_
#define _XP_TYPES_H_
#ifndef _WIN32
#include <xp/config.h>
#endif
#include <xp/itypes.h>
typedef xp_uint8_t xp_byte_t;