This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by json configure 1.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = simonzhangsz uname -m = x86_64 uname -r = 5.15.167.4-microsoft-standard-WSL2 uname -s = Linux uname -v = #1 SMP Tue Nov 5 00:21:55 UTC 2024 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/simon/bin PATH: /home/simon/.local/share/pnpm PATH: /home/simon/.nvm/versions/node/v23.4.0/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin PATH: /usr/local/go/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2295: checking for a BSD-compatible install configure:2363: result: /usr/bin/install -c configure:2374: checking whether build environment is sane configure:2424: result: yes configure:2565: checking for a thread-safe mkdir -p configure:2604: result: /usr/bin/mkdir -p configure:2617: checking for gawk configure:2633: found /usr/bin/gawk configure:2644: result: gawk configure:2655: checking whether make sets $(MAKE) configure:2677: result: yes configure:2813: checking for gcc configure:2829: found /usr/bin/gcc configure:2840: result: gcc configure:3069: checking for C compiler version configure:3078: gcc --version >&5 gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 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:3089: $? = 0 configure:3078: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ... rest of stderr output deleted ... configure:3089: $? = 0 configure:3078: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:3089: $? = 1 configure:3078: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3089: $? = 1 configure:3109: checking whether the C compiler works configure:3131: gcc conftest.c >&5 configure:3135: $? = 0 configure:3183: result: yes configure:3186: checking for C compiler default output file name configure:3188: result: a.out configure:3194: checking for suffix of executables configure:3201: gcc -o conftest conftest.c >&5 configure:3205: $? = 0 configure:3227: result: configure:3249: checking whether we are cross compiling configure:3257: gcc -o conftest conftest.c >&5 configure:3261: $? = 0 configure:3268: ./conftest configure:3272: $? = 0 configure:3287: result: no configure:3292: checking for suffix of object files configure:3314: gcc -c conftest.c >&5 configure:3318: $? = 0 configure:3339: result: o configure:3343: checking whether we are using the GNU C compiler configure:3362: gcc -c conftest.c >&5 configure:3362: $? = 0 configure:3371: result: yes configure:3380: checking whether gcc accepts -g configure:3400: gcc -c -g conftest.c >&5 configure:3400: $? = 0 configure:3441: result: yes configure:3458: checking for gcc option to accept ISO C89 configure:3521: gcc -c -g -O2 conftest.c >&5 configure:3521: $? = 0 configure:3534: result: none needed configure:3565: checking for style of include used by make configure:3593: result: GNU configure:3619: checking dependency style of gcc configure:3730: result: gcc3 configure:3746: checking whether gcc and cc understand -c and -o together configure:3777: gcc -c conftest.c -o conftest2.o >&5 configure:3781: $? = 0 configure:3787: gcc -c conftest.c -o conftest2.o >&5 configure:3791: $? = 0 configure:3802: cc -c conftest.c >&5 configure:3806: $? = 0 configure:3814: cc -c conftest.c -o conftest2.o >&5 configure:3818: $? = 0 configure:3824: cc -c conftest.c -o conftest2.o >&5 configure:3828: $? = 0 configure:3846: result: yes configure:3900: checking build system type configure:3914: result: x86_64-unknown-linux-gnu configure:3934: checking host system type configure:3947: result: x86_64-unknown-linux-gnu configure:3988: checking how to print strings configure:4015: result: printf configure:4036: checking for a sed that does not truncate output configure:4100: result: /usr/bin/sed configure:4118: checking for grep that handles long lines and -e configure:4176: result: /usr/bin/grep configure:4181: checking for egrep configure:4243: result: /usr/bin/grep -E configure:4248: checking for fgrep configure:4310: result: /usr/bin/grep -F configure:4345: checking for ld used by gcc configure:4412: result: /usr/bin/ld configure:4419: checking if the linker (/usr/bin/ld) is GNU ld configure:4434: result: yes configure:4446: checking for BSD- or MS-compatible name lister (nm) configure:4495: result: /usr/bin/nm -B configure:4625: checking the name lister (/usr/bin/nm -B) interface configure:4632: gcc -c -g -O2 conftest.c >&5 configure:4635: /usr/bin/nm -B "conftest.o" configure:4638: output 0000000000000000 B some_variable configure:4645: result: BSD nm configure:4648: checking whether ln -s works configure:4652: result: yes configure:4660: checking the maximum length of command line arguments configure:4790: result: 1572864 configure:4807: checking whether the shell understands some XSI constructs configure:4817: result: yes configure:4821: checking whether the shell understands "+=" configure:4827: result: yes configure:4862: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:4902: result: func_convert_file_noop configure:4909: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:4929: result: func_convert_file_noop configure:4936: checking for /usr/bin/ld option to reload object files configure:4943: result: -r configure:5017: checking for objdump configure:5033: found /usr/bin/objdump configure:5044: result: objdump configure:5076: checking how to recognize dependent libraries configure:5274: result: pass_all configure:5359: checking for dlltool configure:5389: result: no configure:5419: checking how to associate runtime and link libraries configure:5446: result: printf %s\n configure:5507: checking for ar configure:5523: found /usr/bin/ar configure:5534: result: ar configure:5571: checking for archiver @FILE support configure:5588: gcc -c -g -O2 conftest.c >&5 configure:5588: $? = 0 configure:5591: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') configure:5594: $? = 0 configure:5599: ar cru libconftest.a @conftest.lst >&5 ar: `u' modifier ignored since `D' is the default (see `U') ar: conftest.o: No such file or directory configure:5602: $? = 1 configure:5614: result: @ configure:5672: checking for strip configure:5688: found /usr/bin/strip configure:5699: result: strip configure:5771: checking for ranlib configure:5787: found /usr/bin/ranlib configure:5798: result: ranlib configure:5900: checking command to parse /usr/bin/nm -B output from gcc object configure:6020: gcc -c -g -O2 conftest.c >&5 configure:6023: $? = 0 configure:6027: /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:6030: $? = 0 configure:6096: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6099: $? = 0 configure:6137: result: ok configure:6174: checking for sysroot configure:6204: result: no configure:6281: gcc -c -g -O2 conftest.c >&5 configure:6284: $? = 0 configure:6460: checking for mt configure:6476: found /usr/bin/mt configure:6487: result: mt configure:6510: checking if mt is a manifest tool configure:6516: mt '-?' configure:6524: result: no configure:7166: checking how to run the C preprocessor configure:7197: gcc -E conftest.c configure:7197: $? = 0 configure:7211: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:7211: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | /* end confdefs.h. */ | #include configure:7236: result: gcc -E configure:7256: gcc -E conftest.c configure:7256: $? = 0 configure:7270: gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:7270: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | /* end confdefs.h. */ | #include configure:7299: checking for ANSI C header files configure:7319: gcc -c -g -O2 conftest.c >&5 configure:7319: $? = 0 configure:7392: gcc -o conftest -g -O2 conftest.c >&5 configure:7392: $? = 0 configure:7392: ./conftest configure:7392: $? = 0 configure:7403: result: yes configure:7416: checking for sys/types.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for sys/stat.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for stdlib.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for string.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for memory.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for strings.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for inttypes.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for stdint.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7416: checking for unistd.h configure:7416: gcc -c -g -O2 conftest.c >&5 configure:7416: $? = 0 configure:7416: result: yes configure:7430: checking for dlfcn.h configure:7430: gcc -c -g -O2 conftest.c >&5 configure:7430: $? = 0 configure:7430: result: yes configure:7636: checking for objdir configure:7651: result: .libs configure:7918: checking if gcc supports -fno-rtti -fno-exceptions configure:7936: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:7940: $? = 0 configure:7953: result: no configure:8280: checking for gcc option to produce PIC configure:8287: result: -fPIC -DPIC configure:8295: checking if gcc PIC flag -fPIC -DPIC works configure:8313: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8317: $? = 0 configure:8330: result: yes configure:8359: checking if gcc static flag -static works configure:8387: result: yes configure:8402: checking if gcc supports -c -o file.o configure:8423: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8427: $? = 0 configure:8449: result: yes configure:8457: checking if gcc supports -c -o file.o configure:8504: result: yes configure:8537: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:9694: result: yes configure:9731: checking whether -lc should be explicitly linked in configure:9739: gcc -c -g -O2 conftest.c >&5 configure:9742: $? = 0 configure:9757: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:9760: $? = 0 configure:9774: result: no configure:9934: checking dynamic linker characteristics configure:10434: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10434: $? = 0 configure:10668: result: GNU/Linux ld.so configure:10775: checking how to hardcode library paths into programs configure:10800: result: immediate configure:11340: checking whether stripping libraries is possible configure:11345: result: yes configure:11380: checking if libtool supports shared libraries configure:11382: result: yes configure:11385: checking whether to build shared libraries configure:11406: result: yes configure:11409: checking whether to build static libraries configure:11413: result: yes configure:11453: WARNING: AM_PATH_CHECK() is deprecated configure:11455: WARNING: use PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) instead configure:11466: checking for check - version >= 0.8.2 configure:11543: gcc -c -g -O2 conftest.c >&5 conftest.c:56:10: fatal error: check.h: No such file or directory 56 | #include | ^~~~~~~~~ compilation terminated. configure:11543: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include | | int main () | { | int major, minor, micro; | char *tmp_version; | | system ("touch conf.check-test"); | | /* HP/UX 9 (%@#!) writes to sscanf strings */ | tmp_version = strdup("0.8.2"); | if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "0.8.2"); | return 1; | } | | if ((CHECK_MAJOR_VERSION != check_major_version) || | (CHECK_MINOR_VERSION != check_minor_version) || | (CHECK_MICRO_VERSION != check_micro_version)) | { | printf("\n*** The check header file (version %d.%d.%d) does not match\n", | CHECK_MAJOR_VERSION, CHECK_MINOR_VERSION, CHECK_MICRO_VERSION); | printf("*** the check library (version %d.%d.%d).\n", | check_major_version, check_minor_version, check_micro_version); | return 1; | } | | if ((check_major_version > major) || | ((check_major_version == major) && (check_minor_version > minor)) || | ((check_major_version == major) && (check_minor_version == minor) && (check_micro_version >= micro))) | { | return 0; | } | else | { | printf("\n*** An old version of check (%d.%d.%d) was found.\n", | check_major_version, check_minor_version, check_micro_version); | printf("*** You need a version of check being at least %d.%d.%d.\n", major, minor, micro); | printf("***\n"); | printf("*** If you have already installed a sufficiently new version, this error\n"); | printf("*** probably means that the wrong copy of the check library and header\n"); | printf("*** file is being found. Rerun configure with the --with-check=PATH option\n"); | printf("*** to specify the prefix where the correct version was installed.\n"); | } | | return 1; | } | configure:11558: result: no configure:11582: gcc -o conftest -g -O2 conftest.c -lcheck >&5 conftest.c:27:10: fatal error: check.h: No such file or directory 27 | #include | ^~~~~~~~~ compilation terminated. configure:11582: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | #include | #include | | #include | | int | main () | { | | ; | return 0; | } configure:11606: WARNING: Check not found; cannot run unit tests! configure:11628: checking for ANSI C header files configure:11732: result: yes configure:11743: checking locale.h usability configure:11743: gcc -c -g -O2 conftest.c >&5 configure:11743: $? = 0 configure:11743: result: yes configure:11743: checking locale.h presence configure:11743: gcc -E conftest.c configure:11743: $? = 0 configure:11743: result: yes configure:11743: checking for locale.h configure:11743: result: yes configure:11743: checking for memory.h configure:11743: result: yes configure:11743: checking for stdlib.h configure:11743: result: yes configure:11743: checking for string.h configure:11743: result: yes configure:11755: checking for an ANSI C-conforming const configure:11821: gcc -c -g -O2 conftest.c >&5 configure:11821: $? = 0 configure:11828: result: yes configure:11836: checking for stdbool.h that conforms to C99 configure:11903: gcc -c -g -O2 conftest.c >&5 configure:11903: $? = 0 configure:11910: result: yes configure:11912: checking for _Bool configure:11912: gcc -c -g -O2 conftest.c >&5 configure:11912: $? = 0 configure:11912: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:20: error: expected expression before ')' token 64 | if (sizeof ((_Bool))) | ^ configure:11912: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:11912: result: yes configure:11929: checking for size_t configure:11929: gcc -c -g -O2 conftest.c >&5 configure:11929: $? = 0 configure:11929: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:21: error: expected expression before ')' token 66 | if (sizeof ((size_t))) | ^ configure:11929: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "json" | #define PACKAGE_TARNAME "json" | #define PACKAGE_VERSION "1.7.0" | #define PACKAGE_STRING "json 1.7.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "json" | #define VERSION "1.7.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:11929: result: yes configure:11944: checking for stdlib.h configure:11944: result: yes configure:11954: checking for GNU libc compatible malloc configure:11978: gcc -o conftest -g -O2 conftest.c >&5 configure:11978: $? = 0 configure:11978: ./conftest configure:11978: $? = 0 configure:11988: result: yes configure:12011: checking for stdlib.h configure:12011: result: yes configure:12021: checking for GNU libc compatible realloc configure:12045: gcc -o conftest -g -O2 conftest.c >&5 configure:12045: $? = 0 configure:12045: ./conftest configure:12045: $? = 0 configure:12055: result: yes configure:12079: checking for memset configure:12079: gcc -o conftest -g -O2 conftest.c >&5 conftest.c:57:6: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 57 | char memset (); | ^~~~~~ conftest.c:45:1: note: 'memset' is declared in header '' 44 | # include 45 | #else configure:12079: $? = 0 configure:12079: result: yes configure:12079: checking for setlocale configure:12079: gcc -o conftest -g -O2 conftest.c >&5 configure:12079: $? = 0 configure:12079: result: yes configure:12223: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by json config.status 1.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on simonzhangsz config.status:1097: creating mjson.pc config.status:1097: creating Makefile config.status:1097: creating src/Makefile config.status:1097: creating tests/Makefile config.status:1097: creating config.h config.status:1326: executing depfiles commands config.status:1326: 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_func_malloc_0_nonnull=yes ac_cv_func_memset=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_setlocale=yes 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_stdbool_h=yes ac_cv_header_stdc=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='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk 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_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_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_make_make_set=yes ac_cv_type__Bool=yes ac_cv_type_size_t=yes am_cv_CC_dependencies_compiler_type=gcc3 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=yes 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=1572864 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/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AR='ar' AUTOCONF='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/missing --run autoconf' AUTOHEADER='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/missing --run autoheader' AUTOMAKE='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/missing --run automake-1.11' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CHECK_CFLAGS='' CHECK_LIBS='' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FGREP='/usr/bin/grep -F' GREP='/usr/bin/grep' HAVE_CHECK_FALSE='' HAVE_CHECK_TRUE='#' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/missing --run makeinfo' MANIFEST_TOOL=':' MILESTONE='1.7' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='json' PACKAGE_BUGREPORT='' PACKAGE_NAME='json' PACKAGE_STRING='json 1.7.0' PACKAGE_TARNAME='json' PACKAGE_URL='' PACKAGE_VERSION='1.7.0' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='1.7.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__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} 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/simon/ocs.git/selfcare/proxy_c/third-lib/json-lib/json-1.7.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/usr/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_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "json" #define PACKAGE_TARNAME "json" #define PACKAGE_VERSION "1.7.0" #define PACKAGE_STRING "json 1.7.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "json" #define VERSION "1.7.0" #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_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define STDC_HEADERS 1 #define HAVE_LOCALE_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE__BOOL 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDLIB_H 1 #define HAVE_MALLOC 1 #define HAVE_STDLIB_H 1 #define HAVE_REALLOC 1 #define HAVE_MEMSET 1 #define HAVE_SETLOCALE 1 configure: exit 0