[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>

> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

12 messages 2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — nobu.nokada@... 2003/05/29

Hi,

large file compilation issue on solaris with 1.8

From: Daniel Berger <djberge@...>
Date: 2003-05-30 19:30:19 UTC
List: ruby-core #1107
Hi all,

gcc 3.2
Solaris 9
ruby 1.8 (2003-05-29)

When I try to include the sys/procfs.h lib (in this case, from my
sys-proctable package), I get this:

gcc -fPIC -g -O2 -I. -I/opt/lib/ruby/1.8/sparc-solaris2.9
-I/opt/lib/ruby/1.8/sparc-solaris2.9 -I. -DHAVE_PROCFS_H
-DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64 -c proctable.c
In file included from /usr/include/procfs.h:26,
                 from lib/os/sunos.h:18,
                 from proctable.c:11:
/usr/include/sys/procfs.h:44:2: #error "Cannot use procfs in the large
file compilation environment"
make: *** [proctable.o] Error 1

I don't have this issue with 1.6.8

Any ideas?

Dan

Here's the complete config.log for 1.8 (2003-05-29)
---

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.53.  Invocation command line was

  $ ./configure --prefix=/opt

## --------- ##
## Platform. ##
## --------- ##

hostname = sp5wd-b1
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = sp5wd-b1
Release = 5.9
KernelID = Generic
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/local/lib
PATH: /usr/local/include
PATH: /usr/ccs/bin
PATH: /usr/ccs/lib
PATH: /opt/sfw/bin
PATH: /opt/sfw/lib
PATH: /opt/bin
PATH: /opt/lib
PATH: /usr/X/bin
PATH: /usr/X/lib
PATH: /usr/dt/bin
PATH: /usr/dt/lib
PATH: /usr/local/ssl/bin
PATH: /usr/local/ssl/lib
PATH: /bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /usr/lib
PATH: /usr/ucb
PATH: /opt/oracle/home/bin
PATH: /opt/oracle/home/lib
PATH: /opt/sfw/mysql
PATH: /opt/sfw/mysql/bin
PATH: /opt/sfw/mysql/lib
PATH: /usr/local/qt
PATH: /usr/local/qt/bin
PATH: /usr/local/qt/lib
PATH: /opt/oracle
PATH: /opt/oracle/bin
PATH: /opt/oracle/lib
PATH: /usr/local/eclipse


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1281: checking build system type
configure:1299: result: sparc-sun-solaris2.9
configure:1307: checking host system type
configure:1321: result: sparc-sun-solaris2.9
configure:1329: checking target system type
configure:1343: result: sparc-sun-solaris2.9
configure:1569: checking for gcc
configure:1585: found /usr/local/bin/gcc
configure:1595: result: gcc
configure:1839: checking for C compiler version
configure:1842: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 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:1845: $? = 0
configure:1847: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
configure:1850: $? = 0
configure:1852: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1855: $? = 1
configure:1881: checking for C compiler default output
configure:1884: gcc    conftest.c  >&5
configure:1887: $? = 0
configure:1920: result: a.out
configure:1925: checking whether the C compiler works
configure:1931: ./a.out
configure:1934: $? = 0
configure:1949: result: yes
configure:1956: checking whether we are cross compiling
configure:1958: result: no
configure:1961: checking for suffix of executables
configure:1963: gcc -o conftest    conftest.c  >&5
configure:1966: $? = 0
configure:1988: result: 
configure:1994: checking for suffix of object files
configure:2018: gcc -c   conftest.c >&5
configure:2021: $? = 0
configure:2040: result: o
configure:2044: checking whether we are using the GNU C compiler
configure:2071: gcc -c   conftest.c >&5
configure:2074: $? = 0
configure:2077: test -s conftest.o
configure:2080: $? = 0
configure:2092: result: yes
configure:2098: checking whether gcc accepts -g
configure:2122: gcc -c -g  conftest.c >&5
configure:2125: $? = 0
configure:2128: test -s conftest.o
configure:2131: $? = 0
configure:2141: result: yes
configure:2168: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2171: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2287: checking how to run the C preprocessor
configure:2313: gcc -E  conftest.c
configure:2319: $? = 0
configure:2346: gcc -E  conftest.c
configure:2342:28: ac_nonexistent.h: No such file or directory
configure:2352: $? = 1
configure: failed program was:
#line 2341 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2389: result: gcc -E
configure:2404: gcc -E  conftest.c
configure:2410: $? = 0
configure:2437: gcc -E  conftest.c
configure:2433:28: ac_nonexistent.h: No such file or directory
configure:2443: $? = 1
configure: failed program was:
#line 2432 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2484: checking whether gcc needs -traditional
configure:2520: result: no
configure:2528: checking whether the linker is GNU ld
configure:2540: result: no
configure:2544: checking whether gcc -E accepts -o
configure:2556: gcc -E -o conftest.i conftest.c
configure:2562: $? = 0
configure:2583: result: yes
configure:2649: checking for bison
configure:2665: found /usr/local/bin/bison
configure:2675: result: bison -y
configure:2727: checking for ranlib
configure:2743: found /usr/local/bin/ranlib
configure:2754: result: ranlib
configure:2807: checking for ar
configure:2823: found /usr/local/bin/ar
configure:2833: result: ar
configure:3225: checking whether ln -s works
configure:3229: result: yes
configure:3236: checking whether make sets ${MAKE}
configure:3256: result: yes
configure:3268: checking for AIX
configure:3287: result: no
configure:3293: checking for ANSI C header files
configure:3307: gcc -E  conftest.c
configure:3313: $? = 0
configure:3398: gcc -o conftest -g -O2   conftest.c  >&5
configure:3401: $? = 0
configure:3403: ./conftest
configure:3406: $? = 0
configure:3420: result: yes
configure:3444: checking for sys/types.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for sys/stat.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for stdlib.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for string.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for memory.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for strings.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for inttypes.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3444: checking for stdint.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3485:20: stdint.h: No such file or directory
configure:3460: $? = 1
configure: failed program was:
#line 3449 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:3476: result: no
configure:3444: checking for unistd.h
configure:3457: gcc -c -g -O2  conftest.c >&5
configure:3460: $? = 0
configure:3463: test -s conftest.o
configure:3466: $? = 0
configure:3476: result: yes
configure:3498: checking minix/config.h usability
configure:3507: gcc -c -g -O2  conftest.c >&5
configure:3535:26: minix/config.h: No such file or directory
configure:3510: $? = 1
configure: failed program was:
#line 3500 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <minix/config.h>
configure:3525: result: no
configure:3529: checking minix/config.h presence
configure:3536: gcc -E  conftest.c
configure:3532:26: minix/config.h: No such file or directory
configure:3542: $? = 1
configure: failed program was:
#line 3531 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:3560: result: no
configure:3578: checking for minix/config.h
configure:3585: result: no
configure:3622: checking for special C compiler options needed for large
files
configure:3702: result: no
configure:3708: checking for _FILE_OFFSET_BITS value needed for large
files
configure:3742: gcc -c -g -O2  conftest.c >&5
configure:3722: warning: left shift count >= width of type
configure:3722: warning: left shift count >= width of type
configure:3724: size of array `off_t_is_large' is negative
configure:3745: $? = 1
configure: failed program was:
#line 3715 "configure"
#include "confdefs.h"
#include <sys/types.h>
 /* Check that off_t can represent 2**63 - 1 correctly.
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
		       && LARGE_OFF_T % 2147483647 == 1)
		      ? 1 : -1];
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:3787: gcc -c -g -O2  conftest.c >&5
configure:3790: $? = 0
configure:3793: test -s conftest.o
configure:3796: $? = 0
configure:3807: result: 64
configure:3817: checking for _LARGE_FILES value needed for large files
configure:3851: gcc -c -g -O2  conftest.c >&5
configure:3854: $? = 0
configure:3857: test -s conftest.o
configure:3860: $? = 0
configure:3916: result: no
configure:3929: checking for long long
configure:3956: gcc -c -g -O2  conftest.c >&5
configure:3959: $? = 0
configure:3962: test -s conftest.o
configure:3965: $? = 0
configure:3975: result: yes
configure:3985: checking for off_t
configure:4012: gcc -c -g -O2  conftest.c >&5
configure:4015: $? = 0
configure:4018: test -s conftest.o
configure:4021: $? = 0
configure:4031: result: yes
configure:4043: checking for int
configure:4070: gcc -c -g -O2  conftest.c >&5
configure:4073: $? = 0
configure:4076: test -s conftest.o
configure:4079: $? = 0
configure:4089: result: yes
configure:4092: checking size of int
configure:4370: gcc -o conftest -g -O2   conftest.c  >&5
configure:4373: $? = 0
configure:4375: ./conftest
configure:4378: $? = 0
configure:4398: result: 4
configure:4405: checking for short
configure:4432: gcc -c -g -O2  conftest.c >&5
configure:4435: $? = 0
configure:4438: test -s conftest.o
configure:4441: $? = 0
configure:4451: result: yes
configure:4454: checking size of short
configure:4732: gcc -o conftest -g -O2   conftest.c  >&5
configure:4735: $? = 0
configure:4737: ./conftest
configure:4740: $? = 0
configure:4760: result: 2
configure:4767: checking for long
configure:4794: gcc -c -g -O2  conftest.c >&5
configure:4797: $? = 0
configure:4800: test -s conftest.o
configure:4803: $? = 0
configure:4813: result: yes
configure:4816: checking size of long
configure:5094: gcc -o conftest -g -O2   conftest.c  >&5
configure:5097: $? = 0
configure:5099: ./conftest
configure:5102: $? = 0
configure:5122: result: 4
configure:5129: checking for long long
configure:5175: result: yes
configure:5178: checking size of long long
configure:5456: gcc -o conftest -g -O2   conftest.c  >&5
configure:5459: $? = 0
configure:5461: ./conftest
configure:5464: $? = 0
configure:5484: result: 8
configure:5491: checking for __int64
configure:5518: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:5540: `__int64' undeclared (first use in this function)
configure:5540: (Each undeclared identifier is reported only once
configure:5540: for each function it appears in.)
configure:5540: parse error before ')' token
configure:5521: $? = 1
configure: failed program was:
#line 5496 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
if ((__int64 *) 0)
  return 0;
if (sizeof (__int64))
  return 0;
  ;
  return 0;
}
configure:5537: result: no
configure:5540: checking size of __int64
configure:5846: result: 0
configure:5853: checking for off_t
configure:5899: result: yes
configure:5902: checking size of off_t
configure:6180: gcc -o conftest -g -O2   conftest.c  >&5
configure:6183: $? = 0
configure:6185: ./conftest
configure:6188: $? = 0
configure:6208: result: 8
configure:6215: checking for void*
configure:6242: gcc -c -g -O2  conftest.c >&5
configure:6245: $? = 0
configure:6248: test -s conftest.o
configure:6251: $? = 0
configure:6261: result: yes
configure:6264: checking size of void*
configure:6542: gcc -o conftest -g -O2   conftest.c  >&5
configure:6545: $? = 0
configure:6547: ./conftest
configure:6550: $? = 0
configure:6570: result: 4
configure:6577: checking for float
configure:6604: gcc -c -g -O2  conftest.c >&5
configure:6607: $? = 0
configure:6610: test -s conftest.o
configure:6613: $? = 0
configure:6623: result: yes
configure:6626: checking size of float
configure:6904: gcc -o conftest -g -O2   conftest.c  >&5
configure:6907: $? = 0
configure:6909: ./conftest
configure:6912: $? = 0
configure:6932: result: 4
configure:6939: checking for double
configure:6966: gcc -c -g -O2  conftest.c >&5
configure:6969: $? = 0
configure:6972: test -s conftest.o
configure:6975: $? = 0
configure:6985: result: yes
configure:6988: checking size of double
configure:7266: gcc -o conftest -g -O2   conftest.c  >&5
configure:7269: $? = 0
configure:7271: ./conftest
configure:7274: $? = 0
configure:7294: result: 8
configure:7302: checking for prototypes
configure:7326: gcc -c -g -O2  conftest.c >&5
configure:7329: $? = 0
configure:7332: test -s conftest.o
configure:7335: $? = 0
configure:7345: result: yes
configure:7354: checking token paste string
configure:7378: gcc -c -g -O2  conftest.c >&5
configure:7381: $? = 0
configure:7384: test -s conftest.o
configure:7387: $? = 0
configure:7397: result: ansi
configure:7411: checking for variable length prototypes and stdarg.h
configure:7445: gcc -c -g -O2  conftest.c >&5
configure:7448: $? = 0
configure:7451: test -s conftest.o
configure:7454: $? = 0
configure:7464: result: yes
configure:7473: checking for noreturn
configure:7500: gcc -c -g -O2  conftest.c >&5
configure:7503: $? = 0
configure:7506: test -s conftest.o
configure:7509: $? = 0
configure:7519: result: x __attribute__ ((noreturn))
configure:7526: checking whether sys_nerr is declared
configure:7555: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:7578: `sys_nerr' undeclared (first use in this function)
configure:7578: (Each undeclared identifier is reported only once
configure:7578: for each function it appears in.)
configure:7558: $? = 1
configure: failed program was:
#line 7531 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <errno.h>

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
#ifndef sys_nerr
  char *p = (char *) sys_nerr;
#endif

  ;
  return 0;
}
configure:7574: result: no
configure:7817: checking for crypt in -lcrypt
configure:7850: gcc -o conftest -g -O2   conftest.c -lcrypt  -lm  >&5
configure:7853: $? = 0
configure:7856: test -s conftest
configure:7859: $? = 0
configure:7870: result: yes
configure:7882: checking for dlopen in -ldl
configure:7915: gcc -o conftest -g -O2   conftest.c -ldl  -lcrypt -lm 
>&5
configure:7918: $? = 0
configure:7921: test -s conftest
configure:7924: $? = 0
configure:7935: result: yes
configure:7947: checking for shl_load in -ldld
configure:7980: gcc -o conftest -g -O2   conftest.c -ldld  -ldl -lcrypt
-lm  >&5
ld: fatal: library -ldld: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:7983: $? = 1
configure: failed program was:
#line 7954 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char shl_load ();
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
shl_load ();
  ;
  return 0;
}
configure:8000: result: no
configure:8020: checking for dirent.h that defines DIR
configure:8047: gcc -c -g -O2  conftest.c >&5
configure:8050: $? = 0
configure:8053: test -s conftest.o
configure:8056: $? = 0
configure:8066: result: yes
configure:8079: checking for library containing opendir
configure:8112: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:8115: $? = 0
configure:8118: test -s conftest
configure:8121: $? = 0
configure:8180: result: none required
configure:8298: checking for ANSI C header files
configure:8425: result: yes
configure:8435: checking for sys/wait.h that is POSIX.1 compatible
configure:8469: gcc -c -g -O2  conftest.c >&5
configure:8472: $? = 0
configure:8475: test -s conftest.o
configure:8478: $? = 0
configure:8488: result: yes
configure:8527: checking for stdlib.h
configure:8532: result: yes
configure:8527: checking for string.h
configure:8532: result: yes
configure:8527: checking for unistd.h
configure:8532: result: yes
configure:8536: checking limits.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking limits.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for limits.h
configure:8623: result: yes
configure:8536: checking sys/file.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/file.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/file.h
configure:8623: result: yes
configure:8536: checking sys/ioctl.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/ioctl.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/ioctl.h
configure:8623: result: yes
configure:8536: checking fcntl.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking fcntl.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for fcntl.h
configure:8623: result: yes
configure:8536: checking sys/fcntl.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/fcntl.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/fcntl.h
configure:8623: result: yes
configure:8536: checking sys/select.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/select.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/select.h
configure:8623: result: yes
configure:8536: checking sys/time.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/time.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/time.h
configure:8623: result: yes
configure:8536: checking sys/times.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/times.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/times.h
configure:8623: result: yes
configure:8536: checking sys/param.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/param.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/param.h
configure:8623: result: yes
configure:8536: checking syscall.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8573:21: syscall.h: No such file or directory
configure:8548: $? = 1
configure: failed program was:
#line 8538 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <syscall.h>
configure:8563: result: no
configure:8567: checking syscall.h presence
configure:8574: gcc -E  conftest.c
configure:8570:21: syscall.h: No such file or directory
configure:8580: $? = 1
configure: failed program was:
#line 8569 "configure"
#include "confdefs.h"
#include <syscall.h>
configure:8598: result: no
configure:8616: checking for syscall.h
configure:8623: result: no
configure:8536: checking pwd.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking pwd.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for pwd.h
configure:8623: result: yes
configure:8536: checking a.out.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8573:19: a.out.h: No such file or directory
configure:8548: $? = 1
configure: failed program was:
#line 8538 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <a.out.h>
configure:8563: result: no
configure:8567: checking a.out.h presence
configure:8574: gcc -E  conftest.c
configure:8570:19: a.out.h: No such file or directory
configure:8580: $? = 1
configure: failed program was:
#line 8569 "configure"
#include "confdefs.h"
#include <a.out.h>
configure:8598: result: no
configure:8616: checking for a.out.h
configure:8623: result: no
configure:8536: checking utime.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking utime.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for utime.h
configure:8623: result: yes
configure:8527: checking for memory.h
configure:8532: result: yes
configure:8536: checking direct.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8573:20: direct.h: No such file or directory
configure:8548: $? = 1
configure: failed program was:
#line 8538 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <direct.h>
configure:8563: result: no
configure:8567: checking direct.h presence
configure:8574: gcc -E  conftest.c
configure:8570:20: direct.h: No such file or directory
configure:8580: $? = 1
configure: failed program was:
#line 8569 "configure"
#include "confdefs.h"
#include <direct.h>
configure:8598: result: no
configure:8616: checking for direct.h
configure:8623: result: no
configure:8536: checking sys/resource.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/resource.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/resource.h
configure:8623: result: yes
configure:8536: checking sys/mkdev.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/mkdev.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/mkdev.h
configure:8623: result: yes
configure:8536: checking sys/utime.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking sys/utime.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for sys/utime.h
configure:8623: result: yes
configure:8536: checking float.h usability
configure:8545: gcc -c -g -O2  conftest.c >&5
configure:8548: $? = 0
configure:8551: test -s conftest.o
configure:8554: $? = 0
configure:8563: result: yes
configure:8567: checking float.h presence
configure:8574: gcc -E  conftest.c
configure:8580: $? = 0
configure:8598: result: yes
configure:8616: checking for float.h
configure:8623: result: yes
configure:8637: checking for uid_t in sys/types.h
configure:8657: result: yes
configure:8672: checking for size_t
configure:8699: gcc -c -g -O2  conftest.c >&5
configure:8702: $? = 0
configure:8705: test -s conftest.o
configure:8708: $? = 0
configure:8718: result: yes
configure:8731: checking for struct stat.st_blksize
configure:8757: gcc -c -g -O2  conftest.c >&5
configure:8760: $? = 0
configure:8763: test -s conftest.o
configure:8766: $? = 0
configure:8776: result: yes
configure:8792: checking for struct stat.st_blocks
configure:8818: gcc -c -g -O2  conftest.c >&5
configure:8821: $? = 0
configure:8824: test -s conftest.o
configure:8827: $? = 0
configure:8837: result: yes
configure:8856: checking for struct stat.st_rdev
configure:8882: gcc -c -g -O2  conftest.c >&5
configure:8885: $? = 0
configure:8888: test -s conftest.o
configure:8891: $? = 0
configure:8901: result: yes
configure:8918: checking type of array argument to getgroups
configure:8953: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:8956: $? = 0
configure:8958: ./conftest
configure:8961: $? = 0
configure:8990: result: gid_t
configure:8998: checking return type of signal handlers
configure:9032: gcc -c -g -O2  conftest.c >&5
configure:9035: $? = 0
configure:9038: test -s conftest.o
configure:9041: $? = 0
configure:9051: result: void
configure:9061: checking for working alloca.h
configure:9085: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9088: $? = 0
configure:9091: test -s conftest
configure:9094: $? = 0
configure:9104: result: yes
configure:9114: checking for alloca
configure:9158: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9161: $? = 0
configure:9164: test -s conftest
configure:9167: $? = 0
configure:9177: result: yes
configure:9367: checking for working memcmp
configure:9418: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9421: $? = 0
configure:9423: ./conftest
configure:9426: $? = 0
configure:9439: result: yes
configure:9443: checking for _LARGEFILE_SOURCE value needed for large
files
configure:9469: gcc -c -g -O2  conftest.c >&5
configure:9472: $? = 0
configure:9475: test -s conftest.o
configure:9478: $? = 0
configure:9526: result: no
configure:9540: checking for fseeko
configure:9564: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9567: $? = 0
configure:9570: test -s conftest
configure:9573: $? = 0
configure:9583: result: yes
configure:9597: checking for ftello
configure:9640: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9643: $? = 0
configure:9646: test -s conftest
configure:9649: $? = 0
configure:9659: result: yes
configure:9692: checking for dup2
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for memmove
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for mkdir
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strcasecmp
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strncasecmp
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strerror
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strftime
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strchr
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9707: warning: conflicting types for built-in function
`strchr'
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strstr
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9707: warning: conflicting types for built-in function
`strstr'
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for strtoul
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for crypt
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for flock
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
flock                               /var/tmp//cci3ZqrF.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9738: $? = 1
configure: failed program was:
#line 9697 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char flock (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char flock ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_flock) || defined (__stub___flock)
choke me
#else
f = flock;
#endif

  ;
  return 0;
}
configure:9754: result: no
configure:9692: checking for vsnprintf
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for isinf
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
isinf                               /var/tmp//ccY1NF5w.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9738: $? = 1
configure: failed program was:
#line 9697 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char isinf (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char isinf ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_isinf) || defined (__stub___isinf)
choke me
#else
f = isinf;
#endif

  ;
  return 0;
}
configure:9754: result: no
configure:9692: checking for isnan
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for finite
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for hypot
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9692: checking for acosh
configure:9735: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9738: $? = 0
configure:9741: test -s conftest
configure:9744: $? = 0
configure:9754: result: yes
configure:9825: checking for fmod
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for killpg
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for wait4
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for waitpid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for syscall
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for chroot
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for fsync
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for truncate
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for chsize
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
chsize                              /var/tmp//ccMk5B7O.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char chsize (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char chsize ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_chsize) || defined (__stub___chsize)
choke me
#else
f = chsize;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for times
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for utimes
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for fcntl
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for lockf
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for lstat
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for symlink
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for readlink
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setitimer
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setruid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
setruid                             /var/tmp//ccxwXLBf.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setruid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char setruid ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setruid) || defined (__stub___setruid)
choke me
#else
f = setruid;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for seteuid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setreuid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setresuid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
setresuid                           /var/tmp//ccsmcAMa.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setresuid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char setresuid ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setresuid) || defined (__stub___setresuid)
choke me
#else
f = setresuid;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for setproctitle
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
setproctitle                        /var/tmp//ccaNPq89.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setproctitle (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char setproctitle ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setproctitle) || defined (__stub___setproctitle)
choke me
#else
f = setproctitle;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for setrgid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
setrgid                             /var/tmp//ccYJ4w5Q.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setrgid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char setrgid ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setrgid) || defined (__stub___setrgid)
choke me
#else
f = setrgid;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for setegid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setregid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setresgid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
setresgid                           /var/tmp//ccIOyP0U.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setresgid (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char setresgid ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setresgid) || defined (__stub___setresgid)
choke me
#else
f = setresgid;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for pause
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for lchown
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for lchmod
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
lchmod                              /var/tmp//ccmDsMnM.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char lchmod (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char lchmod ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_lchmod) || defined (__stub___lchmod)
choke me
#else
f = lchmod;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for getpgrp
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setpgrp
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for getpgid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setpgid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for getgroups
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for getpriority
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for getrlimit
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for dlopen
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for sigprocmask
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for sigaction
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for _setjmp
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for setsid
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for telldir
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for seekdir
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for fchmod
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for mktime
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for timegm
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
Undefined			first referenced
 symbol  			    in file
timegm                              /var/tmp//ccmEEMtt.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:9871: $? = 1
configure: failed program was:
#line 9830 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char timegm (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char timegm ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_timegm) || defined (__stub___timegm)
choke me
#else
f = timegm;
#endif

  ;
  return 0;
}
configure:9887: result: no
configure:9825: checking for cosh
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for sinh
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9825: checking for tanh
configure:9868: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:9871: $? = 0
configure:9874: test -s conftest
configure:9877: $? = 0
configure:9887: result: yes
configure:9897: checking whether struct tm is in sys/time.h or time.h
configure:9923: gcc -c -g -O2  conftest.c >&5
configure:9926: $? = 0
configure:9929: test -s conftest.o
configure:9932: $? = 0
configure:9942: result: time.h
configure:9952: checking for struct tm.tm_zone
configure:9981: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:9972: structure has no member named `tm_zone'
configure:9984: $? = 1
configure: failed program was:
#line 9957 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>


