help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs X11 will not compile


From: eoakes
Subject: emacs X11 will not compile
Date: Sat, 05 Feb 2005 21:13:37 -0800
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

A similar problem was reported by Maureen Woodyard on May 8,  2003 in


   RE: linux compile fails on sys_error / stdio.h incompatible



I am trying to install emacs on P4, with 512 meg, using a 845GE mother board, running a fresh install of suse linux 9.2. The install was from a downloaded dvd and all updates were installed. The installation was for the standard KDE, with the development versions loaded. I also added some additional files I thought useful.

My first attempt was using downloaded RPM files. I loaded the required RPMs I could find, but when trying to load the main emacs RPM I got a emacs_program is required. As near as I can find there is no such RPM.

I gave up on the RPMs and un-installed them!

I downloaded emacs-21.3.tar.gz, expanded it , ran ./configure, and make.

The resulting emacs in src ran in the terminal widow it was started from not in a separate X window, I did a make install and the installed emacs did the same.

I did a make distclean, a ./configure ./configure --with-x11=yes --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib: abbysuse:~/emacs-21.3 # ./configure --with-x11=yes --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking for AIX... no
checking the machine- and system-dependent files to find out
- which libraries the lib-src programs will want, and
- whether the GNU malloc routines are usable
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for machine/soundcard.h... no
checking for sys/soundcard.h... yes
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for sys/select.h... yes
checking for sys/timeb.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for linux/version.h... yes
checking for sys/systeminfo.h... no
checking for termios.h... yes
checking for limits.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for termcap.h... yes
checking for stdio_ext.h... yes
checking for fcntl.h... yes
checking for term.h... yes
checking for strings.h... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for working volatile... yes
checking for working const... yes
checking for void * support... yes
checking whether make sets ${MAKE}... yes
checking for long file names... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for malloc_get_state... yes
checking for malloc_set_state... yes
checking whether __after_morecore_hook exists... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking whether X on GNU/Linux needs -b to link... no
checking for Xkb... no
checking for XrmSetDatabase... no
checking for XScreenResourceString... no
checking for XScreenNumberOfScreen... no
checking for XSetWMProtocols... no
checking X11 version 6... before 6
checking X11 version 5... before 5
checking for X11/xpm.h... no
checking for jerror.h... yes
checking for jpeg_destroy_compress in -ljpeg... no
checking for png.h... no
checking for tiffio.h... yes
checking for TIFFGetVersion in -ltiff... no
checking for gif_lib.h... no
checking whether netdb declares h_errno... no
checking for working alloca.h... no
checking for alloca... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for sqrt in -lm... no
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking for maillock.h... no
checking for gethostname... no
checking for getdomainname... no
checking for dup2... no
checking for rename... no
checking for closedir... no
checking for mkdir... no
checking for rmdir... no
checking for sysinfo... no
checking for random... no
checking for lrand48... no
checking for bcopy... no
checking for bcmp... no
checking for logb... no
checking for frexp... no
checking for fmod... no
checking for rint... no
checking for cbrt... no
checking for ftime... no
checking for res_init... no
checking for setsid... no
checking for strerror... no
checking for fpathconf... no
checking for select... no
checking for mktime... no
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... no
checking for setlocale... no
checking for utimes... no
checking for setrlimit... no
checking for setpgid... no
checking for getcwd... no
checking for getwd... no
checking for shutdown... no
checking for strftime... no
checking for getaddrinfo... no
checking for __fpending... no
checking for mblen... no
checking for mbrlen... no
checking for strsignal... no
checking for setitimer... no
checking for ualarm... no
checking for index... no
checking for rindex... no
checking for gai_strerror... no
checking for mkstemp... no
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... no
checking for working mktime... no
checking for getloadavg... no
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... no
checking for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg... no
checking for getloadavg... (cached) no
checking for sys/dg_sys_info.h... no
checking for inq_stats/cpustats.h... no
checking for sys/cpustats.h... no
checking for mach/mach.h... no
checking for nlist.h... no
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... no
checking for grantpt... no
checking for getpt... no
checking for tparm in -lncurses... no
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... no
checking whether gettimeofday can accept two arguments... yes
checking for socket... no
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... no
checking for size_t... yes

