53#undef NEED_BSD_STRINGS
55#ifdef NEED_BSD_STRINGS
66#undef NEED_SYS_TYPES_H
67#ifdef NEED_SYS_TYPES_H
84#undef NEED_SPECIAL_INCLUDE
86#ifdef NEED_SPECIAL_INCLUDE
87#include <someincludefile.h>
100#define HAVE_PROTOTYPES
102#ifdef HAVE_PROTOTYPES
128#define HAVE_UNSIGNED_CHAR
130#ifdef HAVE_UNSIGNED_CHAR
140#define HAVE_UNSIGNED_SHORT
142#ifdef HAVE_UNSIGNED_SHORT
156#ifdef HAVE_PROTOTYPES
162#ifdef HAVE_PROTOTYPES
170 char * locptr = (
char *)
arg1;
171 arg1 = (
void *) locptr;
186#ifdef HAVE_PROTOTYPES
202#undef INCOMPLETE_TYPES_BROKEN
204#ifndef INCOMPLETE_TYPES_BROKEN
213#undef NEED_SHORT_EXTERNAL_NAMES
215#ifndef NEED_SHORT_EXTERNAL_NAMES
242#ifdef HAVE_PROTOTYPES
252 else if (
arg != -67) {
253 printf(
"Hmm, it seems 'char' is not eight bits wide on your machine.\n");
254 printf(
"I fear the JPEG software will not work at all.\n\n");
260#ifdef HAVE_PROTOTYPES
270 if (
res == -0x7F7E80CL) {
275 res |= (~0
L) << (32-4);
276 if (
res == -0x7F7E80CL) {
279 printf(
"Right shift isn't acting as I expect it to.\n");
280 printf(
"I fear the JPEG software will not work at all.\n\n");
285#ifdef HAVE_PROTOTYPES
293 char signed_char_check = (
char) (-67);
298 printf(
"Failed to write jconfig.h\n");
303 fprintf(
outfile,
"/* jconfig.h --- generated by ckconfig.c */\n");
305#ifdef HAVE_PROTOTYPES
310#ifdef HAVE_UNSIGNED_CHAR
315#ifdef HAVE_UNSIGNED_SHORT
344#ifdef NEED_BSD_STRINGS
349#ifdef NEED_SYS_TYPES_H
355#ifdef NEED_SHORT_EXTERNAL_NAMES
360#ifdef INCOMPLETE_TYPES_BROKEN
372 fprintf(
outfile,
"#define BMP_SUPPORTED /* BMP image file format */\n");
373 fprintf(
outfile,
"#define GIF_SUPPORTED /* GIF image file format */\n");
374 fprintf(
outfile,
"#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */\n");
375 fprintf(
outfile,
"#undef RLE_SUPPORTED /* Utah RLE image file format */\n");
376 fprintf(
outfile,
"#define TARGA_SUPPORTED /* Targa image file format */\n\n");
377 fprintf(
outfile,
"#undef TWO_FILE_COMMANDLINE /* You may need this on non-Unix systems */\n");
378 fprintf(
outfile,
"#undef NEED_SIGNAL_CATCHER /* Define this if you use jmemname.c */\n");
380 fprintf(
outfile,
"/* #define PROGRESS_REPORT */ /* optional */\n");
387 printf(
"Configuration check for Independent JPEG Group's software done.\n");
388 printf(
"\nI have written the jconfig.h file for you.\n\n");
389#ifdef HAVE_PROTOTYPES
390 printf(
"You should use makefile.ansi as the starting point for your Makefile.\n");
392 printf(
"You should use makefile.unix as the starting point for your Makefile.\n");
395#ifdef NEED_SPECIAL_INCLUDE
396 printf(
"\nYou'll need to change jconfig.h to include the system include file\n");
397 printf(
"that you found type size_t in, or add a direct definition of type\n");
398 printf(
"size_t if that's what you used. Just add it to the end.\n");
int possibly_duplicate_function()
void(* void_func)(int a, int b)
int testfunction(int arg1, int *arg2)
void test3function(void_ptr arg1, void_func arg2)
int possibly_dupli_function()
struct undefined_structure * undef_struct_ptr
int is_shifting_signed(long arg)
int test4function(const int arg1)
static const int carray[3]
int is_char_signed(int arg)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLuint GLuint GLuint GLuint arg1
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
int(* another_method)(void)
int(* trace_message)(char *msgtext)
int(* error_exit)(char *msgtext)