This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./configure --prefix=/opt/local --with-php-config=/opt/local/bin/php-config56 --with-imap=/opt/local --with-imap-ssl=/opt/local --with-kerberos=/opt/local ## --------- ## ## Platform. ## ## --------- ## hostname = Power-Mac-G4.local uname -m = Power Macintosh uname -r = 8.11.0 uname -s = Darwin uname -v = Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC /usr/bin/uname -p = powerpc /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 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Kernel configured for a single processor only. 1 processor is physically available. Processor type: ppc7400 (PowerPC 7400) Processor active: 0 Primary memory available: 768.00 megabytes Default processor set: 78 tasks, 220 threads, 1 processors Load average: 4.12, Mach factor: 0.19 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /opt/local/bin/ PATH: /opt/local/sbin/ PATH: /bin/ PATH: /sbin/ PATH: /usr/bin/ PATH: /usr/sbin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2523: looking for aux files: config.guess config.sub configure:2536: trying ./ configure:2565: ./config.guess found configure:2565: ./config.sub found configure:2680: checking for grep that handles long lines and -e configure:2744: result: /usr/bin/grep configure:2749: checking for egrep configure:2817: result: /usr/bin/grep -E configure:2822: checking for a sed that does not truncate output configure:2877: result: /opt/local/bin/gsed configure:3086: checking for C compiler version configure:3095: /opt/local/bin/gcc-apple-4.2 --version >&5 powerpc-apple-darwin8-gcc-apple-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16) Copyright (C) 2007 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:3106: $? = 0 configure:3095: /opt/local/bin/gcc-apple-4.2 -v >&5 Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/configure --disable-checking --enable-werror --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-gxx-include-dir=/usr/include/c++/4.0.0 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16) configure:3106: $? = 0 configure:3095: /opt/local/bin/gcc-apple-4.2 -V >&5 gcc-apple-4.2: argument to `-V' is missing configure:3106: $? = 1 configure:3095: /opt/local/bin/gcc-apple-4.2 -qversion >&5 powerpc-apple-darwin8-gcc-apple-4.2.1: no input files configure:3106: $? = 1 configure:3095: /opt/local/bin/gcc-apple-4.2 -version >&5 powerpc-apple-darwin8-gcc-apple-4.2.1: no input files configure:3106: $? = 1 configure:3126: checking whether the C compiler works configure:3148: /opt/local/bin/gcc-apple-4.2 -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c >&5 configure:3152: $? = 0 configure:3202: result: yes configure:3205: checking for C compiler default output file name configure:3207: result: a.out configure:3213: checking for suffix of executables configure:3220: /opt/local/bin/gcc-apple-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c >&5 configure:3224: $? = 0 configure:3247: result: configure:3269: checking whether we are cross compiling configure:3277: /opt/local/bin/gcc-apple-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c >&5 configure:3281: $? = 0 configure:3288: ./conftest configure:3292: $? = 0 configure:3307: result: no configure:3312: checking for suffix of object files configure:3335: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 configure:3339: $? = 0 configure:3361: result: o configure:3365: checking whether the compiler supports GNU C configure:3385: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 configure:3385: $? = 0 configure:3395: result: yes configure:3406: checking whether /opt/local/bin/gcc-apple-4.2 accepts -g configure:3427: /opt/local/bin/gcc-apple-4.2 -c -g -I/opt/local/include conftest.c >&5 configure:3427: $? = 0 configure:3471: result: yes configure:3491: checking for /opt/local/bin/gcc-apple-4.2 option to enable C11 features configure:3506: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" conftest.c:116: error: expected ';', ',' or ')' before 'text' conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" conftest.c: In function '_Alignas': conftest.c:169: error: expected declaration specifiers before 'aligned_as_double' conftest.c:170: error: expected declaration specifiers or '...' before numeric constant conftest.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment' conftest.c:171: error: storage class specified for parameter 'aligned_as_int' conftest.c:172: error: expected declaration specifiers or '...' before numeric constant conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas' conftest.c:177: error: expected expression before 'int' conftest.c:177: error: enumerator value for 'int_alignment' is not an integer constant conftest.c:178: error: expected expression before 'int' conftest.c:178: error: enumerator value for 'int_array_alignment' is not an integer constant conftest.c:179: error: expected expression before 'char' conftest.c:180: error: enumerator value for 'char_alignment' is not an integer constant conftest.c:180: warning: empty declaration conftest.c:181: error: expected declaration specifiers before '_Static_assert' conftest.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return' conftest.c:190: error: expected specifier-qualifier-list before '_Static_assert' conftest.c:193: warning: empty declaration conftest.c:197: error: parameter 'utf8_literal' is initialized conftest.c:197: error: 'syntax' undeclared (first use in this function) conftest.c:197: error: (Each undeclared identifier is reported only once conftest.c:197: error: for each function it appears in.) conftest.c:197: error: expected ',' or ';' before 'error' conftest.c:200: error: storage class specified for parameter 'long_ptr' conftest.c:201: error: storage class specified for parameter 'long_ptr' conftest.c:201: error: redefinition of parameter 'long_ptr' conftest.c:200: error: previous definition of 'long_ptr' was here conftest.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr' conftest.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token conftest.c:269: error: old-style parameter declarations in prototyped function definition conftest.c:169: error: parameter name omitted conftest.c:269: error: expected '{' at end of input configure:3506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:3506: /opt/local/bin/gcc-apple-4.2 -std=gnu11 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 cc1: error: unrecognized command line option "-std=gnu11" configure:3506: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | // Does the compiler advertise C11 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L | # error "Compiler does not advertise C11 conformance" | #endif | | // Check _Alignas. | char _Alignas (double) aligned_as_double; | char _Alignas (0) no_special_alignment; | extern char aligned_as_int; | char _Alignas (0) _Alignas (int) aligned_as_int; | | // Check _Alignof. | enum | { | int_alignment = _Alignof (int), | int_array_alignment = _Alignof (int[100]), | char_alignment = _Alignof (char) | }; | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); | | // Check _Noreturn. | int _Noreturn does_not_return (void) { for (;;) continue; } | | // Check _Static_assert. | struct test_static_assert | { | int x; | _Static_assert (sizeof (int) <= sizeof (long int), | "_Static_assert does not work in struct"); | long int y; | }; | | // Check UTF-8 literals. | #define u8 syntax error! | char const utf8_literal[] = u8"happens to be ASCII" "another string"; | | // Check duplicate typedefs. | typedef long *long_ptr; | typedef long int *long_ptr; | typedef long_ptr long_ptr; | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. | struct anonymous | { | union { | struct { int i; int j; }; | struct { int k; long int l; } w; | }; | int m; | } v1; | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | | _Static_assert ((offsetof (struct anonymous, i) | == offsetof (struct anonymous, w.k)), | "Anonymous union alignment botch"); | v1.i = 2; | v1.w.k = 5; | ok |= v1.i != 5; | | return ok; | } | configure:3519: result: unsupported configure:3537: checking for /opt/local/bin/gcc-apple-4.2 option to enable C99 features configure:3552: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" conftest.c:116: error: expected ';', ',' or ')' before 'text' conftest.c: In function 'main': conftest.c:178: error: nested functions are disabled, use -fnested-functions to re-enable conftest.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' conftest.c:178: error: 'newvar' undeclared (first use in this function) conftest.c:178: error: (Each undeclared identifier is reported only once conftest.c:178: error: for each function it appears in.) conftest.c:188: error: 'for' loop initial declaration used outside C99 mode configure:3552: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | /* Does the compiler advertise C89 conformance? | Do not test the value of __STDC__, because some compilers set it to 0 | while being otherwise adequately conformant. */ | #if !defined __STDC__ | # error "Compiler does not advertise C89 conformance" | #endif | | #include | #include | struct stat; | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ | struct buf { int x; }; | struct buf * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not \xHH hex character constants. | These do not provoke an error unfortunately, instead are silently treated | as an "x". The following induces an error, until -std is added to get | proper ANSI mode. Curiously \x00 != x always comes out true, for an | array size at least. It is necessary to write \x00 == 0 to get something | that is true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), | int, int); | | // Does the compiler advertise C99 conformance? | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L | # error "Compiler does not advertise C99 conformance" | #endif | | #include | extern int puts (const char *); | extern int printf (const char *, ...); | extern int dprintf (int, const char *, ...); | extern void *malloc (size_t); | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | // dprintf is used instead of fprintf to avoid needing to declare | // FILE and stderr. | #define debug(...) dprintf (2, __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 | #error "your preprocessor is broken" | #endif | #if BIG_OK | #else | #error "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 bool | 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 = 0; | float fnumber = 0; | | 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); | | return *str && number && fnumber; | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); | | | // Check bool. | _Bool success = false; | success |= (argc != 0); | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | success &= 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[0] = argv[0][0]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | return ok; | } | configure:3552: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5 configure:3552: $? = 0 configure:3573: result: -std=gnu99 configure:3640: checking how to run the C preprocessor configure:3666: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include conftest.c configure:3666: $? = 0 configure:3681: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3708: result: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E configure:3722: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include conftest.c configure:3722: $? = 0 configure:3737: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3770: checking for icc configure:3780: result: no configure:3794: checking for suncc configure:3804: result: no configure:3819: checking whether /opt/local/bin/gcc-apple-4.2 -std=gnu99 and cc understand -c and -o together configure:3851: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o >&5 configure:3855: $? = 0 configure:3861: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o >&5 configure:3865: $? = 0 configure:3876: cc -c conftest.c >&5 configure:3880: $? = 0 configure:3888: cc -c conftest.c -o conftest2.o >&5 configure:3892: $? = 0 configure:3898: cc -c conftest.c -o conftest2.o >&5 configure:3902: $? = 0 configure:3920: result: yes configure:3934: checking for system library directory configure:3950: result: lib configure:3957: checking if compiler supports -R configure:3977: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -R /usr/lib >&5 ld: in /usr/lib, can't map file, errno=22 collect2: ld returned 1 exit status configure:3977: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:3988: result: no configure:3993: checking if compiler supports -Wl,-rpath, configure:4013: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -Wl,-rpath,/usr/lib >&5 ld: -rpath can only be used when targeting Mac OS X 10.5 or later collect2: ld returned 1 exit status configure:4013: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:4024: result: no configure:4043: checking build system type configure:4058: result: powerpc-apple-darwin8.11.0 configure:4078: checking host system type configure:4092: result: powerpc-apple-darwin8.11.0 configure:4112: checking target system type configure:4126: result: powerpc-apple-darwin8.11.0 configure:4230: checking for PHP prefix configure:4232: result: /opt/local configure:4234: checking for PHP includes configure:4236: result: -I/opt/local/include/php56/php -I/opt/local/include/php56/php/main -I/opt/local/include/php56/php/TSRM -I/opt/local/include/php56/php/Zend -I/opt/local/include/php56/php/ext -I/opt/local/include/php56/php/ext/date/lib -I/opt/local/include configure:4238: checking for PHP extension directory configure:4240: result: /opt/local/lib/php56/extensions/no-debug-non-zts-20131226 configure:4242: checking for PHP installed headers prefix configure:4244: result: /opt/local/include/php56/php configure:4247: checking if debug is enabled configure:4274: result: no configure:4277: checking if zts is enabled configure:4304: result: no configure:4375: checking for re2c configure:4396: found /opt/local/bin/re2c configure:4407: result: re2c configure:4416: checking for re2c version configure:4431: result: 3.0 (ok) configure:4450: checking for gawk configure:4486: result: no configure:4450: checking for nawk configure:4486: result: no configure:4450: checking for awk configure:4472: found /usr/bin/awk configure:4483: result: awk configure:4506: checking if awk is broken configure:4513: result: no configure:4538: checking for IMAP support configure:4579: result: yes, shared configure:4588: checking for IMAP Kerberos support configure:4604: result: /opt/local configure:4613: checking for IMAP SSL support configure:4629: result: /opt/local configure:5030: checking for utf8_mime2text signature configure:5053: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -I/opt/local/include/c-client -I/opt/local/include conftest.c >&5 conftest.c: In function 'main': conftest.c:22: error: too few arguments to function 'utf8_mime2text' configure:5053: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | /* end confdefs.h. */ | | #include | #include | | int | main (void) | { | | SIZEDTEXT *src, *dst; | utf8_mime2text(src, dst); | | ; | return 0; | } configure:5066: result: new configure:5077: checking for U8T_DECOMPOSE configure:5098: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -I/opt/local/include/c-client -I/opt/local/include conftest.c >&5 configure:5098: $? = 0 configure:5111: result: configure:5241: checking for pam_start in -lpam configure:5264: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -lpam >&5 configure:5264: $? = 0 configure:5274: result: yes configure:5415: checking for crypt in -lcrypt configure:5438: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -lcrypt >&5 ld: library not found for -lcrypt collect2: ld returned 1 exit status configure:5438: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | #define HAVE_NEW_MIME2TEXT 1 | #define HAVE_LIBPAM 1 | /* 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. */ | char crypt (); | int | main (void) | { | return crypt (); | ; | return 0; | } configure:5448: result: no configure:5638: checking for krb5-config configure:5662: found /opt/local/bin/krb5-config configure:5675: result: /opt/local/bin/krb5-config configure:6058: checking for pkg-config configure:6081: found /opt/local/bin/pkg-config configure:6094: result: /opt/local/bin/pkg-config configure:6275: checking for OpenSSL version configure:6290: result: >= 0.9.6 configure:6431: checking for CRYPTO_free in -lcrypto configure:6454: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -lcrypto >&5 configure:6454: $? = 0 configure:6464: result: yes configure:6608: checking for SSL_CTX_set_ssl_version in -lssl configure:6631: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -lssl -lcrypto >&5 configure:6631: $? = 0 configure:6641: result: yes configure:6835: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -L/opt/local/lib -L/opt/local/lib -lcrypto -lssl -lcrypto -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lc-client4 -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >&5 Undefined symbols: "_SSL_state", referenced from: _ssl_start in libc-client4.a(osdep.o) "_ERR_load_crypto_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSL_load_error_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSLv23_client_method", referenced from: _ssl_start in libc-client4.a(osdep.o) "_sk_num", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSLv23_server_method", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_sk_value", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_get_peer_certificate", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_library_init", referenced from: _ssl_onceonlyinit in libc-client4.a(osdep.o) "_SSL_CTX_set_tmp_rsa_callback", referenced from: _ssl_server_init in libc-client4.a(osdep.o) ld: symbol(s) not found collect2: ld returned 1 exit status configure:6835: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | #define HAVE_NEW_MIME2TEXT 1 | #define HAVE_LIBPAM 1 | #define HAVE_IMAP_KRB 1 | #define HAVE_IMAP_SSL 1 | /* end confdefs.h. */ | | | | #if defined(__GNUC__) && __GNUC__ >= 4 | # define PHP_IMAP_EXPORT __attribute__ ((visibility("default"))) | #else | # define PHP_IMAP_EXPORT | #endif | | PHP_IMAP_EXPORT void mm_log(void){} | PHP_IMAP_EXPORT void mm_dlog(void){} | PHP_IMAP_EXPORT void mm_flags(void){} | PHP_IMAP_EXPORT void mm_fatal(void){} | PHP_IMAP_EXPORT void mm_critical(void){} | PHP_IMAP_EXPORT void mm_nocritical(void){} | PHP_IMAP_EXPORT void mm_notify(void){} | PHP_IMAP_EXPORT void mm_login(void){} | PHP_IMAP_EXPORT void mm_diskerror(void){} | PHP_IMAP_EXPORT void mm_status(void){} | PHP_IMAP_EXPORT void mm_lsub(void){} | PHP_IMAP_EXPORT void mm_list(void){} | PHP_IMAP_EXPORT void mm_exists(void){} | PHP_IMAP_EXPORT void mm_searched(void){} | PHP_IMAP_EXPORT void mm_expunged(void){} | | char auth_gssapi_valid(); | int main() { | auth_gssapi_valid(); | return 0; | } | configure:6904: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -L/opt/local/lib -L/opt/local/lib -lcrypto -lssl -lcrypto -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lc-client4 -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >&5 conftest.c: In function 'utf8_to_mutf7_php': conftest.c:19: warning: implicit declaration of function 'utf8_to_mutf7' Undefined symbols: "_SSL_state", referenced from: _ssl_start in libc-client4.a(osdep.o) "_ERR_load_crypto_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSL_load_error_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSLv23_client_method", referenced from: _ssl_start in libc-client4.a(osdep.o) "_sk_num", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSLv23_server_method", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_sk_value", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_get_peer_certificate", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_library_init", referenced from: _ssl_onceonlyinit in libc-client4.a(osdep.o) "_SSL_CTX_set_tmp_rsa_callback", referenced from: _ssl_server_init in libc-client4.a(osdep.o) ld: symbol(s) not found collect2: ld returned 1 exit status configure:6904: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | #define HAVE_NEW_MIME2TEXT 1 | #define HAVE_LIBPAM 1 | #define HAVE_IMAP_KRB 1 | #define HAVE_IMAP_SSL 1 | /* end confdefs.h. */ | | | char utf8_to_mutf7_php(){ return utf8_to_mutf7(""); } | | | #if defined(__GNUC__) && __GNUC__ >= 4 | # define PHP_IMAP_EXPORT __attribute__ ((visibility("default"))) | #else | # define PHP_IMAP_EXPORT | #endif | | PHP_IMAP_EXPORT void mm_log(void){} | PHP_IMAP_EXPORT void mm_dlog(void){} | PHP_IMAP_EXPORT void mm_flags(void){} | PHP_IMAP_EXPORT void mm_fatal(void){} | PHP_IMAP_EXPORT void mm_critical(void){} | PHP_IMAP_EXPORT void mm_nocritical(void){} | PHP_IMAP_EXPORT void mm_notify(void){} | PHP_IMAP_EXPORT void mm_login(void){} | PHP_IMAP_EXPORT void mm_diskerror(void){} | PHP_IMAP_EXPORT void mm_status(void){} | PHP_IMAP_EXPORT void mm_lsub(void){} | PHP_IMAP_EXPORT void mm_list(void){} | PHP_IMAP_EXPORT void mm_exists(void){} | PHP_IMAP_EXPORT void mm_searched(void){} | PHP_IMAP_EXPORT void mm_expunged(void){} | | char utf8_to_mutf7_php(); | int main() { | utf8_to_mutf7_php(); | return 0; | } | configure:6927: checking whether rfc822_output_address_list function present configure:6976: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -L/opt/local/lib -L/opt/local/lib -lcrypto -lssl -lcrypto -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lc-client4 -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >&5 Undefined symbols: "_SSL_state", referenced from: _ssl_start in libc-client4.a(osdep.o) "_ERR_load_crypto_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSL_load_error_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSLv23_client_method", referenced from: _ssl_start in libc-client4.a(osdep.o) "_sk_num", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSLv23_server_method", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_sk_value", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_get_peer_certificate", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_library_init", referenced from: _ssl_onceonlyinit in libc-client4.a(osdep.o) "_SSL_CTX_set_tmp_rsa_callback", referenced from: _ssl_server_init in libc-client4.a(osdep.o) ld: symbol(s) not found collect2: ld returned 1 exit status configure:6976: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | #define HAVE_NEW_MIME2TEXT 1 | #define HAVE_LIBPAM 1 | #define HAVE_IMAP_KRB 1 | #define HAVE_IMAP_SSL 1 | /* end confdefs.h. */ | | | #if defined(__GNUC__) && __GNUC__ >= 4 | # define PHP_IMAP_EXPORT __attribute__ ((visibility("default"))) | #else | # define PHP_IMAP_EXPORT | #endif | | PHP_IMAP_EXPORT void mm_log(void){} | PHP_IMAP_EXPORT void mm_dlog(void){} | PHP_IMAP_EXPORT void mm_flags(void){} | PHP_IMAP_EXPORT void mm_fatal(void){} | PHP_IMAP_EXPORT void mm_critical(void){} | PHP_IMAP_EXPORT void mm_nocritical(void){} | PHP_IMAP_EXPORT void mm_notify(void){} | PHP_IMAP_EXPORT void mm_login(void){} | PHP_IMAP_EXPORT void mm_diskerror(void){} | PHP_IMAP_EXPORT void mm_status(void){} | PHP_IMAP_EXPORT void mm_lsub(void){} | PHP_IMAP_EXPORT void mm_list(void){} | PHP_IMAP_EXPORT void mm_exists(void){} | PHP_IMAP_EXPORT void mm_searched(void){} | PHP_IMAP_EXPORT void mm_expunged(void){} | void rfc822_output_address_list(void); | void (*f)(void); | char foobar () {f = rfc822_output_address_list;} | | char foobar(); | int main() { | foobar(); | return 0; | } | configure:6992: result: no configure:7003: checking whether build with IMAP works configure:7049: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c -L/opt/local/lib -L/opt/local/lib -lcrypto -lssl -lcrypto -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lc-client4 -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >&5 Undefined symbols: "_SSL_state", referenced from: _ssl_start in libc-client4.a(osdep.o) "_ERR_load_crypto_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSL_load_error_strings", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_SSLv23_client_method", referenced from: _ssl_start in libc-client4.a(osdep.o) "_sk_num", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSLv23_server_method", referenced from: _ssl_server_init in libc-client4.a(osdep.o) "_sk_value", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_get_peer_certificate", referenced from: _ssl_start in libc-client4.a(osdep.o) "_SSL_library_init", referenced from: _ssl_onceonlyinit in libc-client4.a(osdep.o) "_SSL_CTX_set_tmp_rsa_callback", referenced from: _ssl_server_init in libc-client4.a(osdep.o) ld: symbol(s) not found collect2: ld returned 1 exit status configure:7049: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define COMPILE_DL_IMAP 1 | #define HAVE_IMAP 1 | #define HAVE_IMAP2000 1 | #define HAVE_IMAP2004 1 | #define HAVE_NEW_MIME2TEXT 1 | #define HAVE_LIBPAM 1 | #define HAVE_IMAP_KRB 1 | #define HAVE_IMAP_SSL 1 | /* end confdefs.h. */ | | | | #if defined(__GNUC__) && __GNUC__ >= 4 | # define PHP_IMAP_EXPORT __attribute__ ((visibility("default"))) | #else | # define PHP_IMAP_EXPORT | #endif | | PHP_IMAP_EXPORT void mm_log(void){} | PHP_IMAP_EXPORT void mm_dlog(void){} | PHP_IMAP_EXPORT void mm_flags(void){} | PHP_IMAP_EXPORT void mm_fatal(void){} | PHP_IMAP_EXPORT void mm_critical(void){} | PHP_IMAP_EXPORT void mm_nocritical(void){} | PHP_IMAP_EXPORT void mm_notify(void){} | PHP_IMAP_EXPORT void mm_login(void){} | PHP_IMAP_EXPORT void mm_diskerror(void){} | PHP_IMAP_EXPORT void mm_status(void){} | PHP_IMAP_EXPORT void mm_lsub(void){} | PHP_IMAP_EXPORT void mm_list(void){} | PHP_IMAP_EXPORT void mm_exists(void){} | PHP_IMAP_EXPORT void mm_searched(void){} | PHP_IMAP_EXPORT void mm_expunged(void){} | | char mail_newbody(); | int main() { | mail_newbody(); | return 0; | } | configure:7062: result: no configure:7064: error: build test failed. Please check the config.log for details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=powerpc-apple-darwin8.11.0 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/local/bin/gcc-apple-4.2 ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/opt/local/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc' 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_host=powerpc-apple-darwin8.11.0 ac_cv_lib_crypto_CRYPTO_free=yes ac_cv_lib_pam_pam_start=yes ac_cv_lib_ssl_SSL_CTX_set_ssl_version=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_KRB5_CONFIG=/opt/local/bin/krb5-config ac_cv_path_PKG_CONFIG=/opt/local/bin/pkg-config ac_cv_prog_AWK=awk ac_cv_prog_CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E' ac_cv_prog_RE2C=re2c ac_cv_prog_cc__opt_local_bin_gcc_apple_4_2_c_o=yes ac_cv_prog_cc_c11=no ac_cv_prog_cc_c99=-std=gnu99 ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc=-std=gnu99 ac_cv_target=powerpc-apple-darwin8.11.0 ac_cv_u8t_decompose=yes ac_cv_utf8_mime2text=new lt_cv_path_SED=/opt/local/bin/gsed php_cv_cc_dashr=no php_cv_cc_rpath=no php_cv_re2c_version='3.0 (ok)' ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AWK='awk' CC='/opt/local/bin/gcc-apple-4.2 -std=gnu99' CFLAGS='-pipe -Os -arch ppc' CONFIGURE_COMMAND=' '\''./configure'\'' '\''--prefix=/opt/local'\'' '\''--with-php-config=/opt/local/bin/php-config56'\'' '\''--with-imap=/opt/local'\'' '\''--with-imap-ssl=/opt/local'\'' '\''--with-kerberos=/opt/local'\'' '\''CC=/opt/local/bin/gcc-apple-4.2'\'' '\''CFLAGS=-pipe '\''-Os'\'' '\''-arch'\'' '\''LDFLAGS=-L/opt/local/lib '\''-Wl,-headerpad_max_install_names'\'' '\''-arch'\'' '\''CPPFLAGS=-I/opt/local/include'\''' CONFIGURE_OPTIONS=' '\''--prefix=/opt/local'\'' '\''--with-php-config=/opt/local/bin/php-config56'\'' '\''--with-imap=/opt/local'\'' '\''--with-imap-ssl=/opt/local'\'' '\''--with-kerberos=/opt/local'\'' '\''CC=/opt/local/bin/gcc-apple-4.2'\'' '\''CFLAGS=-pipe '\''-Os'\'' '\''-arch'\'' '\''LDFLAGS=-L/opt/local/lib '\''-Wl,-headerpad_max_install_names'\'' '\''-arch'\'' '\''CPPFLAGS=-I/opt/local/include'\''' CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E' CPPFLAGS='-I/opt/local/include' DEFS='' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' GREP='/usr/bin/grep' KRB5_CONFIG='/opt/local/bin/krb5-config' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' NMEDIT='' OBJEXT='o' OPENSSL_INCDIR_OPT='-I/opt/local/include' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='/opt/local/bin/pkg-config' RANLIB='' RE2C='re2c' SED='/opt/local/bin/gsed' SHELL='/bin/sh' SHLIB_DL_SUFFIX_NAME='so' SHLIB_SUFFIX_NAME='dylib' STRIP='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='powerpc-apple-darwin8.11.0' build_alias='' build_cpu='powerpc' build_os='darwin8.11.0' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='powerpc-apple-darwin8.11.0' host_alias='powerpc-apple-darwin8.11.0' host_cpu='powerpc' host_os='darwin8.11.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='/opt/local' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='powerpc-apple-darwin8.11.0' target_alias='' target_cpu='powerpc' target_os='darwin8.11.0' target_vendor='apple' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define COMPILE_DL_IMAP 1 #define HAVE_IMAP 1 #define HAVE_IMAP2000 1 #define HAVE_IMAP2004 1 #define HAVE_NEW_MIME2TEXT 1 #define HAVE_LIBPAM 1 #define HAVE_IMAP_KRB 1 #define HAVE_IMAP_SSL 1 configure: exit 1