Configured for `i686-pc-linux-gnu'.

 Where should the build process find the source code?    /root/emacs-21.3
 What operating system and machine description files should Emacs use?
       `s/gnu-linux.h' and `m/intel386.h'
 What compiler should emacs be built with?               gcc -g -O2
 Should Emacs use the GNU version of malloc?             yes
     (Using Doug Lea's new malloc from the GNU C Library.)
 Should Emacs use a relocating allocator for buffers?    yes
 Should Emacs use mmap(2) for buffer allocation?         no
 What window system should Emacs use?                    x11
 What toolkit should Emacs use?                          none
 Where do we find X Windows header files?                /usr/X11R6/include
 Where do we find X Windows libraries?                   /usr/X11R6/lib
 Does Emacs use -lXaw3d?                                 no
 Does Emacs use -lXpm?                                   no
 Does Emacs use -ljpeg?                                  no
 Does Emacs use -ltiff?                                  no
 Does Emacs use -lungif?                                 no
 Does Emacs use -lpng?                                   no
 Does Emacs use X toolkit scroll bars?                   no

updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib-src/Makefile.c
creating oldXMenu/Makefile
creating man/Makefile
creating lwlib/Makefile
creating src/Makefile.c
creating lisp/Makefile
creating leim/Makefile
creating src/config.h
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile

abbysuse:~/emacs-21.3 # make
if [ ! -f /root/emacs-21.3/lisp/abbrev.elc ]; then \
 make  bootstrap; \
fi
cd lib-src; make all  \
 CC='gcc' CFLAGS='-g -O2' CPPFLAGS='-D_BSD_SOURCE  ' \
 LDFLAGS='-L/usr/X11R6/lib' MAKE='make'
make[1]: Entering directory `/root/emacs-21.3/lib-src'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib-D_BSD_SOURCE -g -O2 -o test-distrib /root/emacs-21.3/lib-src/test-distrib.c
./test-distrib /root/emacs-21.3/lib-src/testfile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib-D_BSD_SOURCE -g -O2 /root/emacs-21.3/lib-src/make-docfile.c -lc -o make-docfile gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib-D_BSD_SOURCE -g -O2 /root/emacs-21.3/lib-src/profile.c -lc -o profile gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib-D_BSD_SOURCE -g -O2 /root/emacs-21.3/lib-src/digest-doc.c -lc -o digest-doc gcc -Demacs -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE -g -O2 /root/emacs-21.3/lib-src/alloca.c gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib-D_BSD_SOURCE -g -O2 /root/emacs-21.3/lib-src/sorted-doc.c alloca.o -lc -o sorted-doc gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE -g -O2 -Demacs /root/emacs-21.3/lib-src/movemail.c
/root/emacs-21.3/lib-src/movemail.c: In function `strerror':
/root/emacs-21.3/lib-src/movemail.c:947: error: conflicting types for `sys_errlist' /usr/include/bits/sys_errlist.h:28: error: previous declaration of `sys_errlist'
make[1]: *** [movemail.o] Error 1
make[1]: Leaving directory `/root/emacs-21.3/lib-src'
make: *** [lib-src] Error 2

I have attached config.log

I suspect that there is some library that I failed to install that is needed, but I have no idea what is missing. Any suggestions?

Thanks

Tom







This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:759: checking host system type
configure:1753: checking for gcc
configure:1866: checking whether the C compiler (gcc  ) works
configure:1882: gcc -o conftest    conftest.c  1>&5
configure:1908: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1913: checking whether we are using GNU C
configure:1922: gcc -E conftest.c
configure:1941: checking whether gcc accepts -g
configure:2021: checking whether ln -s works
configure:2042: checking how to run the C preprocessor
configure:2063: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2133: checking for a BSD compatible install
configure:2190: checking for bison
configure:2190: checking for byacc
configure:2224: checking for ranlib
configure:2254: checking for AIX
configure:2283: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable
configure:2433: checking for special C compiler options needed for large files
configure:2489: checking for _FILE_OFFSET_BITS value needed for large files
configure:2504: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2497: warning: integer constant is too large for "long" type
configure:2497: warning: integer constant is too large for "long" type
configure:2497: error: size of array `a' is negative
configure: failed program was:
#line 2495 "configure"
#include "confdefs.h"
#include <sys/types.h>
    int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
  
int main() {

; return 0; }
configure:2522: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2514: warning: integer constant is too large for "long" type
configure:2514: warning: integer constant is too large for "long" type
configure:2542: checking for _LARGE_FILES value needed for large files
configure:2555: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2598: checking for machine/soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2604:31: machine/soundcard.h: No such file or directory
configure: failed program was:
#line 2603 "configure"
#include "confdefs.h"
#include <machine/soundcard.h>
configure:2598: checking for sys/soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2598: checking for soundcard.h
configure:2608: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2604:23: soundcard.h: No such file or directory
configure: failed program was:
#line 2603 "configure"
#include "confdefs.h"
#include <soundcard.h>
configure:2636: checking for _oss_ioctl in -lossaudio
configure:2655: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lossaudio   
1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lossaudio
collect2: ld returned 1 exit status
configure: failed program was:
#line 2644 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _oss_ioctl();

int main() {
_oss_ioctl()
; return 0; }
configure:2684: checking for sys/select.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for sys/timeb.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for sys/time.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for unistd.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for utime.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for linux/version.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for sys/systeminfo.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2690:28: sys/systeminfo.h: No such file or directory
configure: failed program was:
#line 2689 "configure"
#include "confdefs.h"
#include <sys/systeminfo.h>
configure:2684: checking for termios.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for limits.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for string.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for stdlib.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for termcap.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for stdio_ext.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for fcntl.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for term.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2684: checking for strings.h
configure:2694: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2721: checking for ANSI C header files
configure:2734: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:2801: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:2825: checking whether time.h and sys/time.h may both be included
configure:2839: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2860: checking for sys_siglist declaration in signal.h or unistd.h
configure:2877: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:2873: warning: initialization discards qualifiers from pointer target 
type
configure:2898: checking for sys/wait.h that is POSIX.1 compatible
configure:2919: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2941: checking for struct utimbuf
configure:2965: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:2986: checking return type of signal handlers
configure:3008: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3028: checking for speed_t
configure:3040: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3061: checking for struct timeval
configure:3082: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3104: checking for struct exception
configure:3116: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:3112: error: storage size of `x' isn't known
configure:3112: error: storage size of `x' isn't known
configure: failed program was:
#line 3109 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
; return 0; }
configure:3138: checking whether struct tm is in sys/time.h or time.h
configure:3151: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3172: checking for tm_zone in struct tm
configure:3185: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3242: checking for tm_gmtoff in struct tm
configure:3254: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:3276: checking for gcc option to accept ANSI C
configure:3327: gcc  -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3349: checking for function prototypes
configure:3361: checking for working volatile
configure:3375: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3396: checking for working const
configure:3450: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3471: checking for void * support
configure:3483: gcc -c  -O2 -D_BSD_SOURCE   conftest.c 1>&5
configure:3509: checking whether make sets ${MAKE}
configure:3537: checking for long file names
configure:3588: checking for X
configure:3912: checking for malloc_get_state
configure:3940: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:3961: checking for malloc_set_state
configure:3989: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:4010: checking whether __after_morecore_hook exists
configure:4022: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:4063: checking for stdlib.h
configure:4063: checking for unistd.h
configure:4063: checking for sys/stat.h
configure:4073: gcc -E -D_BSD_SOURCE   conftest.c >/dev/null 2>conftest.out
configure:4102: checking for getpagesize
configure:4130: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:4155: checking for working mmap
configure:4297: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c  1>&5 
configure:4326: checking for dnet_ntoa in -ldnet
configure:4345: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -ldnet    1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 4334 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4374: checking for main in -lXbsd
configure:4389: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lXbsd    1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lXbsd
collect2: ld returned 1 exit status
configure: failed program was:
#line 4382 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:4411: checking for cma_open in -lpthreads
configure:4430: gcc -o conftest  -O2 -D_BSD_SOURCE    conftest.c -lpthreads    
1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lpthreads
collect2: ld returned 1 exit status
configure: failed program was:
#line 4419 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char cma_open();

