894 lines
30 KiB
Plaintext
894 lines
30 KiB
Plaintext
This file contains any messages produced by compilers while
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
It was created by libcharset configure 1.5, which was
|
|
generated by GNU Autoconf 2.71. Invocation command line was
|
|
|
|
$ ./configure --disable-option-checking --prefix=/Users/yangzuhao/Downloads/libiconv-1.17/output --cache-file=/dev/null --srcdir=.
|
|
|
|
## --------- ##
|
|
## Platform. ##
|
|
## --------- ##
|
|
|
|
hostname = Yaha-baidu
|
|
uname -m = arm64
|
|
uname -r = 22.4.0
|
|
uname -s = Darwin
|
|
uname -v = Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:41 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8103
|
|
|
|
/usr/bin/uname -p = arm
|
|
/bin/uname -X = unknown
|
|
|
|
/bin/arch = unknown
|
|
/usr/bin/arch -k = unknown
|
|
/usr/convex/getsysinfo = unknown
|
|
/usr/bin/hostinfo = Mach kernel version:
|
|
Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:41 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8103
|
|
Kernel configured for up to 8 processors.
|
|
8 processors are physically available.
|
|
8 processors are logically available.
|
|
Processor type: arm64e (ARM64E)
|
|
Processors active: 0 1 2 3 4 5 6 7
|
|
Primary memory available: 16.00 gigabytes
|
|
Default processor set: 467 tasks, 3514 threads, 8 processors
|
|
Load average: 3.40, Mach factor: 4.60
|
|
/bin/machine = unknown
|
|
/usr/bin/oslevel = unknown
|
|
/bin/universe = unknown
|
|
|
|
PATH: /Users/yangzuhao/.icafe/bin/
|
|
PATH: HOME/Data/tools/
|
|
PATH: /Users/yangzuhao/Data/code/gopath/bin/
|
|
PATH: /Users/yangzuhao/Data/go-env/go1.18.5/bin/
|
|
PATH: /opt/homebrew/bin/
|
|
PATH: /opt/homebrew/sbin/
|
|
PATH: /usr/local/bin/
|
|
PATH: /System/Cryptexes/App/usr/bin/
|
|
PATH: /usr/bin/
|
|
PATH: /bin/
|
|
PATH: /usr/sbin/
|
|
PATH: /sbin/
|
|
PATH: /Library/Apple/usr/bin/
|
|
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/
|
|
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/
|
|
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/
|
|
PATH: /Users/yangzuhao/.otm/
|
|
PATH: /Users/yangzuhao/Data/dev-env/flutter/bin/
|
|
|
|
|
|
## ----------- ##
|
|
## Core tests. ##
|
|
## ----------- ##
|
|
|
|
configure:2410: looking for aux files: ltmain.sh config.guess config.sub install-sh
|
|
configure:2423: trying ./build-aux/
|
|
configure:2452: ./build-aux/ltmain.sh found
|
|
configure:2452: ./build-aux/config.guess found
|
|
configure:2452: ./build-aux/config.sub found
|
|
configure:2434: ./build-aux/install-sh found
|
|
configure:2567: checking whether make sets $(MAKE)
|
|
configure:2590: result: yes
|
|
configure:2663: checking for gcc
|
|
configure:2684: found /usr/bin/gcc
|
|
configure:2695: result: gcc
|
|
configure:3048: checking for C compiler version
|
|
configure:3057: gcc --version >&5
|
|
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
|
|
Target: arm64-apple-darwin22.4.0
|
|
Thread model: posix
|
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
|
configure:3068: $? = 0
|
|
configure:3057: gcc -v >&5
|
|
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
|
|
Target: arm64-apple-darwin22.4.0
|
|
Thread model: posix
|
|
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
|
configure:3068: $? = 0
|
|
configure:3057: gcc -V >&5
|
|
clang: error: argument to '-V' is missing (expected 1 value)
|
|
clang: error: no input files
|
|
configure:3068: $? = 1
|
|
configure:3057: gcc -qversion >&5
|
|
clang: error: unknown argument '-qversion'; did you mean '--version'?
|
|
clang: error: no input files
|
|
configure:3068: $? = 1
|
|
configure:3057: gcc -version >&5
|
|
clang: error: unknown argument '-version'; did you mean '--version'?
|
|
clang: error: no input files
|
|
configure:3068: $? = 1
|
|
configure:3088: checking whether the C compiler works
|
|
configure:3110: gcc conftest.c >&5
|
|
configure:3114: $? = 0
|
|
configure:3164: result: yes
|
|
configure:3167: checking for C compiler default output file name
|
|
configure:3169: result: a.out
|
|
configure:3175: checking for suffix of executables
|
|
configure:3182: gcc -o conftest conftest.c >&5
|
|
configure:3186: $? = 0
|
|
configure:3209: result:
|
|
configure:3231: checking whether we are cross compiling
|
|
configure:3239: gcc -o conftest conftest.c >&5
|
|
configure:3243: $? = 0
|
|
configure:3250: ./conftest
|
|
configure:3254: $? = 0
|
|
configure:3269: result: no
|
|
configure:3274: checking for suffix of object files
|
|
configure:3297: gcc -c conftest.c >&5
|
|
configure:3301: $? = 0
|
|
configure:3323: result: o
|
|
configure:3327: checking whether the compiler supports GNU C
|
|
configure:3347: gcc -c conftest.c >&5
|
|
configure:3347: $? = 0
|
|
configure:3357: result: yes
|
|
configure:3368: checking whether gcc accepts -g
|
|
configure:3389: gcc -c -g conftest.c >&5
|
|
configure:3389: $? = 0
|
|
configure:3433: result: yes
|
|
configure:3453: checking for gcc option to enable C11 features
|
|
configure:3468: gcc -c -g -O2 conftest.c >&5
|
|
conftest.c:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
|
|
static char *e (p, i)
|
|
^
|
|
1 warning generated.
|
|
configure:3468: $? = 0
|
|
configure:3486: result: none needed
|
|
configure:3601: checking how to run the C preprocessor
|
|
configure:3627: gcc -E conftest.c
|
|
configure:3627: $? = 0
|
|
configure:3642: gcc -E conftest.c
|
|
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
|
|
#include <ac_nonexistent.h>
|
|
^~~~~~~~~~~~~~~~~~
|
|
1 error generated.
|
|
configure:3642: $? = 1
|
|
configure: failed program was:
|
|
| /* confdefs.h */
|
|
| #define PACKAGE_NAME "libcharset"
|
|
| #define PACKAGE_TARNAME "libcharset"
|
|
| #define PACKAGE_VERSION "1.5"
|
|
| #define PACKAGE_STRING "libcharset 1.5"
|
|
| #define PACKAGE_BUGREPORT ""
|
|
| #define PACKAGE_URL ""
|
|
| /* end confdefs.h. */
|
|
| #include <ac_nonexistent.h>
|
|
configure:3669: result: gcc -E
|
|
configure:3683: gcc -E conftest.c
|
|
configure:3683: $? = 0
|
|
configure:3698: gcc -E conftest.c
|
|
conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
|
|
#include <ac_nonexistent.h>
|
|
^~~~~~~~~~~~~~~~~~
|
|
1 error generated.
|
|
configure:3698: $? = 1
|
|
configure: failed program was:
|
|
| /* confdefs.h */
|
|
| #define PACKAGE_NAME "libcharset"
|
|
| #define PACKAGE_TARNAME "libcharset"
|
|
| #define PACKAGE_VERSION "1.5"
|
|
| #define PACKAGE_STRING "libcharset 1.5"
|
|
| #define PACKAGE_BUGREPORT ""
|
|
| #define PACKAGE_URL ""
|
|
| /* end confdefs.h. */
|
|
| #include <ac_nonexistent.h>
|
|
configure:3744: checking for a BSD-compatible install
|
|
configure:3817: result: /opt/homebrew/bin/ginstall -c
|
|
configure:3836: checking build system type
|
|
configure:3851: result: aarch64-apple-darwin22.4.0
|
|
configure:3871: checking host system type
|
|
configure:3885: result: aarch64-apple-darwin22.4.0
|
|
configure:3914: checking for stdio.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for stdlib.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for string.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for inttypes.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for stdint.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for strings.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for sys/stat.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for sys/types.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for unistd.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for wchar.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
configure:3914: $? = 0
|
|
configure:3914: result: yes
|
|
configure:3914: checking for minix/config.h
|
|
configure:3914: gcc -c -g -O2 conftest.c >&5
|
|
conftest.c:47:10: fatal error: 'minix/config.h' file not found
|
|
#include <minix/config.h>
|
|
^~~~~~~~~~~~~~~~
|
|
1 error generated.
|
|
configure:3914: $? = 1
|
|
configure: failed program was:
|
|
| /* confdefs.h */
|
|
| #define PACKAGE_NAME "libcharset"
|
|
| #define PACKAGE_TARNAME "libcharset"
|
|
| #define PACKAGE_VERSION "1.5"
|
|
| #define PACKAGE_STRING "libcharset 1.5"
|
|
| #define PACKAGE_BUGREPORT ""
|
|
| #define PACKAGE_URL ""
|
|
| #define HAVE_STDIO_H 1
|
|
| #define HAVE_STDLIB_H 1
|
|
| #define HAVE_STRING_H 1
|
|
| #define HAVE_INTTYPES_H 1
|
|
| #define HAVE_STDINT_H 1
|
|
| #define HAVE_STRINGS_H 1
|
|
| #define HAVE_SYS_STAT_H 1
|
|
| #define HAVE_SYS_TYPES_H 1
|
|
| #define HAVE_UNISTD_H 1
|
|
| #define HAVE_WCHAR_H 1
|
|
| /* end confdefs.h. */
|
|
| #include <stddef.h>
|
|
| #ifdef HAVE_STDIO_H
|
|
| # include <stdio.h>
|
|
| #endif
|
|
| #ifdef HAVE_STDLIB_H
|
|
| # include <stdlib.h>
|
|
| #endif
|
|
| #ifdef HAVE_STRING_H
|
|
| # include <string.h>
|
|
| #endif
|
|
| #ifdef HAVE_INTTYPES_H
|
|
| # include <inttypes.h>
|
|
| #endif
|
|
| #ifdef HAVE_STDINT_H
|
|
| # include <stdint.h>
|
|
| #endif
|
|
| #ifdef HAVE_STRINGS_H
|
|
| # include <strings.h>
|
|
| #endif
|
|
| #ifdef HAVE_SYS_TYPES_H
|
|
| # include <sys/types.h>
|
|
| #endif
|
|
| #ifdef HAVE_SYS_STAT_H
|
|
| # include <sys/stat.h>
|
|
| #endif
|
|
| #ifdef HAVE_UNISTD_H
|
|
| # include <unistd.h>
|
|
| #endif
|
|
| #include <minix/config.h>
|
|
configure:3914: result: no
|
|
configure:3945: checking whether it is safe to define __EXTENSIONS__
|
|
configure:3964: gcc -c -g -O2 conftest.c >&5
|
|
configure:3964: $? = 0
|
|
configure:3972: result: yes
|
|
configure:3975: checking whether _XOPEN_SOURCE should be defined
|
|
configure:3997: gcc -c -g -O2 conftest.c >&5
|
|
configure:3997: $? = 0
|
|
configure:4024: result: no
|
|
configure:4134: checking how to print strings
|
|
configure:4161: result: printf
|
|
configure:4182: checking for a sed that does not truncate output
|
|
configure:4252: result: /usr/bin/sed
|
|
configure:4270: checking for grep that handles long lines and -e
|
|
configure:4334: result: /usr/bin/grep
|
|
configure:4339: checking for egrep
|
|
configure:4407: result: /usr/bin/grep -E
|
|
configure:4412: checking for fgrep
|
|
configure:4480: result: /usr/bin/grep -F
|
|
configure:4516: checking for ld used by gcc
|
|
configure:4584: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
|
configure:4591: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
|
|
configure:4607: result: no
|
|
configure:4619: checking for BSD- or MS-compatible name lister (nm)
|
|
configure:4674: result: /usr/bin/nm -B
|
|
configure:4814: checking the name lister (/usr/bin/nm -B) interface
|
|
configure:4822: gcc -c -g -O2 conftest.c >&5
|
|
configure:4825: /usr/bin/nm -B "conftest.o"
|
|
configure:4828: output
|
|
000000000000025c S _some_variable
|
|
0000000000000000 t ltmp0
|
|
000000000000025c s ltmp1
|
|
configure:4835: result: BSD nm
|
|
configure:4838: checking whether ln -s works
|
|
configure:4842: result: yes
|
|
configure:4850: checking the maximum length of command line arguments
|
|
configure:4982: result: 786432
|
|
configure:5030: checking how to convert aarch64-apple-darwin22.4.0 file names to aarch64-apple-darwin22.4.0 format
|
|
configure:5071: result: func_convert_file_noop
|
|
configure:5078: checking how to convert aarch64-apple-darwin22.4.0 file names to toolchain format
|
|
configure:5099: result: func_convert_file_noop
|
|
configure:5106: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
|
|
configure:5114: result: -r
|
|
configure:5193: checking for file
|
|
configure:5214: found /usr/bin/file
|
|
configure:5225: result: file
|
|
configure:5301: checking for objdump
|
|
configure:5322: found /usr/bin/objdump
|
|
configure:5333: result: objdump
|
|
configure:5362: checking how to recognize dependent libraries
|
|
configure:5563: result: pass_all
|
|
configure:5653: checking for dlltool
|
|
configure:5688: result: no
|
|
configure:5715: checking how to associate runtime and link libraries
|
|
configure:5743: result: printf %s\n
|
|
configure:5808: checking for ar
|
|
configure:5829: found /usr/bin/ar
|
|
configure:5840: result: ar
|
|
configure:5893: checking for archiver @FILE support
|
|
configure:5911: gcc -c -g -O2 conftest.c >&5
|
|
configure:5911: $? = 0
|
|
configure:5915: ar cr libconftest.a @conftest.lst >&5
|
|
ar: @conftest.lst: No such file or directory
|
|
configure:5918: $? = 1
|
|
configure:5938: result: no
|
|
configure:6001: checking for strip
|
|
configure:6022: found /usr/bin/strip
|
|
configure:6033: result: strip
|
|
configure:6110: checking for ranlib
|
|
configure:6131: found /usr/bin/ranlib
|
|
configure:6142: result: ranlib
|
|
configure:6219: checking for gawk
|
|
configure:6240: found /opt/homebrew/bin/gawk
|
|
configure:6251: result: gawk
|
|
configure:6291: checking command to parse /usr/bin/nm -B output from gcc object
|
|
configure:6445: gcc -c -g -O2 conftest.c >&5
|
|
configure:6448: $? = 0
|
|
configure:6452: /usr/bin/nm -B conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
|
|
configure:6455: $? = 0
|
|
cannot find nm_test_var in conftest.nm
|
|
configure:6445: gcc -c -g -O2 conftest.c >&5
|
|
configure:6448: $? = 0
|
|
configure:6452: /usr/bin/nm -B conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
|
|
configure:6455: $? = 0
|
|
configure:6521: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
|
|
warning: (arm64) could not find object file symbol for symbol _main
|
|
configure:6524: $? = 0
|
|
configure:6562: result: ok
|
|
configure:6609: checking for sysroot
|
|
configure:6640: result: no
|
|
configure:6647: checking for a working dd
|
|
configure:6691: result: /bin/dd
|
|
configure:6695: checking how to truncate binary pipes
|
|
configure:6711: result: /bin/dd bs=4096 count=1
|
|
configure:7048: checking for mt
|
|
configure:7083: result: no
|
|
configure:7103: checking if : is a manifest tool
|
|
configure:7110: : '-?'
|
|
configure:7118: result: no
|
|
configure:7179: checking for dsymutil
|
|
configure:7200: found /usr/bin/dsymutil
|
|
configure:7211: result: dsymutil
|
|
configure:7281: checking for nmedit
|
|
configure:7302: found /usr/bin/nmedit
|
|
configure:7313: result: nmedit
|
|
configure:7383: checking for lipo
|
|
configure:7404: found /usr/bin/lipo
|
|
configure:7415: result: lipo
|
|
configure:7485: checking for otool
|
|
configure:7506: found /usr/bin/otool
|
|
configure:7517: result: otool
|
|
configure:7587: checking for otool64
|
|
configure:7622: result: no
|
|
configure:7667: checking for -single_module linker flag
|
|
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
|
|
configure:7701: result: yes
|
|
configure:7704: checking for -exported_symbols_list linker flag
|
|
configure:7725: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
|
|
configure:7725: $? = 0
|
|
configure:7736: result: yes
|
|
configure:7739: checking for -force_load linker flag
|
|
gcc -g -O2 -c -o conftest.o conftest.c
|
|
ar cr libconftest.a conftest.o
|
|
ranlib libconftest.a
|
|
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
|
|
configure:7772: result: yes
|
|
configure:7839: checking for dlfcn.h
|
|
configure:7839: gcc -c -g -O2 conftest.c >&5
|
|
configure:7839: $? = 0
|
|
configure:7839: result: yes
|
|
configure:8426: checking for objdir
|
|
configure:8442: result: .libs
|
|
configure:8706: checking if gcc supports -fno-rtti -fno-exceptions
|
|
configure:8725: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
|
|
configure:8729: $? = 0
|
|
configure:8742: result: yes
|
|
configure:9100: checking for gcc option to produce PIC
|
|
configure:9108: result: -fno-common -DPIC
|
|
configure:9116: checking if gcc PIC flag -fno-common -DPIC works
|
|
configure:9135: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
|
|
configure:9139: $? = 0
|
|
configure:9152: result: yes
|
|
configure:9181: checking if gcc static flag -static works
|
|
configure:9210: result: no
|
|
configure:9225: checking if gcc supports -c -o file.o
|
|
configure:9247: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
|
|
configure:9251: $? = 0
|
|
configure:9273: result: yes
|
|
configure:9281: checking if gcc supports -c -o file.o
|
|
configure:9329: result: yes
|
|
configure:9362: checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
|
|
configure:10630: result: yes
|
|
configure:10871: checking dynamic linker characteristics
|
|
configure:11692: result: darwin22.4.0 dyld
|
|
configure:11814: checking how to hardcode library paths into programs
|
|
configure:11839: result: immediate
|
|
configure:12391: checking whether stripping libraries is possible
|
|
configure:12408: result: yes
|
|
configure:12442: checking if libtool supports shared libraries
|
|
configure:12444: result: yes
|
|
configure:12447: checking whether to build shared libraries
|
|
configure:12472: result: yes
|
|
configure:12475: checking whether to build static libraries
|
|
configure:12479: result: yes
|
|
configure:12540: checking for ld
|
|
configure:12671: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
|
configure:12678: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
|
|
configure:12694: result: no
|
|
configure:12700: checking for shared library path variable
|
|
configure:12714: result: DYLD_LIBRARY_PATH
|
|
configure:12719: checking whether to activate relocatable installation
|
|
configure:12735: result: no
|
|
configure:12895: checking whether the -Werror option is usable
|
|
configure:12914: gcc -c -g -O2 -Werror conftest.c >&5
|
|
configure:12914: $? = 0
|
|
configure:12924: result: yes
|
|
configure:12926: checking for simple visibility declarations
|
|
configure:12958: gcc -c -g -O2 -fvisibility=hidden -Werror conftest.c >&5
|
|
configure:12958: $? = 0
|
|
configure:12968: result: yes
|
|
configure:12984: checking for nl_langinfo and CODESET
|
|
configure:13001: gcc -o conftest -g -O2 conftest.c >&5
|
|
configure:13001: $? = 0
|
|
configure:13011: result: yes
|
|
configure:13023: checking for symlink
|
|
configure:13023: gcc -o conftest -g -O2 conftest.c >&5
|
|
configure:13023: $? = 0
|
|
configure:13023: result: yes
|
|
configure:13037: checking for working fcntl.h
|
|
configure:13148: gcc -o conftest -g -O2 conftest.c >&5
|
|
conftest.c:52:12: error: unknown type name 'GL_MDA_DEFINES'
|
|
GL_MDA_DEFINES
|
|
^
|
|
1 error generated.
|
|
configure:13148: $? = 1
|
|
configure: program exited with status 1
|
|
configure: failed program was:
|
|
| /* confdefs.h */
|
|
| #define PACKAGE_NAME "libcharset"
|
|
| #define PACKAGE_TARNAME "libcharset"
|
|
| #define PACKAGE_VERSION "1.5"
|
|
| #define PACKAGE_STRING "libcharset 1.5"
|
|
| #define PACKAGE_BUGREPORT ""
|
|
| #define PACKAGE_URL ""
|
|
| #define HAVE_STDIO_H 1
|
|
| #define HAVE_STDLIB_H 1
|
|
| #define HAVE_STRING_H 1
|
|
| #define HAVE_INTTYPES_H 1
|
|
| #define HAVE_STDINT_H 1
|
|
| #define HAVE_STRINGS_H 1
|
|
| #define HAVE_SYS_STAT_H 1
|
|
| #define HAVE_SYS_TYPES_H 1
|
|
| #define HAVE_UNISTD_H 1
|
|
| #define HAVE_WCHAR_H 1
|
|
| #define STDC_HEADERS 1
|
|
| #define _ALL_SOURCE 1
|
|
| #define _DARWIN_C_SOURCE 1
|
|
| #define _GNU_SOURCE 1
|
|
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
|
|
| #define _NETBSD_SOURCE 1
|
|
| #define _OPENBSD_SOURCE 1
|
|
| #define _POSIX_PTHREAD_SEMANTICS 1
|
|
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
|
|
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|
|
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
|
|
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
|
|
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
|
|
| #define __STDC_WANT_LIB_EXT2__ 1
|
|
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
|
|
| #define _TANDEM_SOURCE 1
|
|
| #define __EXTENSIONS__ 1
|
|
| #define HAVE_DLFCN_H 1
|
|
| #define LT_OBJDIR ".libs/"
|
|
| #define INSTALLPREFIX "/Users/yangzuhao/Downloads/libiconv-1.17/output"
|
|
| #define HAVE_VISIBILITY 1
|
|
| #define HAVE_LANGINFO_CODESET 1
|
|
| #define HAVE_SYMLINK 1
|
|
| /* end confdefs.h. */
|
|
| #include <sys/types.h>
|
|
| #include <sys/stat.h>
|
|
| #if HAVE_UNISTD_H
|
|
| # include <unistd.h>
|
|
| #else /* on Windows with MSVC */
|
|
| # include <io.h>
|
|
| # include <stdlib.h>
|
|
| # defined sleep(n) _sleep ((n) * 1000)
|
|
| #endif
|
|
| #include <fcntl.h>
|
|
| GL_MDA_DEFINES
|
|
| #ifndef O_NOATIME
|
|
| #define O_NOATIME 0
|
|
| #endif
|
|
| #ifndef O_NOFOLLOW
|
|
| #define O_NOFOLLOW 0
|
|
| #endif
|
|
| static int const constants[] =
|
|
| {
|
|
| O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
|
|
| O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
|
|
| };
|
|
|
|
|
| int
|
|
| main (void)
|
|
| {
|
|
|
|
|
| int result = !constants;
|
|
| #if HAVE_SYMLINK
|
|
| {
|
|
| static char const sym[] = "conftest.sym";
|
|
| if (symlink ("/dev/null", sym) != 0)
|
|
| result |= 2;
|
|
| else
|
|
| {
|
|
| int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
|
|
| if (fd >= 0)
|
|
| {
|
|
| close (fd);
|
|
| result |= 4;
|
|
| }
|
|
| }
|
|
| if (unlink (sym) != 0 || symlink (".", sym) != 0)
|
|
| result |= 2;
|
|
| else
|
|
| {
|
|
| int fd = open (sym, O_RDONLY | O_NOFOLLOW);
|
|
| if (fd >= 0)
|
|
| {
|
|
| close (fd);
|
|
| result |= 4;
|
|
| }
|
|
| }
|
|
| unlink (sym);
|
|
| }
|
|
| #endif
|
|
| {
|
|
| static char const file[] = "confdefs.h";
|
|
| int fd = open (file, O_RDONLY | O_NOATIME);
|
|
| if (fd < 0)
|
|
| result |= 8;
|
|
| else
|
|
| {
|
|
| struct stat st0;
|
|
| if (fstat (fd, &st0) != 0)
|
|
| result |= 16;
|
|
| else
|
|
| {
|
|
| char c;
|
|
| sleep (1);
|
|
| if (read (fd, &c, 1) != 1)
|
|
| result |= 24;
|
|
| else
|
|
| {
|
|
| if (close (fd) != 0)
|
|
| result |= 32;
|
|
| else
|
|
| {
|
|
| struct stat st1;
|
|
| if (stat (file, &st1) != 0)
|
|
| result |= 40;
|
|
| else
|
|
| if (st0.st_atime != st1.st_atime)
|
|
| result |= 64;
|
|
| }
|
|
| }
|
|
| }
|
|
| }
|
|
| }
|
|
| return result;
|
|
| ;
|
|
| return 0;
|
|
| }
|
|
configure:13165: result: no
|
|
configure:13184: checking for setlocale
|
|
configure:13184: gcc -o conftest -g -O2 conftest.c >&5
|
|
configure:13184: $? = 0
|
|
configure:13184: result: yes
|
|
configure:13326: creating ./config.status
|
|
|
|
## ---------------------- ##
|
|
## Running config.status. ##
|
|
## ---------------------- ##
|
|
|
|
This file was extended by libcharset config.status 1.5, which was
|
|
generated by GNU Autoconf 2.71. Invocation command line was
|
|
|
|
CONFIG_FILES =
|
|
CONFIG_HEADERS =
|
|
CONFIG_LINKS =
|
|
CONFIG_COMMANDS =
|
|
$ ./config.status
|
|
|
|
on Yaha-baidu
|
|
|
|
config.status:1084: creating Makefile
|
|
config.status:1084: creating lib/Makefile
|
|
config.status:1084: creating include/libcharset.h
|
|
config.status:1084: creating include/libcharset.h.inst
|
|
config.status:1084: creating include/localcharset.h
|
|
config.status:1084: creating include/localcharset.h.inst
|
|
config.status:1084: creating config.h
|
|
config.status:1273: executing libtool commands
|
|
|
|
## ---------------- ##
|
|
## Cache variables. ##
|
|
## ---------------- ##
|
|
|
|
ac_cv_build=aarch64-apple-darwin22.4.0
|
|
ac_cv_c_compiler_gnu=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_LT_SYS_LIBRARY_PATH_set=
|
|
ac_cv_env_LT_SYS_LIBRARY_PATH_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_setlocale=yes
|
|
ac_cv_func_symlink=yes
|
|
ac_cv_header_dlfcn_h=yes
|
|
ac_cv_header_inttypes_h=yes
|
|
ac_cv_header_minix_config_h=no
|
|
ac_cv_header_stdint_h=yes
|
|
ac_cv_header_stdio_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_header_wchar_h=yes
|
|
ac_cv_host=aarch64-apple-darwin22.4.0
|
|
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='/opt/homebrew/bin/ginstall -c'
|
|
ac_cv_path_lt_DD=/bin/dd
|
|
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_DSYMUTIL=dsymutil
|
|
ac_cv_prog_ac_ct_FILECMD=file
|
|
ac_cv_prog_ac_ct_LIPO=lipo
|
|
ac_cv_prog_ac_ct_NMEDIT=nmedit
|
|
ac_cv_prog_ac_ct_OBJDUMP=objdump
|
|
ac_cv_prog_ac_ct_OTOOL=otool
|
|
ac_cv_prog_ac_ct_RANLIB=ranlib
|
|
ac_cv_prog_ac_ct_STRIP=strip
|
|
ac_cv_prog_cc_c11=
|
|
ac_cv_prog_cc_g=yes
|
|
ac_cv_prog_cc_stdc=
|
|
ac_cv_prog_make_make_set=yes
|
|
ac_cv_safe_to_define___extensions__=yes
|
|
ac_cv_should_define__xopen_source=no
|
|
acl_cv_libpath=DYLD_LIBRARY_PATH
|
|
acl_cv_prog_gnu_ld=no
|
|
acl_cv_shlibpath_var=DYLD_LIBRARY_PATH
|
|
am_cv_langinfo_codeset=yes
|
|
gl_cv_cc_vis_werror=yes
|
|
gl_cv_cc_visibility=yes
|
|
gl_cv_header_working_fcntl_h=no
|
|
lt_cv_apple_cc_single_mod=yes
|
|
lt_cv_ar_at_file=no
|
|
lt_cv_deplibs_check_method=pass_all
|
|
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
|
lt_cv_file_magic_test_file=
|
|
lt_cv_ld_exported_symbols_list=yes
|
|
lt_cv_ld_force_load=yes
|
|
lt_cv_ld_reload_flag=-r
|
|
lt_cv_nm_interface='BSD nm'
|
|
lt_cv_objdir=.libs
|
|
lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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='-fno-common -DPIC'
|
|
lt_cv_prog_compiler_pic_works=yes
|
|
lt_cv_prog_compiler_rtti_exceptions=yes
|
|
lt_cv_prog_compiler_static_works=no
|
|
lt_cv_prog_gnu_ld=no
|
|
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
|
|
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
|
|
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
|
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
|
|
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
|
|
lt_cv_sys_global_symbol_to_import=
|
|
lt_cv_sys_max_cmd_len=786432
|
|
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
|
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
|
|
|
|
## ----------------- ##
|
|
## Output variables. ##
|
|
## ----------------- ##
|
|
|
|
AR='ar'
|
|
AS='as'
|
|
AWK='gawk'
|
|
CC='gcc'
|
|
CFLAGS='-g -O2'
|
|
CFLAG_VISIBILITY='-fvisibility=hidden'
|
|
CPP='gcc -E'
|
|
CPPFLAGS=''
|
|
DEFS='-DHAVE_CONFIG_H'
|
|
DLLTOOL='false'
|
|
DSYMUTIL='dsymutil'
|
|
DUMPBIN=''
|
|
ECHO_C='\c'
|
|
ECHO_N=''
|
|
ECHO_T=''
|
|
EGREP='/usr/bin/grep -E'
|
|
EXEEXT=''
|
|
FGREP='/usr/bin/grep -F'
|
|
FILECMD='file'
|
|
GREP='/usr/bin/grep'
|
|
HAVE_VISIBILITY='1'
|
|
INSTALL_DATA='${INSTALL} -m 644'
|
|
INSTALL_PROGRAM='${INSTALL}'
|
|
INSTALL_PROGRAM_ENV=''
|
|
INSTALL_SCRIPT='${INSTALL}'
|
|
LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
|
|
LDFLAGS=''
|
|
LIBOBJS=''
|
|
LIBS=''
|
|
LIBTOOL='/bin/sh $(top_builddir)/libtool'
|
|
LIPO='lipo'
|
|
LN_S='ln -s'
|
|
LTLIBOBJS=''
|
|
LT_SYS_LIBRARY_PATH=''
|
|
MANIFEST_TOOL=':'
|
|
NM='/usr/bin/nm -B'
|
|
NMEDIT='nmedit'
|
|
OBJDUMP='objdump'
|
|
OBJEXT='o'
|
|
OTOOL64=':'
|
|
OTOOL='otool'
|
|
PACKAGE_BUGREPORT=''
|
|
PACKAGE_NAME='libcharset'
|
|
PACKAGE_STRING='libcharset 1.5'
|
|
PACKAGE_TARNAME='libcharset'
|
|
PACKAGE_URL=''
|
|
PACKAGE_VERSION='1.5'
|
|
PATH_SEPARATOR=':'
|
|
RANLIB='ranlib'
|
|
RELOCATABLE='no'
|
|
RELOCATABLE_BUILD_DIR='$(top_builddir)/'
|
|
RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'
|
|
RELOCATABLE_LDFLAGS=''
|
|
RELOCATABLE_LIBRARY_PATH=''
|
|
RELOCATABLE_SRC_DIR='$(top_srcdir)/'
|
|
RELOCATABLE_STRIP=':'
|
|
RELOCATABLE_VIA_LD_FALSE=''
|
|
RELOCATABLE_VIA_LD_TRUE='#'
|
|
RELOCATABLE_VIA_WRAPPER_FALSE=''
|
|
RELOCATABLE_VIA_WRAPPER_TRUE='#'
|
|
SED='/usr/bin/sed'
|
|
SET_MAKE=''
|
|
SHELL='/bin/sh'
|
|
STRIP='strip'
|
|
ac_ct_AR='ar'
|
|
ac_ct_CC='gcc'
|
|
ac_ct_DUMPBIN=''
|
|
bindir='${exec_prefix}/bin'
|
|
build='aarch64-apple-darwin22.4.0'
|
|
build_alias=''
|
|
build_cpu='aarch64'
|
|
build_os='darwin22.4.0'
|
|
build_vendor='apple'
|
|
datadir='${datarootdir}'
|
|
datarootdir='${prefix}/share'
|
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
|
dvidir='${docdir}'
|
|
exec_prefix='${prefix}'
|
|
host='aarch64-apple-darwin22.4.0'
|
|
host_alias=''
|
|
host_cpu='aarch64'
|
|
host_os='darwin22.4.0'
|
|
host_vendor='apple'
|
|
htmldir='${docdir}'
|
|
includedir='${prefix}/include'
|
|
infodir='${datarootdir}/info'
|
|
libdir='${exec_prefix}/lib'
|
|
libexecdir='${exec_prefix}/libexec'
|
|
localedir='${datarootdir}/locale'
|
|
localstatedir='${prefix}/var'
|
|
mandir='${datarootdir}/man'
|
|
oldincludedir='/usr/include'
|
|
pdfdir='${docdir}'
|
|
prefix='/Users/yangzuhao/Downloads/libiconv-1.17/output'
|
|
program_transform_name='s,x,x,'
|
|
psdir='${docdir}'
|
|
runstatedir='${localstatedir}/run'
|
|
sbindir='${exec_prefix}/sbin'
|
|
sharedstatedir='${prefix}/com'
|
|
sysconfdir='${prefix}/etc'
|
|
target_alias=''
|
|
|
|
## ----------- ##
|
|
## confdefs.h. ##
|
|
## ----------- ##
|
|
|
|
/* confdefs.h */
|
|
#define PACKAGE_NAME "libcharset"
|
|
#define PACKAGE_TARNAME "libcharset"
|
|
#define PACKAGE_VERSION "1.5"
|
|
#define PACKAGE_STRING "libcharset 1.5"
|
|
#define PACKAGE_BUGREPORT ""
|
|
#define PACKAGE_URL ""
|
|
#define HAVE_STDIO_H 1
|
|
#define HAVE_STDLIB_H 1
|
|
#define HAVE_STRING_H 1
|
|
#define HAVE_INTTYPES_H 1
|
|
#define HAVE_STDINT_H 1
|
|
#define HAVE_STRINGS_H 1
|
|
#define HAVE_SYS_STAT_H 1
|
|
#define HAVE_SYS_TYPES_H 1
|
|
#define HAVE_UNISTD_H 1
|
|
#define HAVE_WCHAR_H 1
|
|
#define STDC_HEADERS 1
|
|
#define _ALL_SOURCE 1
|
|
#define _DARWIN_C_SOURCE 1
|
|
#define _GNU_SOURCE 1
|
|
#define _HPUX_ALT_XOPEN_SOCKET_API 1
|
|
#define _NETBSD_SOURCE 1
|
|
#define _OPENBSD_SOURCE 1
|
|
#define _POSIX_PTHREAD_SEMANTICS 1
|
|
#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
|
|
#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
|
|
#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
|
|
#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
|
|
#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
|
|
#define __STDC_WANT_LIB_EXT2__ 1
|
|
#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
|
|
#define _TANDEM_SOURCE 1
|
|
#define __EXTENSIONS__ 1
|
|
#define HAVE_DLFCN_H 1
|
|
#define LT_OBJDIR ".libs/"
|
|
#define INSTALLPREFIX "/Users/yangzuhao/Downloads/libiconv-1.17/output"
|
|
#define HAVE_VISIBILITY 1
|
|
#define HAVE_LANGINFO_CODESET 1
|
|
#define HAVE_SYMLINK 1
|
|
#define HAVE_WORKING_O_NOATIME 0
|
|
#define HAVE_WORKING_O_NOFOLLOW 0
|
|
#define HAVE_SETLOCALE 1
|
|
|
|
configure: exit 0
|