Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1956 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Jun 16, 2004, 8:18:07 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: now the Trunk should be merged with the new Makefile. Hopefully it works

Location:
orxonox/trunk
Files:
5 deleted
1 edited
44 copied

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r1853 r1956  
    1 ## Conact Address
    2 ###############################
    3 SUPPORT_ADDRESS="orxonox-dev@mail.datacore.ch"
    4 
    5 ## Configure Version
    6 ###############################
    7 CONFIG_VERS="0.1alpha - orxonox is still in development - please send bug-reports, requests, ideas to $SUPPORT_ADDRESS"
    8 
    9 ## Defaults
    10 ################################
    11 ENABLE_GLUT="yes"
    12 ENABLE_GTK="yes"
    13 VERBOSE="no"
    14 
    15 
    16 ## Where to look for stuff
    17 ################################
    18 std_bin_dirs="/usr/bin /usr/X11R6/bin /usr/local/bin $HOME/bin"
    19 std_include_dirs="/usr/include/GL"
    20 std_lib_dirs="/usr/lib /usr/X11R6/lib /usr/local/lib $HOME/lib"
    21 
    22 ## The functions enter the room.
    23 ## In order to understand this
    24 ## file you have to understand
    25 ## scripts/configure_functions
    26 ################################
    27 source ./scripts/configure_functions
    28 
    29 ## print instruction
    30 ################################
    31 print_newline
    32 print_separator
    33 print_message "This scripts determines all options"
    34 print_message "needed to build Orxonox."
    35 print_message "This is no autoconf configure script"
    36 print_separator
    37 
    38 ## Check command line for options
    39 #################################
    40 check_command_line_options $@
    41 
    42 ## Check linux distribution
    43 #############################################################
    44 print_topic "Checking OS"
    45 OS=`uname -a | awk '{print $1}'`
    46 if [ $OS == "Linux" ]; then
    47         print_ack
    48         print_info "Running on a $OS system"
    49 else
    50         print_nack
    51         print_error "Running on a $OS system - probably not supported"
    52         print_error "Orxonox is designed to run on Linux systems"
    53         print_error "please do not stop here an try to port the game to"
    54         print_error "your system. Send your patch to $SUPPORT_ADDRESS"
    55         print_exit
    56         exit 1
    57 fi
    58 
    59 ## Check GLUT installation
    60 ##############################################################
    61 if [ $ENABLE_GLUT = "yes" ]; then
    62         print_topic "Verifing GLUT install"
    63         if check_for_GLUT; then
    64                 print_ack
    65                 print_info "GLUT found at: $GLUT_DIR"
    66         else
    67                 print_nack
    68                 print_error "GLUT not found!"
    69                 print_exit
    70                 exit 1
    71         fi     
    72 fi
    73 
    74 
    75 ## Check Direct Rendering Support
    76 ##############################################################
    77 if [ $ENABLE_GLUT = "yes" ]; then
    78         print_topic "Checking Direct Rendering Support (dri)"
    79         if check_for_glxinfo; then
    80                 if check_for_dri; then
    81                         print_ack
    82                         print_info "DRI is working on your system"
    83                 else
    84                         print_nack
    85                         print_warning "DRI not supported, you probably want to configure it"
    86                         print_warning "or you try OpenGL emulation with Mesa"
    87                 fi
    88         else
    89                 print_nack
    90                 print_error "no glxinfo detected - check your xfree install"
     1#! /bin/sh
     2# Guess values for system-dependent variables and create Makefiles.
     3# Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha.
     4#
     5# Report bugs to <orxonox-dev@mail.datacore.ch>.
     6#
     7# Copyright (C) 2003 Free Software Foundation, Inc.
     8# This configure script is free software; the Free Software Foundation
     9# gives unlimited permission to copy, distribute and modify it.
     10## --------------------- ##
     11## M4sh Initialization.  ##
     12## --------------------- ##
     13
     14# Be Bourne compatible
     15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16  emulate sh
     17  NULLCMD=:
     18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19  # is contrary to our usage.  Disable this feature.
     20  alias -g '${1+"$@"}'='"$@"'
     21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  set -o posix
     23fi
     24DUALCASE=1; export DUALCASE # for MKS sh
     25
     26# Support unset when possible.
     27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28  as_unset=unset
     29else
     30  as_unset=false
     31fi
     32
     33
     34# Work around bugs in pre-3.0 UWIN ksh.
     35$as_unset ENV MAIL MAILPATH
     36PS1='$ '
     37PS2='> '
     38PS4='+ '
     39
     40# NLS nuisances.
     41for as_var in \
     42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44  LC_TELEPHONE LC_TIME
     45do
     46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47    eval $as_var=C; export $as_var
     48  else
     49    $as_unset $as_var
     50  fi
     51done
     52
     53# Required to use basename.
     54if expr a : '\(a\)' >/dev/null 2>&1; then
     55  as_expr=expr
     56else
     57  as_expr=false
     58fi
     59
     60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61  as_basename=basename
     62else
     63  as_basename=false
     64fi
     65
     66
     67# Name of the executable.
     68as_me=`$as_basename "$0" ||
     69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70         X"$0" : 'X\(//\)$' \| \
     71         X"$0" : 'X\(/\)$' \| \
     72         .     : '\(.\)' 2>/dev/null ||
     73echo X/"$0" |
     74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75          /^X\/\(\/\/\)$/{ s//\1/; q; }
     76          /^X\/\(\/\).*/{ s//\1/; q; }
     77          s/.*/./; q'`
     78
     79
     80# PATH needs CR, and LINENO needs CR and PATH.
     81# Avoid depending upon Character Ranges.
     82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85as_cr_digits='0123456789'
     86as_cr_alnum=$as_cr_Letters$as_cr_digits
     87
     88# The user is always right.
     89if test "${PATH_SEPARATOR+set}" != set; then
     90  echo "#! /bin/sh" >conf$$.sh
     91  echo  "exit 0"   >>conf$$.sh
     92  chmod +x conf$$.sh
     93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94    PATH_SEPARATOR=';'
     95  else
     96    PATH_SEPARATOR=:
     97  fi
     98  rm -f conf$$.sh
     99fi
     100
     101
     102  as_lineno_1=$LINENO
     103  as_lineno_2=$LINENO
     104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     105  test "x$as_lineno_1" != "x$as_lineno_2" &&
     106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     107  # Find who we are.  Look in the path if we contain no path at all
     108  # relative or not.
     109  case $0 in
     110    *[\\/]* ) as_myself=$0 ;;
     111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     112for as_dir in $PATH
     113do
     114  IFS=$as_save_IFS
     115  test -z "$as_dir" && as_dir=.
     116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     117done
     118
     119       ;;
     120  esac
     121  # We did not find ourselves, most probably we were run as `sh COMMAND'
     122  # in which case we are not to be found in the path.
     123  if test "x$as_myself" = x; then
     124    as_myself=$0
     125  fi
     126  if test ! -f "$as_myself"; then
     127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     128   { (exit 1); exit 1; }; }
     129  fi
     130  case $CONFIG_SHELL in
     131  '')
     132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     134do
     135  IFS=$as_save_IFS
     136  test -z "$as_dir" && as_dir=.
     137  for as_base in sh bash ksh sh5; do
     138         case $as_dir in
     139         /*)
     140           if ("$as_dir/$as_base" -c '
     141  as_lineno_1=$LINENO
     142  as_lineno_2=$LINENO
     143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     144  test "x$as_lineno_1" != "x$as_lineno_2" &&
     145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     146             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     147             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     148             CONFIG_SHELL=$as_dir/$as_base
     149             export CONFIG_SHELL
     150             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     151           fi;;
     152         esac
     153       done
     154done
     155;;
     156  esac
     157
     158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     159  # uniformly replaced by the line number.  The first 'sed' inserts a
     160  # line-number line before each line; the second 'sed' does the real
     161  # work.  The second script uses 'N' to pair each line-number line
     162  # with the numbered line, and appends trailing '-' during
     163  # substitution so that $LINENO is not a special case at line end.
     164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     166  sed '=' <$as_myself |
     167    sed '
     168      N
     169      s,$,-,
     170      : loop
     171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     172      t loop
     173      s,-$,,
     174      s,^['$as_cr_digits']*\n,,
     175    ' >$as_me.lineno &&
     176  chmod +x $as_me.lineno ||
     177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     178   { (exit 1); exit 1; }; }
     179
     180  # Don't try to exec as it changes $[0], causing all sort of problems
     181  # (the dirname of $[0] is not the place where we might find the
     182  # original and so on.  Autoconf is especially sensible to this).
     183  . ./$as_me.lineno
     184  # Exit status is that of the last command.
     185  exit
     186}
     187
     188
     189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     190  *c*,-n*) ECHO_N= ECHO_C='
     191' ECHO_T='      ' ;;
     192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     194esac
     195
     196if expr a : '\(a\)' >/dev/null 2>&1; then
     197  as_expr=expr
     198else
     199  as_expr=false
     200fi
     201
     202rm -f conf$$ conf$$.exe conf$$.file
     203echo >conf$$.file
     204if ln -s conf$$.file conf$$ 2>/dev/null; then
     205  # We could just check for DJGPP; but this test a) works b) is more generic
     206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     207  if test -f conf$$.exe; then
     208    # Don't use ln at all; we don't have any links
     209    as_ln_s='cp -p'
     210  else
     211    as_ln_s='ln -s'
     212  fi
     213elif ln conf$$.file conf$$ 2>/dev/null; then
     214  as_ln_s=ln
     215else
     216  as_ln_s='cp -p'
     217fi
     218rm -f conf$$ conf$$.exe conf$$.file
     219
     220if mkdir -p . 2>/dev/null; then
     221  as_mkdir_p=:
     222else
     223  test -d ./-p && rmdir ./-p
     224  as_mkdir_p=false
     225fi
     226
     227as_executable_p="test -f"
     228
     229# Sed expression to map a string onto a valid CPP name.
     230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     231
     232# Sed expression to map a string onto a valid variable name.
     233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     234
     235
     236# IFS
     237# We need space, tab and new line, in precisely that order.
     238as_nl='
     239'
     240IFS="   $as_nl"
     241
     242# CDPATH.
     243$as_unset CDPATH
     244
     245
     246# Name of the host.
     247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     248# so uname gets run too.
     249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     250
     251exec 6>&1
     252
     253#
     254# Initializations.
     255#
     256ac_default_prefix=/usr/local
     257ac_config_libobj_dir=.
     258cross_compiling=no
     259subdirs=
     260MFLAGS=
     261MAKEFLAGS=
     262SHELL=${CONFIG_SHELL-/bin/sh}
     263
     264# Maximum number of lines to put in a shell here document.
     265# This variable seems obsolete.  It should probably be removed, and
     266# only ac_max_sed_lines should be used.
     267: ${ac_max_here_lines=38}
     268
     269# Identity of this package.
     270PACKAGE_NAME='orxonox'
     271PACKAGE_TARNAME='orxonox'
     272PACKAGE_VERSION='0.1-pre-alpha'
     273PACKAGE_STRING='orxonox 0.1-pre-alpha'
     274PACKAGE_BUGREPORT='orxonox-dev@mail.datacore.ch'
     275
     276ac_unique_file="."
     277# Factoring default headers for most tests.
     278ac_includes_default="\
     279#include <stdio.h>
     280#if HAVE_SYS_TYPES_H
     281# include <sys/types.h>
     282#endif
     283#if HAVE_SYS_STAT_H
     284# include <sys/stat.h>
     285#endif
     286#if STDC_HEADERS
     287# include <stdlib.h>
     288# include <stddef.h>
     289#else
     290# if HAVE_STDLIB_H
     291#  include <stdlib.h>
     292# endif
     293#endif
     294#if HAVE_STRING_H
     295# if !STDC_HEADERS && HAVE_MEMORY_H
     296#  include <memory.h>
     297# endif
     298# include <string.h>
     299#endif
     300#if HAVE_STRINGS_H
     301# include <strings.h>
     302#endif
     303#if HAVE_INTTYPES_H
     304# include <inttypes.h>
     305#else
     306# if HAVE_STDINT_H
     307#  include <stdint.h>
     308# endif
     309#endif
     310#if HAVE_UNISTD_H
     311# include <unistd.h>
     312#endif"
     313
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS'
     315ac_subst_files=''
     316
     317# Initialize some variables set by options.
     318ac_init_help=
     319ac_init_version=false
     320# The variables have the same names as the options, with
     321# dashes changed to underlines.
     322cache_file=/dev/null
     323exec_prefix=NONE
     324no_create=
     325no_recursion=
     326prefix=NONE
     327program_prefix=NONE
     328program_suffix=NONE
     329program_transform_name=s,x,x,
     330silent=
     331site=
     332srcdir=
     333verbose=
     334x_includes=NONE
     335x_libraries=NONE
     336
     337# Installation directory options.
     338# These are left unexpanded so users can "make install exec_prefix=/foo"
     339# and all the variables that are supposed to be based on exec_prefix
     340# by default will actually change.
     341# Use braces instead of parens because sh, perl, etc. also accept them.
     342bindir='${exec_prefix}/bin'
     343sbindir='${exec_prefix}/sbin'
     344libexecdir='${exec_prefix}/libexec'
     345datadir='${prefix}/share'
     346sysconfdir='${prefix}/etc'
     347sharedstatedir='${prefix}/com'
     348localstatedir='${prefix}/var'
     349libdir='${exec_prefix}/lib'
     350includedir='${prefix}/include'
     351oldincludedir='/usr/include'
     352infodir='${prefix}/info'
     353mandir='${prefix}/man'
     354
     355ac_prev=
     356for ac_option
     357do
     358  # If the previous option needs an argument, assign it.
     359  if test -n "$ac_prev"; then
     360    eval "$ac_prev=\$ac_option"
     361    ac_prev=
     362    continue
     363  fi
     364
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     366
     367  # Accept the important Cygnus configure options, so we can diagnose typos.
     368
     369  case $ac_option in
     370
     371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     372    ac_prev=bindir ;;
     373  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
     374    bindir=$ac_optarg ;;
     375
     376  -build | --build | --buil | --bui | --bu)
     377    ac_prev=build_alias ;;
     378  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
     379    build_alias=$ac_optarg ;;
     380
     381  -cache-file | --cache-file | --cache-fil | --cache-fi \
     382  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     383    ac_prev=cache_file ;;
     384  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
     385  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     386    cache_file=$ac_optarg ;;
     387
     388  --config-cache | -C)
     389    cache_file=config.cache ;;
     390
     391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     392    ac_prev=datadir ;;
     393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     394  | --da=*)
     395    datadir=$ac_optarg ;;
     396
     397  -disable-* | --disable-*)
     398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     399    # Reject names that are not valid shell variable names.
     400    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     401      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     402   { (exit 1); exit 1; }; }
     403    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     404    eval "enable_$ac_feature=no" ;;
     405
     406  -enable-* | --enable-*)
     407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     408    # Reject names that are not valid shell variable names.
     409    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     410      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     411   { (exit 1); exit 1; }; }
     412    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     413    case $ac_option in
     414      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     415      *) ac_optarg=yes ;;
     416    esac
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
     418
     419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     420  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
     421  | --exec | --exe | --ex)
     422    ac_prev=exec_prefix ;;
     423  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
     424  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
     425  | --exec=* | --exe=* | --ex=*)
     426    exec_prefix=$ac_optarg ;;
     427
     428  -gas | --gas | --ga | --g)
     429    # Obsolete; use --with-gas.
     430    with_gas=yes ;;
     431
     432  -help | --help | --hel | --he | -h)
     433    ac_init_help=long ;;
     434  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     435    ac_init_help=recursive ;;
     436  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     437    ac_init_help=short ;;
     438
     439  -host | --host | --hos | --ho)
     440    ac_prev=host_alias ;;
     441  -host=* | --host=* | --hos=* | --ho=*)
     442    host_alias=$ac_optarg ;;
     443
     444  -includedir | --includedir | --includedi | --included | --include \
     445  | --includ | --inclu | --incl | --inc)
     446    ac_prev=includedir ;;
     447  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
     448  | --includ=* | --inclu=* | --incl=* | --inc=*)
     449    includedir=$ac_optarg ;;
     450
     451  -infodir | --infodir | --infodi | --infod | --info | --inf)
     452    ac_prev=infodir ;;
     453  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
     454    infodir=$ac_optarg ;;
     455
     456  -libdir | --libdir | --libdi | --libd)
     457    ac_prev=libdir ;;
     458  -libdir=* | --libdir=* | --libdi=* | --libd=*)
     459    libdir=$ac_optarg ;;
     460
     461  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     462  | --libexe | --libex | --libe)
     463    ac_prev=libexecdir ;;
     464  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
     465  | --libexe=* | --libex=* | --libe=*)
     466    libexecdir=$ac_optarg ;;
     467
     468  -localstatedir | --localstatedir | --localstatedi | --localstated \
     469  | --localstate | --localstat | --localsta | --localst \
     470  | --locals | --local | --loca | --loc | --lo)
     471    ac_prev=localstatedir ;;
     472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
     473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     475    localstatedir=$ac_optarg ;;
     476
     477  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
     478    ac_prev=mandir ;;
     479  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
     480    mandir=$ac_optarg ;;
     481
     482  -nfp | --nfp | --nf)
     483    # Obsolete; use --without-fp.
     484    with_fp=no ;;
     485
     486  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     487  | --no-cr | --no-c | -n)
     488    no_create=yes ;;
     489
     490  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     491  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
     492    no_recursion=yes ;;
     493
     494  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
     495  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
     496  | --oldin | --oldi | --old | --ol | --o)
     497    ac_prev=oldincludedir ;;
     498  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
     499  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
     500  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
     501    oldincludedir=$ac_optarg ;;
     502
     503  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
     504    ac_prev=prefix ;;
     505  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
     506    prefix=$ac_optarg ;;
     507
     508  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     509  | --program-pre | --program-pr | --program-p)
     510    ac_prev=program_prefix ;;
     511  -program-prefix=* | --program-prefix=* | --program-prefi=* \
     512  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
     513    program_prefix=$ac_optarg ;;
     514
     515  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     516  | --program-suf | --program-su | --program-s)
     517    ac_prev=program_suffix ;;
     518  -program-suffix=* | --program-suffix=* | --program-suffi=* \
     519  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
     520    program_suffix=$ac_optarg ;;
     521
     522  -program-transform-name | --program-transform-name \
     523  | --program-transform-nam | --program-transform-na \
     524  | --program-transform-n | --program-transform- \
     525  | --program-transform | --program-transfor \
     526  | --program-transfo | --program-transf \
     527  | --program-trans | --program-tran \
     528  | --progr-tra | --program-tr | --program-t)
     529    ac_prev=program_transform_name ;;
     530  -program-transform-name=* | --program-transform-name=* \
     531  | --program-transform-nam=* | --program-transform-na=* \
     532  | --program-transform-n=* | --program-transform-=* \
     533  | --program-transform=* | --program-transfor=* \
     534  | --program-transfo=* | --program-transf=* \
     535  | --program-trans=* | --program-tran=* \
     536  | --progr-tra=* | --program-tr=* | --program-t=*)
     537    program_transform_name=$ac_optarg ;;
     538
     539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     540  | -silent | --silent | --silen | --sile | --sil)
     541    silent=yes ;;
     542
     543  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     544    ac_prev=sbindir ;;
     545  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
     546  | --sbi=* | --sb=*)
     547    sbindir=$ac_optarg ;;
     548
     549  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     550  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
     551  | --sharedst | --shareds | --shared | --share | --shar \
     552  | --sha | --sh)
     553    ac_prev=sharedstatedir ;;
     554  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
     555  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
     556  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
     557  | --sha=* | --sh=*)
     558    sharedstatedir=$ac_optarg ;;
     559
     560  -site | --site | --sit)
     561    ac_prev=site ;;
     562  -site=* | --site=* | --sit=*)
     563    site=$ac_optarg ;;
     564
     565  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     566    ac_prev=srcdir ;;
     567  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
     568    srcdir=$ac_optarg ;;
     569
     570  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     571  | --syscon | --sysco | --sysc | --sys | --sy)
     572    ac_prev=sysconfdir ;;
     573  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
     574  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
     575    sysconfdir=$ac_optarg ;;
     576
     577  -target | --target | --targe | --targ | --tar | --ta | --t)
     578    ac_prev=target_alias ;;
     579  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
     580    target_alias=$ac_optarg ;;
     581
     582  -v | -verbose | --verbose | --verbos | --verbo | --verb)
     583    verbose=yes ;;
     584
     585  -version | --version | --versio | --versi | --vers | -V)
     586    ac_init_version=: ;;
     587
     588  -with-* | --with-*)
     589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     590    # Reject names that are not valid shell variable names.
     591    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     592      { echo "$as_me: error: invalid package name: $ac_package" >&2
     593   { (exit 1); exit 1; }; }
     594    ac_package=`echo $ac_package| sed 's/-/_/g'`
     595    case $ac_option in
     596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     597      *) ac_optarg=yes ;;
     598    esac
     599    eval "with_$ac_package='$ac_optarg'" ;;
     600
     601  -without-* | --without-*)
     602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     603    # Reject names that are not valid shell variable names.
     604    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     605      { echo "$as_me: error: invalid package name: $ac_package" >&2
     606   { (exit 1); exit 1; }; }
     607    ac_package=`echo $ac_package | sed 's/-/_/g'`
     608    eval "with_$ac_package=no" ;;
     609
     610  --x)
     611    # Obsolete; use --with-x.
     612    with_x=yes ;;
     613
     614  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
     615  | --x-incl | --x-inc | --x-in | --x-i)
     616    ac_prev=x_includes ;;
     617  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
     618  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
     619    x_includes=$ac_optarg ;;
     620
     621  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     622  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
     623    ac_prev=x_libraries ;;
     624  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
     625  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     626    x_libraries=$ac_optarg ;;
     627
     628  -*) { echo "$as_me: error: unrecognized option: $ac_option
     629Try \`$0 --help' for more information." >&2
     630   { (exit 1); exit 1; }; }
     631    ;;
     632
     633  *=*)
     634    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     635    # Reject names that are not valid shell variable names.
     636    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     637      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     638   { (exit 1); exit 1; }; }
     639    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     640    eval "$ac_envvar='$ac_optarg'"
     641    export $ac_envvar ;;
     642
     643  *)
     644    # FIXME: should be removed in autoconf 3.0.
     645    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     646    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     647      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     648    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     649    ;;
     650
     651  esac
     652done
     653
     654if test -n "$ac_prev"; then
     655  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     656  { echo "$as_me: error: missing argument to $ac_option" >&2
     657   { (exit 1); exit 1; }; }
     658fi
     659
     660# Be sure to have absolute paths.
     661for ac_var in exec_prefix prefix
     662do
     663  eval ac_val=$`echo $ac_var`
     664  case $ac_val in
     665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     667   { (exit 1); exit 1; }; };;
     668  esac
     669done
     670
     671# Be sure to have absolute paths.
     672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     673              localstatedir libdir includedir oldincludedir infodir mandir
     674do
     675  eval ac_val=$`echo $ac_var`
     676  case $ac_val in
     677    [\\/$]* | ?:[\\/]* ) ;;
     678    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     679   { (exit 1); exit 1; }; };;
     680  esac
     681done
     682
     683# There might be people who depend on the old broken behavior: `$host'
     684# used to hold the argument of --host etc.
     685# FIXME: To remove some day.
     686build=$build_alias
     687host=$host_alias
     688target=$target_alias
     689
     690# FIXME: To remove some day.
     691if test "x$host_alias" != x; then
     692  if test "x$build_alias" = x; then
     693    cross_compiling=maybe
     694    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     695    If a cross compiler is detected then cross compile mode will be used." >&2
     696  elif test "x$build_alias" != "x$host_alias"; then
     697    cross_compiling=yes
     698  fi
     699fi
     700
     701ac_tool_prefix=
     702test -n "$host_alias" && ac_tool_prefix=$host_alias-
     703
     704test "$silent" = yes && exec 6>/dev/null
     705
     706
     707# Find the source files, if location was not specified.
     708if test -z "$srcdir"; then
     709  ac_srcdir_defaulted=yes
     710  # Try the directory containing this script, then its parent.
     711  ac_confdir=`(dirname "$0") 2>/dev/null ||
     712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     713         X"$0" : 'X\(//\)[^/]' \| \
     714         X"$0" : 'X\(//\)$' \| \
     715         X"$0" : 'X\(/\)' \| \
     716         .     : '\(.\)' 2>/dev/null ||
     717echo X"$0" |
     718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     719          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     720          /^X\(\/\/\)$/{ s//\1/; q; }
     721          /^X\(\/\).*/{ s//\1/; q; }
     722          s/.*/./; q'`
     723  srcdir=$ac_confdir
     724  if test ! -r $srcdir/$ac_unique_file; then
     725    srcdir=..
     726  fi
     727else
     728  ac_srcdir_defaulted=no
     729fi
     730if test ! -r $srcdir/$ac_unique_file; then
     731  if test "$ac_srcdir_defaulted" = yes; then
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     733   { (exit 1); exit 1; }; }
     734  else
     735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     736   { (exit 1); exit 1; }; }
     737  fi
     738fi
     739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     741   { (exit 1); exit 1; }; }
     742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     743ac_env_build_alias_set=${build_alias+set}
     744ac_env_build_alias_value=$build_alias
     745ac_cv_env_build_alias_set=${build_alias+set}
     746ac_cv_env_build_alias_value=$build_alias
     747ac_env_host_alias_set=${host_alias+set}
     748ac_env_host_alias_value=$host_alias
     749ac_cv_env_host_alias_set=${host_alias+set}
     750ac_cv_env_host_alias_value=$host_alias
     751ac_env_target_alias_set=${target_alias+set}
     752ac_env_target_alias_value=$target_alias
     753ac_cv_env_target_alias_set=${target_alias+set}
     754ac_cv_env_target_alias_value=$target_alias
     755ac_env_CXX_set=${CXX+set}
     756ac_env_CXX_value=$CXX
     757ac_cv_env_CXX_set=${CXX+set}
     758ac_cv_env_CXX_value=$CXX
     759ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     760ac_env_CXXFLAGS_value=$CXXFLAGS
     761ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     762ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     763ac_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_env_LDFLAGS_value=$LDFLAGS
     765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     766ac_cv_env_LDFLAGS_value=$LDFLAGS
     767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_env_CPPFLAGS_value=$CPPFLAGS
     769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     771ac_env_CC_set=${CC+set}
     772ac_env_CC_value=$CC
     773ac_cv_env_CC_set=${CC+set}
     774ac_cv_env_CC_value=$CC
     775ac_env_CFLAGS_set=${CFLAGS+set}
     776ac_env_CFLAGS_value=$CFLAGS
     777ac_cv_env_CFLAGS_set=${CFLAGS+set}
     778ac_cv_env_CFLAGS_value=$CFLAGS
     779ac_env_CPP_set=${CPP+set}
     780ac_env_CPP_value=$CPP
     781ac_cv_env_CPP_set=${CPP+set}
     782ac_cv_env_CPP_value=$CPP
     783
     784#
     785# Report the --help message.
     786#
     787if test "$ac_init_help" = "long"; then
     788  # Omit some internal or obsolete options to make the list less imposing.
     789  # This message is too long to be a string in the A/UX 3.1 sh.
     790  cat <<_ACEOF
     791\`configure' configures orxonox 0.1-pre-alpha to adapt to many kinds of systems.
     792
     793Usage: $0 [OPTION]... [VAR=VALUE]...
     794
     795To assign environment variables (e.g., CC, CFLAGS...), specify them as
     796VAR=VALUE.  See below for descriptions of some of the useful variables.
     797
     798Defaults for the options are specified in brackets.
     799
     800Configuration:
     801  -h, --help              display this help and exit
     802      --help=short        display options specific to this package
     803      --help=recursive    display the short help of all the included packages
     804  -V, --version           display version information and exit
     805  -q, --quiet, --silent   do not print \`checking...' messages
     806      --cache-file=FILE   cache test results in FILE [disabled]
     807  -C, --config-cache      alias for \`--cache-file=config.cache'
     808  -n, --no-create         do not create output files
     809      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     810
     811_ACEOF
     812
     813  cat <<_ACEOF
     814Installation directories:
     815  --prefix=PREFIX         install architecture-independent files in PREFIX
     816                          [$ac_default_prefix]
     817  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     818                          [PREFIX]
     819
     820By default, \`make install' will install all the files in
     821\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     822an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     823for instance \`--prefix=\$HOME'.
     824
     825For better control, use the options below.
     826
     827Fine tuning of the installation directories:
     828  --bindir=DIR           user executables [EPREFIX/bin]
     829  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     830  --libexecdir=DIR       program executables [EPREFIX/libexec]
     831  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     832  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     833  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     834  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     835  --libdir=DIR           object code libraries [EPREFIX/lib]
     836  --includedir=DIR       C header files [PREFIX/include]
     837  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     838  --infodir=DIR          info documentation [PREFIX/info]
     839  --mandir=DIR           man documentation [PREFIX/man]
     840_ACEOF
     841
     842  cat <<\_ACEOF
     843
     844Program names:
     845  --program-prefix=PREFIX            prepend PREFIX to installed program names
     846  --program-suffix=SUFFIX            append SUFFIX to installed program names
     847  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     848_ACEOF
     849fi
     850
     851if test -n "$ac_init_help"; then
     852  case $ac_init_help in
     853     short | recursive ) echo "Configuration of orxonox 0.1-pre-alpha:";;
     854   esac
     855  cat <<\_ACEOF
     856
     857Optional Features:
     858  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     859  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     860  --disable-dependency-tracking Speeds up one-time builds
     861  --enable-dependency-tracking  Do not reject slow dependency extractors
     862
     863Some influential environment variables:
     864  CXX         C++ compiler command
     865  CXXFLAGS    C++ compiler flags
     866  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     867              nonstandard directory <lib dir>
     868  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     869              headers in a nonstandard directory <include dir>
     870  CC          C compiler command
     871  CFLAGS      C compiler flags
     872  CPP         C preprocessor
     873
     874Use these variables to override the choices made by `configure' or to help
     875it to find libraries and programs with nonstandard names/locations.
     876
     877Report bugs to <orxonox-dev@mail.datacore.ch>.
     878_ACEOF
     879fi
     880
     881if test "$ac_init_help" = "recursive"; then
     882  # If there are subdirs, report their specific --help.
     883  ac_popdir=`pwd`
     884  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     885    test -d $ac_dir || continue
     886    ac_builddir=.
     887
     888if test "$ac_dir" != .; then
     889  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     890  # A "../" for each directory in $ac_dir_suffix.
     891  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     892else
     893  ac_dir_suffix= ac_top_builddir=
     894fi
     895
     896case $srcdir in
     897  .)  # No --srcdir option.  We are building in place.
     898    ac_srcdir=.
     899    if test -z "$ac_top_builddir"; then
     900       ac_top_srcdir=.
     901    else
     902       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     903    fi ;;
     904  [\\/]* | ?:[\\/]* )  # Absolute path.
     905    ac_srcdir=$srcdir$ac_dir_suffix;
     906    ac_top_srcdir=$srcdir ;;
     907  *) # Relative path.
     908    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     909    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     910esac
     911
     912# Do not use `cd foo && pwd` to compute absolute paths, because
     913# the directories may not exist.
     914case `pwd` in
     915.) ac_abs_builddir="$ac_dir";;
     916*)
     917  case "$ac_dir" in
     918  .) ac_abs_builddir=`pwd`;;
     919  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     920  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     921  esac;;
     922esac
     923case $ac_abs_builddir in
     924.) ac_abs_top_builddir=${ac_top_builddir}.;;
     925*)
     926  case ${ac_top_builddir}. in
     927  .) ac_abs_top_builddir=$ac_abs_builddir;;
     928  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     929  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     930  esac;;
     931esac
     932case $ac_abs_builddir in
     933.) ac_abs_srcdir=$ac_srcdir;;
     934*)
     935  case $ac_srcdir in
     936  .) ac_abs_srcdir=$ac_abs_builddir;;
     937  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     938  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     939  esac;;
     940esac
     941case $ac_abs_builddir in
     942.) ac_abs_top_srcdir=$ac_top_srcdir;;
     943*)
     944  case $ac_top_srcdir in
     945  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     946  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     947  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     948  esac;;
     949esac
     950
     951    cd $ac_dir
     952    # Check for guested configure; otherwise get Cygnus style configure.
     953    if test -f $ac_srcdir/configure.gnu; then
     954      echo
     955      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     956    elif test -f $ac_srcdir/configure; then
     957      echo
     958      $SHELL $ac_srcdir/configure  --help=recursive
     959    elif test -f $ac_srcdir/configure.ac ||
     960           test -f $ac_srcdir/configure.in; then
     961      echo
     962      $ac_configure --help
     963    else
     964      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     965    fi
     966    cd $ac_popdir
     967  done
     968fi
     969
     970test -n "$ac_init_help" && exit 0
     971if $ac_init_version; then
     972  cat <<\_ACEOF
     973orxonox configure 0.1-pre-alpha
     974generated by GNU Autoconf 2.59
     975
     976Copyright (C) 2003 Free Software Foundation, Inc.
     977This configure script is free software; the Free Software Foundation
     978gives unlimited permission to copy, distribute and modify it.
     979_ACEOF
     980  exit 0
     981fi
     982exec 5>config.log
     983cat >&5 <<_ACEOF
     984This file contains any messages produced by compilers while
     985running configure, to aid debugging if configure makes a mistake.
     986
     987It was created by orxonox $as_me 0.1-pre-alpha, which was
     988generated by GNU Autoconf 2.59.  Invocation command line was
     989
     990  $ $0 $@
     991
     992_ACEOF
     993{
     994cat <<_ASUNAME
     995## --------- ##
     996## Platform. ##
     997## --------- ##
     998
     999hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     1000uname -m = `(uname -m) 2>/dev/null || echo unknown`
     1001uname -r = `(uname -r) 2>/dev/null || echo unknown`
     1002uname -s = `(uname -s) 2>/dev/null || echo unknown`
     1003uname -v = `(uname -v) 2>/dev/null || echo unknown`
     1004
     1005/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     1006/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     1007
     1008/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     1009/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     1010/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     1011hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1012/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     1013/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     1014/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     1015
     1016_ASUNAME
     1017
     1018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1019for as_dir in $PATH
     1020do
     1021  IFS=$as_save_IFS
     1022  test -z "$as_dir" && as_dir=.
     1023  echo "PATH: $as_dir"
     1024done
     1025
     1026} >&5
     1027
     1028cat >&5 <<_ACEOF
     1029
     1030
     1031## ----------- ##
     1032## Core tests. ##
     1033## ----------- ##
     1034
     1035_ACEOF
     1036
     1037
     1038# Keep a trace of the command line.
     1039# Strip out --no-create and --no-recursion so they do not pile up.
     1040# Strip out --silent because we don't want to record it for future runs.
     1041# Also quote any args containing shell meta-characters.
     1042# Make two passes to allow for proper duplicate-argument suppression.
     1043ac_configure_args=
     1044ac_configure_args0=
     1045ac_configure_args1=
     1046ac_sep=
     1047ac_must_keep_next=false
     1048for ac_pass in 1 2
     1049do
     1050  for ac_arg
     1051  do
     1052    case $ac_arg in
     1053    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     1054    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     1055    | -silent | --silent | --silen | --sile | --sil)
     1056      continue ;;
     1057    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1058      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1059    esac
     1060    case $ac_pass in
     1061    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1062    2)
     1063      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1064      if test $ac_must_keep_next = true; then
     1065        ac_must_keep_next=false # Got value, back to normal.
     1066      else
     1067        case $ac_arg in
     1068          *=* | --config-cache | -C | -disable-* | --disable-* \
     1069          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1070          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1071          | -with-* | --with-* | -without-* | --without-* | --x)
     1072            case "$ac_configure_args0 " in
     1073              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1074            esac
     1075            ;;
     1076          -* ) ac_must_keep_next=true ;;
     1077        esac
     1078      fi
     1079      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1080      # Get rid of the leading space.
     1081      ac_sep=" "
     1082      ;;
     1083    esac
     1084  done
     1085done
     1086$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1087$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1088
     1089# When interrupted or exit'd, cleanup temporary files, and complete
     1090# config.log.  We remove comments because anyway the quotes in there
     1091# would cause problems or look ugly.
     1092# WARNING: Be sure not to use single quotes in there, as some shells,
     1093# such as our DU 5.0 friend, will then `close' the trap.
     1094trap 'exit_status=$?
     1095  # Save into config.log some information that might help in debugging.
     1096  {
     1097    echo
     1098
     1099    cat <<\_ASBOX
     1100## ---------------- ##
     1101## Cache variables. ##
     1102## ---------------- ##
     1103_ASBOX
     1104    echo
     1105    # The following way of writing the cache mishandles newlines in values,
     1106{
     1107  (set) 2>&1 |
     1108    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1109    *ac_space=\ *)
     1110      sed -n \
     1111        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1112          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1113      ;;
     1114    *)
     1115      sed -n \
     1116        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1117      ;;
     1118    esac;
     1119}
     1120    echo
     1121
     1122    cat <<\_ASBOX
     1123## ----------------- ##
     1124## Output variables. ##
     1125## ----------------- ##
     1126_ASBOX
     1127    echo
     1128    for ac_var in $ac_subst_vars
     1129    do
     1130      eval ac_val=$`echo $ac_var`
     1131      echo "$ac_var='"'"'$ac_val'"'"'"
     1132    done | sort
     1133    echo
     1134
     1135    if test -n "$ac_subst_files"; then
     1136      cat <<\_ASBOX
     1137## ------------- ##
     1138## Output files. ##
     1139## ------------- ##
     1140_ASBOX
     1141      echo
     1142      for ac_var in $ac_subst_files
     1143      do
     1144        eval ac_val=$`echo $ac_var`
     1145        echo "$ac_var='"'"'$ac_val'"'"'"
     1146      done | sort
     1147      echo
     1148    fi
     1149
     1150    if test -s confdefs.h; then
     1151      cat <<\_ASBOX
     1152## ----------- ##
     1153## confdefs.h. ##
     1154## ----------- ##
     1155_ASBOX
     1156      echo
     1157      sed "/^$/d" confdefs.h | sort
     1158      echo
     1159    fi
     1160    test "$ac_signal" != 0 &&
     1161      echo "$as_me: caught signal $ac_signal"
     1162    echo "$as_me: exit $exit_status"
     1163  } >&5
     1164  rm -f core *.core &&
     1165  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1166    exit $exit_status
     1167     ' 0
     1168for ac_signal in 1 2 13 15; do
     1169  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1170done
     1171ac_signal=0
     1172
     1173# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1174rm -rf conftest* confdefs.h
     1175# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1176echo >confdefs.h
     1177
     1178# Predefined preprocessor variables.
     1179
     1180cat >>confdefs.h <<_ACEOF
     1181#define PACKAGE_NAME "$PACKAGE_NAME"
     1182_ACEOF
     1183
     1184
     1185cat >>confdefs.h <<_ACEOF
     1186#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1187_ACEOF
     1188
     1189
     1190cat >>confdefs.h <<_ACEOF
     1191#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1192_ACEOF
     1193
     1194
     1195cat >>confdefs.h <<_ACEOF
     1196#define PACKAGE_STRING "$PACKAGE_STRING"
     1197_ACEOF
     1198
     1199
     1200cat >>confdefs.h <<_ACEOF
     1201#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1202_ACEOF
     1203
     1204
     1205# Let the site file select an alternate cache file if it wants to.
     1206# Prefer explicitly selected file to automatically selected ones.
     1207if test -z "$CONFIG_SITE"; then
     1208  if test "x$prefix" != xNONE; then
     1209    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1210  else
     1211    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1212  fi
     1213fi
     1214for ac_site_file in $CONFIG_SITE; do
     1215  if test -r "$ac_site_file"; then
     1216    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1217echo "$as_me: loading site script $ac_site_file" >&6;}
     1218    sed 's/^/| /' "$ac_site_file" >&5
     1219    . "$ac_site_file"
     1220  fi
     1221done
     1222
     1223if test -r "$cache_file"; then
     1224  # Some versions of bash will fail to source /dev/null (special
     1225  # files actually), so we avoid doing that.
     1226  if test -f "$cache_file"; then
     1227    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1228echo "$as_me: loading cache $cache_file" >&6;}
     1229    case $cache_file in
     1230      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1231      *)                      . ./$cache_file;;
     1232    esac
     1233  fi
     1234else
     1235  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1236echo "$as_me: creating cache $cache_file" >&6;}
     1237  >$cache_file
     1238fi
     1239
     1240# Check that the precious variables saved in the cache have kept the same
     1241# value.
     1242ac_cache_corrupted=false
     1243for ac_var in `(set) 2>&1 |
     1244               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1245  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1246  eval ac_new_set=\$ac_env_${ac_var}_set
     1247  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1248  eval ac_new_val="\$ac_env_${ac_var}_value"
     1249  case $ac_old_set,$ac_new_set in
     1250    set,)
     1251      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1252echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1253      ac_cache_corrupted=: ;;
     1254    ,set)
     1255      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1256echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1257      ac_cache_corrupted=: ;;
     1258    ,);;
     1259    *)
     1260      if test "x$ac_old_val" != "x$ac_new_val"; then
     1261        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1262echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1263        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1264echo "$as_me:   former value:  $ac_old_val" >&2;}
     1265        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1266echo "$as_me:   current value: $ac_new_val" >&2;}
     1267        ac_cache_corrupted=:
     1268      fi;;
     1269  esac
     1270  # Pass precious variables to config.status.
     1271  if test "$ac_new_set" = set; then
     1272    case $ac_new_val in
     1273    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1274      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1275    *) ac_arg=$ac_var=$ac_new_val ;;
     1276    esac
     1277    case " $ac_configure_args " in
     1278      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1279      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1280    esac
     1281  fi
     1282done
     1283if $ac_cache_corrupted; then
     1284  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1285echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1286  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1287echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1288   { (exit 1); exit 1; }; }
     1289fi
     1290
     1291ac_ext=c
     1292ac_cpp='$CPP $CPPFLAGS'
     1293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1295ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1296
     1297
     1298
     1299
     1300
     1301
     1302
     1303
     1304
     1305
     1306
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324          ac_config_headers="$ac_config_headers config.h"
     1325
     1326am__api_version="1.7"
     1327ac_aux_dir=
     1328for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1329  if test -f $ac_dir/install-sh; then
     1330    ac_aux_dir=$ac_dir
     1331    ac_install_sh="$ac_aux_dir/install-sh -c"
     1332    break
     1333  elif test -f $ac_dir/install.sh; then
     1334    ac_aux_dir=$ac_dir
     1335    ac_install_sh="$ac_aux_dir/install.sh -c"
     1336    break
     1337  elif test -f $ac_dir/shtool; then
     1338    ac_aux_dir=$ac_dir
     1339    ac_install_sh="$ac_aux_dir/shtool install -c"
     1340    break
     1341  fi
     1342done
     1343if test -z "$ac_aux_dir"; then
     1344  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1345echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1346   { (exit 1); exit 1; }; }
     1347fi
     1348ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1349ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1350ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1351
     1352# Find a good install program.  We prefer a C program (faster),
     1353# so one script is as good as another.  But avoid the broken or
     1354# incompatible versions:
     1355# SysV /etc/install, /usr/sbin/install
     1356# SunOS /usr/etc/install
     1357# IRIX /sbin/install
     1358# AIX /bin/install
     1359# AmigaOS /C/install, which installs bootblocks on floppy discs
     1360# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     1361# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     1362# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1363# OS/2's system install, which has a completely different semantic
     1364# ./install, which can be erroneously created by make from ./install.sh.
     1365echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1366echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1367if test -z "$INSTALL"; then
     1368if test "${ac_cv_path_install+set}" = set; then
     1369  echo $ECHO_N "(cached) $ECHO_C" >&6
     1370else
     1371  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1372for as_dir in $PATH
     1373do
     1374  IFS=$as_save_IFS
     1375  test -z "$as_dir" && as_dir=.
     1376  # Account for people who put trailing slashes in PATH elements.
     1377case $as_dir/ in
     1378  ./ | .// | /cC/* | \
     1379  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1380  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     1381  /usr/ucb/* ) ;;
     1382  *)
     1383    # OSF1 and SCO ODT 3.0 have their own names for install.
     1384    # Don't use installbsd from OSF since it installs stuff as root
     1385    # by default.
     1386    for ac_prog in ginstall scoinst install; do
     1387      for ac_exec_ext in '' $ac_executable_extensions; do
     1388        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1389          if test $ac_prog = install &&
     1390            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1391            # AIX install.  It has an incompatible calling convention.
     1392            :
     1393          elif test $ac_prog = install &&
     1394            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1395            # program-specific install script used by HP pwplus--don't use.
     1396            :
     1397          else
     1398            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1399            break 3
     1400          fi
    911401        fi
    92 fi
    93 
    94 
    95 ## Check GtK Installation
    96 ##############################################################
    97 if [ $ENABLE_GTK == "yes" ]; then
    98         print_topic "Checking for GtK Support"
    99         if check_for_gtk_config; then
    100                 print_ack
    101                 print_info "gtk-config found: $GTK_CONFIG"
    102         else
    103                 print_nack
    104                 print_warning "You won't be able to use our gtk config"
    105                 print_warning "menu. This ain't gonna hurt..."
    106         fi
    107 fi
    108 
    109 ## Write Makefile
    110 ###############################################################
    111 print_topic "Writing out Makefile"
    112 if [ $ENABLE_GLUT == "yes" ]; then
    113         if [ $ENABLE_GLUT == "yes" ]; then
    114                 cp scripts/Makefile.all Makefile > /dev/null
    115         else
    116                 cp scripts/Makefile.GLUT Makefile > /dev/null
    117         fi
    118 fi
    119 if [ -f Makefile ]; then
    120         print_ack
    121 else
    122         print_nack
    123         print_error "This error should not occure, please send"
    124         print_error "a full bug-report to $SUPPORT_ADDRESS"
    125         exit 1
    126 fi
    127 print_separator
    128 print_message "Configure finished"
    129 print_newline
    130 print_message "Now, type 'make' to build Orxonox"
    131 print_newline
    132 
    133 ### EOF
     1402      done
     1403    done
     1404    ;;
     1405esac
     1406done
     1407
     1408
     1409fi
     1410  if test "${ac_cv_path_install+set}" = set; then
     1411    INSTALL=$ac_cv_path_install
     1412  else
     1413    # As a last resort, use the slow shell script.  We don't cache a
     1414    # path for INSTALL within a source directory, because that will
     1415    # break other packages using the cache if that directory is
     1416    # removed, or if the path is relative.
     1417    INSTALL=$ac_install_sh
     1418  fi
     1419fi
     1420echo "$as_me:$LINENO: result: $INSTALL" >&5
     1421echo "${ECHO_T}$INSTALL" >&6
     1422
     1423# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     1424# It thinks the first close brace ends the variable substitution.
     1425test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     1426
     1427test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1428
     1429test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     1430
     1431echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     1432echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
     1433# Just in case
     1434sleep 1
     1435echo timestamp > conftest.file
     1436# Do `set' in a subshell so we don't clobber the current shell's
     1437# arguments.  Must try -L first in case configure is actually a
     1438# symlink; some systems play weird games with the mod time of symlinks
     1439# (eg FreeBSD returns the mod time of the symlink's containing
     1440# directory).
     1441if (
     1442   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
     1443   if test "$*" = "X"; then
     1444      # -L didn't work.
     1445      set X `ls -t $srcdir/configure conftest.file`
     1446   fi
     1447   rm -f conftest.file
     1448   if test "$*" != "X $srcdir/configure conftest.file" \
     1449      && test "$*" != "X conftest.file $srcdir/configure"; then
     1450
     1451      # If neither matched, then we have a broken ls.  This can happen
     1452      # if, for instance, CONFIG_SHELL is bash and it inherits a
     1453      # broken ls alias from the environment.  This has actually
     1454      # happened.  Such a system could not be considered "sane".
     1455      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     1456alias in your environment" >&5
     1457echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     1458alias in your environment" >&2;}
     1459   { (exit 1); exit 1; }; }
     1460   fi
     1461
     1462   test "$2" = conftest.file
     1463   )
     1464then
     1465   # Ok.
     1466   :
     1467else
     1468   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     1469Check your system clock" >&5
     1470echo "$as_me: error: newly created file is older than distributed files!
     1471Check your system clock" >&2;}
     1472   { (exit 1); exit 1; }; }
     1473fi
     1474echo "$as_me:$LINENO: result: yes" >&5
     1475echo "${ECHO_T}yes" >&6
     1476test "$program_prefix" != NONE &&
     1477  program_transform_name="s,^,$program_prefix,;$program_transform_name"
     1478# Use a double $ so make ignores it.
     1479test "$program_suffix" != NONE &&
     1480  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     1481# Double any \ or $.  echo might interpret backslashes.
     1482# By default was `s,x,x', remove it if useless.
     1483cat <<\_ACEOF >conftest.sed
     1484s/[\\$]/&&/g;s/;s,x,x,$//
     1485_ACEOF
     1486program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     1487rm conftest.sed
     1488
     1489
     1490# expand $ac_aux_dir to an absolute path
     1491am_aux_dir=`cd $ac_aux_dir && pwd`
     1492
     1493test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     1494# Use eval to expand $SHELL
     1495if eval "$MISSING --run true"; then
     1496  am_missing_run="$MISSING --run "
     1497else
     1498  am_missing_run=
     1499  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     1500echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     1501fi
     1502
     1503for ac_prog in gawk mawk nawk awk
     1504do
     1505  # Extract the first word of "$ac_prog", so it can be a program name with args.
     1506set dummy $ac_prog; ac_word=$2
     1507echo "$as_me:$LINENO: checking for $ac_word" >&5
     1508echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1509if test "${ac_cv_prog_AWK+set}" = set; then
     1510  echo $ECHO_N "(cached) $ECHO_C" >&6
     1511else
     1512  if test -n "$AWK"; then
     1513  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     1514else
     1515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1516for as_dir in $PATH
     1517do
     1518  IFS=$as_save_IFS
     1519  test -z "$as_dir" && as_dir=.
     1520  for ac_exec_ext in '' $ac_executable_extensions; do
     1521  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1522    ac_cv_prog_AWK="$ac_prog"
     1523    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1524    break 2
     1525  fi
     1526done
     1527done
     1528
     1529fi
     1530fi
     1531AWK=$ac_cv_prog_AWK
     1532if test -n "$AWK"; then
     1533  echo "$as_me:$LINENO: result: $AWK" >&5
     1534echo "${ECHO_T}$AWK" >&6
     1535else
     1536  echo "$as_me:$LINENO: result: no" >&5
     1537echo "${ECHO_T}no" >&6
     1538fi
     1539
     1540  test -n "$AWK" && break
     1541done
     1542
     1543echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     1544echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     1545set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1546if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     1547  echo $ECHO_N "(cached) $ECHO_C" >&6
     1548else
     1549  cat >conftest.make <<\_ACEOF
     1550all:
     1551        @echo 'ac_maketemp="$(MAKE)"'
     1552_ACEOF
     1553# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     1554eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     1555if test -n "$ac_maketemp"; then
     1556  eval ac_cv_prog_make_${ac_make}_set=yes
     1557else
     1558  eval ac_cv_prog_make_${ac_make}_set=no
     1559fi
     1560rm -f conftest.make
     1561fi
     1562if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     1563  echo "$as_me:$LINENO: result: yes" >&5
     1564echo "${ECHO_T}yes" >&6
     1565  SET_MAKE=
     1566else
     1567  echo "$as_me:$LINENO: result: no" >&5
     1568echo "${ECHO_T}no" >&6
     1569  SET_MAKE="MAKE=${MAKE-make}"
     1570fi
     1571
     1572rm -rf .tst 2>/dev/null
     1573mkdir .tst 2>/dev/null
     1574if test -d .tst; then
     1575  am__leading_dot=.
     1576else
     1577  am__leading_dot=_
     1578fi
     1579rmdir .tst 2>/dev/null
     1580
     1581 # test to see if srcdir already configured
     1582if test "`cd $srcdir && pwd`" != "`pwd`" &&
     1583   test -f $srcdir/config.status; then
     1584  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
     1585echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
     1586   { (exit 1); exit 1; }; }
     1587fi
     1588
     1589# test whether we have cygpath
     1590if test -z "$CYGPATH_W"; then
     1591  if (cygpath --version) >/dev/null 2>/dev/null; then
     1592    CYGPATH_W='cygpath -w'
     1593  else
     1594    CYGPATH_W=echo
     1595  fi
     1596fi
     1597
     1598
     1599# Define the identity of the package.
     1600 PACKAGE='orxonox'
     1601 VERSION='0.1-pre-alpha'
     1602
     1603
     1604cat >>confdefs.h <<_ACEOF
     1605#define PACKAGE "$PACKAGE"
     1606_ACEOF
     1607
     1608
     1609cat >>confdefs.h <<_ACEOF
     1610#define VERSION "$VERSION"
     1611_ACEOF
     1612
     1613# Some tools Automake needs.
     1614
     1615ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     1616
     1617
     1618AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     1619
     1620
     1621AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     1622
     1623
     1624AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     1625
     1626
     1627MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     1628
     1629
     1630AMTAR=${AMTAR-"${am_missing_run}tar"}
     1631
     1632install_sh=${install_sh-"$am_aux_dir/install-sh"}
     1633
     1634# Installed binaries are usually stripped using `strip' when the user
     1635# run `make install-strip'.  However `strip' might not be the right
     1636# tool to use in cross-compilation environments, therefore Automake
     1637# will honor the `STRIP' environment variable to overrule this program.
     1638if test "$cross_compiling" != no; then
     1639  if test -n "$ac_tool_prefix"; then
     1640  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     1641set dummy ${ac_tool_prefix}strip; ac_word=$2
     1642echo "$as_me:$LINENO: checking for $ac_word" >&5
     1643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1644if test "${ac_cv_prog_STRIP+set}" = set; then
     1645  echo $ECHO_N "(cached) $ECHO_C" >&6
     1646else
     1647  if test -n "$STRIP"; then
     1648  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     1649else
     1650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1651for as_dir in $PATH
     1652do
     1653  IFS=$as_save_IFS
     1654  test -z "$as_dir" && as_dir=.
     1655  for ac_exec_ext in '' $ac_executable_extensions; do
     1656  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1657    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     1658    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1659    break 2
     1660  fi
     1661done
     1662done
     1663
     1664fi
     1665fi
     1666STRIP=$ac_cv_prog_STRIP
     1667if test -n "$STRIP"; then
     1668  echo "$as_me:$LINENO: result: $STRIP" >&5
     1669echo "${ECHO_T}$STRIP" >&6
     1670else
     1671  echo "$as_me:$LINENO: result: no" >&5
     1672echo "${ECHO_T}no" >&6
     1673fi
     1674
     1675fi
     1676if test -z "$ac_cv_prog_STRIP"; then
     1677  ac_ct_STRIP=$STRIP
     1678  # Extract the first word of "strip", so it can be a program name with args.
     1679set dummy strip; ac_word=$2
     1680echo "$as_me:$LINENO: checking for $ac_word" >&5
     1681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1682if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
     1683  echo $ECHO_N "(cached) $ECHO_C" >&6
     1684else
     1685  if test -n "$ac_ct_STRIP"; then
     1686  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     1687else
     1688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1689for as_dir in $PATH
     1690do
     1691  IFS=$as_save_IFS
     1692  test -z "$as_dir" && as_dir=.
     1693  for ac_exec_ext in '' $ac_executable_extensions; do
     1694  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1695    ac_cv_prog_ac_ct_STRIP="strip"
     1696    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1697    break 2
     1698  fi
     1699done
     1700done
     1701
     1702  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
     1703fi
     1704fi
     1705ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     1706if test -n "$ac_ct_STRIP"; then
     1707  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     1708echo "${ECHO_T}$ac_ct_STRIP" >&6
     1709else
     1710  echo "$as_me:$LINENO: result: no" >&5
     1711echo "${ECHO_T}no" >&6
     1712fi
     1713
     1714  STRIP=$ac_ct_STRIP
     1715else
     1716  STRIP="$ac_cv_prog_STRIP"
     1717fi
     1718
     1719fi
     1720INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
     1721
     1722# We need awk for the "check" target.  The system "awk" is bad on
     1723# some platforms.
     1724
     1725
     1726
     1727
     1728# Checks for programs.
     1729ac_ext=cc
     1730ac_cpp='$CXXCPP $CPPFLAGS'
     1731ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1732ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1733ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     1734if test -n "$ac_tool_prefix"; then
     1735  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     1736  do
     1737    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     1738set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     1739echo "$as_me:$LINENO: checking for $ac_word" >&5
     1740echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1741if test "${ac_cv_prog_CXX+set}" = set; then
     1742  echo $ECHO_N "(cached) $ECHO_C" >&6
     1743else
     1744  if test -n "$CXX"; then
     1745  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     1746else
     1747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1748for as_dir in $PATH
     1749do
     1750  IFS=$as_save_IFS
     1751  test -z "$as_dir" && as_dir=.
     1752  for ac_exec_ext in '' $ac_executable_extensions; do
     1753  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1754    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     1755    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1756    break 2
     1757  fi
     1758done
     1759done
     1760
     1761fi
     1762fi
     1763CXX=$ac_cv_prog_CXX
     1764if test -n "$CXX"; then
     1765  echo "$as_me:$LINENO: result: $CXX" >&5
     1766echo "${ECHO_T}$CXX" >&6
     1767else
     1768  echo "$as_me:$LINENO: result: no" >&5
     1769echo "${ECHO_T}no" >&6
     1770fi
     1771
     1772    test -n "$CXX" && break
     1773  done
     1774fi
     1775if test -z "$CXX"; then
     1776  ac_ct_CXX=$CXX
     1777  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     1778do
     1779  # Extract the first word of "$ac_prog", so it can be a program name with args.
     1780set dummy $ac_prog; ac_word=$2
     1781echo "$as_me:$LINENO: checking for $ac_word" >&5
     1782echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1783if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     1784  echo $ECHO_N "(cached) $ECHO_C" >&6
     1785else
     1786  if test -n "$ac_ct_CXX"; then
     1787  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     1788else
     1789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1790for as_dir in $PATH
     1791do
     1792  IFS=$as_save_IFS
     1793  test -z "$as_dir" && as_dir=.
     1794  for ac_exec_ext in '' $ac_executable_extensions; do
     1795  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1796    ac_cv_prog_ac_ct_CXX="$ac_prog"
     1797    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1798    break 2
     1799  fi
     1800done
     1801done
     1802
     1803fi
     1804fi
     1805ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     1806if test -n "$ac_ct_CXX"; then
     1807  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     1808echo "${ECHO_T}$ac_ct_CXX" >&6
     1809else
     1810  echo "$as_me:$LINENO: result: no" >&5
     1811echo "${ECHO_T}no" >&6
     1812fi
     1813
     1814  test -n "$ac_ct_CXX" && break
     1815done
     1816test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     1817
     1818  CXX=$ac_ct_CXX
     1819fi
     1820
     1821
     1822# Provide some information about the compiler.
     1823echo "$as_me:$LINENO:" \
     1824     "checking for C++ compiler version" >&5
     1825ac_compiler=`set X $ac_compile; echo $2`
     1826{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1827  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1828  ac_status=$?
     1829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1830  (exit $ac_status); }
     1831{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1832  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1833  ac_status=$?
     1834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1835  (exit $ac_status); }
     1836{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1837  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1838  ac_status=$?
     1839  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1840  (exit $ac_status); }
     1841
     1842cat >conftest.$ac_ext <<_ACEOF
     1843/* confdefs.h.  */
     1844_ACEOF
     1845cat confdefs.h >>conftest.$ac_ext
     1846cat >>conftest.$ac_ext <<_ACEOF
     1847/* end confdefs.h.  */
     1848
     1849int
     1850main ()
     1851{
     1852
     1853  ;
     1854  return 0;
     1855}
     1856_ACEOF
     1857ac_clean_files_save=$ac_clean_files
     1858ac_clean_files="$ac_clean_files a.out a.exe b.out"
     1859# Try to create an executable without -o first, disregard a.out.
     1860# It will help us diagnose broken compilers, and finding out an intuition
     1861# of exeext.
     1862echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
     1863echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
     1864ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1865if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1866  (eval $ac_link_default) 2>&5
     1867  ac_status=$?
     1868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1869  (exit $ac_status); }; then
     1870  # Find the output, starting from the most likely.  This scheme is
     1871# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1872# resort.
     1873
     1874# Be careful to initialize this variable, since it used to be cached.
     1875# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1876ac_cv_exeext=
     1877# b.out is created by i960 compilers.
     1878for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     1879do
     1880  test -f "$ac_file" || continue
     1881  case $ac_file in
     1882    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1883        ;;
     1884    conftest.$ac_ext )
     1885        # This is the source file.
     1886        ;;
     1887    [ab].out )
     1888        # We found the default executable, but exeext='' is most
     1889        # certainly right.
     1890        break;;
     1891    *.* )
     1892        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1893        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1894        # but it would be cool to find out if it's true.  Does anybody
     1895        # maintain Libtool? --akim.
     1896        export ac_cv_exeext
     1897        break;;
     1898    * )
     1899        break;;
     1900  esac
     1901done
     1902else
     1903  echo "$as_me: failed program was:" >&5
     1904sed 's/^/| /' conftest.$ac_ext >&5
     1905
     1906{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
     1907See \`config.log' for more details." >&5
     1908echo "$as_me: error: C++ compiler cannot create executables
     1909See \`config.log' for more details." >&2;}
     1910   { (exit 77); exit 77; }; }
     1911fi
     1912
     1913ac_exeext=$ac_cv_exeext
     1914echo "$as_me:$LINENO: result: $ac_file" >&5
     1915echo "${ECHO_T}$ac_file" >&6
     1916
     1917# Check the compiler produces executables we can run.  If not, either
     1918# the compiler is broken, or we cross compile.
     1919echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
     1920echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
     1921# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     1922# If not cross compiling, check that we can run a simple program.
     1923if test "$cross_compiling" != yes; then
     1924  if { ac_try='./$ac_file'
     1925  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1926  (eval $ac_try) 2>&5
     1927  ac_status=$?
     1928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1929  (exit $ac_status); }; }; then
     1930    cross_compiling=no
     1931  else
     1932    if test "$cross_compiling" = maybe; then
     1933        cross_compiling=yes
     1934    else
     1935        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
     1936If you meant to cross compile, use \`--host'.
     1937See \`config.log' for more details." >&5
     1938echo "$as_me: error: cannot run C++ compiled programs.
     1939If you meant to cross compile, use \`--host'.
     1940See \`config.log' for more details." >&2;}
     1941   { (exit 1); exit 1; }; }
     1942    fi
     1943  fi
     1944fi
     1945echo "$as_me:$LINENO: result: yes" >&5
     1946echo "${ECHO_T}yes" >&6
     1947
     1948rm -f a.out a.exe conftest$ac_cv_exeext b.out
     1949ac_clean_files=$ac_clean_files_save
     1950# Check the compiler produces executables we can run.  If not, either
     1951# the compiler is broken, or we cross compile.
     1952echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1953echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1954echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1955echo "${ECHO_T}$cross_compiling" >&6
     1956
     1957echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1958echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1959if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1960  (eval $ac_link) 2>&5
     1961  ac_status=$?
     1962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1963  (exit $ac_status); }; then
     1964  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     1965# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     1966# work properly (i.e., refer to `conftest.exe'), while it won't with
     1967# `rm'.
     1968for ac_file in conftest.exe conftest conftest.*; do
     1969  test -f "$ac_file" || continue
     1970  case $ac_file in
     1971    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     1972    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1973          export ac_cv_exeext
     1974          break;;
     1975    * ) break;;
     1976  esac
     1977done
     1978else
     1979  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     1980See \`config.log' for more details." >&5
     1981echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     1982See \`config.log' for more details." >&2;}
     1983   { (exit 1); exit 1; }; }
     1984fi
     1985
     1986rm -f conftest$ac_cv_exeext
     1987echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1988echo "${ECHO_T}$ac_cv_exeext" >&6
     1989
     1990rm -f conftest.$ac_ext
     1991EXEEXT=$ac_cv_exeext
     1992ac_exeext=$EXEEXT
     1993echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1994echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     1995if test "${ac_cv_objext+set}" = set; then
     1996  echo $ECHO_N "(cached) $ECHO_C" >&6
     1997else
     1998  cat >conftest.$ac_ext <<_ACEOF
     1999/* confdefs.h.  */
     2000_ACEOF
     2001cat confdefs.h >>conftest.$ac_ext
     2002cat >>conftest.$ac_ext <<_ACEOF
     2003/* end confdefs.h.  */
     2004
     2005int
     2006main ()
     2007{
     2008
     2009  ;
     2010  return 0;
     2011}
     2012_ACEOF
     2013rm -f conftest.o conftest.obj
     2014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2015  (eval $ac_compile) 2>&5
     2016  ac_status=$?
     2017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2018  (exit $ac_status); }; then
     2019  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2020  case $ac_file in
     2021    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2022    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     2023       break;;
     2024  esac
     2025done
     2026else
     2027  echo "$as_me: failed program was:" >&5
     2028sed 's/^/| /' conftest.$ac_ext >&5
     2029
     2030{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2031See \`config.log' for more details." >&5
     2032echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2033See \`config.log' for more details." >&2;}
     2034   { (exit 1); exit 1; }; }
     2035fi
     2036
     2037rm -f conftest.$ac_cv_objext conftest.$ac_ext
     2038fi
     2039echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2040echo "${ECHO_T}$ac_cv_objext" >&6
     2041OBJEXT=$ac_cv_objext
     2042ac_objext=$OBJEXT
     2043echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2044echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2045if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2046  echo $ECHO_N "(cached) $ECHO_C" >&6
     2047else
     2048  cat >conftest.$ac_ext <<_ACEOF
     2049/* confdefs.h.  */
     2050_ACEOF
     2051cat confdefs.h >>conftest.$ac_ext
     2052cat >>conftest.$ac_ext <<_ACEOF
     2053/* end confdefs.h.  */
     2054
     2055int
     2056main ()
     2057{
     2058#ifndef __GNUC__
     2059       choke me
     2060#endif
     2061
     2062  ;
     2063  return 0;
     2064}
     2065_ACEOF
     2066rm -f conftest.$ac_objext
     2067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2068  (eval $ac_compile) 2>conftest.er1
     2069  ac_status=$?
     2070  grep -v '^ *+' conftest.er1 >conftest.err
     2071  rm -f conftest.er1
     2072  cat conftest.err >&5
     2073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2074  (exit $ac_status); } &&
     2075         { ac_try='test -z "$ac_cxx_werror_flag"
     2076                         || test ! -s conftest.err'
     2077  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2078  (eval $ac_try) 2>&5
     2079  ac_status=$?
     2080  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2081  (exit $ac_status); }; } &&
     2082         { ac_try='test -s conftest.$ac_objext'
     2083  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2084  (eval $ac_try) 2>&5
     2085  ac_status=$?
     2086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2087  (exit $ac_status); }; }; then
     2088  ac_compiler_gnu=yes
     2089else
     2090  echo "$as_me: failed program was:" >&5
     2091sed 's/^/| /' conftest.$ac_ext >&5
     2092
     2093ac_compiler_gnu=no
     2094fi
     2095rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2096ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     2097
     2098fi
     2099echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2100echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2101GXX=`test $ac_compiler_gnu = yes && echo yes`
     2102ac_test_CXXFLAGS=${CXXFLAGS+set}
     2103ac_save_CXXFLAGS=$CXXFLAGS
     2104CXXFLAGS="-g"
     2105echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2106echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2107if test "${ac_cv_prog_cxx_g+set}" = set; then
     2108  echo $ECHO_N "(cached) $ECHO_C" >&6
     2109else
     2110  cat >conftest.$ac_ext <<_ACEOF
     2111/* confdefs.h.  */
     2112_ACEOF
     2113cat confdefs.h >>conftest.$ac_ext
     2114cat >>conftest.$ac_ext <<_ACEOF
     2115/* end confdefs.h.  */
     2116
     2117int
     2118main ()
     2119{
     2120
     2121  ;
     2122  return 0;
     2123}
     2124_ACEOF
     2125rm -f conftest.$ac_objext
     2126if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2127  (eval $ac_compile) 2>conftest.er1
     2128  ac_status=$?
     2129  grep -v '^ *+' conftest.er1 >conftest.err
     2130  rm -f conftest.er1
     2131  cat conftest.err >&5
     2132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2133  (exit $ac_status); } &&
     2134         { ac_try='test -z "$ac_cxx_werror_flag"
     2135                         || test ! -s conftest.err'
     2136  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2137  (eval $ac_try) 2>&5
     2138  ac_status=$?
     2139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2140  (exit $ac_status); }; } &&
     2141         { ac_try='test -s conftest.$ac_objext'
     2142  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2143  (eval $ac_try) 2>&5
     2144  ac_status=$?
     2145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2146  (exit $ac_status); }; }; then
     2147  ac_cv_prog_cxx_g=yes
     2148else
     2149  echo "$as_me: failed program was:" >&5
     2150sed 's/^/| /' conftest.$ac_ext >&5
     2151
     2152ac_cv_prog_cxx_g=no
     2153fi
     2154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2155fi
     2156echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2157echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     2158if test "$ac_test_CXXFLAGS" = set; then
     2159  CXXFLAGS=$ac_save_CXXFLAGS
     2160elif test $ac_cv_prog_cxx_g = yes; then
     2161  if test "$GXX" = yes; then
     2162    CXXFLAGS="-g -O2"
     2163  else
     2164    CXXFLAGS="-g"
     2165  fi
     2166else
     2167  if test "$GXX" = yes; then
     2168    CXXFLAGS="-O2"
     2169  else
     2170    CXXFLAGS=
     2171  fi
     2172fi
     2173for ac_declaration in \
     2174   '' \
     2175   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2176   'extern "C" void std::exit (int); using std::exit;' \
     2177   'extern "C" void exit (int) throw ();' \
     2178   'extern "C" void exit (int);' \
     2179   'void exit (int);'
     2180do
     2181  cat >conftest.$ac_ext <<_ACEOF
     2182/* confdefs.h.  */
     2183_ACEOF
     2184cat confdefs.h >>conftest.$ac_ext
     2185cat >>conftest.$ac_ext <<_ACEOF
     2186/* end confdefs.h.  */
     2187$ac_declaration
     2188#include <stdlib.h>
     2189int
     2190main ()
     2191{
     2192exit (42);
     2193  ;
     2194  return 0;
     2195}
     2196_ACEOF
     2197rm -f conftest.$ac_objext
     2198if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2199  (eval $ac_compile) 2>conftest.er1
     2200  ac_status=$?
     2201  grep -v '^ *+' conftest.er1 >conftest.err
     2202  rm -f conftest.er1
     2203  cat conftest.err >&5
     2204  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2205  (exit $ac_status); } &&
     2206         { ac_try='test -z "$ac_cxx_werror_flag"
     2207                         || test ! -s conftest.err'
     2208  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2209  (eval $ac_try) 2>&5
     2210  ac_status=$?
     2211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2212  (exit $ac_status); }; } &&
     2213         { ac_try='test -s conftest.$ac_objext'
     2214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2215  (eval $ac_try) 2>&5
     2216  ac_status=$?
     2217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2218  (exit $ac_status); }; }; then
     2219  :
     2220else
     2221  echo "$as_me: failed program was:" >&5
     2222sed 's/^/| /' conftest.$ac_ext >&5
     2223
     2224continue
     2225fi
     2226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2227  cat >conftest.$ac_ext <<_ACEOF
     2228/* confdefs.h.  */
     2229_ACEOF
     2230cat confdefs.h >>conftest.$ac_ext
     2231cat >>conftest.$ac_ext <<_ACEOF
     2232/* end confdefs.h.  */
     2233$ac_declaration
     2234int
     2235main ()
     2236{
     2237exit (42);
     2238  ;
     2239  return 0;
     2240}
     2241_ACEOF
     2242rm -f conftest.$ac_objext
     2243if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2244  (eval $ac_compile) 2>conftest.er1
     2245  ac_status=$?
     2246  grep -v '^ *+' conftest.er1 >conftest.err
     2247  rm -f conftest.er1
     2248  cat conftest.err >&5
     2249  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2250  (exit $ac_status); } &&
     2251         { ac_try='test -z "$ac_cxx_werror_flag"
     2252                         || test ! -s conftest.err'
     2253  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2254  (eval $ac_try) 2>&5
     2255  ac_status=$?
     2256  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2257  (exit $ac_status); }; } &&
     2258         { ac_try='test -s conftest.$ac_objext'
     2259  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2260  (eval $ac_try) 2>&5
     2261  ac_status=$?
     2262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2263  (exit $ac_status); }; }; then
     2264  break
     2265else
     2266  echo "$as_me: failed program was:" >&5
     2267sed 's/^/| /' conftest.$ac_ext >&5
     2268
     2269fi
     2270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2271done
     2272rm -f conftest*
     2273if test -n "$ac_declaration"; then
     2274  echo '#ifdef __cplusplus' >>confdefs.h
     2275  echo $ac_declaration      >>confdefs.h
     2276  echo '#endif'             >>confdefs.h
     2277fi
     2278
     2279ac_ext=c
     2280ac_cpp='$CPP $CPPFLAGS'
     2281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2283ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2284DEPDIR="${am__leading_dot}deps"
     2285
     2286          ac_config_commands="$ac_config_commands depfiles"
     2287
     2288
     2289am_make=${MAKE-make}
     2290cat > confinc << 'END'
     2291am__doit:
     2292        @echo done
     2293.PHONY: am__doit
     2294END
     2295# If we don't find an include directive, just comment out the code.
     2296echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     2297echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
     2298am__include="#"
     2299am__quote=
     2300_am_result=none
     2301# First try GNU make style include.
     2302echo "include confinc" > confmf
     2303# We grep out `Entering directory' and `Leaving directory'
     2304# messages which can occur if `w' ends up in MAKEFLAGS.
     2305# In particular we don't look at `^make:' because GNU make might
     2306# be invoked under some other name (usually "gmake"), in which
     2307# case it prints its new name instead of `make'.
     2308if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
     2309   am__include=include
     2310   am__quote=
     2311   _am_result=GNU
     2312fi
     2313# Now try BSD make style include.
     2314if test "$am__include" = "#"; then
     2315   echo '.include "confinc"' > confmf
     2316   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
     2317      am__include=.include
     2318      am__quote="\""
     2319      _am_result=BSD
     2320   fi
     2321fi
     2322
     2323
     2324echo "$as_me:$LINENO: result: $_am_result" >&5
     2325echo "${ECHO_T}$_am_result" >&6
     2326rm -f confinc confmf
     2327
     2328# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
     2329if test "${enable_dependency_tracking+set}" = set; then
     2330  enableval="$enable_dependency_tracking"
     2331
     2332fi;
     2333if test "x$enable_dependency_tracking" != xno; then
     2334  am_depcomp="$ac_aux_dir/depcomp"
     2335  AMDEPBACKSLASH='\'
     2336fi
     2337
     2338
     2339if test "x$enable_dependency_tracking" != xno; then
     2340  AMDEP_TRUE=
     2341  AMDEP_FALSE='#'
     2342else
     2343  AMDEP_TRUE='#'
     2344  AMDEP_FALSE=
     2345fi
     2346
     2347
     2348
     2349
     2350depcc="$CXX"  am_compiler_list=
     2351
     2352echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     2353echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     2354if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
     2355  echo $ECHO_N "(cached) $ECHO_C" >&6
     2356else
     2357  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     2358  # We make a subdir and do the tests there.  Otherwise we can end up
     2359  # making bogus files that we don't know about and never remove.  For
     2360  # instance it was reported that on HP-UX the gcc test will end up
     2361  # making a dummy file named `D' -- because `-MD' means `put the output
     2362  # in D'.
     2363  mkdir conftest.dir
     2364  # Copy depcomp to subdir because otherwise we won't find it if we're
     2365  # using a relative directory.
     2366  cp "$am_depcomp" conftest.dir
     2367  cd conftest.dir
     2368  # We will build objects and dependencies in a subdirectory because
     2369  # it helps to detect inapplicable dependency modes.  For instance
     2370  # both Tru64's cc and ICC support -MD to output dependencies as a
     2371  # side effect of compilation, but ICC will put the dependencies in
     2372  # the current directory while Tru64 will put them in the object
     2373  # directory.
     2374  mkdir sub
     2375
     2376  am_cv_CXX_dependencies_compiler_type=none
     2377  if test "$am_compiler_list" = ""; then
     2378     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     2379  fi
     2380  for depmode in $am_compiler_list; do
     2381    # Setup a source with many dependencies, because some compilers
     2382    # like to wrap large dependency lists on column 80 (with \), and
     2383    # we should not choose a depcomp mode which is confused by this.
     2384    #
     2385    # We need to recreate these files for each test, as the compiler may
     2386    # overwrite some of them when testing with obscure command lines.
     2387    # This happens at least with the AIX C compiler.
     2388    : > sub/conftest.c
     2389    for i in 1 2 3 4 5 6; do
     2390      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     2391      : > sub/conftst$i.h
     2392    done
     2393    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     2394
     2395    case $depmode in
     2396    nosideeffect)
     2397      # after this tag, mechanisms are not by side-effect, so they'll
     2398      # only be used when explicitly requested
     2399      if test "x$enable_dependency_tracking" = xyes; then
     2400        continue
     2401      else
     2402        break
     2403      fi
     2404      ;;
     2405    none) break ;;
     2406    esac
     2407    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     2408    # mode.  It turns out that the SunPro C++ compiler does not properly
     2409    # handle `-M -o', and we need to detect this.
     2410    if depmode=$depmode \
     2411       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     2412       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     2413       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     2414         >/dev/null 2>conftest.err &&
     2415       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     2416       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     2417       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     2418      # icc doesn't choke on unknown options, it will just issue warnings
     2419      # (even with -Werror).  So we grep stderr for any message
     2420      # that says an option was ignored.
     2421      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     2422        am_cv_CXX_dependencies_compiler_type=$depmode
     2423        break
     2424      fi
     2425    fi
     2426  done
     2427
     2428  cd ..
     2429  rm -rf conftest.dir
     2430else
     2431  am_cv_CXX_dependencies_compiler_type=none
     2432fi
     2433
     2434fi
     2435echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
     2436echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
     2437CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     2438
     2439
     2440
     2441if
     2442  test "x$enable_dependency_tracking" != xno \
     2443  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
     2444  am__fastdepCXX_TRUE=
     2445  am__fastdepCXX_FALSE='#'
     2446else
     2447  am__fastdepCXX_TRUE='#'
     2448  am__fastdepCXX_FALSE=
     2449fi
     2450
     2451
     2452ac_ext=c
     2453ac_cpp='$CPP $CPPFLAGS'
     2454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2456ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2457if test -n "$ac_tool_prefix"; then
     2458  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     2459set dummy ${ac_tool_prefix}gcc; ac_word=$2
     2460echo "$as_me:$LINENO: checking for $ac_word" >&5
     2461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2462if test "${ac_cv_prog_CC+set}" = set; then
     2463  echo $ECHO_N "(cached) $ECHO_C" >&6
     2464else
     2465  if test -n "$CC"; then
     2466  ac_cv_prog_CC="$CC" # Let the user override the test.
     2467else
     2468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2469for as_dir in $PATH
     2470do
     2471  IFS=$as_save_IFS
     2472  test -z "$as_dir" && as_dir=.
     2473  for ac_exec_ext in '' $ac_executable_extensions; do
     2474  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2475    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2476    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2477    break 2
     2478  fi
     2479done
     2480done
     2481
     2482fi
     2483fi
     2484CC=$ac_cv_prog_CC
     2485if test -n "$CC"; then
     2486  echo "$as_me:$LINENO: result: $CC" >&5
     2487echo "${ECHO_T}$CC" >&6
     2488else
     2489  echo "$as_me:$LINENO: result: no" >&5
     2490echo "${ECHO_T}no" >&6
     2491fi
     2492
     2493fi
     2494if test -z "$ac_cv_prog_CC"; then
     2495  ac_ct_CC=$CC
     2496  # Extract the first word of "gcc", so it can be a program name with args.
     2497set dummy gcc; ac_word=$2
     2498echo "$as_me:$LINENO: checking for $ac_word" >&5
     2499echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2500if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2501  echo $ECHO_N "(cached) $ECHO_C" >&6
     2502else
     2503  if test -n "$ac_ct_CC"; then
     2504  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2505else
     2506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2507for as_dir in $PATH
     2508do
     2509  IFS=$as_save_IFS
     2510  test -z "$as_dir" && as_dir=.
     2511  for ac_exec_ext in '' $ac_executable_extensions; do
     2512  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2513    ac_cv_prog_ac_ct_CC="gcc"
     2514    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2515    break 2
     2516  fi
     2517done
     2518done
     2519
     2520fi
     2521fi
     2522ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2523if test -n "$ac_ct_CC"; then
     2524  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2525echo "${ECHO_T}$ac_ct_CC" >&6
     2526else
     2527  echo "$as_me:$LINENO: result: no" >&5
     2528echo "${ECHO_T}no" >&6
     2529fi
     2530
     2531  CC=$ac_ct_CC
     2532else
     2533  CC="$ac_cv_prog_CC"
     2534fi
     2535
     2536if test -z "$CC"; then
     2537  if test -n "$ac_tool_prefix"; then
     2538  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2539set dummy ${ac_tool_prefix}cc; ac_word=$2
     2540echo "$as_me:$LINENO: checking for $ac_word" >&5
     2541echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2542if test "${ac_cv_prog_CC+set}" = set; then
     2543  echo $ECHO_N "(cached) $ECHO_C" >&6
     2544else
     2545  if test -n "$CC"; then
     2546  ac_cv_prog_CC="$CC" # Let the user override the test.
     2547else
     2548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2549for as_dir in $PATH
     2550do
     2551  IFS=$as_save_IFS
     2552  test -z "$as_dir" && as_dir=.
     2553  for ac_exec_ext in '' $ac_executable_extensions; do
     2554  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2555    ac_cv_prog_CC="${ac_tool_prefix}cc"
     2556    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2557    break 2
     2558  fi
     2559done
     2560done
     2561
     2562fi
     2563fi
     2564CC=$ac_cv_prog_CC
     2565if test -n "$CC"; then
     2566  echo "$as_me:$LINENO: result: $CC" >&5
     2567echo "${ECHO_T}$CC" >&6
     2568else
     2569  echo "$as_me:$LINENO: result: no" >&5
     2570echo "${ECHO_T}no" >&6
     2571fi
     2572
     2573fi
     2574if test -z "$ac_cv_prog_CC"; then
     2575  ac_ct_CC=$CC
     2576  # Extract the first word of "cc", so it can be a program name with args.
     2577set dummy cc; ac_word=$2
     2578echo "$as_me:$LINENO: checking for $ac_word" >&5
     2579echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2580if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2581  echo $ECHO_N "(cached) $ECHO_C" >&6
     2582else
     2583  if test -n "$ac_ct_CC"; then
     2584  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2585else
     2586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2587for as_dir in $PATH
     2588do
     2589  IFS=$as_save_IFS
     2590  test -z "$as_dir" && as_dir=.
     2591  for ac_exec_ext in '' $ac_executable_extensions; do
     2592  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2593    ac_cv_prog_ac_ct_CC="cc"
     2594    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2595    break 2
     2596  fi
     2597done
     2598done
     2599
     2600fi
     2601fi
     2602ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2603if test -n "$ac_ct_CC"; then
     2604  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2605echo "${ECHO_T}$ac_ct_CC" >&6
     2606else
     2607  echo "$as_me:$LINENO: result: no" >&5
     2608echo "${ECHO_T}no" >&6
     2609fi
     2610
     2611  CC=$ac_ct_CC
     2612else
     2613  CC="$ac_cv_prog_CC"
     2614fi
     2615
     2616fi
     2617if test -z "$CC"; then
     2618  # Extract the first word of "cc", so it can be a program name with args.
     2619set dummy cc; ac_word=$2
     2620echo "$as_me:$LINENO: checking for $ac_word" >&5
     2621echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2622if test "${ac_cv_prog_CC+set}" = set; then
     2623  echo $ECHO_N "(cached) $ECHO_C" >&6
     2624else
     2625  if test -n "$CC"; then
     2626  ac_cv_prog_CC="$CC" # Let the user override the test.
     2627else
     2628  ac_prog_rejected=no
     2629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2630for as_dir in $PATH
     2631do
     2632  IFS=$as_save_IFS
     2633  test -z "$as_dir" && as_dir=.
     2634  for ac_exec_ext in '' $ac_executable_extensions; do
     2635  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2636    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     2637       ac_prog_rejected=yes
     2638       continue
     2639     fi
     2640    ac_cv_prog_CC="cc"
     2641    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2642    break 2
     2643  fi
     2644done
     2645done
     2646
     2647if test $ac_prog_rejected = yes; then
     2648  # We found a bogon in the path, so make sure we never use it.
     2649  set dummy $ac_cv_prog_CC
     2650  shift
     2651  if test $# != 0; then
     2652    # We chose a different compiler from the bogus one.
     2653    # However, it has the same basename, so the bogon will be chosen
     2654    # first if we set CC to just the basename; use the full file name.
     2655    shift
     2656    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     2657  fi
     2658fi
     2659fi
     2660fi
     2661CC=$ac_cv_prog_CC
     2662if test -n "$CC"; then
     2663  echo "$as_me:$LINENO: result: $CC" >&5
     2664echo "${ECHO_T}$CC" >&6
     2665else
     2666  echo "$as_me:$LINENO: result: no" >&5
     2667echo "${ECHO_T}no" >&6
     2668fi
     2669
     2670fi
     2671if test -z "$CC"; then
     2672  if test -n "$ac_tool_prefix"; then
     2673  for ac_prog in cl
     2674  do
     2675    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2676set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2677echo "$as_me:$LINENO: checking for $ac_word" >&5
     2678echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2679if test "${ac_cv_prog_CC+set}" = set; then
     2680  echo $ECHO_N "(cached) $ECHO_C" >&6
     2681else
     2682  if test -n "$CC"; then
     2683  ac_cv_prog_CC="$CC" # Let the user override the test.
     2684else
     2685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2686for as_dir in $PATH
     2687do
     2688  IFS=$as_save_IFS
     2689  test -z "$as_dir" && as_dir=.
     2690  for ac_exec_ext in '' $ac_executable_extensions; do
     2691  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2692    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     2693    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2694    break 2
     2695  fi
     2696done
     2697done
     2698
     2699fi
     2700fi
     2701CC=$ac_cv_prog_CC
     2702if test -n "$CC"; then
     2703  echo "$as_me:$LINENO: result: $CC" >&5
     2704echo "${ECHO_T}$CC" >&6
     2705else
     2706  echo "$as_me:$LINENO: result: no" >&5
     2707echo "${ECHO_T}no" >&6
     2708fi
     2709
     2710    test -n "$CC" && break
     2711  done
     2712fi
     2713if test -z "$CC"; then
     2714  ac_ct_CC=$CC
     2715  for ac_prog in cl
     2716do
     2717  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2718set dummy $ac_prog; ac_word=$2
     2719echo "$as_me:$LINENO: checking for $ac_word" >&5
     2720echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2721if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2722  echo $ECHO_N "(cached) $ECHO_C" >&6
     2723else
     2724  if test -n "$ac_ct_CC"; then
     2725  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2726else
     2727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2728for as_dir in $PATH
     2729do
     2730  IFS=$as_save_IFS
     2731  test -z "$as_dir" && as_dir=.
     2732  for ac_exec_ext in '' $ac_executable_extensions; do
     2733  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2734    ac_cv_prog_ac_ct_CC="$ac_prog"
     2735    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2736    break 2
     2737  fi
     2738done
     2739done
     2740
     2741fi
     2742fi
     2743ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2744if test -n "$ac_ct_CC"; then
     2745  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2746echo "${ECHO_T}$ac_ct_CC" >&6
     2747else
     2748  echo "$as_me:$LINENO: result: no" >&5
     2749echo "${ECHO_T}no" >&6
     2750fi
     2751
     2752  test -n "$ac_ct_CC" && break
     2753done
     2754
     2755  CC=$ac_ct_CC
     2756fi
     2757
     2758fi
     2759
     2760
     2761test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2762See \`config.log' for more details." >&5
     2763echo "$as_me: error: no acceptable C compiler found in \$PATH
     2764See \`config.log' for more details." >&2;}
     2765   { (exit 1); exit 1; }; }
     2766
     2767# Provide some information about the compiler.
     2768echo "$as_me:$LINENO:" \
     2769     "checking for C compiler version" >&5
     2770ac_compiler=`set X $ac_compile; echo $2`
     2771{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2772  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2773  ac_status=$?
     2774  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2775  (exit $ac_status); }
     2776{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2777  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2778  ac_status=$?
     2779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2780  (exit $ac_status); }
     2781{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2782  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2783  ac_status=$?
     2784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2785  (exit $ac_status); }
     2786
     2787echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2788echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2789if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2790  echo $ECHO_N "(cached) $ECHO_C" >&6
     2791else
     2792  cat >conftest.$ac_ext <<_ACEOF
     2793/* confdefs.h.  */
     2794_ACEOF
     2795cat confdefs.h >>conftest.$ac_ext
     2796cat >>conftest.$ac_ext <<_ACEOF
     2797/* end confdefs.h.  */
     2798
     2799int
     2800main ()
     2801{
     2802#ifndef __GNUC__
     2803       choke me
     2804#endif
     2805
     2806  ;
     2807  return 0;
     2808}
     2809_ACEOF
     2810rm -f conftest.$ac_objext
     2811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2812  (eval $ac_compile) 2>conftest.er1
     2813  ac_status=$?
     2814  grep -v '^ *+' conftest.er1 >conftest.err
     2815  rm -f conftest.er1
     2816  cat conftest.err >&5
     2817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2818  (exit $ac_status); } &&
     2819         { ac_try='test -z "$ac_c_werror_flag"
     2820                         || test ! -s conftest.err'
     2821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2822  (eval $ac_try) 2>&5
     2823  ac_status=$?
     2824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2825  (exit $ac_status); }; } &&
     2826         { ac_try='test -s conftest.$ac_objext'
     2827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2828  (eval $ac_try) 2>&5
     2829  ac_status=$?
     2830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2831  (exit $ac_status); }; }; then
     2832  ac_compiler_gnu=yes
     2833else
     2834  echo "$as_me: failed program was:" >&5
     2835sed 's/^/| /' conftest.$ac_ext >&5
     2836
     2837ac_compiler_gnu=no
     2838fi
     2839rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2840ac_cv_c_compiler_gnu=$ac_compiler_gnu
     2841
     2842fi
     2843echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2844echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2845GCC=`test $ac_compiler_gnu = yes && echo yes`
     2846ac_test_CFLAGS=${CFLAGS+set}
     2847ac_save_CFLAGS=$CFLAGS
     2848CFLAGS="-g"
     2849echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2850echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2851if test "${ac_cv_prog_cc_g+set}" = set; then
     2852  echo $ECHO_N "(cached) $ECHO_C" >&6
     2853else
     2854  cat >conftest.$ac_ext <<_ACEOF
     2855/* confdefs.h.  */
     2856_ACEOF
     2857cat confdefs.h >>conftest.$ac_ext
     2858cat >>conftest.$ac_ext <<_ACEOF
     2859/* end confdefs.h.  */
     2860
     2861int
     2862main ()
     2863{
     2864
     2865  ;
     2866  return 0;
     2867}
     2868_ACEOF
     2869rm -f conftest.$ac_objext
     2870if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2871  (eval $ac_compile) 2>conftest.er1
     2872  ac_status=$?
     2873  grep -v '^ *+' conftest.er1 >conftest.err
     2874  rm -f conftest.er1
     2875  cat conftest.err >&5
     2876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2877  (exit $ac_status); } &&
     2878         { ac_try='test -z "$ac_c_werror_flag"
     2879                         || test ! -s conftest.err'
     2880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2881  (eval $ac_try) 2>&5
     2882  ac_status=$?
     2883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2884  (exit $ac_status); }; } &&
     2885         { ac_try='test -s conftest.$ac_objext'
     2886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2887  (eval $ac_try) 2>&5
     2888  ac_status=$?
     2889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2890  (exit $ac_status); }; }; then
     2891  ac_cv_prog_cc_g=yes
     2892else
     2893  echo "$as_me: failed program was:" >&5
     2894sed 's/^/| /' conftest.$ac_ext >&5
     2895
     2896ac_cv_prog_cc_g=no
     2897fi
     2898rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2899fi
     2900echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2901echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2902if test "$ac_test_CFLAGS" = set; then
     2903  CFLAGS=$ac_save_CFLAGS
     2904elif test $ac_cv_prog_cc_g = yes; then
     2905  if test "$GCC" = yes; then
     2906    CFLAGS="-g -O2"
     2907  else
     2908    CFLAGS="-g"
     2909  fi
     2910else
     2911  if test "$GCC" = yes; then
     2912    CFLAGS="-O2"
     2913  else
     2914    CFLAGS=
     2915  fi
     2916fi
     2917echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2918echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2919if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2920  echo $ECHO_N "(cached) $ECHO_C" >&6
     2921else
     2922  ac_cv_prog_cc_stdc=no
     2923ac_save_CC=$CC
     2924cat >conftest.$ac_ext <<_ACEOF
     2925/* confdefs.h.  */
     2926_ACEOF
     2927cat confdefs.h >>conftest.$ac_ext
     2928cat >>conftest.$ac_ext <<_ACEOF
     2929/* end confdefs.h.  */
     2930#include <stdarg.h>
     2931#include <stdio.h>
     2932#include <sys/types.h>
     2933#include <sys/stat.h>
     2934/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     2935struct buf { int x; };
     2936FILE * (*rcsopen) (struct buf *, struct stat *, int);
     2937static char *e (p, i)
     2938     char **p;
     2939     int i;
     2940{
     2941  return p[i];
     2942}
     2943static char *f (char * (*g) (char **, int), char **p, ...)
     2944{
     2945  char *s;
     2946  va_list v;
     2947  va_start (v,p);
     2948  s = g (p, va_arg (v,int));
     2949  va_end (v);
     2950  return s;
     2951}
     2952
     2953/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     2954   function prototypes and stuff, but not '\xHH' hex character constants.
     2955   These don't provoke an error unfortunately, instead are silently treated
     2956   as 'x'.  The following induces an error, until -std1 is added to get
     2957   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     2958   array size at least.  It's necessary to write '\x00'==0 to get something
     2959   that's true only with -std1.  */
     2960int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2961
     2962int test (int i, double x);
     2963struct s1 {int (*f) (int a);};
     2964struct s2 {int (*f) (double a);};
     2965int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     2966int argc;
     2967char **argv;
     2968int
     2969main ()
     2970{
     2971return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     2972  ;
     2973  return 0;
     2974}
     2975_ACEOF
     2976# Don't try gcc -ansi; that turns off useful extensions and
     2977# breaks some systems' header files.
     2978# AIX                   -qlanglvl=ansi
     2979# Ultrix and OSF/1      -std1
     2980# HP-UX 10.20 and later -Ae
     2981# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2982# SVR4                  -Xc -D__EXTENSIONS__
     2983for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2984do
     2985  CC="$ac_save_CC $ac_arg"
     2986  rm -f conftest.$ac_objext
     2987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2988  (eval $ac_compile) 2>conftest.er1
     2989  ac_status=$?
     2990  grep -v '^ *+' conftest.er1 >conftest.err
     2991  rm -f conftest.er1
     2992  cat conftest.err >&5
     2993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2994  (exit $ac_status); } &&
     2995         { ac_try='test -z "$ac_c_werror_flag"
     2996                         || test ! -s conftest.err'
     2997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2998  (eval $ac_try) 2>&5
     2999  ac_status=$?
     3000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3001  (exit $ac_status); }; } &&
     3002         { ac_try='test -s conftest.$ac_objext'
     3003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3004  (eval $ac_try) 2>&5
     3005  ac_status=$?
     3006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3007  (exit $ac_status); }; }; then
     3008  ac_cv_prog_cc_stdc=$ac_arg
     3009break
     3010else
     3011  echo "$as_me: failed program was:" >&5
     3012sed 's/^/| /' conftest.$ac_ext >&5
     3013
     3014fi
     3015rm -f conftest.err conftest.$ac_objext
     3016done
     3017rm -f conftest.$ac_ext conftest.$ac_objext
     3018CC=$ac_save_CC
     3019
     3020fi
     3021
     3022case "x$ac_cv_prog_cc_stdc" in
     3023  x|xno)
     3024    echo "$as_me:$LINENO: result: none needed" >&5
     3025echo "${ECHO_T}none needed" >&6 ;;
     3026  *)
     3027    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     3028echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     3029    CC="$CC $ac_cv_prog_cc_stdc" ;;
     3030esac
     3031
     3032# Some people use a C++ compiler to compile C.  Since we use `exit',
     3033# in C++ we need to declare it.  In case someone uses the same compiler
     3034# for both compiling C and C++ we need to have the C++ compiler decide
     3035# the declaration of exit, since it's the most demanding environment.
     3036cat >conftest.$ac_ext <<_ACEOF
     3037#ifndef __cplusplus
     3038  choke me
     3039#endif
     3040_ACEOF
     3041rm -f conftest.$ac_objext
     3042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3043  (eval $ac_compile) 2>conftest.er1
     3044  ac_status=$?
     3045  grep -v '^ *+' conftest.er1 >conftest.err
     3046  rm -f conftest.er1
     3047  cat conftest.err >&5
     3048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3049  (exit $ac_status); } &&
     3050         { ac_try='test -z "$ac_c_werror_flag"
     3051                         || test ! -s conftest.err'
     3052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3053  (eval $ac_try) 2>&5
     3054  ac_status=$?
     3055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3056  (exit $ac_status); }; } &&
     3057         { ac_try='test -s conftest.$ac_objext'
     3058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3059  (eval $ac_try) 2>&5
     3060  ac_status=$?
     3061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3062  (exit $ac_status); }; }; then
     3063  for ac_declaration in \
     3064   '' \
     3065   'extern "C" void std::exit (int) throw (); using std::exit;' \
     3066   'extern "C" void std::exit (int); using std::exit;' \
     3067   'extern "C" void exit (int) throw ();' \
     3068   'extern "C" void exit (int);' \
     3069   'void exit (int);'
     3070do
     3071  cat >conftest.$ac_ext <<_ACEOF
     3072/* confdefs.h.  */
     3073_ACEOF
     3074cat confdefs.h >>conftest.$ac_ext
     3075cat >>conftest.$ac_ext <<_ACEOF
     3076/* end confdefs.h.  */
     3077$ac_declaration
     3078#include <stdlib.h>
     3079int
     3080main ()
     3081{
     3082exit (42);
     3083  ;
     3084  return 0;
     3085}
     3086_ACEOF
     3087rm -f conftest.$ac_objext
     3088if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3089  (eval $ac_compile) 2>conftest.er1
     3090  ac_status=$?
     3091  grep -v '^ *+' conftest.er1 >conftest.err
     3092  rm -f conftest.er1
     3093  cat conftest.err >&5
     3094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3095  (exit $ac_status); } &&
     3096         { ac_try='test -z "$ac_c_werror_flag"
     3097                         || test ! -s conftest.err'
     3098  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3099  (eval $ac_try) 2>&5
     3100  ac_status=$?
     3101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3102  (exit $ac_status); }; } &&
     3103         { ac_try='test -s conftest.$ac_objext'
     3104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3105  (eval $ac_try) 2>&5
     3106  ac_status=$?
     3107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3108  (exit $ac_status); }; }; then
     3109  :
     3110else
     3111  echo "$as_me: failed program was:" >&5
     3112sed 's/^/| /' conftest.$ac_ext >&5
     3113
     3114continue
     3115fi
     3116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3117  cat >conftest.$ac_ext <<_ACEOF
     3118/* confdefs.h.  */
     3119_ACEOF
     3120cat confdefs.h >>conftest.$ac_ext
     3121cat >>conftest.$ac_ext <<_ACEOF
     3122/* end confdefs.h.  */
     3123$ac_declaration
     3124int
     3125main ()
     3126{
     3127exit (42);
     3128  ;
     3129  return 0;
     3130}
     3131_ACEOF
     3132rm -f conftest.$ac_objext
     3133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3134  (eval $ac_compile) 2>conftest.er1
     3135  ac_status=$?
     3136  grep -v '^ *+' conftest.er1 >conftest.err
     3137  rm -f conftest.er1
     3138  cat conftest.err >&5
     3139  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3140  (exit $ac_status); } &&
     3141         { ac_try='test -z "$ac_c_werror_flag"
     3142                         || test ! -s conftest.err'
     3143  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3144  (eval $ac_try) 2>&5
     3145  ac_status=$?
     3146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3147  (exit $ac_status); }; } &&
     3148         { ac_try='test -s conftest.$ac_objext'
     3149  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3150  (eval $ac_try) 2>&5
     3151  ac_status=$?
     3152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3153  (exit $ac_status); }; }; then
     3154  break
     3155else
     3156  echo "$as_me: failed program was:" >&5
     3157sed 's/^/| /' conftest.$ac_ext >&5
     3158
     3159fi
     3160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3161done
     3162rm -f conftest*
     3163if test -n "$ac_declaration"; then
     3164  echo '#ifdef __cplusplus' >>confdefs.h
     3165  echo $ac_declaration      >>confdefs.h
     3166  echo '#endif'             >>confdefs.h
     3167fi
     3168
     3169else
     3170  echo "$as_me: failed program was:" >&5
     3171sed 's/^/| /' conftest.$ac_ext >&5
     3172
     3173fi
     3174rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3175ac_ext=c
     3176ac_cpp='$CPP $CPPFLAGS'
     3177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3179ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3180
     3181depcc="$CC"   am_compiler_list=
     3182
     3183echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     3184echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
     3185if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     3186  echo $ECHO_N "(cached) $ECHO_C" >&6
     3187else
     3188  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     3189  # We make a subdir and do the tests there.  Otherwise we can end up
     3190  # making bogus files that we don't know about and never remove.  For
     3191  # instance it was reported that on HP-UX the gcc test will end up
     3192  # making a dummy file named `D' -- because `-MD' means `put the output
     3193  # in D'.
     3194  mkdir conftest.dir
     3195  # Copy depcomp to subdir because otherwise we won't find it if we're
     3196  # using a relative directory.
     3197  cp "$am_depcomp" conftest.dir
     3198  cd conftest.dir
     3199  # We will build objects and dependencies in a subdirectory because
     3200  # it helps to detect inapplicable dependency modes.  For instance
     3201  # both Tru64's cc and ICC support -MD to output dependencies as a
     3202  # side effect of compilation, but ICC will put the dependencies in
     3203  # the current directory while Tru64 will put them in the object
     3204  # directory.
     3205  mkdir sub
     3206
     3207  am_cv_CC_dependencies_compiler_type=none
     3208  if test "$am_compiler_list" = ""; then
     3209     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     3210  fi
     3211  for depmode in $am_compiler_list; do
     3212    # Setup a source with many dependencies, because some compilers
     3213    # like to wrap large dependency lists on column 80 (with \), and
     3214    # we should not choose a depcomp mode which is confused by this.
     3215    #
     3216    # We need to recreate these files for each test, as the compiler may
     3217    # overwrite some of them when testing with obscure command lines.
     3218    # This happens at least with the AIX C compiler.
     3219    : > sub/conftest.c
     3220    for i in 1 2 3 4 5 6; do
     3221      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     3222      : > sub/conftst$i.h
     3223    done
     3224    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     3225
     3226    case $depmode in
     3227    nosideeffect)
     3228      # after this tag, mechanisms are not by side-effect, so they'll
     3229      # only be used when explicitly requested
     3230      if test "x$enable_dependency_tracking" = xyes; then
     3231        continue
     3232      else
     3233        break
     3234      fi
     3235      ;;
     3236    none) break ;;
     3237    esac
     3238    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     3239    # mode.  It turns out that the SunPro C++ compiler does not properly
     3240    # handle `-M -o', and we need to detect this.
     3241    if depmode=$depmode \
     3242       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
     3243       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     3244       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
     3245         >/dev/null 2>conftest.err &&
     3246       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     3247       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
     3248       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     3249      # icc doesn't choke on unknown options, it will just issue warnings
     3250      # (even with -Werror).  So we grep stderr for any message
     3251      # that says an option was ignored.
     3252      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     3253        am_cv_CC_dependencies_compiler_type=$depmode
     3254        break
     3255      fi
     3256    fi
     3257  done
     3258
     3259  cd ..
     3260  rm -rf conftest.dir
     3261else
     3262  am_cv_CC_dependencies_compiler_type=none
     3263fi
     3264
     3265fi
     3266echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     3267echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
     3268CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     3269
     3270
     3271
     3272if
     3273  test "x$enable_dependency_tracking" != xno \
     3274  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     3275  am__fastdepCC_TRUE=
     3276  am__fastdepCC_FALSE='#'
     3277else
     3278  am__fastdepCC_TRUE='#'
     3279  am__fastdepCC_FALSE=
     3280fi
     3281
     3282
     3283
     3284# Checks for libraries.
     3285# FIXME: Replace `main' with a function in `-lGL':
     3286
     3287
     3288echo "$as_me:$LINENO: checking for main in -lGL" >&5
     3289echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
     3290if test "${ac_cv_lib_GL_main+set}" = set; then
     3291  echo $ECHO_N "(cached) $ECHO_C" >&6
     3292else
     3293  ac_check_lib_save_LIBS=$LIBS
     3294LIBS="-lGL  $LIBS"
     3295cat >conftest.$ac_ext <<_ACEOF
     3296/* confdefs.h.  */
     3297_ACEOF
     3298cat confdefs.h >>conftest.$ac_ext
     3299cat >>conftest.$ac_ext <<_ACEOF
     3300/* end confdefs.h.  */
     3301
     3302
     3303int
     3304main ()
     3305{
     3306main ();
     3307  ;
     3308  return 0;
     3309}
     3310_ACEOF
     3311rm -f conftest.$ac_objext conftest$ac_exeext
     3312if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3313  (eval $ac_link) 2>conftest.er1
     3314  ac_status=$?
     3315  grep -v '^ *+' conftest.er1 >conftest.err
     3316  rm -f conftest.er1
     3317  cat conftest.err >&5
     3318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3319  (exit $ac_status); } &&
     3320         { ac_try='test -z "$ac_c_werror_flag"
     3321                         || test ! -s conftest.err'
     3322  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3323  (eval $ac_try) 2>&5
     3324  ac_status=$?
     3325  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3326  (exit $ac_status); }; } &&
     3327         { ac_try='test -s conftest$ac_exeext'
     3328  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3329  (eval $ac_try) 2>&5
     3330  ac_status=$?
     3331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3332  (exit $ac_status); }; }; then
     3333  ac_cv_lib_GL_main=yes
     3334else
     3335  echo "$as_me: failed program was:" >&5
     3336sed 's/^/| /' conftest.$ac_ext >&5
     3337
     3338ac_cv_lib_GL_main=no
     3339fi
     3340rm -f conftest.err conftest.$ac_objext \
     3341      conftest$ac_exeext conftest.$ac_ext
     3342LIBS=$ac_check_lib_save_LIBS
     3343fi
     3344echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
     3345echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
     3346if test $ac_cv_lib_GL_main = yes; then
     3347  cat >>confdefs.h <<_ACEOF
     3348#define HAVE_LIBGL 1
     3349_ACEOF
     3350
     3351  LIBS="-lGL $LIBS"
     3352
     3353fi
     3354
     3355# FIXME: Replace `main' with a function in `-lGLU':
     3356
     3357echo "$as_me:$LINENO: checking for main in -lGLU" >&5
     3358echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6
     3359if test "${ac_cv_lib_GLU_main+set}" = set; then
     3360  echo $ECHO_N "(cached) $ECHO_C" >&6
     3361else
     3362  ac_check_lib_save_LIBS=$LIBS
     3363LIBS="-lGLU  $LIBS"
     3364cat >conftest.$ac_ext <<_ACEOF
     3365/* confdefs.h.  */
     3366_ACEOF
     3367cat confdefs.h >>conftest.$ac_ext
     3368cat >>conftest.$ac_ext <<_ACEOF
     3369/* end confdefs.h.  */
     3370
     3371
     3372int
     3373main ()
     3374{
     3375main ();
     3376  ;
     3377  return 0;
     3378}
     3379_ACEOF
     3380rm -f conftest.$ac_objext conftest$ac_exeext
     3381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3382  (eval $ac_link) 2>conftest.er1
     3383  ac_status=$?
     3384  grep -v '^ *+' conftest.er1 >conftest.err
     3385  rm -f conftest.er1
     3386  cat conftest.err >&5
     3387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3388  (exit $ac_status); } &&
     3389         { ac_try='test -z "$ac_c_werror_flag"
     3390                         || test ! -s conftest.err'
     3391  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3392  (eval $ac_try) 2>&5
     3393  ac_status=$?
     3394  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3395  (exit $ac_status); }; } &&
     3396         { ac_try='test -s conftest$ac_exeext'
     3397  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3398  (eval $ac_try) 2>&5
     3399  ac_status=$?
     3400  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3401  (exit $ac_status); }; }; then
     3402  ac_cv_lib_GLU_main=yes
     3403else
     3404  echo "$as_me: failed program was:" >&5
     3405sed 's/^/| /' conftest.$ac_ext >&5
     3406
     3407ac_cv_lib_GLU_main=no
     3408fi
     3409rm -f conftest.err conftest.$ac_objext \
     3410      conftest$ac_exeext conftest.$ac_ext
     3411LIBS=$ac_check_lib_save_LIBS
     3412fi
     3413echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5
     3414echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6
     3415if test $ac_cv_lib_GLU_main = yes; then
     3416  cat >>confdefs.h <<_ACEOF
     3417#define HAVE_LIBGLU 1
     3418_ACEOF
     3419
     3420  LIBS="-lGLU $LIBS"
     3421
     3422fi
     3423
     3424# FIXME: Replace `main' with a function in `-lOSMesa':
     3425
     3426echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5
     3427echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6
     3428if test "${ac_cv_lib_OSMesa_main+set}" = set; then
     3429  echo $ECHO_N "(cached) $ECHO_C" >&6
     3430else
     3431  ac_check_lib_save_LIBS=$LIBS
     3432LIBS="-lOSMesa  $LIBS"
     3433cat >conftest.$ac_ext <<_ACEOF
     3434/* confdefs.h.  */
     3435_ACEOF
     3436cat confdefs.h >>conftest.$ac_ext
     3437cat >>conftest.$ac_ext <<_ACEOF
     3438/* end confdefs.h.  */
     3439
     3440
     3441int
     3442main ()
     3443{
     3444main ();
     3445  ;
     3446  return 0;
     3447}
     3448_ACEOF
     3449rm -f conftest.$ac_objext conftest$ac_exeext
     3450if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3451  (eval $ac_link) 2>conftest.er1
     3452  ac_status=$?
     3453  grep -v '^ *+' conftest.er1 >conftest.err
     3454  rm -f conftest.er1
     3455  cat conftest.err >&5
     3456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3457  (exit $ac_status); } &&
     3458         { ac_try='test -z "$ac_c_werror_flag"
     3459                         || test ! -s conftest.err'
     3460  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3461  (eval $ac_try) 2>&5
     3462  ac_status=$?
     3463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3464  (exit $ac_status); }; } &&
     3465         { ac_try='test -s conftest$ac_exeext'
     3466  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3467  (eval $ac_try) 2>&5
     3468  ac_status=$?
     3469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3470  (exit $ac_status); }; }; then
     3471  ac_cv_lib_OSMesa_main=yes
     3472else
     3473  echo "$as_me: failed program was:" >&5
     3474sed 's/^/| /' conftest.$ac_ext >&5
     3475
     3476ac_cv_lib_OSMesa_main=no
     3477fi
     3478rm -f conftest.err conftest.$ac_objext \
     3479      conftest$ac_exeext conftest.$ac_ext
     3480LIBS=$ac_check_lib_save_LIBS
     3481fi
     3482echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5
     3483echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6
     3484if test $ac_cv_lib_OSMesa_main = yes; then
     3485  cat >>confdefs.h <<_ACEOF
     3486#define HAVE_LIBOSMESA 1
     3487_ACEOF
     3488
     3489  LIBS="-lOSMesa $LIBS"
     3490
     3491fi
     3492
     3493# FIXME: Replace `main' with a function in `-lX11':
     3494
     3495echo "$as_me:$LINENO: checking for main in -lX11" >&5
     3496echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
     3497if test "${ac_cv_lib_X11_main+set}" = set; then
     3498  echo $ECHO_N "(cached) $ECHO_C" >&6
     3499else
     3500  ac_check_lib_save_LIBS=$LIBS
     3501LIBS="-lX11  $LIBS"
     3502cat >conftest.$ac_ext <<_ACEOF
     3503/* confdefs.h.  */
     3504_ACEOF
     3505cat confdefs.h >>conftest.$ac_ext
     3506cat >>conftest.$ac_ext <<_ACEOF
     3507/* end confdefs.h.  */
     3508
     3509
     3510int
     3511main ()
     3512{
     3513main ();
     3514  ;
     3515  return 0;
     3516}
     3517_ACEOF
     3518rm -f conftest.$ac_objext conftest$ac_exeext
     3519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3520  (eval $ac_link) 2>conftest.er1
     3521  ac_status=$?
     3522  grep -v '^ *+' conftest.er1 >conftest.err
     3523  rm -f conftest.er1
     3524  cat conftest.err >&5
     3525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3526  (exit $ac_status); } &&
     3527         { ac_try='test -z "$ac_c_werror_flag"
     3528                         || test ! -s conftest.err'
     3529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3530  (eval $ac_try) 2>&5
     3531  ac_status=$?
     3532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3533  (exit $ac_status); }; } &&
     3534         { ac_try='test -s conftest$ac_exeext'
     3535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3536  (eval $ac_try) 2>&5
     3537  ac_status=$?
     3538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3539  (exit $ac_status); }; }; then
     3540  ac_cv_lib_X11_main=yes
     3541else
     3542  echo "$as_me: failed program was:" >&5
     3543sed 's/^/| /' conftest.$ac_ext >&5
     3544
     3545ac_cv_lib_X11_main=no
     3546fi
     3547rm -f conftest.err conftest.$ac_objext \
     3548      conftest$ac_exeext conftest.$ac_ext
     3549LIBS=$ac_check_lib_save_LIBS
     3550fi
     3551echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
     3552echo "${ECHO_T}$ac_cv_lib_X11_main" >&6
     3553if test $ac_cv_lib_X11_main = yes; then
     3554  cat >>confdefs.h <<_ACEOF
     3555#define HAVE_LIBX11 1
     3556_ACEOF
     3557
     3558  LIBS="-lX11 $LIBS"
     3559
     3560fi
     3561
     3562# FIXME: Replace `main' with a function in `-lXt':
     3563
     3564echo "$as_me:$LINENO: checking for main in -lXt" >&5
     3565echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6
     3566if test "${ac_cv_lib_Xt_main+set}" = set; then
     3567  echo $ECHO_N "(cached) $ECHO_C" >&6
     3568else
     3569  ac_check_lib_save_LIBS=$LIBS
     3570LIBS="-lXt  $LIBS"
     3571cat >conftest.$ac_ext <<_ACEOF
     3572/* confdefs.h.  */
     3573_ACEOF
     3574cat confdefs.h >>conftest.$ac_ext
     3575cat >>conftest.$ac_ext <<_ACEOF
     3576/* end confdefs.h.  */
     3577
     3578
     3579int
     3580main ()
     3581{
     3582main ();
     3583  ;
     3584  return 0;
     3585}
     3586_ACEOF
     3587rm -f conftest.$ac_objext conftest$ac_exeext
     3588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3589  (eval $ac_link) 2>conftest.er1
     3590  ac_status=$?
     3591  grep -v '^ *+' conftest.er1 >conftest.err
     3592  rm -f conftest.er1
     3593  cat conftest.err >&5
     3594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3595  (exit $ac_status); } &&
     3596         { ac_try='test -z "$ac_c_werror_flag"
     3597                         || test ! -s conftest.err'
     3598  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3599  (eval $ac_try) 2>&5
     3600  ac_status=$?
     3601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3602  (exit $ac_status); }; } &&
     3603         { ac_try='test -s conftest$ac_exeext'
     3604  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3605  (eval $ac_try) 2>&5
     3606  ac_status=$?
     3607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3608  (exit $ac_status); }; }; then
     3609  ac_cv_lib_Xt_main=yes
     3610else
     3611  echo "$as_me: failed program was:" >&5
     3612sed 's/^/| /' conftest.$ac_ext >&5
     3613
     3614ac_cv_lib_Xt_main=no
     3615fi
     3616rm -f conftest.err conftest.$ac_objext \
     3617      conftest$ac_exeext conftest.$ac_ext
     3618LIBS=$ac_check_lib_save_LIBS
     3619fi
     3620echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
     3621echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6
     3622if test $ac_cv_lib_Xt_main = yes; then
     3623  cat >>confdefs.h <<_ACEOF
     3624#define HAVE_LIBXT 1
     3625_ACEOF
     3626
     3627  LIBS="-lXt $LIBS"
     3628
     3629fi
     3630
     3631# FIXME: Replace `main' with a function in `-lglut':
     3632
     3633echo "$as_me:$LINENO: checking for main in -lglut" >&5
     3634echo $ECHO_N "checking for main in -lglut... $ECHO_C" >&6
     3635if test "${ac_cv_lib_glut_main+set}" = set; then
     3636  echo $ECHO_N "(cached) $ECHO_C" >&6
     3637else
     3638  ac_check_lib_save_LIBS=$LIBS
     3639LIBS="-lglut  $LIBS"
     3640cat >conftest.$ac_ext <<_ACEOF
     3641/* confdefs.h.  */
     3642_ACEOF
     3643cat confdefs.h >>conftest.$ac_ext
     3644cat >>conftest.$ac_ext <<_ACEOF
     3645/* end confdefs.h.  */
     3646
     3647
     3648int
     3649main ()
     3650{
     3651main ();
     3652  ;
     3653  return 0;
     3654}
     3655_ACEOF
     3656rm -f conftest.$ac_objext conftest$ac_exeext
     3657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3658  (eval $ac_link) 2>conftest.er1
     3659  ac_status=$?
     3660  grep -v '^ *+' conftest.er1 >conftest.err
     3661  rm -f conftest.er1
     3662  cat conftest.err >&5
     3663  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3664  (exit $ac_status); } &&
     3665         { ac_try='test -z "$ac_c_werror_flag"
     3666                         || test ! -s conftest.err'
     3667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3668  (eval $ac_try) 2>&5
     3669  ac_status=$?
     3670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3671  (exit $ac_status); }; } &&
     3672         { ac_try='test -s conftest$ac_exeext'
     3673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3674  (eval $ac_try) 2>&5
     3675  ac_status=$?
     3676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3677  (exit $ac_status); }; }; then
     3678  ac_cv_lib_glut_main=yes
     3679else
     3680  echo "$as_me: failed program was:" >&5
     3681sed 's/^/| /' conftest.$ac_ext >&5
     3682
     3683ac_cv_lib_glut_main=no
     3684fi
     3685rm -f conftest.err conftest.$ac_objext \
     3686      conftest$ac_exeext conftest.$ac_ext
     3687LIBS=$ac_check_lib_save_LIBS
     3688fi
     3689echo "$as_me:$LINENO: result: $ac_cv_lib_glut_main" >&5
     3690echo "${ECHO_T}$ac_cv_lib_glut_main" >&6
     3691if test $ac_cv_lib_glut_main = yes; then
     3692  cat >>confdefs.h <<_ACEOF
     3693#define HAVE_LIBGLUT 1
     3694_ACEOF
     3695
     3696  LIBS="-lglut $LIBS"
     3697
     3698fi
     3699
     3700# FIXME: Replace `main' with a function in `-lm':
     3701
     3702echo "$as_me:$LINENO: checking for main in -lm" >&5
     3703echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     3704if test "${ac_cv_lib_m_main+set}" = set; then
     3705  echo $ECHO_N "(cached) $ECHO_C" >&6
     3706else
     3707  ac_check_lib_save_LIBS=$LIBS
     3708LIBS="-lm  $LIBS"
     3709cat >conftest.$ac_ext <<_ACEOF
     3710/* confdefs.h.  */
     3711_ACEOF
     3712cat confdefs.h >>conftest.$ac_ext
     3713cat >>conftest.$ac_ext <<_ACEOF
     3714/* end confdefs.h.  */
     3715
     3716
     3717int
     3718main ()
     3719{
     3720main ();
     3721  ;
     3722  return 0;
     3723}
     3724_ACEOF
     3725rm -f conftest.$ac_objext conftest$ac_exeext
     3726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3727  (eval $ac_link) 2>conftest.er1
     3728  ac_status=$?
     3729  grep -v '^ *+' conftest.er1 >conftest.err
     3730  rm -f conftest.er1
     3731  cat conftest.err >&5
     3732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3733  (exit $ac_status); } &&
     3734         { ac_try='test -z "$ac_c_werror_flag"
     3735                         || test ! -s conftest.err'
     3736  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3737  (eval $ac_try) 2>&5
     3738  ac_status=$?
     3739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3740  (exit $ac_status); }; } &&
     3741         { ac_try='test -s conftest$ac_exeext'
     3742  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3743  (eval $ac_try) 2>&5
     3744  ac_status=$?
     3745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3746  (exit $ac_status); }; }; then
     3747  ac_cv_lib_m_main=yes
     3748else
     3749  echo "$as_me: failed program was:" >&5
     3750sed 's/^/| /' conftest.$ac_ext >&5
     3751
     3752ac_cv_lib_m_main=no
     3753fi
     3754rm -f conftest.err conftest.$ac_objext \
     3755      conftest$ac_exeext conftest.$ac_ext
     3756LIBS=$ac_check_lib_save_LIBS
     3757fi
     3758echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     3759echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     3760if test $ac_cv_lib_m_main = yes; then
     3761  cat >>confdefs.h <<_ACEOF
     3762#define HAVE_LIBM 1
     3763_ACEOF
     3764
     3765  LIBS="-lm $LIBS"
     3766
     3767fi
     3768
     3769
     3770# Checks for header files.
     3771ac_ext=c
     3772ac_cpp='$CPP $CPPFLAGS'
     3773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3775ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3776echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3777echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3778# On Suns, sometimes $CPP names a directory.
     3779if test -n "$CPP" && test -d "$CPP"; then
     3780  CPP=
     3781fi
     3782if test -z "$CPP"; then
     3783  if test "${ac_cv_prog_CPP+set}" = set; then
     3784  echo $ECHO_N "(cached) $ECHO_C" >&6
     3785else
     3786      # Double quotes because CPP needs to be expanded
     3787    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3788    do
     3789      ac_preproc_ok=false
     3790for ac_c_preproc_warn_flag in '' yes
     3791do
     3792  # Use a header file that comes with gcc, so configuring glibc
     3793  # with a fresh cross-compiler works.
     3794  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3795  # <limits.h> exists even on freestanding compilers.
     3796  # On the NeXT, cc -E runs the code through the compiler's parser,
     3797  # not just through cpp. "Syntax error" is here to catch this case.
     3798  cat >conftest.$ac_ext <<_ACEOF
     3799/* confdefs.h.  */
     3800_ACEOF
     3801cat confdefs.h >>conftest.$ac_ext
     3802cat >>conftest.$ac_ext <<_ACEOF
     3803/* end confdefs.h.  */
     3804#ifdef __STDC__
     3805# include <limits.h>
     3806#else
     3807# include <assert.h>
     3808#endif
     3809                     Syntax error
     3810_ACEOF
     3811if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3812  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3813  ac_status=$?
     3814  grep -v '^ *+' conftest.er1 >conftest.err
     3815  rm -f conftest.er1
     3816  cat conftest.err >&5
     3817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3818  (exit $ac_status); } >/dev/null; then
     3819  if test -s conftest.err; then
     3820    ac_cpp_err=$ac_c_preproc_warn_flag
     3821    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3822  else
     3823    ac_cpp_err=
     3824  fi
     3825else
     3826  ac_cpp_err=yes
     3827fi
     3828if test -z "$ac_cpp_err"; then
     3829  :
     3830else
     3831  echo "$as_me: failed program was:" >&5
     3832sed 's/^/| /' conftest.$ac_ext >&5
     3833
     3834  # Broken: fails on valid input.
     3835continue
     3836fi
     3837rm -f conftest.err conftest.$ac_ext
     3838
     3839  # OK, works on sane cases.  Now check whether non-existent headers
     3840  # can be detected and how.
     3841  cat >conftest.$ac_ext <<_ACEOF
     3842/* confdefs.h.  */
     3843_ACEOF
     3844cat confdefs.h >>conftest.$ac_ext
     3845cat >>conftest.$ac_ext <<_ACEOF
     3846/* end confdefs.h.  */
     3847#include <ac_nonexistent.h>
     3848_ACEOF
     3849if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3850  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3851  ac_status=$?
     3852  grep -v '^ *+' conftest.er1 >conftest.err
     3853  rm -f conftest.er1
     3854  cat conftest.err >&5
     3855  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3856  (exit $ac_status); } >/dev/null; then
     3857  if test -s conftest.err; then
     3858    ac_cpp_err=$ac_c_preproc_warn_flag
     3859    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3860  else
     3861    ac_cpp_err=
     3862  fi
     3863else
     3864  ac_cpp_err=yes
     3865fi
     3866if test -z "$ac_cpp_err"; then
     3867  # Broken: success on invalid input.
     3868continue
     3869else
     3870  echo "$as_me: failed program was:" >&5
     3871sed 's/^/| /' conftest.$ac_ext >&5
     3872
     3873  # Passes both tests.
     3874ac_preproc_ok=:
     3875break
     3876fi
     3877rm -f conftest.err conftest.$ac_ext
     3878
     3879done
     3880# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3881rm -f conftest.err conftest.$ac_ext
     3882if $ac_preproc_ok; then
     3883  break
     3884fi
     3885
     3886    done
     3887    ac_cv_prog_CPP=$CPP
     3888
     3889fi
     3890  CPP=$ac_cv_prog_CPP
     3891else
     3892  ac_cv_prog_CPP=$CPP
     3893fi
     3894echo "$as_me:$LINENO: result: $CPP" >&5
     3895echo "${ECHO_T}$CPP" >&6
     3896ac_preproc_ok=false
     3897for ac_c_preproc_warn_flag in '' yes
     3898do
     3899  # Use a header file that comes with gcc, so configuring glibc
     3900  # with a fresh cross-compiler works.
     3901  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3902  # <limits.h> exists even on freestanding compilers.
     3903  # On the NeXT, cc -E runs the code through the compiler's parser,
     3904  # not just through cpp. "Syntax error" is here to catch this case.
     3905  cat >conftest.$ac_ext <<_ACEOF
     3906/* confdefs.h.  */
     3907_ACEOF
     3908cat confdefs.h >>conftest.$ac_ext
     3909cat >>conftest.$ac_ext <<_ACEOF
     3910/* end confdefs.h.  */
     3911#ifdef __STDC__
     3912# include <limits.h>
     3913#else
     3914# include <assert.h>
     3915#endif
     3916                     Syntax error
     3917_ACEOF
     3918if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3919  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3920  ac_status=$?
     3921  grep -v '^ *+' conftest.er1 >conftest.err
     3922  rm -f conftest.er1
     3923  cat conftest.err >&5
     3924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3925  (exit $ac_status); } >/dev/null; then
     3926  if test -s conftest.err; then
     3927    ac_cpp_err=$ac_c_preproc_warn_flag
     3928    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3929  else
     3930    ac_cpp_err=
     3931  fi
     3932else
     3933  ac_cpp_err=yes
     3934fi
     3935if test -z "$ac_cpp_err"; then
     3936  :
     3937else
     3938  echo "$as_me: failed program was:" >&5
     3939sed 's/^/| /' conftest.$ac_ext >&5
     3940
     3941  # Broken: fails on valid input.
     3942continue
     3943fi
     3944rm -f conftest.err conftest.$ac_ext
     3945
     3946  # OK, works on sane cases.  Now check whether non-existent headers
     3947  # can be detected and how.
     3948  cat >conftest.$ac_ext <<_ACEOF
     3949/* confdefs.h.  */
     3950_ACEOF
     3951cat confdefs.h >>conftest.$ac_ext
     3952cat >>conftest.$ac_ext <<_ACEOF
     3953/* end confdefs.h.  */
     3954#include <ac_nonexistent.h>
     3955_ACEOF
     3956if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3957  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3958  ac_status=$?
     3959  grep -v '^ *+' conftest.er1 >conftest.err
     3960  rm -f conftest.er1
     3961  cat conftest.err >&5
     3962  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3963  (exit $ac_status); } >/dev/null; then
     3964  if test -s conftest.err; then
     3965    ac_cpp_err=$ac_c_preproc_warn_flag
     3966    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3967  else
     3968    ac_cpp_err=
     3969  fi
     3970else
     3971  ac_cpp_err=yes
     3972fi
     3973if test -z "$ac_cpp_err"; then
     3974  # Broken: success on invalid input.
     3975continue
     3976else
     3977  echo "$as_me: failed program was:" >&5
     3978sed 's/^/| /' conftest.$ac_ext >&5
     3979
     3980  # Passes both tests.
     3981ac_preproc_ok=:
     3982break
     3983fi
     3984rm -f conftest.err conftest.$ac_ext
     3985
     3986done
     3987# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3988rm -f conftest.err conftest.$ac_ext
     3989if $ac_preproc_ok; then
     3990  :
     3991else
     3992  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3993See \`config.log' for more details." >&5
     3994echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3995See \`config.log' for more details." >&2;}
     3996   { (exit 1); exit 1; }; }
     3997fi
     3998
     3999ac_ext=c
     4000ac_cpp='$CPP $CPPFLAGS'
     4001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4003ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4004
     4005
     4006echo "$as_me:$LINENO: checking for egrep" >&5
     4007echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     4008if test "${ac_cv_prog_egrep+set}" = set; then
     4009  echo $ECHO_N "(cached) $ECHO_C" >&6
     4010else
     4011  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     4012    then ac_cv_prog_egrep='grep -E'
     4013    else ac_cv_prog_egrep='egrep'
     4014    fi
     4015fi
     4016echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     4017echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     4018 EGREP=$ac_cv_prog_egrep
     4019
     4020
     4021echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4022echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4023if test "${ac_cv_header_stdc+set}" = set; then
     4024  echo $ECHO_N "(cached) $ECHO_C" >&6
     4025else
     4026  cat >conftest.$ac_ext <<_ACEOF
     4027/* confdefs.h.  */
     4028_ACEOF
     4029cat confdefs.h >>conftest.$ac_ext
     4030cat >>conftest.$ac_ext <<_ACEOF
     4031/* end confdefs.h.  */
     4032#include <stdlib.h>
     4033#include <stdarg.h>
     4034#include <string.h>
     4035#include <float.h>
     4036
     4037int
     4038main ()
     4039{
     4040
     4041  ;
     4042  return 0;
     4043}
     4044_ACEOF
     4045rm -f conftest.$ac_objext
     4046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4047  (eval $ac_compile) 2>conftest.er1
     4048  ac_status=$?
     4049  grep -v '^ *+' conftest.er1 >conftest.err
     4050  rm -f conftest.er1
     4051  cat conftest.err >&5
     4052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4053  (exit $ac_status); } &&
     4054         { ac_try='test -z "$ac_c_werror_flag"
     4055                         || test ! -s conftest.err'
     4056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4057  (eval $ac_try) 2>&5
     4058  ac_status=$?
     4059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4060  (exit $ac_status); }; } &&
     4061         { ac_try='test -s conftest.$ac_objext'
     4062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4063  (eval $ac_try) 2>&5
     4064  ac_status=$?
     4065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4066  (exit $ac_status); }; }; then
     4067  ac_cv_header_stdc=yes
     4068else
     4069  echo "$as_me: failed program was:" >&5
     4070sed 's/^/| /' conftest.$ac_ext >&5
     4071
     4072ac_cv_header_stdc=no
     4073fi
     4074rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4075
     4076if test $ac_cv_header_stdc = yes; then
     4077  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4078  cat >conftest.$ac_ext <<_ACEOF
     4079/* confdefs.h.  */
     4080_ACEOF
     4081cat confdefs.h >>conftest.$ac_ext
     4082cat >>conftest.$ac_ext <<_ACEOF
     4083/* end confdefs.h.  */
     4084#include <string.h>
     4085
     4086_ACEOF
     4087if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4088  $EGREP "memchr" >/dev/null 2>&1; then
     4089  :
     4090else
     4091  ac_cv_header_stdc=no
     4092fi
     4093rm -f conftest*
     4094
     4095fi
     4096
     4097if test $ac_cv_header_stdc = yes; then
     4098  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4099  cat >conftest.$ac_ext <<_ACEOF
     4100/* confdefs.h.  */
     4101_ACEOF
     4102cat confdefs.h >>conftest.$ac_ext
     4103cat >>conftest.$ac_ext <<_ACEOF
     4104/* end confdefs.h.  */
     4105#include <stdlib.h>
     4106
     4107_ACEOF
     4108if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4109  $EGREP "free" >/dev/null 2>&1; then
     4110  :
     4111else
     4112  ac_cv_header_stdc=no
     4113fi
     4114rm -f conftest*
     4115
     4116fi
     4117
     4118if test $ac_cv_header_stdc = yes; then
     4119  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4120  if test "$cross_compiling" = yes; then
     4121  :
     4122else
     4123  cat >conftest.$ac_ext <<_ACEOF
     4124/* confdefs.h.  */
     4125_ACEOF
     4126cat confdefs.h >>conftest.$ac_ext
     4127cat >>conftest.$ac_ext <<_ACEOF
     4128/* end confdefs.h.  */
     4129#include <ctype.h>
     4130#if ((' ' & 0x0FF) == 0x020)
     4131# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4132# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4133#else
     4134# define ISLOWER(c) \
     4135                   (('a' <= (c) && (c) <= 'i') \
     4136                     || ('j' <= (c) && (c) <= 'r') \
     4137                     || ('s' <= (c) && (c) <= 'z'))
     4138# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4139#endif
     4140
     4141#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4142int
     4143main ()
     4144{
     4145  int i;
     4146  for (i = 0; i < 256; i++)
     4147    if (XOR (islower (i), ISLOWER (i))
     4148        || toupper (i) != TOUPPER (i))
     4149      exit(2);
     4150  exit (0);
     4151}
     4152_ACEOF
     4153rm -f conftest$ac_exeext
     4154if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4155  (eval $ac_link) 2>&5
     4156  ac_status=$?
     4157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4158  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4159  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4160  (eval $ac_try) 2>&5
     4161  ac_status=$?
     4162  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4163  (exit $ac_status); }; }; then
     4164  :
     4165else
     4166  echo "$as_me: program exited with status $ac_status" >&5
     4167echo "$as_me: failed program was:" >&5
     4168sed 's/^/| /' conftest.$ac_ext >&5
     4169
     4170( exit $ac_status )
     4171ac_cv_header_stdc=no
     4172fi
     4173rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4174fi
     4175fi
     4176fi
     4177echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4178echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4179if test $ac_cv_header_stdc = yes; then
     4180
     4181cat >>confdefs.h <<\_ACEOF
     4182#define STDC_HEADERS 1
     4183_ACEOF
     4184
     4185fi
     4186
     4187# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4188
     4189
     4190
     4191
     4192
     4193
     4194
     4195
     4196
     4197for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4198                  inttypes.h stdint.h unistd.h
     4199do
     4200as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4201echo "$as_me:$LINENO: checking for $ac_header" >&5
     4202echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4203if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4204  echo $ECHO_N "(cached) $ECHO_C" >&6
     4205else
     4206  cat >conftest.$ac_ext <<_ACEOF
     4207/* confdefs.h.  */
     4208_ACEOF
     4209cat confdefs.h >>conftest.$ac_ext
     4210cat >>conftest.$ac_ext <<_ACEOF
     4211/* end confdefs.h.  */
     4212$ac_includes_default
     4213
     4214#include <$ac_header>
     4215_ACEOF
     4216rm -f conftest.$ac_objext
     4217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4218  (eval $ac_compile) 2>conftest.er1
     4219  ac_status=$?
     4220  grep -v '^ *+' conftest.er1 >conftest.err
     4221  rm -f conftest.er1
     4222  cat conftest.err >&5
     4223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4224  (exit $ac_status); } &&
     4225         { ac_try='test -z "$ac_c_werror_flag"
     4226                         || test ! -s conftest.err'
     4227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4228  (eval $ac_try) 2>&5
     4229  ac_status=$?
     4230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4231  (exit $ac_status); }; } &&
     4232         { ac_try='test -s conftest.$ac_objext'
     4233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4234  (eval $ac_try) 2>&5
     4235  ac_status=$?
     4236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4237  (exit $ac_status); }; }; then
     4238  eval "$as_ac_Header=yes"
     4239else
     4240  echo "$as_me: failed program was:" >&5
     4241sed 's/^/| /' conftest.$ac_ext >&5
     4242
     4243eval "$as_ac_Header=no"
     4244fi
     4245rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4246fi
     4247echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4248echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4249if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4250  cat >>confdefs.h <<_ACEOF
     4251#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4252_ACEOF
     4253
     4254fi
     4255
     4256done
     4257
     4258
     4259
     4260
     4261for ac_header in stdlib.h string.h
     4262do
     4263as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4264if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4265  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4266echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4267if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4268  echo $ECHO_N "(cached) $ECHO_C" >&6
     4269fi
     4270echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4271echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4272else
     4273  # Is the header compilable?
     4274echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4275echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4276cat >conftest.$ac_ext <<_ACEOF
     4277/* confdefs.h.  */
     4278_ACEOF
     4279cat confdefs.h >>conftest.$ac_ext
     4280cat >>conftest.$ac_ext <<_ACEOF
     4281/* end confdefs.h.  */
     4282$ac_includes_default
     4283#include <$ac_header>
     4284_ACEOF
     4285rm -f conftest.$ac_objext
     4286if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4287  (eval $ac_compile) 2>conftest.er1
     4288  ac_status=$?
     4289  grep -v '^ *+' conftest.er1 >conftest.err
     4290  rm -f conftest.er1
     4291  cat conftest.err >&5
     4292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4293  (exit $ac_status); } &&
     4294         { ac_try='test -z "$ac_c_werror_flag"
     4295                         || test ! -s conftest.err'
     4296  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4297  (eval $ac_try) 2>&5
     4298  ac_status=$?
     4299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4300  (exit $ac_status); }; } &&
     4301         { ac_try='test -s conftest.$ac_objext'
     4302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4303  (eval $ac_try) 2>&5
     4304  ac_status=$?
     4305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4306  (exit $ac_status); }; }; then
     4307  ac_header_compiler=yes
     4308else
     4309  echo "$as_me: failed program was:" >&5
     4310sed 's/^/| /' conftest.$ac_ext >&5
     4311
     4312ac_header_compiler=no
     4313fi
     4314rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4315echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4316echo "${ECHO_T}$ac_header_compiler" >&6
     4317
     4318# Is the header present?
     4319echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4320echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4321cat >conftest.$ac_ext <<_ACEOF
     4322/* confdefs.h.  */
     4323_ACEOF
     4324cat confdefs.h >>conftest.$ac_ext
     4325cat >>conftest.$ac_ext <<_ACEOF
     4326/* end confdefs.h.  */
     4327#include <$ac_header>
     4328_ACEOF
     4329if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4330  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4331  ac_status=$?
     4332  grep -v '^ *+' conftest.er1 >conftest.err
     4333  rm -f conftest.er1
     4334  cat conftest.err >&5
     4335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4336  (exit $ac_status); } >/dev/null; then
     4337  if test -s conftest.err; then
     4338    ac_cpp_err=$ac_c_preproc_warn_flag
     4339    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4340  else
     4341    ac_cpp_err=
     4342  fi
     4343else
     4344  ac_cpp_err=yes
     4345fi
     4346if test -z "$ac_cpp_err"; then
     4347  ac_header_preproc=yes
     4348else
     4349  echo "$as_me: failed program was:" >&5
     4350sed 's/^/| /' conftest.$ac_ext >&5
     4351
     4352  ac_header_preproc=no
     4353fi
     4354rm -f conftest.err conftest.$ac_ext
     4355echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4356echo "${ECHO_T}$ac_header_preproc" >&6
     4357
     4358# So?  What about this header?
     4359case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4360  yes:no: )
     4361    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4362echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4363    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4364echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4365    ac_header_preproc=yes
     4366    ;;
     4367  no:yes:* )
     4368    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4369echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4370    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4371echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4372    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4373echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4374    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4375echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4376    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4377echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4378    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4379echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4380    (
     4381      cat <<\_ASBOX
     4382## ------------------------------------------- ##
     4383## Report this to orxonox-dev@mail.datacore.ch ##
     4384## ------------------------------------------- ##
     4385_ASBOX
     4386    ) |
     4387      sed "s/^/$as_me: WARNING:     /" >&2
     4388    ;;
     4389esac
     4390echo "$as_me:$LINENO: checking for $ac_header" >&5
     4391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4392if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4393  echo $ECHO_N "(cached) $ECHO_C" >&6
     4394else
     4395  eval "$as_ac_Header=\$ac_header_preproc"
     4396fi
     4397echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4398echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4399
     4400fi
     4401if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4402  cat >>confdefs.h <<_ACEOF
     4403#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4404_ACEOF
     4405
     4406fi
     4407
     4408done
     4409
     4410
     4411# Checks for typedefs, structures, and compiler characteristics.
     4412echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
     4413echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
     4414if test "${ac_cv_header_stdbool_h+set}" = set; then
     4415  echo $ECHO_N "(cached) $ECHO_C" >&6
     4416else
     4417  cat >conftest.$ac_ext <<_ACEOF
     4418/* confdefs.h.  */
     4419_ACEOF
     4420cat confdefs.h >>conftest.$ac_ext
     4421cat >>conftest.$ac_ext <<_ACEOF
     4422/* end confdefs.h.  */
     4423
     4424#include <stdbool.h>
     4425#ifndef bool
     4426# error bool is not defined
     4427#endif
     4428#ifndef false
     4429# error false is not defined
     4430#endif
     4431#if false
     4432# error false is not 0
     4433#endif
     4434#ifndef true
     4435# error true is not defined
     4436#endif
     4437#if true != 1
     4438# error true is not 1
     4439#endif
     4440#ifndef __bool_true_false_are_defined
     4441# error __bool_true_false_are_defined is not defined
     4442#endif
     4443
     4444        struct s { _Bool s: 1; _Bool t; } s;
     4445
     4446        char a[true == 1 ? 1 : -1];
     4447        char b[false == 0 ? 1 : -1];
     4448        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     4449        char d[(bool) -0.5 == true ? 1 : -1];
     4450        bool e = &s;
     4451        char f[(_Bool) -0.0 == false ? 1 : -1];
     4452        char g[true];
     4453        char h[sizeof (_Bool)];
     4454        char i[sizeof s.t];
     4455
     4456int
     4457main ()
     4458{
     4459 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
     4460  ;
     4461  return 0;
     4462}
     4463_ACEOF
     4464rm -f conftest.$ac_objext
     4465if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4466  (eval $ac_compile) 2>conftest.er1
     4467  ac_status=$?
     4468  grep -v '^ *+' conftest.er1 >conftest.err
     4469  rm -f conftest.er1
     4470  cat conftest.err >&5
     4471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4472  (exit $ac_status); } &&
     4473         { ac_try='test -z "$ac_c_werror_flag"
     4474                         || test ! -s conftest.err'
     4475  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4476  (eval $ac_try) 2>&5
     4477  ac_status=$?
     4478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4479  (exit $ac_status); }; } &&
     4480         { ac_try='test -s conftest.$ac_objext'
     4481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4482  (eval $ac_try) 2>&5
     4483  ac_status=$?
     4484  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4485  (exit $ac_status); }; }; then
     4486  ac_cv_header_stdbool_h=yes
     4487else
     4488  echo "$as_me: failed program was:" >&5
     4489sed 's/^/| /' conftest.$ac_ext >&5
     4490
     4491ac_cv_header_stdbool_h=no
     4492fi
     4493rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4494fi
     4495echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
     4496echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
     4497echo "$as_me:$LINENO: checking for _Bool" >&5
     4498echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
     4499if test "${ac_cv_type__Bool+set}" = set; then
     4500  echo $ECHO_N "(cached) $ECHO_C" >&6
     4501else
     4502  cat >conftest.$ac_ext <<_ACEOF
     4503/* confdefs.h.  */
     4504_ACEOF
     4505cat confdefs.h >>conftest.$ac_ext
     4506cat >>conftest.$ac_ext <<_ACEOF
     4507/* end confdefs.h.  */
     4508$ac_includes_default
     4509int
     4510main ()
     4511{
     4512if ((_Bool *) 0)
     4513  return 0;
     4514if (sizeof (_Bool))
     4515  return 0;
     4516  ;
     4517  return 0;
     4518}
     4519_ACEOF
     4520rm -f conftest.$ac_objext
     4521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4522  (eval $ac_compile) 2>conftest.er1
     4523  ac_status=$?
     4524  grep -v '^ *+' conftest.er1 >conftest.err
     4525  rm -f conftest.er1
     4526  cat conftest.err >&5
     4527  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4528  (exit $ac_status); } &&
     4529         { ac_try='test -z "$ac_c_werror_flag"
     4530                         || test ! -s conftest.err'
     4531  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4532  (eval $ac_try) 2>&5
     4533  ac_status=$?
     4534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4535  (exit $ac_status); }; } &&
     4536         { ac_try='test -s conftest.$ac_objext'
     4537  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4538  (eval $ac_try) 2>&5
     4539  ac_status=$?
     4540  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4541  (exit $ac_status); }; }; then
     4542  ac_cv_type__Bool=yes
     4543else
     4544  echo "$as_me: failed program was:" >&5
     4545sed 's/^/| /' conftest.$ac_ext >&5
     4546
     4547ac_cv_type__Bool=no
     4548fi
     4549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4550fi
     4551echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
     4552echo "${ECHO_T}$ac_cv_type__Bool" >&6
     4553if test $ac_cv_type__Bool = yes; then
     4554
     4555cat >>confdefs.h <<_ACEOF
     4556#define HAVE__BOOL 1
     4557_ACEOF
     4558
     4559
     4560fi
     4561
     4562if test $ac_cv_header_stdbool_h = yes; then
     4563
     4564cat >>confdefs.h <<\_ACEOF
     4565#define HAVE_STDBOOL_H 1
     4566_ACEOF
     4567
     4568fi
     4569
     4570
     4571# Checks for library functions.
     4572
     4573for ac_header in stdlib.h
     4574do
     4575as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4576if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4577  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4578echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4579if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4580  echo $ECHO_N "(cached) $ECHO_C" >&6
     4581fi
     4582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4583echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4584else
     4585  # Is the header compilable?
     4586echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4587echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4588cat >conftest.$ac_ext <<_ACEOF
     4589/* confdefs.h.  */
     4590_ACEOF
     4591cat confdefs.h >>conftest.$ac_ext
     4592cat >>conftest.$ac_ext <<_ACEOF
     4593/* end confdefs.h.  */
     4594$ac_includes_default
     4595#include <$ac_header>
     4596_ACEOF
     4597rm -f conftest.$ac_objext
     4598if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4599  (eval $ac_compile) 2>conftest.er1
     4600  ac_status=$?
     4601  grep -v '^ *+' conftest.er1 >conftest.err
     4602  rm -f conftest.er1
     4603  cat conftest.err >&5
     4604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4605  (exit $ac_status); } &&
     4606         { ac_try='test -z "$ac_c_werror_flag"
     4607                         || test ! -s conftest.err'
     4608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4609  (eval $ac_try) 2>&5
     4610  ac_status=$?
     4611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4612  (exit $ac_status); }; } &&
     4613         { ac_try='test -s conftest.$ac_objext'
     4614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4615  (eval $ac_try) 2>&5
     4616  ac_status=$?
     4617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4618  (exit $ac_status); }; }; then
     4619  ac_header_compiler=yes
     4620else
     4621  echo "$as_me: failed program was:" >&5
     4622sed 's/^/| /' conftest.$ac_ext >&5
     4623
     4624ac_header_compiler=no
     4625fi
     4626rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4627echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4628echo "${ECHO_T}$ac_header_compiler" >&6
     4629
     4630# Is the header present?
     4631echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4632echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4633cat >conftest.$ac_ext <<_ACEOF
     4634/* confdefs.h.  */
     4635_ACEOF
     4636cat confdefs.h >>conftest.$ac_ext
     4637cat >>conftest.$ac_ext <<_ACEOF
     4638/* end confdefs.h.  */
     4639#include <$ac_header>
     4640_ACEOF
     4641if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4642  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4643  ac_status=$?
     4644  grep -v '^ *+' conftest.er1 >conftest.err
     4645  rm -f conftest.er1
     4646  cat conftest.err >&5
     4647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4648  (exit $ac_status); } >/dev/null; then
     4649  if test -s conftest.err; then
     4650    ac_cpp_err=$ac_c_preproc_warn_flag
     4651    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4652  else
     4653    ac_cpp_err=
     4654  fi
     4655else
     4656  ac_cpp_err=yes
     4657fi
     4658if test -z "$ac_cpp_err"; then
     4659  ac_header_preproc=yes
     4660else
     4661  echo "$as_me: failed program was:" >&5
     4662sed 's/^/| /' conftest.$ac_ext >&5
     4663
     4664  ac_header_preproc=no
     4665fi
     4666rm -f conftest.err conftest.$ac_ext
     4667echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4668echo "${ECHO_T}$ac_header_preproc" >&6
     4669
     4670# So?  What about this header?
     4671case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4672  yes:no: )
     4673    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4674echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4675    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4676echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4677    ac_header_preproc=yes
     4678    ;;
     4679  no:yes:* )
     4680    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4681echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4682    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4683echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4684    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4685echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4686    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4687echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4688    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4689echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4690    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4691echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4692    (
     4693      cat <<\_ASBOX
     4694## ------------------------------------------- ##
     4695## Report this to orxonox-dev@mail.datacore.ch ##
     4696## ------------------------------------------- ##
     4697_ASBOX
     4698    ) |
     4699      sed "s/^/$as_me: WARNING:     /" >&2
     4700    ;;
     4701esac
     4702echo "$as_me:$LINENO: checking for $ac_header" >&5
     4703echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4704if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4705  echo $ECHO_N "(cached) $ECHO_C" >&6
     4706else
     4707  eval "$as_ac_Header=\$ac_header_preproc"
     4708fi
     4709echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4710echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4711
     4712fi
     4713if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4714  cat >>confdefs.h <<_ACEOF
     4715#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4716_ACEOF
     4717
     4718fi
     4719
     4720done
     4721
     4722echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
     4723echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
     4724if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
     4725  echo $ECHO_N "(cached) $ECHO_C" >&6
     4726else
     4727  if test "$cross_compiling" = yes; then
     4728  ac_cv_func_malloc_0_nonnull=no
     4729else
     4730  cat >conftest.$ac_ext <<_ACEOF
     4731/* confdefs.h.  */
     4732_ACEOF
     4733cat confdefs.h >>conftest.$ac_ext
     4734cat >>conftest.$ac_ext <<_ACEOF
     4735/* end confdefs.h.  */
     4736#if STDC_HEADERS || HAVE_STDLIB_H
     4737# include <stdlib.h>
     4738#else
     4739char *malloc ();
     4740#endif
     4741
     4742int
     4743main ()
     4744{
     4745exit (malloc (0) ? 0 : 1);
     4746  ;
     4747  return 0;
     4748}
     4749_ACEOF
     4750rm -f conftest$ac_exeext
     4751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4752  (eval $ac_link) 2>&5
     4753  ac_status=$?
     4754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4755  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4756  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4757  (eval $ac_try) 2>&5
     4758  ac_status=$?
     4759  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4760  (exit $ac_status); }; }; then
     4761  ac_cv_func_malloc_0_nonnull=yes
     4762else
     4763  echo "$as_me: program exited with status $ac_status" >&5
     4764echo "$as_me: failed program was:" >&5
     4765sed 's/^/| /' conftest.$ac_ext >&5
     4766
     4767( exit $ac_status )
     4768ac_cv_func_malloc_0_nonnull=no
     4769fi
     4770rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4771fi
     4772fi
     4773echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
     4774echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
     4775if test $ac_cv_func_malloc_0_nonnull = yes; then
     4776
     4777cat >>confdefs.h <<\_ACEOF
     4778#define HAVE_MALLOC 1
     4779_ACEOF
     4780
     4781else
     4782  cat >>confdefs.h <<\_ACEOF
     4783#define HAVE_MALLOC 0
     4784_ACEOF
     4785
     4786   case $LIBOBJS in
     4787    "malloc.$ac_objext"   | \
     4788  *" malloc.$ac_objext"   | \
     4789    "malloc.$ac_objext "* | \
     4790  *" malloc.$ac_objext "* ) ;;
     4791  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
     4792esac
     4793
     4794
     4795cat >>confdefs.h <<\_ACEOF
     4796#define malloc rpl_malloc
     4797_ACEOF
     4798
     4799fi
     4800
     4801
     4802
     4803
     4804
     4805for ac_func in bzero sqrt
     4806do
     4807as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     4808echo "$as_me:$LINENO: checking for $ac_func" >&5
     4809echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     4810if eval "test \"\${$as_ac_var+set}\" = set"; then
     4811  echo $ECHO_N "(cached) $ECHO_C" >&6
     4812else
     4813  cat >conftest.$ac_ext <<_ACEOF
     4814/* confdefs.h.  */
     4815_ACEOF
     4816cat confdefs.h >>conftest.$ac_ext
     4817cat >>conftest.$ac_ext <<_ACEOF
     4818/* end confdefs.h.  */
     4819/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     4820   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4821#define $ac_func innocuous_$ac_func
     4822
     4823/* System header to define __stub macros and hopefully few prototypes,
     4824    which can conflict with char $ac_func (); below.
     4825    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4826    <limits.h> exists even on freestanding compilers.  */
     4827
     4828#ifdef __STDC__
     4829# include <limits.h>
     4830#else
     4831# include <assert.h>
     4832#endif
     4833
     4834#undef $ac_func
     4835
     4836/* Override any gcc2 internal prototype to avoid an error.  */
     4837#ifdef __cplusplus
     4838extern "C"
     4839{
     4840#endif
     4841/* We use char because int might match the return type of a gcc2
     4842   builtin and then its argument prototype would still apply.  */
     4843char $ac_func ();
     4844/* The GNU C library defines this for functions which it implements
     4845    to always fail with ENOSYS.  Some functions are actually named
     4846    something starting with __ and the normal name is an alias.  */
     4847#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     4848choke me
     4849#else
     4850char (*f) () = $ac_func;
     4851#endif
     4852#ifdef __cplusplus
     4853}
     4854#endif
     4855
     4856int
     4857main ()
     4858{
     4859return f != $ac_func;
     4860  ;
     4861  return 0;
     4862}
     4863_ACEOF
     4864rm -f conftest.$ac_objext conftest$ac_exeext
     4865if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4866  (eval $ac_link) 2>conftest.er1
     4867  ac_status=$?
     4868  grep -v '^ *+' conftest.er1 >conftest.err
     4869  rm -f conftest.er1
     4870  cat conftest.err >&5
     4871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4872  (exit $ac_status); } &&
     4873         { ac_try='test -z "$ac_c_werror_flag"
     4874                         || test ! -s conftest.err'
     4875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4876  (eval $ac_try) 2>&5
     4877  ac_status=$?
     4878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4879  (exit $ac_status); }; } &&
     4880         { ac_try='test -s conftest$ac_exeext'
     4881  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4882  (eval $ac_try) 2>&5
     4883  ac_status=$?
     4884  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4885  (exit $ac_status); }; }; then
     4886  eval "$as_ac_var=yes"
     4887else
     4888  echo "$as_me: failed program was:" >&5
     4889sed 's/^/| /' conftest.$ac_ext >&5
     4890
     4891eval "$as_ac_var=no"
     4892fi
     4893rm -f conftest.err conftest.$ac_objext \
     4894      conftest$ac_exeext conftest.$ac_ext
     4895fi
     4896echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     4897echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     4898if test `eval echo '${'$as_ac_var'}'` = yes; then
     4899  cat >>confdefs.h <<_ACEOF
     4900#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     4901_ACEOF
     4902
     4903fi
     4904done
     4905
     4906
     4907                                        ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile"
     4908
     4909cat >confcache <<\_ACEOF
     4910# This file is a shell script that caches the results of configure
     4911# tests run on this system so they can be shared between configure
     4912# scripts and configure runs, see configure's option --config-cache.
     4913# It is not useful on other systems.  If it contains results you don't
     4914# want to keep, you may remove or edit it.
     4915#
     4916# config.status only pays attention to the cache file if you give it
     4917# the --recheck option to rerun configure.
     4918#
     4919# `ac_cv_env_foo' variables (set or unset) will be overridden when
     4920# loading this file, other *unset* `ac_cv_foo' will be assigned the
     4921# following values.
     4922
     4923_ACEOF
     4924
     4925# The following way of writing the cache mishandles newlines in values,
     4926# but we know of no workaround that is simple, portable, and efficient.
     4927# So, don't put newlines in cache variables' values.
     4928# Ultrix sh set writes to stderr and can't be redirected directly,
     4929# and sets the high bit in the cache file unless we assign to the vars.
     4930{
     4931  (set) 2>&1 |
     4932    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     4933    *ac_space=\ *)
     4934      # `set' does not quote correctly, so add quotes (double-quote
     4935      # substitution turns \\\\ into \\, and sed turns \\ into \).
     4936      sed -n \
     4937        "s/'/'\\\\''/g;
     4938          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     4939      ;;
     4940    *)
     4941      # `set' quotes correctly as required by POSIX, so do not add quotes.
     4942      sed -n \
     4943        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     4944      ;;
     4945    esac;
     4946} |
     4947  sed '
     4948     t clear
     4949     : clear
     4950     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     4951     t end
     4952     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     4953     : end' >>confcache
     4954if diff $cache_file confcache >/dev/null 2>&1; then :; else
     4955  if test -w $cache_file; then
     4956    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     4957    cat confcache >$cache_file
     4958  else
     4959    echo "not updating unwritable cache $cache_file"
     4960  fi
     4961fi
     4962rm -f confcache
     4963
     4964test "x$prefix" = xNONE && prefix=$ac_default_prefix
     4965# Let make expand exec_prefix.
     4966test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     4967
     4968# VPATH may cause trouble with some makes, so we remove $(srcdir),
     4969# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     4970# trailing colons and then remove the whole line if VPATH becomes empty
     4971# (actually we leave an empty line to preserve line numbers).
     4972if test "x$srcdir" = x.; then
     4973  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     4974s/:*\$(srcdir):*/:/;
     4975s/:*\${srcdir}:*/:/;
     4976s/:*@srcdir@:*/:/;
     4977s/^\([^=]*=[     ]*\):*/\1/;
     4978s/:*$//;
     4979s/^[^=]*=[       ]*$//;
     4980}'
     4981fi
     4982
     4983DEFS=-DHAVE_CONFIG_H
     4984
     4985ac_libobjs=
     4986ac_ltlibobjs=
     4987for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     4988  # 1. Remove the extension, and $U if already installed.
     4989  ac_i=`echo "$ac_i" |
     4990         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     4991  # 2. Add them.
     4992  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     4993  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     4994done
     4995LIBOBJS=$ac_libobjs
     4996
     4997LTLIBOBJS=$ac_ltlibobjs
     4998
     4999
     5000if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
     5001  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
     5002Usually this means the macro was only invoked conditionally." >&5
     5003echo "$as_me: error: conditional \"AMDEP\" was never defined.
     5004Usually this means the macro was only invoked conditionally." >&2;}
     5005   { (exit 1); exit 1; }; }
     5006fi
     5007if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
     5008  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
     5009Usually this means the macro was only invoked conditionally." >&5
     5010echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
     5011Usually this means the macro was only invoked conditionally." >&2;}
     5012   { (exit 1); exit 1; }; }
     5013fi
     5014if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     5015  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
     5016Usually this means the macro was only invoked conditionally." >&5
     5017echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
     5018Usually this means the macro was only invoked conditionally." >&2;}
     5019   { (exit 1); exit 1; }; }
     5020fi
     5021
     5022: ${CONFIG_STATUS=./config.status}
     5023ac_clean_files_save=$ac_clean_files
     5024ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     5025{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     5026echo "$as_me: creating $CONFIG_STATUS" >&6;}
     5027cat >$CONFIG_STATUS <<_ACEOF
     5028#! $SHELL
     5029# Generated by $as_me.
     5030# Run this file to recreate the current configuration.
     5031# Compiler output produced by configure, useful for debugging
     5032# configure, is in config.log if it exists.
     5033
     5034debug=false
     5035ac_cs_recheck=false
     5036ac_cs_silent=false
     5037SHELL=\${CONFIG_SHELL-$SHELL}
     5038_ACEOF
     5039
     5040cat >>$CONFIG_STATUS <<\_ACEOF
     5041## --------------------- ##
     5042## M4sh Initialization.  ##
     5043## --------------------- ##
     5044
     5045# Be Bourne compatible
     5046if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     5047  emulate sh
     5048  NULLCMD=:
     5049  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     5050  # is contrary to our usage.  Disable this feature.
     5051  alias -g '${1+"$@"}'='"$@"'
     5052elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     5053  set -o posix
     5054fi
     5055DUALCASE=1; export DUALCASE # for MKS sh
     5056
     5057# Support unset when possible.
     5058if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     5059  as_unset=unset
     5060else
     5061  as_unset=false
     5062fi
     5063
     5064
     5065# Work around bugs in pre-3.0 UWIN ksh.
     5066$as_unset ENV MAIL MAILPATH
     5067PS1='$ '
     5068PS2='> '
     5069PS4='+ '
     5070
     5071# NLS nuisances.
     5072for as_var in \
     5073  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     5074  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     5075  LC_TELEPHONE LC_TIME
     5076do
     5077  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     5078    eval $as_var=C; export $as_var
     5079  else
     5080    $as_unset $as_var
     5081  fi
     5082done
     5083
     5084# Required to use basename.
     5085if expr a : '\(a\)' >/dev/null 2>&1; then
     5086  as_expr=expr
     5087else
     5088  as_expr=false
     5089fi
     5090
     5091if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     5092  as_basename=basename
     5093else
     5094  as_basename=false
     5095fi
     5096
     5097
     5098# Name of the executable.
     5099as_me=`$as_basename "$0" ||
     5100$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5101         X"$0" : 'X\(//\)$' \| \
     5102         X"$0" : 'X\(/\)$' \| \
     5103         .     : '\(.\)' 2>/dev/null ||
     5104echo X/"$0" |
     5105    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     5106          /^X\/\(\/\/\)$/{ s//\1/; q; }
     5107          /^X\/\(\/\).*/{ s//\1/; q; }
     5108          s/.*/./; q'`
     5109
     5110
     5111# PATH needs CR, and LINENO needs CR and PATH.
     5112# Avoid depending upon Character Ranges.
     5113as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5114as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5115as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5116as_cr_digits='0123456789'
     5117as_cr_alnum=$as_cr_Letters$as_cr_digits
     5118
     5119# The user is always right.
     5120if test "${PATH_SEPARATOR+set}" != set; then
     5121  echo "#! /bin/sh" >conf$$.sh
     5122  echo  "exit 0"   >>conf$$.sh
     5123  chmod +x conf$$.sh
     5124  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     5125    PATH_SEPARATOR=';'
     5126  else
     5127    PATH_SEPARATOR=:
     5128  fi
     5129  rm -f conf$$.sh
     5130fi
     5131
     5132
     5133  as_lineno_1=$LINENO
     5134  as_lineno_2=$LINENO
     5135  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     5136  test "x$as_lineno_1" != "x$as_lineno_2" &&
     5137  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     5138  # Find who we are.  Look in the path if we contain no path at all
     5139  # relative or not.
     5140  case $0 in
     5141    *[\\/]* ) as_myself=$0 ;;
     5142    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5143for as_dir in $PATH
     5144do
     5145  IFS=$as_save_IFS
     5146  test -z "$as_dir" && as_dir=.
     5147  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     5148done
     5149
     5150       ;;
     5151  esac
     5152  # We did not find ourselves, most probably we were run as `sh COMMAND'
     5153  # in which case we are not to be found in the path.
     5154  if test "x$as_myself" = x; then
     5155    as_myself=$0
     5156  fi
     5157  if test ! -f "$as_myself"; then
     5158    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     5159echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     5160   { (exit 1); exit 1; }; }
     5161  fi
     5162  case $CONFIG_SHELL in
     5163  '')
     5164    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5165for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     5166do
     5167  IFS=$as_save_IFS
     5168  test -z "$as_dir" && as_dir=.
     5169  for as_base in sh bash ksh sh5; do
     5170         case $as_dir in
     5171         /*)
     5172           if ("$as_dir/$as_base" -c '
     5173  as_lineno_1=$LINENO
     5174  as_lineno_2=$LINENO
     5175  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     5176  test "x$as_lineno_1" != "x$as_lineno_2" &&
     5177  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     5178             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     5179             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     5180             CONFIG_SHELL=$as_dir/$as_base
     5181             export CONFIG_SHELL
     5182             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     5183           fi;;
     5184         esac
     5185       done
     5186done
     5187;;
     5188  esac
     5189
     5190  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     5191  # uniformly replaced by the line number.  The first 'sed' inserts a
     5192  # line-number line before each line; the second 'sed' does the real
     5193  # work.  The second script uses 'N' to pair each line-number line
     5194  # with the numbered line, and appends trailing '-' during
     5195  # substitution so that $LINENO is not a special case at line end.
     5196  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     5197  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     5198  sed '=' <$as_myself |
     5199    sed '
     5200      N
     5201      s,$,-,
     5202      : loop
     5203      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     5204      t loop
     5205      s,-$,,
     5206      s,^['$as_cr_digits']*\n,,
     5207    ' >$as_me.lineno &&
     5208  chmod +x $as_me.lineno ||
     5209    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     5210echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     5211   { (exit 1); exit 1; }; }
     5212
     5213  # Don't try to exec as it changes $[0], causing all sort of problems
     5214  # (the dirname of $[0] is not the place where we might find the
     5215  # original and so on.  Autoconf is especially sensible to this).
     5216  . ./$as_me.lineno
     5217  # Exit status is that of the last command.
     5218  exit
     5219}
     5220
     5221
     5222case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     5223  *c*,-n*) ECHO_N= ECHO_C='
     5224' ECHO_T='      ' ;;
     5225  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     5226  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     5227esac
     5228
     5229if expr a : '\(a\)' >/dev/null 2>&1; then
     5230  as_expr=expr
     5231else
     5232  as_expr=false
     5233fi
     5234
     5235rm -f conf$$ conf$$.exe conf$$.file
     5236echo >conf$$.file
     5237if ln -s conf$$.file conf$$ 2>/dev/null; then
     5238  # We could just check for DJGPP; but this test a) works b) is more generic
     5239  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     5240  if test -f conf$$.exe; then
     5241    # Don't use ln at all; we don't have any links
     5242    as_ln_s='cp -p'
     5243  else
     5244    as_ln_s='ln -s'
     5245  fi
     5246elif ln conf$$.file conf$$ 2>/dev/null; then
     5247  as_ln_s=ln
     5248else
     5249  as_ln_s='cp -p'
     5250fi
     5251rm -f conf$$ conf$$.exe conf$$.file
     5252
     5253if mkdir -p . 2>/dev/null; then
     5254  as_mkdir_p=:
     5255else
     5256  test -d ./-p && rmdir ./-p
     5257  as_mkdir_p=false
     5258fi
     5259
     5260as_executable_p="test -f"
     5261
     5262# Sed expression to map a string onto a valid CPP name.
     5263as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     5264
     5265# Sed expression to map a string onto a valid variable name.
     5266as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     5267
     5268
     5269# IFS
     5270# We need space, tab and new line, in precisely that order.
     5271as_nl='
     5272'
     5273IFS="   $as_nl"
     5274
     5275# CDPATH.
     5276$as_unset CDPATH
     5277
     5278exec 6>&1
     5279
     5280# Open the log real soon, to keep \$[0] and so on meaningful, and to
     5281# report actual input values of CONFIG_FILES etc. instead of their
     5282# values after options handling.  Logging --version etc. is OK.
     5283exec 5>>config.log
     5284{
     5285  echo
     5286  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     5287## Running $as_me. ##
     5288_ASBOX
     5289} >&5
     5290cat >&5 <<_CSEOF
     5291
     5292This file was extended by orxonox $as_me 0.1-pre-alpha, which was
     5293generated by GNU Autoconf 2.59.  Invocation command line was
     5294
     5295  CONFIG_FILES    = $CONFIG_FILES
     5296  CONFIG_HEADERS  = $CONFIG_HEADERS
     5297  CONFIG_LINKS    = $CONFIG_LINKS
     5298  CONFIG_COMMANDS = $CONFIG_COMMANDS
     5299  $ $0 $@
     5300
     5301_CSEOF
     5302echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     5303echo >&5
     5304_ACEOF
     5305
     5306# Files that config.status was made for.
     5307if test -n "$ac_config_files"; then
     5308  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     5309fi
     5310
     5311if test -n "$ac_config_headers"; then
     5312  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     5313fi
     5314
     5315if test -n "$ac_config_links"; then
     5316  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     5317fi
     5318
     5319if test -n "$ac_config_commands"; then
     5320  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     5321fi
     5322
     5323cat >>$CONFIG_STATUS <<\_ACEOF
     5324
     5325ac_cs_usage="\
     5326\`$as_me' instantiates files from templates according to the
     5327current configuration.
     5328
     5329Usage: $0 [OPTIONS] [FILE]...
     5330
     5331  -h, --help       print this help, then exit
     5332  -V, --version    print version number, then exit
     5333  -q, --quiet      do not print progress messages
     5334  -d, --debug      don't remove temporary files
     5335      --recheck    update $as_me by reconfiguring in the same conditions
     5336  --file=FILE[:TEMPLATE]
     5337                   instantiate the configuration file FILE
     5338  --header=FILE[:TEMPLATE]
     5339                   instantiate the configuration header FILE
     5340
     5341Configuration files:
     5342$config_files
     5343
     5344Configuration headers:
     5345$config_headers
     5346
     5347Configuration commands:
     5348$config_commands
     5349
     5350Report bugs to <bug-autoconf@gnu.org>."
     5351_ACEOF
     5352
     5353cat >>$CONFIG_STATUS <<_ACEOF
     5354ac_cs_version="\\
     5355orxonox config.status 0.1-pre-alpha
     5356configured by $0, generated by GNU Autoconf 2.59,
     5357  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     5358
     5359Copyright (C) 2003 Free Software Foundation, Inc.
     5360This config.status script is free software; the Free Software Foundation
     5361gives unlimited permission to copy, distribute and modify it."
     5362srcdir=$srcdir
     5363INSTALL="$INSTALL"
     5364_ACEOF
     5365
     5366cat >>$CONFIG_STATUS <<\_ACEOF
     5367# If no file are specified by the user, then we need to provide default
     5368# value.  By we need to know if files were specified by the user.
     5369ac_need_defaults=:
     5370while test $# != 0
     5371do
     5372  case $1 in
     5373  --*=*)
     5374    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     5375    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     5376    ac_shift=:
     5377    ;;
     5378  -*)
     5379    ac_option=$1
     5380    ac_optarg=$2
     5381    ac_shift=shift
     5382    ;;
     5383  *) # This is not an option, so the user has probably given explicit
     5384     # arguments.
     5385     ac_option=$1
     5386     ac_need_defaults=false;;
     5387  esac
     5388
     5389  case $ac_option in
     5390  # Handling of the options.
     5391_ACEOF
     5392cat >>$CONFIG_STATUS <<\_ACEOF
     5393  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     5394    ac_cs_recheck=: ;;
     5395  --version | --vers* | -V )
     5396    echo "$ac_cs_version"; exit 0 ;;
     5397  --he | --h)
     5398    # Conflict between --help and --header
     5399    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     5400Try \`$0 --help' for more information." >&5
     5401echo "$as_me: error: ambiguous option: $1
     5402Try \`$0 --help' for more information." >&2;}
     5403   { (exit 1); exit 1; }; };;
     5404  --help | --hel | -h )
     5405    echo "$ac_cs_usage"; exit 0 ;;
     5406  --debug | --d* | -d )
     5407    debug=: ;;
     5408  --file | --fil | --fi | --f )
     5409    $ac_shift
     5410    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     5411    ac_need_defaults=false;;
     5412  --header | --heade | --head | --hea )
     5413    $ac_shift
     5414    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     5415    ac_need_defaults=false;;
     5416  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     5417  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     5418    ac_cs_silent=: ;;
     5419
     5420  # This is an error.
     5421  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     5422Try \`$0 --help' for more information." >&5
     5423echo "$as_me: error: unrecognized option: $1
     5424Try \`$0 --help' for more information." >&2;}
     5425   { (exit 1); exit 1; }; } ;;
     5426
     5427  *) ac_config_targets="$ac_config_targets $1" ;;
     5428
     5429  esac
     5430  shift
     5431done
     5432
     5433ac_configure_extra_args=
     5434
     5435if $ac_cs_silent; then
     5436  exec 6>/dev/null
     5437  ac_configure_extra_args="$ac_configure_extra_args --silent"
     5438fi
     5439
     5440_ACEOF
     5441cat >>$CONFIG_STATUS <<_ACEOF
     5442if \$ac_cs_recheck; then
     5443  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     5444  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     5445fi
     5446
     5447_ACEOF
     5448
     5449cat >>$CONFIG_STATUS <<_ACEOF
     5450#
     5451# INIT-COMMANDS section.
     5452#
     5453
     5454AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
     5455
     5456_ACEOF
     5457
     5458
     5459
     5460cat >>$CONFIG_STATUS <<\_ACEOF
     5461for ac_config_target in $ac_config_targets
     5462do
     5463  case "$ac_config_target" in
     5464  # Handling of arguments.
     5465  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     5466  "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
     5467  "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
     5468  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     5469  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     5470  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     5471  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     5472echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     5473   { (exit 1); exit 1; }; };;
     5474  esac
     5475done
     5476
     5477# If the user did not use the arguments to specify the items to instantiate,
     5478# then the envvar interface is used.  Set only those that are not.
     5479# We use the long form for the default assignment because of an extremely
     5480# bizarre bug on SunOS 4.1.3.
     5481if $ac_need_defaults; then
     5482  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     5483  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     5484  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
     5485fi
     5486
     5487# Have a temporary directory for convenience.  Make it in the build tree
     5488# simply because there is no reason to put it here, and in addition,
     5489# creating and moving files from /tmp can sometimes cause problems.
     5490# Create a temporary directory, and hook for its removal unless debugging.
     5491$debug ||
     5492{
     5493  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     5494  trap '{ (exit 1); exit 1; }' 1 2 13 15
     5495}
     5496
     5497# Create a (secure) tmp directory for tmp files.
     5498
     5499{
     5500  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     5501  test -n "$tmp" && test -d "$tmp"
     5502}  ||
     5503{
     5504  tmp=./confstat$$-$RANDOM
     5505  (umask 077 && mkdir $tmp)
     5506} ||
     5507{
     5508   echo "$me: cannot create a temporary directory in ." >&2
     5509   { (exit 1); exit 1; }
     5510}
     5511
     5512_ACEOF
     5513
     5514cat >>$CONFIG_STATUS <<_ACEOF
     5515
     5516#
     5517# CONFIG_FILES section.
     5518#
     5519
     5520# No need to generate the scripts if there are no CONFIG_FILES.
     5521# This happens for instance when ./config.status config.h
     5522if test -n "\$CONFIG_FILES"; then
     5523  # Protect against being on the right side of a sed subst in config.status.
     5524  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     5525   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     5526s,@SHELL@,$SHELL,;t t
     5527s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     5528s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     5529s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     5530s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     5531s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     5532s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     5533s,@exec_prefix@,$exec_prefix,;t t
     5534s,@prefix@,$prefix,;t t
     5535s,@program_transform_name@,$program_transform_name,;t t
     5536s,@bindir@,$bindir,;t t
     5537s,@sbindir@,$sbindir,;t t
     5538s,@libexecdir@,$libexecdir,;t t
     5539s,@datadir@,$datadir,;t t
     5540s,@sysconfdir@,$sysconfdir,;t t
     5541s,@sharedstatedir@,$sharedstatedir,;t t
     5542s,@localstatedir@,$localstatedir,;t t
     5543s,@libdir@,$libdir,;t t
     5544s,@includedir@,$includedir,;t t
     5545s,@oldincludedir@,$oldincludedir,;t t
     5546s,@infodir@,$infodir,;t t
     5547s,@mandir@,$mandir,;t t
     5548s,@build_alias@,$build_alias,;t t
     5549s,@host_alias@,$host_alias,;t t
     5550s,@target_alias@,$target_alias,;t t
     5551s,@DEFS@,$DEFS,;t t
     5552s,@ECHO_C@,$ECHO_C,;t t
     5553s,@ECHO_N@,$ECHO_N,;t t
     5554s,@ECHO_T@,$ECHO_T,;t t
     5555s,@LIBS@,$LIBS,;t t
     5556s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     5557s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     5558s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     5559s,@CYGPATH_W@,$CYGPATH_W,;t t
     5560s,@PACKAGE@,$PACKAGE,;t t
     5561s,@VERSION@,$VERSION,;t t
     5562s,@ACLOCAL@,$ACLOCAL,;t t
     5563s,@AUTOCONF@,$AUTOCONF,;t t
     5564s,@AUTOMAKE@,$AUTOMAKE,;t t
     5565s,@AUTOHEADER@,$AUTOHEADER,;t t
     5566s,@MAKEINFO@,$MAKEINFO,;t t
     5567s,@AMTAR@,$AMTAR,;t t
     5568s,@install_sh@,$install_sh,;t t
     5569s,@STRIP@,$STRIP,;t t
     5570s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
     5571s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
     5572s,@AWK@,$AWK,;t t
     5573s,@SET_MAKE@,$SET_MAKE,;t t
     5574s,@am__leading_dot@,$am__leading_dot,;t t
     5575s,@CXX@,$CXX,;t t
     5576s,@CXXFLAGS@,$CXXFLAGS,;t t
     5577s,@LDFLAGS@,$LDFLAGS,;t t
     5578s,@CPPFLAGS@,$CPPFLAGS,;t t
     5579s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     5580s,@EXEEXT@,$EXEEXT,;t t
     5581s,@OBJEXT@,$OBJEXT,;t t
     5582s,@DEPDIR@,$DEPDIR,;t t
     5583s,@am__include@,$am__include,;t t
     5584s,@am__quote@,$am__quote,;t t
     5585s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
     5586s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
     5587s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
     5588s,@CXXDEPMODE@,$CXXDEPMODE,;t t
     5589s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
     5590s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
     5591s,@CC@,$CC,;t t
     5592s,@CFLAGS@,$CFLAGS,;t t
     5593s,@ac_ct_CC@,$ac_ct_CC,;t t
     5594s,@CCDEPMODE@,$CCDEPMODE,;t t
     5595s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
     5596s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
     5597s,@CPP@,$CPP,;t t
     5598s,@EGREP@,$EGREP,;t t
     5599s,@LIBOBJS@,$LIBOBJS,;t t
     5600s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     5601CEOF
     5602
     5603_ACEOF
     5604
     5605  cat >>$CONFIG_STATUS <<\_ACEOF
     5606  # Split the substitutions into bite-sized pieces for seds with
     5607  # small command number limits, like on Digital OSF/1 and HP-UX.
     5608  ac_max_sed_lines=48
     5609  ac_sed_frag=1 # Number of current file.
     5610  ac_beg=1 # First line for current file.
     5611  ac_end=$ac_max_sed_lines # Line after last line for current file.
     5612  ac_more_lines=:
     5613  ac_sed_cmds=
     5614  while $ac_more_lines; do
     5615    if test $ac_beg -gt 1; then
     5616      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5617    else
     5618      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5619    fi
     5620    if test ! -s $tmp/subs.frag; then
     5621      ac_more_lines=false
     5622    else
     5623      # The purpose of the label and of the branching condition is to
     5624      # speed up the sed processing (if there are no `@' at all, there
     5625      # is no need to browse any of the substitutions).
     5626      # These are the two extra sed commands mentioned above.
     5627      (echo ':t
     5628  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     5629      if test -z "$ac_sed_cmds"; then
     5630        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     5631      else
     5632        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     5633      fi
     5634      ac_sed_frag=`expr $ac_sed_frag + 1`
     5635      ac_beg=$ac_end
     5636      ac_end=`expr $ac_end + $ac_max_sed_lines`
     5637    fi
     5638  done
     5639  if test -z "$ac_sed_cmds"; then
     5640    ac_sed_cmds=cat
     5641  fi
     5642fi # test -n "$CONFIG_FILES"
     5643
     5644_ACEOF
     5645cat >>$CONFIG_STATUS <<\_ACEOF
     5646for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     5647  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     5648  case $ac_file in
     5649  - | *:- | *:-:* ) # input from stdin
     5650        cat >$tmp/stdin
     5651        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5652        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5653  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5654        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5655  * )   ac_file_in=$ac_file.in ;;
     5656  esac
     5657
     5658  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     5659  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     5660$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5661         X"$ac_file" : 'X\(//\)[^/]' \| \
     5662         X"$ac_file" : 'X\(//\)$' \| \
     5663         X"$ac_file" : 'X\(/\)' \| \
     5664         .     : '\(.\)' 2>/dev/null ||
     5665echo X"$ac_file" |
     5666    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5667          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5668          /^X\(\/\/\)$/{ s//\1/; q; }
     5669          /^X\(\/\).*/{ s//\1/; q; }
     5670          s/.*/./; q'`
     5671  { if $as_mkdir_p; then
     5672    mkdir -p "$ac_dir"
     5673  else
     5674    as_dir="$ac_dir"
     5675    as_dirs=
     5676    while test ! -d "$as_dir"; do
     5677      as_dirs="$as_dir $as_dirs"
     5678      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     5679$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5680         X"$as_dir" : 'X\(//\)[^/]' \| \
     5681         X"$as_dir" : 'X\(//\)$' \| \
     5682         X"$as_dir" : 'X\(/\)' \| \
     5683         .     : '\(.\)' 2>/dev/null ||
     5684echo X"$as_dir" |
     5685    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5686          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5687          /^X\(\/\/\)$/{ s//\1/; q; }
     5688          /^X\(\/\).*/{ s//\1/; q; }
     5689          s/.*/./; q'`
     5690    done
     5691    test ! -n "$as_dirs" || mkdir $as_dirs
     5692  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     5693echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     5694   { (exit 1); exit 1; }; }; }
     5695
     5696  ac_builddir=.
     5697
     5698if test "$ac_dir" != .; then
     5699  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     5700  # A "../" for each directory in $ac_dir_suffix.
     5701  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     5702else
     5703  ac_dir_suffix= ac_top_builddir=
     5704fi
     5705
     5706case $srcdir in
     5707  .)  # No --srcdir option.  We are building in place.
     5708    ac_srcdir=.
     5709    if test -z "$ac_top_builddir"; then
     5710       ac_top_srcdir=.
     5711    else
     5712       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     5713    fi ;;
     5714  [\\/]* | ?:[\\/]* )  # Absolute path.
     5715    ac_srcdir=$srcdir$ac_dir_suffix;
     5716    ac_top_srcdir=$srcdir ;;
     5717  *) # Relative path.
     5718    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     5719    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5720esac
     5721
     5722# Do not use `cd foo && pwd` to compute absolute paths, because
     5723# the directories may not exist.
     5724case `pwd` in
     5725.) ac_abs_builddir="$ac_dir";;
     5726*)
     5727  case "$ac_dir" in
     5728  .) ac_abs_builddir=`pwd`;;
     5729  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     5730  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     5731  esac;;
     5732esac
     5733case $ac_abs_builddir in
     5734.) ac_abs_top_builddir=${ac_top_builddir}.;;
     5735*)
     5736  case ${ac_top_builddir}. in
     5737  .) ac_abs_top_builddir=$ac_abs_builddir;;
     5738  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     5739  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     5740  esac;;
     5741esac
     5742case $ac_abs_builddir in
     5743.) ac_abs_srcdir=$ac_srcdir;;
     5744*)
     5745  case $ac_srcdir in
     5746  .) ac_abs_srcdir=$ac_abs_builddir;;
     5747  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     5748  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     5749  esac;;
     5750esac
     5751case $ac_abs_builddir in
     5752.) ac_abs_top_srcdir=$ac_top_srcdir;;
     5753*)
     5754  case $ac_top_srcdir in
     5755  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     5756  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     5757  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     5758  esac;;
     5759esac
     5760
     5761
     5762  case $INSTALL in
     5763  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     5764  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     5765  esac
     5766
     5767  if test x"$ac_file" != x-; then
     5768    { echo "$as_me:$LINENO: creating $ac_file" >&5
     5769echo "$as_me: creating $ac_file" >&6;}
     5770    rm -f "$ac_file"
     5771  fi
     5772  # Let's still pretend it is `configure' which instantiates (i.e., don't
     5773  # use $as_me), people would be surprised to read:
     5774  #    /* config.h.  Generated by config.status.  */
     5775  if test x"$ac_file" = x-; then
     5776    configure_input=
     5777  else
     5778    configure_input="$ac_file.  "
     5779  fi
     5780  configure_input=$configure_input"Generated from `echo $ac_file_in |
     5781                                     sed 's,.*/,,'` by configure."
     5782
     5783  # First look for the input files in the build tree, otherwise in the
     5784  # src tree.
     5785  ac_file_inputs=`IFS=:
     5786    for f in $ac_file_in; do
     5787      case $f in
     5788      -) echo $tmp/stdin ;;
     5789      [\\/$]*)
     5790         # Absolute (can't be DOS-style, as IFS=:)
     5791         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5792echo "$as_me: error: cannot find input file: $f" >&2;}
     5793   { (exit 1); exit 1; }; }
     5794         echo "$f";;
     5795      *) # Relative
     5796         if test -f "$f"; then
     5797           # Build tree
     5798           echo "$f"
     5799         elif test -f "$srcdir/$f"; then
     5800           # Source tree
     5801           echo "$srcdir/$f"
     5802         else
     5803           # /dev/null tree
     5804           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5805echo "$as_me: error: cannot find input file: $f" >&2;}
     5806   { (exit 1); exit 1; }; }
     5807         fi;;
     5808      esac
     5809    done` || { (exit 1); exit 1; }
     5810_ACEOF
     5811cat >>$CONFIG_STATUS <<_ACEOF
     5812  sed "$ac_vpsub
     5813$extrasub
     5814_ACEOF
     5815cat >>$CONFIG_STATUS <<\_ACEOF
     5816:t
     5817/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     5818s,@configure_input@,$configure_input,;t t
     5819s,@srcdir@,$ac_srcdir,;t t
     5820s,@abs_srcdir@,$ac_abs_srcdir,;t t
     5821s,@top_srcdir@,$ac_top_srcdir,;t t
     5822s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     5823s,@builddir@,$ac_builddir,;t t
     5824s,@abs_builddir@,$ac_abs_builddir,;t t
     5825s,@top_builddir@,$ac_top_builddir,;t t
     5826s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     5827s,@INSTALL@,$ac_INSTALL,;t t
     5828" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     5829  rm -f $tmp/stdin
     5830  if test x"$ac_file" != x-; then
     5831    mv $tmp/out $ac_file
     5832  else
     5833    cat $tmp/out
     5834    rm -f $tmp/out
     5835  fi
     5836
     5837done
     5838_ACEOF
     5839cat >>$CONFIG_STATUS <<\_ACEOF
     5840
     5841#
     5842# CONFIG_HEADER section.
     5843#
     5844
     5845# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     5846# NAME is the cpp macro being defined and VALUE is the value it is being given.
     5847#
     5848# ac_d sets the value in "#define NAME VALUE" lines.
     5849ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
     5850ac_dB='[         ].*$,\1#\2'
     5851ac_dC=' '
     5852ac_dD=',;t'
     5853# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     5854ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     5855ac_uB='$,\1#\2define\3'
     5856ac_uC=' '
     5857ac_uD=',;t'
     5858
     5859for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     5860  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     5861  case $ac_file in
     5862  - | *:- | *:-:* ) # input from stdin
     5863        cat >$tmp/stdin
     5864        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5865        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5866  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5867        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5868  * )   ac_file_in=$ac_file.in ;;
     5869  esac
     5870
     5871  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     5872echo "$as_me: creating $ac_file" >&6;}
     5873
     5874  # First look for the input files in the build tree, otherwise in the
     5875  # src tree.
     5876  ac_file_inputs=`IFS=:
     5877    for f in $ac_file_in; do
     5878      case $f in
     5879      -) echo $tmp/stdin ;;
     5880      [\\/$]*)
     5881         # Absolute (can't be DOS-style, as IFS=:)
     5882         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5883echo "$as_me: error: cannot find input file: $f" >&2;}
     5884   { (exit 1); exit 1; }; }
     5885         # Do quote $f, to prevent DOS paths from being IFS'd.
     5886         echo "$f";;
     5887      *) # Relative
     5888         if test -f "$f"; then
     5889           # Build tree
     5890           echo "$f"
     5891         elif test -f "$srcdir/$f"; then
     5892           # Source tree
     5893           echo "$srcdir/$f"
     5894         else
     5895           # /dev/null tree
     5896           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5897echo "$as_me: error: cannot find input file: $f" >&2;}
     5898   { (exit 1); exit 1; }; }
     5899         fi;;
     5900      esac
     5901    done` || { (exit 1); exit 1; }
     5902  # Remove the trailing spaces.
     5903  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
     5904
     5905_ACEOF
     5906
     5907# Transform confdefs.h into two sed scripts, `conftest.defines' and
     5908# `conftest.undefs', that substitutes the proper values into
     5909# config.h.in to produce config.h.  The first handles `#define'
     5910# templates, and the second `#undef' templates.
     5911# And first: Protect against being on the right side of a sed subst in
     5912# config.status.  Protect against being in an unquoted here document
     5913# in config.status.
     5914rm -f conftest.defines conftest.undefs
     5915# Using a here document instead of a string reduces the quoting nightmare.
     5916# Putting comments in sed scripts is not portable.
     5917#
     5918# `end' is used to avoid that the second main sed command (meant for
     5919# 0-ary CPP macros) applies to n-ary macro definitions.
     5920# See the Autoconf documentation for `clear'.
     5921cat >confdef2sed.sed <<\_ACEOF
     5922s/[\\&,]/\\&/g
     5923s,[\\$`],\\&,g
     5924t clear
     5925: clear
     5926s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     5927t end
     5928s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     5929: end
     5930_ACEOF
     5931# If some macros were called several times there might be several times
     5932# the same #defines, which is useless.  Nevertheless, we may not want to
     5933# sort them, since we want the *last* AC-DEFINE to be honored.
     5934uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     5935sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     5936rm -f confdef2sed.sed
     5937
     5938# This sed command replaces #undef with comments.  This is necessary, for
     5939# example, in the case of _POSIX_SOURCE, which is predefined and required
     5940# on some systems where configure will not decide to define it.
     5941cat >>conftest.undefs <<\_ACEOF
     5942s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     5943_ACEOF
     5944
     5945# Break up conftest.defines because some shells have a limit on the size
     5946# of here documents, and old seds have small limits too (100 cmds).
     5947echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     5948echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     5949echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     5950echo '  :' >>$CONFIG_STATUS
     5951rm -f conftest.tail
     5952while grep . conftest.defines >/dev/null
     5953do
     5954  # Write a limited-size here document to $tmp/defines.sed.
     5955  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     5956  # Speed up: don't consider the non `#define' lines.
     5957  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
     5958  # Work around the forget-to-reset-the-flag bug.
     5959  echo 't clr' >>$CONFIG_STATUS
     5960  echo ': clr' >>$CONFIG_STATUS
     5961  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     5962  echo 'CEOF
     5963  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     5964  rm -f $tmp/in
     5965  mv $tmp/out $tmp/in
     5966' >>$CONFIG_STATUS
     5967  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     5968  rm -f conftest.defines
     5969  mv conftest.tail conftest.defines
     5970done
     5971rm -f conftest.defines
     5972echo '  fi # grep' >>$CONFIG_STATUS
     5973echo >>$CONFIG_STATUS
     5974
     5975# Break up conftest.undefs because some shells have a limit on the size
     5976# of here documents, and old seds have small limits too (100 cmds).
     5977echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     5978rm -f conftest.tail
     5979while grep . conftest.undefs >/dev/null
     5980do
     5981  # Write a limited-size here document to $tmp/undefs.sed.
     5982  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     5983  # Speed up: don't consider the non `#undef'
     5984  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     5985  # Work around the forget-to-reset-the-flag bug.
     5986  echo 't clr' >>$CONFIG_STATUS
     5987  echo ': clr' >>$CONFIG_STATUS
     5988  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     5989  echo 'CEOF
     5990  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     5991  rm -f $tmp/in
     5992  mv $tmp/out $tmp/in
     5993' >>$CONFIG_STATUS
     5994  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     5995  rm -f conftest.undefs
     5996  mv conftest.tail conftest.undefs
     5997done
     5998rm -f conftest.undefs
     5999
     6000cat >>$CONFIG_STATUS <<\_ACEOF
     6001  # Let's still pretend it is `configure' which instantiates (i.e., don't
     6002  # use $as_me), people would be surprised to read:
     6003  #    /* config.h.  Generated by config.status.  */
     6004  if test x"$ac_file" = x-; then
     6005    echo "/* Generated by configure.  */" >$tmp/config.h
     6006  else
     6007    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     6008  fi
     6009  cat $tmp/in >>$tmp/config.h
     6010  rm -f $tmp/in
     6011  if test x"$ac_file" != x-; then
     6012    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     6013      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     6014echo "$as_me: $ac_file is unchanged" >&6;}
     6015    else
     6016      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     6017$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6018         X"$ac_file" : 'X\(//\)[^/]' \| \
     6019         X"$ac_file" : 'X\(//\)$' \| \
     6020         X"$ac_file" : 'X\(/\)' \| \
     6021         .     : '\(.\)' 2>/dev/null ||
     6022echo X"$ac_file" |
     6023    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6024          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6025          /^X\(\/\/\)$/{ s//\1/; q; }
     6026          /^X\(\/\).*/{ s//\1/; q; }
     6027          s/.*/./; q'`
     6028      { if $as_mkdir_p; then
     6029    mkdir -p "$ac_dir"
     6030  else
     6031    as_dir="$ac_dir"
     6032    as_dirs=
     6033    while test ! -d "$as_dir"; do
     6034      as_dirs="$as_dir $as_dirs"
     6035      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     6036$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6037         X"$as_dir" : 'X\(//\)[^/]' \| \
     6038         X"$as_dir" : 'X\(//\)$' \| \
     6039         X"$as_dir" : 'X\(/\)' \| \
     6040         .     : '\(.\)' 2>/dev/null ||
     6041echo X"$as_dir" |
     6042    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6043          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6044          /^X\(\/\/\)$/{ s//\1/; q; }
     6045          /^X\(\/\).*/{ s//\1/; q; }
     6046          s/.*/./; q'`
     6047    done
     6048    test ! -n "$as_dirs" || mkdir $as_dirs
     6049  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     6050echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6051   { (exit 1); exit 1; }; }; }
     6052
     6053      rm -f $ac_file
     6054      mv $tmp/config.h $ac_file
     6055    fi
     6056  else
     6057    cat $tmp/config.h
     6058    rm -f $tmp/config.h
     6059  fi
     6060# Compute $ac_file's index in $config_headers.
     6061_am_stamp_count=1
     6062for _am_header in $config_headers :; do
     6063  case $_am_header in
     6064    $ac_file | $ac_file:* )
     6065      break ;;
     6066    * )
     6067      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
     6068  esac
     6069done
     6070echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
     6071$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6072         X$ac_file : 'X\(//\)[^/]' \| \
     6073         X$ac_file : 'X\(//\)$' \| \
     6074         X$ac_file : 'X\(/\)' \| \
     6075         .     : '\(.\)' 2>/dev/null ||
     6076echo X$ac_file |
     6077    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6078          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6079          /^X\(\/\/\)$/{ s//\1/; q; }
     6080          /^X\(\/\).*/{ s//\1/; q; }
     6081          s/.*/./; q'`/stamp-h$_am_stamp_count
     6082done
     6083_ACEOF
     6084cat >>$CONFIG_STATUS <<\_ACEOF
     6085
     6086#
     6087# CONFIG_COMMANDS section.
     6088#
     6089for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
     6090  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
     6091  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
     6092  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
     6093$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6094         X"$ac_dest" : 'X\(//\)[^/]' \| \
     6095         X"$ac_dest" : 'X\(//\)$' \| \
     6096         X"$ac_dest" : 'X\(/\)' \| \
     6097         .     : '\(.\)' 2>/dev/null ||
     6098echo X"$ac_dest" |
     6099    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6100          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6101          /^X\(\/\/\)$/{ s//\1/; q; }
     6102          /^X\(\/\).*/{ s//\1/; q; }
     6103          s/.*/./; q'`
     6104  { if $as_mkdir_p; then
     6105    mkdir -p "$ac_dir"
     6106  else
     6107    as_dir="$ac_dir"
     6108    as_dirs=
     6109    while test ! -d "$as_dir"; do
     6110      as_dirs="$as_dir $as_dirs"
     6111      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     6112$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6113         X"$as_dir" : 'X\(//\)[^/]' \| \
     6114         X"$as_dir" : 'X\(//\)$' \| \
     6115         X"$as_dir" : 'X\(/\)' \| \
     6116         .     : '\(.\)' 2>/dev/null ||
     6117echo X"$as_dir" |
     6118    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6119          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6120          /^X\(\/\/\)$/{ s//\1/; q; }
     6121          /^X\(\/\).*/{ s//\1/; q; }
     6122          s/.*/./; q'`
     6123    done
     6124    test ! -n "$as_dirs" || mkdir $as_dirs
     6125  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     6126echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6127   { (exit 1); exit 1; }; }; }
     6128
     6129  ac_builddir=.
     6130
     6131if test "$ac_dir" != .; then
     6132  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     6133  # A "../" for each directory in $ac_dir_suffix.
     6134  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     6135else
     6136  ac_dir_suffix= ac_top_builddir=
     6137fi
     6138
     6139case $srcdir in
     6140  .)  # No --srcdir option.  We are building in place.
     6141    ac_srcdir=.
     6142    if test -z "$ac_top_builddir"; then
     6143       ac_top_srcdir=.
     6144    else
     6145       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     6146    fi ;;
     6147  [\\/]* | ?:[\\/]* )  # Absolute path.
     6148    ac_srcdir=$srcdir$ac_dir_suffix;
     6149    ac_top_srcdir=$srcdir ;;
     6150  *) # Relative path.
     6151    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     6152    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     6153esac
     6154
     6155# Do not use `cd foo && pwd` to compute absolute paths, because
     6156# the directories may not exist.
     6157case `pwd` in
     6158.) ac_abs_builddir="$ac_dir";;
     6159*)
     6160  case "$ac_dir" in
     6161  .) ac_abs_builddir=`pwd`;;
     6162  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     6163  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     6164  esac;;
     6165esac
     6166case $ac_abs_builddir in
     6167.) ac_abs_top_builddir=${ac_top_builddir}.;;
     6168*)
     6169  case ${ac_top_builddir}. in
     6170  .) ac_abs_top_builddir=$ac_abs_builddir;;
     6171  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     6172  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     6173  esac;;
     6174esac
     6175case $ac_abs_builddir in
     6176.) ac_abs_srcdir=$ac_srcdir;;
     6177*)
     6178  case $ac_srcdir in
     6179  .) ac_abs_srcdir=$ac_abs_builddir;;
     6180  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     6181  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     6182  esac;;
     6183esac
     6184case $ac_abs_builddir in
     6185.) ac_abs_top_srcdir=$ac_top_srcdir;;
     6186*)
     6187  case $ac_top_srcdir in
     6188  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     6189  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     6190  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     6191  esac;;
     6192esac
     6193
     6194
     6195  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
     6196echo "$as_me: executing $ac_dest commands" >&6;}
     6197  case $ac_dest in
     6198    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
     6199  # Strip MF so we end up with the name of the file.
     6200  mf=`echo "$mf" | sed -e 's/:.*$//'`
     6201  # Check whether this is an Automake generated Makefile or not.
     6202  # We used to match only the files named `Makefile.in', but
     6203  # some people rename them; so instead we look at the file content.
     6204  # Grep'ing the first line is not enough: some people post-process
     6205  # each Makefile.in and add a new line on top of each file to say so.
     6206  # So let's grep whole file.
     6207  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
     6208    dirpart=`(dirname "$mf") 2>/dev/null ||
     6209$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6210         X"$mf" : 'X\(//\)[^/]' \| \
     6211         X"$mf" : 'X\(//\)$' \| \
     6212         X"$mf" : 'X\(/\)' \| \
     6213         .     : '\(.\)' 2>/dev/null ||
     6214echo X"$mf" |
     6215    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6216          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6217          /^X\(\/\/\)$/{ s//\1/; q; }
     6218          /^X\(\/\).*/{ s//\1/; q; }
     6219          s/.*/./; q'`
     6220  else
     6221    continue
     6222  fi
     6223  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
     6224  # Extract the definition of DEP_FILES from the Makefile without
     6225  # running `make'.
     6226  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     6227  test -z "$DEPDIR" && continue
     6228  # When using ansi2knr, U may be empty or an underscore; expand it
     6229  U=`sed -n -e '/^U = / s///p' < "$mf"`
     6230  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
     6231  # We invoke sed twice because it is the simplest approach to
     6232  # changing $(DEPDIR) to its actual value in the expansion.
     6233  for file in `sed -n -e '
     6234    /^DEP_FILES = .*\\\\$/ {
     6235      s/^DEP_FILES = //
     6236      :loop
     6237        s/\\\\$//
     6238        p
     6239        n
     6240        /\\\\$/ b loop
     6241      p
     6242    }
     6243    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
     6244       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     6245    # Make sure the directory exists.
     6246    test -f "$dirpart/$file" && continue
     6247    fdir=`(dirname "$file") 2>/dev/null ||
     6248$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6249         X"$file" : 'X\(//\)[^/]' \| \
     6250         X"$file" : 'X\(//\)$' \| \
     6251         X"$file" : 'X\(/\)' \| \
     6252         .     : '\(.\)' 2>/dev/null ||
     6253echo X"$file" |
     6254    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6255          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6256          /^X\(\/\/\)$/{ s//\1/; q; }
     6257          /^X\(\/\).*/{ s//\1/; q; }
     6258          s/.*/./; q'`
     6259    { if $as_mkdir_p; then
     6260    mkdir -p $dirpart/$fdir
     6261  else
     6262    as_dir=$dirpart/$fdir
     6263    as_dirs=
     6264    while test ! -d "$as_dir"; do
     6265      as_dirs="$as_dir $as_dirs"
     6266      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     6267$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6268         X"$as_dir" : 'X\(//\)[^/]' \| \
     6269         X"$as_dir" : 'X\(//\)$' \| \
     6270         X"$as_dir" : 'X\(/\)' \| \
     6271         .     : '\(.\)' 2>/dev/null ||
     6272echo X"$as_dir" |
     6273    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6274          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6275          /^X\(\/\/\)$/{ s//\1/; q; }
     6276          /^X\(\/\).*/{ s//\1/; q; }
     6277          s/.*/./; q'`
     6278    done
     6279    test ! -n "$as_dirs" || mkdir $as_dirs
     6280  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
     6281echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
     6282   { (exit 1); exit 1; }; }; }
     6283
     6284    # echo "creating $dirpart/$file"
     6285    echo '# dummy' > "$dirpart/$file"
     6286  done
     6287done
     6288 ;;
     6289  esac
     6290done
     6291_ACEOF
     6292
     6293cat >>$CONFIG_STATUS <<\_ACEOF
     6294
     6295{ (exit 0); exit 0; }
     6296_ACEOF
     6297chmod +x $CONFIG_STATUS
     6298ac_clean_files=$ac_clean_files_save
     6299
     6300
     6301# configure is writing to config.log, and then calls config.status.
     6302# config.status does its own redirection, appending to config.log.
     6303# Unfortunately, on DOS this fails, as config.log is still kept open
     6304# by configure, so config.status won't be able to write to it; its
     6305# output is simply discarded.  So we exec the FD to /dev/null,
     6306# effectively closing config.log, so it can be properly (re)opened and
     6307# appended to by config.status.  When coming back to configure, we
     6308# need to make the FD available again.
     6309if test "$no_create" != yes; then
     6310  ac_cs_success=:
     6311  ac_config_status_args=
     6312  test "$silent" = yes &&
     6313    ac_config_status_args="$ac_config_status_args --quiet"
     6314  exec 5>/dev/null
     6315  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
     6316  exec 5>>config.log
     6317  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     6318  # would make configure fail if this is the last instruction.
     6319  $ac_cs_success || { (exit 1); exit 1; }
     6320fi
     6321
Note: See TracChangeset for help on using the changeset viewer.