int main() {
cma_open()
; return 0; }
configure:4459: checking for XFree86 in /usr/X386
configure:4530: checking whether X on GNU/Linux needs -b to link
configure:4539: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 4532 "configure"
#include "confdefs.h"

int main() {
XOpenDisplay ("foo");
; return 0; }
configure:4566: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE   -b i486-linuxaout  -L/usr/X11R6/lib conftest.c -lX11   -b 
i486-linuxaout 1>&5 
gcc: `-b' must come at the start of the command line
configure: failed program was:
#line 4559 "configure"
#include "confdefs.h"

int main() {
XOpenDisplay ("foo");
; return 0; }
configure:4595: checking for Xkb
configure:4605: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:4598:22: X11/Xlib.h: No such file or directory
configure:4599:24: X11/XKBlib.h: No such file or directory
configure: In function `main':
configure:4601: error: `XkbDescPtr' undeclared (first use in this function)
configure:4601: error: (Each undeclared identifier is reported only once
configure:4601: error: for each function it appears in.)
configure:4601: error: parse error before "kb"
configure: failed program was:
#line 4597 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
#include <X11/XKBlib.h>
int main() {
XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
; return 0; }
configure:4627: checking for XrmSetDatabase
configure:4655: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 4632 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char XrmSetDatabase(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XrmSetDatabase();

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_XrmSetDatabase) || defined (__stub___XrmSetDatabase)
choke me
#else
XrmSetDatabase();
#endif

; return 0; }
configure:4627: checking for XScreenResourceString
configure:4655: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 4632 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char XScreenResourceString(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XScreenResourceString();

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_XScreenResourceString) || defined 
(__stub___XScreenResourceString)
choke me
#else
XScreenResourceString();
#endif

; return 0; }
configure:4627: checking for XScreenNumberOfScreen
configure:4655: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 4632 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char XScreenNumberOfScreen(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XScreenNumberOfScreen();

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_XScreenNumberOfScreen) || defined 
(__stub___XScreenNumberOfScreen)
choke me
#else
XScreenNumberOfScreen();
#endif

; return 0; }
configure:4627: checking for XSetWMProtocols
configure:4655: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 4632 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char XSetWMProtocols(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XSetWMProtocols();

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_XSetWMProtocols) || defined (__stub___XSetWMProtocols)
choke me
#else
XSetWMProtocols();
#endif

; return 0; }
configure:4683: checking X11 version 6
configure:4698: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:4689:22: X11/Xlib.h: No such file or directory
configure: In function `main':
configure:4692: error: `fail' undeclared (first use in this function)
configure:4692: error: (Each undeclared identifier is reported only once
configure:4692: error: for each function it appears in.)
configure: failed program was:
#line 4688 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
int main() {
#if XlibSpecificationRelease < 6
fail;
#endif

; return 0; }
configure:4723: checking X11 version 5
configure:4738: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:4729:22: X11/Xlib.h: No such file or directory
configure: In function `main':
configure:4732: error: `fail' undeclared (first use in this function)
configure:4732: error: (Each undeclared identifier is reported only once
configure:4732: error: for each function it appears in.)
configure: failed program was:
#line 4728 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
int main() {
#if XlibSpecificationRelease < 5
fail;
#endif

; return 0; }
configure:5162: checking for X11/xpm.h
configure:5172: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:5168:21: X11/xpm.h: No such file or directory
configure: failed program was:
#line 5167 "configure"
#include "confdefs.h"
#include <X11/xpm.h>
configure:5277: checking for jerror.h
configure:5287: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:5304: checking for jpeg_destroy_compress in -ljpeg
configure:5323: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -ljpeg  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5312 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char jpeg_destroy_compress();

int main() {
jpeg_destroy_compress()
; return 0; }
configure:5384: checking for png.h
configure:5394: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:5390:17: png.h: No such file or directory
configure: failed program was:
#line 5389 "configure"
#include "confdefs.h"
#include <png.h>
configure:5470: checking for tiffio.h
configure:5480: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:5500: checking for TIFFGetVersion in -ltiff
configure:5519: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -ltiff -lz -lm -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 5508 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char TIFFGetVersion();

int main() {
TIFFGetVersion()
; return 0; }
configure:5559: checking for gif_lib.h
configure:5569: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:5565:21: gif_lib.h: No such file or directory
configure: failed program was:
#line 5564 "configure"
#include "confdefs.h"
#include <gif_lib.h>
configure:5643: checking whether netdb declares h_errno
configure:5655: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5648 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
return h_errno;
; return 0; }
configure:5678: checking for working alloca.h
configure:5690: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5683 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:5711: checking for alloca
configure:5744: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5716 "configure"
#include "confdefs.h"

#ifdef __GNUC__
# define alloca __builtin_alloca
#else
# ifdef _MSC_VER
#  include <malloc.h>
#  define alloca _alloca
# else
#  if HAVE_ALLOCA_H
#   include <alloca.h>
#  else
#   ifdef _AIX
 #pragma alloca
#   else
#    ifndef alloca /* predefined by HP cc +Olibcalls */
char *alloca ();
#    endif
#   endif
#  endif
# endif
#endif

int main() {
char *p = (char *) alloca(1);
; return 0; }
configure:5776: checking whether alloca needs Cray hooks
configure:5861: checking stack direction for C alloca
configure:5888: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5869 "configure"
#include "confdefs.h"
find_stack_direction ()
{
  static char *addr = 0;
  auto char dummy;
  if (addr == 0)
    {
      addr = &dummy;
      return find_stack_direction ();
    }
  else
    return (&dummy > addr) ? 1 : -1;
}
main ()
{
  exit (find_stack_direction() < 0);
}
configure:5913: checking for sqrt in -lm
configure:5932: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lm  -lX11   1>&5 
configure:5925: warning: conflicting types for built-in function `sqrt'
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5921 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sqrt();

