From 8a2c811f6868aebd61e5927a14d57c97c274427b Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 14 Apr 2008 13:11:58 +0000 Subject: [PATCH] - introduced common/jpeg/jconfig.h.in - minimal jconfig.h template git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2462 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/jpeg/configure.ac | 5 +++-- common/jpeg/jconfig.h.in | 46 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 common/jpeg/jconfig.h.in diff --git a/common/jpeg/configure.ac b/common/jpeg/configure.ac index 28d86389..b8ada44c 100644 --- a/common/jpeg/configure.ac +++ b/common/jpeg/configure.ac @@ -73,7 +73,8 @@ AC_CHECK_FUNCS([memset memcpy], [], [AC_DEFINE([NEED_BSD_STRINGS], 1, [Define if you have BSD-like bzero and bcopy])]) - -AC_CONFIG_HEADER([jconfig.h:config.h.in]) +# config.h should not be included +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_HEADERS([jconfig.h]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/common/jpeg/jconfig.h.in b/common/jpeg/jconfig.h.in new file mode 100644 index 00000000..4a106977 --- /dev/null +++ b/common/jpeg/jconfig.h.in @@ -0,0 +1,46 @@ +/* Define if your compiler supports prototypes */ +#undef HAVE_PROTOTYPES + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if the system has the type `unsigned char'. */ +#undef HAVE_UNSIGNED_CHAR + +/* Define to 1 if the system has the type `unsigned short'. */ +#undef HAVE_UNSIGNED_SHORT + +/* Define if you want use complete types */ +#undef INCOMPLETE_TYPES_BROKEN + +/* Define if you have BSD-like bzero and bcopy */ +#undef NEED_BSD_STRINGS + +/* Define if you need short function names */ +#undef NEED_SHORT_EXTERNAL_NAMES + +/* Define if you have sys/types.h */ +#undef NEED_SYS_TYPES_H + +/* Define if shift is unsigned */ +#undef RIGHT_SHIFT_IS_UNSIGNED + +/* Define to 1 if type `char' is unsigned and you are not using gcc. */ +#ifndef __CHAR_UNSIGNED__ +# undef __CHAR_UNSIGNED__ +#endif + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to `unsigned int' if does not define. */ +#undef size_t -- 2.39.5