#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
static struct tm ac_aggr;
if (ac_aggr.tm_zone)
return 0;
  ;
  return 0;
}
configure:10000: result: no
configure:10018: checking for tzname
configure:10046: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:10049: $? = 0
configure:10052: test -s conftest
configure:10055: $? = 0
configure:10065: result: yes
configure:10076: checking for struct tm.tm_gmtoff
configure:10100: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:10092: structure has no member named `tm_gmtoff'
configure:10103: $? = 1
configure: failed program was:
#line 10081 "configure"
#include "confdefs.h"
#include <time.h>
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
struct tm t; t.tm_gmtoff = 3600;
  ;
  return 0;
}
configure:10119: result: no
configure:10127: checking for external int daylight
configure:10152: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:10155: $? = 0
configure:10158: test -s conftest
configure:10161: $? = 0
configure:10171: result: yes
configure:10179: checking for negative time_t for gmtime(3)
configure:10222: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:10225: $? = 0
configure:10227: ./conftest
configure:10230: $? = 0
configure:10243: result: yes
configure:10321: checking whether getpgrp requires zero arguments
configure:10346: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:10371: too many arguments to function `getpgrp'
configure:10349: $? = 1
configure: failed program was:
#line 10327 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
getpgrp (0);
  ;
  return 0;
}
configure:10366: result: yes
configure:10376: checking whether setpgrp takes no argument
configure:10411: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure: In function `main':
configure:10403: too many arguments to function `setpgrp'
configure:10414: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 10386 "configure"
#include "confdefs.h"
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* If this system has a BSD-style setpgrp which takes arguments,
  setpgrp(1, 1) will fail with ESRCH and return -1, in that case
  exit successfully. */
  exit (setpgrp (1,1) == -1 ? 0 : 1);
  ;
  return 0;
}
configure:10432: result: yes
configure:10443: checking whether byte ordering is bigendian
configure:10473: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:10463: `bogus' undeclared (first use in this function)
configure:10463: (Each undeclared identifier is reported only once
configure:10463: for each function it appears in.)
configure:10463: parse error before "endian"
configure:10476: $? = 1
configure: failed program was:
#line 10449 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif

  ;
  return 0;
}
configure:10603: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:10606: $? = 0
configure:10608: ./conftest
configure:10611: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 10586 "configure"
#include "confdefs.h"
int
main ()
{
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
configure:10626: result: yes
configure:10645: checking for gcc option to accept ANSI C
configure:10708: gcc  -c -g -O2  conftest.c >&5
configure:10711: $? = 0
configure:10714: test -s conftest.o
configure:10717: $? = 0
configure:10734: result: none needed
configure:10742: checking for an ANSI C-conforming const
configure:10812: gcc -c -g -O2  conftest.c >&5
configure:10815: $? = 0
configure:10818: test -s conftest.o
configure:10821: $? = 0
configure:10831: result: yes
configure:10842: checking whether char is unsigned
configure:10868: gcc -c -g -O2  conftest.c >&5
configure:10871: $? = 0
configure:10874: test -s conftest.o
configure:10877: $? = 0
configure:10887: result: no
configure:10896: checking for inline
configure:10913: gcc -c -g -O2  conftest.c >&5
configure:10916: $? = 0
configure:10919: test -s conftest.o
configure:10922: $? = 0
configure:10933: result: inline
configure:10949: checking whether right shift preserve sign bit
configure:10971: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:10974: $? = 0
configure:10976: ./conftest
configure:10979: $? = 0
configure:10992: result: yes
configure:11006: checking read count field in FILE structures
configure:11032: gcc -c -g -O2  conftest.c >&5
configure:11035: $? = 0
configure:11038: test -s conftest.o
configure:11041: $? = 0
configure:11057: result: _cnt
configure:11065: checking read buffer ptr field in FILE structures
configure:11091: gcc -c -g -O2  conftest.c >&5
configure: In function `main':
configure:11083: structure has no member named `_IO_read_ptr'
configure:11094: $? = 1
configure: failed program was:
#line 11071 "configure"
#include "confdefs.h"
#include <stdio.h>

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
FILE *f = stdin; char buf[256]; f->_IO_read_ptr = buf;
  ;
  return 0;
}
configure:11091: gcc -c -g -O2  conftest.c >&5
configure:11094: $? = 0
configure:11097: test -s conftest.o
configure:11100: $? = 0
configure:11116: result: _ptr
configure:11186: checking whether need to seek between R/W
configure:11251: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:11254: $? = 0
configure:11256: ./conftest
configure:11259: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 11194 "configure"
#include "confdefs.h"

#include <stdio.h>
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
#define before_seek(f) fflush(f)
#define reset_rw(f) (f,0)
#define do_seek(f, w) (before_seek(f), fseek(f,0,w))

char *fn = "conftest.dat";
char *wombat = "wombat\n";
char *koara = "koara\n";
char *kangaroo = "kangaroo\n";

int main()
{
    char buf[BUFSIZ];
    FILE *f;
    int r = 1;

    if (!(f = fopen(fn, "w+"))) return 1;
    fputs(wombat, f);
    do_seek(f, SEEK_SET);
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, wombat)) goto fail;
    reset_rw(f);
    fputs(koara, f);
    fputs(kangaroo, f);
    do_seek(f, SEEK_SET);
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, wombat)) goto fail;
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, koara)) goto fail;
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, kangaroo)) goto fail;
    do_seek(f, SEEK_SET);
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, wombat)) goto fail;
    reset_rw(f);
    fputc('X', f);
    reset_rw(f);
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, koara+1)) goto fail;
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, kangaroo)) goto fail;
    do_seek(f, SEEK_SET);
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, wombat)) goto fail;
    if (!fgets(buf, BUFSIZ, f) || buf[0] != 'X' || strcmp(buf+1,
koara+1)) goto fail;
    if (!fgets(buf, BUFSIZ, f) || strcmp(buf, kangaroo)) goto fail;
    r = 0;
  fail:
    fclose(f);
    unlink(fn);
    return r;
}

configure:11272: result: yes
configure:11280: checking whether need to flush before seek
configure:11345: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:11348: $? = 0
configure:11350: ./conftest
configure:11353: $? = 0
configure:11366: result: no
configure:11409: checking whether ELF binaries are produced
configure:11439: gcc -o conftest -g -O2   conftest.c -ldl -lcrypt -lm 
>&5
configure:11442: $? = 0
configure:11444: ./conftest
configure:11447: $? = 0
configure:11460: result: yes
configure:11496: checking whether OS depend dynamic link works
configure:11632: result: yes
configure:12507: checking for nroff
configure:12526: found /usr/bin/nroff
configure:12538: result: /usr/bin/nroff
configure:12678: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on sp5wd-b1

config.status:629: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=sparc-sun-solaris2.9
ac_cv_build_alias=sparc-sun-solaris2.9
ac_cv_c_bigendian=yes
ac_cv_c_char_unsigned=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
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_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_exeext=
ac_cv_func__setjmp=yes
ac_cv_func_acosh=yes
ac_cv_func_alloca_works=yes
ac_cv_func_chroot=yes
ac_cv_func_chsize=no
ac_cv_func_cosh=yes
ac_cv_func_crypt=yes
ac_cv_func_dlopen=yes
ac_cv_func_dup2=yes
ac_cv_func_fchmod=yes
ac_cv_func_fcntl=yes
ac_cv_func_finite=yes
ac_cv_func_flock=no
ac_cv_func_fmod=yes
ac_cv_func_fseeko=yes
ac_cv_func_fsync=yes
ac_cv_func_ftello=yes
ac_cv_func_getgroups=yes
ac_cv_func_getpgid=yes
ac_cv_func_getpgrp=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpriority=yes
ac_cv_func_getrlimit=yes
ac_cv_func_hypot=yes
ac_cv_func_isinf=no
ac_cv_func_isnan=yes
ac_cv_func_killpg=yes
ac_cv_func_lchmod=no
ac_cv_func_lchown=yes
ac_cv_func_lockf=yes
ac_cv_func_lstat=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memmove=yes
ac_cv_func_mkdir=yes
ac_cv_func_mktime=yes
ac_cv_func_pause=yes
ac_cv_func_readlink=yes
ac_cv_func_seekdir=yes
ac_cv_func_setegid=yes
ac_cv_func_seteuid=yes
ac_cv_func_setitimer=yes
ac_cv_func_setpgid=yes
ac_cv_func_setpgrp=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setproctitle=no
ac_cv_func_setregid=yes
ac_cv_func_setresgid=no
ac_cv_func_setresuid=no
ac_cv_func_setreuid=yes
ac_cv_func_setrgid=no
ac_cv_func_setruid=no
ac_cv_func_setsid=yes
ac_cv_func_sigaction=yes
ac_cv_func_sigprocmask=yes
ac_cv_func_sinh=yes
ac_cv_func_strcasecmp=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_strncasecmp=yes
ac_cv_func_strstr=yes
ac_cv_func_strtoul=yes
ac_cv_func_symlink=yes
ac_cv_func_syscall=yes
ac_cv_func_tanh=yes
ac_cv_func_telldir=yes
ac_cv_func_timegm=no
ac_cv_func_times=yes
ac_cv_func_truncate=yes
ac_cv_func_utimes=yes
ac_cv_func_vsnprintf=yes
ac_cv_func_wait4=yes
ac_cv_func_waitpid=yes
ac_cv_have_decl_sys_nerr=no
ac_cv_header_a_out_h=no
ac_cv_header_direct_h=no
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_float_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_pwd_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_fcntl_h=yes
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_mkdev_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_times_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_utime_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_syscall_h=no
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_host=sparc-sun-solaris2.9
ac_cv_host_alias=sparc-sun-solaris2.9
ac_cv_lib_crypt_crypt=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_dld_shl_load=no
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_member_struct_stat_st_blocks=yes
ac_cv_member_struct_stat_st_rdev=yes
ac_cv_member_struct_tm_tm_zone=no
ac_cv_objext=o
ac_cv_path_NROFF=/usr/bin/nroff
ac_cv_prog_CPP=$'gcc -E'
ac_cv_prog_YACC=$'bison -y'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_gcc_traditional=no
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir=$'none required'
ac_cv_sizeof___int64=0
ac_cv_sizeof_double=8
ac_cv_sizeof_float=4
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short=2
ac_cv_sizeof_voidp=4
ac_cv_struct_tm=time.h
ac_cv_sys_file_offset_bits=64
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
ac_cv_sys_largefile_source=no
ac_cv_target=sparc-sun-solaris2.9
ac_cv_target_alias=sparc-sun-solaris2.9
ac_cv_type___int64=no
ac_cv_type_double=yes
ac_cv_type_float=yes
ac_cv_type_getgroups=gid_t
ac_cv_type_int=yes
ac_cv_type_long=yes
ac_cv_type_long_long=yes
ac_cv_type_off_t=yes
ac_cv_type_short=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_uid_t=yes
ac_cv_type_voidp=yes
ac_cv_var_tzname=yes
ac_cv_working_alloca_h=yes
rb_cv_binary_elf=yes
rb_cv_cppoutfile=yes
rb_cv_dlopen=yes
rb_cv_fcnt=_cnt
rb_cv_frptr=_ptr
rb_cv_have_daylight=yes
rb_cv_have_prototypes=yes
rb_cv_member_struct_tm_tm_gmtoff=no
rb_cv_need_io_flush_before_seek=no
rb_cv_need_io_seek_between_rw=yes
rb_cv_negative_time_t=yes
rb_cv_noreturn=$'x __attribute__ ((noreturn))'
rb_cv_prog_gnu_ld=no
rb_cv_rshift_sign=yes
rb_cv_stdarg=yes
rb_cv_tokenpaste=ansi

configure: exit 0

In This Thread

Prev Next