int main() {
sqrt()
; return 0; }
configure:5962: checking for maillock in -lmail
configure:5981: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lmail  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lmail
collect2: ld returned 1 exit status
configure: failed program was:
#line 5970 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char maillock();

int main() {
maillock()
; return 0; }
configure:6009: checking for maillock in -llockfile
configure:6028: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -llockfile  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -llockfile
collect2: ld returned 1 exit status
configure: failed program was:
#line 6017 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char maillock();

int main() {
maillock()
; return 0; }
configure:6062: checking for liblockfile.so
configure:6103: checking for touchlock
configure:6131: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6108 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char touchlock(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char touchlock();

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_touchlock) || defined (__stub___touchlock)
choke me
#else
touchlock();
#endif

; return 0; }
configure:6159: checking for maillock.h
configure:6169: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:6165:22: maillock.h: No such file or directory
configure: failed program was:
#line 6164 "configure"
#include "confdefs.h"
#include <maillock.h>
configure:6205: checking for gethostname
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gethostname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethostname();

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_gethostname) || defined (__stub___gethostname)
choke me
#else
gethostname();
#endif

; return 0; }
configure:6205: checking for getdomainname
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getdomainname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getdomainname();

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_getdomainname) || defined (__stub___getdomainname)
choke me
#else
getdomainname();
#endif

