This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libjpeg configure 8.3.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = hit uname -m = x86_64 uname -r = 2.6.32-22-pve uname -s = Linux uname -v = #1 SMP Mon Jul 15 08:36:46 CEST 2013 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2249: checking build system type configure:2263: result: x86_64-unknown-linux-gnu configure:2283: checking host system type configure:2296: result: x86_64-unknown-linux-gnu configure:2316: checking target system type configure:2329: result: x86_64-unknown-linux-gnu configure:2374: checking for a BSD-compatible install configure:2442: result: /usr/bin/install -c configure:2453: checking whether build environment is sane configure:2503: result: yes configure:2644: checking for a thread-safe mkdir -p configure:2683: result: /bin/mkdir -p configure:2696: checking for gawk configure:2726: result: no configure:2696: checking for mawk configure:2712: found /usr/bin/mawk configure:2723: result: mawk configure:2734: checking whether make sets $(MAKE) configure:2756: result: yes configure:2866: checking for style of include used by make configure:2894: result: GNU configure:2964: checking for gcc configure:2980: found /usr/bin/gcc configure:2991: result: gcc configure:3220: checking for C compiler version configure:3229: gcc --version >&5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3240: $? = 0 configure:3229: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:3240: $? = 0 configure:3229: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3240: $? = 4 configure:3229: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3240: $? = 4 configure:3260: checking whether the C compiler works configure:3282: gcc conftest.c >&5 configure:3286: $? = 0 configure:3334: result: yes configure:3337: checking for C compiler default output file name configure:3339: result: a.out configure:3345: checking for suffix of executables configure:3352: gcc -o conftest conftest.c >&5 configure:3356: $? = 0 configure:3378: result: configure:3400: checking whether we are cross compiling configure:3408: gcc -o conftest conftest.c >&5 configure:3412: $? = 0 configure:3419: ./conftest configure:3423: $? = 0 configure:3438: result: no configure:3443: checking for suffix of object files configure:3465: gcc -c conftest.c >&5 configure:3469: $? = 0 configure:3490: result: o configure:3494: checking whether we are using the GNU C compiler configure:3513: gcc -c conftest.c >&5 configure:3513: $? = 0 configure:3522: result: yes configure:3531: checking whether gcc accepts -g configure:3551: gcc -c -g conftest.c >&5 configure:3551: $? = 0 configure:3592: result: yes configure:3609: checking for gcc option to accept ISO C89 configure:3673: gcc -c -g -O2 conftest.c >&5 configure:3673: $? = 0 configure:3686: result: none needed configure:3708: checking dependency style of gcc configure:3818: result: gcc3 configure:3833: checking for function prototypes configure:3836: result: yes configure:3855: checking how to run the C preprocessor configure:3886: gcc -E conftest.c configure:3886: $? = 0 configure:3900: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3900: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | /* end confdefs.h. */ | #include configure:3925: result: gcc -E configure:3945: gcc -E conftest.c configure:3945: $? = 0 configure:3959: gcc -E conftest.c conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3959: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | /* end confdefs.h. */ | #include configure:3988: checking for grep that handles long lines and -e configure:4046: result: /bin/grep configure:4051: checking for egrep configure:4113: result: /bin/grep -E configure:4118: checking for ANSI C header files configure:4138: gcc -c -g -O2 conftest.c >&5 configure:4138: $? = 0 configure:4211: gcc -o conftest -g -O2 conftest.c >&5 configure:4211: $? = 0 configure:4211: ./conftest configure:4211: $? = 0 configure:4222: result: yes configure:4235: checking for sys/types.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for sys/stat.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for stdlib.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for string.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for memory.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for strings.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for inttypes.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for stdint.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4235: checking for unistd.h configure:4235: gcc -c -g -O2 conftest.c >&5 configure:4235: $? = 0 configure:4235: result: yes configure:4257: checking for string.h configure:4257: result: yes configure:4273: checking whether to enable maintainer-specific portions of Makefiles configure:4282: result: no configure:4345: checking for gcc configure:4372: result: gcc configure:4601: checking for C compiler version configure:4610: gcc --version >&5 gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4621: $? = 0 configure:4610: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5) configure:4621: $? = 0 configure:4610: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4621: $? = 4 configure:4610: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4621: $? = 4 configure:4625: checking whether we are using the GNU C compiler configure:4653: result: yes configure:4662: checking whether gcc accepts -g configure:4723: result: yes configure:4740: checking for gcc option to accept ISO C89 configure:4817: result: none needed configure:4839: checking dependency style of gcc configure:4949: result: gcc3 configure:4968: checking for gcc option to accept ISO C99 configure:5117: gcc -c -g -O2 conftest.c >&5 conftest.c:74:29: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:128:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:128:18: error: 'newvar' undeclared (first use in this function) conftest.c:128:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:138:3: error: 'for' loop initial declarations are only allowed in C99 mode conftest.c:138:3: note: use option -std=c99 or -std=gnu99 to compile your code configure:5117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5117: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5117: $? = 0 configure:5137: result: -std=gnu99 configure:5239: checking for gcc -std=gnu99 option to accept ISO Standard C configure:5253: result: -std=gnu99 configure:5262: checking how to run the C preprocessor configure:5332: result: gcc -E configure:5352: gcc -E conftest.c configure:5352: $? = 0 configure:5366: gcc -E conftest.c conftest.c:24:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5366: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | /* end confdefs.h. */ | #include configure:5395: checking whether make sets $(MAKE) configure:5417: result: yes configure:5426: checking whether ln -s works configure:5430: result: yes configure:5446: checking if LD -Wl,--version-script works configure:5470: gcc -std=gnu99 -o conftest -g -O2 -Wl,--version-script=conftest.map conftest.c >&5 configure:5470: $? = 0 configure:5479: result: yes configure:5492: checking for function prototypes configure:5519: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5519: $? = 0 configure:5527: result: yes configure:5545: checking stddef.h usability configure:5545: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5545: $? = 0 configure:5545: result: yes configure:5545: checking stddef.h presence configure:5545: gcc -E conftest.c configure:5545: $? = 0 configure:5545: result: yes configure:5545: checking for stddef.h configure:5545: result: yes configure:5545: checking for stdlib.h configure:5545: result: yes configure:5545: checking locale.h usability configure:5545: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5545: $? = 0 configure:5545: result: yes configure:5545: checking locale.h presence configure:5545: gcc -E conftest.c configure:5545: $? = 0 configure:5545: result: yes configure:5545: checking for locale.h configure:5545: result: yes configure:5555: checking for string.h configure:5555: result: yes configure:5568: checking for size_t configure:5595: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5595: $? = 0 configure:5601: result: yes configure:5635: checking for type unsigned char configure:5648: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5648: $? = 0 configure:5649: result: yes configure:5659: checking for type unsigned short configure:5672: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5672: $? = 0 configure:5673: result: yes configure:5683: checking for type void configure:5717: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5717: $? = 0 configure:5718: result: yes configure:5728: checking for an ANSI C-conforming const configure:5793: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5793: $? = 0 configure:5800: result: yes configure:5810: checking for inline configure:5825: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5825: $? = 0 configure:5863: result: __inline__ configure:5872: checking for broken incomplete types configure:5885: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:5885: $? = 0 configure:5886: result: ok configure:5898: checking for short external names configure:5914: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5 configure:5914: $? = 0 configure:5915: result: ok configure:5928: checking to see if char is signed configure:5959: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'is_char_signed': conftest.c:43:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] conftest.c:43:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] conftest.c: In function 'main': conftest.c:50:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] conftest.c:50:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] configure:5959: $? = 0 configure:5959: ./conftest configure:5959: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_PROTOTYPES 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_UNSIGNED_CHAR 1 | #define HAVE_UNSIGNED_SHORT 1 | #define INLINE __inline__ | /* end confdefs.h. */ | | #ifdef HAVE_PROTOTYPES | int is_char_signed (int arg) | #else | int is_char_signed (arg) | int arg; | #endif | { | if (arg == 189) { /* expected result for unsigned char */ | return 0; /* type char is unsigned */ | } | else if (arg != -67) { /* expected result for signed char */ | printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); | printf("I fear the JPEG software will not work at all.\n\n"); | } | return 1; /* assume char is signed otherwise */ | } | char signed_char_check = (char) (-67); | int main() { | exit(is_char_signed((int) signed_char_check)); | } configure:5966: result: yes configure:5973: checking to see if right shift is signed configure:6009: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'is_shifting_signed': conftest.c:51:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] conftest.c:51:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default] conftest.c: In function 'main': conftest.c:56:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] conftest.c:56:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] configure:6009: $? = 0 configure:6009: ./conftest configure:6009: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libjpeg" | #define PACKAGE_TARNAME "libjpeg" | #define PACKAGE_VERSION "8.3.0" | #define PACKAGE_STRING "libjpeg 8.3.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libjpeg" | #define VERSION "8.3.0" | #define PROTOTYPES 1 | #define __PROTOTYPES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_PROTOTYPES 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_UNSIGNED_CHAR 1 | #define HAVE_UNSIGNED_SHORT 1 | #define INLINE __inline__ | /* end confdefs.h. */ | | #ifdef HAVE_PROTOTYPES | int is_shifting_signed (long arg) | #else | int is_shifting_signed (arg) | long arg; | #endif | /* See whether right-shift on a long is signed or not. */ | { | long res = arg >> 4; | | if (res == -0x7F7E80CL) { /* expected result for signed shift */ | return 1; /* right shift is signed */ | } | /* see if unsigned-shift hack will fix it. */ | /* we can't just test exact value since it depends on width of long... */ | res |= (~0L) << (32-4); | if (res == -0x7F7E80CL) { /* expected result now? */ | return 0; /* right shift is unsigned */ | } | printf("Right shift isn't acting as I expect it to.\n"); | printf("I fear the JPEG software will not work at all.\n\n"); | return 0; /* try it with unsigned anyway */ | } | int main() { | exit(is_shifting_signed(-0x7F7E80B1L)); | } configure:6016: result: yes configure:6023: checking to see if fopen accepts b spec configure:6039: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:35:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] conftest.c:35:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] conftest.c:36:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] configure:6039: $? = 0 configure:6039: ./conftest configure:6039: $? = 0 configure:6040: result: yes configure:6404: checking how to print strings configure:6431: result: printf configure:6452: checking for a sed that does not truncate output configure:6516: result: /bin/sed configure:6534: checking for fgrep configure:6596: result: /bin/grep -F configure:6631: checking for ld used by gcc -std=gnu99 configure:6698: result: /usr/bin/ld configure:6705: checking if the linker (/usr/bin/ld) is GNU ld configure:6720: result: yes configure:6732: checking for BSD- or MS-compatible name lister (nm) configure:6781: result: /usr/bin/nm -B configure:6911: checking the name lister (/usr/bin/nm -B) interface configure:6918: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:6921: /usr/bin/nm -B "conftest.o" configure:6924: output 0000000000000000 B some_variable configure:6931: result: BSD nm configure:6935: checking the maximum length of command line arguments configure:7060: result: 1966080 configure:7077: checking whether the shell understands some XSI constructs configure:7087: result: yes configure:7091: checking whether the shell understands "+=" configure:7097: result: yes configure:7132: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:7172: result: func_convert_file_noop configure:7179: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:7199: result: func_convert_file_noop configure:7206: checking for /usr/bin/ld option to reload object files configure:7213: result: -r configure:7287: checking for objdump configure:7314: result: objdump configure:7343: checking how to recognize dependent libraries configure:7545: result: pass_all configure:7630: checking for dlltool configure:7657: result: dlltool configure:7687: checking how to associate runtime and link libraries configure:7714: result: printf %s\n configure:7774: checking for ar configure:7790: found /usr/bin/ar configure:7801: result: ar configure:7838: checking for archiver @FILE support configure:7855: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:7855: $? = 0 configure:7858: ar cru libconftest.a @conftest.lst >&5 configure:7861: $? = 0 configure:7866: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:7869: $? = 1 configure:7881: result: @ configure:7939: checking for strip configure:7955: found /usr/bin/strip configure:7966: result: strip configure:8038: checking for ranlib configure:8054: found /usr/bin/ranlib configure:8065: result: ranlib configure:8167: checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object configure:8286: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:8289: $? = 0 configure:8293: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:8296: $? = 0 configure:8362: gcc -std=gnu99 -o conftest -g -O2 conftest.c conftstm.o >&5 configure:8365: $? = 0 configure:8403: result: ok configure:8440: checking for sysroot configure:8470: result: no configure:8547: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:8550: $? = 0 configure:8713: checking for mt configure:8729: found /bin/mt configure:8740: result: mt configure:8763: checking if mt is a manifest tool configure:8769: mt '-?' configure:8777: result: no configure:9406: checking for dlfcn.h configure:9406: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:9406: $? = 0 configure:9406: result: yes configure:9591: checking for objdir configure:9606: result: .libs configure:9873: checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions configure:9891: gcc -std=gnu99 -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:9895: $? = 0 configure:9908: result: no configure:10218: checking for gcc -std=gnu99 option to produce PIC configure:10225: result: -fPIC -DPIC configure:10233: checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works configure:10251: gcc -std=gnu99 -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:10255: $? = 0 configure:10268: result: yes configure:10297: checking if gcc -std=gnu99 static flag -static works configure:10325: result: yes configure:10340: checking if gcc -std=gnu99 supports -c -o file.o configure:10361: gcc -std=gnu99 -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10365: $? = 0 configure:10387: result: yes configure:10395: checking if gcc -std=gnu99 supports -c -o file.o configure:10442: result: yes configure:10475: checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11633: result: yes configure:11670: checking whether -lc should be explicitly linked in configure:11678: gcc -std=gnu99 -c -g -O2 conftest.c >&5 configure:11681: $? = 0 configure:11696: gcc -std=gnu99 -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11699: $? = 0 configure:11713: result: no configure:11878: checking dynamic linker characteristics configure:12392: gcc -std=gnu99 -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12392: $? = 0 configure:12614: result: GNU/Linux ld.so configure:12721: checking how to hardcode library paths into programs configure:12746: result: immediate configure:13286: checking whether stripping libraries is possible configure:13291: result: yes configure:13326: checking if libtool supports shared libraries configure:13328: result: yes configure:13331: checking whether to build shared libraries configure:13352: result: yes configure:13355: checking whether to build static libraries configure:13359: result: yes configure:13475: checking libjpeg version number configure:13480: result: 11:0:3 configure:13627: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by libjpeg config.status 8.3.0, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on hit config.status:1114: creating Makefile config.status:1114: creating jconfig.h config.status:1343: executing depfiles commands config.status:1343: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stddef_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_DLLTOOL=dlltool ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc=-std=gnu99 ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 ijg_cv_have_prototypes=yes ijg_cv_inline=__inline__ lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1966080 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/www/proj/jpeg-8c/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/www/proj/jpeg-8c/missing --run tar' AM_BACKSLASH='\' AM_DEFAULT_VERBOSITY='0' ANSI2KNR='' AR='ar' AS='as' AUTOCONF='${SHELL} /home/www/proj/jpeg-8c/missing --run autoconf' AUTOHEADER='echo autoheader ignored' AUTOMAKE='${SHELL} /home/www/proj/jpeg-8c/missing --run automake-1.11' AWK='mawk' CC='gcc -std=gnu99' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='dlltool' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' HAVE_LD_VERSION_SCRIPT_FALSE='#' HAVE_LD_VERSION_SCRIPT_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' JPEG_LIB_VERSION='11:0:3' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/www/proj/jpeg-8c/missing --run makeinfo' MANIFEST_TOOL=':' MEMORYMGR='jmemnobs' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libjpeg' PACKAGE_BUGREPORT='' PACKAGE_NAME='libjpeg' PACKAGE_STRING='libjpeg 8.3.0' PACKAGE_TARNAME='libjpeg' PACKAGE_URL='' PACKAGE_VERSION='8.3.0' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' U='' VERSION='8.3.0' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/www/proj/jpeg-8c/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libjpeg" #define PACKAGE_TARNAME "libjpeg" #define PACKAGE_VERSION "8.3.0" #define PACKAGE_STRING "libjpeg 8.3.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "libjpeg" #define VERSION "8.3.0" #define PROTOTYPES 1 #define __PROTOTYPES 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_PROTOTYPES 1 #define HAVE_STDDEF_H 1 #define HAVE_STDLIB_H 1 #define HAVE_LOCALE_H 1 #define HAVE_UNSIGNED_CHAR 1 #define HAVE_UNSIGNED_SHORT 1 #define INLINE __inline__ #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" configure: exit 0