This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU units configure 2.01, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure --datadir=/usr/share/units --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --build=i686-uhu-linux --host=i686-uhu-linux --disable-static CFLAGS=-O2 -march=i686 -mtune=generic ## --------- ## ## Platform. ## ## --------- ## hostname = hp07 uname -m = i686 uname -r = 3.15.4-1.i386 uname -s = Linux uname -v = #2 SMP Tue Jul 8 09:03:00 UTC 2014 /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/lib/uhubuild PATH: /usr/lib/ccache PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2116: checking for i686-uhu-linux-gcc configure:2132: found /usr/bin/i686-uhu-linux-gcc configure:2143: result: i686-uhu-linux-gcc configure:2218: checking for C compiler version configure:2227: i686-uhu-linux-gcc --version >&5 i686-uhu-linux-gcc (GCC) 4.8.3 Copyright (C) 2013 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:2238: $? = 0 configure:2227: i686-uhu-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=i686-uhu-linux-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-uhu-linux/4.8.3/lto-wrapper Target: i686-uhu-linux Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --build=i686-uhu-linux --host=i686-uhu-linux --target=i686-uhu-linux --enable-languages=c,c++,objc,java,fortran --enable-shared --enable-targets=all --disable-multilib --with-gnu-as --with-gnu-ld --with-system-zlib --with-arch-32=i686 --with-arch-64=core2 --with-cpu-32=i686 --with-cpu-64=core2 --with-tune=generic Thread model: posix gcc version 4.8.3 (GCC) configure:2238: $? = 0 configure:2227: i686-uhu-linux-gcc -V >&5 i686-uhu-linux-gcc: error: unrecognized command line option '-V' i686-uhu-linux-gcc: fatal error: no input files compilation terminated. configure:2238: $? = 1 configure:2227: i686-uhu-linux-gcc -qversion >&5 i686-uhu-linux-gcc: error: unrecognized command line option '-qversion' i686-uhu-linux-gcc: fatal error: no input files compilation terminated. configure:2238: $? = 1 configure:2258: checking whether the C compiler works configure:2280: i686-uhu-linux-gcc -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2284: $? = 0 configure:2332: result: yes configure:2335: checking for C compiler default output file name configure:2337: result: a.out configure:2343: checking for suffix of executables configure:2350: i686-uhu-linux-gcc -o conftest -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2354: $? = 0 configure:2376: result: configure:2398: checking whether we are cross compiling configure:2406: i686-uhu-linux-gcc -o conftest -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2410: $? = 0 configure:2417: ./conftest configure:2421: $? = 0 configure:2436: result: no configure:2441: checking for suffix of object files configure:2463: i686-uhu-linux-gcc -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2467: $? = 0 configure:2488: result: o configure:2492: checking whether we are using the GNU C compiler configure:2511: i686-uhu-linux-gcc -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2511: $? = 0 configure:2520: result: yes configure:2529: checking whether i686-uhu-linux-gcc accepts -g configure:2549: i686-uhu-linux-gcc -c -g conftest.c >&5 configure:2549: $? = 0 configure:2590: result: yes configure:2607: checking for i686-uhu-linux-gcc option to accept ISO C89 configure:2671: i686-uhu-linux-gcc -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2671: $? = 0 configure:2684: result: none needed configure:2704: checking for i686-uhu-linux-gcc option to accept ISO C99 configure:2853: i686-uhu-linux-gcc -c -O2 -march=i686 -mtune=generic conftest.c >&5 conftest.c:59:29: error: expected ';', ',' or ')' before 'text' test_restrict (ccp restrict text) ^ conftest.c: In function 'main': conftest.c:113:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' char *restrict newvar = "Another string"; ^ conftest.c:113:18: error: 'newvar' undeclared (first use in this function) conftest.c:113:18: note: each undeclared identifier is reported only once for each function it appears in conftest.c:123:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < ia->datasize; ++i) ^ conftest.c:123:3: note: use option -std=c99 or -std=gnu99 to compile your code configure:2853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU units" | #define PACKAGE_TARNAME "units" | #define PACKAGE_VERSION "2.01" | #define PACKAGE_STRING "GNU units 2.01" | #define PACKAGE_BUGREPORT "adrianm@gnu.org" | #define PACKAGE_URL "http://www.gnu.org/software/units/" | /* 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:2853: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2853: $? = 0 configure:2873: result: -std=gnu99 configure:2889: checking for an ANSI C-conforming const configure:2954: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:2954: $? = 0 configure:2961: result: yes configure:3012: checking for a BSD-compatible install configure:3080: result: /bin/install -c configure:3093: checking for library containing sin configure:3124: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c >&5 conftest.c:16:6: warning: conflicting types for built-in function 'sin' [enabled by default] char sin (); ^ /tmp/ccGlXdc5.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `sin' collect2: error: ld returned 1 exit status configure:3124: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU units" | #define PACKAGE_TARNAME "units" | #define PACKAGE_VERSION "2.01" | #define PACKAGE_STRING "GNU units 2.01" | #define PACKAGE_BUGREPORT "adrianm@gnu.org" | #define PACKAGE_URL "http://www.gnu.org/software/units/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char sin (); | int | main () | { | return sin (); | ; | return 0; | } configure:3124: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lm >&5 conftest.c:16:6: warning: conflicting types for built-in function 'sin' [enabled by default] char sin (); ^ configure:3124: $? = 0 configure:3141: result: -lm configure:3155: checking for readline in -lreadline configure:3180: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3180: $? = 0 configure:3189: result: yes configure:3203: checking how to run the C preprocessor configure:3234: i686-uhu-linux-gcc -std=gnu99 -E conftest.c configure:3234: $? = 0 configure:3248: i686-uhu-linux-gcc -std=gnu99 -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:3248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU units" | #define PACKAGE_TARNAME "units" | #define PACKAGE_VERSION "2.01" | #define PACKAGE_STRING "GNU units 2.01" | #define PACKAGE_BUGREPORT "adrianm@gnu.org" | #define PACKAGE_URL "http://www.gnu.org/software/units/" | /* end confdefs.h. */ | #include configure:3273: result: i686-uhu-linux-gcc -std=gnu99 -E configure:3293: i686-uhu-linux-gcc -std=gnu99 -E conftest.c configure:3293: $? = 0 configure:3307: i686-uhu-linux-gcc -std=gnu99 -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:3307: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU units" | #define PACKAGE_TARNAME "units" | #define PACKAGE_VERSION "2.01" | #define PACKAGE_STRING "GNU units 2.01" | #define PACKAGE_BUGREPORT "adrianm@gnu.org" | #define PACKAGE_URL "http://www.gnu.org/software/units/" | /* end confdefs.h. */ | #include configure:3336: checking for grep that handles long lines and -e configure:3394: result: /bin/grep configure:3399: checking for egrep configure:3461: result: /bin/grep -E configure:3466: checking for ANSI C header files configure:3486: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3486: $? = 0 configure:3559: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3559: $? = 0 configure:3559: ./conftest configure:3559: $? = 0 configure:3570: result: yes configure:3583: checking for sys/types.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for sys/stat.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for stdlib.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for string.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for memory.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for strings.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for inttypes.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for stdint.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3583: checking for unistd.h configure:3583: i686-uhu-linux-gcc -std=gnu99 -c -O2 -march=i686 -mtune=generic conftest.c >&5 configure:3583: $? = 0 configure:3583: result: yes configure:3595: checking for string.h configure:3595: result: yes configure:3603: checking for stdlib.h configure:3603: result: yes configure:3612: checking for strchr configure:3612: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 conftest.c:42:6: warning: conflicting types for built-in function 'strchr' [enabled by default] char strchr (); ^ configure:3612: $? = 0 configure:3612: result: yes configure:3619: checking for strspn configure:3619: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 conftest.c:42:6: warning: conflicting types for built-in function 'strspn' [enabled by default] char strspn (); ^ configure:3619: $? = 0 configure:3619: result: yes configure:3626: checking for strtok configure:3626: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3626: $? = 0 configure:3626: result: yes configure:3634: checking for setenv configure:3634: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3634: $? = 0 configure:3634: result: yes configure:3641: checking for setlocale configure:3641: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3641: $? = 0 configure:3641: result: yes configure:3649: checking for locale and UTF-8 support configure:3673: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 conftest.c: In function 'main': conftest.c:30:6: warning: passing argument 2 of 'mbsrtowcs' from incompatible pointer type [enabled by default] mbsrtowcs(out, &res, 2, NULL); ^ In file included from conftest.c:21:0: /usr/include/wchar.h:408:15: note: expected 'const char ** restrict' but argument is of type 'char **' extern size_t mbsrtowcs (wchar_t *__restrict __dst, ^ configure:3673: $? = 0 configure:3682: result: yes configure:3689: checking for isfinite configure:3708: i686-uhu-linux-gcc -std=gnu99 -o conftest -O2 -march=i686 -mtune=generic conftest.c -lreadline -lm >&5 configure:3708: $? = 0 configure:3717: result: yes configure:3884: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by GNU units config.status 2.01, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on hp07 config.status:744: creating Makefile configure:4905: WARNING: unrecognized options: --enable-shared, --disable-static ## ---------------- ## ## Cache variables. ## ## ---------------- ## 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=set ac_cv_env_CFLAGS_value='-O2 -march=i686 -mtune=generic ' 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=set ac_cv_env_build_alias_value=i686-uhu-linux ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-uhu-linux ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_setenv=yes ac_cv_func_setlocale=yes ac_cv_func_strchr=yes ac_cv_func_strspn=yes ac_cv_func_strtok=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_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_lib_readline_readline=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/bin/install -c' ac_cv_prog_CC=i686-uhu-linux-gcc ac_cv_prog_CPP='i686-uhu-linux-gcc -std=gnu99 -E' ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_search_sin=-lm am_cv_isfinite=yes am_cv_utf8=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='i686-uhu-linux-gcc -std=gnu99' CFLAGS='-O2 -march=i686 -mtune=generic ' CPP='i686-uhu-linux-gcc -std=gnu99 -E' CPPFLAGS='' DEFIS=' -DREADLINE -DSUPPORT_UTF8' DEFS='-DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.01\" -DPACKAGE_STRING=\"GNU\ units\ 2.01\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='-lreadline -lm ' LTLIBOBJS='' OBJEXT='o' PACKAGE_BUGREPORT='adrianm@gnu.org' PACKAGE_NAME='GNU units' PACKAGE_STRING='GNU units 2.01' PACKAGE_TARNAME='units' PACKAGE_URL='http://www.gnu.org/software/units/' PACKAGE_VERSION='2.01' PATH_SEPARATOR=':' SHELL='/bin/sh' STRFUNC='' UDAT='/usr/share/units/units/' ac_ct_CC='' bindir='${exec_prefix}/bin' build_alias='i686-uhu-linux' datadir='/usr/share/units' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='i686-uhu-linux' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU units" #define PACKAGE_TARNAME "units" #define PACKAGE_VERSION "2.01" #define PACKAGE_STRING "GNU units 2.01" #define PACKAGE_BUGREPORT "adrianm@gnu.org" #define PACKAGE_URL "http://www.gnu.org/software/units/" #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 configure: exit 0