; return 0; }
configure:6205: checking for dup2
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dup2(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dup2();

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_dup2) || defined (__stub___dup2)
choke me
#else
dup2();
#endif

; return 0; }
configure:6205: checking for rename
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char rename(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char rename();

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_rename) || defined (__stub___rename)
choke me
#else
rename();
#endif

; return 0; }
configure:6205: checking for closedir
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char closedir(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char closedir();

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_closedir) || defined (__stub___closedir)
choke me
#else
closedir();
#endif

; return 0; }
configure:6205: checking for mkdir
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mkdir(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mkdir();

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_mkdir) || defined (__stub___mkdir)
choke me
#else
mkdir();
#endif

; return 0; }
configure:6205: checking for rmdir
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char rmdir(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char rmdir();

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_rmdir) || defined (__stub___rmdir)
choke me
#else
rmdir();
#endif

; return 0; }
configure:6205: checking for sysinfo
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sysinfo(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sysinfo();

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_sysinfo) || defined (__stub___sysinfo)
choke me
#else
sysinfo();
#endif

; return 0; }
configure:6205: checking for random
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char random(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char random();

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_random) || defined (__stub___random)
choke me
#else
random();
#endif

; return 0; }
configure:6205: checking for lrand48
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char lrand48(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lrand48();

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_lrand48) || defined (__stub___lrand48)
choke me
#else
lrand48();
#endif

; return 0; }
configure:6205: checking for bcopy
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char bcopy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char bcopy();

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_bcopy) || defined (__stub___bcopy)
choke me
#else
bcopy();
#endif

; return 0; }
configure:6205: checking for bcmp
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:6217: warning: conflicting types for built-in function `bcmp'
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char bcmp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char bcmp();

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_bcmp) || defined (__stub___bcmp)
choke me
#else
bcmp();
#endif

; return 0; }
configure:6205: checking for logb
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char logb(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char logb();

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_logb) || defined (__stub___logb)
choke me
#else
logb();
#endif

; return 0; }
configure:6205: checking for frexp
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char frexp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char frexp();

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_frexp) || defined (__stub___frexp)
choke me
#else
frexp();
#endif

; return 0; }
configure:6205: checking for fmod
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fmod(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fmod();

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_fmod) || defined (__stub___fmod)
choke me
#else
fmod();
#endif

; return 0; }
configure:6205: checking for rint
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char rint(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char rint();

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_rint) || defined (__stub___rint)
choke me
#else
rint();
#endif

; return 0; }
configure:6205: checking for cbrt
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cbrt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char cbrt();

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_cbrt) || defined (__stub___cbrt)
choke me
#else
cbrt();
#endif

; return 0; }
configure:6205: checking for ftime
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ftime(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ftime();

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_ftime) || defined (__stub___ftime)
choke me
#else
ftime();
#endif

; return 0; }
configure:6205: checking for res_init
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_init(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_init();

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_res_init) || defined (__stub___res_init)
choke me
#else
res_init();
#endif

; return 0; }
configure:6205: checking for setsid
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setsid(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setsid();

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_setsid) || defined (__stub___setsid)
choke me
#else
setsid();
#endif

; return 0; }
configure:6205: checking for strerror
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strerror(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strerror();

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_strerror) || defined (__stub___strerror)
choke me
#else
strerror();
#endif

; return 0; }
configure:6205: checking for fpathconf
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fpathconf(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char fpathconf();

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_fpathconf) || defined (__stub___fpathconf)
choke me
#else
fpathconf();
#endif

; return 0; }
configure:6205: checking for select
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char select(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char select();

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_select) || defined (__stub___select)
choke me
#else
select();
#endif

; return 0; }
configure:6205: checking for mktime
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mktime(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mktime();

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_mktime) || defined (__stub___mktime)
choke me
#else
mktime();
#endif

; return 0; }
configure:6205: checking for euidaccess
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char euidaccess(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char euidaccess();

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_euidaccess) || defined (__stub___euidaccess)
choke me
#else
euidaccess();
#endif

; return 0; }
configure:6205: checking for getpagesize
configure:6205: checking for tzset
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char tzset(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tzset();

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_tzset) || defined (__stub___tzset)
choke me
#else
tzset();
#endif

; return 0; }
configure:6205: checking for setlocale
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setlocale(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setlocale();

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_setlocale) || defined (__stub___setlocale)
choke me
#else
setlocale();
#endif

; return 0; }
configure:6205: checking for utimes
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char utimes(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char utimes();

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_utimes) || defined (__stub___utimes)
choke me
#else
utimes();
#endif

; return 0; }
configure:6205: checking for setrlimit
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setrlimit(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setrlimit();

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_setrlimit) || defined (__stub___setrlimit)
choke me
#else
setrlimit();
#endif

; return 0; }
configure:6205: checking for setpgid
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setpgid(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setpgid();

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_setpgid) || defined (__stub___setpgid)
choke me
#else
setpgid();
#endif

; return 0; }
configure:6205: checking for getcwd
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getcwd(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getcwd();

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_getcwd) || defined (__stub___getcwd)
choke me
#else
getcwd();
#endif

; return 0; }
configure:6205: checking for getwd
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getwd(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getwd();

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_getwd) || defined (__stub___getwd)
choke me
#else
getwd();
#endif

; return 0; }
configure:6205: checking for shutdown
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char shutdown(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shutdown();

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_shutdown) || defined (__stub___shutdown)
choke me
#else
shutdown();
#endif

; return 0; }
configure:6205: checking for strftime
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strftime(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strftime();

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_strftime) || defined (__stub___strftime)
choke me
#else
strftime();
#endif

; return 0; }
configure:6205: checking for getaddrinfo
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getaddrinfo(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getaddrinfo();

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_getaddrinfo) || defined (__stub___getaddrinfo)
choke me
#else
getaddrinfo();
#endif

; return 0; }
configure:6205: checking for __fpending
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __fpending(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __fpending();

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___fpending) || defined (__stub_____fpending)
choke me
#else
__fpending();
#endif

; return 0; }
configure:6205: checking for mblen
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mblen(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mblen();

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_mblen) || defined (__stub___mblen)
choke me
#else
mblen();
#endif

; return 0; }
configure:6205: checking for mbrlen
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mbrlen(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mbrlen();

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_mbrlen) || defined (__stub___mbrlen)
choke me
#else
mbrlen();
#endif

; return 0; }
configure:6205: checking for strsignal
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strsignal(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strsignal();

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_strsignal) || defined (__stub___strsignal)
choke me
#else
strsignal();
#endif

; return 0; }
configure:6205: checking for setitimer
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setitimer(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setitimer();

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_setitimer) || defined (__stub___setitimer)
choke me
#else
setitimer();
#endif

; return 0; }
configure:6205: checking for ualarm
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char ualarm(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char ualarm();

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_ualarm) || defined (__stub___ualarm)
choke me
#else
ualarm();
#endif

; return 0; }
configure:6205: checking for index
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:6217: warning: conflicting types for built-in function `index'
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char index(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char index();

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_index) || defined (__stub___index)
choke me
#else
index();
#endif

