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

configure:615: checking for a BSD compatible install
configure:668: checking whether build environment is sane
configure:725: checking whether make sets ${MAKE}
configure:771: checking for working aclocal
configure:784: checking for working autoconf
configure:797: checking for working automake
configure:810: checking for working autoheader
configure:823: checking for working makeinfo
configure:852: checking host system type
configure:879: checking for gcc
configure:992: checking whether the C compiler (gcc  ) works
configure:1008: gcc -o conftest    conftest.c  1>&5
configure:1034: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1039: checking whether we are using GNU C
configure:1048: gcc -E conftest.c
configure:1067: checking whether gcc accepts -g
configure:1099: checking for POSIXized ISC
configure:1122: checking for gcc
configure:1235: checking whether the C compiler (gcc -g -O2 ) works
configure:1251: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1277: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler
configure:1282: checking whether we are using GNU C
configure:1310: checking whether gcc accepts -g
configure:1342: checking how to run the C preprocessor
configure:1363: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1422: checking for ANSI C header files
configure:1435: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1502: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1526: checking whether make sets ${MAKE}
configure:1564: checking for a BSD compatible install
configure:1619: checking for ranlib
configure:1647: checking whether ln -s works
configure:1739: checking build system type
configure:1768: checking for ld used by GCC
configure:1830: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.10.91 (with BFD 2.10.1.0.2)
configure:1846: checking for BSD-compatible nm
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2   conftest.c  1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.10.91 (with BFD 2.10.1.0.2)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
ltconfig:2248: checking for dlopen in -ldl
ltconfig:2269: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   conftest.c -ldl   1>&5
ltconfig:2488: checking for dlfcn.h
ltconfig:2498: gcc -c -g -O2 -fno-builtin -fno-rtti -fno-exceptions  conftest.c 1>&5 >/dev/null 2>conftest.out
ltconfig:2526: checking whether a program can dlopen itself
ltconfig:2580: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions  -DHAVE_DLFCN_H  -Wl,--export-dynamic conftest.c -ldl  1>&5
ltconfig:2599: checking whether a statically linked program can dlopen itself
ltconfig:2653: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions  -DHAVE_DLFCN_H  -Wl,--export-dynamic -static conftest.c -ldl  1>&5
ltconfig: failed program was:
#line 2607 "ltconfig"

#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif

#include <stdio.h>

#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL	RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
#  define LTDL_GLOBAL	DL_GLOBAL
# else
#  define LTDL_GLOBAL	0
# endif
#endif

/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
   find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
#  define LTDL_LAZY_OR_NOW	RTLD_LAZY
# else
#  ifdef DL_LAZY
#   define LTDL_LAZY_OR_NOW	DL_LAZY
#  else
#   ifdef RTLD_NOW
#    define LTDL_LAZY_OR_NOW	RTLD_NOW
#   else
#    ifdef DL_NOW
#     define LTDL_LAZY_OR_NOW	DL_NOW
#    else
#     define LTDL_LAZY_OR_NOW	0
#    endif
#   endif
#  endif
# endif
#endif

fnord() { int i=42;}
main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
    if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
    if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); } 

configure:2059: checking for working const
configure:2113: gcc -c -g -O2  conftest.c 1>&5
configure:2134: checking for inline
configure:2148: gcc -c -g -O2  conftest.c 1>&5
configure:2174: checking for off_t
configure:2207: checking for size_t
configure:2240: checking for ptrdiff_t
configure:2252: gcc -c -g -O2  conftest.c 1>&5
configure:2285: checking for pthread_create in -lpthread
configure:2304: gcc -o conftest -g -O2   conftest.c -lpthread   1>&5
configure:2331: checking for dlopen in -lc
configure:2350: gcc -o conftest -g -O2   conftest.c -lc   1>&5
/tmp/cctQ42WA.o: In function `main':
/mnt/hda3/xine-0.4.3/configure:2346: undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2339 "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 dlopen();

int main() {
dlopen()
; return 0; }
configure:2369: checking for dlopen in -ldl
configure:2419: checking for X
configure:2733: checking for dnet_ntoa in -ldnet
configure:2752: gcc -o conftest -g -O2   conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2741 "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:2774: checking for dnet_ntoa in -ldnet_stub
configure:2793: gcc -o conftest -g -O2   conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2782 "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:2822: checking for gethostbyname
configure:2850: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2920: checking for connect
configure:2948: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3012: checking for remove
configure:3040: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3104: checking for shmat
configure:3132: gcc -o conftest -g -O2   conftest.c  1>&5
configure:3205: checking for IceConnectionNumber in -lICE
configure:3224: gcc -o conftest -g -O2   -L/usr/X11R6/lib conftest.c -lICE   1>&5
configure:3257: checking for XvShmCreateImage in -lXv
configure:3276: gcc -o conftest -g -O2   conftest.c -lXv  -L/usr/X11R6/lib  -lSM -lICE -lXext   1>&5
configure:3314: checking for XineramaQueryExtension in -lXinerama
configure:3333: gcc -o conftest -g -O2   conftest.c -lXinerama  -L/usr/X11R6/lib -lXv  -lSM -lICE -lXext   1>&5
configure:3410: checking for imlib-config
configure:3445: checking for IMLIB - version >= 1.9.5
configure:3528: gcc -o conftest -g -O2 -I/usr/X11R6/include   conftest.c  -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 1>&5
/usr/bin/ld: cannot find -lungif
collect2: ld returned 1 exit status
configure: failed program was:
#line 3469 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <Imlib.h>

char*
my_strdup (char *str)
{
  char *new_str;
  
  if (str)
    {
      new_str = malloc ((strlen (str) + 1) * sizeof(char));
      strcpy (new_str, str);
    }
  else
    new_str = NULL;
  
  return new_str;
}

int main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.imlibtest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = my_strdup("1.9.5");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.9.5");
     exit(1);
   }

    if ((1 > major) ||
        ((1 == major) && (9 > minor)) ||
	((1 == major) && (9 == minor) &&
	(10 >= micro)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'imlib-config --version' returned %d.%d, but the minimum version\n", 1, 9);
      printf("*** of IMLIB required is %d.%d. If imlib-config is correct, then it is\n", major, minor);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If imlib-config was wrong, set the environment variable IMLIB_CONFIG\n");
      printf("*** to point to the correct copy of imlib-config, and remove the file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}


configure:3572: gcc -o conftest -g -O2 -I/usr/X11R6/include   conftest.c  -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 1>&5
/usr/bin/ld: cannot find -lungif
collect2: ld returned 1 exit status
configure: failed program was:
#line 3562 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <Imlib.h>

int main() {
 return 0; 
; return 0; }
