Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/configure @ 1994

Last change on this file since 1994 was 1982, checked in by chris, 20 years ago

orxonox/branches/chris: merged trunk into my branch, moved new files into new folder

  • Property svn:executable set to *
File size: 209.1 KB
Line 
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
1323am__api_version="1.7"
1324ac_aux_dir=
1325for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1326  if test -f $ac_dir/install-sh; then
1327    ac_aux_dir=$ac_dir
1328    ac_install_sh="$ac_aux_dir/install-sh -c"
1329    break
1330  elif test -f $ac_dir/install.sh; then
1331    ac_aux_dir=$ac_dir
1332    ac_install_sh="$ac_aux_dir/install.sh -c"
1333    break
1334  elif test -f $ac_dir/shtool; then
1335    ac_aux_dir=$ac_dir
1336    ac_install_sh="$ac_aux_dir/shtool install -c"
1337    break
1338  fi
1339done
1340if test -z "$ac_aux_dir"; then
1341  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1342echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1343   { (exit 1); exit 1; }; }
1344fi
1345ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1346ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1347ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1348
1349# Find a good install program.  We prefer a C program (faster),
1350# so one script is as good as another.  But avoid the broken or
1351# incompatible versions:
1352# SysV /etc/install, /usr/sbin/install
1353# SunOS /usr/etc/install
1354# IRIX /sbin/install
1355# AIX /bin/install
1356# AmigaOS /C/install, which installs bootblocks on floppy discs
1357# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1358# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1359# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1360# OS/2's system install, which has a completely different semantic
1361# ./install, which can be erroneously created by make from ./install.sh.
1362echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1363echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1364if test -z "$INSTALL"; then
1365if test "${ac_cv_path_install+set}" = set; then
1366  echo $ECHO_N "(cached) $ECHO_C" >&6
1367else
1368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369for as_dir in $PATH
1370do
1371  IFS=$as_save_IFS
1372  test -z "$as_dir" && as_dir=.
1373  # Account for people who put trailing slashes in PATH elements.
1374case $as_dir/ in
1375  ./ | .// | /cC/* | \
1376  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1377  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1378  /usr/ucb/* ) ;;
1379  *)
1380    # OSF1 and SCO ODT 3.0 have their own names for install.
1381    # Don't use installbsd from OSF since it installs stuff as root
1382    # by default.
1383    for ac_prog in ginstall scoinst install; do
1384      for ac_exec_ext in '' $ac_executable_extensions; do
1385        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1386          if test $ac_prog = install &&
1387            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1388            # AIX install.  It has an incompatible calling convention.
1389            :
1390          elif test $ac_prog = install &&
1391            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1392            # program-specific install script used by HP pwplus--don't use.
1393            :
1394          else
1395            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1396            break 3
1397          fi
1398        fi
1399      done
1400    done
1401    ;;
1402esac
1403done
1404
1405
1406fi
1407  if test "${ac_cv_path_install+set}" = set; then
1408    INSTALL=$ac_cv_path_install
1409  else
1410    # As a last resort, use the slow shell script.  We don't cache a
1411    # path for INSTALL within a source directory, because that will
1412    # break other packages using the cache if that directory is
1413    # removed, or if the path is relative.
1414    INSTALL=$ac_install_sh
1415  fi
1416fi
1417echo "$as_me:$LINENO: result: $INSTALL" >&5
1418echo "${ECHO_T}$INSTALL" >&6
1419
1420# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1421# It thinks the first close brace ends the variable substitution.
1422test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1423
1424test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1425
1426test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1427
1428echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1429echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1430# Just in case
1431sleep 1
1432echo timestamp > conftest.file
1433# Do `set' in a subshell so we don't clobber the current shell's
1434# arguments.  Must try -L first in case configure is actually a
1435# symlink; some systems play weird games with the mod time of symlinks
1436# (eg FreeBSD returns the mod time of the symlink's containing
1437# directory).
1438if (
1439   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1440   if test "$*" = "X"; then
1441      # -L didn't work.
1442      set X `ls -t $srcdir/configure conftest.file`
1443   fi
1444   rm -f conftest.file
1445   if test "$*" != "X $srcdir/configure conftest.file" \
1446      && test "$*" != "X conftest.file $srcdir/configure"; then
1447
1448      # If neither matched, then we have a broken ls.  This can happen
1449      # if, for instance, CONFIG_SHELL is bash and it inherits a
1450      # broken ls alias from the environment.  This has actually
1451      # happened.  Such a system could not be considered "sane".
1452      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1453alias in your environment" >&5
1454echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1455alias in your environment" >&2;}
1456   { (exit 1); exit 1; }; }
1457   fi
1458
1459   test "$2" = conftest.file
1460   )
1461then
1462   # Ok.
1463   :
1464else
1465   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1466Check your system clock" >&5
1467echo "$as_me: error: newly created file is older than distributed files!
1468Check your system clock" >&2;}
1469   { (exit 1); exit 1; }; }
1470fi
1471echo "$as_me:$LINENO: result: yes" >&5
1472echo "${ECHO_T}yes" >&6
1473test "$program_prefix" != NONE &&
1474  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1475# Use a double $ so make ignores it.
1476test "$program_suffix" != NONE &&
1477  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1478# Double any \ or $.  echo might interpret backslashes.
1479# By default was `s,x,x', remove it if useless.
1480cat <<\_ACEOF >conftest.sed
1481s/[\\$]/&&/g;s/;s,x,x,$//
1482_ACEOF
1483program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1484rm conftest.sed
1485
1486
1487# expand $ac_aux_dir to an absolute path
1488am_aux_dir=`cd $ac_aux_dir && pwd`
1489
1490test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1491# Use eval to expand $SHELL
1492if eval "$MISSING --run true"; then
1493  am_missing_run="$MISSING --run "
1494else
1495  am_missing_run=
1496  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1497echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1498fi
1499
1500for ac_prog in gawk mawk nawk awk
1501do
1502  # Extract the first word of "$ac_prog", so it can be a program name with args.
1503set dummy $ac_prog; ac_word=$2
1504echo "$as_me:$LINENO: checking for $ac_word" >&5
1505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506if test "${ac_cv_prog_AWK+set}" = set; then
1507  echo $ECHO_N "(cached) $ECHO_C" >&6
1508else
1509  if test -n "$AWK"; then
1510  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1511else
1512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513for as_dir in $PATH
1514do
1515  IFS=$as_save_IFS
1516  test -z "$as_dir" && as_dir=.
1517  for ac_exec_ext in '' $ac_executable_extensions; do
1518  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519    ac_cv_prog_AWK="$ac_prog"
1520    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1521    break 2
1522  fi
1523done
1524done
1525
1526fi
1527fi
1528AWK=$ac_cv_prog_AWK
1529if test -n "$AWK"; then
1530  echo "$as_me:$LINENO: result: $AWK" >&5
1531echo "${ECHO_T}$AWK" >&6
1532else
1533  echo "$as_me:$LINENO: result: no" >&5
1534echo "${ECHO_T}no" >&6
1535fi
1536
1537  test -n "$AWK" && break
1538done
1539
1540echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1541echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1542set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1543if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1544  echo $ECHO_N "(cached) $ECHO_C" >&6
1545else
1546  cat >conftest.make <<\_ACEOF
1547all:
1548        @echo 'ac_maketemp="$(MAKE)"'
1549_ACEOF
1550# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1551eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1552if test -n "$ac_maketemp"; then
1553  eval ac_cv_prog_make_${ac_make}_set=yes
1554else
1555  eval ac_cv_prog_make_${ac_make}_set=no
1556fi
1557rm -f conftest.make
1558fi
1559if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1560  echo "$as_me:$LINENO: result: yes" >&5
1561echo "${ECHO_T}yes" >&6
1562  SET_MAKE=
1563else
1564  echo "$as_me:$LINENO: result: no" >&5
1565echo "${ECHO_T}no" >&6
1566  SET_MAKE="MAKE=${MAKE-make}"
1567fi
1568
1569rm -rf .tst 2>/dev/null
1570mkdir .tst 2>/dev/null
1571if test -d .tst; then
1572  am__leading_dot=.
1573else
1574  am__leading_dot=_
1575fi
1576rmdir .tst 2>/dev/null
1577
1578 # test to see if srcdir already configured
1579if test "`cd $srcdir && pwd`" != "`pwd`" &&
1580   test -f $srcdir/config.status; then
1581  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1582echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1583   { (exit 1); exit 1; }; }
1584fi
1585
1586# test whether we have cygpath
1587if test -z "$CYGPATH_W"; then
1588  if (cygpath --version) >/dev/null 2>/dev/null; then
1589    CYGPATH_W='cygpath -w'
1590  else
1591    CYGPATH_W=echo
1592  fi
1593fi
1594
1595
1596# Define the identity of the package.
1597 PACKAGE='orxonox'
1598 VERSION='0.1-pre-alpha'
1599
1600
1601cat >>confdefs.h <<_ACEOF
1602#define PACKAGE "$PACKAGE"
1603_ACEOF
1604
1605
1606cat >>confdefs.h <<_ACEOF
1607#define VERSION "$VERSION"
1608_ACEOF
1609
1610# Some tools Automake needs.
1611
1612ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1613
1614
1615AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1616
1617
1618AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1619
1620
1621AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1622
1623
1624MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1625
1626
1627AMTAR=${AMTAR-"${am_missing_run}tar"}
1628
1629install_sh=${install_sh-"$am_aux_dir/install-sh"}
1630
1631# Installed binaries are usually stripped using `strip' when the user
1632# run `make install-strip'.  However `strip' might not be the right
1633# tool to use in cross-compilation environments, therefore Automake
1634# will honor the `STRIP' environment variable to overrule this program.
1635if test "$cross_compiling" != no; then
1636  if test -n "$ac_tool_prefix"; then
1637  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1638set dummy ${ac_tool_prefix}strip; ac_word=$2
1639echo "$as_me:$LINENO: checking for $ac_word" >&5
1640echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1641if test "${ac_cv_prog_STRIP+set}" = set; then
1642  echo $ECHO_N "(cached) $ECHO_C" >&6
1643else
1644  if test -n "$STRIP"; then
1645  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1646else
1647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648for as_dir in $PATH
1649do
1650  IFS=$as_save_IFS
1651  test -z "$as_dir" && as_dir=.
1652  for ac_exec_ext in '' $ac_executable_extensions; do
1653  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1654    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1655    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656    break 2
1657  fi
1658done
1659done
1660
1661fi
1662fi
1663STRIP=$ac_cv_prog_STRIP
1664if test -n "$STRIP"; then
1665  echo "$as_me:$LINENO: result: $STRIP" >&5
1666echo "${ECHO_T}$STRIP" >&6
1667else
1668  echo "$as_me:$LINENO: result: no" >&5
1669echo "${ECHO_T}no" >&6
1670fi
1671
1672fi
1673if test -z "$ac_cv_prog_STRIP"; then
1674  ac_ct_STRIP=$STRIP
1675  # Extract the first word of "strip", so it can be a program name with args.
1676set dummy strip; ac_word=$2
1677echo "$as_me:$LINENO: checking for $ac_word" >&5
1678echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1680  echo $ECHO_N "(cached) $ECHO_C" >&6
1681else
1682  if test -n "$ac_ct_STRIP"; then
1683  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1684else
1685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686for as_dir in $PATH
1687do
1688  IFS=$as_save_IFS
1689  test -z "$as_dir" && as_dir=.
1690  for ac_exec_ext in '' $ac_executable_extensions; do
1691  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692    ac_cv_prog_ac_ct_STRIP="strip"
1693    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694    break 2
1695  fi
1696done
1697done
1698
1699  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1700fi
1701fi
1702ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1703if test -n "$ac_ct_STRIP"; then
1704  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1705echo "${ECHO_T}$ac_ct_STRIP" >&6
1706else
1707  echo "$as_me:$LINENO: result: no" >&5
1708echo "${ECHO_T}no" >&6
1709fi
1710
1711  STRIP=$ac_ct_STRIP
1712else
1713  STRIP="$ac_cv_prog_STRIP"
1714fi
1715
1716fi
1717INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1718
1719# We need awk for the "check" target.  The system "awk" is bad on
1720# some platforms.
1721
1722
1723
1724
1725          ac_config_headers="$ac_config_headers config.h"
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
3286#  cheking for libGL
3287
3288ac_ext=c
3289ac_cpp='$CPP $CPPFLAGS'
3290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3294echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3295# On Suns, sometimes $CPP names a directory.
3296if test -n "$CPP" && test -d "$CPP"; then
3297  CPP=
3298fi
3299if test -z "$CPP"; then
3300  if test "${ac_cv_prog_CPP+set}" = set; then
3301  echo $ECHO_N "(cached) $ECHO_C" >&6
3302else
3303      # Double quotes because CPP needs to be expanded
3304    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3305    do
3306      ac_preproc_ok=false
3307for ac_c_preproc_warn_flag in '' yes
3308do
3309  # Use a header file that comes with gcc, so configuring glibc
3310  # with a fresh cross-compiler works.
3311  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312  # <limits.h> exists even on freestanding compilers.
3313  # On the NeXT, cc -E runs the code through the compiler's parser,
3314  # not just through cpp. "Syntax error" is here to catch this case.
3315  cat >conftest.$ac_ext <<_ACEOF
3316/* confdefs.h.  */
3317_ACEOF
3318cat confdefs.h >>conftest.$ac_ext
3319cat >>conftest.$ac_ext <<_ACEOF
3320/* end confdefs.h.  */
3321#ifdef __STDC__
3322# include <limits.h>
3323#else
3324# include <assert.h>
3325#endif
3326                     Syntax error
3327_ACEOF
3328if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3329  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3330  ac_status=$?
3331  grep -v '^ *+' conftest.er1 >conftest.err
3332  rm -f conftest.er1
3333  cat conftest.err >&5
3334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335  (exit $ac_status); } >/dev/null; then
3336  if test -s conftest.err; then
3337    ac_cpp_err=$ac_c_preproc_warn_flag
3338    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3339  else
3340    ac_cpp_err=
3341  fi
3342else
3343  ac_cpp_err=yes
3344fi
3345if test -z "$ac_cpp_err"; then
3346  :
3347else
3348  echo "$as_me: failed program was:" >&5
3349sed 's/^/| /' conftest.$ac_ext >&5
3350
3351  # Broken: fails on valid input.
3352continue
3353fi
3354rm -f conftest.err conftest.$ac_ext
3355
3356  # OK, works on sane cases.  Now check whether non-existent headers
3357  # can be detected and how.
3358  cat >conftest.$ac_ext <<_ACEOF
3359/* confdefs.h.  */
3360_ACEOF
3361cat confdefs.h >>conftest.$ac_ext
3362cat >>conftest.$ac_ext <<_ACEOF
3363/* end confdefs.h.  */
3364#include <ac_nonexistent.h>
3365_ACEOF
3366if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3367  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3368  ac_status=$?
3369  grep -v '^ *+' conftest.er1 >conftest.err
3370  rm -f conftest.er1
3371  cat conftest.err >&5
3372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373  (exit $ac_status); } >/dev/null; then
3374  if test -s conftest.err; then
3375    ac_cpp_err=$ac_c_preproc_warn_flag
3376    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3377  else
3378    ac_cpp_err=
3379  fi
3380else
3381  ac_cpp_err=yes
3382fi
3383if test -z "$ac_cpp_err"; then
3384  # Broken: success on invalid input.
3385continue
3386else
3387  echo "$as_me: failed program was:" >&5
3388sed 's/^/| /' conftest.$ac_ext >&5
3389
3390  # Passes both tests.
3391ac_preproc_ok=:
3392break
3393fi
3394rm -f conftest.err conftest.$ac_ext
3395
3396done
3397# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3398rm -f conftest.err conftest.$ac_ext
3399if $ac_preproc_ok; then
3400  break
3401fi
3402
3403    done
3404    ac_cv_prog_CPP=$CPP
3405
3406fi
3407  CPP=$ac_cv_prog_CPP
3408else
3409  ac_cv_prog_CPP=$CPP
3410fi
3411echo "$as_me:$LINENO: result: $CPP" >&5
3412echo "${ECHO_T}$CPP" >&6
3413ac_preproc_ok=false
3414for ac_c_preproc_warn_flag in '' yes
3415do
3416  # Use a header file that comes with gcc, so configuring glibc
3417  # with a fresh cross-compiler works.
3418  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3419  # <limits.h> exists even on freestanding compilers.
3420  # On the NeXT, cc -E runs the code through the compiler's parser,
3421  # not just through cpp. "Syntax error" is here to catch this case.
3422  cat >conftest.$ac_ext <<_ACEOF
3423/* confdefs.h.  */
3424_ACEOF
3425cat confdefs.h >>conftest.$ac_ext
3426cat >>conftest.$ac_ext <<_ACEOF
3427/* end confdefs.h.  */
3428#ifdef __STDC__
3429# include <limits.h>
3430#else
3431# include <assert.h>
3432#endif
3433                     Syntax error
3434_ACEOF
3435if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3436  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3437  ac_status=$?
3438  grep -v '^ *+' conftest.er1 >conftest.err
3439  rm -f conftest.er1
3440  cat conftest.err >&5
3441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442  (exit $ac_status); } >/dev/null; then
3443  if test -s conftest.err; then
3444    ac_cpp_err=$ac_c_preproc_warn_flag
3445    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3446  else
3447    ac_cpp_err=
3448  fi
3449else
3450  ac_cpp_err=yes
3451fi
3452if test -z "$ac_cpp_err"; then
3453  :
3454else
3455  echo "$as_me: failed program was:" >&5
3456sed 's/^/| /' conftest.$ac_ext >&5
3457
3458  # Broken: fails on valid input.
3459continue
3460fi
3461rm -f conftest.err conftest.$ac_ext
3462
3463  # OK, works on sane cases.  Now check whether non-existent headers
3464  # can be detected and how.
3465  cat >conftest.$ac_ext <<_ACEOF
3466/* confdefs.h.  */
3467_ACEOF
3468cat confdefs.h >>conftest.$ac_ext
3469cat >>conftest.$ac_ext <<_ACEOF
3470/* end confdefs.h.  */
3471#include <ac_nonexistent.h>
3472_ACEOF
3473if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3474  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3475  ac_status=$?
3476  grep -v '^ *+' conftest.er1 >conftest.err
3477  rm -f conftest.er1
3478  cat conftest.err >&5
3479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480  (exit $ac_status); } >/dev/null; then
3481  if test -s conftest.err; then
3482    ac_cpp_err=$ac_c_preproc_warn_flag
3483    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3484  else
3485    ac_cpp_err=
3486  fi
3487else
3488  ac_cpp_err=yes
3489fi
3490if test -z "$ac_cpp_err"; then
3491  # Broken: success on invalid input.
3492continue
3493else
3494  echo "$as_me: failed program was:" >&5
3495sed 's/^/| /' conftest.$ac_ext >&5
3496
3497  # Passes both tests.
3498ac_preproc_ok=:
3499break
3500fi
3501rm -f conftest.err conftest.$ac_ext
3502
3503done
3504# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3505rm -f conftest.err conftest.$ac_ext
3506if $ac_preproc_ok; then
3507  :
3508else
3509  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3510See \`config.log' for more details." >&5
3511echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3512See \`config.log' for more details." >&2;}
3513   { (exit 1); exit 1; }; }
3514fi
3515
3516ac_ext=c
3517ac_cpp='$CPP $CPPFLAGS'
3518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520ac_compiler_gnu=$ac_cv_c_compiler_gnu
3521
3522
3523echo "$as_me:$LINENO: checking for egrep" >&5
3524echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3525if test "${ac_cv_prog_egrep+set}" = set; then
3526  echo $ECHO_N "(cached) $ECHO_C" >&6
3527else
3528  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3529    then ac_cv_prog_egrep='grep -E'
3530    else ac_cv_prog_egrep='egrep'
3531    fi
3532fi
3533echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3534echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3535 EGREP=$ac_cv_prog_egrep
3536
3537
3538echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3539echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3540if test "${ac_cv_header_stdc+set}" = set; then
3541  echo $ECHO_N "(cached) $ECHO_C" >&6
3542else
3543  cat >conftest.$ac_ext <<_ACEOF
3544/* confdefs.h.  */
3545_ACEOF
3546cat confdefs.h >>conftest.$ac_ext
3547cat >>conftest.$ac_ext <<_ACEOF
3548/* end confdefs.h.  */
3549#include <stdlib.h>
3550#include <stdarg.h>
3551#include <string.h>
3552#include <float.h>
3553
3554int
3555main ()
3556{
3557
3558  ;
3559  return 0;
3560}
3561_ACEOF
3562rm -f conftest.$ac_objext
3563if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3564  (eval $ac_compile) 2>conftest.er1
3565  ac_status=$?
3566  grep -v '^ *+' conftest.er1 >conftest.err
3567  rm -f conftest.er1
3568  cat conftest.err >&5
3569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570  (exit $ac_status); } &&
3571         { ac_try='test -z "$ac_c_werror_flag"
3572                         || test ! -s conftest.err'
3573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574  (eval $ac_try) 2>&5
3575  ac_status=$?
3576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577  (exit $ac_status); }; } &&
3578         { ac_try='test -s conftest.$ac_objext'
3579  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580  (eval $ac_try) 2>&5
3581  ac_status=$?
3582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583  (exit $ac_status); }; }; then
3584  ac_cv_header_stdc=yes
3585else
3586  echo "$as_me: failed program was:" >&5
3587sed 's/^/| /' conftest.$ac_ext >&5
3588
3589ac_cv_header_stdc=no
3590fi
3591rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3592
3593if test $ac_cv_header_stdc = yes; then
3594  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3595  cat >conftest.$ac_ext <<_ACEOF
3596/* confdefs.h.  */
3597_ACEOF
3598cat confdefs.h >>conftest.$ac_ext
3599cat >>conftest.$ac_ext <<_ACEOF
3600/* end confdefs.h.  */
3601#include <string.h>
3602
3603_ACEOF
3604if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3605  $EGREP "memchr" >/dev/null 2>&1; then
3606  :
3607else
3608  ac_cv_header_stdc=no
3609fi
3610rm -f conftest*
3611
3612fi
3613
3614if test $ac_cv_header_stdc = yes; then
3615  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3616  cat >conftest.$ac_ext <<_ACEOF
3617/* confdefs.h.  */
3618_ACEOF
3619cat confdefs.h >>conftest.$ac_ext
3620cat >>conftest.$ac_ext <<_ACEOF
3621/* end confdefs.h.  */
3622#include <stdlib.h>
3623
3624_ACEOF
3625if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3626  $EGREP "free" >/dev/null 2>&1; then
3627  :
3628else
3629  ac_cv_header_stdc=no
3630fi
3631rm -f conftest*
3632
3633fi
3634
3635if test $ac_cv_header_stdc = yes; then
3636  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3637  if test "$cross_compiling" = yes; then
3638  :
3639else
3640  cat >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#include <ctype.h>
3647#if ((' ' & 0x0FF) == 0x020)
3648# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3649# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3650#else
3651# define ISLOWER(c) \
3652                   (('a' <= (c) && (c) <= 'i') \
3653                     || ('j' <= (c) && (c) <= 'r') \
3654                     || ('s' <= (c) && (c) <= 'z'))
3655# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3656#endif
3657
3658#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3659int
3660main ()
3661{
3662  int i;
3663  for (i = 0; i < 256; i++)
3664    if (XOR (islower (i), ISLOWER (i))
3665        || toupper (i) != TOUPPER (i))
3666      exit(2);
3667  exit (0);
3668}
3669_ACEOF
3670rm -f conftest$ac_exeext
3671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3672  (eval $ac_link) 2>&5
3673  ac_status=$?
3674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677  (eval $ac_try) 2>&5
3678  ac_status=$?
3679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680  (exit $ac_status); }; }; then
3681  :
3682else
3683  echo "$as_me: program exited with status $ac_status" >&5
3684echo "$as_me: failed program was:" >&5
3685sed 's/^/| /' conftest.$ac_ext >&5
3686
3687( exit $ac_status )
3688ac_cv_header_stdc=no
3689fi
3690rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3691fi
3692fi
3693fi
3694echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3695echo "${ECHO_T}$ac_cv_header_stdc" >&6
3696if test $ac_cv_header_stdc = yes; then
3697
3698cat >>confdefs.h <<\_ACEOF
3699#define STDC_HEADERS 1
3700_ACEOF
3701
3702fi
3703
3704# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3715                  inttypes.h stdint.h unistd.h
3716do
3717as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3718echo "$as_me:$LINENO: checking for $ac_header" >&5
3719echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3720if eval "test \"\${$as_ac_Header+set}\" = set"; then
3721  echo $ECHO_N "(cached) $ECHO_C" >&6
3722else
3723  cat >conftest.$ac_ext <<_ACEOF
3724/* confdefs.h.  */
3725_ACEOF
3726cat confdefs.h >>conftest.$ac_ext
3727cat >>conftest.$ac_ext <<_ACEOF
3728/* end confdefs.h.  */
3729$ac_includes_default
3730
3731#include <$ac_header>
3732_ACEOF
3733rm -f conftest.$ac_objext
3734if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735  (eval $ac_compile) 2>conftest.er1
3736  ac_status=$?
3737  grep -v '^ *+' conftest.er1 >conftest.err
3738  rm -f conftest.er1
3739  cat conftest.err >&5
3740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741  (exit $ac_status); } &&
3742         { ac_try='test -z "$ac_c_werror_flag"
3743                         || test ! -s conftest.err'
3744  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745  (eval $ac_try) 2>&5
3746  ac_status=$?
3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748  (exit $ac_status); }; } &&
3749         { ac_try='test -s conftest.$ac_objext'
3750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751  (eval $ac_try) 2>&5
3752  ac_status=$?
3753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754  (exit $ac_status); }; }; then
3755  eval "$as_ac_Header=yes"
3756else
3757  echo "$as_me: failed program was:" >&5
3758sed 's/^/| /' conftest.$ac_ext >&5
3759
3760eval "$as_ac_Header=no"
3761fi
3762rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3763fi
3764echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3765echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3766if test `eval echo '${'$as_ac_Header'}'` = yes; then
3767  cat >>confdefs.h <<_ACEOF
3768#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3769_ACEOF
3770
3771fi
3772
3773done
3774
3775
3776
3777for ac_header in GL/gl.h
3778do
3779as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3780if eval "test \"\${$as_ac_Header+set}\" = set"; then
3781  echo "$as_me:$LINENO: checking for $ac_header" >&5
3782echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3783if eval "test \"\${$as_ac_Header+set}\" = set"; then
3784  echo $ECHO_N "(cached) $ECHO_C" >&6
3785fi
3786echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3787echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3788else
3789  # Is the header compilable?
3790echo "$as_me:$LINENO: checking $ac_header usability" >&5
3791echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3792cat >conftest.$ac_ext <<_ACEOF
3793/* confdefs.h.  */
3794_ACEOF
3795cat confdefs.h >>conftest.$ac_ext
3796cat >>conftest.$ac_ext <<_ACEOF
3797/* end confdefs.h.  */
3798$ac_includes_default
3799#include <$ac_header>
3800_ACEOF
3801rm -f conftest.$ac_objext
3802if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803  (eval $ac_compile) 2>conftest.er1
3804  ac_status=$?
3805  grep -v '^ *+' conftest.er1 >conftest.err
3806  rm -f conftest.er1
3807  cat conftest.err >&5
3808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809  (exit $ac_status); } &&
3810         { ac_try='test -z "$ac_c_werror_flag"
3811                         || test ! -s conftest.err'
3812  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813  (eval $ac_try) 2>&5
3814  ac_status=$?
3815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816  (exit $ac_status); }; } &&
3817         { ac_try='test -s conftest.$ac_objext'
3818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819  (eval $ac_try) 2>&5
3820  ac_status=$?
3821  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822  (exit $ac_status); }; }; then
3823  ac_header_compiler=yes
3824else
3825  echo "$as_me: failed program was:" >&5
3826sed 's/^/| /' conftest.$ac_ext >&5
3827
3828ac_header_compiler=no
3829fi
3830rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3832echo "${ECHO_T}$ac_header_compiler" >&6
3833
3834# Is the header present?
3835echo "$as_me:$LINENO: checking $ac_header presence" >&5
3836echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3837cat >conftest.$ac_ext <<_ACEOF
3838/* confdefs.h.  */
3839_ACEOF
3840cat confdefs.h >>conftest.$ac_ext
3841cat >>conftest.$ac_ext <<_ACEOF
3842/* end confdefs.h.  */
3843#include <$ac_header>
3844_ACEOF
3845if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3846  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3847  ac_status=$?
3848  grep -v '^ *+' conftest.er1 >conftest.err
3849  rm -f conftest.er1
3850  cat conftest.err >&5
3851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852  (exit $ac_status); } >/dev/null; then
3853  if test -s conftest.err; then
3854    ac_cpp_err=$ac_c_preproc_warn_flag
3855    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3856  else
3857    ac_cpp_err=
3858  fi
3859else
3860  ac_cpp_err=yes
3861fi
3862if test -z "$ac_cpp_err"; then
3863  ac_header_preproc=yes
3864else
3865  echo "$as_me: failed program was:" >&5
3866sed 's/^/| /' conftest.$ac_ext >&5
3867
3868  ac_header_preproc=no
3869fi
3870rm -f conftest.err conftest.$ac_ext
3871echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3872echo "${ECHO_T}$ac_header_preproc" >&6
3873
3874# So?  What about this header?
3875case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3876  yes:no: )
3877    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3878echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3879    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3880echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3881    ac_header_preproc=yes
3882    ;;
3883  no:yes:* )
3884    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3885echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3886    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3887echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3888    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3889echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3890    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3891echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3892    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3893echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3894    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3895echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3896    (
3897      cat <<\_ASBOX
3898## ------------------------------------------- ##
3899## Report this to orxonox-dev@mail.datacore.ch ##
3900## ------------------------------------------- ##
3901_ASBOX
3902    ) |
3903      sed "s/^/$as_me: WARNING:     /" >&2
3904    ;;
3905esac
3906echo "$as_me:$LINENO: checking for $ac_header" >&5
3907echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3908if eval "test \"\${$as_ac_Header+set}\" = set"; then
3909  echo $ECHO_N "(cached) $ECHO_C" >&6
3910else
3911  eval "$as_ac_Header=\$ac_header_preproc"
3912fi
3913echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3914echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3915
3916fi
3917if test `eval echo '${'$as_ac_Header'}'` = yes; then
3918  cat >>confdefs.h <<_ACEOF
3919#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3920_ACEOF
3921
3922else
3923  { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5
3924echo "$as_me: error: cannot find opengl headers" >&2;}
3925   { (exit 1); exit 1; }; }
3926fi
3927
3928done
3929
3930
3931#   checking for Unix GL
3932echo "$as_me:$LINENO: checking for main in -lGL" >&5
3933echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
3934if test "${ac_cv_lib_GL_main+set}" = set; then
3935  echo $ECHO_N "(cached) $ECHO_C" >&6
3936else
3937  ac_check_lib_save_LIBS=$LIBS
3938LIBS="-lGL  $LIBS"
3939cat >conftest.$ac_ext <<_ACEOF
3940/* confdefs.h.  */
3941_ACEOF
3942cat confdefs.h >>conftest.$ac_ext
3943cat >>conftest.$ac_ext <<_ACEOF
3944/* end confdefs.h.  */
3945
3946
3947int
3948main ()
3949{
3950main ();
3951  ;
3952  return 0;
3953}
3954_ACEOF
3955rm -f conftest.$ac_objext conftest$ac_exeext
3956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3957  (eval $ac_link) 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); } &&
3964         { ac_try='test -z "$ac_c_werror_flag"
3965                         || test ! -s conftest.err'
3966  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967  (eval $ac_try) 2>&5
3968  ac_status=$?
3969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970  (exit $ac_status); }; } &&
3971         { ac_try='test -s conftest$ac_exeext'
3972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973  (eval $ac_try) 2>&5
3974  ac_status=$?
3975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976  (exit $ac_status); }; }; then
3977  ac_cv_lib_GL_main=yes
3978else
3979  echo "$as_me: failed program was:" >&5
3980sed 's/^/| /' conftest.$ac_ext >&5
3981
3982ac_cv_lib_GL_main=no
3983fi
3984rm -f conftest.err conftest.$ac_objext \
3985      conftest$ac_exeext conftest.$ac_ext
3986LIBS=$ac_check_lib_save_LIBS
3987fi
3988echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
3989echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
3990if test $ac_cv_lib_GL_main = yes; then
3991  FOUND_GL=yes
3992fi
3993
3994if test "$FOUND_GL" = "yes" ; then
3995    LIBS="$LIBS -lGL"
3996    #   checking for Windows openGl library
3997else
3998    echo "We did not find the Linux opengl Library. Checking for Windows Library"
3999    echo "$as_me:$LINENO: checking for main in -lopengl32" >&5
4000echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6
4001if test "${ac_cv_lib_opengl32_main+set}" = set; then
4002  echo $ECHO_N "(cached) $ECHO_C" >&6
4003else
4004  ac_check_lib_save_LIBS=$LIBS
4005LIBS="-lopengl32  $LIBS"
4006cat >conftest.$ac_ext <<_ACEOF
4007/* confdefs.h.  */
4008_ACEOF
4009cat confdefs.h >>conftest.$ac_ext
4010cat >>conftest.$ac_ext <<_ACEOF
4011/* end confdefs.h.  */
4012
4013
4014int
4015main ()
4016{
4017main ();
4018  ;
4019  return 0;
4020}
4021_ACEOF
4022rm -f conftest.$ac_objext conftest$ac_exeext
4023if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4024  (eval $ac_link) 2>conftest.er1
4025  ac_status=$?
4026  grep -v '^ *+' conftest.er1 >conftest.err
4027  rm -f conftest.er1
4028  cat conftest.err >&5
4029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030  (exit $ac_status); } &&
4031         { ac_try='test -z "$ac_c_werror_flag"
4032                         || test ! -s conftest.err'
4033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034  (eval $ac_try) 2>&5
4035  ac_status=$?
4036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037  (exit $ac_status); }; } &&
4038         { ac_try='test -s conftest$ac_exeext'
4039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040  (eval $ac_try) 2>&5
4041  ac_status=$?
4042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043  (exit $ac_status); }; }; then
4044  ac_cv_lib_opengl32_main=yes
4045else
4046  echo "$as_me: failed program was:" >&5
4047sed 's/^/| /' conftest.$ac_ext >&5
4048
4049ac_cv_lib_opengl32_main=no
4050fi
4051rm -f conftest.err conftest.$ac_objext \
4052      conftest$ac_exeext conftest.$ac_ext
4053LIBS=$ac_check_lib_save_LIBS
4054fi
4055echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5
4056echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6
4057if test $ac_cv_lib_opengl32_main = yes; then
4058  FOUND_opengl32=yes
4059else
4060  "gl/gl.h"
4061fi
4062
4063    if test "$FOUND_opengl32" = "yes" ; then
4064        LIBS="$LIBS -lopengl32"
4065
4066    else
4067         echo "------------------"
4068         echo "opengl not found."
4069         echo "please install the opengl package which can be found at http://www.opengl.org"
4070         echo "------------------"
4071         exit -1
4072    fi
4073fi
4074
4075#  cheking for libGLU
4076
4077for ac_header in GL/glu.h
4078do
4079as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4080if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081  echo "$as_me:$LINENO: checking for $ac_header" >&5
4082echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4083if eval "test \"\${$as_ac_Header+set}\" = set"; then
4084  echo $ECHO_N "(cached) $ECHO_C" >&6
4085fi
4086echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4087echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4088else
4089  # Is the header compilable?
4090echo "$as_me:$LINENO: checking $ac_header usability" >&5
4091echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4092cat >conftest.$ac_ext <<_ACEOF
4093/* confdefs.h.  */
4094_ACEOF
4095cat confdefs.h >>conftest.$ac_ext
4096cat >>conftest.$ac_ext <<_ACEOF
4097/* end confdefs.h.  */
4098$ac_includes_default
4099#include <$ac_header>
4100_ACEOF
4101rm -f conftest.$ac_objext
4102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4103  (eval $ac_compile) 2>conftest.er1
4104  ac_status=$?
4105  grep -v '^ *+' conftest.er1 >conftest.err
4106  rm -f conftest.er1
4107  cat conftest.err >&5
4108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109  (exit $ac_status); } &&
4110         { ac_try='test -z "$ac_c_werror_flag"
4111                         || test ! -s conftest.err'
4112  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113  (eval $ac_try) 2>&5
4114  ac_status=$?
4115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116  (exit $ac_status); }; } &&
4117         { ac_try='test -s conftest.$ac_objext'
4118  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119  (eval $ac_try) 2>&5
4120  ac_status=$?
4121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122  (exit $ac_status); }; }; then
4123  ac_header_compiler=yes
4124else
4125  echo "$as_me: failed program was:" >&5
4126sed 's/^/| /' conftest.$ac_ext >&5
4127
4128ac_header_compiler=no
4129fi
4130rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4131echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4132echo "${ECHO_T}$ac_header_compiler" >&6
4133
4134# Is the header present?
4135echo "$as_me:$LINENO: checking $ac_header presence" >&5
4136echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4137cat >conftest.$ac_ext <<_ACEOF
4138/* confdefs.h.  */
4139_ACEOF
4140cat confdefs.h >>conftest.$ac_ext
4141cat >>conftest.$ac_ext <<_ACEOF
4142/* end confdefs.h.  */
4143#include <$ac_header>
4144_ACEOF
4145if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4146  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4147  ac_status=$?
4148  grep -v '^ *+' conftest.er1 >conftest.err
4149  rm -f conftest.er1
4150  cat conftest.err >&5
4151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152  (exit $ac_status); } >/dev/null; then
4153  if test -s conftest.err; then
4154    ac_cpp_err=$ac_c_preproc_warn_flag
4155    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4156  else
4157    ac_cpp_err=
4158  fi
4159else
4160  ac_cpp_err=yes
4161fi
4162if test -z "$ac_cpp_err"; then
4163  ac_header_preproc=yes
4164else
4165  echo "$as_me: failed program was:" >&5
4166sed 's/^/| /' conftest.$ac_ext >&5
4167
4168  ac_header_preproc=no
4169fi
4170rm -f conftest.err conftest.$ac_ext
4171echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4172echo "${ECHO_T}$ac_header_preproc" >&6
4173
4174# So?  What about this header?
4175case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4176  yes:no: )
4177    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4178echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4179    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4180echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4181    ac_header_preproc=yes
4182    ;;
4183  no:yes:* )
4184    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4185echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4186    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4187echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4188    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4189echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4190    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4191echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4192    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4193echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4194    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4195echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4196    (
4197      cat <<\_ASBOX
4198## ------------------------------------------- ##
4199## Report this to orxonox-dev@mail.datacore.ch ##
4200## ------------------------------------------- ##
4201_ASBOX
4202    ) |
4203      sed "s/^/$as_me: WARNING:     /" >&2
4204    ;;
4205esac
4206echo "$as_me:$LINENO: checking for $ac_header" >&5
4207echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4208if eval "test \"\${$as_ac_Header+set}\" = set"; then
4209  echo $ECHO_N "(cached) $ECHO_C" >&6
4210else
4211  eval "$as_ac_Header=\$ac_header_preproc"
4212fi
4213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4214echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4215
4216fi
4217if test `eval echo '${'$as_ac_Header'}'` = yes; then
4218  cat >>confdefs.h <<_ACEOF
4219#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4220_ACEOF
4221
4222else
4223  { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5
4224echo "$as_me: error: cannot find opengl headers" >&2;}
4225   { (exit 1); exit 1; }; }
4226fi
4227
4228done
4229
4230
4231echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5
4232echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6
4233if test "${ac_cv_lib_GLU_gluProject+set}" = set; then
4234  echo $ECHO_N "(cached) $ECHO_C" >&6
4235else
4236  ac_check_lib_save_LIBS=$LIBS
4237LIBS="-lGLU  $LIBS"
4238cat >conftest.$ac_ext <<_ACEOF
4239/* confdefs.h.  */
4240_ACEOF
4241cat confdefs.h >>conftest.$ac_ext
4242cat >>conftest.$ac_ext <<_ACEOF
4243/* end confdefs.h.  */
4244
4245/* Override any gcc2 internal prototype to avoid an error.  */
4246#ifdef __cplusplus
4247extern "C"
4248#endif
4249/* We use char because int might match the return type of a gcc2
4250   builtin and then its argument prototype would still apply.  */
4251char gluProject ();
4252int
4253main ()
4254{
4255gluProject ();
4256  ;
4257  return 0;
4258}
4259_ACEOF
4260rm -f conftest.$ac_objext conftest$ac_exeext
4261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4262  (eval $ac_link) 2>conftest.er1
4263  ac_status=$?
4264  grep -v '^ *+' conftest.er1 >conftest.err
4265  rm -f conftest.er1
4266  cat conftest.err >&5
4267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268  (exit $ac_status); } &&
4269         { ac_try='test -z "$ac_c_werror_flag"
4270                         || test ! -s conftest.err'
4271  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4272  (eval $ac_try) 2>&5
4273  ac_status=$?
4274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275  (exit $ac_status); }; } &&
4276         { ac_try='test -s conftest$ac_exeext'
4277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278  (eval $ac_try) 2>&5
4279  ac_status=$?
4280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281  (exit $ac_status); }; }; then
4282  ac_cv_lib_GLU_gluProject=yes
4283else
4284  echo "$as_me: failed program was:" >&5
4285sed 's/^/| /' conftest.$ac_ext >&5
4286
4287ac_cv_lib_GLU_gluProject=no
4288fi
4289rm -f conftest.err conftest.$ac_objext \
4290      conftest$ac_exeext conftest.$ac_ext
4291LIBS=$ac_check_lib_save_LIBS
4292fi
4293echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5
4294echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6
4295if test $ac_cv_lib_GLU_gluProject = yes; then
4296  FOUND_GLU=yes
4297fi
4298
4299if test "$FOUND_GLU" = "yes" ; then
4300    LIBS="$LIBS -lGLU"
4301    #   checking for Windows GLU32 library
4302else
4303    echo "We did not find the Linux GLU Library. Checking for Windows Library"
4304    echo "$as_me:$LINENO: checking for main in -lglu32" >&5
4305echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6
4306if test "${ac_cv_lib_glu32_main+set}" = set; then
4307  echo $ECHO_N "(cached) $ECHO_C" >&6
4308else
4309  ac_check_lib_save_LIBS=$LIBS
4310LIBS="-lglu32  $LIBS"
4311cat >conftest.$ac_ext <<_ACEOF
4312/* confdefs.h.  */
4313_ACEOF
4314cat confdefs.h >>conftest.$ac_ext
4315cat >>conftest.$ac_ext <<_ACEOF
4316/* end confdefs.h.  */
4317
4318
4319int
4320main ()
4321{
4322main ();
4323  ;
4324  return 0;
4325}
4326_ACEOF
4327rm -f conftest.$ac_objext conftest$ac_exeext
4328if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4329  (eval $ac_link) 2>conftest.er1
4330  ac_status=$?
4331  grep -v '^ *+' conftest.er1 >conftest.err
4332  rm -f conftest.er1
4333  cat conftest.err >&5
4334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335  (exit $ac_status); } &&
4336         { ac_try='test -z "$ac_c_werror_flag"
4337                         || test ! -s conftest.err'
4338  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339  (eval $ac_try) 2>&5
4340  ac_status=$?
4341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342  (exit $ac_status); }; } &&
4343         { ac_try='test -s conftest$ac_exeext'
4344  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345  (eval $ac_try) 2>&5
4346  ac_status=$?
4347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348  (exit $ac_status); }; }; then
4349  ac_cv_lib_glu32_main=yes
4350else
4351  echo "$as_me: failed program was:" >&5
4352sed 's/^/| /' conftest.$ac_ext >&5
4353
4354ac_cv_lib_glu32_main=no
4355fi
4356rm -f conftest.err conftest.$ac_objext \
4357      conftest$ac_exeext conftest.$ac_ext
4358LIBS=$ac_check_lib_save_LIBS
4359fi
4360echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5
4361echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6
4362if test $ac_cv_lib_glu32_main = yes; then
4363  FOUND_glu32=yes
4364fi
4365
4366    if test "$FOUND_glu32" = "yes" ; then
4367        LIBS="$LIBS -lGLU32"
4368
4369        else
4370         echo "------------------"
4371         echo "GLU library not found."
4372         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
4373         echo "------------------"
4374         exit -1
4375    fi
4376fi
4377
4378# FIXME: Replace `main' with a function in `-lOSMesa':
4379
4380echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5
4381echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6
4382if test "${ac_cv_lib_OSMesa_main+set}" = set; then
4383  echo $ECHO_N "(cached) $ECHO_C" >&6
4384else
4385  ac_check_lib_save_LIBS=$LIBS
4386LIBS="-lOSMesa  $LIBS"
4387cat >conftest.$ac_ext <<_ACEOF
4388/* confdefs.h.  */
4389_ACEOF
4390cat confdefs.h >>conftest.$ac_ext
4391cat >>conftest.$ac_ext <<_ACEOF
4392/* end confdefs.h.  */
4393
4394
4395int
4396main ()
4397{
4398main ();
4399  ;
4400  return 0;
4401}
4402_ACEOF
4403rm -f conftest.$ac_objext conftest$ac_exeext
4404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405  (eval $ac_link) 2>conftest.er1
4406  ac_status=$?
4407  grep -v '^ *+' conftest.er1 >conftest.err
4408  rm -f conftest.er1
4409  cat conftest.err >&5
4410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411  (exit $ac_status); } &&
4412         { ac_try='test -z "$ac_c_werror_flag"
4413                         || test ! -s conftest.err'
4414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415  (eval $ac_try) 2>&5
4416  ac_status=$?
4417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418  (exit $ac_status); }; } &&
4419         { ac_try='test -s conftest$ac_exeext'
4420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421  (eval $ac_try) 2>&5
4422  ac_status=$?
4423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424  (exit $ac_status); }; }; then
4425  ac_cv_lib_OSMesa_main=yes
4426else
4427  echo "$as_me: failed program was:" >&5
4428sed 's/^/| /' conftest.$ac_ext >&5
4429
4430ac_cv_lib_OSMesa_main=no
4431fi
4432rm -f conftest.err conftest.$ac_objext \
4433      conftest$ac_exeext conftest.$ac_ext
4434LIBS=$ac_check_lib_save_LIBS
4435fi
4436echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5
4437echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6
4438if test $ac_cv_lib_OSMesa_main = yes; then
4439  cat >>confdefs.h <<_ACEOF
4440#define HAVE_LIBOSMESA 1
4441_ACEOF
4442
4443  LIBS="-lOSMesa $LIBS"
4444
4445fi
4446
4447# FIXME: Replace `main' with a function in `-lX11':
4448
4449echo "$as_me:$LINENO: checking for main in -lX11" >&5
4450echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
4451if test "${ac_cv_lib_X11_main+set}" = set; then
4452  echo $ECHO_N "(cached) $ECHO_C" >&6
4453else
4454  ac_check_lib_save_LIBS=$LIBS
4455LIBS="-lX11  $LIBS"
4456cat >conftest.$ac_ext <<_ACEOF
4457/* confdefs.h.  */
4458_ACEOF
4459cat confdefs.h >>conftest.$ac_ext
4460cat >>conftest.$ac_ext <<_ACEOF
4461/* end confdefs.h.  */
4462
4463
4464int
4465main ()
4466{
4467main ();
4468  ;
4469  return 0;
4470}
4471_ACEOF
4472rm -f conftest.$ac_objext conftest$ac_exeext
4473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4474  (eval $ac_link) 2>conftest.er1
4475  ac_status=$?
4476  grep -v '^ *+' conftest.er1 >conftest.err
4477  rm -f conftest.er1
4478  cat conftest.err >&5
4479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480  (exit $ac_status); } &&
4481         { ac_try='test -z "$ac_c_werror_flag"
4482                         || test ! -s conftest.err'
4483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484  (eval $ac_try) 2>&5
4485  ac_status=$?
4486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487  (exit $ac_status); }; } &&
4488         { ac_try='test -s conftest$ac_exeext'
4489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490  (eval $ac_try) 2>&5
4491  ac_status=$?
4492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493  (exit $ac_status); }; }; then
4494  ac_cv_lib_X11_main=yes
4495else
4496  echo "$as_me: failed program was:" >&5
4497sed 's/^/| /' conftest.$ac_ext >&5
4498
4499ac_cv_lib_X11_main=no
4500fi
4501rm -f conftest.err conftest.$ac_objext \
4502      conftest$ac_exeext conftest.$ac_ext
4503LIBS=$ac_check_lib_save_LIBS
4504fi
4505echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
4506echo "${ECHO_T}$ac_cv_lib_X11_main" >&6
4507if test $ac_cv_lib_X11_main = yes; then
4508  cat >>confdefs.h <<_ACEOF
4509#define HAVE_LIBX11 1
4510_ACEOF
4511
4512  LIBS="-lX11 $LIBS"
4513
4514fi
4515
4516# FIXME: Replace `main' with a function in `-lXt':
4517
4518echo "$as_me:$LINENO: checking for main in -lXt" >&5
4519echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6
4520if test "${ac_cv_lib_Xt_main+set}" = set; then
4521  echo $ECHO_N "(cached) $ECHO_C" >&6
4522else
4523  ac_check_lib_save_LIBS=$LIBS
4524LIBS="-lXt  $LIBS"
4525cat >conftest.$ac_ext <<_ACEOF
4526/* confdefs.h.  */
4527_ACEOF
4528cat confdefs.h >>conftest.$ac_ext
4529cat >>conftest.$ac_ext <<_ACEOF
4530/* end confdefs.h.  */
4531
4532
4533int
4534main ()
4535{
4536main ();
4537  ;
4538  return 0;
4539}
4540_ACEOF
4541rm -f conftest.$ac_objext conftest$ac_exeext
4542if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4543  (eval $ac_link) 2>conftest.er1
4544  ac_status=$?
4545  grep -v '^ *+' conftest.er1 >conftest.err
4546  rm -f conftest.er1
4547  cat conftest.err >&5
4548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549  (exit $ac_status); } &&
4550         { ac_try='test -z "$ac_c_werror_flag"
4551                         || test ! -s conftest.err'
4552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553  (eval $ac_try) 2>&5
4554  ac_status=$?
4555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556  (exit $ac_status); }; } &&
4557         { ac_try='test -s conftest$ac_exeext'
4558  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559  (eval $ac_try) 2>&5
4560  ac_status=$?
4561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562  (exit $ac_status); }; }; then
4563  ac_cv_lib_Xt_main=yes
4564else
4565  echo "$as_me: failed program was:" >&5
4566sed 's/^/| /' conftest.$ac_ext >&5
4567
4568ac_cv_lib_Xt_main=no
4569fi
4570rm -f conftest.err conftest.$ac_objext \
4571      conftest$ac_exeext conftest.$ac_ext
4572LIBS=$ac_check_lib_save_LIBS
4573fi
4574echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
4575echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6
4576if test $ac_cv_lib_Xt_main = yes; then
4577  cat >>confdefs.h <<_ACEOF
4578#define HAVE_LIBXT 1
4579_ACEOF
4580
4581  LIBS="-lXt $LIBS"
4582
4583fi
4584
4585
4586#  cheking for libglut32
4587
4588for ac_header in GL/glut.h
4589do
4590as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4591if eval "test \"\${$as_ac_Header+set}\" = set"; then
4592  echo "$as_me:$LINENO: checking for $ac_header" >&5
4593echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4594if eval "test \"\${$as_ac_Header+set}\" = set"; then
4595  echo $ECHO_N "(cached) $ECHO_C" >&6
4596fi
4597echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4598echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4599else
4600  # Is the header compilable?
4601echo "$as_me:$LINENO: checking $ac_header usability" >&5
4602echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4603cat >conftest.$ac_ext <<_ACEOF
4604/* confdefs.h.  */
4605_ACEOF
4606cat confdefs.h >>conftest.$ac_ext
4607cat >>conftest.$ac_ext <<_ACEOF
4608/* end confdefs.h.  */
4609$ac_includes_default
4610#include <$ac_header>
4611_ACEOF
4612rm -f conftest.$ac_objext
4613if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4614  (eval $ac_compile) 2>conftest.er1
4615  ac_status=$?
4616  grep -v '^ *+' conftest.er1 >conftest.err
4617  rm -f conftest.er1
4618  cat conftest.err >&5
4619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620  (exit $ac_status); } &&
4621         { ac_try='test -z "$ac_c_werror_flag"
4622                         || test ! -s conftest.err'
4623  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624  (eval $ac_try) 2>&5
4625  ac_status=$?
4626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627  (exit $ac_status); }; } &&
4628         { ac_try='test -s conftest.$ac_objext'
4629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630  (eval $ac_try) 2>&5
4631  ac_status=$?
4632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633  (exit $ac_status); }; }; then
4634  ac_header_compiler=yes
4635else
4636  echo "$as_me: failed program was:" >&5
4637sed 's/^/| /' conftest.$ac_ext >&5
4638
4639ac_header_compiler=no
4640fi
4641rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4642echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4643echo "${ECHO_T}$ac_header_compiler" >&6
4644
4645# Is the header present?
4646echo "$as_me:$LINENO: checking $ac_header presence" >&5
4647echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4648cat >conftest.$ac_ext <<_ACEOF
4649/* confdefs.h.  */
4650_ACEOF
4651cat confdefs.h >>conftest.$ac_ext
4652cat >>conftest.$ac_ext <<_ACEOF
4653/* end confdefs.h.  */
4654#include <$ac_header>
4655_ACEOF
4656if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4657  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4658  ac_status=$?
4659  grep -v '^ *+' conftest.er1 >conftest.err
4660  rm -f conftest.er1
4661  cat conftest.err >&5
4662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663  (exit $ac_status); } >/dev/null; then
4664  if test -s conftest.err; then
4665    ac_cpp_err=$ac_c_preproc_warn_flag
4666    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4667  else
4668    ac_cpp_err=
4669  fi
4670else
4671  ac_cpp_err=yes
4672fi
4673if test -z "$ac_cpp_err"; then
4674  ac_header_preproc=yes
4675else
4676  echo "$as_me: failed program was:" >&5
4677sed 's/^/| /' conftest.$ac_ext >&5
4678
4679  ac_header_preproc=no
4680fi
4681rm -f conftest.err conftest.$ac_ext
4682echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4683echo "${ECHO_T}$ac_header_preproc" >&6
4684
4685# So?  What about this header?
4686case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4687  yes:no: )
4688    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4689echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4690    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4691echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4692    ac_header_preproc=yes
4693    ;;
4694  no:yes:* )
4695    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4696echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4697    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4698echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4699    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4700echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4701    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4702echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4703    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4704echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4705    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4706echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4707    (
4708      cat <<\_ASBOX
4709## ------------------------------------------- ##
4710## Report this to orxonox-dev@mail.datacore.ch ##
4711## ------------------------------------------- ##
4712_ASBOX
4713    ) |
4714      sed "s/^/$as_me: WARNING:     /" >&2
4715    ;;
4716esac
4717echo "$as_me:$LINENO: checking for $ac_header" >&5
4718echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4719if eval "test \"\${$as_ac_Header+set}\" = set"; then
4720  echo $ECHO_N "(cached) $ECHO_C" >&6
4721else
4722  eval "$as_ac_Header=\$ac_header_preproc"
4723fi
4724echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4725echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4726
4727fi
4728if test `eval echo '${'$as_ac_Header'}'` = yes; then
4729  cat >>confdefs.h <<_ACEOF
4730#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4731_ACEOF
4732
4733else
4734  { { echo "$as_me:$LINENO: error: cannot find glut headers" >&5
4735echo "$as_me: error: cannot find glut headers" >&2;}
4736   { (exit 1); exit 1; }; }
4737fi
4738
4739done
4740
4741echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
4742echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6
4743if test "${ac_cv_lib_glut_glutInit+set}" = set; then
4744  echo $ECHO_N "(cached) $ECHO_C" >&6
4745else
4746  ac_check_lib_save_LIBS=$LIBS
4747LIBS="-lglut  $LIBS"
4748cat >conftest.$ac_ext <<_ACEOF
4749/* confdefs.h.  */
4750_ACEOF
4751cat confdefs.h >>conftest.$ac_ext
4752cat >>conftest.$ac_ext <<_ACEOF
4753/* end confdefs.h.  */
4754
4755/* Override any gcc2 internal prototype to avoid an error.  */
4756#ifdef __cplusplus
4757extern "C"
4758#endif
4759/* We use char because int might match the return type of a gcc2
4760   builtin and then its argument prototype would still apply.  */
4761char glutInit ();
4762int
4763main ()
4764{
4765glutInit ();
4766  ;
4767  return 0;
4768}
4769_ACEOF
4770rm -f conftest.$ac_objext conftest$ac_exeext
4771if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4772  (eval $ac_link) 2>conftest.er1
4773  ac_status=$?
4774  grep -v '^ *+' conftest.er1 >conftest.err
4775  rm -f conftest.er1
4776  cat conftest.err >&5
4777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778  (exit $ac_status); } &&
4779         { ac_try='test -z "$ac_c_werror_flag"
4780                         || test ! -s conftest.err'
4781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782  (eval $ac_try) 2>&5
4783  ac_status=$?
4784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785  (exit $ac_status); }; } &&
4786         { ac_try='test -s conftest$ac_exeext'
4787  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788  (eval $ac_try) 2>&5
4789  ac_status=$?
4790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791  (exit $ac_status); }; }; then
4792  ac_cv_lib_glut_glutInit=yes
4793else
4794  echo "$as_me: failed program was:" >&5
4795sed 's/^/| /' conftest.$ac_ext >&5
4796
4797ac_cv_lib_glut_glutInit=no
4798fi
4799rm -f conftest.err conftest.$ac_objext \
4800      conftest$ac_exeext conftest.$ac_ext
4801LIBS=$ac_check_lib_save_LIBS
4802fi
4803echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
4804echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6
4805if test $ac_cv_lib_glut_glutInit = yes; then
4806  FOUND_glut=yes
4807fi
4808
4809if test "$FOUND_glut" = "yes" ; then
4810    LIBS="$LIBS -lglut"
4811    #   checking for Windows glut32 library
4812else
4813    echo "We did not find the Linux glut Library. Checking for Windows Library"
4814    echo "$as_me:$LINENO: checking for main in -lglut32" >&5
4815echo $ECHO_N "checking for main in -lglut32... $ECHO_C" >&6
4816if test "${ac_cv_lib_glut32_main+set}" = set; then
4817  echo $ECHO_N "(cached) $ECHO_C" >&6
4818else
4819  ac_check_lib_save_LIBS=$LIBS
4820LIBS="-lglut32  $LIBS"
4821cat >conftest.$ac_ext <<_ACEOF
4822/* confdefs.h.  */
4823_ACEOF
4824cat confdefs.h >>conftest.$ac_ext
4825cat >>conftest.$ac_ext <<_ACEOF
4826/* end confdefs.h.  */
4827
4828
4829int
4830main ()
4831{
4832main ();
4833  ;
4834  return 0;
4835}
4836_ACEOF
4837rm -f conftest.$ac_objext conftest$ac_exeext
4838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4839  (eval $ac_link) 2>conftest.er1
4840  ac_status=$?
4841  grep -v '^ *+' conftest.er1 >conftest.err
4842  rm -f conftest.er1
4843  cat conftest.err >&5
4844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845  (exit $ac_status); } &&
4846         { ac_try='test -z "$ac_c_werror_flag"
4847                         || test ! -s conftest.err'
4848  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849  (eval $ac_try) 2>&5
4850  ac_status=$?
4851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852  (exit $ac_status); }; } &&
4853         { ac_try='test -s conftest$ac_exeext'
4854  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855  (eval $ac_try) 2>&5
4856  ac_status=$?
4857  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858  (exit $ac_status); }; }; then
4859  ac_cv_lib_glut32_main=yes
4860else
4861  echo "$as_me: failed program was:" >&5
4862sed 's/^/| /' conftest.$ac_ext >&5
4863
4864ac_cv_lib_glut32_main=no
4865fi
4866rm -f conftest.err conftest.$ac_objext \
4867      conftest$ac_exeext conftest.$ac_ext
4868LIBS=$ac_check_lib_save_LIBS
4869fi
4870echo "$as_me:$LINENO: result: $ac_cv_lib_glut32_main" >&5
4871echo "${ECHO_T}$ac_cv_lib_glut32_main" >&6
4872if test $ac_cv_lib_glut32_main = yes; then
4873  FOUND_glut32=yes
4874fi
4875
4876    if test "$FOUND_glut32" = "yes" ; then
4877        LIBS="$LIBS -lglut32"
4878    else
4879         echo "------------------"
4880         echo "glut library not found."
4881         echo "please install the glut library, which can be found at http://www.xmission.com/~nate/glut.html"
4882         echo "------------------"
4883         exit -1
4884    fi
4885fi
4886
4887# FIXME: Replace `main' with a function in `-lm':
4888
4889echo "$as_me:$LINENO: checking for main in -lm" >&5
4890echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4891if test "${ac_cv_lib_m_main+set}" = set; then
4892  echo $ECHO_N "(cached) $ECHO_C" >&6
4893else
4894  ac_check_lib_save_LIBS=$LIBS
4895LIBS="-lm  $LIBS"
4896cat >conftest.$ac_ext <<_ACEOF
4897/* confdefs.h.  */
4898_ACEOF
4899cat confdefs.h >>conftest.$ac_ext
4900cat >>conftest.$ac_ext <<_ACEOF
4901/* end confdefs.h.  */
4902
4903
4904int
4905main ()
4906{
4907main ();
4908  ;
4909  return 0;
4910}
4911_ACEOF
4912rm -f conftest.$ac_objext conftest$ac_exeext
4913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4914  (eval $ac_link) 2>conftest.er1
4915  ac_status=$?
4916  grep -v '^ *+' conftest.er1 >conftest.err
4917  rm -f conftest.er1
4918  cat conftest.err >&5
4919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920  (exit $ac_status); } &&
4921         { ac_try='test -z "$ac_c_werror_flag"
4922                         || test ! -s conftest.err'
4923  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924  (eval $ac_try) 2>&5
4925  ac_status=$?
4926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927  (exit $ac_status); }; } &&
4928         { ac_try='test -s conftest$ac_exeext'
4929  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930  (eval $ac_try) 2>&5
4931  ac_status=$?
4932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933  (exit $ac_status); }; }; then
4934  ac_cv_lib_m_main=yes
4935else
4936  echo "$as_me: failed program was:" >&5
4937sed 's/^/| /' conftest.$ac_ext >&5
4938
4939ac_cv_lib_m_main=no
4940fi
4941rm -f conftest.err conftest.$ac_objext \
4942      conftest$ac_exeext conftest.$ac_ext
4943LIBS=$ac_check_lib_save_LIBS
4944fi
4945echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4946echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4947if test $ac_cv_lib_m_main = yes; then
4948  cat >>confdefs.h <<_ACEOF
4949#define HAVE_LIBM 1
4950_ACEOF
4951
4952  LIBS="-lm $LIBS"
4953
4954fi
4955
4956
4957# Checks for header files.
4958echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4959echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4960if test "${ac_cv_header_stdc+set}" = set; then
4961  echo $ECHO_N "(cached) $ECHO_C" >&6
4962else
4963  cat >conftest.$ac_ext <<_ACEOF
4964/* confdefs.h.  */
4965_ACEOF
4966cat confdefs.h >>conftest.$ac_ext
4967cat >>conftest.$ac_ext <<_ACEOF
4968/* end confdefs.h.  */
4969#include <stdlib.h>
4970#include <stdarg.h>
4971#include <string.h>
4972#include <float.h>
4973
4974int
4975main ()
4976{
4977
4978  ;
4979  return 0;
4980}
4981_ACEOF
4982rm -f conftest.$ac_objext
4983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984  (eval $ac_compile) 2>conftest.er1
4985  ac_status=$?
4986  grep -v '^ *+' conftest.er1 >conftest.err
4987  rm -f conftest.er1
4988  cat conftest.err >&5
4989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990  (exit $ac_status); } &&
4991         { ac_try='test -z "$ac_c_werror_flag"
4992                         || test ! -s conftest.err'
4993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4994  (eval $ac_try) 2>&5
4995  ac_status=$?
4996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997  (exit $ac_status); }; } &&
4998         { ac_try='test -s conftest.$ac_objext'
4999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5000  (eval $ac_try) 2>&5
5001  ac_status=$?
5002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003  (exit $ac_status); }; }; then
5004  ac_cv_header_stdc=yes
5005else
5006  echo "$as_me: failed program was:" >&5
5007sed 's/^/| /' conftest.$ac_ext >&5
5008
5009ac_cv_header_stdc=no
5010fi
5011rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5012
5013if test $ac_cv_header_stdc = yes; then
5014  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5015  cat >conftest.$ac_ext <<_ACEOF
5016/* confdefs.h.  */
5017_ACEOF
5018cat confdefs.h >>conftest.$ac_ext
5019cat >>conftest.$ac_ext <<_ACEOF
5020/* end confdefs.h.  */
5021#include <string.h>
5022
5023_ACEOF
5024if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5025  $EGREP "memchr" >/dev/null 2>&1; then
5026  :
5027else
5028  ac_cv_header_stdc=no
5029fi
5030rm -f conftest*
5031
5032fi
5033
5034if test $ac_cv_header_stdc = yes; then
5035  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5036  cat >conftest.$ac_ext <<_ACEOF
5037/* confdefs.h.  */
5038_ACEOF
5039cat confdefs.h >>conftest.$ac_ext
5040cat >>conftest.$ac_ext <<_ACEOF
5041/* end confdefs.h.  */
5042#include <stdlib.h>
5043
5044_ACEOF
5045if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5046  $EGREP "free" >/dev/null 2>&1; then
5047  :
5048else
5049  ac_cv_header_stdc=no
5050fi
5051rm -f conftest*
5052
5053fi
5054
5055if test $ac_cv_header_stdc = yes; then
5056  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5057  if test "$cross_compiling" = yes; then
5058  :
5059else
5060  cat >conftest.$ac_ext <<_ACEOF
5061/* confdefs.h.  */
5062_ACEOF
5063cat confdefs.h >>conftest.$ac_ext
5064cat >>conftest.$ac_ext <<_ACEOF
5065/* end confdefs.h.  */
5066#include <ctype.h>
5067#if ((' ' & 0x0FF) == 0x020)
5068# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5069# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5070#else
5071# define ISLOWER(c) \
5072                   (('a' <= (c) && (c) <= 'i') \
5073                     || ('j' <= (c) && (c) <= 'r') \
5074                     || ('s' <= (c) && (c) <= 'z'))
5075# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5076#endif
5077
5078#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5079int
5080main ()
5081{
5082  int i;
5083  for (i = 0; i < 256; i++)
5084    if (XOR (islower (i), ISLOWER (i))
5085        || toupper (i) != TOUPPER (i))
5086      exit(2);
5087  exit (0);
5088}
5089_ACEOF
5090rm -f conftest$ac_exeext
5091if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5092  (eval $ac_link) 2>&5
5093  ac_status=$?
5094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097  (eval $ac_try) 2>&5
5098  ac_status=$?
5099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100  (exit $ac_status); }; }; then
5101  :
5102else
5103  echo "$as_me: program exited with status $ac_status" >&5
5104echo "$as_me: failed program was:" >&5
5105sed 's/^/| /' conftest.$ac_ext >&5
5106
5107( exit $ac_status )
5108ac_cv_header_stdc=no
5109fi
5110rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5111fi
5112fi
5113fi
5114echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5115echo "${ECHO_T}$ac_cv_header_stdc" >&6
5116if test $ac_cv_header_stdc = yes; then
5117
5118cat >>confdefs.h <<\_ACEOF
5119#define STDC_HEADERS 1
5120_ACEOF
5121
5122fi
5123
5124
5125
5126for ac_header in stdlib.h string.h
5127do
5128as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5129if eval "test \"\${$as_ac_Header+set}\" = set"; then
5130  echo "$as_me:$LINENO: checking for $ac_header" >&5
5131echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5132if eval "test \"\${$as_ac_Header+set}\" = set"; then
5133  echo $ECHO_N "(cached) $ECHO_C" >&6
5134fi
5135echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5136echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5137else
5138  # Is the header compilable?
5139echo "$as_me:$LINENO: checking $ac_header usability" >&5
5140echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5141cat >conftest.$ac_ext <<_ACEOF
5142/* confdefs.h.  */
5143_ACEOF
5144cat confdefs.h >>conftest.$ac_ext
5145cat >>conftest.$ac_ext <<_ACEOF
5146/* end confdefs.h.  */
5147$ac_includes_default
5148#include <$ac_header>
5149_ACEOF
5150rm -f conftest.$ac_objext
5151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5152  (eval $ac_compile) 2>conftest.er1
5153  ac_status=$?
5154  grep -v '^ *+' conftest.er1 >conftest.err
5155  rm -f conftest.er1
5156  cat conftest.err >&5
5157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158  (exit $ac_status); } &&
5159         { ac_try='test -z "$ac_c_werror_flag"
5160                         || test ! -s conftest.err'
5161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162  (eval $ac_try) 2>&5
5163  ac_status=$?
5164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165  (exit $ac_status); }; } &&
5166         { ac_try='test -s conftest.$ac_objext'
5167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168  (eval $ac_try) 2>&5
5169  ac_status=$?
5170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171  (exit $ac_status); }; }; then
5172  ac_header_compiler=yes
5173else
5174  echo "$as_me: failed program was:" >&5
5175sed 's/^/| /' conftest.$ac_ext >&5
5176
5177ac_header_compiler=no
5178fi
5179rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5180echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5181echo "${ECHO_T}$ac_header_compiler" >&6
5182
5183# Is the header present?
5184echo "$as_me:$LINENO: checking $ac_header presence" >&5
5185echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5186cat >conftest.$ac_ext <<_ACEOF
5187/* confdefs.h.  */
5188_ACEOF
5189cat confdefs.h >>conftest.$ac_ext
5190cat >>conftest.$ac_ext <<_ACEOF
5191/* end confdefs.h.  */
5192#include <$ac_header>
5193_ACEOF
5194if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5195  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5196  ac_status=$?
5197  grep -v '^ *+' conftest.er1 >conftest.err
5198  rm -f conftest.er1
5199  cat conftest.err >&5
5200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201  (exit $ac_status); } >/dev/null; then
5202  if test -s conftest.err; then
5203    ac_cpp_err=$ac_c_preproc_warn_flag
5204    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5205  else
5206    ac_cpp_err=
5207  fi
5208else
5209  ac_cpp_err=yes
5210fi
5211if test -z "$ac_cpp_err"; then
5212  ac_header_preproc=yes
5213else
5214  echo "$as_me: failed program was:" >&5
5215sed 's/^/| /' conftest.$ac_ext >&5
5216
5217  ac_header_preproc=no
5218fi
5219rm -f conftest.err conftest.$ac_ext
5220echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5221echo "${ECHO_T}$ac_header_preproc" >&6
5222
5223# So?  What about this header?
5224case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5225  yes:no: )
5226    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5227echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5228    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5229echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5230    ac_header_preproc=yes
5231    ;;
5232  no:yes:* )
5233    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5234echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5235    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5236echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5237    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5238echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5239    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5240echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5241    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5242echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5243    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5244echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5245    (
5246      cat <<\_ASBOX
5247## ------------------------------------------- ##
5248## Report this to orxonox-dev@mail.datacore.ch ##
5249## ------------------------------------------- ##
5250_ASBOX
5251    ) |
5252      sed "s/^/$as_me: WARNING:     /" >&2
5253    ;;
5254esac
5255echo "$as_me:$LINENO: checking for $ac_header" >&5
5256echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5257if eval "test \"\${$as_ac_Header+set}\" = set"; then
5258  echo $ECHO_N "(cached) $ECHO_C" >&6
5259else
5260  eval "$as_ac_Header=\$ac_header_preproc"
5261fi
5262echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5263echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5264
5265fi
5266if test `eval echo '${'$as_ac_Header'}'` = yes; then
5267  cat >>confdefs.h <<_ACEOF
5268#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5269_ACEOF
5270
5271fi
5272
5273done
5274
5275
5276# Checks for typedefs, structures, and compiler characteristics.
5277echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
5278echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
5279if test "${ac_cv_header_stdbool_h+set}" = set; then
5280  echo $ECHO_N "(cached) $ECHO_C" >&6
5281else
5282  cat >conftest.$ac_ext <<_ACEOF
5283/* confdefs.h.  */
5284_ACEOF
5285cat confdefs.h >>conftest.$ac_ext
5286cat >>conftest.$ac_ext <<_ACEOF
5287/* end confdefs.h.  */
5288
5289#include <stdbool.h>
5290#ifndef bool
5291# error bool is not defined
5292#endif
5293#ifndef false
5294# error false is not defined
5295#endif
5296#if false
5297# error false is not 0
5298#endif
5299#ifndef true
5300# error true is not defined
5301#endif
5302#if true != 1
5303# error true is not 1
5304#endif
5305#ifndef __bool_true_false_are_defined
5306# error __bool_true_false_are_defined is not defined
5307#endif
5308
5309        struct s { _Bool s: 1; _Bool t; } s;
5310
5311        char a[true == 1 ? 1 : -1];
5312        char b[false == 0 ? 1 : -1];
5313        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5314        char d[(bool) -0.5 == true ? 1 : -1];
5315        bool e = &s;
5316        char f[(_Bool) -0.0 == false ? 1 : -1];
5317        char g[true];
5318        char h[sizeof (_Bool)];
5319        char i[sizeof s.t];
5320
5321int
5322main ()
5323{
5324 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
5325  ;
5326  return 0;
5327}
5328_ACEOF
5329rm -f conftest.$ac_objext
5330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331  (eval $ac_compile) 2>conftest.er1
5332  ac_status=$?
5333  grep -v '^ *+' conftest.er1 >conftest.err
5334  rm -f conftest.er1
5335  cat conftest.err >&5
5336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337  (exit $ac_status); } &&
5338         { ac_try='test -z "$ac_c_werror_flag"
5339                         || test ! -s conftest.err'
5340  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341  (eval $ac_try) 2>&5
5342  ac_status=$?
5343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344  (exit $ac_status); }; } &&
5345         { ac_try='test -s conftest.$ac_objext'
5346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347  (eval $ac_try) 2>&5
5348  ac_status=$?
5349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350  (exit $ac_status); }; }; then
5351  ac_cv_header_stdbool_h=yes
5352else
5353  echo "$as_me: failed program was:" >&5
5354sed 's/^/| /' conftest.$ac_ext >&5
5355
5356ac_cv_header_stdbool_h=no
5357fi
5358rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5359fi
5360echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
5361echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
5362echo "$as_me:$LINENO: checking for _Bool" >&5
5363echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
5364if test "${ac_cv_type__Bool+set}" = set; then
5365  echo $ECHO_N "(cached) $ECHO_C" >&6
5366else
5367  cat >conftest.$ac_ext <<_ACEOF
5368/* confdefs.h.  */
5369_ACEOF
5370cat confdefs.h >>conftest.$ac_ext
5371cat >>conftest.$ac_ext <<_ACEOF
5372/* end confdefs.h.  */
5373$ac_includes_default
5374int
5375main ()
5376{
5377if ((_Bool *) 0)
5378  return 0;
5379if (sizeof (_Bool))
5380  return 0;
5381  ;
5382  return 0;
5383}
5384_ACEOF
5385rm -f conftest.$ac_objext
5386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5387  (eval $ac_compile) 2>conftest.er1
5388  ac_status=$?
5389  grep -v '^ *+' conftest.er1 >conftest.err
5390  rm -f conftest.er1
5391  cat conftest.err >&5
5392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393  (exit $ac_status); } &&
5394         { ac_try='test -z "$ac_c_werror_flag"
5395                         || test ! -s conftest.err'
5396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397  (eval $ac_try) 2>&5
5398  ac_status=$?
5399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400  (exit $ac_status); }; } &&
5401         { ac_try='test -s conftest.$ac_objext'
5402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403  (eval $ac_try) 2>&5
5404  ac_status=$?
5405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406  (exit $ac_status); }; }; then
5407  ac_cv_type__Bool=yes
5408else
5409  echo "$as_me: failed program was:" >&5
5410sed 's/^/| /' conftest.$ac_ext >&5
5411
5412ac_cv_type__Bool=no
5413fi
5414rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5415fi
5416echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5417echo "${ECHO_T}$ac_cv_type__Bool" >&6
5418if test $ac_cv_type__Bool = yes; then
5419
5420cat >>confdefs.h <<_ACEOF
5421#define HAVE__BOOL 1
5422_ACEOF
5423
5424
5425fi
5426
5427if test $ac_cv_header_stdbool_h = yes; then
5428
5429cat >>confdefs.h <<\_ACEOF
5430#define HAVE_STDBOOL_H 1
5431_ACEOF
5432
5433fi
5434
5435
5436# Checks for library functions.
5437
5438for ac_header in stdlib.h
5439do
5440as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5441if eval "test \"\${$as_ac_Header+set}\" = set"; then
5442  echo "$as_me:$LINENO: checking for $ac_header" >&5
5443echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5444if eval "test \"\${$as_ac_Header+set}\" = set"; then
5445  echo $ECHO_N "(cached) $ECHO_C" >&6
5446fi
5447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5448echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5449else
5450  # Is the header compilable?
5451echo "$as_me:$LINENO: checking $ac_header usability" >&5
5452echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5453cat >conftest.$ac_ext <<_ACEOF
5454/* confdefs.h.  */
5455_ACEOF
5456cat confdefs.h >>conftest.$ac_ext
5457cat >>conftest.$ac_ext <<_ACEOF
5458/* end confdefs.h.  */
5459$ac_includes_default
5460#include <$ac_header>
5461_ACEOF
5462rm -f conftest.$ac_objext
5463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5464  (eval $ac_compile) 2>conftest.er1
5465  ac_status=$?
5466  grep -v '^ *+' conftest.er1 >conftest.err
5467  rm -f conftest.er1
5468  cat conftest.err >&5
5469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470  (exit $ac_status); } &&
5471         { ac_try='test -z "$ac_c_werror_flag"
5472                         || test ! -s conftest.err'
5473  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474  (eval $ac_try) 2>&5
5475  ac_status=$?
5476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477  (exit $ac_status); }; } &&
5478         { ac_try='test -s conftest.$ac_objext'
5479  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480  (eval $ac_try) 2>&5
5481  ac_status=$?
5482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483  (exit $ac_status); }; }; then
5484  ac_header_compiler=yes
5485else
5486  echo "$as_me: failed program was:" >&5
5487sed 's/^/| /' conftest.$ac_ext >&5
5488
5489ac_header_compiler=no
5490fi
5491rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5492echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5493echo "${ECHO_T}$ac_header_compiler" >&6
5494
5495# Is the header present?
5496echo "$as_me:$LINENO: checking $ac_header presence" >&5
5497echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5498cat >conftest.$ac_ext <<_ACEOF
5499/* confdefs.h.  */
5500_ACEOF
5501cat confdefs.h >>conftest.$ac_ext
5502cat >>conftest.$ac_ext <<_ACEOF
5503/* end confdefs.h.  */
5504#include <$ac_header>
5505_ACEOF
5506if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5507  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5508  ac_status=$?
5509  grep -v '^ *+' conftest.er1 >conftest.err
5510  rm -f conftest.er1
5511  cat conftest.err >&5
5512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513  (exit $ac_status); } >/dev/null; then
5514  if test -s conftest.err; then
5515    ac_cpp_err=$ac_c_preproc_warn_flag
5516    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5517  else
5518    ac_cpp_err=
5519  fi
5520else
5521  ac_cpp_err=yes
5522fi
5523if test -z "$ac_cpp_err"; then
5524  ac_header_preproc=yes
5525else
5526  echo "$as_me: failed program was:" >&5
5527sed 's/^/| /' conftest.$ac_ext >&5
5528
5529  ac_header_preproc=no
5530fi
5531rm -f conftest.err conftest.$ac_ext
5532echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5533echo "${ECHO_T}$ac_header_preproc" >&6
5534
5535# So?  What about this header?
5536case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5537  yes:no: )
5538    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5539echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5540    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5541echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5542    ac_header_preproc=yes
5543    ;;
5544  no:yes:* )
5545    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5546echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5547    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5548echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5549    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5550echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5551    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5552echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5553    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5554echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5555    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5556echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5557    (
5558      cat <<\_ASBOX
5559## ------------------------------------------- ##
5560## Report this to orxonox-dev@mail.datacore.ch ##
5561## ------------------------------------------- ##
5562_ASBOX
5563    ) |
5564      sed "s/^/$as_me: WARNING:     /" >&2
5565    ;;
5566esac
5567echo "$as_me:$LINENO: checking for $ac_header" >&5
5568echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5569if eval "test \"\${$as_ac_Header+set}\" = set"; then
5570  echo $ECHO_N "(cached) $ECHO_C" >&6
5571else
5572  eval "$as_ac_Header=\$ac_header_preproc"
5573fi
5574echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5575echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5576
5577fi
5578if test `eval echo '${'$as_ac_Header'}'` = yes; then
5579  cat >>confdefs.h <<_ACEOF
5580#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5581_ACEOF
5582
5583fi
5584
5585done
5586
5587echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5588echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
5589if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5590  echo $ECHO_N "(cached) $ECHO_C" >&6
5591else
5592  if test "$cross_compiling" = yes; then
5593  ac_cv_func_malloc_0_nonnull=no
5594else
5595  cat >conftest.$ac_ext <<_ACEOF
5596/* confdefs.h.  */
5597_ACEOF
5598cat confdefs.h >>conftest.$ac_ext
5599cat >>conftest.$ac_ext <<_ACEOF
5600/* end confdefs.h.  */
5601#if STDC_HEADERS || HAVE_STDLIB_H
5602# include <stdlib.h>
5603#else
5604char *malloc ();
5605#endif
5606
5607int
5608main ()
5609{
5610exit (malloc (0) ? 0 : 1);
5611  ;
5612  return 0;
5613}
5614_ACEOF
5615rm -f conftest$ac_exeext
5616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5617  (eval $ac_link) 2>&5
5618  ac_status=$?
5619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622  (eval $ac_try) 2>&5
5623  ac_status=$?
5624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625  (exit $ac_status); }; }; then
5626  ac_cv_func_malloc_0_nonnull=yes
5627else
5628  echo "$as_me: program exited with status $ac_status" >&5
5629echo "$as_me: failed program was:" >&5
5630sed 's/^/| /' conftest.$ac_ext >&5
5631
5632( exit $ac_status )
5633ac_cv_func_malloc_0_nonnull=no
5634fi
5635rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5636fi
5637fi
5638echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5639echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
5640if test $ac_cv_func_malloc_0_nonnull = yes; then
5641
5642cat >>confdefs.h <<\_ACEOF
5643#define HAVE_MALLOC 1
5644_ACEOF
5645
5646else
5647  cat >>confdefs.h <<\_ACEOF
5648#define HAVE_MALLOC 0
5649_ACEOF
5650
5651   case $LIBOBJS in
5652    "malloc.$ac_objext"   | \
5653  *" malloc.$ac_objext"   | \
5654    "malloc.$ac_objext "* | \
5655  *" malloc.$ac_objext "* ) ;;
5656  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
5657esac
5658
5659
5660cat >>confdefs.h <<\_ACEOF
5661#define malloc rpl_malloc
5662_ACEOF
5663
5664fi
5665
5666
5667
5668
5669
5670for ac_func in bzero sqrt
5671do
5672as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5673echo "$as_me:$LINENO: checking for $ac_func" >&5
5674echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5675if eval "test \"\${$as_ac_var+set}\" = set"; then
5676  echo $ECHO_N "(cached) $ECHO_C" >&6
5677else
5678  cat >conftest.$ac_ext <<_ACEOF
5679/* confdefs.h.  */
5680_ACEOF
5681cat confdefs.h >>conftest.$ac_ext
5682cat >>conftest.$ac_ext <<_ACEOF
5683/* end confdefs.h.  */
5684/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5685   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5686#define $ac_func innocuous_$ac_func
5687
5688/* System header to define __stub macros and hopefully few prototypes,
5689    which can conflict with char $ac_func (); below.
5690    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5691    <limits.h> exists even on freestanding compilers.  */
5692
5693#ifdef __STDC__
5694# include <limits.h>
5695#else
5696# include <assert.h>
5697#endif
5698
5699#undef $ac_func
5700
5701/* Override any gcc2 internal prototype to avoid an error.  */
5702#ifdef __cplusplus
5703extern "C"
5704{
5705#endif
5706/* We use char because int might match the return type of a gcc2
5707   builtin and then its argument prototype would still apply.  */
5708char $ac_func ();
5709/* The GNU C library defines this for functions which it implements
5710    to always fail with ENOSYS.  Some functions are actually named
5711    something starting with __ and the normal name is an alias.  */
5712#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5713choke me
5714#else
5715char (*f) () = $ac_func;
5716#endif
5717#ifdef __cplusplus
5718}
5719#endif
5720
5721int
5722main ()
5723{
5724return f != $ac_func;
5725  ;
5726  return 0;
5727}
5728_ACEOF
5729rm -f conftest.$ac_objext conftest$ac_exeext
5730if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5731  (eval $ac_link) 2>conftest.er1
5732  ac_status=$?
5733  grep -v '^ *+' conftest.er1 >conftest.err
5734  rm -f conftest.er1
5735  cat conftest.err >&5
5736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737  (exit $ac_status); } &&
5738         { ac_try='test -z "$ac_c_werror_flag"
5739                         || test ! -s conftest.err'
5740  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741  (eval $ac_try) 2>&5
5742  ac_status=$?
5743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744  (exit $ac_status); }; } &&
5745         { ac_try='test -s conftest$ac_exeext'
5746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747  (eval $ac_try) 2>&5
5748  ac_status=$?
5749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750  (exit $ac_status); }; }; then
5751  eval "$as_ac_var=yes"
5752else
5753  echo "$as_me: failed program was:" >&5
5754sed 's/^/| /' conftest.$ac_ext >&5
5755
5756eval "$as_ac_var=no"
5757fi
5758rm -f conftest.err conftest.$ac_objext \
5759      conftest$ac_exeext conftest.$ac_ext
5760fi
5761echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5762echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5763if test `eval echo '${'$as_ac_var'}'` = yes; then
5764  cat >>confdefs.h <<_ACEOF
5765#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5766_ACEOF
5767
5768fi
5769done
5770
5771
5772                                        ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile"
5773
5774cat >confcache <<\_ACEOF
5775# This file is a shell script that caches the results of configure
5776# tests run on this system so they can be shared between configure
5777# scripts and configure runs, see configure's option --config-cache.
5778# It is not useful on other systems.  If it contains results you don't
5779# want to keep, you may remove or edit it.
5780#
5781# config.status only pays attention to the cache file if you give it
5782# the --recheck option to rerun configure.
5783#
5784# `ac_cv_env_foo' variables (set or unset) will be overridden when
5785# loading this file, other *unset* `ac_cv_foo' will be assigned the
5786# following values.
5787
5788_ACEOF
5789
5790# The following way of writing the cache mishandles newlines in values,
5791# but we know of no workaround that is simple, portable, and efficient.
5792# So, don't put newlines in cache variables' values.
5793# Ultrix sh set writes to stderr and can't be redirected directly,
5794# and sets the high bit in the cache file unless we assign to the vars.
5795{
5796  (set) 2>&1 |
5797    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5798    *ac_space=\ *)
5799      # `set' does not quote correctly, so add quotes (double-quote
5800      # substitution turns \\\\ into \\, and sed turns \\ into \).
5801      sed -n \
5802        "s/'/'\\\\''/g;
5803          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5804      ;;
5805    *)
5806      # `set' quotes correctly as required by POSIX, so do not add quotes.
5807      sed -n \
5808        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5809      ;;
5810    esac;
5811} |
5812  sed '
5813     t clear
5814     : clear
5815     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5816     t end
5817     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5818     : end' >>confcache
5819if diff $cache_file confcache >/dev/null 2>&1; then :; else
5820  if test -w $cache_file; then
5821    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5822    cat confcache >$cache_file
5823  else
5824    echo "not updating unwritable cache $cache_file"
5825  fi
5826fi
5827rm -f confcache
5828
5829test "x$prefix" = xNONE && prefix=$ac_default_prefix
5830# Let make expand exec_prefix.
5831test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5832
5833# VPATH may cause trouble with some makes, so we remove $(srcdir),
5834# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5835# trailing colons and then remove the whole line if VPATH becomes empty
5836# (actually we leave an empty line to preserve line numbers).
5837if test "x$srcdir" = x.; then
5838  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5839s/:*\$(srcdir):*/:/;
5840s/:*\${srcdir}:*/:/;
5841s/:*@srcdir@:*/:/;
5842s/^\([^=]*=[     ]*\):*/\1/;
5843s/:*$//;
5844s/^[^=]*=[       ]*$//;
5845}'
5846fi
5847
5848DEFS=-DHAVE_CONFIG_H
5849
5850ac_libobjs=
5851ac_ltlibobjs=
5852for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5853  # 1. Remove the extension, and $U if already installed.
5854  ac_i=`echo "$ac_i" |
5855         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5856  # 2. Add them.
5857  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5858  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5859done
5860LIBOBJS=$ac_libobjs
5861
5862LTLIBOBJS=$ac_ltlibobjs
5863
5864
5865if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5866  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5867Usually this means the macro was only invoked conditionally." >&5
5868echo "$as_me: error: conditional \"AMDEP\" was never defined.
5869Usually this means the macro was only invoked conditionally." >&2;}
5870   { (exit 1); exit 1; }; }
5871fi
5872if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5873  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5874Usually this means the macro was only invoked conditionally." >&5
5875echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5876Usually this means the macro was only invoked conditionally." >&2;}
5877   { (exit 1); exit 1; }; }
5878fi
5879if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5880  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5881Usually this means the macro was only invoked conditionally." >&5
5882echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5883Usually this means the macro was only invoked conditionally." >&2;}
5884   { (exit 1); exit 1; }; }
5885fi
5886
5887: ${CONFIG_STATUS=./config.status}
5888ac_clean_files_save=$ac_clean_files
5889ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5890{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5891echo "$as_me: creating $CONFIG_STATUS" >&6;}
5892cat >$CONFIG_STATUS <<_ACEOF
5893#! $SHELL
5894# Generated by $as_me.
5895# Run this file to recreate the current configuration.
5896# Compiler output produced by configure, useful for debugging
5897# configure, is in config.log if it exists.
5898
5899debug=false
5900ac_cs_recheck=false
5901ac_cs_silent=false
5902SHELL=\${CONFIG_SHELL-$SHELL}
5903_ACEOF
5904
5905cat >>$CONFIG_STATUS <<\_ACEOF
5906## --------------------- ##
5907## M4sh Initialization.  ##
5908## --------------------- ##
5909
5910# Be Bourne compatible
5911if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5912  emulate sh
5913  NULLCMD=:
5914  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5915  # is contrary to our usage.  Disable this feature.
5916  alias -g '${1+"$@"}'='"$@"'
5917elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5918  set -o posix
5919fi
5920DUALCASE=1; export DUALCASE # for MKS sh
5921
5922# Support unset when possible.
5923if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5924  as_unset=unset
5925else
5926  as_unset=false
5927fi
5928
5929
5930# Work around bugs in pre-3.0 UWIN ksh.
5931$as_unset ENV MAIL MAILPATH
5932PS1='$ '
5933PS2='> '
5934PS4='+ '
5935
5936# NLS nuisances.
5937for as_var in \
5938  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5939  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5940  LC_TELEPHONE LC_TIME
5941do
5942  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5943    eval $as_var=C; export $as_var
5944  else
5945    $as_unset $as_var
5946  fi
5947done
5948
5949# Required to use basename.
5950if expr a : '\(a\)' >/dev/null 2>&1; then
5951  as_expr=expr
5952else
5953  as_expr=false
5954fi
5955
5956if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5957  as_basename=basename
5958else
5959  as_basename=false
5960fi
5961
5962
5963# Name of the executable.
5964as_me=`$as_basename "$0" ||
5965$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5966         X"$0" : 'X\(//\)$' \| \
5967         X"$0" : 'X\(/\)$' \| \
5968         .     : '\(.\)' 2>/dev/null ||
5969echo X/"$0" |
5970    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5971          /^X\/\(\/\/\)$/{ s//\1/; q; }
5972          /^X\/\(\/\).*/{ s//\1/; q; }
5973          s/.*/./; q'`
5974
5975
5976# PATH needs CR, and LINENO needs CR and PATH.
5977# Avoid depending upon Character Ranges.
5978as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5979as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5980as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5981as_cr_digits='0123456789'
5982as_cr_alnum=$as_cr_Letters$as_cr_digits
5983
5984# The user is always right.
5985if test "${PATH_SEPARATOR+set}" != set; then
5986  echo "#! /bin/sh" >conf$$.sh
5987  echo  "exit 0"   >>conf$$.sh
5988  chmod +x conf$$.sh
5989  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5990    PATH_SEPARATOR=';'
5991  else
5992    PATH_SEPARATOR=:
5993  fi
5994  rm -f conf$$.sh
5995fi
5996
5997
5998  as_lineno_1=$LINENO
5999  as_lineno_2=$LINENO
6000  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6001  test "x$as_lineno_1" != "x$as_lineno_2" &&
6002  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
6003  # Find who we are.  Look in the path if we contain no path at all
6004  # relative or not.
6005  case $0 in
6006    *[\\/]* ) as_myself=$0 ;;
6007    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008for as_dir in $PATH
6009do
6010  IFS=$as_save_IFS
6011  test -z "$as_dir" && as_dir=.
6012  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6013done
6014
6015       ;;
6016  esac
6017  # We did not find ourselves, most probably we were run as `sh COMMAND'
6018  # in which case we are not to be found in the path.
6019  if test "x$as_myself" = x; then
6020    as_myself=$0
6021  fi
6022  if test ! -f "$as_myself"; then
6023    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6024echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6025   { (exit 1); exit 1; }; }
6026  fi
6027  case $CONFIG_SHELL in
6028  '')
6029    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6031do
6032  IFS=$as_save_IFS
6033  test -z "$as_dir" && as_dir=.
6034  for as_base in sh bash ksh sh5; do
6035         case $as_dir in
6036         /*)
6037           if ("$as_dir/$as_base" -c '
6038  as_lineno_1=$LINENO
6039  as_lineno_2=$LINENO
6040  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6041  test "x$as_lineno_1" != "x$as_lineno_2" &&
6042  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
6043             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6044             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6045             CONFIG_SHELL=$as_dir/$as_base
6046             export CONFIG_SHELL
6047             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6048           fi;;
6049         esac
6050       done
6051done
6052;;
6053  esac
6054
6055  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6056  # uniformly replaced by the line number.  The first 'sed' inserts a
6057  # line-number line before each line; the second 'sed' does the real
6058  # work.  The second script uses 'N' to pair each line-number line
6059  # with the numbered line, and appends trailing '-' during
6060  # substitution so that $LINENO is not a special case at line end.
6061  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6062  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
6063  sed '=' <$as_myself |
6064    sed '
6065      N
6066      s,$,-,
6067      : loop
6068      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6069      t loop
6070      s,-$,,
6071      s,^['$as_cr_digits']*\n,,
6072    ' >$as_me.lineno &&
6073  chmod +x $as_me.lineno ||
6074    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6075echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6076   { (exit 1); exit 1; }; }
6077
6078  # Don't try to exec as it changes $[0], causing all sort of problems
6079  # (the dirname of $[0] is not the place where we might find the
6080  # original and so on.  Autoconf is especially sensible to this).
6081  . ./$as_me.lineno
6082  # Exit status is that of the last command.
6083  exit
6084}
6085
6086
6087case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6088  *c*,-n*) ECHO_N= ECHO_C='
6089' ECHO_T='      ' ;;
6090  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6091  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
6092esac
6093
6094if expr a : '\(a\)' >/dev/null 2>&1; then
6095  as_expr=expr
6096else
6097  as_expr=false
6098fi
6099
6100rm -f conf$$ conf$$.exe conf$$.file
6101echo >conf$$.file
6102if ln -s conf$$.file conf$$ 2>/dev/null; then
6103  # We could just check for DJGPP; but this test a) works b) is more generic
6104  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6105  if test -f conf$$.exe; then
6106    # Don't use ln at all; we don't have any links
6107    as_ln_s='cp -p'
6108  else
6109    as_ln_s='ln -s'
6110  fi
6111elif ln conf$$.file conf$$ 2>/dev/null; then
6112  as_ln_s=ln
6113else
6114  as_ln_s='cp -p'
6115fi
6116rm -f conf$$ conf$$.exe conf$$.file
6117
6118if mkdir -p . 2>/dev/null; then
6119  as_mkdir_p=:
6120else
6121  test -d ./-p && rmdir ./-p
6122  as_mkdir_p=false
6123fi
6124
6125as_executable_p="test -f"
6126
6127# Sed expression to map a string onto a valid CPP name.
6128as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6129
6130# Sed expression to map a string onto a valid variable name.
6131as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6132
6133
6134# IFS
6135# We need space, tab and new line, in precisely that order.
6136as_nl='
6137'
6138IFS="   $as_nl"
6139
6140# CDPATH.
6141$as_unset CDPATH
6142
6143exec 6>&1
6144
6145# Open the log real soon, to keep \$[0] and so on meaningful, and to
6146# report actual input values of CONFIG_FILES etc. instead of their
6147# values after options handling.  Logging --version etc. is OK.
6148exec 5>>config.log
6149{
6150  echo
6151  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6152## Running $as_me. ##
6153_ASBOX
6154} >&5
6155cat >&5 <<_CSEOF
6156
6157This file was extended by orxonox $as_me 0.1-pre-alpha, which was
6158generated by GNU Autoconf 2.59.  Invocation command line was
6159
6160  CONFIG_FILES    = $CONFIG_FILES
6161  CONFIG_HEADERS  = $CONFIG_HEADERS
6162  CONFIG_LINKS    = $CONFIG_LINKS
6163  CONFIG_COMMANDS = $CONFIG_COMMANDS
6164  $ $0 $@
6165
6166_CSEOF
6167echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6168echo >&5
6169_ACEOF
6170
6171# Files that config.status was made for.
6172if test -n "$ac_config_files"; then
6173  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6174fi
6175
6176if test -n "$ac_config_headers"; then
6177  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6178fi
6179
6180if test -n "$ac_config_links"; then
6181  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6182fi
6183
6184if test -n "$ac_config_commands"; then
6185  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6186fi
6187
6188cat >>$CONFIG_STATUS <<\_ACEOF
6189
6190ac_cs_usage="\
6191\`$as_me' instantiates files from templates according to the
6192current configuration.
6193
6194Usage: $0 [OPTIONS] [FILE]...
6195
6196  -h, --help       print this help, then exit
6197  -V, --version    print version number, then exit
6198  -q, --quiet      do not print progress messages
6199  -d, --debug      don't remove temporary files
6200      --recheck    update $as_me by reconfiguring in the same conditions
6201  --file=FILE[:TEMPLATE]
6202                   instantiate the configuration file FILE
6203  --header=FILE[:TEMPLATE]
6204                   instantiate the configuration header FILE
6205
6206Configuration files:
6207$config_files
6208
6209Configuration headers:
6210$config_headers
6211
6212Configuration commands:
6213$config_commands
6214
6215Report bugs to <bug-autoconf@gnu.org>."
6216_ACEOF
6217
6218cat >>$CONFIG_STATUS <<_ACEOF
6219ac_cs_version="\\
6220orxonox config.status 0.1-pre-alpha
6221configured by $0, generated by GNU Autoconf 2.59,
6222  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6223
6224Copyright (C) 2003 Free Software Foundation, Inc.
6225This config.status script is free software; the Free Software Foundation
6226gives unlimited permission to copy, distribute and modify it."
6227srcdir=$srcdir
6228INSTALL="$INSTALL"
6229_ACEOF
6230
6231cat >>$CONFIG_STATUS <<\_ACEOF
6232# If no file are specified by the user, then we need to provide default
6233# value.  By we need to know if files were specified by the user.
6234ac_need_defaults=:
6235while test $# != 0
6236do
6237  case $1 in
6238  --*=*)
6239    ac_option=`expr "x$1" : 'x\([^=]*\)='`
6240    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6241    ac_shift=:
6242    ;;
6243  -*)
6244    ac_option=$1
6245    ac_optarg=$2
6246    ac_shift=shift
6247    ;;
6248  *) # This is not an option, so the user has probably given explicit
6249     # arguments.
6250     ac_option=$1
6251     ac_need_defaults=false;;
6252  esac
6253
6254  case $ac_option in
6255  # Handling of the options.
6256_ACEOF
6257cat >>$CONFIG_STATUS <<\_ACEOF
6258  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6259    ac_cs_recheck=: ;;
6260  --version | --vers* | -V )
6261    echo "$ac_cs_version"; exit 0 ;;
6262  --he | --h)
6263    # Conflict between --help and --header
6264    { { echo "$as_me:$LINENO: error: ambiguous option: $1
6265Try \`$0 --help' for more information." >&5
6266echo "$as_me: error: ambiguous option: $1
6267Try \`$0 --help' for more information." >&2;}
6268   { (exit 1); exit 1; }; };;
6269  --help | --hel | -h )
6270    echo "$ac_cs_usage"; exit 0 ;;
6271  --debug | --d* | -d )
6272    debug=: ;;
6273  --file | --fil | --fi | --f )
6274    $ac_shift
6275    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6276    ac_need_defaults=false;;
6277  --header | --heade | --head | --hea )
6278    $ac_shift
6279    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6280    ac_need_defaults=false;;
6281  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6282  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6283    ac_cs_silent=: ;;
6284
6285  # This is an error.
6286  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6287Try \`$0 --help' for more information." >&5
6288echo "$as_me: error: unrecognized option: $1
6289Try \`$0 --help' for more information." >&2;}
6290   { (exit 1); exit 1; }; } ;;
6291
6292  *) ac_config_targets="$ac_config_targets $1" ;;
6293
6294  esac
6295  shift
6296done
6297
6298ac_configure_extra_args=
6299
6300if $ac_cs_silent; then
6301  exec 6>/dev/null
6302  ac_configure_extra_args="$ac_configure_extra_args --silent"
6303fi
6304
6305_ACEOF
6306cat >>$CONFIG_STATUS <<_ACEOF
6307if \$ac_cs_recheck; then
6308  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6309  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6310fi
6311
6312_ACEOF
6313
6314cat >>$CONFIG_STATUS <<_ACEOF
6315#
6316# INIT-COMMANDS section.
6317#
6318
6319AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6320
6321_ACEOF
6322
6323
6324
6325cat >>$CONFIG_STATUS <<\_ACEOF
6326for ac_config_target in $ac_config_targets
6327do
6328  case "$ac_config_target" in
6329  # Handling of arguments.
6330  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6331  "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
6332  "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
6333  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6334  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6335  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6336  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6337echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6338   { (exit 1); exit 1; }; };;
6339  esac
6340done
6341
6342# If the user did not use the arguments to specify the items to instantiate,
6343# then the envvar interface is used.  Set only those that are not.
6344# We use the long form for the default assignment because of an extremely
6345# bizarre bug on SunOS 4.1.3.
6346if $ac_need_defaults; then
6347  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6348  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6349  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6350fi
6351
6352# Have a temporary directory for convenience.  Make it in the build tree
6353# simply because there is no reason to put it here, and in addition,
6354# creating and moving files from /tmp can sometimes cause problems.
6355# Create a temporary directory, and hook for its removal unless debugging.
6356$debug ||
6357{
6358  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6359  trap '{ (exit 1); exit 1; }' 1 2 13 15
6360}
6361
6362# Create a (secure) tmp directory for tmp files.
6363
6364{
6365  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6366  test -n "$tmp" && test -d "$tmp"
6367}  ||
6368{
6369  tmp=./confstat$$-$RANDOM
6370  (umask 077 && mkdir $tmp)
6371} ||
6372{
6373   echo "$me: cannot create a temporary directory in ." >&2
6374   { (exit 1); exit 1; }
6375}
6376
6377_ACEOF
6378
6379cat >>$CONFIG_STATUS <<_ACEOF
6380
6381#
6382# CONFIG_FILES section.
6383#
6384
6385# No need to generate the scripts if there are no CONFIG_FILES.
6386# This happens for instance when ./config.status config.h
6387if test -n "\$CONFIG_FILES"; then
6388  # Protect against being on the right side of a sed subst in config.status.
6389  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6390   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6391s,@SHELL@,$SHELL,;t t
6392s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6393s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6394s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6395s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6396s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6397s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6398s,@exec_prefix@,$exec_prefix,;t t
6399s,@prefix@,$prefix,;t t
6400s,@program_transform_name@,$program_transform_name,;t t
6401s,@bindir@,$bindir,;t t
6402s,@sbindir@,$sbindir,;t t
6403s,@libexecdir@,$libexecdir,;t t
6404s,@datadir@,$datadir,;t t
6405s,@sysconfdir@,$sysconfdir,;t t
6406s,@sharedstatedir@,$sharedstatedir,;t t
6407s,@localstatedir@,$localstatedir,;t t
6408s,@libdir@,$libdir,;t t
6409s,@includedir@,$includedir,;t t
6410s,@oldincludedir@,$oldincludedir,;t t
6411s,@infodir@,$infodir,;t t
6412s,@mandir@,$mandir,;t t
6413s,@build_alias@,$build_alias,;t t
6414s,@host_alias@,$host_alias,;t t
6415s,@target_alias@,$target_alias,;t t
6416s,@DEFS@,$DEFS,;t t
6417s,@ECHO_C@,$ECHO_C,;t t
6418s,@ECHO_N@,$ECHO_N,;t t
6419s,@ECHO_T@,$ECHO_T,;t t
6420s,@LIBS@,$LIBS,;t t
6421s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6422s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6423s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6424s,@CYGPATH_W@,$CYGPATH_W,;t t
6425s,@PACKAGE@,$PACKAGE,;t t
6426s,@VERSION@,$VERSION,;t t
6427s,@ACLOCAL@,$ACLOCAL,;t t
6428s,@AUTOCONF@,$AUTOCONF,;t t
6429s,@AUTOMAKE@,$AUTOMAKE,;t t
6430s,@AUTOHEADER@,$AUTOHEADER,;t t
6431s,@MAKEINFO@,$MAKEINFO,;t t
6432s,@AMTAR@,$AMTAR,;t t
6433s,@install_sh@,$install_sh,;t t
6434s,@STRIP@,$STRIP,;t t
6435s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6436s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6437s,@AWK@,$AWK,;t t
6438s,@SET_MAKE@,$SET_MAKE,;t t
6439s,@am__leading_dot@,$am__leading_dot,;t t
6440s,@CXX@,$CXX,;t t
6441s,@CXXFLAGS@,$CXXFLAGS,;t t
6442s,@LDFLAGS@,$LDFLAGS,;t t
6443s,@CPPFLAGS@,$CPPFLAGS,;t t
6444s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6445s,@EXEEXT@,$EXEEXT,;t t
6446s,@OBJEXT@,$OBJEXT,;t t
6447s,@DEPDIR@,$DEPDIR,;t t
6448s,@am__include@,$am__include,;t t
6449s,@am__quote@,$am__quote,;t t
6450s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6451s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6452s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6453s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6454s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6455s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6456s,@CC@,$CC,;t t
6457s,@CFLAGS@,$CFLAGS,;t t
6458s,@ac_ct_CC@,$ac_ct_CC,;t t
6459s,@CCDEPMODE@,$CCDEPMODE,;t t
6460s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6461s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6462s,@CPP@,$CPP,;t t
6463s,@EGREP@,$EGREP,;t t
6464s,@LIBOBJS@,$LIBOBJS,;t t
6465s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6466CEOF
6467
6468_ACEOF
6469
6470  cat >>$CONFIG_STATUS <<\_ACEOF
6471  # Split the substitutions into bite-sized pieces for seds with
6472  # small command number limits, like on Digital OSF/1 and HP-UX.
6473  ac_max_sed_lines=48
6474  ac_sed_frag=1 # Number of current file.
6475  ac_beg=1 # First line for current file.
6476  ac_end=$ac_max_sed_lines # Line after last line for current file.
6477  ac_more_lines=:
6478  ac_sed_cmds=
6479  while $ac_more_lines; do
6480    if test $ac_beg -gt 1; then
6481      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6482    else
6483      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6484    fi
6485    if test ! -s $tmp/subs.frag; then
6486      ac_more_lines=false
6487    else
6488      # The purpose of the label and of the branching condition is to
6489      # speed up the sed processing (if there are no `@' at all, there
6490      # is no need to browse any of the substitutions).
6491      # These are the two extra sed commands mentioned above.
6492      (echo ':t
6493  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6494      if test -z "$ac_sed_cmds"; then
6495        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6496      else
6497        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6498      fi
6499      ac_sed_frag=`expr $ac_sed_frag + 1`
6500      ac_beg=$ac_end
6501      ac_end=`expr $ac_end + $ac_max_sed_lines`
6502    fi
6503  done
6504  if test -z "$ac_sed_cmds"; then
6505    ac_sed_cmds=cat
6506  fi
6507fi # test -n "$CONFIG_FILES"
6508
6509_ACEOF
6510cat >>$CONFIG_STATUS <<\_ACEOF
6511for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6512  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6513  case $ac_file in
6514  - | *:- | *:-:* ) # input from stdin
6515        cat >$tmp/stdin
6516        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6517        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6518  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6519        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6520  * )   ac_file_in=$ac_file.in ;;
6521  esac
6522
6523  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6524  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6525$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6526         X"$ac_file" : 'X\(//\)[^/]' \| \
6527         X"$ac_file" : 'X\(//\)$' \| \
6528         X"$ac_file" : 'X\(/\)' \| \
6529         .     : '\(.\)' 2>/dev/null ||
6530echo X"$ac_file" |
6531    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6532          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6533          /^X\(\/\/\)$/{ s//\1/; q; }
6534          /^X\(\/\).*/{ s//\1/; q; }
6535          s/.*/./; q'`
6536  { if $as_mkdir_p; then
6537    mkdir -p "$ac_dir"
6538  else
6539    as_dir="$ac_dir"
6540    as_dirs=
6541    while test ! -d "$as_dir"; do
6542      as_dirs="$as_dir $as_dirs"
6543      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6544$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6545         X"$as_dir" : 'X\(//\)[^/]' \| \
6546         X"$as_dir" : 'X\(//\)$' \| \
6547         X"$as_dir" : 'X\(/\)' \| \
6548         .     : '\(.\)' 2>/dev/null ||
6549echo X"$as_dir" |
6550    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6551          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6552          /^X\(\/\/\)$/{ s//\1/; q; }
6553          /^X\(\/\).*/{ s//\1/; q; }
6554          s/.*/./; q'`
6555    done
6556    test ! -n "$as_dirs" || mkdir $as_dirs
6557  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6558echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6559   { (exit 1); exit 1; }; }; }
6560
6561  ac_builddir=.
6562
6563if test "$ac_dir" != .; then
6564  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6565  # A "../" for each directory in $ac_dir_suffix.
6566  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6567else
6568  ac_dir_suffix= ac_top_builddir=
6569fi
6570
6571case $srcdir in
6572  .)  # No --srcdir option.  We are building in place.
6573    ac_srcdir=.
6574    if test -z "$ac_top_builddir"; then
6575       ac_top_srcdir=.
6576    else
6577       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6578    fi ;;
6579  [\\/]* | ?:[\\/]* )  # Absolute path.
6580    ac_srcdir=$srcdir$ac_dir_suffix;
6581    ac_top_srcdir=$srcdir ;;
6582  *) # Relative path.
6583    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6584    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6585esac
6586
6587# Do not use `cd foo && pwd` to compute absolute paths, because
6588# the directories may not exist.
6589case `pwd` in
6590.) ac_abs_builddir="$ac_dir";;
6591*)
6592  case "$ac_dir" in
6593  .) ac_abs_builddir=`pwd`;;
6594  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6595  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6596  esac;;
6597esac
6598case $ac_abs_builddir in
6599.) ac_abs_top_builddir=${ac_top_builddir}.;;
6600*)
6601  case ${ac_top_builddir}. in
6602  .) ac_abs_top_builddir=$ac_abs_builddir;;
6603  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6604  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6605  esac;;
6606esac
6607case $ac_abs_builddir in
6608.) ac_abs_srcdir=$ac_srcdir;;
6609*)
6610  case $ac_srcdir in
6611  .) ac_abs_srcdir=$ac_abs_builddir;;
6612  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6613  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6614  esac;;
6615esac
6616case $ac_abs_builddir in
6617.) ac_abs_top_srcdir=$ac_top_srcdir;;
6618*)
6619  case $ac_top_srcdir in
6620  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6621  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6622  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6623  esac;;
6624esac
6625
6626
6627  case $INSTALL in
6628  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6629  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6630  esac
6631
6632  if test x"$ac_file" != x-; then
6633    { echo "$as_me:$LINENO: creating $ac_file" >&5
6634echo "$as_me: creating $ac_file" >&6;}
6635    rm -f "$ac_file"
6636  fi
6637  # Let's still pretend it is `configure' which instantiates (i.e., don't
6638  # use $as_me), people would be surprised to read:
6639  #    /* config.h.  Generated by config.status.  */
6640  if test x"$ac_file" = x-; then
6641    configure_input=
6642  else
6643    configure_input="$ac_file.  "
6644  fi
6645  configure_input=$configure_input"Generated from `echo $ac_file_in |
6646                                     sed 's,.*/,,'` by configure."
6647
6648  # First look for the input files in the build tree, otherwise in the
6649  # src tree.
6650  ac_file_inputs=`IFS=:
6651    for f in $ac_file_in; do
6652      case $f in
6653      -) echo $tmp/stdin ;;
6654      [\\/$]*)
6655         # Absolute (can't be DOS-style, as IFS=:)
6656         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6657echo "$as_me: error: cannot find input file: $f" >&2;}
6658   { (exit 1); exit 1; }; }
6659         echo "$f";;
6660      *) # Relative
6661         if test -f "$f"; then
6662           # Build tree
6663           echo "$f"
6664         elif test -f "$srcdir/$f"; then
6665           # Source tree
6666           echo "$srcdir/$f"
6667         else
6668           # /dev/null tree
6669           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6670echo "$as_me: error: cannot find input file: $f" >&2;}
6671   { (exit 1); exit 1; }; }
6672         fi;;
6673      esac
6674    done` || { (exit 1); exit 1; }
6675_ACEOF
6676cat >>$CONFIG_STATUS <<_ACEOF
6677  sed "$ac_vpsub
6678$extrasub
6679_ACEOF
6680cat >>$CONFIG_STATUS <<\_ACEOF
6681:t
6682/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6683s,@configure_input@,$configure_input,;t t
6684s,@srcdir@,$ac_srcdir,;t t
6685s,@abs_srcdir@,$ac_abs_srcdir,;t t
6686s,@top_srcdir@,$ac_top_srcdir,;t t
6687s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6688s,@builddir@,$ac_builddir,;t t
6689s,@abs_builddir@,$ac_abs_builddir,;t t
6690s,@top_builddir@,$ac_top_builddir,;t t
6691s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6692s,@INSTALL@,$ac_INSTALL,;t t
6693" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6694  rm -f $tmp/stdin
6695  if test x"$ac_file" != x-; then
6696    mv $tmp/out $ac_file
6697  else
6698    cat $tmp/out
6699    rm -f $tmp/out
6700  fi
6701
6702done
6703_ACEOF
6704cat >>$CONFIG_STATUS <<\_ACEOF
6705
6706#
6707# CONFIG_HEADER section.
6708#
6709
6710# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6711# NAME is the cpp macro being defined and VALUE is the value it is being given.
6712#
6713# ac_d sets the value in "#define NAME VALUE" lines.
6714ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
6715ac_dB='[         ].*$,\1#\2'
6716ac_dC=' '
6717ac_dD=',;t'
6718# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6719ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
6720ac_uB='$,\1#\2define\3'
6721ac_uC=' '
6722ac_uD=',;t'
6723
6724for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6725  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6726  case $ac_file in
6727  - | *:- | *:-:* ) # input from stdin
6728        cat >$tmp/stdin
6729        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6730        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6731  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6732        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6733  * )   ac_file_in=$ac_file.in ;;
6734  esac
6735
6736  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6737echo "$as_me: creating $ac_file" >&6;}
6738
6739  # First look for the input files in the build tree, otherwise in the
6740  # src tree.
6741  ac_file_inputs=`IFS=:
6742    for f in $ac_file_in; do
6743      case $f in
6744      -) echo $tmp/stdin ;;
6745      [\\/$]*)
6746         # Absolute (can't be DOS-style, as IFS=:)
6747         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6748echo "$as_me: error: cannot find input file: $f" >&2;}
6749   { (exit 1); exit 1; }; }
6750         # Do quote $f, to prevent DOS paths from being IFS'd.
6751         echo "$f";;
6752      *) # Relative
6753         if test -f "$f"; then
6754           # Build tree
6755           echo "$f"
6756         elif test -f "$srcdir/$f"; then
6757           # Source tree
6758           echo "$srcdir/$f"
6759         else
6760           # /dev/null tree
6761           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6762echo "$as_me: error: cannot find input file: $f" >&2;}
6763   { (exit 1); exit 1; }; }
6764         fi;;
6765      esac
6766    done` || { (exit 1); exit 1; }
6767  # Remove the trailing spaces.
6768  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6769
6770_ACEOF
6771
6772# Transform confdefs.h into two sed scripts, `conftest.defines' and
6773# `conftest.undefs', that substitutes the proper values into
6774# config.h.in to produce config.h.  The first handles `#define'
6775# templates, and the second `#undef' templates.
6776# And first: Protect against being on the right side of a sed subst in
6777# config.status.  Protect against being in an unquoted here document
6778# in config.status.
6779rm -f conftest.defines conftest.undefs
6780# Using a here document instead of a string reduces the quoting nightmare.
6781# Putting comments in sed scripts is not portable.
6782#
6783# `end' is used to avoid that the second main sed command (meant for
6784# 0-ary CPP macros) applies to n-ary macro definitions.
6785# See the Autoconf documentation for `clear'.
6786cat >confdef2sed.sed <<\_ACEOF
6787s/[\\&,]/\\&/g
6788s,[\\$`],\\&,g
6789t clear
6790: clear
6791s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6792t end
6793s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6794: end
6795_ACEOF
6796# If some macros were called several times there might be several times
6797# the same #defines, which is useless.  Nevertheless, we may not want to
6798# sort them, since we want the *last* AC-DEFINE to be honored.
6799uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6800sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6801rm -f confdef2sed.sed
6802
6803# This sed command replaces #undef with comments.  This is necessary, for
6804# example, in the case of _POSIX_SOURCE, which is predefined and required
6805# on some systems where configure will not decide to define it.
6806cat >>conftest.undefs <<\_ACEOF
6807s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6808_ACEOF
6809
6810# Break up conftest.defines because some shells have a limit on the size
6811# of here documents, and old seds have small limits too (100 cmds).
6812echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6813echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6814echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6815echo '  :' >>$CONFIG_STATUS
6816rm -f conftest.tail
6817while grep . conftest.defines >/dev/null
6818do
6819  # Write a limited-size here document to $tmp/defines.sed.
6820  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6821  # Speed up: don't consider the non `#define' lines.
6822  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6823  # Work around the forget-to-reset-the-flag bug.
6824  echo 't clr' >>$CONFIG_STATUS
6825  echo ': clr' >>$CONFIG_STATUS
6826  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6827  echo 'CEOF
6828  sed -f $tmp/defines.sed $tmp/in >$tmp/out
6829  rm -f $tmp/in
6830  mv $tmp/out $tmp/in
6831' >>$CONFIG_STATUS
6832  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6833  rm -f conftest.defines
6834  mv conftest.tail conftest.defines
6835done
6836rm -f conftest.defines
6837echo '  fi # grep' >>$CONFIG_STATUS
6838echo >>$CONFIG_STATUS
6839
6840# Break up conftest.undefs because some shells have a limit on the size
6841# of here documents, and old seds have small limits too (100 cmds).
6842echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6843rm -f conftest.tail
6844while grep . conftest.undefs >/dev/null
6845do
6846  # Write a limited-size here document to $tmp/undefs.sed.
6847  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6848  # Speed up: don't consider the non `#undef'
6849  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6850  # Work around the forget-to-reset-the-flag bug.
6851  echo 't clr' >>$CONFIG_STATUS
6852  echo ': clr' >>$CONFIG_STATUS
6853  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6854  echo 'CEOF
6855  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6856  rm -f $tmp/in
6857  mv $tmp/out $tmp/in
6858' >>$CONFIG_STATUS
6859  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6860  rm -f conftest.undefs
6861  mv conftest.tail conftest.undefs
6862done
6863rm -f conftest.undefs
6864
6865cat >>$CONFIG_STATUS <<\_ACEOF
6866  # Let's still pretend it is `configure' which instantiates (i.e., don't
6867  # use $as_me), people would be surprised to read:
6868  #    /* config.h.  Generated by config.status.  */
6869  if test x"$ac_file" = x-; then
6870    echo "/* Generated by configure.  */" >$tmp/config.h
6871  else
6872    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6873  fi
6874  cat $tmp/in >>$tmp/config.h
6875  rm -f $tmp/in
6876  if test x"$ac_file" != x-; then
6877    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6878      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6879echo "$as_me: $ac_file is unchanged" >&6;}
6880    else
6881      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6882$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6883         X"$ac_file" : 'X\(//\)[^/]' \| \
6884         X"$ac_file" : 'X\(//\)$' \| \
6885         X"$ac_file" : 'X\(/\)' \| \
6886         .     : '\(.\)' 2>/dev/null ||
6887echo X"$ac_file" |
6888    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6889          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6890          /^X\(\/\/\)$/{ s//\1/; q; }
6891          /^X\(\/\).*/{ s//\1/; q; }
6892          s/.*/./; q'`
6893      { if $as_mkdir_p; then
6894    mkdir -p "$ac_dir"
6895  else
6896    as_dir="$ac_dir"
6897    as_dirs=
6898    while test ! -d "$as_dir"; do
6899      as_dirs="$as_dir $as_dirs"
6900      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6901$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6902         X"$as_dir" : 'X\(//\)[^/]' \| \
6903         X"$as_dir" : 'X\(//\)$' \| \
6904         X"$as_dir" : 'X\(/\)' \| \
6905         .     : '\(.\)' 2>/dev/null ||
6906echo X"$as_dir" |
6907    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6908          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6909          /^X\(\/\/\)$/{ s//\1/; q; }
6910          /^X\(\/\).*/{ s//\1/; q; }
6911          s/.*/./; q'`
6912    done
6913    test ! -n "$as_dirs" || mkdir $as_dirs
6914  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6915echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6916   { (exit 1); exit 1; }; }; }
6917
6918      rm -f $ac_file
6919      mv $tmp/config.h $ac_file
6920    fi
6921  else
6922    cat $tmp/config.h
6923    rm -f $tmp/config.h
6924  fi
6925# Compute $ac_file's index in $config_headers.
6926_am_stamp_count=1
6927for _am_header in $config_headers :; do
6928  case $_am_header in
6929    $ac_file | $ac_file:* )
6930      break ;;
6931    * )
6932      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6933  esac
6934done
6935echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6936$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6937         X$ac_file : 'X\(//\)[^/]' \| \
6938         X$ac_file : 'X\(//\)$' \| \
6939         X$ac_file : 'X\(/\)' \| \
6940         .     : '\(.\)' 2>/dev/null ||
6941echo X$ac_file |
6942    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6943          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6944          /^X\(\/\/\)$/{ s//\1/; q; }
6945          /^X\(\/\).*/{ s//\1/; q; }
6946          s/.*/./; q'`/stamp-h$_am_stamp_count
6947done
6948_ACEOF
6949cat >>$CONFIG_STATUS <<\_ACEOF
6950
6951#
6952# CONFIG_COMMANDS section.
6953#
6954for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6955  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6956  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6957  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6958$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6959         X"$ac_dest" : 'X\(//\)[^/]' \| \
6960         X"$ac_dest" : 'X\(//\)$' \| \
6961         X"$ac_dest" : 'X\(/\)' \| \
6962         .     : '\(.\)' 2>/dev/null ||
6963echo X"$ac_dest" |
6964    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6965          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6966          /^X\(\/\/\)$/{ s//\1/; q; }
6967          /^X\(\/\).*/{ s//\1/; q; }
6968          s/.*/./; q'`
6969  { if $as_mkdir_p; then
6970    mkdir -p "$ac_dir"
6971  else
6972    as_dir="$ac_dir"
6973    as_dirs=
6974    while test ! -d "$as_dir"; do
6975      as_dirs="$as_dir $as_dirs"
6976      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6977$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6978         X"$as_dir" : 'X\(//\)[^/]' \| \
6979         X"$as_dir" : 'X\(//\)$' \| \
6980         X"$as_dir" : 'X\(/\)' \| \
6981         .     : '\(.\)' 2>/dev/null ||
6982echo X"$as_dir" |
6983    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6984          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6985          /^X\(\/\/\)$/{ s//\1/; q; }
6986          /^X\(\/\).*/{ s//\1/; q; }
6987          s/.*/./; q'`
6988    done
6989    test ! -n "$as_dirs" || mkdir $as_dirs
6990  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6991echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6992   { (exit 1); exit 1; }; }; }
6993
6994  ac_builddir=.
6995
6996if test "$ac_dir" != .; then
6997  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6998  # A "../" for each directory in $ac_dir_suffix.
6999  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7000else
7001  ac_dir_suffix= ac_top_builddir=
7002fi
7003
7004case $srcdir in
7005  .)  # No --srcdir option.  We are building in place.
7006    ac_srcdir=.
7007    if test -z "$ac_top_builddir"; then
7008       ac_top_srcdir=.
7009    else
7010       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7011    fi ;;
7012  [\\/]* | ?:[\\/]* )  # Absolute path.
7013    ac_srcdir=$srcdir$ac_dir_suffix;
7014    ac_top_srcdir=$srcdir ;;
7015  *) # Relative path.
7016    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7017    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7018esac
7019
7020# Do not use `cd foo && pwd` to compute absolute paths, because
7021# the directories may not exist.
7022case `pwd` in
7023.) ac_abs_builddir="$ac_dir";;
7024*)
7025  case "$ac_dir" in
7026  .) ac_abs_builddir=`pwd`;;
7027  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7028  *) ac_abs_builddir=`pwd`/"$ac_dir";;
7029  esac;;
7030esac
7031case $ac_abs_builddir in
7032.) ac_abs_top_builddir=${ac_top_builddir}.;;
7033*)
7034  case ${ac_top_builddir}. in
7035  .) ac_abs_top_builddir=$ac_abs_builddir;;
7036  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7037  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7038  esac;;
7039esac
7040case $ac_abs_builddir in
7041.) ac_abs_srcdir=$ac_srcdir;;
7042*)
7043  case $ac_srcdir in
7044  .) ac_abs_srcdir=$ac_abs_builddir;;
7045  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7046  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7047  esac;;
7048esac
7049case $ac_abs_builddir in
7050.) ac_abs_top_srcdir=$ac_top_srcdir;;
7051*)
7052  case $ac_top_srcdir in
7053  .) ac_abs_top_srcdir=$ac_abs_builddir;;
7054  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7055  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7056  esac;;
7057esac
7058
7059
7060  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7061echo "$as_me: executing $ac_dest commands" >&6;}
7062  case $ac_dest in
7063    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7064  # Strip MF so we end up with the name of the file.
7065  mf=`echo "$mf" | sed -e 's/:.*$//'`
7066  # Check whether this is an Automake generated Makefile or not.
7067  # We used to match only the files named `Makefile.in', but
7068  # some people rename them; so instead we look at the file content.
7069  # Grep'ing the first line is not enough: some people post-process
7070  # each Makefile.in and add a new line on top of each file to say so.
7071  # So let's grep whole file.
7072  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7073    dirpart=`(dirname "$mf") 2>/dev/null ||
7074$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7075         X"$mf" : 'X\(//\)[^/]' \| \
7076         X"$mf" : 'X\(//\)$' \| \
7077         X"$mf" : 'X\(/\)' \| \
7078         .     : '\(.\)' 2>/dev/null ||
7079echo X"$mf" |
7080    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7081          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7082          /^X\(\/\/\)$/{ s//\1/; q; }
7083          /^X\(\/\).*/{ s//\1/; q; }
7084          s/.*/./; q'`
7085  else
7086    continue
7087  fi
7088  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7089  # Extract the definition of DEP_FILES from the Makefile without
7090  # running `make'.
7091  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7092  test -z "$DEPDIR" && continue
7093  # When using ansi2knr, U may be empty or an underscore; expand it
7094  U=`sed -n -e '/^U = / s///p' < "$mf"`
7095  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7096  # We invoke sed twice because it is the simplest approach to
7097  # changing $(DEPDIR) to its actual value in the expansion.
7098  for file in `sed -n -e '
7099    /^DEP_FILES = .*\\\\$/ {
7100      s/^DEP_FILES = //
7101      :loop
7102        s/\\\\$//
7103        p
7104        n
7105        /\\\\$/ b loop
7106      p
7107    }
7108    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7109       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7110    # Make sure the directory exists.
7111    test -f "$dirpart/$file" && continue
7112    fdir=`(dirname "$file") 2>/dev/null ||
7113$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7114         X"$file" : 'X\(//\)[^/]' \| \
7115         X"$file" : 'X\(//\)$' \| \
7116         X"$file" : 'X\(/\)' \| \
7117         .     : '\(.\)' 2>/dev/null ||
7118echo X"$file" |
7119    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7120          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7121          /^X\(\/\/\)$/{ s//\1/; q; }
7122          /^X\(\/\).*/{ s//\1/; q; }
7123          s/.*/./; q'`
7124    { if $as_mkdir_p; then
7125    mkdir -p $dirpart/$fdir
7126  else
7127    as_dir=$dirpart/$fdir
7128    as_dirs=
7129    while test ! -d "$as_dir"; do
7130      as_dirs="$as_dir $as_dirs"
7131      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7132$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7133         X"$as_dir" : 'X\(//\)[^/]' \| \
7134         X"$as_dir" : 'X\(//\)$' \| \
7135         X"$as_dir" : 'X\(/\)' \| \
7136         .     : '\(.\)' 2>/dev/null ||
7137echo X"$as_dir" |
7138    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7139          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7140          /^X\(\/\/\)$/{ s//\1/; q; }
7141          /^X\(\/\).*/{ s//\1/; q; }
7142          s/.*/./; q'`
7143    done
7144    test ! -n "$as_dirs" || mkdir $as_dirs
7145  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7146echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7147   { (exit 1); exit 1; }; }; }
7148
7149    # echo "creating $dirpart/$file"
7150    echo '# dummy' > "$dirpart/$file"
7151  done
7152done
7153 ;;
7154  esac
7155done
7156_ACEOF
7157
7158cat >>$CONFIG_STATUS <<\_ACEOF
7159
7160{ (exit 0); exit 0; }
7161_ACEOF
7162chmod +x $CONFIG_STATUS
7163ac_clean_files=$ac_clean_files_save
7164
7165
7166# configure is writing to config.log, and then calls config.status.
7167# config.status does its own redirection, appending to config.log.
7168# Unfortunately, on DOS this fails, as config.log is still kept open
7169# by configure, so config.status won't be able to write to it; its
7170# output is simply discarded.  So we exec the FD to /dev/null,
7171# effectively closing config.log, so it can be properly (re)opened and
7172# appended to by config.status.  When coming back to configure, we
7173# need to make the FD available again.
7174if test "$no_create" != yes; then
7175  ac_cs_success=:
7176  ac_config_status_args=
7177  test "$silent" = yes &&
7178    ac_config_status_args="$ac_config_status_args --quiet"
7179  exec 5>/dev/null
7180  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7181  exec 5>>config.log
7182  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7183  # would make configure fail if this is the last instruction.
7184  $ac_cs_success || { (exit 1); exit 1; }
7185fi
7186
Note: See TracBrowser for help on using the repository browser.