Fixed global suite declaration segfault via external linkage declaration
authorAndreas Schiffler <aschiffler@ferzkopp.net>
Thu, 26 May 2011 20:13:49 -0700
changeset 5670bdaa6299e107
parent 5669 d6873237c96d
child 5671 5b0e288921eb
Fixed global suite declaration segfault via external linkage declaration
include/SDL_config.h
include/SDL_revision.h
test/automated/Makefile
test/configure
test/test-automation/runner.c
test/test-automation/tests/test.c
     1.1 --- a/include/SDL_config.h	Thu May 26 19:57:03 2011 +0300
     1.2 +++ b/include/SDL_config.h	Thu May 26 20:13:49 2011 -0700
     1.3 @@ -1,3 +1,4 @@
     1.4 +/* include/SDL_config.h.  Generated from SDL_config.h.in by configure.  */
     1.5  /*
     1.6    Simple DirectMedia Layer
     1.7    Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org>
     1.8 @@ -22,27 +23,273 @@
     1.9  #ifndef _SDL_config_h
    1.10  #define _SDL_config_h
    1.11  
    1.12 +/**
    1.13 + *  \file SDL_config.h.in
    1.14 + *
    1.15 + *  This is a set of defines to configure the SDL features
    1.16 + */
    1.17 +
    1.18 +/* General platform specific identifiers */
    1.19  #include "SDL_platform.h"
    1.20  
    1.21 -/**
    1.22 - *  \file SDL_config.h
    1.23 - *
    1.24 - *  SDL_config.h for any platform that doesn't build using the configure system.
    1.25 - */
    1.26 - 
    1.27 -/* Add any platform that doesn't build using the configure system. */
    1.28 -#if defined(__WIN32__)
    1.29 -#include "SDL_config_windows.h"
    1.30 -#elif defined(__MACOSX__)
    1.31 -#include "SDL_config_macosx.h"
    1.32 -#elif defined(__IPHONEOS__) 
    1.33 -#include "SDL_config_iphoneos.h"
    1.34 -#elif defined(__ANDROID__)
    1.35 -#include "SDL_config_android.h"
    1.36 -#elif defined(__NINTENDODS__)
    1.37 -#include "SDL_config_nintendods.h"
    1.38 +/* Make sure that this isn't included by Visual C++ */
    1.39 +#ifdef _MSC_VER
    1.40 +#error You should run hg revert SDL_config.h 
    1.41 +#endif
    1.42 +
    1.43 +/* C language features */
    1.44 +/* #undef const */
    1.45 +/* #undef inline */
    1.46 +/* #undef volatile */
    1.47 +
    1.48 +/* C datatypes */
    1.49 +#define SIZEOF_VOIDP 8
    1.50 +#define HAVE_GCC_ATOMICS 1
    1.51 +/* #undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET */
    1.52 +
    1.53 +/* Comment this if you want to build without any C library requirements */
    1.54 +#define HAVE_LIBC 1
    1.55 +#if HAVE_LIBC
    1.56 +
    1.57 +/* Useful headers */
    1.58 +#define HAVE_ALLOCA_H 1
    1.59 +#define HAVE_SYS_TYPES_H 1
    1.60 +#define HAVE_STDIO_H 1
    1.61 +#define STDC_HEADERS 1
    1.62 +#define HAVE_STDLIB_H 1
    1.63 +#define HAVE_STDARG_H 1
    1.64 +/* #undef HAVE_MALLOC_H */
    1.65 +#define HAVE_MEMORY_H 1
    1.66 +#define HAVE_STRING_H 1
    1.67 +#define HAVE_STRINGS_H 1
    1.68 +#define HAVE_INTTYPES_H 1
    1.69 +#define HAVE_STDINT_H 1
    1.70 +#define HAVE_CTYPE_H 1
    1.71 +#define HAVE_MATH_H 1
    1.72 +#define HAVE_ICONV_H 1
    1.73 +#define HAVE_SIGNAL_H 1
    1.74 +/* #undef HAVE_ALTIVEC_H */
    1.75 +
    1.76 +/* C library functions */
    1.77 +#define HAVE_MALLOC 1
    1.78 +#define HAVE_CALLOC 1
    1.79 +#define HAVE_REALLOC 1
    1.80 +#define HAVE_FREE 1
    1.81 +#define HAVE_ALLOCA 1
    1.82 +#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
    1.83 +#define HAVE_GETENV 1
    1.84 +#define HAVE_SETENV 1
    1.85 +#define HAVE_PUTENV 1
    1.86 +#define HAVE_UNSETENV 1
    1.87 +#endif
    1.88 +#define HAVE_QSORT 1
    1.89 +#define HAVE_ABS 1
    1.90 +#define HAVE_BCOPY 1
    1.91 +#define HAVE_MEMSET 1
    1.92 +#define HAVE_MEMCPY 1
    1.93 +#define HAVE_MEMMOVE 1
    1.94 +#define HAVE_MEMCMP 1
    1.95 +#define HAVE_STRLEN 1
    1.96 +#define HAVE_STRLCPY 1
    1.97 +#define HAVE_STRLCAT 1
    1.98 +#define HAVE_STRDUP 1
    1.99 +/* #undef HAVE__STRREV */
   1.100 +/* #undef HAVE__STRUPR */
   1.101 +/* #undef HAVE__STRLWR */
   1.102 +/* #undef HAVE_INDEX */
   1.103 +/* #undef HAVE_RINDEX */
   1.104 +#define HAVE_STRCHR 1
   1.105 +#define HAVE_STRRCHR 1
   1.106 +#define HAVE_STRSTR 1
   1.107 +/* #undef HAVE_ITOA */
   1.108 +/* #undef HAVE__LTOA */
   1.109 +/* #undef HAVE__UITOA */
   1.110 +/* #undef HAVE__ULTOA */
   1.111 +#define HAVE_STRTOL 1
   1.112 +#define HAVE_STRTOUL 1
   1.113 +/* #undef HAVE__I64TOA */
   1.114 +/* #undef HAVE__UI64TOA */
   1.115 +#define HAVE_STRTOLL 1
   1.116 +#define HAVE_STRTOULL 1
   1.117 +#define HAVE_STRTOD 1
   1.118 +#define HAVE_ATOI 1
   1.119 +#define HAVE_ATOF 1
   1.120 +#define HAVE_STRCMP 1
   1.121 +#define HAVE_STRNCMP 1
   1.122 +/* #undef HAVE__STRICMP */
   1.123 +#define HAVE_STRCASECMP 1
   1.124 +/* #undef HAVE__STRNICMP */
   1.125 +#define HAVE_STRNCASECMP 1
   1.126 +#define HAVE_SSCANF 1
   1.127 +#define HAVE_SNPRINTF 1
   1.128 +#define HAVE_VSNPRINTF 1
   1.129 +#define HAVE_M_PI 
   1.130 +#define HAVE_ATAN 1
   1.131 +#define HAVE_ATAN2 1
   1.132 +#define HAVE_CEIL 1
   1.133 +#define HAVE_COPYSIGN 1
   1.134 +#define HAVE_COS 1
   1.135 +#define HAVE_COSF 1
   1.136 +#define HAVE_FABS 1
   1.137 +#define HAVE_FLOOR 1
   1.138 +#define HAVE_LOG 1
   1.139 +#define HAVE_POW 1
   1.140 +#define HAVE_SCALBN 1
   1.141 +#define HAVE_SIN 1
   1.142 +#define HAVE_SINF 1
   1.143 +#define HAVE_SQRT 1
   1.144 +#define HAVE_SIGACTION 1
   1.145 +#define HAVE_SETJMP 1
   1.146 +#define HAVE_NANOSLEEP 1
   1.147 +#define HAVE_SYSCONF 1
   1.148 +#define HAVE_SYSCTLBYNAME 1
   1.149 +/* #undef HAVE_CLOCK_GETTIME */
   1.150 +/* #undef HAVE_GETPAGESIZE */
   1.151 +#define HAVE_MPROTECT 1
   1.152 +#define HAVE_ICONV 1
   1.153 +
   1.154  #else
   1.155 -#include "SDL_config_minimal.h"
   1.156 -#endif /* platform config */
   1.157 +/* We may need some replacement for stdarg.h here */
   1.158 +#include <stdarg.h>
   1.159 +#endif /* HAVE_LIBC */
   1.160 +
   1.161 +/* SDL internal assertion support */
   1.162 +/* #undef SDL_DEFAULT_ASSERT_LEVEL */
   1.163 +
   1.164 +/* Allow disabling of core subsystems */
   1.165 +/* #undef SDL_ATOMIC_DISABLED */
   1.166 +/* #undef SDL_AUDIO_DISABLED */
   1.167 +/* #undef SDL_CPUINFO_DISABLED */
   1.168 +/* #undef SDL_EVENTS_DISABLED */
   1.169 +/* #undef SDL_FILE_DISABLED */
   1.170 +/* #undef SDL_JOYSTICK_DISABLED */
   1.171 +/* #undef SDL_HAPTIC_DISABLED */
   1.172 +/* #undef SDL_LOADSO_DISABLED */
   1.173 +/* #undef SDL_RENDER_DISABLED */
   1.174 +/* #undef SDL_THREADS_DISABLED */
   1.175 +/* #undef SDL_TIMERS_DISABLED */
   1.176 +/* #undef SDL_VIDEO_DISABLED */
   1.177 +/* #undef SDL_POWER_DISABLED */
   1.178 +
   1.179 +/* Enable various audio drivers */
   1.180 +/* #undef SDL_AUDIO_DRIVER_ALSA */
   1.181 +/* #undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC */
   1.182 +/* #undef SDL_AUDIO_DRIVER_ARTS */
   1.183 +/* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
   1.184 +/* #undef SDL_AUDIO_DRIVER_PULSEAUDIO */
   1.185 +/* #undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC */
   1.186 +/* #undef SDL_AUDIO_DRIVER_BEOSAUDIO */
   1.187 +/* #undef SDL_AUDIO_DRIVER_BSD */
   1.188 +#define SDL_AUDIO_DRIVER_COREAUDIO 1
   1.189 +#define SDL_AUDIO_DRIVER_DISK 1
   1.190 +#define SDL_AUDIO_DRIVER_DUMMY 1
   1.191 +/* #undef SDL_AUDIO_DRIVER_DSOUND */
   1.192 +/* #undef SDL_AUDIO_DRIVER_ESD */
   1.193 +/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
   1.194 +/* #undef SDL_AUDIO_DRIVER_NAS */
   1.195 +/* #undef SDL_AUDIO_DRIVER_NAS_DYNAMIC */
   1.196 +/* #undef SDL_AUDIO_DRIVER_NDS */
   1.197 +/* #undef SDL_AUDIO_DRIVER_OSS */
   1.198 +/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
   1.199 +/* #undef SDL_AUDIO_DRIVER_PAUDIO */
   1.200 +/* #undef SDL_AUDIO_DRIVER_QSA */
   1.201 +/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
   1.202 +/* #undef SDL_AUDIO_DRIVER_WINWAVEOUT */
   1.203 +/* #undef SDL_AUDIO_DRIVER_FUSIONSOUND */
   1.204 +/* #undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC */
   1.205 +
   1.206 +/* Enable various input drivers */
   1.207 +/* #undef SDL_INPUT_LINUXEV */
   1.208 +/* #undef SDL_INPUT_TSLIB */
   1.209 +/* #undef SDL_JOYSTICK_BEOS */
   1.210 +/* #undef SDL_JOYSTICK_DINPUT */
   1.211 +/* #undef SDL_JOYSTICK_DUMMY */
   1.212 +#define SDL_JOYSTICK_IOKIT 1
   1.213 +/* #undef SDL_JOYSTICK_LINUX */
   1.214 +/* #undef SDL_JOYSTICK_NDS */
   1.215 +/* #undef SDL_JOYSTICK_WINMM */
   1.216 +/* #undef SDL_JOYSTICK_USBHID */
   1.217 +/* #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H */
   1.218 +/* #undef SDL_HAPTIC_DUMMY */
   1.219 +/* #undef SDL_HAPTIC_LINUX */
   1.220 +#define SDL_HAPTIC_IOKIT 1
   1.221 +/* #undef SDL_HAPTIC_DINPUT */
   1.222 +
   1.223 +/* Enable various shared object loading systems */
   1.224 +/* #undef SDL_LOADSO_BEOS */
   1.225 +/* #undef SDL_LOADSO_DLCOMPAT */
   1.226 +#define SDL_LOADSO_DLOPEN 1
   1.227 +/* #undef SDL_LOADSO_DUMMY */
   1.228 +/* #undef SDL_LOADSO_LDG */
   1.229 +/* #undef SDL_LOADSO_WINDOWS */
   1.230 +
   1.231 +/* Enable various threading systems */
   1.232 +/* #undef SDL_THREAD_BEOS */
   1.233 +/* #undef SDL_THREAD_NDS */
   1.234 +#define SDL_THREAD_PTHREAD 1
   1.235 +#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
   1.236 +/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
   1.237 +/* #undef SDL_THREAD_SPROC */
   1.238 +/* #undef SDL_THREAD_WINDOWS */
   1.239 +
   1.240 +/* Enable various timer systems */
   1.241 +/* #undef SDL_TIMER_BEOS */
   1.242 +/* #undef SDL_TIMER_DUMMY */
   1.243 +/* #undef SDL_TIMER_NDS */
   1.244 +#define SDL_TIMER_UNIX 1
   1.245 +/* #undef SDL_TIMER_WINDOWS */
   1.246 +/* #undef SDL_TIMER_WINCE */
   1.247 +
   1.248 +/* Enable various video drivers */
   1.249 +/* #undef SDL_VIDEO_DRIVER_BWINDOW */
   1.250 +#define SDL_VIDEO_DRIVER_COCOA 1
   1.251 +/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
   1.252 +/* #undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC */
   1.253 +#define SDL_VIDEO_DRIVER_DUMMY 1
   1.254 +/* #undef SDL_VIDEO_DRIVER_NDS */
   1.255 +/* #undef SDL_VIDEO_DRIVER_WINDOWS */
   1.256 +#define SDL_VIDEO_DRIVER_X11 1
   1.257 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
   1.258 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
   1.259 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR "/usr/X11R6/lib/libXcursor.1.dylib"
   1.260 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"
   1.261 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT "/usr/X11R6/lib/libXi.6.dylib"
   1.262 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
   1.263 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
   1.264 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
   1.265 +#define SDL_VIDEO_DRIVER_X11_XCURSOR 1
   1.266 +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
   1.267 +#define SDL_VIDEO_DRIVER_X11_XINPUT 1
   1.268 +#define SDL_VIDEO_DRIVER_X11_XRANDR 1
   1.269 +#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
   1.270 +#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
   1.271 +#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
   1.272 +
   1.273 +/* #undef SDL_VIDEO_RENDER_D3D */
   1.274 +#define SDL_VIDEO_RENDER_OGL 1
   1.275 +/* #undef SDL_VIDEO_RENDER_OGL_ES */
   1.276 +/* #undef SDL_VIDEO_RENDER_DIRECTFB */
   1.277 +
   1.278 +/* Enable OpenGL support */
   1.279 +#define SDL_VIDEO_OPENGL 1
   1.280 +/* #undef SDL_VIDEO_OPENGL_ES */
   1.281 +/* #undef SDL_VIDEO_OPENGL_BGL */
   1.282 +#define SDL_VIDEO_OPENGL_CGL 1
   1.283 +#define SDL_VIDEO_OPENGL_GLX 1
   1.284 +/* #undef SDL_VIDEO_OPENGL_WGL */
   1.285 +/* #undef SDL_VIDEO_OPENGL_OSMESA */
   1.286 +/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
   1.287 +
   1.288 +/* Enable system power support */
   1.289 +/* #undef SDL_POWER_LINUX */
   1.290 +/* #undef SDL_POWER_WINDOWS */
   1.291 +#define SDL_POWER_MACOSX 1
   1.292 +/* #undef SDL_POWER_BEOS */
   1.293 +/* #undef SDL_POWER_NINTENDODS */
   1.294 +/* #undef SDL_POWER_HARDWIRED */
   1.295 +
   1.296 +/* Enable assembly routines */
   1.297 +#define SDL_ASSEMBLY_ROUTINES 1
   1.298 +/* #undef SDL_ALTIVEC_BLITTERS */
   1.299  
   1.300  #endif /* _SDL_config_h */
     2.1 --- a/include/SDL_revision.h	Thu May 26 19:57:03 2011 +0300
     2.2 +++ b/include/SDL_revision.h	Thu May 26 20:13:49 2011 -0700
     2.3 @@ -1,2 +1,2 @@
     2.4 -#define SDL_REVISION "hg-0:aaaaaaaaaaah"
     2.5 -#define SDL_REVISION_NUMBER 0
     2.6 +#define SDL_REVISION "hg-5546:cd2167525827"
     2.7 +#define SDL_REVISION_NUMBER 5546
     3.1 --- a/test/automated/Makefile	Thu May 26 19:57:03 2011 +0300
     3.2 +++ b/test/automated/Makefile	Thu May 26 20:13:49 2011 -0700
     3.3 @@ -1,7 +1,7 @@
     3.4  
     3.5  
     3.6 -CFLAGS  := -W -Wall -Wextra -g `sdl-config --cflags` -DSDL_NO_COMPAT
     3.7 -LDFLAGS := `sdl-config --libs`
     3.8 +CFLAGS  := -W -Wall -Wextra -g `sdl-config --prefix=/usr/local --cflags` -DSDL_NO_COMPAT
     3.9 +LDFLAGS := `sdl-config --prefix=/usr/local --libs`
    3.10  
    3.11  # If it doesn't pick up defaults
    3.12  #CFLAGS  := -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL
     4.1 --- a/test/configure	Thu May 26 19:57:03 2011 +0300
     4.2 +++ b/test/configure	Thu May 26 20:13:49 2011 -0700
     4.3 @@ -1,60 +1,83 @@
     4.4  #! /bin/sh
     4.5  # Guess values for system-dependent variables and create Makefiles.
     4.6 -# Generated by GNU Autoconf 2.61.
     4.7 +# Generated by GNU Autoconf 2.65.
     4.8 +#
     4.9  #
    4.10  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    4.11 -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    4.12 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
    4.13 +# Inc.
    4.14 +#
    4.15 +#
    4.16  # This configure script is free software; the Free Software Foundation
    4.17  # gives unlimited permission to copy, distribute and modify it.
    4.18 -## --------------------- ##
    4.19 -## M4sh Initialization.  ##
    4.20 -## --------------------- ##
    4.21 +## -------------------- ##
    4.22 +## M4sh Initialization. ##
    4.23 +## -------------------- ##
    4.24  
    4.25  # Be more Bourne compatible
    4.26  DUALCASE=1; export DUALCASE # for MKS sh
    4.27 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    4.28 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    4.29    emulate sh
    4.30    NULLCMD=:
    4.31 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    4.32 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    4.33    # is contrary to our usage.  Disable this feature.
    4.34    alias -g '${1+"$@"}'='"$@"'
    4.35    setopt NO_GLOB_SUBST
    4.36  else
    4.37 -  case `(set -o) 2>/dev/null` in
    4.38 -  *posix*) set -o posix ;;
    4.39 +  case `(set -o) 2>/dev/null` in #(
    4.40 +  *posix*) :
    4.41 +    set -o posix ;; #(
    4.42 +  *) :
    4.43 +     ;;
    4.44  esac
    4.45 -
    4.46  fi
    4.47  
    4.48  
    4.49 -
    4.50 -
    4.51 -# PATH needs CR
    4.52 -# Avoid depending upon Character Ranges.
    4.53 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    4.54 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    4.55 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    4.56 -as_cr_digits='0123456789'
    4.57 -as_cr_alnum=$as_cr_Letters$as_cr_digits
    4.58 +as_nl='
    4.59 +'
    4.60 +export as_nl
    4.61 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
    4.62 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    4.63 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4.64 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    4.65 +# Prefer a ksh shell builtin over an external printf program on Solaris,
    4.66 +# but without wasting forks for bash or zsh.
    4.67 +if test -z "$BASH_VERSION$ZSH_VERSION" \
    4.68 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    4.69 +  as_echo='print -r --'
    4.70 +  as_echo_n='print -rn --'
    4.71 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    4.72 +  as_echo='printf %s\n'
    4.73 +  as_echo_n='printf %s'
    4.74 +else
    4.75 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    4.76 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    4.77 +    as_echo_n='/usr/ucb/echo -n'
    4.78 +  else
    4.79 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    4.80 +    as_echo_n_body='eval
    4.81 +      arg=$1;
    4.82 +      case $arg in #(
    4.83 +      *"$as_nl"*)
    4.84 +	expr "X$arg" : "X\\(.*\\)$as_nl";
    4.85 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    4.86 +      esac;
    4.87 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    4.88 +    '
    4.89 +    export as_echo_n_body
    4.90 +    as_echo_n='sh -c $as_echo_n_body as_echo'
    4.91 +  fi
    4.92 +  export as_echo_body
    4.93 +  as_echo='sh -c $as_echo_body as_echo'
    4.94 +fi
    4.95  
    4.96  # The user is always right.
    4.97  if test "${PATH_SEPARATOR+set}" != set; then
    4.98 -  echo "#! /bin/sh" >conf$$.sh
    4.99 -  echo  "exit 0"   >>conf$$.sh
   4.100 -  chmod +x conf$$.sh
   4.101 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   4.102 -    PATH_SEPARATOR=';'
   4.103 -  else
   4.104 -    PATH_SEPARATOR=:
   4.105 -  fi
   4.106 -  rm -f conf$$.sh
   4.107 -fi
   4.108 -
   4.109 -# Support unset when possible.
   4.110 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4.111 -  as_unset=unset
   4.112 -else
   4.113 -  as_unset=false
   4.114 +  PATH_SEPARATOR=:
   4.115 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   4.116 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   4.117 +      PATH_SEPARATOR=';'
   4.118 +  }
   4.119  fi
   4.120  
   4.121  
   4.122 @@ -63,20 +86,18 @@
   4.123  # there to prevent editors from complaining about space-tab.
   4.124  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   4.125  # splitting by setting IFS to empty value.)
   4.126 -as_nl='
   4.127 -'
   4.128  IFS=" ""	$as_nl"
   4.129  
   4.130  # Find who we are.  Look in the path if we contain no directory separator.
   4.131 -case $0 in
   4.132 +case $0 in #((
   4.133    *[\\/]* ) as_myself=$0 ;;
   4.134    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4.135  for as_dir in $PATH
   4.136  do
   4.137    IFS=$as_save_IFS
   4.138    test -z "$as_dir" && as_dir=.
   4.139 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   4.140 -done
   4.141 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   4.142 +  done
   4.143  IFS=$as_save_IFS
   4.144  
   4.145       ;;
   4.146 @@ -87,32 +108,269 @@
   4.147    as_myself=$0
   4.148  fi
   4.149  if test ! -f "$as_myself"; then
   4.150 -  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   4.151 -  { (exit 1); exit 1; }
   4.152 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   4.153 +  exit 1
   4.154  fi
   4.155  
   4.156 -# Work around bugs in pre-3.0 UWIN ksh.
   4.157 -for as_var in ENV MAIL MAILPATH
   4.158 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   4.159 +# Unset variables that we do not need and which cause bugs (e.g. in
   4.160 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   4.161 +# suppresses any "Segmentation fault" message there.  '((' could
   4.162 +# trigger a bug in pdksh 5.2.14.
   4.163 +for as_var in BASH_ENV ENV MAIL MAILPATH
   4.164 +do eval test x\${$as_var+set} = xset \
   4.165 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   4.166  done
   4.167  PS1='$ '
   4.168  PS2='> '
   4.169  PS4='+ '
   4.170  
   4.171  # NLS nuisances.
   4.172 -for as_var in \
   4.173 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   4.174 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   4.175 -  LC_TELEPHONE LC_TIME
   4.176 +LC_ALL=C
   4.177 +export LC_ALL
   4.178 +LANGUAGE=C
   4.179 +export LANGUAGE
   4.180 +
   4.181 +# CDPATH.
   4.182 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   4.183 +
   4.184 +if test "x$CONFIG_SHELL" = x; then
   4.185 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   4.186 +  emulate sh
   4.187 +  NULLCMD=:
   4.188 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   4.189 +  # is contrary to our usage.  Disable this feature.
   4.190 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
   4.191 +  setopt NO_GLOB_SUBST
   4.192 +else
   4.193 +  case \`(set -o) 2>/dev/null\` in #(
   4.194 +  *posix*) :
   4.195 +    set -o posix ;; #(
   4.196 +  *) :
   4.197 +     ;;
   4.198 +esac
   4.199 +fi
   4.200 +"
   4.201 +  as_required="as_fn_return () { (exit \$1); }
   4.202 +as_fn_success () { as_fn_return 0; }
   4.203 +as_fn_failure () { as_fn_return 1; }
   4.204 +as_fn_ret_success () { return 0; }
   4.205 +as_fn_ret_failure () { return 1; }
   4.206 +
   4.207 +exitcode=0
   4.208 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   4.209 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   4.210 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   4.211 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   4.212 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   4.213 +
   4.214 +else
   4.215 +  exitcode=1; echo positional parameters were not saved.
   4.216 +fi
   4.217 +test x\$exitcode = x0 || exit 1"
   4.218 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   4.219 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   4.220 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   4.221 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
   4.222 +  if (eval "$as_required") 2>/dev/null; then :
   4.223 +  as_have_required=yes
   4.224 +else
   4.225 +  as_have_required=no
   4.226 +fi
   4.227 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   4.228 +
   4.229 +else
   4.230 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4.231 +as_found=false
   4.232 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   4.233  do
   4.234 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   4.235 -    eval $as_var=C; export $as_var
   4.236 +  IFS=$as_save_IFS
   4.237 +  test -z "$as_dir" && as_dir=.
   4.238 +  as_found=:
   4.239 +  case $as_dir in #(
   4.240 +	 /*)
   4.241 +	   for as_base in sh bash ksh sh5; do
   4.242 +	     # Try only shells that exist, to save several forks.
   4.243 +	     as_shell=$as_dir/$as_base
   4.244 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   4.245 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   4.246 +  CONFIG_SHELL=$as_shell as_have_required=yes
   4.247 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   4.248 +  break 2
   4.249 +fi
   4.250 +fi
   4.251 +	   done;;
   4.252 +       esac
   4.253 +  as_found=false
   4.254 +done
   4.255 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   4.256 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   4.257 +  CONFIG_SHELL=$SHELL as_have_required=yes
   4.258 +fi; }
   4.259 +IFS=$as_save_IFS
   4.260 +
   4.261 +
   4.262 +      if test "x$CONFIG_SHELL" != x; then :
   4.263 +  # We cannot yet assume a decent shell, so we have to provide a
   4.264 +	# neutralization value for shells without unset; and this also
   4.265 +	# works around shells that cannot unset nonexistent variables.
   4.266 +	BASH_ENV=/dev/null
   4.267 +	ENV=/dev/null
   4.268 +	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   4.269 +	export CONFIG_SHELL
   4.270 +	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   4.271 +fi
   4.272 +
   4.273 +    if test x$as_have_required = xno; then :
   4.274 +  $as_echo "$0: This script requires a shell more modern than all"
   4.275 +  $as_echo "$0: the shells that I found on your system."
   4.276 +  if test x${ZSH_VERSION+set} = xset ; then
   4.277 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   4.278 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   4.279    else
   4.280 -    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   4.281 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   4.282 +$0: including any error possibly output before this
   4.283 +$0: message. Then install a modern shell, or manually run
   4.284 +$0: the script under such a shell if you do have one."
   4.285    fi
   4.286 -done
   4.287 -
   4.288 -# Required to use basename.
   4.289 +  exit 1
   4.290 +fi
   4.291 +fi
   4.292 +fi
   4.293 +SHELL=${CONFIG_SHELL-/bin/sh}
   4.294 +export SHELL
   4.295 +# Unset more variables known to interfere with behavior of common tools.
   4.296 +CLICOLOR_FORCE= GREP_OPTIONS=
   4.297 +unset CLICOLOR_FORCE GREP_OPTIONS
   4.298 +
   4.299 +## --------------------- ##
   4.300 +## M4sh Shell Functions. ##
   4.301 +## --------------------- ##
   4.302 +# as_fn_unset VAR
   4.303 +# ---------------
   4.304 +# Portably unset VAR.
   4.305 +as_fn_unset ()
   4.306 +{
   4.307 +  { eval $1=; unset $1;}
   4.308 +}
   4.309 +as_unset=as_fn_unset
   4.310 +
   4.311 +# as_fn_set_status STATUS
   4.312 +# -----------------------
   4.313 +# Set $? to STATUS, without forking.
   4.314 +as_fn_set_status ()
   4.315 +{
   4.316 +  return $1
   4.317 +} # as_fn_set_status
   4.318 +
   4.319 +# as_fn_exit STATUS
   4.320 +# -----------------
   4.321 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   4.322 +as_fn_exit ()
   4.323 +{
   4.324 +  set +e
   4.325 +  as_fn_set_status $1
   4.326 +  exit $1
   4.327 +} # as_fn_exit
   4.328 +
   4.329 +# as_fn_mkdir_p
   4.330 +# -------------
   4.331 +# Create "$as_dir" as a directory, including parents if necessary.
   4.332 +as_fn_mkdir_p ()
   4.333 +{
   4.334 +
   4.335 +  case $as_dir in #(
   4.336 +  -*) as_dir=./$as_dir;;
   4.337 +  esac
   4.338 +  test -d "$as_dir" || eval $as_mkdir_p || {
   4.339 +    as_dirs=
   4.340 +    while :; do
   4.341 +      case $as_dir in #(
   4.342 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   4.343 +      *) as_qdir=$as_dir;;
   4.344 +      esac
   4.345 +      as_dirs="'$as_qdir' $as_dirs"
   4.346 +      as_dir=`$as_dirname -- "$as_dir" ||
   4.347 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   4.348 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
   4.349 +	 X"$as_dir" : 'X\(//\)$' \| \
   4.350 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   4.351 +$as_echo X"$as_dir" |
   4.352 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   4.353 +	    s//\1/
   4.354 +	    q
   4.355 +	  }
   4.356 +	  /^X\(\/\/\)[^/].*/{
   4.357 +	    s//\1/
   4.358 +	    q
   4.359 +	  }
   4.360 +	  /^X\(\/\/\)$/{
   4.361 +	    s//\1/
   4.362 +	    q
   4.363 +	  }
   4.364 +	  /^X\(\/\).*/{
   4.365 +	    s//\1/
   4.366 +	    q
   4.367 +	  }
   4.368 +	  s/.*/./; q'`
   4.369 +      test -d "$as_dir" && break
   4.370 +    done
   4.371 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
   4.372 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   4.373 +
   4.374 +
   4.375 +} # as_fn_mkdir_p
   4.376 +# as_fn_append VAR VALUE
   4.377 +# ----------------------
   4.378 +# Append the text in VALUE to the end of the definition contained in VAR. Take
   4.379 +# advantage of any shell optimizations that allow amortized linear growth over
   4.380 +# repeated appends, instead of the typical quadratic growth present in naive
   4.381 +# implementations.
   4.382 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   4.383 +  eval 'as_fn_append ()
   4.384 +  {
   4.385 +    eval $1+=\$2
   4.386 +  }'
   4.387 +else
   4.388 +  as_fn_append ()
   4.389 +  {
   4.390 +    eval $1=\$$1\$2
   4.391 +  }
   4.392 +fi # as_fn_append
   4.393 +
   4.394 +# as_fn_arith ARG...
   4.395 +# ------------------
   4.396 +# Perform arithmetic evaluation on the ARGs, and store the result in the
   4.397 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
   4.398 +# must be portable across $(()) and expr.
   4.399 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   4.400 +  eval 'as_fn_arith ()
   4.401 +  {
   4.402 +    as_val=$(( $* ))
   4.403 +  }'
   4.404 +else
   4.405 +  as_fn_arith ()
   4.406 +  {
   4.407 +    as_val=`expr "$@" || test $? -eq 1`
   4.408 +  }
   4.409 +fi # as_fn_arith
   4.410 +
   4.411 +
   4.412 +# as_fn_error ERROR [LINENO LOG_FD]
   4.413 +# ---------------------------------
   4.414 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   4.415 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   4.416 +# script with status $?, using 1 if that was 0.
   4.417 +as_fn_error ()
   4.418 +{
   4.419 +  as_status=$?; test $as_status -eq 0 && as_status=1
   4.420 +  if test "$3"; then
   4.421 +    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   4.422 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   4.423 +  fi
   4.424 +  $as_echo "$as_me: error: $1" >&2
   4.425 +  as_fn_exit $as_status
   4.426 +} # as_fn_error
   4.427 +
   4.428  if expr a : '\(a\)' >/dev/null 2>&1 &&
   4.429     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   4.430    as_expr=expr
   4.431 @@ -126,13 +384,17 @@
   4.432    as_basename=false
   4.433  fi
   4.434  
   4.435 -
   4.436 -# Name of the executable.
   4.437 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   4.438 +  as_dirname=dirname
   4.439 +else
   4.440 +  as_dirname=false
   4.441 +fi
   4.442 +
   4.443  as_me=`$as_basename -- "$0" ||
   4.444  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   4.445  	 X"$0" : 'X\(//\)$' \| \
   4.446  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   4.447 -echo X/"$0" |
   4.448 +$as_echo X/"$0" |
   4.449      sed '/^.*\/\([^/][^/]*\)\/*$/{
   4.450  	    s//\1/
   4.451  	    q
   4.452 @@ -147,294 +409,19 @@
   4.453  	  }
   4.454  	  s/.*/./; q'`
   4.455  
   4.456 -# CDPATH.
   4.457 -$as_unset CDPATH
   4.458 -
   4.459 -
   4.460 -if test "x$CONFIG_SHELL" = x; then
   4.461 -  if (eval ":") 2>/dev/null; then
   4.462 -  as_have_required=yes
   4.463 -else
   4.464 -  as_have_required=no
   4.465 -fi
   4.466 -
   4.467 -  if test $as_have_required = yes && 	 (eval ":
   4.468 -(as_func_return () {
   4.469 -  (exit \$1)
   4.470 -}
   4.471 -as_func_success () {
   4.472 -  as_func_return 0
   4.473 -}
   4.474 -as_func_failure () {
   4.475 -  as_func_return 1
   4.476 -}
   4.477 -as_func_ret_success () {
   4.478 -  return 0
   4.479 -}
   4.480 -as_func_ret_failure () {
   4.481 -  return 1
   4.482 -}
   4.483 -
   4.484 -exitcode=0
   4.485 -if as_func_success; then
   4.486 -  :
   4.487 -else
   4.488 -  exitcode=1
   4.489 -  echo as_func_success failed.
   4.490 -fi
   4.491 -
   4.492 -if as_func_failure; then
   4.493 -  exitcode=1
   4.494 -  echo as_func_failure succeeded.
   4.495 -fi
   4.496 -
   4.497 -if as_func_ret_success; then
   4.498 -  :
   4.499 -else
   4.500 -  exitcode=1
   4.501 -  echo as_func_ret_success failed.
   4.502 -fi
   4.503 -
   4.504 -if as_func_ret_failure; then
   4.505 -  exitcode=1
   4.506 -  echo as_func_ret_failure succeeded.
   4.507 -fi
   4.508 -
   4.509 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   4.510 -  :
   4.511 -else
   4.512 -  exitcode=1
   4.513 -  echo positional parameters were not saved.
   4.514 -fi
   4.515 -
   4.516 -test \$exitcode = 0) || { (exit 1); exit 1; }
   4.517 -
   4.518 -(
   4.519 -  as_lineno_1=\$LINENO
   4.520 -  as_lineno_2=\$LINENO
   4.521 -  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   4.522 -  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   4.523 -") 2> /dev/null; then
   4.524 -  :
   4.525 -else
   4.526 -  as_candidate_shells=
   4.527 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4.528 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   4.529 -do
   4.530 -  IFS=$as_save_IFS
   4.531 -  test -z "$as_dir" && as_dir=.
   4.532 -  case $as_dir in
   4.533 -	 /*)
   4.534 -	   for as_base in sh bash ksh sh5; do
   4.535 -	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   4.536 -	   done;;
   4.537 -       esac
   4.538 -done
   4.539 -IFS=$as_save_IFS
   4.540 -
   4.541 -
   4.542 -      for as_shell in $as_candidate_shells $SHELL; do
   4.543 -	 # Try only shells that exist, to save several forks.
   4.544 -	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   4.545 -		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   4.546 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   4.547 -  emulate sh
   4.548 -  NULLCMD=:
   4.549 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   4.550 -  # is contrary to our usage.  Disable this feature.
   4.551 -  alias -g '${1+"$@"}'='"$@"'
   4.552 -  setopt NO_GLOB_SUBST
   4.553 -else
   4.554 -  case `(set -o) 2>/dev/null` in
   4.555 -  *posix*) set -o posix ;;
   4.556 -esac
   4.557 -
   4.558 -fi
   4.559 -
   4.560 -
   4.561 -:
   4.562 -_ASEOF
   4.563 -}; then
   4.564 -  CONFIG_SHELL=$as_shell
   4.565 -	       as_have_required=yes
   4.566 -	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   4.567 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   4.568 -  emulate sh
   4.569 -  NULLCMD=:
   4.570 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   4.571 -  # is contrary to our usage.  Disable this feature.
   4.572 -  alias -g '${1+"$@"}'='"$@"'
   4.573 -  setopt NO_GLOB_SUBST
   4.574 -else
   4.575 -  case `(set -o) 2>/dev/null` in
   4.576 -  *posix*) set -o posix ;;
   4.577 -esac
   4.578 -
   4.579 -fi
   4.580 -
   4.581 -
   4.582 -:
   4.583 -(as_func_return () {
   4.584 -  (exit $1)
   4.585 -}
   4.586 -as_func_success () {
   4.587 -  as_func_return 0
   4.588 -}
   4.589 -as_func_failure () {
   4.590 -  as_func_return 1
   4.591 -}
   4.592 -as_func_ret_success () {
   4.593 -  return 0
   4.594 -}
   4.595 -as_func_ret_failure () {
   4.596 -  return 1
   4.597 -}
   4.598 -
   4.599 -exitcode=0
   4.600 -if as_func_success; then
   4.601 -  :
   4.602 -else
   4.603 -  exitcode=1
   4.604 -  echo as_func_success failed.
   4.605 -fi
   4.606 -
   4.607 -if as_func_failure; then
   4.608 -  exitcode=1
   4.609 -  echo as_func_failure succeeded.
   4.610 -fi
   4.611 -
   4.612 -if as_func_ret_success; then
   4.613 -  :
   4.614 -else
   4.615 -  exitcode=1
   4.616 -  echo as_func_ret_success failed.
   4.617 -fi
   4.618 -
   4.619 -if as_func_ret_failure; then
   4.620 -  exitcode=1
   4.621 -  echo as_func_ret_failure succeeded.
   4.622 -fi
   4.623 -
   4.624 -if ( set x; as_func_ret_success y && test x = "$1" ); then
   4.625 -  :
   4.626 -else
   4.627 -  exitcode=1
   4.628 -  echo positional parameters were not saved.
   4.629 -fi
   4.630 -
   4.631 -test $exitcode = 0) || { (exit 1); exit 1; }
   4.632 -
   4.633 -(
   4.634 -  as_lineno_1=$LINENO
   4.635 -  as_lineno_2=$LINENO
   4.636 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   4.637 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   4.638 -
   4.639 -_ASEOF
   4.640 -}; then
   4.641 -  break
   4.642 -fi
   4.643 -
   4.644 -fi
   4.645 -
   4.646 -      done
   4.647 -
   4.648 -      if test "x$CONFIG_SHELL" != x; then
   4.649 -  for as_var in BASH_ENV ENV
   4.650 -        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   4.651 -        done
   4.652 -        export CONFIG_SHELL
   4.653 -        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   4.654 -fi
   4.655 -
   4.656 -
   4.657 -    if test $as_have_required = no; then
   4.658 -  echo This script requires a shell more modern than all the
   4.659 -      echo shells that I found on your system.  Please install a
   4.660 -      echo modern shell, or manually run the script under such a
   4.661 -      echo shell if you do have one.
   4.662 -      { (exit 1); exit 1; }
   4.663 -fi
   4.664 -
   4.665 -
   4.666 -fi
   4.667 -
   4.668 -fi
   4.669 -
   4.670 -
   4.671 -
   4.672 -(eval "as_func_return () {
   4.673 -  (exit \$1)
   4.674 -}
   4.675 -as_func_success () {
   4.676 -  as_func_return 0
   4.677 -}
   4.678 -as_func_failure () {
   4.679 -  as_func_return 1
   4.680 -}
   4.681 -as_func_ret_success () {
   4.682 -  return 0
   4.683 -}
   4.684 -as_func_ret_failure () {
   4.685 -  return 1
   4.686 -}
   4.687 -
   4.688 -exitcode=0
   4.689 -if as_func_success; then
   4.690 -  :
   4.691 -else
   4.692 -  exitcode=1
   4.693 -  echo as_func_success failed.
   4.694 -fi
   4.695 -
   4.696 -if as_func_failure; then
   4.697 -  exitcode=1
   4.698 -  echo as_func_failure succeeded.
   4.699 -fi
   4.700 -
   4.701 -if as_func_ret_success; then
   4.702 -  :
   4.703 -else
   4.704 -  exitcode=1
   4.705 -  echo as_func_ret_success failed.
   4.706 -fi
   4.707 -
   4.708 -if as_func_ret_failure; then
   4.709 -  exitcode=1
   4.710 -  echo as_func_ret_failure succeeded.
   4.711 -fi
   4.712 -
   4.713 -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   4.714 -  :
   4.715 -else
   4.716 -  exitcode=1
   4.717 -  echo positional parameters were not saved.
   4.718 -fi
   4.719 -
   4.720 -test \$exitcode = 0") || {
   4.721 -  echo No shell found that supports shell functions.
   4.722 -  echo Please tell autoconf@gnu.org about your system,
   4.723 -  echo including any error possibly output before this
   4.724 -  echo message
   4.725 -}
   4.726 -
   4.727 -
   4.728 -
   4.729 -  as_lineno_1=$LINENO
   4.730 -  as_lineno_2=$LINENO
   4.731 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
   4.732 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   4.733 -
   4.734 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   4.735 -  # uniformly replaced by the line number.  The first 'sed' inserts a
   4.736 -  # line-number line after each line using $LINENO; the second 'sed'
   4.737 -  # does the real work.  The second script uses 'N' to pair each
   4.738 -  # line-number line with the line containing $LINENO, and appends
   4.739 -  # trailing '-' during substitution so that $LINENO is not a special
   4.740 -  # case at line end.
   4.741 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   4.742 -  # scripts with optimization help from Paolo Bonzini.  Blame Lee
   4.743 -  # E. McMahon (1931-1989) for sed's syntax.  :-)
   4.744 +# Avoid depending upon Character Ranges.
   4.745 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   4.746 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   4.747 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   4.748 +as_cr_digits='0123456789'
   4.749 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   4.750 +
   4.751 +
   4.752 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
   4.753 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
   4.754 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   4.755 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   4.756 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   4.757    sed -n '
   4.758      p
   4.759      /[$]LINENO/=
   4.760 @@ -451,8 +438,7 @@
   4.761        s/-\n.*//
   4.762      ' >$as_me.lineno &&
   4.763    chmod +x "$as_me.lineno" ||
   4.764 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   4.765 -   { (exit 1); exit 1; }; }
   4.766 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   4.767  
   4.768    # Don't try to exec as it changes $[0], causing all sort of problems
   4.769    # (the dirname of $[0] is not the place where we might find the
   4.770 @@ -462,49 +448,40 @@
   4.771    exit
   4.772  }
   4.773  
   4.774 -
   4.775 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   4.776 -  as_dirname=dirname
   4.777 -else
   4.778 -  as_dirname=false
   4.779 -fi
   4.780 -
   4.781  ECHO_C= ECHO_N= ECHO_T=
   4.782 -case `echo -n x` in
   4.783 +case `echo -n x` in #(((((
   4.784  -n*)
   4.785 -  case `echo 'x\c'` in
   4.786 +  case `echo 'xy\c'` in
   4.787    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   4.788 -  *)   ECHO_C='\c';;
   4.789 +  xy)  ECHO_C='\c';;
   4.790 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   4.791 +       ECHO_T='	';;
   4.792    esac;;
   4.793  *)
   4.794    ECHO_N='-n';;
   4.795  esac
   4.796  
   4.797 -if expr a : '\(a\)' >/dev/null 2>&1 &&
   4.798 -   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   4.799 -  as_expr=expr
   4.800 -else
   4.801 -  as_expr=false
   4.802 -fi
   4.803 -
   4.804  rm -f conf$$ conf$$.exe conf$$.file
   4.805  if test -d conf$$.dir; then
   4.806    rm -f conf$$.dir/conf$$.file
   4.807  else
   4.808    rm -f conf$$.dir
   4.809 -  mkdir conf$$.dir
   4.810 +  mkdir conf$$.dir 2>/dev/null
   4.811  fi
   4.812 -echo >conf$$.file
   4.813 -if ln -s conf$$.file conf$$ 2>/dev/null; then
   4.814 -  as_ln_s='ln -s'
   4.815 -  # ... but there are two gotchas:
   4.816 -  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   4.817 -  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   4.818 -  # In both cases, we have to default to `cp -p'.
   4.819 -  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   4.820 +if (echo >conf$$.file) 2>/dev/null; then
   4.821 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
   4.822 +    as_ln_s='ln -s'
   4.823 +    # ... but there are two gotchas:
   4.824 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   4.825 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   4.826 +    # In both cases, we have to default to `cp -p'.
   4.827 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   4.828 +      as_ln_s='cp -p'
   4.829 +  elif ln conf$$.file conf$$ 2>/dev/null; then
   4.830 +    as_ln_s=ln
   4.831 +  else
   4.832      as_ln_s='cp -p'
   4.833 -elif ln conf$$.file conf$$ 2>/dev/null; then
   4.834 -  as_ln_s=ln
   4.835 +  fi
   4.836  else
   4.837    as_ln_s='cp -p'
   4.838  fi
   4.839 @@ -512,7 +489,7 @@
   4.840  rmdir conf$$.dir 2>/dev/null
   4.841  
   4.842  if mkdir -p . 2>/dev/null; then
   4.843 -  as_mkdir_p=:
   4.844 +  as_mkdir_p='mkdir -p "$as_dir"'
   4.845  else
   4.846    test -d ./-p && rmdir ./-p
   4.847    as_mkdir_p=false
   4.848 @@ -529,12 +506,12 @@
   4.849    as_test_x='
   4.850      eval sh -c '\''
   4.851        if test -d "$1"; then
   4.852 -        test -d "$1/.";
   4.853 +	test -d "$1/.";
   4.854        else
   4.855 -	case $1 in
   4.856 -        -*)set "./$1";;
   4.857 +	case $1 in #(
   4.858 +	-*)set "./$1";;
   4.859  	esac;
   4.860 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   4.861 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   4.862  	???[sx]*):;;*)false;;esac;fi
   4.863      '\'' sh
   4.864    '
   4.865 @@ -548,8 +525,8 @@
   4.866  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   4.867  
   4.868  
   4.869 -
   4.870 -exec 7<&0 </dev/null 6>&1
   4.871 +test -n "$DJDIR" || exec 7<&0 </dev/null
   4.872 +exec 6>&1
   4.873  
   4.874  # Name of the host.
   4.875  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   4.876 @@ -567,7 +544,6 @@
   4.877  subdirs=
   4.878  MFLAGS=
   4.879  MAKEFLAGS=
   4.880 -SHELL=${CONFIG_SHELL-/bin/sh}
   4.881  
   4.882  # Identity of this package.
   4.883  PACKAGE_NAME=
   4.884 @@ -575,73 +551,82 @@
   4.885  PACKAGE_VERSION=
   4.886  PACKAGE_STRING=
   4.887  PACKAGE_BUGREPORT=
   4.888 +PACKAGE_URL=
   4.889  
   4.890  ac_unique_file="README"
   4.891 -ac_subst_vars='SHELL
   4.892 +ac_subst_vars='LTLIBOBJS
   4.893 +LIBOBJS
   4.894 +SDL_TTF_LIB
   4.895 +GLLIB
   4.896 +CPP
   4.897 +XMKMF
   4.898 +SDL_LIBS
   4.899 +SDL_CFLAGS
   4.900 +SDL_CONFIG
   4.901 +MATHLIB
   4.902 +EXE
   4.903 +OSMESA_CONFIG
   4.904 +OBJEXT
   4.905 +EXEEXT
   4.906 +ac_ct_CC
   4.907 +CPPFLAGS
   4.908 +LDFLAGS
   4.909 +CFLAGS
   4.910 +CC
   4.911 +host_os
   4.912 +host_vendor
   4.913 +host_cpu
   4.914 +host
   4.915 +build_os
   4.916 +build_vendor
   4.917 +build_cpu
   4.918 +build
   4.919 +target_alias
   4.920 +host_alias
   4.921 +build_alias
   4.922 +LIBS
   4.923 +ECHO_T
   4.924 +ECHO_N
   4.925 +ECHO_C
   4.926 +DEFS
   4.927 +mandir
   4.928 +localedir
   4.929 +libdir
   4.930 +psdir
   4.931 +pdfdir
   4.932 +dvidir
   4.933 +htmldir
   4.934 +infodir
   4.935 +docdir
   4.936 +oldincludedir
   4.937 +includedir
   4.938 +localstatedir
   4.939 +sharedstatedir
   4.940 +sysconfdir
   4.941 +datadir
   4.942 +datarootdir
   4.943 +libexecdir
   4.944 +sbindir
   4.945 +bindir
   4.946 +program_transform_name
   4.947 +prefix
   4.948 +exec_prefix
   4.949 +PACKAGE_URL
   4.950 +PACKAGE_BUGREPORT
   4.951 +PACKAGE_STRING
   4.952 +PACKAGE_VERSION
   4.953 +PACKAGE_TARNAME
   4.954 +PACKAGE_NAME
   4.955  PATH_SEPARATOR
   4.956 -PACKAGE_NAME
   4.957 -PACKAGE_TARNAME
   4.958 -PACKAGE_VERSION
   4.959 -PACKAGE_STRING
   4.960 -PACKAGE_BUGREPORT
   4.961 -exec_prefix
   4.962 -prefix
   4.963 -program_transform_name
   4.964 -bindir
   4.965 -sbindir
   4.966 -libexecdir
   4.967 -datarootdir
   4.968 -datadir
   4.969 -sysconfdir
   4.970 -sharedstatedir
   4.971 -localstatedir
   4.972 -includedir
   4.973 -oldincludedir
   4.974 -docdir
   4.975 -infodir
   4.976 -htmldir
   4.977 -dvidir
   4.978 -pdfdir
   4.979 -psdir
   4.980 -libdir
   4.981 -localedir
   4.982 -mandir
   4.983 -DEFS
   4.984 -ECHO_C
   4.985 -ECHO_N
   4.986 -ECHO_T
   4.987 -LIBS
   4.988 -build_alias
   4.989 -host_alias
   4.990 -target_alias
   4.991 -build
   4.992 -build_cpu
   4.993 -build_vendor
   4.994 -build_os
   4.995 -host
   4.996 -host_cpu
   4.997 -host_vendor
   4.998 -host_os
   4.999 -CC
  4.1000 -CFLAGS
  4.1001 -LDFLAGS
  4.1002 -CPPFLAGS
  4.1003 -ac_ct_CC
  4.1004 -EXEEXT
  4.1005 -OBJEXT
  4.1006 -OSMESA_CONFIG
  4.1007 -EXE
  4.1008 -MATHLIB
  4.1009 -SDL_CONFIG
  4.1010 -SDL_CFLAGS
  4.1011 -SDL_LIBS
  4.1012 -XMKMF
  4.1013 -CPP
  4.1014 -GLLIB
  4.1015 -SDL_TTF_LIB
  4.1016 -LIBOBJS
  4.1017 -LTLIBOBJS'
  4.1018 +SHELL'
  4.1019  ac_subst_files=''
  4.1020 +ac_user_opts='
  4.1021 +enable_option_checking
  4.1022 +with_sdl_prefix
  4.1023 +with_sdl_exec_prefix
  4.1024 +enable_sdltest
  4.1025 +with_x
  4.1026 +'
  4.1027        ac_precious_vars='build_alias
  4.1028  host_alias
  4.1029  target_alias
  4.1030 @@ -657,6 +642,8 @@
  4.1031  # Initialize some variables set by options.
  4.1032  ac_init_help=
  4.1033  ac_init_version=false
  4.1034 +ac_unrecognized_opts=
  4.1035 +ac_unrecognized_sep=
  4.1036  # The variables have the same names as the options, with
  4.1037  # dashes changed to underlines.
  4.1038  cache_file=/dev/null
  4.1039 @@ -755,13 +742,20 @@
  4.1040      datarootdir=$ac_optarg ;;
  4.1041  
  4.1042    -disable-* | --disable-*)
  4.1043 -    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  4.1044 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  4.1045      # Reject names that are not valid shell variable names.
  4.1046 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4.1047 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  4.1048 -   { (exit 1); exit 1; }; }
  4.1049 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  4.1050 -    eval enable_$ac_feature=no ;;
  4.1051 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4.1052 +      as_fn_error "invalid feature name: $ac_useropt"
  4.1053 +    ac_useropt_orig=$ac_useropt
  4.1054 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4.1055 +    case $ac_user_opts in
  4.1056 +      *"
  4.1057 +"enable_$ac_useropt"
  4.1058 +"*) ;;
  4.1059 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  4.1060 +	 ac_unrecognized_sep=', ';;
  4.1061 +    esac
  4.1062 +    eval enable_$ac_useropt=no ;;
  4.1063  
  4.1064    -docdir | --docdir | --docdi | --doc | --do)
  4.1065      ac_prev=docdir ;;
  4.1066 @@ -774,13 +768,20 @@
  4.1067      dvidir=$ac_optarg ;;
  4.1068  
  4.1069    -enable-* | --enable-*)
  4.1070 -    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  4.1071 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  4.1072      # Reject names that are not valid shell variable names.
  4.1073 -    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4.1074 -      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  4.1075 -   { (exit 1); exit 1; }; }
  4.1076 -    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  4.1077 -    eval enable_$ac_feature=\$ac_optarg ;;
  4.1078 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4.1079 +      as_fn_error "invalid feature name: $ac_useropt"
  4.1080 +    ac_useropt_orig=$ac_useropt
  4.1081 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4.1082 +    case $ac_user_opts in
  4.1083 +      *"
  4.1084 +"enable_$ac_useropt"
  4.1085 +"*) ;;
  4.1086 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  4.1087 +	 ac_unrecognized_sep=', ';;
  4.1088 +    esac
  4.1089 +    eval enable_$ac_useropt=\$ac_optarg ;;
  4.1090  
  4.1091    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  4.1092    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  4.1093 @@ -971,22 +972,36 @@
  4.1094      ac_init_version=: ;;
  4.1095  
  4.1096    -with-* | --with-*)
  4.1097 -    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  4.1098 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  4.1099      # Reject names that are not valid shell variable names.
  4.1100 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4.1101 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  4.1102 -   { (exit 1); exit 1; }; }
  4.1103 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  4.1104 -    eval with_$ac_package=\$ac_optarg ;;
  4.1105 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4.1106 +      as_fn_error "invalid package name: $ac_useropt"
  4.1107 +    ac_useropt_orig=$ac_useropt
  4.1108 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4.1109 +    case $ac_user_opts in
  4.1110 +      *"
  4.1111 +"with_$ac_useropt"
  4.1112 +"*) ;;
  4.1113 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  4.1114 +	 ac_unrecognized_sep=', ';;
  4.1115 +    esac
  4.1116 +    eval with_$ac_useropt=\$ac_optarg ;;
  4.1117  
  4.1118    -without-* | --without-*)
  4.1119 -    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  4.1120 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  4.1121      # Reject names that are not valid shell variable names.
  4.1122 -    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4.1123 -      { echo "$as_me: error: invalid package name: $ac_package" >&2
  4.1124 -   { (exit 1); exit 1; }; }
  4.1125 -    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  4.1126 -    eval with_$ac_package=no ;;
  4.1127 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  4.1128 +      as_fn_error "invalid package name: $ac_useropt"
  4.1129 +    ac_useropt_orig=$ac_useropt
  4.1130 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  4.1131 +    case $ac_user_opts in
  4.1132 +      *"
  4.1133 +"with_$ac_useropt"
  4.1134 +"*) ;;
  4.1135 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  4.1136 +	 ac_unrecognized_sep=', ';;
  4.1137 +    esac
  4.1138 +    eval with_$ac_useropt=no ;;
  4.1139  
  4.1140    --x)
  4.1141      # Obsolete; use --with-x.
  4.1142 @@ -1006,25 +1021,25 @@
  4.1143    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  4.1144      x_libraries=$ac_optarg ;;
  4.1145  
  4.1146 -  -*) { echo "$as_me: error: unrecognized option: $ac_option
  4.1147 -Try \`$0 --help' for more information." >&2
  4.1148 -   { (exit 1); exit 1; }; }
  4.1149 +  -*) as_fn_error "unrecognized option: \`$ac_option'
  4.1150 +Try \`$0 --help' for more information."
  4.1151      ;;
  4.1152  
  4.1153    *=*)
  4.1154      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  4.1155      # Reject names that are not valid shell variable names.
  4.1156 -    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  4.1157 -      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  4.1158 -   { (exit 1); exit 1; }; }
  4.1159 +    case $ac_envvar in #(
  4.1160 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  4.1161 +      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  4.1162 +    esac
  4.1163      eval $ac_envvar=\$ac_optarg
  4.1164      export $ac_envvar ;;
  4.1165  
  4.1166    *)
  4.1167      # FIXME: should be removed in autoconf 3.0.
  4.1168 -    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  4.1169 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  4.1170      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  4.1171 -      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  4.1172 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  4.1173      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  4.1174      ;;
  4.1175  
  4.1176 @@ -1033,23 +1048,36 @@
  4.1177  
  4.1178  if test -n "$ac_prev"; then
  4.1179    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  4.1180 -  { echo "$as_me: error: missing argument to $ac_option" >&2
  4.1181 -   { (exit 1); exit 1; }; }
  4.1182 +  as_fn_error "missing argument to $ac_option"
  4.1183  fi
  4.1184  
  4.1185 -# Be sure to have absolute directory names.
  4.1186 +if test -n "$ac_unrecognized_opts"; then
  4.1187 +  case $enable_option_checking in
  4.1188 +    no) ;;
  4.1189 +    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  4.1190 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  4.1191 +  esac
  4.1192 +fi
  4.1193 +
  4.1194 +# Check all directory arguments for consistency.
  4.1195  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  4.1196  		datadir sysconfdir sharedstatedir localstatedir includedir \
  4.1197  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  4.1198  		libdir localedir mandir
  4.1199  do
  4.1200    eval ac_val=\$$ac_var
  4.1201 +  # Remove trailing slashes.
  4.1202 +  case $ac_val in
  4.1203 +    */ )
  4.1204 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  4.1205 +      eval $ac_var=\$ac_val;;
  4.1206 +  esac
  4.1207 +  # Be sure to have absolute directory names.
  4.1208    case $ac_val in
  4.1209      [\\/$]* | ?:[\\/]* )  continue;;
  4.1210      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  4.1211    esac
  4.1212 -  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  4.1213 -   { (exit 1); exit 1; }; }
  4.1214 +  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  4.1215  done
  4.1216  
  4.1217  # There might be people who depend on the old broken behavior: `$host'
  4.1218 @@ -1063,7 +1091,7 @@
  4.1219  if test "x$host_alias" != x; then
  4.1220    if test "x$build_alias" = x; then
  4.1221      cross_compiling=maybe
  4.1222 -    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  4.1223 +    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  4.1224      If a cross compiler is detected then cross compile mode will be used." >&2
  4.1225    elif test "x$build_alias" != "x$host_alias"; then
  4.1226      cross_compiling=yes
  4.1227 @@ -1079,23 +1107,21 @@
  4.1228  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  4.1229  ac_ls_di=`ls -di .` &&
  4.1230  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  4.1231 -  { echo "$as_me: error: Working directory cannot be determined" >&2
  4.1232 -   { (exit 1); exit 1; }; }
  4.1233 +  as_fn_error "working directory cannot be determined"
  4.1234  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  4.1235 -  { echo "$as_me: error: pwd does not report name of working directory" >&2
  4.1236 -   { (exit 1); exit 1; }; }
  4.1237 +  as_fn_error "pwd does not report name of working directory"
  4.1238  
  4.1239  
  4.1240  # Find the source files, if location was not specified.
  4.1241  if test -z "$srcdir"; then
  4.1242    ac_srcdir_defaulted=yes
  4.1243    # Try the directory containing this script, then the parent directory.
  4.1244 -  ac_confdir=`$as_dirname -- "$0" ||
  4.1245 -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4.1246 -	 X"$0" : 'X\(//\)[^/]' \| \
  4.1247 -	 X"$0" : 'X\(//\)$' \| \
  4.1248 -	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4.1249 -echo X"$0" |
  4.1250 +  ac_confdir=`$as_dirname -- "$as_myself" ||
  4.1251 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4.1252 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
  4.1253 +	 X"$as_myself" : 'X\(//\)$' \| \
  4.1254 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  4.1255 +$as_echo X"$as_myself" |
  4.1256      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4.1257  	    s//\1/
  4.1258  	    q
  4.1259 @@ -1122,13 +1148,11 @@
  4.1260  fi
  4.1261  if test ! -r "$srcdir/$ac_unique_file"; then
  4.1262    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  4.1263 -  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  4.1264 -   { (exit 1); exit 1; }; }
  4.1265 +  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  4.1266  fi
  4.1267  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  4.1268  ac_abs_confdir=`(
  4.1269 -	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  4.1270 -   { (exit 1); exit 1; }; }
  4.1271 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  4.1272  	pwd)`
  4.1273  # When building in place, set srcdir=.
  4.1274  if test "$ac_abs_confdir" = "$ac_pwd"; then
  4.1275 @@ -1176,9 +1200,9 @@
  4.1276  
  4.1277  Installation directories:
  4.1278    --prefix=PREFIX         install architecture-independent files in PREFIX
  4.1279 -			  [$ac_default_prefix]
  4.1280 +                          [$ac_default_prefix]
  4.1281    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  4.1282 -			  [PREFIX]
  4.1283 +                          [PREFIX]
  4.1284  
  4.1285  By default, \`make install' will install all the files in
  4.1286  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  4.1287 @@ -1188,25 +1212,25 @@
  4.1288  For better control, use the options below.
  4.1289  
  4.1290  Fine tuning of the installation directories:
  4.1291 -  --bindir=DIR           user executables [EPREFIX/bin]
  4.1292 -  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  4.1293 -  --libexecdir=DIR       program executables [EPREFIX/libexec]
  4.1294 -  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  4.1295 -  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  4.1296 -  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  4.1297 -  --libdir=DIR           object code libraries [EPREFIX/lib]
  4.1298 -  --includedir=DIR       C header files [PREFIX/include]
  4.1299 -  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  4.1300 -  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  4.1301 -  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  4.1302 -  --infodir=DIR          info documentation [DATAROOTDIR/info]
  4.1303 -  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  4.1304 -  --mandir=DIR           man documentation [DATAROOTDIR/man]
  4.1305 -  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  4.1306 -  --htmldir=DIR          html documentation [DOCDIR]
  4.1307 -  --dvidir=DIR           dvi documentation [DOCDIR]
  4.1308 -  --pdfdir=DIR           pdf documentation [DOCDIR]
  4.1309 -  --psdir=DIR            ps documentation [DOCDIR]
  4.1310 +  --bindir=DIR            user executables [EPREFIX/bin]
  4.1311 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  4.1312 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  4.1313 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  4.1314 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  4.1315 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  4.1316 +  --libdir=DIR            object code libraries [EPREFIX/lib]
  4.1317 +  --includedir=DIR        C header files [PREFIX/include]
  4.1318 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  4.1319 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  4.1320 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  4.1321 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  4.1322 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  4.1323 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  4.1324 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  4.1325 +  --htmldir=DIR           html documentation [DOCDIR]
  4.1326 +  --dvidir=DIR            dvi documentation [DOCDIR]
  4.1327 +  --pdfdir=DIR            pdf documentation [DOCDIR]
  4.1328 +  --psdir=DIR             ps documentation [DOCDIR]
  4.1329  _ACEOF
  4.1330  
  4.1331    cat <<\_ACEOF
  4.1332 @@ -1226,6 +1250,7 @@
  4.1333    cat <<\_ACEOF
  4.1334  
  4.1335  Optional Features:
  4.1336 +  --disable-option-checking  ignore unrecognized --enable/--with options
  4.1337    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  4.1338    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  4.1339    --disable-sdltest       Do not try to compile and run a test SDL program
  4.1340 @@ -1243,7 +1268,7 @@
  4.1341    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  4.1342                nonstandard directory <lib dir>
  4.1343    LIBS        libraries to pass to the linker, e.g. -l<library>
  4.1344 -  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  4.1345 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  4.1346                you have headers in a nonstandard directory <include dir>
  4.1347    XMKMF       Path to xmkmf, Makefile generator for X Window System
  4.1348    CPP         C preprocessor
  4.1349 @@ -1251,6 +1276,7 @@
  4.1350  Use these variables to override the choices made by `configure' or to help
  4.1351  it to find libraries and programs with nonstandard names/locations.
  4.1352  
  4.1353 +Report bugs to the package provider.
  4.1354  _ACEOF
  4.1355  ac_status=$?
  4.1356  fi
  4.1357 @@ -1258,15 +1284,17 @@
  4.1358  if test "$ac_init_help" = "recursive"; then
  4.1359    # If there are subdirs, report their specific --help.
  4.1360    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  4.1361 -    test -d "$ac_dir" || continue
  4.1362 +    test -d "$ac_dir" ||
  4.1363 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  4.1364 +      continue
  4.1365      ac_builddir=.
  4.1366  
  4.1367  case "$ac_dir" in
  4.1368  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4.1369  *)
  4.1370 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  4.1371 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4.1372    # A ".." for each directory in $ac_dir_suffix.
  4.1373 -  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  4.1374 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4.1375    case $ac_top_builddir_sub in
  4.1376    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4.1377    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4.1378 @@ -1302,7 +1330,7 @@
  4.1379        echo &&
  4.1380        $SHELL "$ac_srcdir/configure" --help=recursive
  4.1381      else
  4.1382 -      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  4.1383 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  4.1384      fi || ac_status=$?
  4.1385      cd "$ac_pwd" || { ac_status=$?; break; }
  4.1386    done
  4.1387 @@ -1312,21 +1340,187 @@
  4.1388  if $ac_init_version; then
  4.1389    cat <<\_ACEOF
  4.1390  configure
  4.1391 -generated by GNU Autoconf 2.61
  4.1392 -
  4.1393 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  4.1394 -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  4.1395 +generated by GNU Autoconf 2.65
  4.1396 +
  4.1397 +Copyright (C) 2009 Free Software Foundation, Inc.
  4.1398  This configure script is free software; the Free Software Foundation
  4.1399  gives unlimited permission to copy, distribute and modify it.
  4.1400  _ACEOF
  4.1401    exit
  4.1402  fi
  4.1403 +
  4.1404 +## ------------------------ ##
  4.1405 +## Autoconf initialization. ##
  4.1406 +## ------------------------ ##
  4.1407 +
  4.1408 +# ac_fn_c_try_compile LINENO
  4.1409 +# --------------------------
  4.1410 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  4.1411 +ac_fn_c_try_compile ()
  4.1412 +{
  4.1413 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4.1414 +  rm -f conftest.$ac_objext
  4.1415 +  if { { ac_try="$ac_compile"
  4.1416 +case "(($ac_try" in
  4.1417 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.1418 +  *) ac_try_echo=$ac_try;;
  4.1419 +esac
  4.1420 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.1421 +$as_echo "$ac_try_echo"; } >&5
  4.1422 +  (eval "$ac_compile") 2>conftest.err
  4.1423 +  ac_status=$?
  4.1424 +  if test -s conftest.err; then
  4.1425 +    grep -v '^ *+' conftest.err >conftest.er1
  4.1426 +    cat conftest.er1 >&5
  4.1427 +    mv -f conftest.er1 conftest.err
  4.1428 +  fi
  4.1429 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.1430 +  test $ac_status = 0; } && {
  4.1431 +	 test -z "$ac_c_werror_flag" ||
  4.1432 +	 test ! -s conftest.err
  4.1433 +       } && test -s conftest.$ac_objext; then :
  4.1434 +  ac_retval=0
  4.1435 +else
  4.1436 +  $as_echo "$as_me: failed program was:" >&5
  4.1437 +sed 's/^/| /' conftest.$ac_ext >&5
  4.1438 +
  4.1439 +	ac_retval=1
  4.1440 +fi
  4.1441 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  4.1442 +  as_fn_set_status $ac_retval
  4.1443 +
  4.1444 +} # ac_fn_c_try_compile
  4.1445 +
  4.1446 +# ac_fn_c_try_run LINENO
  4.1447 +# ----------------------
  4.1448 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  4.1449 +# that executables *can* be run.
  4.1450 +ac_fn_c_try_run ()
  4.1451 +{
  4.1452 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4.1453 +  if { { ac_try="$ac_link"
  4.1454 +case "(($ac_try" in
  4.1455 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.1456 +  *) ac_try_echo=$ac_try;;
  4.1457 +esac
  4.1458 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.1459 +$as_echo "$ac_try_echo"; } >&5
  4.1460 +  (eval "$ac_link") 2>&5
  4.1461 +  ac_status=$?
  4.1462 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.1463 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  4.1464 +  { { case "(($ac_try" in
  4.1465 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.1466 +  *) ac_try_echo=$ac_try;;
  4.1467 +esac
  4.1468 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.1469 +$as_echo "$ac_try_echo"; } >&5
  4.1470 +  (eval "$ac_try") 2>&5
  4.1471 +  ac_status=$?
  4.1472 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.1473 +  test $ac_status = 0; }; }; then :
  4.1474 +  ac_retval=0
  4.1475 +else
  4.1476 +  $as_echo "$as_me: program exited with status $ac_status" >&5
  4.1477 +       $as_echo "$as_me: failed program was:" >&5
  4.1478 +sed 's/^/| /' conftest.$ac_ext >&5
  4.1479 +
  4.1480 +       ac_retval=$ac_status
  4.1481 +fi
  4.1482 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  4.1483 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  4.1484 +  as_fn_set_status $ac_retval
  4.1485 +
  4.1486 +} # ac_fn_c_try_run
  4.1487 +
  4.1488 +# ac_fn_c_try_link LINENO
  4.1489 +# -----------------------
  4.1490 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  4.1491 +ac_fn_c_try_link ()
  4.1492 +{
  4.1493 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4.1494 +  rm -f conftest.$ac_objext conftest$ac_exeext
  4.1495 +  if { { ac_try="$ac_link"
  4.1496 +case "(($ac_try" in
  4.1497 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.1498 +  *) ac_try_echo=$ac_try;;
  4.1499 +esac
  4.1500 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.1501 +$as_echo "$ac_try_echo"; } >&5
  4.1502 +  (eval "$ac_link") 2>conftest.err
  4.1503 +  ac_status=$?
  4.1504 +  if test -s conftest.err; then
  4.1505 +    grep -v '^ *+' conftest.err >conftest.er1
  4.1506 +    cat conftest.er1 >&5
  4.1507 +    mv -f conftest.er1 conftest.err
  4.1508 +  fi
  4.1509 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.1510 +  test $ac_status = 0; } && {
  4.1511 +	 test -z "$ac_c_werror_flag" ||
  4.1512 +	 test ! -s conftest.err
  4.1513 +       } && test -s conftest$ac_exeext && {
  4.1514 +	 test "$cross_compiling" = yes ||
  4.1515 +	 $as_test_x conftest$ac_exeext
  4.1516 +       }; then :
  4.1517 +  ac_retval=0
  4.1518 +else
  4.1519 +  $as_echo "$as_me: failed program was:" >&5
  4.1520 +sed 's/^/| /' conftest.$ac_ext >&5
  4.1521 +
  4.1522 +	ac_retval=1
  4.1523 +fi
  4.1524 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  4.1525 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  4.1526 +  # interfere with the next link command; also delete a directory that is
  4.1527 +  # left behind by Apple's compiler.  We do this before executing the actions.
  4.1528 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  4.1529 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  4.1530 +  as_fn_set_status $ac_retval
  4.1531 +
  4.1532 +} # ac_fn_c_try_link
  4.1533 +
  4.1534 +# ac_fn_c_try_cpp LINENO
  4.1535 +# ----------------------
  4.1536 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  4.1537 +ac_fn_c_try_cpp ()
  4.1538 +{
  4.1539 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4.1540 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  4.1541 +case "(($ac_try" in
  4.1542 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.1543 +  *) ac_try_echo=$ac_try;;
  4.1544 +esac
  4.1545 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.1546 +$as_echo "$ac_try_echo"; } >&5
  4.1547 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  4.1548 +  ac_status=$?
  4.1549 +  if test -s conftest.err; then
  4.1550 +    grep -v '^ *+' conftest.err >conftest.er1
  4.1551 +    cat conftest.er1 >&5
  4.1552 +    mv -f conftest.er1 conftest.err
  4.1553 +  fi
  4.1554 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.1555 +  test $ac_status = 0; } >/dev/null && {
  4.1556 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.1557 +	 test ! -s conftest.err
  4.1558 +       }; then :
  4.1559 +  ac_retval=0
  4.1560 +else
  4.1561 +  $as_echo "$as_me: failed program was:" >&5
  4.1562 +sed 's/^/| /' conftest.$ac_ext >&5
  4.1563 +
  4.1564 +    ac_retval=1
  4.1565 +fi
  4.1566 +  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  4.1567 +  as_fn_set_status $ac_retval
  4.1568 +
  4.1569 +} # ac_fn_c_try_cpp
  4.1570  cat >config.log <<_ACEOF
  4.1571  This file contains any messages produced by compilers while
  4.1572  running configure, to aid debugging if configure makes a mistake.
  4.1573  
  4.1574  It was created by $as_me, which was
  4.1575 -generated by GNU Autoconf 2.61.  Invocation command line was
  4.1576 +generated by GNU Autoconf 2.65.  Invocation command line was
  4.1577  
  4.1578    $ $0 $@
  4.1579  
  4.1580 @@ -1362,8 +1556,8 @@
  4.1581  do
  4.1582    IFS=$as_save_IFS
  4.1583    test -z "$as_dir" && as_dir=.
  4.1584 -  echo "PATH: $as_dir"
  4.1585 -done
  4.1586 +    $as_echo "PATH: $as_dir"
  4.1587 +  done
  4.1588  IFS=$as_save_IFS
  4.1589  
  4.1590  } >&5
  4.1591 @@ -1397,12 +1591,12 @@
  4.1592      | -silent | --silent | --silen | --sile | --sil)
  4.1593        continue ;;
  4.1594      *\'*)
  4.1595 -      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4.1596 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4.1597      esac
  4.1598      case $ac_pass in
  4.1599 -    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  4.1600 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  4.1601      2)
  4.1602 -      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  4.1603 +      as_fn_append ac_configure_args1 " '$ac_arg'"
  4.1604        if test $ac_must_keep_next = true; then
  4.1605  	ac_must_keep_next=false # Got value, back to normal.
  4.1606        else
  4.1607 @@ -1418,13 +1612,13 @@
  4.1608  	  -* ) ac_must_keep_next=true ;;
  4.1609  	esac
  4.1610        fi
  4.1611 -      ac_configure_args="$ac_configure_args '$ac_arg'"
  4.1612 +      as_fn_append ac_configure_args " '$ac_arg'"
  4.1613        ;;
  4.1614      esac
  4.1615    done
  4.1616  done
  4.1617 -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  4.1618 -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  4.1619 +{ ac_configure_args0=; unset ac_configure_args0;}
  4.1620 +{ ac_configure_args1=; unset ac_configure_args1;}
  4.1621  
  4.1622  # When interrupted or exit'd, cleanup temporary files, and complete
  4.1623  # config.log.  We remove comments because anyway the quotes in there
  4.1624 @@ -1449,12 +1643,13 @@
  4.1625      case $ac_val in #(
  4.1626      *${as_nl}*)
  4.1627        case $ac_var in #(
  4.1628 -      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  4.1629 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  4.1630 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4.1631 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4.1632        esac
  4.1633        case $ac_var in #(
  4.1634        _ | IFS | as_nl) ;; #(
  4.1635 -      *) $as_unset $ac_var ;;
  4.1636 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4.1637 +      *) { eval $ac_var=; unset $ac_var;} ;;
  4.1638        esac ;;
  4.1639      esac
  4.1640    done
  4.1641 @@ -1483,9 +1678,9 @@
  4.1642      do
  4.1643        eval ac_val=\$$ac_var
  4.1644        case $ac_val in
  4.1645 -      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4.1646 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4.1647        esac
  4.1648 -      echo "$ac_var='\''$ac_val'\''"
  4.1649 +      $as_echo "$ac_var='\''$ac_val'\''"
  4.1650      done | sort
  4.1651      echo
  4.1652  
  4.1653 @@ -1500,9 +1695,9 @@
  4.1654        do
  4.1655  	eval ac_val=\$$ac_var
  4.1656  	case $ac_val in
  4.1657 -	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4.1658 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4.1659  	esac
  4.1660 -	echo "$ac_var='\''$ac_val'\''"
  4.1661 +	$as_echo "$ac_var='\''$ac_val'\''"
  4.1662        done | sort
  4.1663        echo
  4.1664      fi
  4.1665 @@ -1518,83 +1713,88 @@
  4.1666        echo
  4.1667      fi
  4.1668      test "$ac_signal" != 0 &&
  4.1669 -      echo "$as_me: caught signal $ac_signal"
  4.1670 -    echo "$as_me: exit $exit_status"
  4.1671 +      $as_echo "$as_me: caught signal $ac_signal"
  4.1672 +    $as_echo "$as_me: exit $exit_status"
  4.1673    } >&5
  4.1674    rm -f core *.core core.conftest.* &&
  4.1675      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  4.1676      exit $exit_status
  4.1677  ' 0
  4.1678  for ac_signal in 1 2 13 15; do
  4.1679 -  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  4.1680 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  4.1681  done
  4.1682  ac_signal=0
  4.1683  
  4.1684  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  4.1685  rm -f -r conftest* confdefs.h
  4.1686  
  4.1687 +$as_echo "/* confdefs.h */" > confdefs.h
  4.1688 +
  4.1689  # Predefined preprocessor variables.
  4.1690  
  4.1691  cat >>confdefs.h <<_ACEOF
  4.1692  #define PACKAGE_NAME "$PACKAGE_NAME"
  4.1693  _ACEOF
  4.1694  
  4.1695 -
  4.1696  cat >>confdefs.h <<_ACEOF
  4.1697  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  4.1698  _ACEOF
  4.1699  
  4.1700 -
  4.1701  cat >>confdefs.h <<_ACEOF
  4.1702  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  4.1703  _ACEOF
  4.1704  
  4.1705 -
  4.1706  cat >>confdefs.h <<_ACEOF
  4.1707  #define PACKAGE_STRING "$PACKAGE_STRING"
  4.1708  _ACEOF
  4.1709  
  4.1710 -
  4.1711  cat >>confdefs.h <<_ACEOF
  4.1712  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  4.1713  _ACEOF
  4.1714  
  4.1715 +cat >>confdefs.h <<_ACEOF
  4.1716 +#define PACKAGE_URL "$PACKAGE_URL"
  4.1717 +_ACEOF
  4.1718 +
  4.1719  
  4.1720  # Let the site file select an alternate cache file if it wants to.
  4.1721 -# Prefer explicitly selected file to automatically selected ones.
  4.1722 +# Prefer an explicitly selected file to automatically selected ones.
  4.1723 +ac_site_file1=NONE
  4.1724 +ac_site_file2=NONE
  4.1725  if test -n "$CONFIG_SITE"; then
  4.1726 -  set x "$CONFIG_SITE"
  4.1727 +  ac_site_file1=$CONFIG_SITE
  4.1728  elif test "x$prefix" != xNONE; then
  4.1729 -  set x "$prefix/share/config.site" "$prefix/etc/config.site"
  4.1730 +  ac_site_file1=$prefix/share/config.site
  4.1731 +  ac_site_file2=$prefix/etc/config.site
  4.1732  else
  4.1733 -  set x "$ac_default_prefix/share/config.site" \
  4.1734 -	"$ac_default_prefix/etc/config.site"
  4.1735 +  ac_site_file1=$ac_default_prefix/share/config.site
  4.1736 +  ac_site_file2=$ac_default_prefix/etc/config.site
  4.1737  fi
  4.1738 -shift
  4.1739 -for ac_site_file
  4.1740 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  4.1741  do
  4.1742 -  if test -r "$ac_site_file"; then
  4.1743 -    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  4.1744 -echo "$as_me: loading site script $ac_site_file" >&6;}
  4.1745 +  test "x$ac_site_file" = xNONE && continue
  4.1746 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  4.1747 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  4.1748 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  4.1749      sed 's/^/| /' "$ac_site_file" >&5
  4.1750      . "$ac_site_file"
  4.1751    fi
  4.1752  done
  4.1753  
  4.1754  if test -r "$cache_file"; then
  4.1755 -  # Some versions of bash will fail to source /dev/null (special
  4.1756 -  # files actually), so we avoid doing that.
  4.1757 -  if test -f "$cache_file"; then
  4.1758 -    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  4.1759 -echo "$as_me: loading cache $cache_file" >&6;}
  4.1760 +  # Some versions of bash will fail to source /dev/null (special files
  4.1761 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  4.1762 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  4.1763 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  4.1764 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  4.1765      case $cache_file in
  4.1766        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  4.1767        *)                      . "./$cache_file";;
  4.1768      esac
  4.1769    fi
  4.1770  else
  4.1771 -  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  4.1772 -echo "$as_me: creating cache $cache_file" >&6;}
  4.1773 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  4.1774 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  4.1775    >$cache_file
  4.1776  fi
  4.1777  
  4.1778 @@ -1608,60 +1808,56 @@
  4.1779    eval ac_new_val=\$ac_env_${ac_var}_value
  4.1780    case $ac_old_set,$ac_new_set in
  4.1781      set,)
  4.1782 -      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  4.1783 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  4.1784 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  4.1785 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  4.1786        ac_cache_corrupted=: ;;
  4.1787      ,set)
  4.1788 -      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  4.1789 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  4.1790 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  4.1791 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  4.1792        ac_cache_corrupted=: ;;
  4.1793      ,);;
  4.1794      *)
  4.1795        if test "x$ac_old_val" != "x$ac_new_val"; then
  4.1796 -	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  4.1797 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  4.1798 -	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  4.1799 -echo "$as_me:   former value:  $ac_old_val" >&2;}
  4.1800 -	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  4.1801 -echo "$as_me:   current value: $ac_new_val" >&2;}
  4.1802 -	ac_cache_corrupted=:
  4.1803 +	# differences in whitespace do not lead to failure.
  4.1804 +	ac_old_val_w=`echo x $ac_old_val`
  4.1805 +	ac_new_val_w=`echo x $ac_new_val`
  4.1806 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  4.1807 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  4.1808 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  4.1809 +	  ac_cache_corrupted=:
  4.1810 +	else
  4.1811 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  4.1812 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  4.1813 +	  eval $ac_var=\$ac_old_val
  4.1814 +	fi
  4.1815 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  4.1816 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  4.1817 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  4.1818 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  4.1819        fi;;
  4.1820    esac
  4.1821    # Pass precious variables to config.status.
  4.1822    if test "$ac_new_set" = set; then
  4.1823      case $ac_new_val in
  4.1824 -    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  4.1825 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  4.1826      *) ac_arg=$ac_var=$ac_new_val ;;
  4.1827      esac
  4.1828      case " $ac_configure_args " in
  4.1829        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  4.1830 -      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  4.1831 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  4.1832      esac
  4.1833    fi
  4.1834  done
  4.1835  if $ac_cache_corrupted; then
  4.1836 -  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  4.1837 -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  4.1838 -  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  4.1839 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  4.1840 -   { (exit 1); exit 1; }; }
  4.1841 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.1842 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.1843 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  4.1844 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  4.1845 +  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  4.1846  fi
  4.1847 -
  4.1848 -
  4.1849 -
  4.1850 -
  4.1851 -
  4.1852 -
  4.1853 -
  4.1854 -
  4.1855 -
  4.1856 -
  4.1857 -
  4.1858 -
  4.1859 -
  4.1860 -
  4.1861 -
  4.1862 -
  4.1863 +## -------------------- ##
  4.1864 +## Main body of script. ##
  4.1865 +## -------------------- ##
  4.1866  
  4.1867  ac_ext=c
  4.1868  ac_cpp='$CPP $CPPFLAGS'
  4.1869 @@ -1673,24 +1869,16 @@
  4.1870  
  4.1871  ac_aux_dir=
  4.1872  for ac_dir in $srcdir/../build-scripts; do
  4.1873 -  if test -f "$ac_dir/install-sh"; then
  4.1874 -    ac_aux_dir=$ac_dir
  4.1875 -    ac_install_sh="$ac_aux_dir/install-sh -c"
  4.1876 -    break
  4.1877 -  elif test -f "$ac_dir/install.sh"; then
  4.1878 -    ac_aux_dir=$ac_dir
  4.1879 -    ac_install_sh="$ac_aux_dir/install.sh -c"
  4.1880 -    break
  4.1881 -  elif test -f "$ac_dir/shtool"; then
  4.1882 -    ac_aux_dir=$ac_dir
  4.1883 -    ac_install_sh="$ac_aux_dir/shtool install -c"
  4.1884 -    break
  4.1885 -  fi
  4.1886 +  for ac_t in install-sh install.sh shtool; do
  4.1887 +    if test -f "$ac_dir/$ac_t"; then
  4.1888 +      ac_aux_dir=$ac_dir
  4.1889 +      ac_install_sh="$ac_aux_dir/$ac_t -c"
  4.1890 +      break 2
  4.1891 +    fi
  4.1892 +  done
  4.1893  done
  4.1894  if test -z "$ac_aux_dir"; then
  4.1895 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&5
  4.1896 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/../build-scripts" >&2;}
  4.1897 -   { (exit 1); exit 1; }; }
  4.1898 +  as_fn_error "cannot find install-sh, install.sh, or shtool in $srcdir/../build-scripts" "$LINENO" 5
  4.1899  fi
  4.1900  
  4.1901  # These three variables are undocumented and unsupported,
  4.1902 @@ -1704,35 +1892,27 @@
  4.1903  
  4.1904  # Make sure we can run config.sub.
  4.1905  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4.1906 -  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4.1907 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4.1908 -   { (exit 1); exit 1; }; }
  4.1909 -
  4.1910 -{ echo "$as_me:$LINENO: checking build system type" >&5
  4.1911 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  4.1912 -if test "${ac_cv_build+set}" = set; then
  4.1913 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.1914 +  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  4.1915 +
  4.1916 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4.1917 +$as_echo_n "checking build system type... " >&6; }
  4.1918 +if test "${ac_cv_build+set}" = set; then :
  4.1919 +  $as_echo_n "(cached) " >&6
  4.1920  else
  4.1921    ac_build_alias=$build_alias
  4.1922  test "x$ac_build_alias" = x &&
  4.1923    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4.1924  test "x$ac_build_alias" = x &&
  4.1925 -  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4.1926 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4.1927 -   { (exit 1); exit 1; }; }
  4.1928 +  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  4.1929  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4.1930 -  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4.1931 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4.1932 -   { (exit 1); exit 1; }; }
  4.1933 +  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  4.1934  
  4.1935  fi
  4.1936 -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4.1937 -echo "${ECHO_T}$ac_cv_build" >&6; }
  4.1938 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4.1939 +$as_echo "$ac_cv_build" >&6; }
  4.1940  case $ac_cv_build in
  4.1941  *-*-*) ;;
  4.1942 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4.1943 -echo "$as_me: error: invalid value of canonical build" >&2;}
  4.1944 -   { (exit 1); exit 1; }; };;
  4.1945 +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  4.1946  esac
  4.1947  build=$ac_cv_build
  4.1948  ac_save_IFS=$IFS; IFS='-'
  4.1949 @@ -1748,28 +1928,24 @@
  4.1950  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4.1951  
  4.1952  
  4.1953 -{ echo "$as_me:$LINENO: checking host system type" >&5
  4.1954 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  4.1955 -if test "${ac_cv_host+set}" = set; then
  4.1956 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.1957 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4.1958 +$as_echo_n "checking host system type... " >&6; }
  4.1959 +if test "${ac_cv_host+set}" = set; then :
  4.1960 +  $as_echo_n "(cached) " >&6
  4.1961  else
  4.1962    if test "x$host_alias" = x; then
  4.1963    ac_cv_host=$ac_cv_build
  4.1964  else
  4.1965    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4.1966 -    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4.1967 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4.1968 -   { (exit 1); exit 1; }; }
  4.1969 +    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  4.1970  fi
  4.1971  
  4.1972  fi
  4.1973 -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4.1974 -echo "${ECHO_T}$ac_cv_host" >&6; }
  4.1975 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4.1976 +$as_echo "$ac_cv_host" >&6; }
  4.1977  case $ac_cv_host in
  4.1978  *-*-*) ;;
  4.1979 -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4.1980 -echo "$as_me: error: invalid value of canonical host" >&2;}
  4.1981 -   { (exit 1); exit 1; }; };;
  4.1982 +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  4.1983  esac
  4.1984  host=$ac_cv_host
  4.1985  ac_save_IFS=$IFS; IFS='-'
  4.1986 @@ -1795,10 +1971,10 @@
  4.1987  if test -n "$ac_tool_prefix"; then
  4.1988    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4.1989  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4.1990 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.1991 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.1992 -if test "${ac_cv_prog_CC+set}" = set; then
  4.1993 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.1994 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.1995 +$as_echo_n "checking for $ac_word... " >&6; }
  4.1996 +if test "${ac_cv_prog_CC+set}" = set; then :
  4.1997 +  $as_echo_n "(cached) " >&6
  4.1998  else
  4.1999    if test -n "$CC"; then
  4.2000    ac_cv_prog_CC="$CC" # Let the user override the test.
  4.2001 @@ -1808,25 +1984,25 @@
  4.2002  do
  4.2003    IFS=$as_save_IFS
  4.2004    test -z "$as_dir" && as_dir=.
  4.2005 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2006 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2007    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2008      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4.2009 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2010 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2011      break 2
  4.2012    fi
  4.2013  done
  4.2014 -done
  4.2015 +  done
  4.2016  IFS=$as_save_IFS
  4.2017  
  4.2018  fi
  4.2019  fi
  4.2020  CC=$ac_cv_prog_CC
  4.2021  if test -n "$CC"; then
  4.2022 -  { echo "$as_me:$LINENO: result: $CC" >&5
  4.2023 -echo "${ECHO_T}$CC" >&6; }
  4.2024 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4.2025 +$as_echo "$CC" >&6; }
  4.2026  else
  4.2027 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2028 -echo "${ECHO_T}no" >&6; }
  4.2029 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2030 +$as_echo "no" >&6; }
  4.2031  fi
  4.2032  
  4.2033  
  4.2034 @@ -1835,10 +2011,10 @@
  4.2035    ac_ct_CC=$CC
  4.2036    # Extract the first word of "gcc", so it can be a program name with args.
  4.2037  set dummy gcc; ac_word=$2
  4.2038 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.2039 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.2040 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4.2041 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2042 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.2043 +$as_echo_n "checking for $ac_word... " >&6; }
  4.2044 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4.2045 +  $as_echo_n "(cached) " >&6
  4.2046  else
  4.2047    if test -n "$ac_ct_CC"; then
  4.2048    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4.2049 @@ -1848,25 +2024,25 @@
  4.2050  do
  4.2051    IFS=$as_save_IFS
  4.2052    test -z "$as_dir" && as_dir=.
  4.2053 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2054 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2055    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2056      ac_cv_prog_ac_ct_CC="gcc"
  4.2057 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2058 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2059      break 2
  4.2060    fi
  4.2061  done
  4.2062 -done
  4.2063 +  done
  4.2064  IFS=$as_save_IFS
  4.2065  
  4.2066  fi
  4.2067  fi
  4.2068  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4.2069  if test -n "$ac_ct_CC"; then
  4.2070 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4.2071 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  4.2072 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4.2073 +$as_echo "$ac_ct_CC" >&6; }
  4.2074  else
  4.2075 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2076 -echo "${ECHO_T}no" >&6; }
  4.2077 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2078 +$as_echo "no" >&6; }
  4.2079  fi
  4.2080  
  4.2081    if test "x$ac_ct_CC" = x; then
  4.2082 @@ -1874,12 +2050,8 @@
  4.2083    else
  4.2084      case $cross_compiling:$ac_tool_warned in
  4.2085  yes:)
  4.2086 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4.2087 -whose name does not start with the host triplet.  If you think this
  4.2088 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  4.2089 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4.2090 -whose name does not start with the host triplet.  If you think this
  4.2091 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4.2092 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4.2093 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4.2094  ac_tool_warned=yes ;;
  4.2095  esac
  4.2096      CC=$ac_ct_CC
  4.2097 @@ -1892,10 +2064,10 @@
  4.2098            if test -n "$ac_tool_prefix"; then
  4.2099      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4.2100  set dummy ${ac_tool_prefix}cc; ac_word=$2
  4.2101 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.2102 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.2103 -if test "${ac_cv_prog_CC+set}" = set; then
  4.2104 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2105 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.2106 +$as_echo_n "checking for $ac_word... " >&6; }
  4.2107 +if test "${ac_cv_prog_CC+set}" = set; then :
  4.2108 +  $as_echo_n "(cached) " >&6
  4.2109  else
  4.2110    if test -n "$CC"; then
  4.2111    ac_cv_prog_CC="$CC" # Let the user override the test.
  4.2112 @@ -1905,25 +2077,25 @@
  4.2113  do
  4.2114    IFS=$as_save_IFS
  4.2115    test -z "$as_dir" && as_dir=.
  4.2116 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2117 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2118    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2119      ac_cv_prog_CC="${ac_tool_prefix}cc"
  4.2120 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2121 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2122      break 2
  4.2123    fi
  4.2124  done
  4.2125 -done
  4.2126 +  done
  4.2127  IFS=$as_save_IFS
  4.2128  
  4.2129  fi
  4.2130  fi
  4.2131  CC=$ac_cv_prog_CC
  4.2132  if test -n "$CC"; then
  4.2133 -  { echo "$as_me:$LINENO: result: $CC" >&5
  4.2134 -echo "${ECHO_T}$CC" >&6; }
  4.2135 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4.2136 +$as_echo "$CC" >&6; }
  4.2137  else
  4.2138 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2139 -echo "${ECHO_T}no" >&6; }
  4.2140 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2141 +$as_echo "no" >&6; }
  4.2142  fi
  4.2143  
  4.2144  
  4.2145 @@ -1932,10 +2104,10 @@
  4.2146  if test -z "$CC"; then
  4.2147    # Extract the first word of "cc", so it can be a program name with args.
  4.2148  set dummy cc; ac_word=$2
  4.2149 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.2150 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.2151 -if test "${ac_cv_prog_CC+set}" = set; then
  4.2152 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2153 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.2154 +$as_echo_n "checking for $ac_word... " >&6; }
  4.2155 +if test "${ac_cv_prog_CC+set}" = set; then :
  4.2156 +  $as_echo_n "(cached) " >&6
  4.2157  else
  4.2158    if test -n "$CC"; then
  4.2159    ac_cv_prog_CC="$CC" # Let the user override the test.
  4.2160 @@ -1946,18 +2118,18 @@
  4.2161  do
  4.2162    IFS=$as_save_IFS
  4.2163    test -z "$as_dir" && as_dir=.
  4.2164 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2165 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2166    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2167      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4.2168         ac_prog_rejected=yes
  4.2169         continue
  4.2170       fi
  4.2171      ac_cv_prog_CC="cc"
  4.2172 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2173 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2174      break 2
  4.2175    fi
  4.2176  done
  4.2177 -done
  4.2178 +  done
  4.2179  IFS=$as_save_IFS
  4.2180  
  4.2181  if test $ac_prog_rejected = yes; then
  4.2182 @@ -1976,11 +2148,11 @@
  4.2183  fi
  4.2184  CC=$ac_cv_prog_CC
  4.2185  if test -n "$CC"; then
  4.2186 -  { echo "$as_me:$LINENO: result: $CC" >&5
  4.2187 -echo "${ECHO_T}$CC" >&6; }
  4.2188 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4.2189 +$as_echo "$CC" >&6; }
  4.2190  else
  4.2191 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2192 -echo "${ECHO_T}no" >&6; }
  4.2193 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2194 +$as_echo "no" >&6; }
  4.2195  fi
  4.2196  
  4.2197  
  4.2198 @@ -1991,10 +2163,10 @@
  4.2199    do
  4.2200      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4.2201  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4.2202 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.2203 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.2204 -if test "${ac_cv_prog_CC+set}" = set; then
  4.2205 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2206 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.2207 +$as_echo_n "checking for $ac_word... " >&6; }
  4.2208 +if test "${ac_cv_prog_CC+set}" = set; then :
  4.2209 +  $as_echo_n "(cached) " >&6
  4.2210  else
  4.2211    if test -n "$CC"; then
  4.2212    ac_cv_prog_CC="$CC" # Let the user override the test.
  4.2213 @@ -2004,25 +2176,25 @@
  4.2214  do
  4.2215    IFS=$as_save_IFS
  4.2216    test -z "$as_dir" && as_dir=.
  4.2217 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2218 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2219    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2220      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4.2221 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2222 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2223      break 2
  4.2224    fi
  4.2225  done
  4.2226 -done
  4.2227 +  done
  4.2228  IFS=$as_save_IFS
  4.2229  
  4.2230  fi
  4.2231  fi
  4.2232  CC=$ac_cv_prog_CC
  4.2233  if test -n "$CC"; then
  4.2234 -  { echo "$as_me:$LINENO: result: $CC" >&5
  4.2235 -echo "${ECHO_T}$CC" >&6; }
  4.2236 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4.2237 +$as_echo "$CC" >&6; }
  4.2238  else
  4.2239 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2240 -echo "${ECHO_T}no" >&6; }
  4.2241 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2242 +$as_echo "no" >&6; }
  4.2243  fi
  4.2244  
  4.2245  
  4.2246 @@ -2035,10 +2207,10 @@
  4.2247  do
  4.2248    # Extract the first word of "$ac_prog", so it can be a program name with args.
  4.2249  set dummy $ac_prog; ac_word=$2
  4.2250 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.2251 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.2252 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4.2253 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2254 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.2255 +$as_echo_n "checking for $ac_word... " >&6; }
  4.2256 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  4.2257 +  $as_echo_n "(cached) " >&6
  4.2258  else
  4.2259    if test -n "$ac_ct_CC"; then
  4.2260    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4.2261 @@ -2048,25 +2220,25 @@
  4.2262  do
  4.2263    IFS=$as_save_IFS
  4.2264    test -z "$as_dir" && as_dir=.
  4.2265 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.2266 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.2267    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.2268      ac_cv_prog_ac_ct_CC="$ac_prog"
  4.2269 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2270 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.2271      break 2
  4.2272    fi
  4.2273  done
  4.2274 -done
  4.2275 +  done
  4.2276  IFS=$as_save_IFS
  4.2277  
  4.2278  fi
  4.2279  fi
  4.2280  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4.2281  if test -n "$ac_ct_CC"; then
  4.2282 -  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4.2283 -echo "${ECHO_T}$ac_ct_CC" >&6; }
  4.2284 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4.2285 +$as_echo "$ac_ct_CC" >&6; }
  4.2286  else
  4.2287 -  { echo "$as_me:$LINENO: result: no" >&5
  4.2288 -echo "${ECHO_T}no" >&6; }
  4.2289 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2290 +$as_echo "no" >&6; }
  4.2291  fi
  4.2292  
  4.2293  
  4.2294 @@ -2078,12 +2250,8 @@
  4.2295    else
  4.2296      case $cross_compiling:$ac_tool_warned in
  4.2297  yes:)
  4.2298 -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4.2299 -whose name does not start with the host triplet.  If you think this
  4.2300 -configuration is useful to you, please write to autoconf@gnu.org." >&5
  4.2301 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4.2302 -whose name does not start with the host triplet.  If you think this
  4.2303 -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4.2304 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4.2305 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4.2306  ac_tool_warned=yes ;;
  4.2307  esac
  4.2308      CC=$ac_ct_CC
  4.2309 @@ -2093,51 +2261,37 @@
  4.2310  fi
  4.2311  
  4.2312  
  4.2313 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4.2314 -See \`config.log' for more details." >&5
  4.2315 -echo "$as_me: error: no acceptable C compiler found in \$PATH
  4.2316 -See \`config.log' for more details." >&2;}
  4.2317 -   { (exit 1); exit 1; }; }
  4.2318 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.2319 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.2320 +as_fn_error "no acceptable C compiler found in \$PATH
  4.2321 +See \`config.log' for more details." "$LINENO" 5; }
  4.2322  
  4.2323  # Provide some information about the compiler.
  4.2324 -echo "$as_me:$LINENO: checking for C compiler version" >&5
  4.2325 -ac_compiler=`set X $ac_compile; echo $2`
  4.2326 -{ (ac_try="$ac_compiler --version >&5"
  4.2327 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4.2328 +set X $ac_compile
  4.2329 +ac_compiler=$2
  4.2330 +for ac_option in --version -v -V -qversion; do
  4.2331 +  { { ac_try="$ac_compiler $ac_option >&5"
  4.2332  case "(($ac_try" in
  4.2333    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2334    *) ac_try_echo=$ac_try;;
  4.2335  esac
  4.2336 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2337 -  (eval "$ac_compiler --version >&5") 2>&5
  4.2338 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2339 +$as_echo "$ac_try_echo"; } >&5
  4.2340 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4.2341    ac_status=$?
  4.2342 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2343 -  (exit $ac_status); }
  4.2344 -{ (ac_try="$ac_compiler -v >&5"
  4.2345 -case "(($ac_try" in
  4.2346 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2347 -  *) ac_try_echo=$ac_try;;
  4.2348 -esac
  4.2349 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2350 -  (eval "$ac_compiler -v >&5") 2>&5
  4.2351 -  ac_status=$?
  4.2352 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2353 -  (exit $ac_status); }
  4.2354 -{ (ac_try="$ac_compiler -V >&5"
  4.2355 -case "(($ac_try" in
  4.2356 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2357 -  *) ac_try_echo=$ac_try;;
  4.2358 -esac
  4.2359 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2360 -  (eval "$ac_compiler -V >&5") 2>&5
  4.2361 -  ac_status=$?
  4.2362 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2363 -  (exit $ac_status); }
  4.2364 -
  4.2365 -cat >conftest.$ac_ext <<_ACEOF
  4.2366 -/* confdefs.h.  */
  4.2367 -_ACEOF
  4.2368 -cat confdefs.h >>conftest.$ac_ext
  4.2369 -cat >>conftest.$ac_ext <<_ACEOF
  4.2370 +  if test -s conftest.err; then
  4.2371 +    sed '10a\
  4.2372 +... rest of stderr output deleted ...
  4.2373 +         10q' conftest.err >conftest.er1
  4.2374 +    cat conftest.er1 >&5
  4.2375 +  fi
  4.2376 +  rm -f conftest.er1 conftest.err
  4.2377 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2378 +  test $ac_status = 0; }
  4.2379 +done
  4.2380 +
  4.2381 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2382  /* end confdefs.h.  */
  4.2383  
  4.2384  int
  4.2385 @@ -2149,42 +2303,38 @@
  4.2386  }
  4.2387  _ACEOF
  4.2388  ac_clean_files_save=$ac_clean_files
  4.2389 -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  4.2390 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4.2391  # Try to create an executable without -o first, disregard a.out.
  4.2392  # It will help us diagnose broken compilers, and finding out an intuition
  4.2393  # of exeext.
  4.2394 -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  4.2395 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  4.2396 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4.2397 -#
  4.2398 -# List of possible output files, starting from the most likely.
  4.2399 -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  4.2400 -# only as a last resort.  b.out is created by i960 compilers.
  4.2401 -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  4.2402 -#
  4.2403 -# The IRIX 6 linker writes into existing files which may not be
  4.2404 -# executable, retaining their permissions.  Remove them first so a
  4.2405 -# subsequent execution test works.
  4.2406 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4.2407 +$as_echo_n "checking whether the C compiler works... " >&6; }
  4.2408 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4.2409 +
  4.2410 +# The possible output files:
  4.2411 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4.2412 +
  4.2413  ac_rmfiles=
  4.2414  for ac_file in $ac_files
  4.2415  do
  4.2416    case $ac_file in
  4.2417 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  4.2418 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4.2419      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4.2420    esac
  4.2421  done
  4.2422  rm -f $ac_rmfiles
  4.2423  
  4.2424 -if { (ac_try="$ac_link_default"
  4.2425 +if { { ac_try="$ac_link_default"
  4.2426  case "(($ac_try" in
  4.2427    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2428    *) ac_try_echo=$ac_try;;
  4.2429  esac
  4.2430 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2431 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2432 +$as_echo "$ac_try_echo"; } >&5
  4.2433    (eval "$ac_link_default") 2>&5
  4.2434    ac_status=$?
  4.2435 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2436 -  (exit $ac_status); }; then
  4.2437 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2438 +  test $ac_status = 0; }; then :
  4.2439    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4.2440  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4.2441  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  4.2442 @@ -2194,14 +2344,14 @@
  4.2443  do
  4.2444    test -f "$ac_file" || continue
  4.2445    case $ac_file in
  4.2446 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  4.2447 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4.2448  	;;
  4.2449      [ab].out )
  4.2450  	# We found the default executable, but exeext='' is most
  4.2451  	# certainly right.
  4.2452  	break;;
  4.2453      *.* )
  4.2454 -        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4.2455 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4.2456  	then :; else
  4.2457  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4.2458  	fi
  4.2459 @@ -2220,78 +2370,42 @@
  4.2460  else
  4.2461    ac_file=''
  4.2462  fi
  4.2463 -
  4.2464 -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  4.2465 -echo "${ECHO_T}$ac_file" >&6; }
  4.2466 -if test -z "$ac_file"; then
  4.2467 -  echo "$as_me: failed program was:" >&5
  4.2468 +if test -z "$ac_file"; then :
  4.2469 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.2470 +$as_echo "no" >&6; }
  4.2471 +$as_echo "$as_me: failed program was:" >&5
  4.2472  sed 's/^/| /' conftest.$ac_ext >&5
  4.2473  
  4.2474 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  4.2475 -See \`config.log' for more details." >&5
  4.2476 -echo "$as_me: error: C compiler cannot create executables
  4.2477 -See \`config.log' for more details." >&2;}
  4.2478 -   { (exit 77); exit 77; }; }
  4.2479 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.2480 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.2481 +{ as_fn_set_status 77
  4.2482 +as_fn_error "C compiler cannot create executables
  4.2483 +See \`config.log' for more details." "$LINENO" 5; }; }
  4.2484 +else
  4.2485 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4.2486 +$as_echo "yes" >&6; }
  4.2487  fi
  4.2488 -
  4.2489 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4.2490 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  4.2491 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4.2492 +$as_echo "$ac_file" >&6; }
  4.2493  ac_exeext=$ac_cv_exeext
  4.2494  
  4.2495 -# Check that the compiler produces executables we can run.  If not, either
  4.2496 -# the compiler is broken, or we cross compile.
  4.2497 -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  4.2498 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  4.2499 -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  4.2500 -# If not cross compiling, check that we can run a simple program.
  4.2501 -if test "$cross_compiling" != yes; then
  4.2502 -  if { ac_try='./$ac_file'
  4.2503 -  { (case "(($ac_try" in
  4.2504 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2505 -  *) ac_try_echo=$ac_try;;
  4.2506 -esac
  4.2507 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2508 -  (eval "$ac_try") 2>&5
  4.2509 -  ac_status=$?
  4.2510 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2511 -  (exit $ac_status); }; }; then
  4.2512 -    cross_compiling=no
  4.2513 -  else
  4.2514 -    if test "$cross_compiling" = maybe; then
  4.2515 -	cross_compiling=yes
  4.2516 -    else
  4.2517 -	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  4.2518 -If you meant to cross compile, use \`--host'.
  4.2519 -See \`config.log' for more details." >&5
  4.2520 -echo "$as_me: error: cannot run C compiled programs.
  4.2521 -If you meant to cross compile, use \`--host'.
  4.2522 -See \`config.log' for more details." >&2;}
  4.2523 -   { (exit 1); exit 1; }; }
  4.2524 -    fi
  4.2525 -  fi
  4.2526 -fi
  4.2527 -{ echo "$as_me:$LINENO: result: yes" >&5
  4.2528 -echo "${ECHO_T}yes" >&6; }
  4.2529 -
  4.2530 -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  4.2531 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4.2532  ac_clean_files=$ac_clean_files_save
  4.2533 -# Check that the compiler produces executables we can run.  If not, either
  4.2534 -# the compiler is broken, or we cross compile.
  4.2535 -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  4.2536 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  4.2537 -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  4.2538 -echo "${ECHO_T}$cross_compiling" >&6; }
  4.2539 -
  4.2540 -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  4.2541 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  4.2542 -if { (ac_try="$ac_link"
  4.2543 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4.2544 +$as_echo_n "checking for suffix of executables... " >&6; }
  4.2545 +if { { ac_try="$ac_link"
  4.2546  case "(($ac_try" in
  4.2547    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2548    *) ac_try_echo=$ac_try;;
  4.2549  esac
  4.2550 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2551 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2552 +$as_echo "$ac_try_echo"; } >&5
  4.2553    (eval "$ac_link") 2>&5
  4.2554    ac_status=$?
  4.2555 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2556 -  (exit $ac_status); }; then
  4.2557 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2558 +  test $ac_status = 0; }; then :
  4.2559    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4.2560  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  4.2561  # work properly (i.e., refer to `conftest.exe'), while it won't with
  4.2562 @@ -2299,37 +2413,90 @@
  4.2563  for ac_file in conftest.exe conftest conftest.*; do
  4.2564    test -f "$ac_file" || continue
  4.2565    case $ac_file in
  4.2566 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  4.2567 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4.2568      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4.2569  	  break;;
  4.2570      * ) break;;
  4.2571    esac
  4.2572  done
  4.2573  else
  4.2574 -  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  4.2575 -See \`config.log' for more details." >&5
  4.2576 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  4.2577 -See \`config.log' for more details." >&2;}
  4.2578 -   { (exit 1); exit 1; }; }
  4.2579 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.2580 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.2581 +as_fn_error "cannot compute suffix of executables: cannot compile and link
  4.2582 +See \`config.log' for more details." "$LINENO" 5; }
  4.2583  fi
  4.2584 -
  4.2585 -rm -f conftest$ac_cv_exeext
  4.2586 -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  4.2587 -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  4.2588 +rm -f conftest conftest$ac_cv_exeext
  4.2589 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4.2590 +$as_echo "$ac_cv_exeext" >&6; }
  4.2591  
  4.2592  rm -f conftest.$ac_ext
  4.2593  EXEEXT=$ac_cv_exeext
  4.2594  ac_exeext=$EXEEXT
  4.2595 -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  4.2596 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  4.2597 -if test "${ac_cv_objext+set}" = set; then
  4.2598 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2599 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2600 +/* end confdefs.h.  */
  4.2601 +#include <stdio.h>
  4.2602 +int
  4.2603 +main ()
  4.2604 +{
  4.2605 +FILE *f = fopen ("conftest.out", "w");
  4.2606 + return ferror (f) || fclose (f) != 0;
  4.2607 +
  4.2608 +  ;
  4.2609 +  return 0;
  4.2610 +}
  4.2611 +_ACEOF
  4.2612 +ac_clean_files="$ac_clean_files conftest.out"
  4.2613 +# Check that the compiler produces executables we can run.  If not, either
  4.2614 +# the compiler is broken, or we cross compile.
  4.2615 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4.2616 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  4.2617 +if test "$cross_compiling" != yes; then
  4.2618 +  { { ac_try="$ac_link"
  4.2619 +case "(($ac_try" in
  4.2620 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2621 +  *) ac_try_echo=$ac_try;;
  4.2622 +esac
  4.2623 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2624 +$as_echo "$ac_try_echo"; } >&5
  4.2625 +  (eval "$ac_link") 2>&5
  4.2626 +  ac_status=$?
  4.2627 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2628 +  test $ac_status = 0; }
  4.2629 +  if { ac_try='./conftest$ac_cv_exeext'
  4.2630 +  { { case "(($ac_try" in
  4.2631 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2632 +  *) ac_try_echo=$ac_try;;
  4.2633 +esac
  4.2634 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2635 +$as_echo "$ac_try_echo"; } >&5
  4.2636 +  (eval "$ac_try") 2>&5
  4.2637 +  ac_status=$?
  4.2638 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2639 +  test $ac_status = 0; }; }; then
  4.2640 +    cross_compiling=no
  4.2641 +  else
  4.2642 +    if test "$cross_compiling" = maybe; then
  4.2643 +	cross_compiling=yes
  4.2644 +    else
  4.2645 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.2646 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.2647 +as_fn_error "cannot run C compiled programs.
  4.2648 +If you meant to cross compile, use \`--host'.
  4.2649 +See \`config.log' for more details." "$LINENO" 5; }
  4.2650 +    fi
  4.2651 +  fi
  4.2652 +fi
  4.2653 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4.2654 +$as_echo "$cross_compiling" >&6; }
  4.2655 +
  4.2656 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4.2657 +ac_clean_files=$ac_clean_files_save
  4.2658 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4.2659 +$as_echo_n "checking for suffix of object files... " >&6; }
  4.2660 +if test "${ac_cv_objext+set}" = set; then :
  4.2661 +  $as_echo_n "(cached) " >&6
  4.2662  else
  4.2663 -  cat >conftest.$ac_ext <<_ACEOF
  4.2664 -/* confdefs.h.  */
  4.2665 -_ACEOF
  4.2666 -cat confdefs.h >>conftest.$ac_ext
  4.2667 -cat >>conftest.$ac_ext <<_ACEOF
  4.2668 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2669  /* end confdefs.h.  */
  4.2670  
  4.2671  int
  4.2672 @@ -2341,51 +2508,46 @@
  4.2673  }
  4.2674  _ACEOF
  4.2675  rm -f conftest.o conftest.obj
  4.2676 -if { (ac_try="$ac_compile"
  4.2677 +if { { ac_try="$ac_compile"
  4.2678  case "(($ac_try" in
  4.2679    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2680    *) ac_try_echo=$ac_try;;
  4.2681  esac
  4.2682 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2683 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4.2684 +$as_echo "$ac_try_echo"; } >&5
  4.2685    (eval "$ac_compile") 2>&5
  4.2686    ac_status=$?
  4.2687 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2688 -  (exit $ac_status); }; then
  4.2689 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4.2690 +  test $ac_status = 0; }; then :
  4.2691    for ac_file in conftest.o conftest.obj conftest.*; do
  4.2692    test -f "$ac_file" || continue;
  4.2693    case $ac_file in
  4.2694 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  4.2695 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4.2696      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4.2697         break;;
  4.2698    esac
  4.2699  done
  4.2700  else
  4.2701 -  echo "$as_me: failed program was:" >&5
  4.2702 +  $as_echo "$as_me: failed program was:" >&5
  4.2703  sed 's/^/| /' conftest.$ac_ext >&5
  4.2704  
  4.2705 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  4.2706 -See \`config.log' for more details." >&5
  4.2707 -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  4.2708 -See \`config.log' for more details." >&2;}
  4.2709 -   { (exit 1); exit 1; }; }
  4.2710 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.2711 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.2712 +as_fn_error "cannot compute suffix of object files: cannot compile
  4.2713 +See \`config.log' for more details." "$LINENO" 5; }
  4.2714  fi
  4.2715 -
  4.2716  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4.2717  fi
  4.2718 -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  4.2719 -echo "${ECHO_T}$ac_cv_objext" >&6; }
  4.2720 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4.2721 +$as_echo "$ac_cv_objext" >&6; }
  4.2722  OBJEXT=$ac_cv_objext
  4.2723  ac_objext=$OBJEXT
  4.2724 -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4.2725 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4.2726 -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4.2727 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2728 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4.2729 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4.2730 +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  4.2731 +  $as_echo_n "(cached) " >&6
  4.2732  else
  4.2733 -  cat >conftest.$ac_ext <<_ACEOF
  4.2734 -/* confdefs.h.  */
  4.2735 -_ACEOF
  4.2736 -cat confdefs.h >>conftest.$ac_ext
  4.2737 -cat >>conftest.$ac_ext <<_ACEOF
  4.2738 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2739  /* end confdefs.h.  */
  4.2740  
  4.2741  int
  4.2742 @@ -2399,54 +2561,34 @@
  4.2743    return 0;
  4.2744  }
  4.2745  _ACEOF
  4.2746 -rm -f conftest.$ac_objext
  4.2747 -if { (ac_try="$ac_compile"
  4.2748 -case "(($ac_try" in
  4.2749 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2750 -  *) ac_try_echo=$ac_try;;
  4.2751 -esac
  4.2752 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2753 -  (eval "$ac_compile") 2>conftest.er1
  4.2754 -  ac_status=$?
  4.2755 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.2756 -  rm -f conftest.er1
  4.2757 -  cat conftest.err >&5
  4.2758 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2759 -  (exit $ac_status); } && {
  4.2760 -	 test -z "$ac_c_werror_flag" ||
  4.2761 -	 test ! -s conftest.err
  4.2762 -       } && test -s conftest.$ac_objext; then
  4.2763 +if ac_fn_c_try_compile "$LINENO"; then :
  4.2764    ac_compiler_gnu=yes
  4.2765  else
  4.2766 -  echo "$as_me: failed program was:" >&5
  4.2767 -sed 's/^/| /' conftest.$ac_ext >&5
  4.2768 -
  4.2769 -	ac_compiler_gnu=no
  4.2770 +  ac_compiler_gnu=no
  4.2771  fi
  4.2772 -
  4.2773  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.2774  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4.2775  
  4.2776  fi
  4.2777 -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4.2778 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4.2779 -GCC=`test $ac_compiler_gnu = yes && echo yes`
  4.2780 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4.2781 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4.2782 +if test $ac_compiler_gnu = yes; then
  4.2783 +  GCC=yes
  4.2784 +else
  4.2785 +  GCC=
  4.2786 +fi
  4.2787  ac_test_CFLAGS=${CFLAGS+set}
  4.2788  ac_save_CFLAGS=$CFLAGS
  4.2789 -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4.2790 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4.2791 -if test "${ac_cv_prog_cc_g+set}" = set; then
  4.2792 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2793 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4.2794 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  4.2795 +if test "${ac_cv_prog_cc_g+set}" = set; then :
  4.2796 +  $as_echo_n "(cached) " >&6
  4.2797  else
  4.2798    ac_save_c_werror_flag=$ac_c_werror_flag
  4.2799     ac_c_werror_flag=yes
  4.2800     ac_cv_prog_cc_g=no
  4.2801     CFLAGS="-g"
  4.2802 -   cat >conftest.$ac_ext <<_ACEOF
  4.2803 -/* confdefs.h.  */
  4.2804 -_ACEOF
  4.2805 -cat confdefs.h >>conftest.$ac_ext
  4.2806 -cat >>conftest.$ac_ext <<_ACEOF
  4.2807 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2808  /* end confdefs.h.  */
  4.2809  
  4.2810  int
  4.2811 @@ -2457,34 +2599,11 @@
  4.2812    return 0;
  4.2813  }
  4.2814  _ACEOF
  4.2815 -rm -f conftest.$ac_objext
  4.2816 -if { (ac_try="$ac_compile"
  4.2817 -case "(($ac_try" in
  4.2818 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2819 -  *) ac_try_echo=$ac_try;;
  4.2820 -esac
  4.2821 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2822 -  (eval "$ac_compile") 2>conftest.er1
  4.2823 -  ac_status=$?
  4.2824 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.2825 -  rm -f conftest.er1
  4.2826 -  cat conftest.err >&5
  4.2827 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2828 -  (exit $ac_status); } && {
  4.2829 -	 test -z "$ac_c_werror_flag" ||
  4.2830 -	 test ! -s conftest.err
  4.2831 -       } && test -s conftest.$ac_objext; then
  4.2832 +if ac_fn_c_try_compile "$LINENO"; then :
  4.2833    ac_cv_prog_cc_g=yes
  4.2834  else
  4.2835 -  echo "$as_me: failed program was:" >&5
  4.2836 -sed 's/^/| /' conftest.$ac_ext >&5
  4.2837 -
  4.2838 -	CFLAGS=""
  4.2839 -      cat >conftest.$ac_ext <<_ACEOF
  4.2840 -/* confdefs.h.  */
  4.2841 -_ACEOF
  4.2842 -cat confdefs.h >>conftest.$ac_ext
  4.2843 -cat >>conftest.$ac_ext <<_ACEOF
  4.2844 +  CFLAGS=""
  4.2845 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2846  /* end confdefs.h.  */
  4.2847  
  4.2848  int
  4.2849 @@ -2495,35 +2614,12 @@
  4.2850    return 0;
  4.2851  }
  4.2852  _ACEOF
  4.2853 -rm -f conftest.$ac_objext
  4.2854 -if { (ac_try="$ac_compile"
  4.2855 -case "(($ac_try" in
  4.2856 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2857 -  *) ac_try_echo=$ac_try;;
  4.2858 -esac
  4.2859 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2860 -  (eval "$ac_compile") 2>conftest.er1
  4.2861 -  ac_status=$?
  4.2862 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.2863 -  rm -f conftest.er1
  4.2864 -  cat conftest.err >&5
  4.2865 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2866 -  (exit $ac_status); } && {
  4.2867 -	 test -z "$ac_c_werror_flag" ||
  4.2868 -	 test ! -s conftest.err
  4.2869 -       } && test -s conftest.$ac_objext; then
  4.2870 -  :
  4.2871 +if ac_fn_c_try_compile "$LINENO"; then :
  4.2872 +
  4.2873  else
  4.2874 -  echo "$as_me: failed program was:" >&5
  4.2875 -sed 's/^/| /' conftest.$ac_ext >&5
  4.2876 -
  4.2877 -	ac_c_werror_flag=$ac_save_c_werror_flag
  4.2878 +  ac_c_werror_flag=$ac_save_c_werror_flag
  4.2879  	 CFLAGS="-g"
  4.2880 -	 cat >conftest.$ac_ext <<_ACEOF
  4.2881 -/* confdefs.h.  */
  4.2882 -_ACEOF
  4.2883 -cat confdefs.h >>conftest.$ac_ext
  4.2884 -cat >>conftest.$ac_ext <<_ACEOF
  4.2885 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2886  /* end confdefs.h.  */
  4.2887  
  4.2888  int
  4.2889 @@ -2534,42 +2630,18 @@
  4.2890    return 0;
  4.2891  }
  4.2892  _ACEOF
  4.2893 -rm -f conftest.$ac_objext
  4.2894 -if { (ac_try="$ac_compile"
  4.2895 -case "(($ac_try" in
  4.2896 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2897 -  *) ac_try_echo=$ac_try;;
  4.2898 -esac
  4.2899 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2900 -  (eval "$ac_compile") 2>conftest.er1
  4.2901 -  ac_status=$?
  4.2902 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.2903 -  rm -f conftest.er1
  4.2904 -  cat conftest.err >&5
  4.2905 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2906 -  (exit $ac_status); } && {
  4.2907 -	 test -z "$ac_c_werror_flag" ||
  4.2908 -	 test ! -s conftest.err
  4.2909 -       } && test -s conftest.$ac_objext; then
  4.2910 +if ac_fn_c_try_compile "$LINENO"; then :
  4.2911    ac_cv_prog_cc_g=yes
  4.2912 -else
  4.2913 -  echo "$as_me: failed program was:" >&5
  4.2914 -sed 's/^/| /' conftest.$ac_ext >&5
  4.2915 -
  4.2916 -
  4.2917  fi
  4.2918 -
  4.2919  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.2920  fi
  4.2921 -
  4.2922  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.2923  fi
  4.2924 -
  4.2925  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.2926     ac_c_werror_flag=$ac_save_c_werror_flag
  4.2927  fi
  4.2928 -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4.2929 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4.2930 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4.2931 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  4.2932  if test "$ac_test_CFLAGS" = set; then
  4.2933    CFLAGS=$ac_save_CFLAGS
  4.2934  elif test $ac_cv_prog_cc_g = yes; then
  4.2935 @@ -2585,18 +2657,14 @@
  4.2936      CFLAGS=
  4.2937    fi
  4.2938  fi
  4.2939 -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4.2940 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4.2941 -if test "${ac_cv_prog_cc_c89+set}" = set; then
  4.2942 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.2943 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4.2944 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4.2945 +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  4.2946 +  $as_echo_n "(cached) " >&6
  4.2947  else
  4.2948    ac_cv_prog_cc_c89=no
  4.2949  ac_save_CC=$CC
  4.2950 -cat >conftest.$ac_ext <<_ACEOF
  4.2951 -/* confdefs.h.  */
  4.2952 -_ACEOF
  4.2953 -cat confdefs.h >>conftest.$ac_ext
  4.2954 -cat >>conftest.$ac_ext <<_ACEOF
  4.2955 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.2956  /* end confdefs.h.  */
  4.2957  #include <stdarg.h>
  4.2958  #include <stdio.h>
  4.2959 @@ -2653,31 +2721,9 @@
  4.2960  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4.2961  do
  4.2962    CC="$ac_save_CC $ac_arg"
  4.2963 -  rm -f conftest.$ac_objext
  4.2964 -if { (ac_try="$ac_compile"
  4.2965 -case "(($ac_try" in
  4.2966 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.2967 -  *) ac_try_echo=$ac_try;;
  4.2968 -esac
  4.2969 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.2970 -  (eval "$ac_compile") 2>conftest.er1
  4.2971 -  ac_status=$?
  4.2972 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.2973 -  rm -f conftest.er1
  4.2974 -  cat conftest.err >&5
  4.2975 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.2976 -  (exit $ac_status); } && {
  4.2977 -	 test -z "$ac_c_werror_flag" ||
  4.2978 -	 test ! -s conftest.err
  4.2979 -       } && test -s conftest.$ac_objext; then
  4.2980 +  if ac_fn_c_try_compile "$LINENO"; then :
  4.2981    ac_cv_prog_cc_c89=$ac_arg
  4.2982 -else
  4.2983 -  echo "$as_me: failed program was:" >&5
  4.2984 -sed 's/^/| /' conftest.$ac_ext >&5
  4.2985 -
  4.2986 -
  4.2987  fi
  4.2988 -
  4.2989  rm -f core conftest.err conftest.$ac_objext
  4.2990    test "x$ac_cv_prog_cc_c89" != "xno" && break
  4.2991  done
  4.2992 @@ -2688,17 +2734,19 @@
  4.2993  # AC_CACHE_VAL
  4.2994  case "x$ac_cv_prog_cc_c89" in
  4.2995    x)
  4.2996 -    { echo "$as_me:$LINENO: result: none needed" >&5
  4.2997 -echo "${ECHO_T}none needed" >&6; } ;;
  4.2998 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4.2999 +$as_echo "none needed" >&6; } ;;
  4.3000    xno)
  4.3001 -    { echo "$as_me:$LINENO: result: unsupported" >&5
  4.3002 -echo "${ECHO_T}unsupported" >&6; } ;;
  4.3003 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4.3004 +$as_echo "unsupported" >&6; } ;;
  4.3005    *)
  4.3006      CC="$CC $ac_cv_prog_cc_c89"
  4.3007 -    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4.3008 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4.3009 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4.3010 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4.3011  esac
  4.3012 -
  4.3013 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  4.3014 +
  4.3015 +fi
  4.3016  
  4.3017  ac_ext=c
  4.3018  ac_cpp='$CPP $CPPFLAGS'
  4.3019 @@ -2709,16 +2757,12 @@
  4.3020  
  4.3021  
  4.3022  
  4.3023 -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  4.3024 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  4.3025 -if test "${ac_cv_c_const+set}" = set; then
  4.3026 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.3027 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  4.3028 +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  4.3029 +if test "${ac_cv_c_const+set}" = set; then :
  4.3030 +  $as_echo_n "(cached) " >&6
  4.3031  else
  4.3032 -  cat >conftest.$ac_ext <<_ACEOF
  4.3033 -/* confdefs.h.  */
  4.3034 -_ACEOF
  4.3035 -cat confdefs.h >>conftest.$ac_ext
  4.3036 -cat >>conftest.$ac_ext <<_ACEOF
  4.3037 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3038  /* end confdefs.h.  */
  4.3039  
  4.3040  int
  4.3041 @@ -2778,40 +2822,18 @@
  4.3042    return 0;
  4.3043  }
  4.3044  _ACEOF
  4.3045 -rm -f conftest.$ac_objext
  4.3046 -if { (ac_try="$ac_compile"
  4.3047 -case "(($ac_try" in
  4.3048 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3049 -  *) ac_try_echo=$ac_try;;
  4.3050 -esac
  4.3051 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3052 -  (eval "$ac_compile") 2>conftest.er1
  4.3053 -  ac_status=$?
  4.3054 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3055 -  rm -f conftest.er1
  4.3056 -  cat conftest.err >&5
  4.3057 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3058 -  (exit $ac_status); } && {
  4.3059 -	 test -z "$ac_c_werror_flag" ||
  4.3060 -	 test ! -s conftest.err
  4.3061 -       } && test -s conftest.$ac_objext; then
  4.3062 +if ac_fn_c_try_compile "$LINENO"; then :
  4.3063    ac_cv_c_const=yes
  4.3064  else
  4.3065 -  echo "$as_me: failed program was:" >&5
  4.3066 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3067 -
  4.3068 -	ac_cv_c_const=no
  4.3069 +  ac_cv_c_const=no
  4.3070  fi
  4.3071 -
  4.3072  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.3073  fi
  4.3074 -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  4.3075 -echo "${ECHO_T}$ac_cv_c_const" >&6; }
  4.3076 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  4.3077 +$as_echo "$ac_cv_c_const" >&6; }
  4.3078  if test $ac_cv_c_const = no; then
  4.3079  
  4.3080 -cat >>confdefs.h <<\_ACEOF
  4.3081 -#define const
  4.3082 -_ACEOF
  4.3083 +$as_echo "#define const /**/" >>confdefs.h
  4.3084  
  4.3085  fi
  4.3086  
  4.3087 @@ -2844,10 +2866,10 @@
  4.3088          MATHLIB=""
  4.3089          # Extract the first word of "osmesa-config", so it can be a program name with args.
  4.3090  set dummy osmesa-config; ac_word=$2
  4.3091 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.3092 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.3093 -if test "${ac_cv_path_OSMESA_CONFIG+set}" = set; then
  4.3094 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.3095 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.3096 +$as_echo_n "checking for $ac_word... " >&6; }
  4.3097 +if test "${ac_cv_path_OSMESA_CONFIG+set}" = set; then :
  4.3098 +  $as_echo_n "(cached) " >&6
  4.3099  else
  4.3100    case $OSMESA_CONFIG in
  4.3101    [\\/]* | ?:[\\/]*)
  4.3102 @@ -2859,14 +2881,14 @@
  4.3103  do
  4.3104    IFS=$as_save_IFS
  4.3105    test -z "$as_dir" && as_dir=.
  4.3106 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.3107 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.3108    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.3109      ac_cv_path_OSMESA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4.3110 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.3111 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.3112      break 2
  4.3113    fi
  4.3114  done
  4.3115 -done
  4.3116 +  done
  4.3117  IFS=$as_save_IFS
  4.3118  
  4.3119    test -z "$ac_cv_path_OSMESA_CONFIG" && ac_cv_path_OSMESA_CONFIG="no"
  4.3120 @@ -2875,11 +2897,11 @@
  4.3121  fi
  4.3122  OSMESA_CONFIG=$ac_cv_path_OSMESA_CONFIG
  4.3123  if test -n "$OSMESA_CONFIG"; then
  4.3124 -  { echo "$as_me:$LINENO: result: $OSMESA_CONFIG" >&5
  4.3125 -echo "${ECHO_T}$OSMESA_CONFIG" >&6; }
  4.3126 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSMESA_CONFIG" >&5
  4.3127 +$as_echo "$OSMESA_CONFIG" >&6; }
  4.3128  else
  4.3129 -  { echo "$as_me:$LINENO: result: no" >&5
  4.3130 -echo "${ECHO_T}no" >&6; }
  4.3131 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.3132 +$as_echo "no" >&6; }
  4.3133  fi
  4.3134  
  4.3135  
  4.3136 @@ -2909,7 +2931,7 @@
  4.3137  SDL_VERSION=1.3.0
  4.3138  
  4.3139  # Check whether --with-sdl-prefix was given.
  4.3140 -if test "${with_sdl_prefix+set}" = set; then
  4.3141 +if test "${with_sdl_prefix+set}" = set; then :
  4.3142    withval=$with_sdl_prefix; sdl_prefix="$withval"
  4.3143  else
  4.3144    sdl_prefix=""
  4.3145 @@ -2917,14 +2939,14 @@
  4.3146  
  4.3147  
  4.3148  # Check whether --with-sdl-exec-prefix was given.
  4.3149 -if test "${with_sdl_exec_prefix+set}" = set; then
  4.3150 +if test "${with_sdl_exec_prefix+set}" = set; then :
  4.3151    withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
  4.3152  else
  4.3153    sdl_exec_prefix=""
  4.3154  fi
  4.3155  
  4.3156  # Check whether --enable-sdltest was given.
  4.3157 -if test "${enable_sdltest+set}" = set; then
  4.3158 +if test "${enable_sdltest+set}" = set; then :
  4.3159    enableval=$enable_sdltest;
  4.3160  else
  4.3161    enable_sdltest=yes
  4.3162 @@ -2949,10 +2971,10 @@
  4.3163    fi
  4.3164    # Extract the first word of "sdl-config", so it can be a program name with args.
  4.3165  set dummy sdl-config; ac_word=$2
  4.3166 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  4.3167 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4.3168 -if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
  4.3169 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.3170 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4.3171 +$as_echo_n "checking for $ac_word... " >&6; }
  4.3172 +if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
  4.3173 +  $as_echo_n "(cached) " >&6
  4.3174  else
  4.3175    case $SDL_CONFIG in
  4.3176    [\\/]* | ?:[\\/]*)
  4.3177 @@ -2964,14 +2986,14 @@
  4.3178  do
  4.3179    IFS=$as_save_IFS
  4.3180    test -z "$as_dir" && as_dir=.
  4.3181 -  for ac_exec_ext in '' $ac_executable_extensions; do
  4.3182 +    for ac_exec_ext in '' $ac_executable_extensions; do
  4.3183    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4.3184      ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4.3185 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.3186 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4.3187      break 2
  4.3188    fi
  4.3189  done
  4.3190 -done
  4.3191 +  done
  4.3192  IFS=$as_save_IFS
  4.3193  
  4.3194    test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  4.3195 @@ -2980,17 +3002,17 @@
  4.3196  fi
  4.3197  SDL_CONFIG=$ac_cv_path_SDL_CONFIG
  4.3198  if test -n "$SDL_CONFIG"; then
  4.3199 -  { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
  4.3200 -echo "${ECHO_T}$SDL_CONFIG" >&6; }
  4.3201 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
  4.3202 +$as_echo "$SDL_CONFIG" >&6; }
  4.3203  else
  4.3204 -  { echo "$as_me:$LINENO: result: no" >&5
  4.3205 -echo "${ECHO_T}no" >&6; }
  4.3206 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.3207 +$as_echo "no" >&6; }
  4.3208  fi
  4.3209  
  4.3210  
  4.3211    min_sdl_version=$SDL_VERSION
  4.3212 -  { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
  4.3213 -echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
  4.3214 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
  4.3215 +$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
  4.3216    no_sdl=""
  4.3217    if test "$SDL_CONFIG" = "no" ; then
  4.3218      no_sdl=yes
  4.3219 @@ -3012,14 +3034,10 @@
  4.3220        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  4.3221        LIBS="$LIBS $SDL_LIBS"
  4.3222        rm -f conf.sdltest
  4.3223 -      if test "$cross_compiling" = yes; then
  4.3224 +      if test "$cross_compiling" = yes; then :
  4.3225    echo $ac_n "cross compiling; assumed OK... $ac_c"
  4.3226  else
  4.3227 -  cat >conftest.$ac_ext <<_ACEOF
  4.3228 -/* confdefs.h.  */
  4.3229 -_ACEOF
  4.3230 -cat confdefs.h >>conftest.$ac_ext
  4.3231 -cat >>conftest.$ac_ext <<_ACEOF
  4.3232 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3233  /* end confdefs.h.  */
  4.3234  
  4.3235  #include <stdio.h>
  4.3236 @@ -3080,51 +3098,27 @@
  4.3237  
  4.3238  
  4.3239  _ACEOF
  4.3240 -rm -f conftest$ac_exeext
  4.3241 -if { (ac_try="$ac_link"
  4.3242 -case "(($ac_try" in
  4.3243 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3244 -  *) ac_try_echo=$ac_try;;
  4.3245 -esac
  4.3246 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3247 -  (eval "$ac_link") 2>&5
  4.3248 -  ac_status=$?
  4.3249 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3250 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4.3251 -  { (case "(($ac_try" in
  4.3252 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3253 -  *) ac_try_echo=$ac_try;;
  4.3254 -esac
  4.3255 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3256 -  (eval "$ac_try") 2>&5
  4.3257 -  ac_status=$?
  4.3258 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3259 -  (exit $ac_status); }; }; then
  4.3260 -  :
  4.3261 +if ac_fn_c_try_run "$LINENO"; then :
  4.3262 +
  4.3263  else
  4.3264 -  echo "$as_me: program exited with status $ac_status" >&5
  4.3265 -echo "$as_me: failed program was:" >&5
  4.3266 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3267 -
  4.3268 -( exit $ac_status )
  4.3269 -no_sdl=yes
  4.3270 +  no_sdl=yes
  4.3271  fi
  4.3272 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4.3273 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4.3274 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  4.3275  fi
  4.3276  
  4.3277 -
  4.3278         CFLAGS="$ac_save_CFLAGS"
  4.3279         CXXFLAGS="$ac_save_CXXFLAGS"
  4.3280         LIBS="$ac_save_LIBS"
  4.3281       fi
  4.3282    fi
  4.3283    if test "x$no_sdl" = x ; then
  4.3284 -     { echo "$as_me:$LINENO: result: yes" >&5
  4.3285 -echo "${ECHO_T}yes" >&6; }
  4.3286 +     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4.3287 +$as_echo "yes" >&6; }
  4.3288       :
  4.3289    else
  4.3290 -     { echo "$as_me:$LINENO: result: no" >&5
  4.3291 -echo "${ECHO_T}no" >&6; }
  4.3292 +     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4.3293 +$as_echo "no" >&6; }
  4.3294       if test "$SDL_CONFIG" = "no" ; then
  4.3295         echo "*** The sdl-config script installed by SDL could not be found"
  4.3296         echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
  4.3297 @@ -3138,11 +3132,7 @@
  4.3298            CFLAGS="$CFLAGS $SDL_CFLAGS"
  4.3299            CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  4.3300            LIBS="$LIBS $SDL_LIBS"
  4.3301 -          cat >conftest.$ac_ext <<_ACEOF
  4.3302 -/* confdefs.h.  */
  4.3303 -_ACEOF
  4.3304 -cat confdefs.h >>conftest.$ac_ext
  4.3305 -cat >>conftest.$ac_ext <<_ACEOF
  4.3306 +          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3307  /* end confdefs.h.  */
  4.3308  
  4.3309  #include <stdio.h>
  4.3310 @@ -3161,24 +3151,7 @@
  4.3311    return 0;
  4.3312  }
  4.3313  _ACEOF
  4.3314 -rm -f conftest.$ac_objext conftest$ac_exeext
  4.3315 -if { (ac_try="$ac_link"
  4.3316 -case "(($ac_try" in
  4.3317 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3318 -  *) ac_try_echo=$ac_try;;
  4.3319 -esac
  4.3320 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3321 -  (eval "$ac_link") 2>conftest.er1
  4.3322 -  ac_status=$?
  4.3323 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3324 -  rm -f conftest.er1
  4.3325 -  cat conftest.err >&5
  4.3326 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3327 -  (exit $ac_status); } && {
  4.3328 -	 test -z "$ac_c_werror_flag" ||
  4.3329 -	 test ! -s conftest.err
  4.3330 -       } && test -s conftest$ac_exeext &&
  4.3331 -       $as_test_x conftest$ac_exeext; then
  4.3332 +if ac_fn_c_try_link "$LINENO"; then :
  4.3333     echo "*** The test program compiled, but did not run. This usually means"
  4.3334            echo "*** that the run-time linker is not finding SDL or finding the wrong"
  4.3335            echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  4.3336 @@ -3189,17 +3162,13 @@
  4.3337            echo "*** If you have an old version installed, it is best to remove it, although"
  4.3338            echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  4.3339  else
  4.3340 -  echo "$as_me: failed program was:" >&5
  4.3341 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3342 -
  4.3343 -	 echo "*** The test program failed to compile or link. See the file config.log for the"
  4.3344 +   echo "*** The test program failed to compile or link. See the file config.log for the"
  4.3345            echo "*** exact error that occured. This usually means SDL was incorrectly installed"
  4.3346            echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  4.3347            echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
  4.3348  fi
  4.3349 -
  4.3350 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4.3351 -      conftest$ac_exeext conftest.$ac_ext
  4.3352 +rm -f core conftest.err conftest.$ac_objext \
  4.3353 +    conftest$ac_exeext conftest.$ac_ext
  4.3354            CFLAGS="$ac_save_CFLAGS"
  4.3355            CXXFLAGS="$ac_save_CXXFLAGS"
  4.3356            LIBS="$ac_save_LIBS"
  4.3357 @@ -3207,9 +3176,7 @@
  4.3358       fi
  4.3359       SDL_CFLAGS=""
  4.3360       SDL_LIBS=""
  4.3361 -     { { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
  4.3362 -echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
  4.3363 -   { (exit 1); exit 1; }; }
  4.3364 +     as_fn_error "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
  4.3365  
  4.3366    fi
  4.3367  
  4.3368 @@ -3224,15 +3191,15 @@
  4.3369  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4.3370  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4.3371  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4.3372 -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4.3373 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  4.3374 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4.3375 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  4.3376  # On Suns, sometimes $CPP names a directory.
  4.3377  if test -n "$CPP" && test -d "$CPP"; then
  4.3378    CPP=
  4.3379  fi
  4.3380  if test -z "$CPP"; then
  4.3381 -  if test "${ac_cv_prog_CPP+set}" = set; then
  4.3382 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.3383 +  if test "${ac_cv_prog_CPP+set}" = set; then :
  4.3384 +  $as_echo_n "(cached) " >&6
  4.3385  else
  4.3386        # Double quotes because CPP needs to be expanded
  4.3387      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4.3388 @@ -3246,11 +3213,7 @@
  4.3389    # <limits.h> exists even on freestanding compilers.
  4.3390    # On the NeXT, cc -E runs the code through the compiler's parser,
  4.3391    # not just through cpp. "Syntax error" is here to catch this case.
  4.3392 -  cat >conftest.$ac_ext <<_ACEOF
  4.3393 -/* confdefs.h.  */
  4.3394 -_ACEOF
  4.3395 -cat confdefs.h >>conftest.$ac_ext
  4.3396 -cat >>conftest.$ac_ext <<_ACEOF
  4.3397 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3398  /* end confdefs.h.  */
  4.3399  #ifdef __STDC__
  4.3400  # include <limits.h>
  4.3401 @@ -3259,76 +3222,34 @@
  4.3402  #endif
  4.3403  		     Syntax error
  4.3404  _ACEOF
  4.3405 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  4.3406 -case "(($ac_try" in
  4.3407 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3408 -  *) ac_try_echo=$ac_try;;
  4.3409 -esac
  4.3410 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3411 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4.3412 -  ac_status=$?
  4.3413 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3414 -  rm -f conftest.er1
  4.3415 -  cat conftest.err >&5
  4.3416 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3417 -  (exit $ac_status); } >/dev/null && {
  4.3418 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.3419 -	 test ! -s conftest.err
  4.3420 -       }; then
  4.3421 -  :
  4.3422 +if ac_fn_c_try_cpp "$LINENO"; then :
  4.3423 +
  4.3424  else
  4.3425 -  echo "$as_me: failed program was:" >&5
  4.3426 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3427 -
  4.3428    # Broken: fails on valid input.
  4.3429  continue
  4.3430  fi
  4.3431 -
  4.3432  rm -f conftest.err conftest.$ac_ext
  4.3433  
  4.3434    # OK, works on sane cases.  Now check whether nonexistent headers
  4.3435    # can be detected and how.
  4.3436 -  cat >conftest.$ac_ext <<_ACEOF
  4.3437 -/* confdefs.h.  */
  4.3438 -_ACEOF
  4.3439 -cat confdefs.h >>conftest.$ac_ext
  4.3440 -cat >>conftest.$ac_ext <<_ACEOF
  4.3441 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3442  /* end confdefs.h.  */
  4.3443  #include <ac_nonexistent.h>
  4.3444  _ACEOF
  4.3445 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  4.3446 -case "(($ac_try" in
  4.3447 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3448 -  *) ac_try_echo=$ac_try;;
  4.3449 -esac
  4.3450 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3451 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4.3452 -  ac_status=$?
  4.3453 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3454 -  rm -f conftest.er1
  4.3455 -  cat conftest.err >&5
  4.3456 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3457 -  (exit $ac_status); } >/dev/null && {
  4.3458 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.3459 -	 test ! -s conftest.err
  4.3460 -       }; then
  4.3461 +if ac_fn_c_try_cpp "$LINENO"; then :
  4.3462    # Broken: success on invalid input.
  4.3463  continue
  4.3464  else
  4.3465 -  echo "$as_me: failed program was:" >&5
  4.3466 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3467 -
  4.3468    # Passes both tests.
  4.3469  ac_preproc_ok=:
  4.3470  break
  4.3471  fi
  4.3472 -
  4.3473  rm -f conftest.err conftest.$ac_ext
  4.3474  
  4.3475  done
  4.3476  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4.3477  rm -f conftest.err conftest.$ac_ext
  4.3478 -if $ac_preproc_ok; then
  4.3479 +if $ac_preproc_ok; then :
  4.3480    break
  4.3481  fi
  4.3482  
  4.3483 @@ -3340,8 +3261,8 @@
  4.3484  else
  4.3485    ac_cv_prog_CPP=$CPP
  4.3486  fi
  4.3487 -{ echo "$as_me:$LINENO: result: $CPP" >&5
  4.3488 -echo "${ECHO_T}$CPP" >&6; }
  4.3489 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4.3490 +$as_echo "$CPP" >&6; }
  4.3491  ac_preproc_ok=false
  4.3492  for ac_c_preproc_warn_flag in '' yes
  4.3493  do
  4.3494 @@ -3351,11 +3272,7 @@
  4.3495    # <limits.h> exists even on freestanding compilers.
  4.3496    # On the NeXT, cc -E runs the code through the compiler's parser,
  4.3497    # not just through cpp. "Syntax error" is here to catch this case.
  4.3498 -  cat >conftest.$ac_ext <<_ACEOF
  4.3499 -/* confdefs.h.  */
  4.3500 -_ACEOF
  4.3501 -cat confdefs.h >>conftest.$ac_ext
  4.3502 -cat >>conftest.$ac_ext <<_ACEOF
  4.3503 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3504  /* end confdefs.h.  */
  4.3505  #ifdef __STDC__
  4.3506  # include <limits.h>
  4.3507 @@ -3364,83 +3281,40 @@
  4.3508  #endif
  4.3509  		     Syntax error
  4.3510  _ACEOF
  4.3511 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  4.3512 -case "(($ac_try" in
  4.3513 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3514 -  *) ac_try_echo=$ac_try;;
  4.3515 -esac
  4.3516 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3517 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4.3518 -  ac_status=$?
  4.3519 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3520 -  rm -f conftest.er1
  4.3521 -  cat conftest.err >&5
  4.3522 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3523 -  (exit $ac_status); } >/dev/null && {
  4.3524 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.3525 -	 test ! -s conftest.err
  4.3526 -       }; then
  4.3527 -  :
  4.3528 +if ac_fn_c_try_cpp "$LINENO"; then :
  4.3529 +
  4.3530  else
  4.3531 -  echo "$as_me: failed program was:" >&5
  4.3532 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3533 -
  4.3534    # Broken: fails on valid input.
  4.3535  continue
  4.3536  fi
  4.3537 -
  4.3538  rm -f conftest.err conftest.$ac_ext
  4.3539  
  4.3540    # OK, works on sane cases.  Now check whether nonexistent headers
  4.3541    # can be detected and how.
  4.3542 -  cat >conftest.$ac_ext <<_ACEOF
  4.3543 -/* confdefs.h.  */
  4.3544 -_ACEOF
  4.3545 -cat confdefs.h >>conftest.$ac_ext
  4.3546 -cat >>conftest.$ac_ext <<_ACEOF
  4.3547 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3548  /* end confdefs.h.  */
  4.3549  #include <ac_nonexistent.h>
  4.3550  _ACEOF
  4.3551 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  4.3552 -case "(($ac_try" in
  4.3553 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3554 -  *) ac_try_echo=$ac_try;;
  4.3555 -esac
  4.3556 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3557 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4.3558 -  ac_status=$?
  4.3559 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3560 -  rm -f conftest.er1
  4.3561 -  cat conftest.err >&5
  4.3562 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3563 -  (exit $ac_status); } >/dev/null && {
  4.3564 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.3565 -	 test ! -s conftest.err
  4.3566 -       }; then
  4.3567 +if ac_fn_c_try_cpp "$LINENO"; then :
  4.3568    # Broken: success on invalid input.
  4.3569  continue
  4.3570  else
  4.3571 -  echo "$as_me: failed program was:" >&5
  4.3572 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3573 -
  4.3574    # Passes both tests.
  4.3575  ac_preproc_ok=:
  4.3576  break
  4.3577  fi
  4.3578 -
  4.3579  rm -f conftest.err conftest.$ac_ext
  4.3580  
  4.3581  done
  4.3582  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4.3583  rm -f conftest.err conftest.$ac_ext
  4.3584 -if $ac_preproc_ok; then
  4.3585 -  :
  4.3586 +if $ac_preproc_ok; then :
  4.3587 +
  4.3588  else
  4.3589 -  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4.3590 -See \`config.log' for more details." >&5
  4.3591 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4.3592 -See \`config.log' for more details." >&2;}
  4.3593 -   { (exit 1); exit 1; }; }
  4.3594 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4.3595 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4.3596 +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  4.3597 +See \`config.log' for more details." "$LINENO" 5; }
  4.3598  fi
  4.3599  
  4.3600  ac_ext=c
  4.3601 @@ -3450,12 +3324,12 @@
  4.3602  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4.3603  
  4.3604  
  4.3605 -{ echo "$as_me:$LINENO: checking for X" >&5
  4.3606 -echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  4.3607 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  4.3608 +$as_echo_n "checking for X... " >&6; }
  4.3609  
  4.3610  
  4.3611  # Check whether --with-x was given.
  4.3612 -if test "${with_x+set}" = set; then
  4.3613 +if test "${with_x+set}" = set; then :
  4.3614    withval=$with_x;
  4.3615  fi
  4.3616  
  4.3617 @@ -3465,11 +3339,9 @@
  4.3618    have_x=disabled
  4.3619  else
  4.3620    case $x_includes,$x_libraries in #(
  4.3621 -    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  4.3622 -echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  4.3623 -   { (exit 1); exit 1; }; };; #(
  4.3624 -    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  4.3625 -  echo $ECHO_N "(cached) $ECHO_C" >&6
  4.3626 +    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
  4.3627 +    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
  4.3628 +  $as_echo_n "(cached) " >&6
  4.3629  else
  4.3630    # One or both of the vars are not set, and there is no cached value.
  4.3631  ac_x_includes=no ac_x_libraries=no
  4.3632 @@ -3504,7 +3376,7 @@
  4.3633  	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  4.3634      esac
  4.3635      case $ac_im_usrlibdir in
  4.3636 -	/usr/lib | /lib) ;;
  4.3637 +	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
  4.3638  	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  4.3639      esac
  4.3640    fi
  4.3641 @@ -3516,21 +3388,25 @@
  4.3642  # Check X11 before X11Rn because it is often a symlink to the current release.
  4.3643  ac_x_header_dirs='
  4.3644  /usr/X11/include
  4.3645 +/usr/X11R7/include
  4.3646  /usr/X11R6/include
  4.3647  /usr/X11R5/include
  4.3648  /usr/X11R4/include
  4.3649  
  4.3650  /usr/include/X11
  4.3651 +/usr/include/X11R7
  4.3652  /usr/include/X11R6
  4.3653  /usr/include/X11R5
  4.3654  /usr/include/X11R4
  4.3655  
  4.3656  /usr/local/X11/include
  4.3657 +/usr/local/X11R7/include
  4.3658  /usr/local/X11R6/include
  4.3659  /usr/local/X11R5/include
  4.3660  /usr/local/X11R4/include
  4.3661  
  4.3662  /usr/local/include/X11
  4.3663 +/usr/local/include/X11R7
  4.3664  /usr/local/include/X11R6
  4.3665  /usr/local/include/X11R5
  4.3666  /usr/local/include/X11R4
  4.3667 @@ -3552,36 +3428,14 @@
  4.3668  if test "$ac_x_includes" = no; then
  4.3669    # Guess where to find include files, by looking for Xlib.h.
  4.3670    # First, try using that file with no special directory specified.
  4.3671 -  cat >conftest.$ac_ext <<_ACEOF
  4.3672 -/* confdefs.h.  */
  4.3673 -_ACEOF
  4.3674 -cat confdefs.h >>conftest.$ac_ext
  4.3675 -cat >>conftest.$ac_ext <<_ACEOF
  4.3676 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3677  /* end confdefs.h.  */
  4.3678  #include <X11/Xlib.h>
  4.3679  _ACEOF
  4.3680 -if { (ac_try="$ac_cpp conftest.$ac_ext"
  4.3681 -case "(($ac_try" in
  4.3682 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3683 -  *) ac_try_echo=$ac_try;;
  4.3684 -esac
  4.3685 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3686 -  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4.3687 -  ac_status=$?
  4.3688 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3689 -  rm -f conftest.er1
  4.3690 -  cat conftest.err >&5
  4.3691 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3692 -  (exit $ac_status); } >/dev/null && {
  4.3693 -	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4.3694 -	 test ! -s conftest.err
  4.3695 -       }; then
  4.3696 +if ac_fn_c_try_cpp "$LINENO"; then :
  4.3697    # We can compile using X headers with no special include directory.
  4.3698  ac_x_includes=
  4.3699  else
  4.3700 -  echo "$as_me: failed program was:" >&5
  4.3701 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3702 -
  4.3703    for ac_dir in $ac_x_header_dirs; do
  4.3704    if test -r "$ac_dir/X11/Xlib.h"; then
  4.3705      ac_x_includes=$ac_dir
  4.3706 @@ -3589,7 +3443,6 @@
  4.3707    fi
  4.3708  done
  4.3709  fi
  4.3710 -
  4.3711  rm -f conftest.err conftest.$ac_ext
  4.3712  fi # $ac_x_includes = no
  4.3713  
  4.3714 @@ -3599,11 +3452,7 @@
  4.3715    # Don't add to $LIBS permanently.
  4.3716    ac_save_LIBS=$LIBS
  4.3717    LIBS="-lX11 $LIBS"
  4.3718 -  cat >conftest.$ac_ext <<_ACEOF
  4.3719 -/* confdefs.h.  */
  4.3720 -_ACEOF
  4.3721 -cat confdefs.h >>conftest.$ac_ext
  4.3722 -cat >>conftest.$ac_ext <<_ACEOF
  4.3723 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3724  /* end confdefs.h.  */
  4.3725  #include <X11/Xlib.h>
  4.3726  int
  4.3727 @@ -3614,33 +3463,13 @@
  4.3728    return 0;
  4.3729  }
  4.3730  _ACEOF
  4.3731 -rm -f conftest.$ac_objext conftest$ac_exeext
  4.3732 -if { (ac_try="$ac_link"
  4.3733 -case "(($ac_try" in
  4.3734 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3735 -  *) ac_try_echo=$ac_try;;
  4.3736 -esac
  4.3737 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3738 -  (eval "$ac_link") 2>conftest.er1
  4.3739 -  ac_status=$?
  4.3740 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3741 -  rm -f conftest.er1
  4.3742 -  cat conftest.err >&5
  4.3743 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3744 -  (exit $ac_status); } && {
  4.3745 -	 test -z "$ac_c_werror_flag" ||
  4.3746 -	 test ! -s conftest.err
  4.3747 -       } && test -s conftest$ac_exeext &&
  4.3748 -       $as_test_x conftest$ac_exeext; then
  4.3749 +if ac_fn_c_try_link "$LINENO"; then :
  4.3750    LIBS=$ac_save_LIBS
  4.3751  # We can link X programs with no special library path.
  4.3752  ac_x_libraries=
  4.3753  else
  4.3754 -  echo "$as_me: failed program was:" >&5
  4.3755 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3756 -
  4.3757 -	LIBS=$ac_save_LIBS
  4.3758 -for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  4.3759 +  LIBS=$ac_save_LIBS
  4.3760 +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  4.3761  do
  4.3762    # Don't even attempt the hair of trying to link an X program!
  4.3763    for ac_extension in a so sl dylib la dll; do
  4.3764 @@ -3651,9 +3480,8 @@
  4.3765    done
  4.3766  done
  4.3767  fi
  4.3768 -
  4.3769 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4.3770 -      conftest$ac_exeext conftest.$ac_ext
  4.3771 +rm -f core conftest.err conftest.$ac_objext \
  4.3772 +    conftest$ac_exeext conftest.$ac_ext
  4.3773  fi # $ac_x_libraries = no
  4.3774  
  4.3775  case $ac_x_includes,$ac_x_libraries in #(
  4.3776 @@ -3674,8 +3502,8 @@
  4.3777  fi # $with_x != no
  4.3778  
  4.3779  if test "$have_x" != yes; then
  4.3780 -  { echo "$as_me:$LINENO: result: $have_x" >&5
  4.3781 -echo "${ECHO_T}$have_x" >&6; }
  4.3782 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  4.3783 +$as_echo "$have_x" >&6; }
  4.3784    no_x=yes
  4.3785  else
  4.3786    # If each of the values was on the command line, it overrides each guess.
  4.3787 @@ -3685,8 +3513,8 @@
  4.3788    ac_cv_have_x="have_x=yes\
  4.3789  	ac_x_includes='$x_includes'\
  4.3790  	ac_x_libraries='$x_libraries'"
  4.3791 -  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  4.3792 -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  4.3793 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  4.3794 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  4.3795  fi
  4.3796  
  4.3797  if test x$have_x = xyes; then
  4.3798 @@ -3702,14 +3530,10 @@
  4.3799      fi
  4.3800  fi
  4.3801  
  4.3802 -{ echo "$as_me:$LINENO: checking for OpenGL support" >&5
  4.3803 -echo $ECHO_N "checking for OpenGL support... $ECHO_C" >&6; }
  4.3804 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL support" >&5
  4.3805 +$as_echo_n "checking for OpenGL support... " >&6; }
  4.3806  have_opengl=no
  4.3807 -cat >conftest.$ac_ext <<_ACEOF
  4.3808 -/* confdefs.h.  */
  4.3809 -_ACEOF
  4.3810 -cat confdefs.h >>conftest.$ac_ext
  4.3811 -cat >>conftest.$ac_ext <<_ACEOF
  4.3812 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3813  /* end confdefs.h.  */
  4.3814  
  4.3815   #include "SDL_opengl.h"
  4.3816 @@ -3723,45 +3547,19 @@
  4.3817    return 0;
  4.3818  }
  4.3819  _ACEOF
  4.3820 -rm -f conftest.$ac_objext
  4.3821 -if { (ac_try="$ac_compile"
  4.3822 -case "(($ac_try" in
  4.3823 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3824 -  *) ac_try_echo=$ac_try;;
  4.3825 -esac
  4.3826 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3827 -  (eval "$ac_compile") 2>conftest.er1
  4.3828 -  ac_status=$?
  4.3829 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3830 -  rm -f conftest.er1
  4.3831 -  cat conftest.err >&5
  4.3832 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3833 -  (exit $ac_status); } && {
  4.3834 -	 test -z "$ac_c_werror_flag" ||
  4.3835 -	 test ! -s conftest.err
  4.3836 -       } && test -s conftest.$ac_objext; then
  4.3837 +if ac_fn_c_try_compile "$LINENO"; then :
  4.3838  
  4.3839  have_opengl=yes
  4.3840  
  4.3841 -else
  4.3842 -  echo "$as_me: failed program was:" >&5
  4.3843 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3844 -
  4.3845 -
  4.3846  fi
  4.3847 -
  4.3848  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.3849 -{ echo "$as_me:$LINENO: result: $have_opengl" >&5
  4.3850 -echo "${ECHO_T}$have_opengl" >&6; }
  4.3851 -
  4.3852 -{ echo "$as_me:$LINENO: checking for OpenGL ES support" >&5
  4.3853 -echo $ECHO_N "checking for OpenGL ES support... $ECHO_C" >&6; }
  4.3854 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengl" >&5
  4.3855 +$as_echo "$have_opengl" >&6; }
  4.3856 +
  4.3857 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL ES support" >&5
  4.3858 +$as_echo_n "checking for OpenGL ES support... " >&6; }
  4.3859  have_opengles=no
  4.3860 -cat >conftest.$ac_ext <<_ACEOF
  4.3861 -/* confdefs.h.  */
  4.3862 -_ACEOF
  4.3863 -cat confdefs.h >>conftest.$ac_ext
  4.3864 -cat >>conftest.$ac_ext <<_ACEOF
  4.3865 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3866  /* end confdefs.h.  */
  4.3867  
  4.3868   #if defined (__QNXNTO__)
  4.3869 @@ -3781,36 +3579,14 @@
  4.3870    return 0;
  4.3871  }
  4.3872  _ACEOF
  4.3873 -rm -f conftest.$ac_objext
  4.3874 -if { (ac_try="$ac_compile"
  4.3875 -case "(($ac_try" in
  4.3876 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3877 -  *) ac_try_echo=$ac_try;;
  4.3878 -esac
  4.3879 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3880 -  (eval "$ac_compile") 2>conftest.er1
  4.3881 -  ac_status=$?
  4.3882 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3883 -  rm -f conftest.er1
  4.3884 -  cat conftest.err >&5
  4.3885 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3886 -  (exit $ac_status); } && {
  4.3887 -	 test -z "$ac_c_werror_flag" ||
  4.3888 -	 test ! -s conftest.err
  4.3889 -       } && test -s conftest.$ac_objext; then
  4.3890 +if ac_fn_c_try_compile "$LINENO"; then :
  4.3891  
  4.3892  have_opengles=yes
  4.3893  
  4.3894 -else
  4.3895 -  echo "$as_me: failed program was:" >&5
  4.3896 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3897 -
  4.3898 -
  4.3899  fi
  4.3900 -
  4.3901  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.3902 -{ echo "$as_me:$LINENO: result: $have_opengles" >&5
  4.3903 -echo "${ECHO_T}$have_opengles" >&6; }
  4.3904 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_opengles" >&5
  4.3905 +$as_echo "$have_opengles" >&6; }
  4.3906  
  4.3907  if test x$have_opengl = xyes; then
  4.3908      CFLAGS="$CFLAGS -DHAVE_OPENGL"
  4.3909 @@ -3824,14 +3600,10 @@
  4.3910  
  4.3911  
  4.3912  
  4.3913 -{ echo "$as_me:$LINENO: checking for SDL_ttf" >&5
  4.3914 -echo $ECHO_N "checking for SDL_ttf... $ECHO_C" >&6; }
  4.3915 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL_ttf" >&5
  4.3916 +$as_echo_n "checking for SDL_ttf... " >&6; }
  4.3917  have_SDL_ttf=no
  4.3918 -cat >conftest.$ac_ext <<_ACEOF
  4.3919 -/* confdefs.h.  */
  4.3920 -_ACEOF
  4.3921 -cat confdefs.h >>conftest.$ac_ext
  4.3922 -cat >>conftest.$ac_ext <<_ACEOF
  4.3923 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4.3924  /* end confdefs.h.  */
  4.3925  
  4.3926   #include "SDL_ttf.h"
  4.3927 @@ -3845,36 +3617,14 @@
  4.3928    return 0;
  4.3929  }
  4.3930  _ACEOF
  4.3931 -rm -f conftest.$ac_objext
  4.3932 -if { (ac_try="$ac_compile"
  4.3933 -case "(($ac_try" in
  4.3934 -  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4.3935 -  *) ac_try_echo=$ac_try;;
  4.3936 -esac
  4.3937 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4.3938 -  (eval "$ac_compile") 2>conftest.er1
  4.3939 -  ac_status=$?
  4.3940 -  grep -v '^ *+' conftest.er1 >conftest.err
  4.3941 -  rm -f conftest.er1
  4.3942 -  cat conftest.err >&5
  4.3943 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4.3944 -  (exit $ac_status); } && {
  4.3945 -	 test -z "$ac_c_werror_flag" ||
  4.3946 -	 test ! -s conftest.err
  4.3947 -       } && test -s conftest.$ac_objext; then
  4.3948 +if ac_fn_c_try_compile "$LINENO"; then :
  4.3949  
  4.3950  have_SDL_ttf=yes
  4.3951  
  4.3952 -else
  4.3953 -  echo "$as_me: failed program was:" >&5
  4.3954 -sed 's/^/| /' conftest.$ac_ext >&5
  4.3955 -
  4.3956 -
  4.3957  fi
  4.3958 -
  4.3959  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4.3960 -{ echo "$as_me:$LINENO: result: $have_SDL_ttf" >&5
  4.3961 -echo "${ECHO_T}$have_SDL_ttf" >&6; }
  4.3962 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_SDL_ttf" >&5
  4.3963 +$as_echo "$have_SDL_ttf" >&6; }
  4.3964  
  4.3965  if test x$have_SDL_ttf = xyes; then
  4.3966      CFLAGS="$CFLAGS -DHAVE_SDL_TTF"
  4.3967 @@ -3912,12 +3662,13 @@
  4.3968      case $ac_val in #(
  4.3969      *${as_nl}*)
  4.3970        case $ac_var in #(
  4.3971 -      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  4.3972 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  4.3973 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4.3974 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4.3975        esac
  4.3976        case $ac_var in #(
  4.3977        _ | IFS | as_nl) ;; #(
  4.3978 -      *) $as_unset $ac_var ;;
  4.3979 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4.3980 +      *) { eval $ac_var=; unset $ac_var;} ;;
  4.3981        esac ;;
  4.3982      esac
  4.3983    done
  4.3984 @@ -3925,8 +3676,8 @@
  4.3985    (set) 2>&1 |
  4.3986      case $as_nl`(ac_space=' '; set) 2>&1` in #(
  4.3987      *${as_nl}ac_space=\ *)
  4.3988 -      # `set' does not quote correctly, so add quotes (double-quote
  4.3989 -      # substitution turns \\\\ into \\, and sed turns \\ into \).
  4.3990 +      # `set' does not quote correctly, so add quotes: double-quote
  4.3991 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
  4.3992        sed -n \
  4.3993  	"s/'/'\\\\''/g;
  4.3994  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4.3995 @@ -3949,12 +3700,12 @@
  4.3996  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  4.3997    if test -w "$cache_file"; then
  4.3998      test "x$cache_file" != "x/dev/null" &&
  4.3999 -      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  4.4000 -echo "$as_me: updating cache $cache_file" >&6;}
  4.4001 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  4.4002 +$as_echo "$as_me: updating cache $cache_file" >&6;}
  4.4003      cat confcache >$cache_file
  4.4004    else
  4.4005 -    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  4.4006 -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4.4007 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  4.4008 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4.4009    fi
  4.4010  fi
  4.4011  rm -f confcache
  4.4012 @@ -3971,6 +3722,12 @@
  4.4013  # take arguments), then branch to the quote section.  Otherwise,
  4.4014  # look for a macro that doesn't take arguments.
  4.4015  ac_script='
  4.4016 +:mline
  4.4017 +/\\$/{
  4.4018 + N
  4.4019 + s,\\\n,,
  4.4020 + b mline
  4.4021 +}
  4.4022  t clear
  4.4023  :clear
  4.4024  s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  4.4025 @@ -4000,11 +3757,11 @@
  4.4026  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4.4027    # 1. Remove the extension, and $U if already installed.
  4.4028    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4.4029 -  ac_i=`echo "$ac_i" | sed "$ac_script"`
  4.4030 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4.4031    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  4.4032    #    will be set to the directory where LIBOBJS objects are built.
  4.4033 -  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4.4034 -  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  4.4035 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4.4036 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4.4037  done
  4.4038  LIBOBJS=$ac_libobjs
  4.4039  
  4.4040 @@ -4013,11 +3770,13 @@
  4.4041  
  4.4042  
  4.4043  : ${CONFIG_STATUS=./config.status}
  4.4044 +ac_write_fail=0
  4.4045  ac_clean_files_save=$ac_clean_files
  4.4046  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4.4047 -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  4.4048 -echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4.4049 -cat >$CONFIG_STATUS <<_ACEOF
  4.4050 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4.4051 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4.4052 +as_write_fail=0
  4.4053 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4.4054  #! $SHELL
  4.4055  # Generated by $as_me.
  4.4056  # Run this file to recreate the current configuration.
  4.4057 @@ -4027,59 +3786,79 @@
  4.4058  debug=false
  4.4059  ac_cs_recheck=false
  4.4060  ac_cs_silent=false
  4.4061 +
  4.4062  SHELL=\${CONFIG_SHELL-$SHELL}
  4.4063 -_ACEOF
  4.4064 -
  4.4065 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4066 -## --------------------- ##
  4.4067 -## M4sh Initialization.  ##
  4.4068 -## --------------------- ##
  4.4069 +export SHELL
  4.4070 +_ASEOF
  4.4071 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4.4072 +## -------------------- ##
  4.4073 +## M4sh Initialization. ##
  4.4074 +## -------------------- ##
  4.4075  
  4.4076  # Be more Bourne compatible
  4.4077  DUALCASE=1; export DUALCASE # for MKS sh
  4.4078 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  4.4079 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4.4080    emulate sh
  4.4081    NULLCMD=:
  4.4082 -  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  4.4083 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4.4084    # is contrary to our usage.  Disable this feature.
  4.4085    alias -g '${1+"$@"}'='"$@"'
  4.4086    setopt NO_GLOB_SUBST
  4.4087  else
  4.4088 -  case `(set -o) 2>/dev/null` in
  4.4089 -  *posix*) set -o posix ;;
  4.4090 +  case `(set -o) 2>/dev/null` in #(
  4.4091 +  *posix*) :
  4.4092 +    set -o posix ;; #(
  4.4093 +  *) :
  4.4094 +     ;;
  4.4095  esac
  4.4096 -
  4.4097  fi
  4.4098  
  4.4099  
  4.4100 -
  4.4101 -
  4.4102 -# PATH needs CR
  4.4103 -# Avoid depending upon Character Ranges.
  4.4104 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4.4105 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4.4106 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4.4107 -as_cr_digits='0123456789'
  4.4108 -as_cr_alnum=$as_cr_Letters$as_cr_digits
  4.4109 +as_nl='
  4.4110 +'
  4.4111 +export as_nl
  4.4112 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  4.4113 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4.4114 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4.4115 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4.4116 +# Prefer a ksh shell builtin over an external printf program on Solaris,
  4.4117 +# but without wasting forks for bash or zsh.
  4.4118 +if test -z "$BASH_VERSION$ZSH_VERSION" \
  4.4119 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4.4120 +  as_echo='print -r --'
  4.4121 +  as_echo_n='print -rn --'
  4.4122 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4.4123 +  as_echo='printf %s\n'
  4.4124 +  as_echo_n='printf %s'
  4.4125 +else
  4.4126 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4.4127 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4.4128 +    as_echo_n='/usr/ucb/echo -n'
  4.4129 +  else
  4.4130 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4.4131 +    as_echo_n_body='eval
  4.4132 +      arg=$1;
  4.4133 +      case $arg in #(
  4.4134 +      *"$as_nl"*)
  4.4135 +	expr "X$arg" : "X\\(.*\\)$as_nl";
  4.4136 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4.4137 +      esac;
  4.4138 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4.4139 +    '
  4.4140 +    export as_echo_n_body
  4.4141 +    as_echo_n='sh -c $as_echo_n_body as_echo'
  4.4142 +  fi
  4.4143 +  export as_echo_body
  4.4144 +  as_echo='sh -c $as_echo_body as_echo'
  4.4145 +fi
  4.4146  
  4.4147  # The user is always right.
  4.4148  if test "${PATH_SEPARATOR+set}" != set; then
  4.4149 -  echo "#! /bin/sh" >conf$$.sh
  4.4150 -  echo  "exit 0"   >>conf$$.sh
  4.4151 -  chmod +x conf$$.sh
  4.4152 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  4.4153 -    PATH_SEPARATOR=';'
  4.4154 -  else
  4.4155 -    PATH_SEPARATOR=:
  4.4156 -  fi
  4.4157 -  rm -f conf$$.sh
  4.4158 -fi
  4.4159 -
  4.4160 -# Support unset when possible.
  4.4161 -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  4.4162 -  as_unset=unset
  4.4163 -else
  4.4164 -  as_unset=false
  4.4165 +  PATH_SEPARATOR=:
  4.4166 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4.4167 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4.4168 +      PATH_SEPARATOR=';'
  4.4169 +  }
  4.4170  fi
  4.4171  
  4.4172  
  4.4173 @@ -4088,20 +3867,18 @@
  4.4174  # there to prevent editors from complaining about space-tab.
  4.4175  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4.4176  # splitting by setting IFS to empty value.)
  4.4177 -as_nl='
  4.4178 -'
  4.4179  IFS=" ""	$as_nl"
  4.4180  
  4.4181  # Find who we are.  Look in the path if we contain no directory separator.
  4.4182 -case $0 in
  4.4183 +case $0 in #((
  4.4184    *[\\/]* ) as_myself=$0 ;;
  4.4185    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4.4186  for as_dir in $PATH
  4.4187  do
  4.4188    IFS=$as_save_IFS
  4.4189    test -z "$as_dir" && as_dir=.
  4.4190 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4.4191 -done
  4.4192 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4.4193 +  done
  4.4194  IFS=$as_save_IFS
  4.4195  
  4.4196       ;;
  4.4197 @@ -4112,32 +3889,111 @@
  4.4198    as_myself=$0
  4.4199  fi
  4.4200  if test ! -f "$as_myself"; then
  4.4201 -  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4.4202 -  { (exit 1); exit 1; }
  4.4203 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4.4204 +  exit 1
  4.4205  fi
  4.4206  
  4.4207 -# Work around bugs in pre-3.0 UWIN ksh.
  4.4208 -for as_var in ENV MAIL MAILPATH
  4.4209 -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  4.4210 +# Unset variables that we do not need and which cause bugs (e.g. in
  4.4211 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  4.4212 +# suppresses any "Segmentation fault" message there.  '((' could
  4.4213 +# trigger a bug in pdksh 5.2.14.
  4.4214 +for as_var in BASH_ENV ENV MAIL MAILPATH
  4.4215 +do eval test x\${$as_var+set} = xset \
  4.4216 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4.4217  done
  4.4218  PS1='$ '
  4.4219  PS2='> '
  4.4220  PS4='+ '
  4.4221  
  4.4222  # NLS nuisances.
  4.4223 -for as_var in \
  4.4224 -  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  4.4225 -  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  4.4226 -  LC_TELEPHONE LC_TIME
  4.4227 -do
  4.4228 -  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  4.4229 -    eval $as_var=C; export $as_var
  4.4230 -  else
  4.4231 -    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  4.4232 +LC_ALL=C
  4.4233 +export LC_ALL
  4.4234 +LANGUAGE=C
  4.4235 +export LANGUAGE
  4.4236 +
  4.4237 +# CDPATH.
  4.4238 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4.4239 +
  4.4240 +
  4.4241 +# as_fn_error ERROR [LINENO LOG_FD]
  4.4242 +# ---------------------------------
  4.4243 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4.4244 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4.4245 +# script with status $?, using 1 if that was 0.
  4.4246 +as_fn_error ()
  4.4247 +{
  4.4248 +  as_status=$?; test $as_status -eq 0 && as_status=1
  4.4249 +  if test "$3"; then
  4.4250 +    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4.4251 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  4.4252    fi
  4.4253 -done
  4.4254 -
  4.4255 -# Required to use basename.
  4.4256 +  $as_echo "$as_me: error: $1" >&2
  4.4257 +  as_fn_exit $as_status
  4.4258 +} # as_fn_error
  4.4259 +
  4.4260 +
  4.4261 +# as_fn_set_status STATUS
  4.4262 +# -----------------------
  4.4263 +# Set $? to STATUS, without forking.
  4.4264 +as_fn_set_status ()
  4.4265 +{
  4.4266 +  return $1
  4.4267 +} # as_fn_set_status
  4.4268 +
  4.4269 +# as_fn_exit STATUS
  4.4270 +# -----------------
  4.4271 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4.4272 +as_fn_exit ()
  4.4273 +{
  4.4274 +  set +e
  4.4275 +  as_fn_set_status $1
  4.4276 +  exit $1
  4.4277 +} # as_fn_exit
  4.4278 +
  4.4279 +# as_fn_unset VAR
  4.4280 +# ---------------
  4.4281 +# Portably unset VAR.
  4.4282 +as_fn_unset ()
  4.4283 +{
  4.4284 +  { eval $1=; unset $1;}
  4.4285 +}
  4.4286 +as_unset=as_fn_unset
  4.4287 +# as_fn_append VAR VALUE
  4.4288 +# ----------------------
  4.4289 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  4.4290 +# advantage of any shell optimizations that allow amortized linear growth over
  4.4291 +# repeated appends, instead of the typical quadratic growth present in naive
  4.4292 +# implementations.
  4.4293 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4.4294 +  eval 'as_fn_append ()
  4.4295 +  {
  4.4296 +    eval $1+=\$2
  4.4297 +  }'
  4.4298 +else
  4.4299 +  as_fn_append ()
  4.4300 +  {
  4.4301 +    eval $1=\$$1\$2
  4.4302 +  }
  4.4303 +fi # as_fn_append
  4.4304 +
  4.4305 +# as_fn_arith ARG...
  4.4306 +# ------------------
  4.4307 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  4.4308 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  4.4309 +# must be portable across $(()) and expr.
  4.4310 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4.4311 +  eval 'as_fn_arith ()
  4.4312 +  {
  4.4313 +    as_val=$(( $* ))
  4.4314 +  }'
  4.4315 +else
  4.4316 +  as_fn_arith ()
  4.4317 +  {
  4.4318 +    as_val=`expr "$@" || test $? -eq 1`
  4.4319 +  }
  4.4320 +fi # as_fn_arith
  4.4321 +
  4.4322 +
  4.4323  if expr a : '\(a\)' >/dev/null 2>&1 &&
  4.4324     test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4.4325    as_expr=expr
  4.4326 @@ -4151,13 +4007,17 @@
  4.4327    as_basename=false
  4.4328  fi
  4.4329  
  4.4330 -
  4.4331 -# Name of the executable.
  4.4332 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4.4333 +  as_dirname=dirname
  4.4334 +else
  4.4335 +  as_dirname=false
  4.4336 +fi
  4.4337 +
  4.4338  as_me=`$as_basename -- "$0" ||
  4.4339  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4.4340  	 X"$0" : 'X\(//\)$' \| \
  4.4341  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4.4342 -echo X/"$0" |
  4.4343 +$as_echo X/"$0" |
  4.4344      sed '/^.*\/\([^/][^/]*\)\/*$/{
  4.4345  	    s//\1/
  4.4346  	    q
  4.4347 @@ -4172,563 +4032,68 @@
  4.4348  	  }
  4.4349  	  s/.*/./; q'`
  4.4350  
  4.4351 -# CDPATH.
  4.4352 -$as_unset CDPATH
  4.4353 -
  4.4354 -
  4.4355 -
  4.4356 -  as_lineno_1=$LINENO
  4.4357 -  as_lineno_2=$LINENO
  4.4358 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
  4.4359 -  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  4.4360 -
  4.4361 -  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  4.4362 -  # uniformly replaced by the line number.  The first 'sed' inserts a
  4.4363 -  # line-number line after each line using $LINENO; the second 'sed'
  4.4364 -  # does the real work.  The second script uses 'N' to pair each
  4.4365 -  # line-number line with the line containing $LINENO, and appends
  4.4366 -  # trailing '-' during substitution so that $LINENO is not a special
  4.4367 -  # case at line end.
  4.4368 -  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  4.4369 -  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  4.4370 -  # E. McMahon (1931-1989) for sed's syntax.  :-)
  4.4371 -  sed -n '
  4.4372 -    p
  4.4373 -    /[$]LINENO/=
  4.4374 -  ' <$as_myself |
  4.4375 -    sed '
  4.4376 -      s/[$]LINENO.*/&-/
  4.4377 -      t lineno
  4.4378 -      b
  4.4379 -      :lineno
  4.4380 -      N
  4.4381 -      :loop
  4.4382 -      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  4.4383 -      t loop
  4.4384 -      s/-\n.*//
  4.4385 -    ' >$as_me.lineno &&
  4.4386 -  chmod +x "$as_me.lineno" ||
  4.4387 -    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  4.4388 -   { (exit 1); exit 1; }; }
  4.4389 -
  4.4390 -  # Don't try to exec as it changes $[0], causing all sort of problems
  4.4391 -  # (the dirname of $[0] is not the place where we might find the
  4.4392 -  # original and so on.  Autoconf is especially sensitive to this).
  4.4393 -  . "./$as_me.lineno"
  4.4394 -  # Exit status is that of the last command.
  4.4395 -  exit
  4.4396 -}
  4.4397 -
  4.4398 -
  4.4399 -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4.4400 -  as_dirname=dirname
  4.4401 -else
  4.4402 -  as_dirname=false
  4.4403 -fi
  4.4404 +# Avoid depending upon Character Ranges.
  4.4405 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4.4406 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4.4407 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4.4408 +as_cr_digits='0123456789'
  4.4409 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  4.4410  
  4.4411  ECHO_C= ECHO_N= ECHO_T=
  4.4412 -case `echo -n x` in
  4.4413 +case `echo -n x` in #(((((
  4.4414  -n*)
  4.4415 -  case `echo 'x\c'` in
  4.4416 +  case `echo 'xy\c'` in
  4.4417    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  4.4418 -  *)   ECHO_C='\c';;
  4.4419 +  xy)  ECHO_C='\c';;
  4.4420 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4.4421 +       ECHO_T='	';;
  4.4422    esac;;
  4.4423  *)
  4.4424    ECHO_N='-n';;
  4.4425  esac
  4.4426  
  4.4427 -if expr a : '\(a\)' >/dev/null 2>&1 &&
  4.4428 -   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4.4429 -  as_expr=expr
  4.4430 -else
  4.4431 -  as_expr=false
  4.4432 -fi
  4.4433 -
  4.4434  rm -f conf$$ conf$$.exe conf$$.file
  4.4435  if test -d conf$$.dir; then
  4.4436    rm -f conf$$.dir/conf$$.file
  4.4437  else
  4.4438    rm -f conf$$.dir
  4.4439 -  mkdir conf$$.dir
  4.4440 +  mkdir conf$$.dir 2>/dev/null
  4.4441  fi
  4.4442 -echo >conf$$.file
  4.4443 -if ln -s conf$$.file conf$$ 2>/dev/null; then
  4.4444 -  as_ln_s='ln -s'
  4.4445 -  # ... but there are two gotchas:
  4.4446 -  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4.4447 -  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4.4448 -  # In both cases, we have to default to `cp -p'.
  4.4449 -  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4.4450 +if (echo >conf$$.file) 2>/dev/null; then
  4.4451 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
  4.4452 +    as_ln_s='ln -s'
  4.4453 +    # ... but there are two gotchas:
  4.4454 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4.4455 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4.4456 +    # In both cases, we have to default to `cp -p'.
  4.4457 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4.4458 +      as_ln_s='cp -p'
  4.4459 +  elif ln conf$$.file conf$$ 2>/dev/null; then
  4.4460 +    as_ln_s=ln
  4.4461 +  else
  4.4462      as_ln_s='cp -p'
  4.4463 -elif ln conf$$.file conf$$ 2>/dev/null; then
  4.4464 -  as_ln_s=ln
  4.4465 +  fi
  4.4466  else
  4.4467    as_ln_s='cp -p'
  4.4468  fi
  4.4469  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4.4470  rmdir conf$$.dir 2>/dev/null
  4.4471  
  4.4472 -if mkdir -p . 2>/dev/null; then
  4.4473 -  as_mkdir_p=:
  4.4474 -else
  4.4475 -  test -d ./-p && rmdir ./-p
  4.4476 -  as_mkdir_p=false
  4.4477 -fi
  4.4478 -
  4.4479 -if test -x / >/dev/null 2>&1; then
  4.4480 -  as_test_x='test -x'
  4.4481 -else
  4.4482 -  if ls -dL / >/dev/null 2>&1; then
  4.4483 -    as_ls_L_option=L
  4.4484 -  else
  4.4485 -    as_ls_L_option=
  4.4486 -  fi
  4.4487 -  as_test_x='
  4.4488 -    eval sh -c '\''
  4.4489 -      if test -d "$1"; then
  4.4490 -        test -d "$1/.";
  4.4491 -      else
  4.4492 -	case $1 in
  4.4493 -        -*)set "./$1";;
  4.4494 -	esac;
  4.4495 -	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  4.4496 -	???[sx]*):;;*)false;;esac;fi
  4.4497 -    '\'' sh
  4.4498 -  '
  4.4499 -fi
  4.4500 -as_executable_p=$as_test_x
  4.4501 -
  4.4502 -# Sed expression to map a string onto a valid CPP name.
  4.4503 -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4.4504 -
  4.4505 -# Sed expression to map a string onto a valid variable name.
  4.4506 -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4.4507 -
  4.4508 -
  4.4509 -exec 6>&1
  4.4510 -
  4.4511 -# Save the log message, to keep $[0] and so on meaningful, and to
  4.4512 -# report actual input values of CONFIG_FILES etc. instead of their
  4.4513 -# values after options handling.
  4.4514 -ac_log="
  4.4515 -This file was extended by $as_me, which was
  4.4516 -generated by GNU Autoconf 2.61.  Invocation command line was
  4.4517 -
  4.4518 -  CONFIG_FILES    = $CONFIG_FILES
  4.4519 -  CONFIG_HEADERS  = $CONFIG_HEADERS
  4.4520 -  CONFIG_LINKS    = $CONFIG_LINKS
  4.4521 -  CONFIG_COMMANDS = $CONFIG_COMMANDS
  4.4522 -  $ $0 $@
  4.4523 -
  4.4524 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4.4525 -"
  4.4526 -
  4.4527 -_ACEOF
  4.4528 -
  4.4529 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4530 -# Files that config.status was made for.
  4.4531 -config_files="$ac_config_files"
  4.4532 -
  4.4533 -_ACEOF
  4.4534 -
  4.4535 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4536 -ac_cs_usage="\
  4.4537 -\`$as_me' instantiates files from templates according to the
  4.4538 -current configuration.
  4.4539 -
  4.4540 -Usage: $0 [OPTIONS] [FILE]...
  4.4541 -
  4.4542 -  -h, --help       print this help, then exit
  4.4543 -  -V, --version    print version number and configuration settings, then exit
  4.4544 -  -q, --quiet      do not print progress messages
  4.4545 -  -d, --debug      don't remove temporary files
  4.4546 -      --recheck    update $as_me by reconfiguring in the same conditions
  4.4547 -  --file=FILE[:TEMPLATE]
  4.4548 -		   instantiate the configuration file FILE
  4.4549 -
  4.4550 -Configuration files:
  4.4551 -$config_files
  4.4552 -
  4.4553 -Report bugs to <bug-autoconf@gnu.org>."
  4.4554 -
  4.4555 -_ACEOF
  4.4556 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4557 -ac_cs_version="\\
  4.4558 -config.status
  4.4559 -configured by $0, generated by GNU Autoconf 2.61,
  4.4560 -  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  4.4561 -
  4.4562 -Copyright (C) 2006 Free Software Foundation, Inc.
  4.4563 -This config.status script is free software; the Free Software Foundation
  4.4564 -gives unlimited permission to copy, distribute and modify it."
  4.4565 -
  4.4566 -ac_pwd='$ac_pwd'
  4.4567 -srcdir='$srcdir'
  4.4568 -_ACEOF
  4.4569 -
  4.4570 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4571 -# If no file are specified by the user, then we need to provide default
  4.4572 -# value.  By we need to know if files were specified by the user.
  4.4573 -ac_need_defaults=:
  4.4574 -while test $# != 0
  4.4575 -do
  4.4576 -  case $1 in
  4.4577 -  --*=*)
  4.4578 -    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4.4579 -    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4.4580 -    ac_shift=:
  4.4581 -    ;;
  4.4582 -  *)
  4.4583 -    ac_option=$1
  4.4584 -    ac_optarg=$2
  4.4585 -    ac_shift=shift
  4.4586 -    ;;
  4.4587 -  esac
  4.4588 -
  4.4589 -  case $ac_option in
  4.4590 -  # Handling of the options.
  4.4591 -  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4.4592 -    ac_cs_recheck=: ;;
  4.4593 -  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4.4594 -    echo "$ac_cs_version"; exit ;;
  4.4595 -  --debug | --debu | --deb | --de | --d | -d )
  4.4596 -    debug=: ;;
  4.4597 -  --file | --fil | --fi | --f )
  4.4598 -    $ac_shift
  4.4599 -    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  4.4600 -    ac_need_defaults=false;;
  4.4601 -  --he | --h |  --help | --hel | -h )
  4.4602 -    echo "$ac_cs_usage"; exit ;;
  4.4603 -  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4.4604 -  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4.4605 -    ac_cs_silent=: ;;
  4.4606 -
  4.4607 -  # This is an error.
  4.4608 -  -*) { echo "$as_me: error: unrecognized option: $1
  4.4609 -Try \`$0 --help' for more information." >&2
  4.4610 -   { (exit 1); exit 1; }; } ;;
  4.4611 -
  4.4612 -  *) ac_config_targets="$ac_config_targets $1"
  4.4613 -     ac_need_defaults=false ;;
  4.4614 -
  4.4615 -  esac
  4.4616 -  shift
  4.4617 -done
  4.4618 -
  4.4619 -ac_configure_extra_args=
  4.4620 -
  4.4621 -if $ac_cs_silent; then
  4.4622 -  exec 6>/dev/null
  4.4623 -  ac_configure_extra_args="$ac_configure_extra_args --silent"
  4.4624 -fi
  4.4625 -
  4.4626 -_ACEOF
  4.4627 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4628 -if \$ac_cs_recheck; then
  4.4629 -  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  4.4630 -  CONFIG_SHELL=$SHELL
  4.4631 -  export CONFIG_SHELL
  4.4632 -  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4.4633 -fi
  4.4634 -
  4.4635 -_ACEOF
  4.4636 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4637 -exec 5>>config.log
  4.4638 +
  4.4639 +# as_fn_mkdir_p
  4.4640 +# -------------
  4.4641 +# Create "$as_dir" as a directory, including parents if necessary.
  4.4642 +as_fn_mkdir_p ()
  4.4643  {
  4.4644 -  echo
  4.4645 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4.4646 -## Running $as_me. ##
  4.4647 -_ASBOX
  4.4648 -  echo "$ac_log"
  4.4649 -} >&5
  4.4650 -
  4.4651 -_ACEOF
  4.4652 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4653 -_ACEOF
  4.4654 -
  4.4655 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4656 -
  4.4657 -# Handling of arguments.
  4.4658 -for ac_config_target in $ac_config_targets
  4.4659 -do
  4.4660 -  case $ac_config_target in
  4.4661 -    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4.4662 -
  4.4663 -  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  4.4664 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  4.4665 -   { (exit 1); exit 1; }; };;
  4.4666 -  esac
  4.4667 -done
  4.4668 -
  4.4669 -
  4.4670 -# If the user did not use the arguments to specify the items to instantiate,
  4.4671 -# then the envvar interface is used.  Set only those that are not.
  4.4672 -# We use the long form for the default assignment because of an extremely
  4.4673 -# bizarre bug on SunOS 4.1.3.
  4.4674 -if $ac_need_defaults; then
  4.4675 -  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4.4676 -fi
  4.4677 -
  4.4678 -# Have a temporary directory for convenience.  Make it in the build tree
  4.4679 -# simply because there is no reason against having it here, and in addition,
  4.4680 -# creating and moving files from /tmp can sometimes cause problems.
  4.4681 -# Hook for its removal unless debugging.
  4.4682 -# Note that there is a small window in which the directory will not be cleaned:
  4.4683 -# after its creation but before its name has been assigned to `$tmp'.
  4.4684 -$debug ||
  4.4685 -{
  4.4686 -  tmp=
  4.4687 -  trap 'exit_status=$?
  4.4688 -  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4.4689 -' 0
  4.4690 -  trap '{ (exit 1); exit 1; }' 1 2 13 15
  4.4691 -}
  4.4692 -# Create a (secure) tmp directory for tmp files.
  4.4693 -
  4.4694 -{
  4.4695 -  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4.4696 -  test -n "$tmp" && test -d "$tmp"
  4.4697 -}  ||
  4.4698 -{
  4.4699 -  tmp=./conf$$-$RANDOM
  4.4700 -  (umask 077 && mkdir "$tmp")
  4.4701 -} ||
  4.4702 -{
  4.4703 -   echo "$me: cannot create a temporary directory in ." >&2
  4.4704 -   { (exit 1); exit 1; }
  4.4705 -}
  4.4706 -
  4.4707 -#
  4.4708 -# Set up the sed scripts for CONFIG_FILES section.
  4.4709 -#
  4.4710 -
  4.4711 -# No need to generate the scripts if there are no CONFIG_FILES.
  4.4712 -# This happens for instance when ./config.status config.h
  4.4713 -if test -n "$CONFIG_FILES"; then
  4.4714 -
  4.4715 -_ACEOF
  4.4716 -
  4.4717 -
  4.4718 -
  4.4719 -ac_delim='%!_!# '
  4.4720 -for ac_last_try in false false false false false :; do
  4.4721 -  cat >conf$$subs.sed <<_ACEOF
  4.4722 -SHELL!$SHELL$ac_delim
  4.4723 -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  4.4724 -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  4.4725 -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  4.4726 -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  4.4727 -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  4.4728 -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  4.4729 -exec_prefix!$exec_prefix$ac_delim
  4.4730 -prefix!$prefix$ac_delim
  4.4731 -program_transform_name!$program_transform_name$ac_delim
  4.4732 -bindir!$bindir$ac_delim
  4.4733 -sbindir!$sbindir$ac_delim
  4.4734 -libexecdir!$libexecdir$ac_delim
  4.4735 -datarootdir!$datarootdir$ac_delim
  4.4736 -datadir!$datadir$ac_delim
  4.4737 -sysconfdir!$sysconfdir$ac_delim
  4.4738 -sharedstatedir!$sharedstatedir$ac_delim
  4.4739 -localstatedir!$localstatedir$ac_delim
  4.4740 -includedir!$includedir$ac_delim
  4.4741 -oldincludedir!$oldincludedir$ac_delim
  4.4742 -docdir!$docdir$ac_delim
  4.4743 -infodir!$infodir$ac_delim
  4.4744 -htmldir!$htmldir$ac_delim
  4.4745 -dvidir!$dvidir$ac_delim
  4.4746 -pdfdir!$pdfdir$ac_delim
  4.4747 -psdir!$psdir$ac_delim
  4.4748 -libdir!$libdir$ac_delim
  4.4749 -localedir!$localedir$ac_delim
  4.4750 -mandir!$mandir$ac_delim
  4.4751 -DEFS!$DEFS$ac_delim
  4.4752 -ECHO_C!$ECHO_C$ac_delim
  4.4753 -ECHO_N!$ECHO_N$ac_delim
  4.4754 -ECHO_T!$ECHO_T$ac_delim
  4.4755 -LIBS!$LIBS$ac_delim
  4.4756 -build_alias!$build_alias$ac_delim
  4.4757 -host_alias!$host_alias$ac_delim
  4.4758 -target_alias!$target_alias$ac_delim
  4.4759 -build!$build$ac_delim
  4.4760 -build_cpu!$build_cpu$ac_delim
  4.4761 -build_vendor!$build_vendor$ac_delim
  4.4762 -build_os!$build_os$ac_delim
  4.4763 -host!$host$ac_delim
  4.4764 -host_cpu!$host_cpu$ac_delim
  4.4765 -host_vendor!$host_vendor$ac_delim
  4.4766 -host_os!$host_os$ac_delim
  4.4767 -CC!$CC$ac_delim
  4.4768 -CFLAGS!$CFLAGS$ac_delim
  4.4769 -LDFLAGS!$LDFLAGS$ac_delim
  4.4770 -CPPFLAGS!$CPPFLAGS$ac_delim
  4.4771 -ac_ct_CC!$ac_ct_CC$ac_delim
  4.4772 -EXEEXT!$EXEEXT$ac_delim
  4.4773 -OBJEXT!$OBJEXT$ac_delim
  4.4774 -OSMESA_CONFIG!$OSMESA_CONFIG$ac_delim
  4.4775 -EXE!$EXE$ac_delim
  4.4776 -MATHLIB!$MATHLIB$ac_delim
  4.4777 -SDL_CONFIG!$SDL_CONFIG$ac_delim
  4.4778 -SDL_CFLAGS!$SDL_CFLAGS$ac_delim
  4.4779 -SDL_LIBS!$SDL_LIBS$ac_delim
  4.4780 -XMKMF!$XMKMF$ac_delim
  4.4781 -CPP!$CPP$ac_delim
  4.4782 -GLLIB!$GLLIB$ac_delim
  4.4783 -SDL_TTF_LIB!$SDL_TTF_LIB$ac_delim
  4.4784 -LIBOBJS!$LIBOBJS$ac_delim
  4.4785 -LTLIBOBJS!$LTLIBOBJS$ac_delim
  4.4786 -_ACEOF
  4.4787 -
  4.4788 -  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
  4.4789 -    break
  4.4790 -  elif $ac_last_try; then
  4.4791 -    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  4.4792 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  4.4793 -   { (exit 1); exit 1; }; }
  4.4794 -  else
  4.4795 -    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4.4796 -  fi
  4.4797 -done
  4.4798 -
  4.4799 -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  4.4800 -if test -n "$ac_eof"; then
  4.4801 -  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  4.4802 -  ac_eof=`expr $ac_eof + 1`
  4.4803 -fi
  4.4804 -
  4.4805 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4806 -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  4.4807 -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  4.4808 -_ACEOF
  4.4809 -sed '
  4.4810 -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  4.4811 -s/^/s,@/; s/!/@,|#_!!_#|/
  4.4812 -:n
  4.4813 -t n
  4.4814 -s/'"$ac_delim"'$/,g/; t
  4.4815 -s/$/\\/; p
  4.4816 -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  4.4817 -' >>$CONFIG_STATUS <conf$$subs.sed
  4.4818 -rm -f conf$$subs.sed
  4.4819 -cat >>$CONFIG_STATUS <<_ACEOF
  4.4820 -:end
  4.4821 -s/|#_!!_#|//g
  4.4822 -CEOF$ac_eof
  4.4823 -_ACEOF
  4.4824 -
  4.4825 -
  4.4826 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  4.4827 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4.4828 -# trailing colons and then remove the whole line if VPATH becomes empty
  4.4829 -# (actually we leave an empty line to preserve line numbers).
  4.4830 -if test "x$srcdir" = x.; then
  4.4831 -  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  4.4832 -s/:*\$(srcdir):*/:/
  4.4833 -s/:*\${srcdir}:*/:/
  4.4834 -s/:*@srcdir@:*/:/
  4.4835 -s/^\([^=]*=[	 ]*\):*/\1/
  4.4836 -s/:*$//
  4.4837 -s/^[^=]*=[	 ]*$//
  4.4838 -}'
  4.4839 -fi
  4.4840 -
  4.4841 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.4842 -fi # test -n "$CONFIG_FILES"
  4.4843 -
  4.4844 -
  4.4845 -for ac_tag in  :F $CONFIG_FILES
  4.4846 -do
  4.4847 -  case $ac_tag in
  4.4848 -  :[FHLC]) ac_mode=$ac_tag; continue;;
  4.4849 -  esac
  4.4850 -  case $ac_mode$ac_tag in
  4.4851 -  :[FHL]*:*);;
  4.4852 -  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  4.4853 -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  4.4854 -   { (exit 1); exit 1; }; };;
  4.4855 -  :[FH]-) ac_tag=-:-;;
  4.4856 -  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4.4857 -  esac
  4.4858 -  ac_save_IFS=$IFS
  4.4859 -  IFS=:
  4.4860 -  set x $ac_tag
  4.4861 -  IFS=$ac_save_IFS
  4.4862 -  shift
  4.4863 -  ac_file=$1
  4.4864 -  shift
  4.4865 -
  4.4866 -  case $ac_mode in
  4.4867 -  :L) ac_source=$1;;
  4.4868 -  :[FH])
  4.4869 -    ac_file_inputs=
  4.4870 -    for ac_f
  4.4871 -    do
  4.4872 -      case $ac_f in
  4.4873 -      -) ac_f="$tmp/stdin";;
  4.4874 -      *) # Look for the file first in the build tree, then in the source tree
  4.4875 -	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  4.4876 -	 # because $ac_f cannot contain `:'.
  4.4877 -	 test -f "$ac_f" ||
  4.4878 -	   case $ac_f in
  4.4879 -	   [\\/$]*) false;;
  4.4880 -	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4.4881 -	   esac ||
  4.4882 -	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  4.4883 -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  4.4884 -   { (exit 1); exit 1; }; };;
  4.4885 -      esac
  4.4886 -      ac_file_inputs="$ac_file_inputs $ac_f"
  4.4887 -    done
  4.4888 -
  4.4889 -    # Let's still pretend it is `configure' which instantiates (i.e., don't
  4.4890 -    # use $as_me), people would be surprised to read:
  4.4891 -    #    /* config.h.  Generated by config.status.  */
  4.4892 -    configure_input="Generated from "`IFS=:
  4.4893 -	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  4.4894 -    if test x"$ac_file" != x-; then
  4.4895 -      configure_input="$ac_file.  $configure_input"
  4.4896 -      { echo "$as_me:$LINENO: creating $ac_file" >&5
  4.4897 -echo "$as_me: creating $ac_file" >&6;}
  4.4898 -    fi
  4.4899 -
  4.4900 -    case $ac_tag in
  4.4901 -    *:-:* | *:-) cat >"$tmp/stdin";;
  4.4902 -    esac
  4.4903 -    ;;
  4.4904 -  esac
  4.4905 -
  4.4906 -  ac_dir=`$as_dirname -- "$ac_file" ||
  4.4907 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4.4908 -	 X"$ac_file" : 'X\(//\)[^/]' \| \
  4.4909 -	 X"$ac_file" : 'X\(//\)$' \| \
  4.4910 -	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4.4911 -echo X"$ac_file" |
  4.4912 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4.4913 -	    s//\1/
  4.4914 -	    q
  4.4915 -	  }
  4.4916 -	  /^X\(\/\/\)[^/].*/{
  4.4917 -	    s//\1/
  4.4918 -	    q
  4.4919 -	  }
  4.4920 -	  /^X\(\/\/\)$/{
  4.4921 -	    s//\1/
  4.4922 -	    q
  4.4923 -	  }
  4.4924 -	  /^X\(\/\).*/{
  4.4925 -	    s//\1/
  4.4926 -	    q
  4.4927 -	  }
  4.4928 -	  s/.*/./; q'`
  4.4929 -  { as_dir="$ac_dir"
  4.4930 +
  4.4931    case $as_dir in #(
  4.4932    -*) as_dir=./$as_dir;;
  4.4933    esac
  4.4934 -  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  4.4935 +  test -d "$as_dir" || eval $as_mkdir_p || {
  4.4936      as_dirs=
  4.4937      while :; do
  4.4938        case $as_dir in #(
  4.4939 -      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  4.4940 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4.4941        *) as_qdir=$as_dir;;
  4.4942        esac
  4.4943        as_dirs="'$as_qdir' $as_dirs"
  4.4944 @@ -4737,7 +4102,7 @@
  4.4945  	 X"$as_dir" : 'X\(//\)[^/]' \| \
  4.4946  	 X"$as_dir" : 'X\(//\)$' \| \
  4.4947  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4.4948 -echo X"$as_dir" |
  4.4949 +$as_echo X"$as_dir" |
  4.4950      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4.4951  	    s//\1/
  4.4952  	    q
  4.4953 @@ -4758,17 +4123,508 @@
  4.4954        test -d "$as_dir" && break
  4.4955      done
  4.4956      test -z "$as_dirs" || eval "mkdir $as_dirs"
  4.4957 -  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  4.4958 -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  4.4959 -   { (exit 1); exit 1; }; }; }
  4.4960 +  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4.4961 +
  4.4962 +
  4.4963 +} # as_fn_mkdir_p
  4.4964 +if mkdir -p . 2>/dev/null; then
  4.4965 +  as_mkdir_p='mkdir -p "$as_dir"'
  4.4966 +else
  4.4967 +  test -d ./-p && rmdir ./-p
  4.4968 +  as_mkdir_p=false
  4.4969 +fi
  4.4970 +
  4.4971 +if test -x / >/dev/null 2>&1; then
  4.4972 +  as_test_x='test -x'
  4.4973 +else
  4.4974 +  if ls -dL / >/dev/null 2>&1; then
  4.4975 +    as_ls_L_option=L
  4.4976 +  else
  4.4977 +    as_ls_L_option=
  4.4978 +  fi
  4.4979 +  as_test_x='
  4.4980 +    eval sh -c '\''
  4.4981 +      if test -d "$1"; then
  4.4982 +	test -d "$1/.";
  4.4983 +      else
  4.4984 +	case $1 in #(
  4.4985 +	-*)set "./$1";;
  4.4986 +	esac;
  4.4987 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  4.4988 +	???[sx]*):;;*)false;;esac;fi
  4.4989 +    '\'' sh
  4.4990 +  '
  4.4991 +fi
  4.4992 +as_executable_p=$as_test_x
  4.4993 +
  4.4994 +# Sed expression to map a string onto a valid CPP name.
  4.4995 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4.4996 +
  4.4997 +# Sed expression to map a string onto a valid variable name.
  4.4998 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4.4999 +
  4.5000 +
  4.5001 +exec 6>&1
  4.5002 +## ----------------------------------- ##
  4.5003 +## Main body of $CONFIG_STATUS script. ##
  4.5004 +## ----------------------------------- ##
  4.5005 +_ASEOF
  4.5006 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4.5007 +
  4.5008 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5009 +# Save the log message, to keep $0 and so on meaningful, and to
  4.5010 +# report actual input values of CONFIG_FILES etc. instead of their
  4.5011 +# values after options handling.
  4.5012 +ac_log="
  4.5013 +This file was extended by $as_me, which was
  4.5014 +generated by GNU Autoconf 2.65.  Invocation command line was
  4.5015 +
  4.5016 +  CONFIG_FILES    = $CONFIG_FILES
  4.5017 +  CONFIG_HEADERS  = $CONFIG_HEADERS
  4.5018 +  CONFIG_LINKS    = $CONFIG_LINKS
  4.5019 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
  4.5020 +  $ $0 $@
  4.5021 +
  4.5022 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4.5023 +"
  4.5024 +
  4.5025 +_ACEOF
  4.5026 +
  4.5027 +case $ac_config_files in *"
  4.5028 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  4.5029 +esac
  4.5030 +
  4.5031 +
  4.5032 +
  4.5033 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5034 +# Files that config.status was made for.
  4.5035 +config_files="$ac_config_files"
  4.5036 +
  4.5037 +_ACEOF
  4.5038 +
  4.5039 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5040 +ac_cs_usage="\
  4.5041 +\`$as_me' instantiates files and other configuration actions
  4.5042 +from templates according to the current configuration.  Unless the files
  4.5043 +and actions are specified as TAGs, all are instantiated by default.
  4.5044 +
  4.5045 +Usage: $0 [OPTION]... [TAG]...
  4.5046 +
  4.5047 +  -h, --help       print this help, then exit
  4.5048 +  -V, --version    print version number and configuration settings, then exit
  4.5049 +      --config     print configuration, then exit
  4.5050 +  -q, --quiet, --silent
  4.5051 +                   do not print progress messages
  4.5052 +  -d, --debug      don't remove temporary files
  4.5053 +      --recheck    update $as_me by reconfiguring in the same conditions
  4.5054 +      --file=FILE[:TEMPLATE]
  4.5055 +                   instantiate the configuration file FILE
  4.5056 +
  4.5057 +Configuration files:
  4.5058 +$config_files
  4.5059 +
  4.5060 +Report bugs to the package provider."
  4.5061 +
  4.5062 +_ACEOF
  4.5063 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5064 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  4.5065 +ac_cs_version="\\
  4.5066 +config.status
  4.5067 +configured by $0, generated by GNU Autoconf 2.65,
  4.5068 +  with options \\"\$ac_cs_config\\"
  4.5069 +
  4.5070 +Copyright (C) 2009 Free Software Foundation, Inc.
  4.5071 +This config.status script is free software; the Free Software Foundation
  4.5072 +gives unlimited permission to copy, distribute and modify it."
  4.5073 +
  4.5074 +ac_pwd='$ac_pwd'
  4.5075 +srcdir='$srcdir'
  4.5076 +test -n "\$AWK" || AWK=awk
  4.5077 +_ACEOF
  4.5078 +
  4.5079 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5080 +# The default lists apply if the user does not specify any file.
  4.5081 +ac_need_defaults=:
  4.5082 +while test $# != 0
  4.5083 +do
  4.5084 +  case $1 in
  4.5085 +  --*=*)
  4.5086 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4.5087 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4.5088 +    ac_shift=:
  4.5089 +    ;;
  4.5090 +  *)
  4.5091 +    ac_option=$1
  4.5092 +    ac_optarg=$2
  4.5093 +    ac_shift=shift
  4.5094 +    ;;
  4.5095 +  esac
  4.5096 +
  4.5097 +  case $ac_option in
  4.5098 +  # Handling of the options.
  4.5099 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4.5100 +    ac_cs_recheck=: ;;
  4.5101 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4.5102 +    $as_echo "$ac_cs_version"; exit ;;
  4.5103 +  --config | --confi | --conf | --con | --co | --c )
  4.5104 +    $as_echo "$ac_cs_config"; exit ;;
  4.5105 +  --debug | --debu | --deb | --de | --d | -d )
  4.5106 +    debug=: ;;
  4.5107 +  --file | --fil | --fi | --f )
  4.5108 +    $ac_shift
  4.5109 +    case $ac_optarg in
  4.5110 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4.5111 +    esac
  4.5112 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
  4.5113 +    ac_need_defaults=false;;
  4.5114 +  --he | --h |  --help | --hel | -h )
  4.5115 +    $as_echo "$ac_cs_usage"; exit ;;
  4.5116 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4.5117 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4.5118 +    ac_cs_silent=: ;;
  4.5119 +
  4.5120 +  # This is an error.
  4.5121 +  -*) as_fn_error "unrecognized option: \`$1'
  4.5122 +Try \`$0 --help' for more information." ;;
  4.5123 +
  4.5124 +  *) as_fn_append ac_config_targets " $1"
  4.5125 +     ac_need_defaults=false ;;
  4.5126 +
  4.5127 +  esac
  4.5128 +  shift
  4.5129 +done
  4.5130 +
  4.5131 +ac_configure_extra_args=
  4.5132 +
  4.5133 +if $ac_cs_silent; then
  4.5134 +  exec 6>/dev/null
  4.5135 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
  4.5136 +fi
  4.5137 +
  4.5138 +_ACEOF
  4.5139 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5140 +if \$ac_cs_recheck; then
  4.5141 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4.5142 +  shift
  4.5143 +  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4.5144 +  CONFIG_SHELL='$SHELL'
  4.5145 +  export CONFIG_SHELL
  4.5146 +  exec "\$@"
  4.5147 +fi
  4.5148 +
  4.5149 +_ACEOF
  4.5150 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5151 +exec 5>>config.log
  4.5152 +{
  4.5153 +  echo
  4.5154 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4.5155 +## Running $as_me. ##
  4.5156 +_ASBOX
  4.5157 +  $as_echo "$ac_log"
  4.5158 +} >&5
  4.5159 +
  4.5160 +_ACEOF
  4.5161 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5162 +_ACEOF
  4.5163 +
  4.5164 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5165 +
  4.5166 +# Handling of arguments.
  4.5167 +for ac_config_target in $ac_config_targets
  4.5168 +do
  4.5169 +  case $ac_config_target in
  4.5170 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4.5171 +
  4.5172 +  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4.5173 +  esac
  4.5174 +done
  4.5175 +
  4.5176 +
  4.5177 +# If the user did not use the arguments to specify the items to instantiate,
  4.5178 +# then the envvar interface is used.  Set only those that are not.
  4.5179 +# We use the long form for the default assignment because of an extremely
  4.5180 +# bizarre bug on SunOS 4.1.3.
  4.5181 +if $ac_need_defaults; then
  4.5182 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4.5183 +fi
  4.5184 +
  4.5185 +# Have a temporary directory for convenience.  Make it in the build tree
  4.5186 +# simply because there is no reason against having it here, and in addition,
  4.5187 +# creating and moving files from /tmp can sometimes cause problems.
  4.5188 +# Hook for its removal unless debugging.
  4.5189 +# Note that there is a small window in which the directory will not be cleaned:
  4.5190 +# after its creation but before its name has been assigned to `$tmp'.
  4.5191 +$debug ||
  4.5192 +{
  4.5193 +  tmp=
  4.5194 +  trap 'exit_status=$?
  4.5195 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4.5196 +' 0
  4.5197 +  trap 'as_fn_exit 1' 1 2 13 15
  4.5198 +}
  4.5199 +# Create a (secure) tmp directory for tmp files.
  4.5200 +
  4.5201 +{
  4.5202 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4.5203 +  test -n "$tmp" && test -d "$tmp"
  4.5204 +}  ||
  4.5205 +{
  4.5206 +  tmp=./conf$$-$RANDOM
  4.5207 +  (umask 077 && mkdir "$tmp")
  4.5208 +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4.5209 +
  4.5210 +# Set up the scripts for CONFIG_FILES section.
  4.5211 +# No need to generate them if there are no CONFIG_FILES.
  4.5212 +# This happens for instance with `./config.status config.h'.
  4.5213 +if test -n "$CONFIG_FILES"; then
  4.5214 +
  4.5215 +
  4.5216 +ac_cr=`echo X | tr X '\015'`
  4.5217 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  4.5218 +# But we know of no other shell where ac_cr would be empty at this
  4.5219 +# point, so we can use a bashism as a fallback.
  4.5220 +if test "x$ac_cr" = x; then
  4.5221 +  eval ac_cr=\$\'\\r\'
  4.5222 +fi
  4.5223 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4.5224 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4.5225 +  ac_cs_awk_cr='\r'
  4.5226 +else
  4.5227 +  ac_cs_awk_cr=$ac_cr
  4.5228 +fi
  4.5229 +
  4.5230 +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4.5231 +_ACEOF
  4.5232 +
  4.5233 +
  4.5234 +{
  4.5235 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
  4.5236 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4.5237 +  echo "_ACEOF"
  4.5238 +} >conf$$subs.sh ||
  4.5239 +  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4.5240 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  4.5241 +ac_delim='%!_!# '
  4.5242 +for ac_last_try in false false false false false :; do
  4.5243 +  . ./conf$$subs.sh ||
  4.5244 +    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4.5245 +
  4.5246 +  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4.5247 +  if test $ac_delim_n = $ac_delim_num; then
  4.5248 +    break
  4.5249 +  elif $ac_last_try; then
  4.5250 +    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4.5251 +  else
  4.5252 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4.5253 +  fi
  4.5254 +done
  4.5255 +rm -f conf$$subs.sh
  4.5256 +
  4.5257 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5258 +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  4.5259 +_ACEOF
  4.5260 +sed -n '
  4.5261 +h
  4.5262 +s/^/S["/; s/!.*/"]=/
  4.5263 +p
  4.5264 +g
  4.5265 +s/^[^!]*!//
  4.5266 +:repl
  4.5267 +t repl
  4.5268 +s/'"$ac_delim"'$//
  4.5269 +t delim
  4.5270 +:nl
  4.5271 +h
  4.5272 +s/\(.\{148\}\)..*/\1/
  4.5273 +t more1
  4.5274 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4.5275 +p
  4.5276 +n
  4.5277 +b repl
  4.5278 +:more1
  4.5279 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4.5280 +p
  4.5281 +g
  4.5282 +s/.\{148\}//
  4.5283 +t nl
  4.5284 +:delim
  4.5285 +h
  4.5286 +s/\(.\{148\}\)..*/\1/
  4.5287 +t more2
  4.5288 +s/["\\]/\\&/g; s/^/"/; s/$/"/
  4.5289 +p
  4.5290 +b
  4.5291 +:more2
  4.5292 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4.5293 +p
  4.5294 +g
  4.5295 +s/.\{148\}//
  4.5296 +t delim
  4.5297 +' <conf$$subs.awk | sed '
  4.5298 +/^[^""]/{
  4.5299 +  N
  4.5300 +  s/\n//
  4.5301 +}
  4.5302 +' >>$CONFIG_STATUS || ac_write_fail=1
  4.5303 +rm -f conf$$subs.awk
  4.5304 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5305 +_ACAWK
  4.5306 +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  4.5307 +  for (key in S) S_is_set[key] = 1
  4.5308 +  FS = ""
  4.5309 +
  4.5310 +}
  4.5311 +{
  4.5312 +  line = $ 0
  4.5313 +  nfields = split(line, field, "@")
  4.5314 +  substed = 0
  4.5315 +  len = length(field[1])
  4.5316 +  for (i = 2; i < nfields; i++) {
  4.5317 +    key = field[i]
  4.5318 +    keylen = length(key)
  4.5319 +    if (S_is_set[key]) {
  4.5320 +      value = S[key]
  4.5321 +      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4.5322 +      len += length(value) + length(field[++i])
  4.5323 +      substed = 1
  4.5324 +    } else
  4.5325 +      len += 1 + keylen
  4.5326 +  }
  4.5327 +
  4.5328 +  print line
  4.5329 +}
  4.5330 +
  4.5331 +_ACAWK
  4.5332 +_ACEOF
  4.5333 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5334 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4.5335 +  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4.5336 +else
  4.5337 +  cat
  4.5338 +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  4.5339 +  || as_fn_error "could not setup config files machinery" "$LINENO" 5
  4.5340 +_ACEOF
  4.5341 +
  4.5342 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  4.5343 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4.5344 +# trailing colons and then remove the whole line if VPATH becomes empty
  4.5345 +# (actually we leave an empty line to preserve line numbers).
  4.5346 +if test "x$srcdir" = x.; then
  4.5347 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
  4.5348 +s/:*\$(srcdir):*/:/
  4.5349 +s/:*\${srcdir}:*/:/
  4.5350 +s/:*@srcdir@:*/:/
  4.5351 +s/^\([^=]*=[	 ]*\):*/\1/
  4.5352 +s/:*$//
  4.5353 +s/^[^=]*=[	 ]*$//
  4.5354 +}'
  4.5355 +fi
  4.5356 +
  4.5357 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5358 +fi # test -n "$CONFIG_FILES"
  4.5359 +
  4.5360 +
  4.5361 +eval set X "  :F $CONFIG_FILES      "
  4.5362 +shift
  4.5363 +for ac_tag
  4.5364 +do
  4.5365 +  case $ac_tag in
  4.5366 +  :[FHLC]) ac_mode=$ac_tag; continue;;
  4.5367 +  esac
  4.5368 +  case $ac_mode$ac_tag in
  4.5369 +  :[FHL]*:*);;
  4.5370 +  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4.5371 +  :[FH]-) ac_tag=-:-;;
  4.5372 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4.5373 +  esac
  4.5374 +  ac_save_IFS=$IFS
  4.5375 +  IFS=:
  4.5376 +  set x $ac_tag
  4.5377 +  IFS=$ac_save_IFS
  4.5378 +  shift
  4.5379 +  ac_file=$1
  4.5380 +  shift
  4.5381 +
  4.5382 +  case $ac_mode in
  4.5383 +  :L) ac_source=$1;;
  4.5384 +  :[FH])
  4.5385 +    ac_file_inputs=
  4.5386 +    for ac_f
  4.5387 +    do
  4.5388 +      case $ac_f in
  4.5389 +      -) ac_f="$tmp/stdin";;
  4.5390 +      *) # Look for the file first in the build tree, then in the source tree
  4.5391 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  4.5392 +	 # because $ac_f cannot contain `:'.
  4.5393 +	 test -f "$ac_f" ||
  4.5394 +	   case $ac_f in
  4.5395 +	   [\\/$]*) false;;
  4.5396 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4.5397 +	   esac ||
  4.5398 +	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4.5399 +      esac
  4.5400 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4.5401 +      as_fn_append ac_file_inputs " '$ac_f'"
  4.5402 +    done
  4.5403 +
  4.5404 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
  4.5405 +    # use $as_me), people would be surprised to read:
  4.5406 +    #    /* config.h.  Generated by config.status.  */
  4.5407 +    configure_input='Generated from '`
  4.5408 +	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4.5409 +	`' by configure.'
  4.5410 +    if test x"$ac_file" != x-; then
  4.5411 +      configure_input="$ac_file.  $configure_input"
  4.5412 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4.5413 +$as_echo "$as_me: creating $ac_file" >&6;}
  4.5414 +    fi
  4.5415 +    # Neutralize special characters interpreted by sed in replacement strings.
  4.5416 +    case $configure_input in #(
  4.5417 +    *\&* | *\|* | *\\* )
  4.5418 +       ac_sed_conf_input=`$as_echo "$configure_input" |
  4.5419 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4.5420 +    *) ac_sed_conf_input=$configure_input;;
  4.5421 +    esac
  4.5422 +
  4.5423 +    case $ac_tag in
  4.5424 +    *:-:* | *:-) cat >"$tmp/stdin" \
  4.5425 +      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  4.5426 +    esac
  4.5427 +    ;;
  4.5428 +  esac
  4.5429 +
  4.5430 +  ac_dir=`$as_dirname -- "$ac_file" ||
  4.5431 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4.5432 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
  4.5433 +	 X"$ac_file" : 'X\(//\)$' \| \
  4.5434 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4.5435 +$as_echo X"$ac_file" |
  4.5436 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4.5437 +	    s//\1/
  4.5438 +	    q
  4.5439 +	  }
  4.5440 +	  /^X\(\/\/\)[^/].*/{
  4.5441 +	    s//\1/
  4.5442 +	    q
  4.5443 +	  }
  4.5444 +	  /^X\(\/\/\)$/{
  4.5445 +	    s//\1/
  4.5446 +	    q
  4.5447 +	  }
  4.5448 +	  /^X\(\/\).*/{
  4.5449 +	    s//\1/
  4.5450 +	    q
  4.5451 +	  }
  4.5452 +	  s/.*/./; q'`
  4.5453 +  as_dir="$ac_dir"; as_fn_mkdir_p
  4.5454    ac_builddir=.
  4.5455  
  4.5456  case "$ac_dir" in
  4.5457  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4.5458  *)
  4.5459 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  4.5460 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4.5461    # A ".." for each directory in $ac_dir_suffix.
  4.5462 -  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  4.5463 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4.5464    case $ac_top_builddir_sub in
  4.5465    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4.5466    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4.5467 @@ -4804,12 +4660,12 @@
  4.5468  
  4.5469  _ACEOF
  4.5470  
  4.5471 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.5472 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5473  # If the template does not know about datarootdir, expand it.
  4.5474  # FIXME: This hack should be removed a few years after 2.60.
  4.5475  ac_datarootdir_hack=; ac_datarootdir_seen=
  4.5476 -
  4.5477 -case `sed -n '/datarootdir/ {
  4.5478 +ac_sed_dataroot='
  4.5479 +/datarootdir/ {
  4.5480    p
  4.5481    q
  4.5482  }
  4.5483 @@ -4817,36 +4673,37 @@
  4.5484  /@docdir@/p
  4.5485  /@infodir@/p
  4.5486  /@localedir@/p
  4.5487 -/@mandir@/p
  4.5488 -' $ac_file_inputs` in
  4.5489 +/@mandir@/p'
  4.5490 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4.5491  *datarootdir*) ac_datarootdir_seen=yes;;
  4.5492  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4.5493 -  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4.5494 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4.5495 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4.5496 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4.5497  _ACEOF
  4.5498 -cat >>$CONFIG_STATUS <<_ACEOF
  4.5499 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5500    ac_datarootdir_hack='
  4.5501    s&@datadir@&$datadir&g
  4.5502    s&@docdir@&$docdir&g
  4.5503    s&@infodir@&$infodir&g
  4.5504    s&@localedir@&$localedir&g
  4.5505    s&@mandir@&$mandir&g
  4.5506 -    s&\\\${datarootdir}&$datarootdir&g' ;;
  4.5507 +  s&\\\${datarootdir}&$datarootdir&g' ;;
  4.5508  esac
  4.5509  _ACEOF
  4.5510  
  4.5511  # Neutralize VPATH when `$srcdir' = `.'.
  4.5512  # Shell code in configure.ac might set extrasub.
  4.5513  # FIXME: do we really want to maintain this feature?
  4.5514 -cat >>$CONFIG_STATUS <<_ACEOF
  4.5515 -  sed "$ac_vpsub
  4.5516 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4.5517 +ac_sed_extra="$ac_vpsub
  4.5518  $extrasub
  4.5519  _ACEOF
  4.5520 -cat >>$CONFIG_STATUS <<\_ACEOF
  4.5521 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4.5522  :t
  4.5523  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4.5524 -s&@configure_input@&$configure_input&;t t
  4.5525 +s|@configure_input@|$ac_sed_conf_input|;t t
  4.5526  s&@top_builddir@&$ac_top_builddir_sub&;t t
  4.5527 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4.5528  s&@srcdir@&$ac_srcdir&;t t
  4.5529  s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4.5530  s&@top_srcdir@&$ac_top_srcdir&;t t
  4.5531 @@ -4855,35 +4712,40 @@
  4.5532  s&@abs_builddir@&$ac_abs_builddir&;t t
  4.5533  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4.5534  $ac_datarootdir_hack
  4.5535 -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
  4.5536 +"
  4.5537 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  4.5538 +  || as_fn_error "could not create $ac_file" "$LINENO" 5
  4.5539  
  4.5540  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  4.5541    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  4.5542    { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  4.5543 -  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4.5544 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4.5545  which seems to be undefined.  Please make sure it is defined." >&5
  4.5546 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4.5547 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4.5548  which seems to be undefined.  Please make sure it is defined." >&2;}
  4.5549  
  4.5550    rm -f "$tmp/stdin"
  4.5551    case $ac_file in
  4.5552 -  -) cat "$tmp/out"; rm -f "$tmp/out";;
  4.5553 -  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  4.5554 +  -) cat "$tmp/out" && rm -f "$tmp/out";;
  4.5555 +  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  4.5556 +  esac \
  4.5557 +  || as_fn_error "could not create $ac_file" "$LINENO" 5
  4.5558 + ;;
  4.5559 +
  4.5560 +
  4.5561 +
  4.5562    esac
  4.5563 - ;;
  4.5564 -
  4.5565 -
  4.5566 -
  4.5567 -  esac
  4.5568  
  4.5569  done # for ac_tag
  4.5570  
  4.5571  
  4.5572 -{ (exit 0); exit 0; }
  4.5573 +as_fn_exit 0
  4.5574  _ACEOF
  4.5575 -chmod +x $CONFIG_STATUS
  4.5576  ac_clean_files=$ac_clean_files_save
  4.5577  
  4.5578 +test $ac_write_fail = 0 ||
  4.5579 +  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  4.5580 +
  4.5581  
  4.5582  # configure is writing to config.log, and then calls config.status.
  4.5583  # config.status does its own redirection, appending to config.log.
  4.5584 @@ -4903,6 +4765,10 @@
  4.5585    exec 5>>config.log
  4.5586    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4.5587    # would make configure fail if this is the last instruction.
  4.5588 -  $ac_cs_success || { (exit 1); exit 1; }
  4.5589 +  $ac_cs_success || as_fn_exit $?
  4.5590  fi
  4.5591 -
  4.5592 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  4.5593 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  4.5594 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  4.5595 +fi
  4.5596 +
     5.1 --- a/test/test-automation/runner.c	Thu May 26 19:57:03 2011 +0300
     5.2 +++ b/test/test-automation/runner.c	Thu May 26 20:13:49 2011 -0700
     5.3 @@ -106,11 +106,7 @@
     5.4  	fflush(stdout);
     5.5  
     5.6  	for(reference = tests[counter]; reference; reference = tests[++counter]) {
     5.7 -		// segfaults immediately  after trying to access name -> out of bounds
     5.8 -		// all the values of reference is garbage.
     5.9  		char *testname = reference->name;
    5.10 -		//char *testname = reference; // for some reason this works
    5.11 -
    5.12  		printf("Running %s (in %s):\n", testname, libName);
    5.13  
    5.14  		int childpid = fork();
     6.1 --- a/test/test-automation/tests/test.c	Thu May 26 19:57:03 2011 +0300
     6.2 +++ b/test/test-automation/tests/test.c	Thu May 26 20:13:49 2011 -0700
     6.3 @@ -27,15 +27,21 @@
     6.4  
     6.5  #include "SDL_test.h"
     6.6  
     6.7 -TestCaseReference *references[] =  {
     6.8 -		{"hello", "description", 1, 0},
     6.9 -		{"hello2", "description", 1, 0},
    6.10 -		NULL
    6.11 +/* Test cases */
    6.12 +static const TestCaseReference test1 = 
    6.13 +		(TestCaseReference){ "hello", "description", 1, 0 };
    6.14 +
    6.15 +static const TestCaseReference test2 = 
    6.16 +		(TestCaseReference){ "hello2", "description", 1, 0 };
    6.17 +
    6.18 +/* Test suite */
    6.19 +extern const TestCaseReference *testSuite[] =  {
    6.20 +	&test1, &test2, NULL
    6.21  };
    6.22  
    6.23  
    6.24  TestCaseReference **QueryTestCaseReferences() {
    6.25 -	return references;
    6.26 +	return (TestCaseReference **)testSuite;
    6.27  }
    6.28  
    6.29  void hello(void *arg){