; return 0; }
configure:6205: checking for rindex
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:6217: warning: conflicting types for built-in function `rindex'
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char rindex(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char rindex();

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_rindex) || defined (__stub___rindex)
choke me
#else
rindex();
#endif

; return 0; }
configure:6205: checking for gai_strerror
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gai_strerror(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gai_strerror();

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_gai_strerror) || defined (__stub___gai_strerror)
choke me
#else
gai_strerror();
#endif

; return 0; }
configure:6205: checking for mkstemp
configure:6233: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char mkstemp(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mkstemp();

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_mkstemp) || defined (__stub___mkstemp)
choke me
#else
mkstemp();
#endif

; return 0; }
configure:6262: checking for sys/time.h
configure:6262: checking for unistd.h
configure:6301: checking for alarm
configure:6329: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6306 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char alarm(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char alarm();

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_alarm) || defined (__stub___alarm)
choke me
#else
alarm();
#endif

; return 0; }
configure:6354: checking for working mktime
configure:6511: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6362 "configure"
#include "confdefs.h"
/* Test program from Paul Eggert (eggert@twinsun.com)
   and Tony Leneis (tony@plaza.ds.adp.com).  */
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# if HAVE_SYS_TIME_H
#  include <sys/time.h>
# else
#  include <time.h>
# endif
#endif

#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#if !HAVE_ALARM
# define alarm(X) /* empty */
#endif

/* Work around redefinition to rpl_putenv by other config tests.  */
#undef putenv

static time_t time_t_max;

/* Values we'll use to set the TZ environment variable.  */
static const char *const tz_strings[] = {
  (const char *) 0, "TZ=GMT0", "TZ=JST-9",
  "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
};
#define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))

/* Fail if mktime fails to convert a date in the spring-forward gap.
   Based on a problem report from Andreas Jaeger.  */
static void
spring_forward_gap ()
{
  /* glibc (up to about 1998-10-07) failed this test) */
  struct tm tm;

  /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
     instead of "TZ=America/Vancouver" in order to detect the bug even
     on systems that don't support the Olson extension, or don't have the
     full zoneinfo tables installed.  */
  putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");

  tm.tm_year = 98;
  tm.tm_mon = 3;
  tm.tm_mday = 5;
  tm.tm_hour = 2;
  tm.tm_min = 0;
  tm.tm_sec = 0;
  tm.tm_isdst = -1;
  if (mktime (&tm) == (time_t)-1)
    exit (1);
}

static void
mktime_test (now)
     time_t now;
{
  struct tm *lt;
  if ((lt = localtime (&now)) && mktime (lt) != now)
    exit (1);
  now = time_t_max - now;
  if ((lt = localtime (&now)) && mktime (lt) != now)
    exit (1);
}

static void
irix_6_4_bug ()
{
  /* Based on code from Ariel Faigon.  */
  struct tm tm;
  tm.tm_year = 96;
  tm.tm_mon = 3;
  tm.tm_mday = 0;
  tm.tm_hour = 0;
  tm.tm_min = 0;
  tm.tm_sec = 0;
  tm.tm_isdst = -1;
  mktime (&tm);
  if (tm.tm_mon != 2 || tm.tm_mday != 31)
    exit (1);
}

static void
bigtime_test (j)
     int j;
{
  struct tm tm;
  time_t now;
  tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
  now = mktime (&tm);
  if (now != (time_t) -1)
    {
      struct tm *lt = localtime (&now);
      if (! (lt
             && lt->tm_year == tm.tm_year
             && lt->tm_mon == tm.tm_mon
             && lt->tm_mday == tm.tm_mday
             && lt->tm_hour == tm.tm_hour
             && lt->tm_min == tm.tm_min
             && lt->tm_sec == tm.tm_sec
             && lt->tm_yday == tm.tm_yday
             && lt->tm_wday == tm.tm_wday
             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
        exit (1);
    }
}

int
main ()
{
  time_t t, delta;
  int i, j;

  /* This test makes some buggy mktime implementations loop.
     Give up after 60 seconds; a mktime slower than that
     isn't worth using anyway.  */
  alarm (60);

  for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
    continue;
  time_t_max--;
  delta = time_t_max / 997; /* a suitable prime number */
  for (i = 0; i < N_STRINGS; i++)
    {
      if (tz_strings[i])
        putenv (tz_strings[i]);

      for (t = 0; t <= time_t_max - delta; t += delta)
        mktime_test (t);
      mktime_test ((time_t) 60 * 60);
      mktime_test ((time_t) 60 * 60 * 24);

      for (j = 1; 0 < j; j *= 2)
        bigtime_test (j);
      bigtime_test (j - 1);
    }
  irix_6_4_bug ();
  spring_forward_gap ();
  exit (0);
}
configure:6541: checking for getloadavg
configure:6569: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6546 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getloadavg(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getloadavg();

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_getloadavg) || defined (__stub___getloadavg)
choke me
#else
getloadavg();
#endif

; return 0; }
configure:6594: checking for elf_begin in -lelf
configure:6613: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lelf  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lelf
collect2: ld returned 1 exit status
configure: failed program was:
#line 6602 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char elf_begin();

int main() {
elf_begin()
; return 0; }
configure:6634: checking for kvm_open in -lkvm
configure:6653: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lkvm  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lkvm
collect2: ld returned 1 exit status
configure: failed program was:
#line 6642 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char kvm_open();

int main() {
kvm_open()
; return 0; }
configure:6675: checking for getloadavg in -lutil
configure:6694: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lutil  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 6683 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getloadavg();

int main() {
getloadavg()
; return 0; }
configure:6721: checking for getloadavg in -lgetloadavg
configure:6740: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lgetloadavg  -L/usr/local/lib 
-lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lgetloadavg
collect2: ld returned 1 exit status
configure: failed program was:
#line 6729 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getloadavg();

int main() {
getloadavg()
; return 0; }
configure:6767: checking for getloadavg
configure:6833: checking for sys/dg_sys_info.h
configure:6843: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:6839:29: sys/dg_sys_info.h: No such file or directory
configure: failed program was:
#line 6838 "configure"
#include "confdefs.h"
#include <sys/dg_sys_info.h>
configure:6928: checking for inq_stats/cpustats.h
configure:6938: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:6934:32: inq_stats/cpustats.h: No such file or directory
configure: failed program was:
#line 6933 "configure"
#include "confdefs.h"
#include <inq_stats/cpustats.h>
configure:6971: checking for sys/cpustats.h
configure:6981: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:6977:26: sys/cpustats.h: No such file or directory
configure: failed program was:
#line 6976 "configure"
#include "confdefs.h"
#include <sys/cpustats.h>
configure:7012: checking for mach/mach.h
configure:7022: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:7018:23: mach/mach.h: No such file or directory
configure: failed program was:
#line 7017 "configure"
#include "confdefs.h"
#include <mach/mach.h>
configure:7052: checking for nlist.h
configure:7062: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:7058:19: nlist.h: No such file or directory
configure: failed program was:
#line 7057 "configure"
#include "confdefs.h"
#include <nlist.h>
configure:7122: checking whether getloadavg requires setgid
configure:7128:41: /root/emacs-21.3/getloadavg.c: No such file or directory
configure:7179: checking for _LARGEFILE_SOURCE value needed for large files
configure:7192: gcc -c -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE   conftest.c 1>&5
configure: In function `main':
configure:7188: error: `fseeko' undeclared (first use in this function)
configure:7188: error: (Each undeclared identifier is reported only once
configure:7188: error: for each function it appears in.)
configure: failed program was:
#line 7185 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
return !fseeko;
; return 0; }
configure:7208: gcc -c -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE   conftest.c 1>&5
configure:7232: checking for fseeko
configure:7245: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 7238 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
return fseeko && fseeko (stdin, 0, 0);
; return 0; }
configure:7267: checking for grantpt
configure:7295: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 7272 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char grantpt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char grantpt();

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_grantpt) || defined (__stub___grantpt)
choke me
#else
grantpt();
#endif

; return 0; }
configure:7324: checking for getpt
configure:7352: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 7329 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char getpt(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char getpt();

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_getpt) || defined (__stub___getpt)
choke me
#else
getpt();
#endif

; return 0; }
configure:7382: checking for tparm in -lncurses
configure:7401: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lncurses  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 7390 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tparm();

int main() {
tparm()
; return 0; }
configure:8421: checking for dgettext in -lintl
configure:8440: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lintl  -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lintl
collect2: ld returned 1 exit status
configure: failed program was:
#line 8429 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dgettext();

int main() {
dgettext()
; return 0; }
configure:8469: checking whether localtime caches TZ
configure:8541: checking for gettimeofday
configure:8569: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 8546 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gettimeofday(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gettimeofday();

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_gettimeofday) || defined (__stub___gettimeofday)
choke me
#else
gettimeofday();
#endif

; return 0; }
configure:8594: checking whether gettimeofday can accept two arguments
configure:8617: gcc -c -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE   conftest.c 1>&5
configure:8703: checking for socket
configure:8731: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 8708 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char socket(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

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_socket) || defined (__stub___socket)
choke me
#else
socket();
#endif

; return 0; }
configure:8838: checking whether system supports dynamic ptys
configure:8850: checking for pid_t
configure:8884: checking for vfork.h
configure:8894: gcc -E -I/usr/X11R6/include -D_BSD_SOURCE   conftest.c 
>/dev/null 2>conftest.out
configure:8890:19: vfork.h: No such file or directory
configure: failed program was:
#line 8889 "configure"
#include "confdefs.h"
#include <vfork.h>
configure:8919: checking for working vfork
configure:9070: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include 
-D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: 
cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 8975 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test.  */
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_VFORK_H
#include <vfork.h>
#endif
/* On some sparc systems, changes by the child to local and incoming
   argument registers are propagated back to the parent.
   The compiler is told about this with #include <vfork.h>,
   but some compilers (e.g. gcc -O) don't grok <vfork.h>.
   Test for this by using a static variable whose address
   is put into a register that is clobbered by the vfork.  */
static
#ifdef __cplusplus
sparc_address_test (int arg)
#else
sparc_address_test (arg) int arg;
#endif
{
  static pid_t child;
  if (!child) {
    child = vfork ();
    if (child < 0) {
      perror ("vfork");
      _exit(2);
    }
    if (!child) {
      arg = getpid();
      write(-1, "", 0);
      _exit (arg);
    }
  }
}
main() {
  pid_t parent = getpid ();
  pid_t child;

  sparc_address_test ();

  child = vfork ();

  if (child == 0) {
    /* Here is another test for sparc vfork register problems.
       This test uses lots of local variables, at least
       as many local variables as main has allocated so far
       including compiler temporaries.  4 locals are enough for
       gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe.
       A buggy compiler should reuse the register of parent
       for one of the local variables, since it will think that
       parent can't possibly be used any more in this routine.
       Assigning to the local variable will thus munge parent
       in the parent process.  */
    pid_t
      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
    /* Convince the compiler that p..p7 are live; otherwise, it might
       use the same hardware register for all 8 local variables.  */
    if (p != p1 || p != p2 || p != p3 || p != p4
        || p != p5 || p != p6 || p != p7)
      _exit(1);

    /* On some systems (e.g. IRIX 3.3),
       vfork doesn't separate parent from child file descriptors.
       If the child closes a descriptor before it execs or exits,
       this munges the parent's descriptor as well.
       Test for this by closing stdout in the child.  */
    _exit(close(fileno(stdout)) != 0);
  } else {
    int status;
    struct stat st;

    while (wait(&status) != child)
      ;
    exit(
         /* Was there some problem with vforking?  */
         child < 0

         /* Did the child fail?  (This shouldn't happen.)  */
         || status

         /* Did the vfork/compiler bug occur?  */
         || parent != getpid()

         /* Did the file descriptor bug occur?  */
         || fstat(fileno(stdout), &st) != 0
         );
  }
}
configure:9095: checking for size_t

reply via email to

[Prev in Thread] Current Thread [Next in Thread]