- Timestamp:
- Jan 9, 2006, 2:02:49 PM (19 years ago)
- Location:
- branches/collision_detection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/configure
r5502 r6449 1 #! /bin/sh2 # Guess values for system-dependent variables and create Makefiles.3 # Generated by GNU Autoconf 2.59 for orxonox 0.3.2_alpha.4 #5 # Report bugs to <orxonox-dev at mail.datacore.ch>.6 #7 # Copyright (C) 2003 Free Software Foundation, Inc.8 # This configure script is free software; the Free Software Foundation9 # gives unlimited permission to copy, distribute and modify it.10 ## --------------------- ##11 ## M4sh Initialization. ##12 ## --------------------- ##13 14 # Be Bourne compatible15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then16 emulate sh17 NULLCMD=:18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which19 # is contrary to our usage. Disable this feature.20 alias -g '${1+"$@"}'='"$@"'21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then22 set -o posix23 fi24 DUALCASE=1; export DUALCASE # for MKS sh25 26 # Support unset when possible.27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then28 as_unset=unset29 else30 as_unset=false31 fi32 33 34 # Work around bugs in pre-3.0 UWIN ksh.35 $as_unset ENV MAIL MAILPATH36 PS1='$ '37 PS2='> '38 PS4='+ '39 40 # NLS nuisances.41 for 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_TIME45 do46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then47 eval $as_var=C; export $as_var48 else49 $as_unset $as_var50 fi51 done52 53 # Required to use basename.54 if expr a : '\(a\)' >/dev/null 2>&1; then55 as_expr=expr56 else57 as_expr=false58 fi59 60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then61 as_basename=basename62 else63 as_basename=false64 fi65 66 67 # Name of the executable.68 as_me=`$as_basename "$0" ||69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \70 X"$0" : 'X\(//\)$' \| \71 X"$0" : 'X\(/\)$' \| \72 . : '\(.\)' 2>/dev/null ||73 echo 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.82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS85 as_cr_digits='0123456789'86 as_cr_alnum=$as_cr_Letters$as_cr_digits87 88 # The user is always right.89 if test "${PATH_SEPARATOR+set}" != set; then90 echo "#! /bin/sh" >conf$$.sh91 echo "exit 0" >>conf$$.sh92 chmod +x conf$$.sh93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then94 PATH_SEPARATOR=';'95 else96 PATH_SEPARATOR=:97 fi98 rm -f conf$$.sh99 fi100 101 102 as_lineno_1=$LINENO103 as_lineno_2=$LINENO104 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 all108 # relative or not.109 case $0 in110 *[\\/]* ) as_myself=$0 ;;111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR112 for as_dir in $PATH113 do114 IFS=$as_save_IFS115 test -z "$as_dir" && as_dir=.116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break117 done118 119 ;;120 esac121 # 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; then124 as_myself=$0125 fi126 if test ! -f "$as_myself"; then127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2128 { (exit 1); exit 1; }; }129 fi130 case $CONFIG_SHELL in131 '')132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH134 do135 IFS=$as_save_IFS136 test -z "$as_dir" && as_dir=.137 for as_base in sh bash ksh sh5; do138 case $as_dir in139 /*)140 if ("$as_dir/$as_base" -c '141 as_lineno_1=$LINENO142 as_lineno_2=$LINENO143 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; then146 $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_base149 export CONFIG_SHELL150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}151 fi;;152 esac153 done154 done155 ;;156 esac157 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO159 # uniformly replaced by the line number. The first 'sed' inserts a160 # line-number line before each line; the second 'sed' does the real161 # work. The second script uses 'N' to pair each line-number line162 # with the numbered line, and appends trailing '-' during163 # substitution so that $LINENO is not a special case at line end.164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)166 sed '=' <$as_myself |167 sed '168 N169 s,$,-,170 : loop171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,172 t loop173 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" >&2178 { (exit 1); exit 1; }; }179 180 # Don't try to exec as it changes $[0], causing all sort of problems181 # (the dirname of $[0] is not the place where we might find the182 # original and so on. Autoconf is especially sensible to this).183 . ./$as_me.lineno184 # Exit status is that of the last command.185 exit186 }187 188 189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in190 *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= ;;194 esac195 196 if expr a : '\(a\)' >/dev/null 2>&1; then197 as_expr=expr198 else199 as_expr=false200 fi201 202 rm -f conf$$ conf$$.exe conf$$.file203 echo >conf$$.file204 if ln -s conf$$.file conf$$ 2>/dev/null; then205 # We could just check for DJGPP; but this test a) works b) is more generic206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).207 if test -f conf$$.exe; then208 # Don't use ln at all; we don't have any links209 as_ln_s='cp -p'210 else211 as_ln_s='ln -s'212 fi213 elif ln conf$$.file conf$$ 2>/dev/null; then214 as_ln_s=ln215 else216 as_ln_s='cp -p'217 fi218 rm -f conf$$ conf$$.exe conf$$.file219 220 if mkdir -p . 2>/dev/null; then221 as_mkdir_p=:222 else223 test -d ./-p && rmdir ./-p224 as_mkdir_p=false225 fi226 227 as_executable_p="test -f"228 229 # Sed expression to map a string onto a valid CPP name.230 as_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.233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"234 235 236 # IFS237 # We need space, tab and new line, in precisely that order.238 as_nl='239 '240 IFS=" $as_nl"241 242 # CDPATH.243 $as_unset CDPATH244 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.249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`250 251 exec 6>&1252 253 #254 # Initializations.255 #256 ac_default_prefix=/usr/local257 ac_config_libobj_dir=.258 cross_compiling=no259 subdirs=260 MFLAGS=261 MAKEFLAGS=262 SHELL=${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, and266 # only ac_max_sed_lines should be used.267 : ${ac_max_here_lines=38}268 269 # Identity of this package.270 PACKAGE_NAME='orxonox'271 PACKAGE_TARNAME='orxonox'272 PACKAGE_VERSION='0.3.2_alpha'273 PACKAGE_STRING='orxonox 0.3.2_alpha'274 PACKAGE_BUGREPORT='orxonox-dev at mail.datacore.ch'275 276 ac_unique_file="."277 # Factoring default headers for most tests.278 ac_includes_default="\279 #include <stdio.h>280 #if HAVE_SYS_TYPES_H281 # include <sys/types.h>282 #endif283 #if HAVE_SYS_STAT_H284 # include <sys/stat.h>285 #endif286 #if STDC_HEADERS287 # include <stdlib.h>288 # include <stddef.h>289 #else290 # if HAVE_STDLIB_H291 # include <stdlib.h>292 # endif293 #endif294 #if HAVE_STRING_H295 # if !STDC_HEADERS && HAVE_MEMORY_H296 # include <memory.h>297 # endif298 # include <string.h>299 #endif300 #if HAVE_STRINGS_H301 # include <strings.h>302 #endif303 #if HAVE_INTTYPES_H304 # include <inttypes.h>305 #else306 # if HAVE_STDINT_H307 # include <stdint.h>308 # endif309 #endif310 #if HAVE_UNISTD_H311 # include <unistd.h>312 #endif"313 314 ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS'315 ac_subst_files=''316 317 # Initialize some variables set by options.318 ac_init_help=319 ac_init_version=false320 # The variables have the same names as the options, with321 # dashes changed to underlines.322 cache_file=/dev/null323 exec_prefix=NONE324 no_create=325 no_recursion=326 prefix=NONE327 program_prefix=NONE328 program_suffix=NONE329 program_transform_name=s,x,x,330 silent=331 site=332 srcdir=333 verbose=334 x_includes=NONE335 x_libraries=NONE336 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_prefix340 # by default will actually change.341 # Use braces instead of parens because sh, perl, etc. also accept them.342 bindir='${exec_prefix}/bin'343 sbindir='${exec_prefix}/sbin'344 libexecdir='${exec_prefix}/libexec'345 datadir='${prefix}/share'346 sysconfdir='${prefix}/etc'347 sharedstatedir='${prefix}/com'348 localstatedir='${prefix}/var'349 libdir='${exec_prefix}/lib'350 includedir='${prefix}/include'351 oldincludedir='/usr/include'352 infodir='${prefix}/info'353 mandir='${prefix}/man'354 355 ac_prev=356 for ac_option357 do358 # If the previous option needs an argument, assign it.359 if test -n "$ac_prev"; then360 eval "$ac_prev=\$ac_option"361 ac_prev=362 continue363 fi364 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 in370 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" >&2402 { (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" >&2411 { (exit 1); exit 1; }; }412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`413 case $ac_option in414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;415 *) ac_optarg=yes ;;416 esac417 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" >&2593 { (exit 1); exit 1; }; }594 ac_package=`echo $ac_package| sed 's/-/_/g'`595 case $ac_option in596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;597 *) ac_optarg=yes ;;598 esac599 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" >&2606 { (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_option629 Try \`$0 --help' for more information." >&2630 { (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" >&2638 { (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" >&2646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}649 ;;650 651 esac652 done653 654 if test -n "$ac_prev"; then655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`656 { echo "$as_me: error: missing argument to $ac_option" >&2657 { (exit 1); exit 1; }; }658 fi659 660 # Be sure to have absolute paths.661 for ac_var in exec_prefix prefix662 do663 eval ac_val=$`echo $ac_var`664 case $ac_val in665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;668 esac669 done670 671 # Be sure to have absolute paths.672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \673 localstatedir libdir includedir oldincludedir infodir mandir674 do675 eval ac_val=$`echo $ac_var`676 case $ac_val in677 [\\/$]* | ?:[\\/]* ) ;;678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2679 { (exit 1); exit 1; }; };;680 esac681 done682 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.686 build=$build_alias687 host=$host_alias688 target=$target_alias689 690 # FIXME: To remove some day.691 if test "x$host_alias" != x; then692 if test "x$build_alias" = x; then693 cross_compiling=maybe694 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." >&2696 elif test "x$build_alias" != "x$host_alias"; then697 cross_compiling=yes698 fi699 fi700 701 ac_tool_prefix=702 test -n "$host_alias" && ac_tool_prefix=$host_alias-703 704 test "$silent" = yes && exec 6>/dev/null705 706 707 # Find the source files, if location was not specified.708 if test -z "$srcdir"; then709 ac_srcdir_defaulted=yes710 # 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 ||717 echo 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_confdir724 if test ! -r $srcdir/$ac_unique_file; then725 srcdir=..726 fi727 else728 ac_srcdir_defaulted=no729 fi730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2733 { (exit 1); exit 1; }; }734 else735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2736 { (exit 1); exit 1; }; }737 fi738 fi739 (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" >&2741 { (exit 1); exit 1; }; }742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`743 ac_env_build_alias_set=${build_alias+set}744 ac_env_build_alias_value=$build_alias745 ac_cv_env_build_alias_set=${build_alias+set}746 ac_cv_env_build_alias_value=$build_alias747 ac_env_host_alias_set=${host_alias+set}748 ac_env_host_alias_value=$host_alias749 ac_cv_env_host_alias_set=${host_alias+set}750 ac_cv_env_host_alias_value=$host_alias751 ac_env_target_alias_set=${target_alias+set}752 ac_env_target_alias_value=$target_alias753 ac_cv_env_target_alias_set=${target_alias+set}754 ac_cv_env_target_alias_value=$target_alias755 ac_env_CXX_set=${CXX+set}756 ac_env_CXX_value=$CXX757 ac_cv_env_CXX_set=${CXX+set}758 ac_cv_env_CXX_value=$CXX759 ac_env_CXXFLAGS_set=${CXXFLAGS+set}760 ac_env_CXXFLAGS_value=$CXXFLAGS761 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}762 ac_cv_env_CXXFLAGS_value=$CXXFLAGS763 ac_env_LDFLAGS_set=${LDFLAGS+set}764 ac_env_LDFLAGS_value=$LDFLAGS765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}766 ac_cv_env_LDFLAGS_value=$LDFLAGS767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}768 ac_env_CPPFLAGS_value=$CPPFLAGS769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS771 ac_env_CC_set=${CC+set}772 ac_env_CC_value=$CC773 ac_cv_env_CC_set=${CC+set}774 ac_cv_env_CC_value=$CC775 ac_env_CFLAGS_set=${CFLAGS+set}776 ac_env_CFLAGS_value=$CFLAGS777 ac_cv_env_CFLAGS_set=${CFLAGS+set}778 ac_cv_env_CFLAGS_value=$CFLAGS779 ac_env_CPP_set=${CPP+set}780 ac_env_CPP_value=$CPP781 ac_cv_env_CPP_set=${CPP+set}782 ac_cv_env_CPP_value=$CPP783 784 #785 # Report the --help message.786 #787 if test "$ac_init_help" = "long"; then788 # 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 <<_ACEOF791 \`configure' configures orxonox 0.3.2_alpha to adapt to many kinds of systems.792 793 Usage: $0 [OPTION]... [VAR=VALUE]...794 795 To assign environment variables (e.g., CC, CFLAGS...), specify them as796 VAR=VALUE. See below for descriptions of some of the useful variables.797 798 Defaults for the options are specified in brackets.799 800 Configuration:801 -h, --help display this help and exit802 --help=short display options specific to this package803 --help=recursive display the short help of all the included packages804 -V, --version display version information and exit805 -q, --quiet, --silent do not print \`checking...' messages806 --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 files809 --srcdir=DIR find the sources in DIR [configure dir or \`..']810 811 _ACEOF812 813 cat <<_ACEOF814 Installation directories:815 --prefix=PREFIX install architecture-independent files in PREFIX816 [$ac_default_prefix]817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX818 [PREFIX]819 820 By default, \`make install' will install all the files in821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',823 for instance \`--prefix=\$HOME'.824 825 For better control, use the options below.826 827 Fine 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 _ACEOF841 842 cat <<\_ACEOF843 844 Program names:845 --program-prefix=PREFIX prepend PREFIX to installed program names846 --program-suffix=SUFFIX append SUFFIX to installed program names847 --program-transform-name=PROGRAM run sed PROGRAM on installed program names848 849 System types:850 --build=BUILD configure for building on BUILD [guessed]851 --host=HOST cross-compile to build programs to run on HOST [BUILD]852 --target=TARGET configure for building compilers for TARGET [HOST]853 _ACEOF854 fi855 856 if test -n "$ac_init_help"; then857 case $ac_init_help in858 short | recursive ) echo "Configuration of orxonox 0.3.2_alpha:";;859 esac860 cat <<\_ACEOF861 862 Optional Features:863 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)864 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]865 --disable-dependency-tracking speeds up one-time build866 --enable-dependency-tracking do not reject slow dependency extractors867 --enable-debug compiles in debug mode. Lots of debug info about the868 game.869 --disable-modular-debug compiles in modular-debug870 that logs differently on the many modules of orxonox.mode871 --disable-gtk Prevents GTK from being loaded872 --disable-curl Prevents libcURL from being loaded873 --enable-profile builds orxonox with profiling support874 --enable-efence builds orxonox with efence support875 --enable-documentation also builds the sDocumentation while make from876 srcdir877 878 Optional Packages:879 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]880 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)881 --with-shared-lib-path Tells the executable882 --with-sub-projects also builds the subProjects while make from srcdir883 --with-tardis sets all the necesary environment flags for884 linux-TARDIS boxes at the ETH Zurich885 886 Some influential environment variables:887 CXX C++ compiler command888 CXXFLAGS C++ compiler flags889 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a890 nonstandard directory <lib dir>891 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have892 headers in a nonstandard directory <include dir>893 CC C compiler command894 CFLAGS C compiler flags895 CPP C preprocessor896 897 Use these variables to override the choices made by `configure' or to help898 it to find libraries and programs with nonstandard names/locations.899 900 Report bugs to <orxonox-dev at mail.datacore.ch>.901 _ACEOF902 fi903 904 if test "$ac_init_help" = "recursive"; then905 # If there are subdirs, report their specific --help.906 ac_popdir=`pwd`907 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue908 test -d $ac_dir || continue909 ac_builddir=.910 911 if test "$ac_dir" != .; then912 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`913 # A "../" for each directory in $ac_dir_suffix.914 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`915 else916 ac_dir_suffix= ac_top_builddir=917 fi918 919 case $srcdir in920 .) # No --srcdir option. We are building in place.921 ac_srcdir=.922 if test -z "$ac_top_builddir"; then923 ac_top_srcdir=.924 else925 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`926 fi ;;927 [\\/]* | ?:[\\/]* ) # Absolute path.928 ac_srcdir=$srcdir$ac_dir_suffix;929 ac_top_srcdir=$srcdir ;;930 *) # Relative path.931 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix932 ac_top_srcdir=$ac_top_builddir$srcdir ;;933 esac934 935 # Do not use `cd foo && pwd` to compute absolute paths, because936 # the directories may not exist.937 case `pwd` in938 .) ac_abs_builddir="$ac_dir";;939 *)940 case "$ac_dir" in941 .) ac_abs_builddir=`pwd`;;942 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;943 *) ac_abs_builddir=`pwd`/"$ac_dir";;944 esac;;945 esac946 case $ac_abs_builddir in947 .) ac_abs_top_builddir=${ac_top_builddir}.;;948 *)949 case ${ac_top_builddir}. in950 .) ac_abs_top_builddir=$ac_abs_builddir;;951 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;952 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;953 esac;;954 esac955 case $ac_abs_builddir in956 .) ac_abs_srcdir=$ac_srcdir;;957 *)958 case $ac_srcdir in959 .) ac_abs_srcdir=$ac_abs_builddir;;960 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;961 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;962 esac;;963 esac964 case $ac_abs_builddir in965 .) ac_abs_top_srcdir=$ac_top_srcdir;;966 *)967 case $ac_top_srcdir in968 .) ac_abs_top_srcdir=$ac_abs_builddir;;969 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;970 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;971 esac;;972 esac973 974 cd $ac_dir975 # Check for guested configure; otherwise get Cygnus style configure.976 if test -f $ac_srcdir/configure.gnu; then977 echo978 $SHELL $ac_srcdir/configure.gnu --help=recursive979 elif test -f $ac_srcdir/configure; then980 echo981 $SHELL $ac_srcdir/configure --help=recursive982 elif test -f $ac_srcdir/configure.ac ||983 test -f $ac_srcdir/configure.in; then984 echo985 $ac_configure --help986 else987 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2988 fi989 cd $ac_popdir990 done991 fi992 993 test -n "$ac_init_help" && exit 0994 if $ac_init_version; then995 cat <<\_ACEOF996 orxonox configure 0.3.2_alpha997 generated by GNU Autoconf 2.59998 999 Copyright (C) 2003 Free Software Foundation, Inc.1000 This configure script is free software; the Free Software Foundation1001 gives unlimited permission to copy, distribute and modify it.1002 _ACEOF1003 exit 01004 fi1005 exec 5>config.log1006 cat >&5 <<_ACEOF1007 This file contains any messages produced by compilers while1008 running configure, to aid debugging if configure makes a mistake.1009 1010 It was created by orxonox $as_me 0.3.2_alpha, which was1011 generated by GNU Autoconf 2.59. Invocation command line was1012 1013 $ $0 $@1014 1015 _ACEOF1016 {1017 cat <<_ASUNAME1018 ## --------- ##1019 ## Platform. ##1020 ## --------- ##1021 1022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`1023 uname -m = `(uname -m) 2>/dev/null || echo unknown`1024 uname -r = `(uname -r) 2>/dev/null || echo unknown`1025 uname -s = `(uname -s) 2>/dev/null || echo unknown`1026 uname -v = `(uname -v) 2>/dev/null || echo unknown`1027 1028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`1030 1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`1033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`1038 1039 _ASUNAME1040 1041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1042 for as_dir in $PATH1043 do1044 IFS=$as_save_IFS1045 test -z "$as_dir" && as_dir=.1046 echo "PATH: $as_dir"1047 done1048 1049 } >&51050 1051 cat >&5 <<_ACEOF1052 1053 1054 ## ----------- ##1055 ## Core tests. ##1056 ## ----------- ##1057 1058 _ACEOF1059 1060 1061 # Keep a trace of the command line.1062 # Strip out --no-create and --no-recursion so they do not pile up.1063 # Strip out --silent because we don't want to record it for future runs.1064 # Also quote any args containing shell meta-characters.1065 # Make two passes to allow for proper duplicate-argument suppression.1066 ac_configure_args=1067 ac_configure_args0=1068 ac_configure_args1=1069 ac_sep=1070 ac_must_keep_next=false1071 for ac_pass in 1 21072 do1073 for ac_arg1074 do1075 case $ac_arg in1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \1078 | -silent | --silent | --silen | --sile | --sil)1079 continue ;;1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1082 esac1083 case $ac_pass in1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;1085 2)1086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"1087 if test $ac_must_keep_next = true; then1088 ac_must_keep_next=false # Got value, back to normal.1089 else1090 case $ac_arg in1091 *=* | --config-cache | -C | -disable-* | --disable-* \1092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \1093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \1094 | -with-* | --with-* | -without-* | --without-* | --x)1095 case "$ac_configure_args0 " in1096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;1097 esac1098 ;;1099 -* ) ac_must_keep_next=true ;;1100 esac1101 fi1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"1103 # Get rid of the leading space.1104 ac_sep=" "1105 ;;1106 esac1107 done1108 done1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }1111 1112 # When interrupted or exit'd, cleanup temporary files, and complete1113 # config.log. We remove comments because anyway the quotes in there1114 # would cause problems or look ugly.1115 # WARNING: Be sure not to use single quotes in there, as some shells,1116 # such as our DU 5.0 friend, will then `close' the trap.1117 trap 'exit_status=$?1118 # Save into config.log some information that might help in debugging.1119 {1120 echo1121 1122 cat <<\_ASBOX1123 ## ---------------- ##1124 ## Cache variables. ##1125 ## ---------------- ##1126 _ASBOX1127 echo1128 # The following way of writing the cache mishandles newlines in values,1129 {1130 (set) 2>&1 |1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1132 *ac_space=\ *)1133 sed -n \1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"1136 ;;1137 *)1138 sed -n \1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"1140 ;;1141 esac;1142 }1143 echo1144 1145 cat <<\_ASBOX1146 ## ----------------- ##1147 ## Output variables. ##1148 ## ----------------- ##1149 _ASBOX1150 echo1151 for ac_var in $ac_subst_vars1152 do1153 eval ac_val=$`echo $ac_var`1154 echo "$ac_var='"'"'$ac_val'"'"'"1155 done | sort1156 echo1157 1158 if test -n "$ac_subst_files"; then1159 cat <<\_ASBOX1160 ## ------------- ##1161 ## Output files. ##1162 ## ------------- ##1163 _ASBOX1164 echo1165 for ac_var in $ac_subst_files1166 do1167 eval ac_val=$`echo $ac_var`1168 echo "$ac_var='"'"'$ac_val'"'"'"1169 done | sort1170 echo1171 fi1172 1173 if test -s confdefs.h; then1174 cat <<\_ASBOX1175 ## ----------- ##1176 ## confdefs.h. ##1177 ## ----------- ##1178 _ASBOX1179 echo1180 sed "/^$/d" confdefs.h | sort1181 echo1182 fi1183 test "$ac_signal" != 0 &&1184 echo "$as_me: caught signal $ac_signal"1185 echo "$as_me: exit $exit_status"1186 } >&51187 rm -f core *.core &&1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&1189 exit $exit_status1190 ' 01191 for ac_signal in 1 2 13 15; do1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1193 done1194 ac_signal=01195 1196 # confdefs.h avoids OS command line length limits that DEFS can exceed.1197 rm -rf conftest* confdefs.h1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline.1199 echo >confdefs.h1200 1201 # Predefined preprocessor variables.1202 1203 cat >>confdefs.h <<_ACEOF1204 #define PACKAGE_NAME "$PACKAGE_NAME"1205 _ACEOF1206 1207 1208 cat >>confdefs.h <<_ACEOF1209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"1210 _ACEOF1211 1212 1213 cat >>confdefs.h <<_ACEOF1214 #define PACKAGE_VERSION "$PACKAGE_VERSION"1215 _ACEOF1216 1217 1218 cat >>confdefs.h <<_ACEOF1219 #define PACKAGE_STRING "$PACKAGE_STRING"1220 _ACEOF1221 1222 1223 cat >>confdefs.h <<_ACEOF1224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"1225 _ACEOF1226 1227 1228 # Let the site file select an alternate cache file if it wants to.1229 # Prefer explicitly selected file to automatically selected ones.1230 if test -z "$CONFIG_SITE"; then1231 if test "x$prefix" != xNONE; then1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"1233 else1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"1235 fi1236 fi1237 for ac_site_file in $CONFIG_SITE; do1238 if test -r "$ac_site_file"; then1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51240 echo "$as_me: loading site script $ac_site_file" >&6;}1241 sed 's/^/| /' "$ac_site_file" >&51242 . "$ac_site_file"1243 fi1244 done1245 1246 if test -r "$cache_file"; then1247 # Some versions of bash will fail to source /dev/null (special1248 # files actually), so we avoid doing that.1249 if test -f "$cache_file"; then1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&51251 echo "$as_me: loading cache $cache_file" >&6;}1252 case $cache_file in1253 [\\/]* | ?:[\\/]* ) . $cache_file;;1254 *) . ./$cache_file;;1255 esac1256 fi1257 else1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&51259 echo "$as_me: creating cache $cache_file" >&6;}1260 >$cache_file1261 fi1262 1263 # Check that the precious variables saved in the cache have kept the same1264 # value.1265 ac_cache_corrupted=false1266 for ac_var in `(set) 2>&1 |1267 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set1269 eval ac_new_set=\$ac_env_${ac_var}_set1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value"1271 eval ac_new_val="\$ac_env_${ac_var}_value"1272 case $ac_old_set,$ac_new_set in1273 set,)1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1276 ac_cache_corrupted=: ;;1277 ,set)1278 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51279 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1280 ac_cache_corrupted=: ;;1281 ,);;1282 *)1283 if test "x$ac_old_val" != "x$ac_new_val"; then1284 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&51285 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}1286 { echo "$as_me:$LINENO: former value: $ac_old_val" >&51287 echo "$as_me: former value: $ac_old_val" >&2;}1288 { echo "$as_me:$LINENO: current value: $ac_new_val" >&51289 echo "$as_me: current value: $ac_new_val" >&2;}1290 ac_cache_corrupted=:1291 fi;;1292 esac1293 # Pass precious variables to config.status.1294 if test "$ac_new_set" = set; then1295 case $ac_new_val in1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1297 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1298 *) ac_arg=$ac_var=$ac_new_val ;;1299 esac1300 case " $ac_configure_args " in1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;1303 esac1304 fi1305 done1306 if $ac_cache_corrupted; then1307 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&51308 echo "$as_me: error: changes in the environment can compromise the build" >&2;}1309 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51310 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}1311 { (exit 1); exit 1; }; }1312 fi1313 1314 ac_ext=c1315 ac_cpp='$CPP $CPPFLAGS'1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'1317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 ## Detect the canonical host and target build environment.1348 ac_aux_dir=1349 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1350 if test -f $ac_dir/install-sh; then1351 ac_aux_dir=$ac_dir1352 ac_install_sh="$ac_aux_dir/install-sh -c"1353 break1354 elif test -f $ac_dir/install.sh; then1355 ac_aux_dir=$ac_dir1356 ac_install_sh="$ac_aux_dir/install.sh -c"1357 break1358 elif test -f $ac_dir/shtool; then1359 ac_aux_dir=$ac_dir1360 ac_install_sh="$ac_aux_dir/shtool install -c"1361 break1362 fi1363 done1364 if test -z "$ac_aux_dir"; then1365 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51366 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}1367 { (exit 1); exit 1; }; }1368 fi1369 ac_config_guess="$SHELL $ac_aux_dir/config.guess"1370 ac_config_sub="$SHELL $ac_aux_dir/config.sub"1371 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.1372 1373 # Make sure we can run config.sub.1374 $ac_config_sub sun4 >/dev/null 2>&1 ||1375 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&51376 echo "$as_me: error: cannot run $ac_config_sub" >&2;}1377 { (exit 1); exit 1; }; }1378 1379 echo "$as_me:$LINENO: checking build system type" >&51380 echo $ECHO_N "checking build system type... $ECHO_C" >&61381 if test "${ac_cv_build+set}" = set; then1382 echo $ECHO_N "(cached) $ECHO_C" >&61383 else1384 ac_cv_build_alias=$build_alias1385 test -z "$ac_cv_build_alias" &&1386 ac_cv_build_alias=`$ac_config_guess`1387 test -z "$ac_cv_build_alias" &&1388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&51389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}1390 { (exit 1); exit 1; }; }1391 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&51393 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}1394 { (exit 1); exit 1; }; }1395 1396 fi1397 echo "$as_me:$LINENO: result: $ac_cv_build" >&51398 echo "${ECHO_T}$ac_cv_build" >&61399 build=$ac_cv_build1400 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`1401 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`1402 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`1403 1404 1405 echo "$as_me:$LINENO: checking host system type" >&51406 echo $ECHO_N "checking host system type... $ECHO_C" >&61407 if test "${ac_cv_host+set}" = set; then1408 echo $ECHO_N "(cached) $ECHO_C" >&61409 else1410 ac_cv_host_alias=$host_alias1411 test -z "$ac_cv_host_alias" &&1412 ac_cv_host_alias=$ac_cv_build_alias1413 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51415 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}1416 { (exit 1); exit 1; }; }1417 1418 fi1419 echo "$as_me:$LINENO: result: $ac_cv_host" >&51420 echo "${ECHO_T}$ac_cv_host" >&61421 host=$ac_cv_host1422 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`1423 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`1424 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`1425 1426 1427 echo "$as_me:$LINENO: checking target system type" >&51428 echo $ECHO_N "checking target system type... $ECHO_C" >&61429 if test "${ac_cv_target+set}" = set; then1430 echo $ECHO_N "(cached) $ECHO_C" >&61431 else1432 ac_cv_target_alias=$target_alias1433 test "x$ac_cv_target_alias" = "x" &&1434 ac_cv_target_alias=$ac_cv_host_alias1435 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51437 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}1438 { (exit 1); exit 1; }; }1439 1440 fi1441 echo "$as_me:$LINENO: result: $ac_cv_target" >&51442 echo "${ECHO_T}$ac_cv_target" >&61443 target=$ac_cv_target1444 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`1445 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`1446 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`1447 1448 1449 # The aliases save the names the user supplied, while $host etc.1450 # will get canonicalized.1451 test -n "$target_alias" &&1452 test "$program_prefix$program_suffix$program_transform_name" = \1453 NONENONEs,x,x, &&1454 program_prefix=${target_alias}-1455 1456 am__api_version="1.9"1457 # Find a good install program. We prefer a C program (faster),1458 # so one script is as good as another. But avoid the broken or1459 # incompatible versions:1460 # SysV /etc/install, /usr/sbin/install1461 # SunOS /usr/etc/install1462 # IRIX /sbin/install1463 # AIX /bin/install1464 # AmigaOS /C/install, which installs bootblocks on floppy discs1465 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag1466 # AFS /usr/afsws/bin/install, which mishandles nonexistent args1467 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"1468 # OS/2's system install, which has a completely different semantic1469 # ./install, which can be erroneously created by make from ./install.sh.1470 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51471 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&61472 if test -z "$INSTALL"; then1473 if test "${ac_cv_path_install+set}" = set; then1474 echo $ECHO_N "(cached) $ECHO_C" >&61475 else1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1477 for as_dir in $PATH1478 do1479 IFS=$as_save_IFS1480 test -z "$as_dir" && as_dir=.1481 # Account for people who put trailing slashes in PATH elements.1482 case $as_dir/ in1483 ./ | .// | /cC/* | \1484 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \1485 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \1486 /usr/ucb/* ) ;;1487 *)1488 # OSF1 and SCO ODT 3.0 have their own names for install.1489 # Don't use installbsd from OSF since it installs stuff as root1490 # by default.1491 for ac_prog in ginstall scoinst install; do1492 for ac_exec_ext in '' $ac_executable_extensions; do1493 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then1494 if test $ac_prog = install &&1495 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1496 # AIX install. It has an incompatible calling convention.1497 :1498 elif test $ac_prog = install &&1499 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1500 # program-specific install script used by HP pwplus--don't use.1501 :1502 else1503 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"1504 break 31505 fi1506 fi1507 done1508 done1509 ;;1510 esac1511 done1512 1513 1514 fi1515 if test "${ac_cv_path_install+set}" = set; then1516 INSTALL=$ac_cv_path_install1517 else1518 # As a last resort, use the slow shell script. We don't cache a1519 # path for INSTALL within a source directory, because that will1520 # break other packages using the cache if that directory is1521 # removed, or if the path is relative.1522 INSTALL=$ac_install_sh1523 fi1524 fi1525 echo "$as_me:$LINENO: result: $INSTALL" >&51526 echo "${ECHO_T}$INSTALL" >&61527 1528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1529 # It thinks the first close brace ends the variable substitution.1530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1531 1532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'1533 1534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1535 1536 echo "$as_me:$LINENO: checking whether build environment is sane" >&51537 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&61538 # Just in case1539 sleep 11540 echo timestamp > conftest.file1541 # Do `set' in a subshell so we don't clobber the current shell's1542 # arguments. Must try -L first in case configure is actually a1543 # symlink; some systems play weird games with the mod time of symlinks1544 # (eg FreeBSD returns the mod time of the symlink's containing1545 # directory).1546 if (1547 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`1548 if test "$*" = "X"; then1549 # -L didn't work.1550 set X `ls -t $srcdir/configure conftest.file`1551 fi1552 rm -f conftest.file1553 if test "$*" != "X $srcdir/configure conftest.file" \1554 && test "$*" != "X conftest.file $srcdir/configure"; then1555 1556 # If neither matched, then we have a broken ls. This can happen1557 # if, for instance, CONFIG_SHELL is bash and it inherits a1558 # broken ls alias from the environment. This has actually1559 # happened. Such a system could not be considered "sane".1560 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken1561 alias in your environment" >&51562 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken1563 alias in your environment" >&2;}1564 { (exit 1); exit 1; }; }1565 fi1566 1567 test "$2" = conftest.file1568 )1569 then1570 # Ok.1571 :1572 else1573 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!1574 Check your system clock" >&51575 echo "$as_me: error: newly created file is older than distributed files!1576 Check your system clock" >&2;}1577 { (exit 1); exit 1; }; }1578 fi1579 echo "$as_me:$LINENO: result: yes" >&51580 echo "${ECHO_T}yes" >&61581 test "$program_prefix" != NONE &&1582 program_transform_name="s,^,$program_prefix,;$program_transform_name"1583 # Use a double $ so make ignores it.1584 test "$program_suffix" != NONE &&1585 program_transform_name="s,\$,$program_suffix,;$program_transform_name"1586 # Double any \ or $. echo might interpret backslashes.1587 # By default was `s,x,x', remove it if useless.1588 cat <<\_ACEOF >conftest.sed1589 s/[\\$]/&&/g;s/;s,x,x,$//1590 _ACEOF1591 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`1592 rm conftest.sed1593 1594 # expand $ac_aux_dir to an absolute path1595 am_aux_dir=`cd $ac_aux_dir && pwd`1596 1597 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"1598 # Use eval to expand $SHELL1599 if eval "$MISSING --run true"; then1600 am_missing_run="$MISSING --run "1601 else1602 am_missing_run=1603 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&51604 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}1605 fi1606 1607 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then1608 # We used to keeping the `.' as first argument, in order to1609 # allow $(mkdir_p) to be used without argument. As in1610 # $(mkdir_p) $(somedir)1611 # where $(somedir) is conditionally defined. However this is wrong1612 # for two reasons:1613 # 1. if the package is installed by a user who cannot write `.'1614 # make install will fail,1615 # 2. the above comment should most certainly read1616 # $(mkdir_p) $(DESTDIR)$(somedir)1617 # so it does not work when $(somedir) is undefined and1618 # $(DESTDIR) is not.1619 # To support the latter case, we have to write1620 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),1621 # so the `.' trick is pointless.1622 mkdir_p='mkdir -p --'1623 else1624 # On NextStep and OpenStep, the `mkdir' command does not1625 # recognize any option. It will interpret all options as1626 # directories to create, and then abort because `.' already1627 # exists.1628 for d in ./-p ./--version;1629 do1630 test -d $d && rmdir $d1631 done1632 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.1633 if test -f "$ac_aux_dir/mkinstalldirs"; then1634 mkdir_p='$(mkinstalldirs)'1635 else1636 mkdir_p='$(install_sh) -d'1637 fi1638 fi1639 1640 for ac_prog in gawk mawk nawk awk1641 do1642 # Extract the first word of "$ac_prog", so it can be a program name with args.1643 set dummy $ac_prog; ac_word=$21644 echo "$as_me:$LINENO: checking for $ac_word" >&51645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61646 if test "${ac_cv_prog_AWK+set}" = set; then1647 echo $ECHO_N "(cached) $ECHO_C" >&61648 else1649 if test -n "$AWK"; then1650 ac_cv_prog_AWK="$AWK" # Let the user override the test.1651 else1652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1653 for as_dir in $PATH1654 do1655 IFS=$as_save_IFS1656 test -z "$as_dir" && as_dir=.1657 for ac_exec_ext in '' $ac_executable_extensions; do1658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1659 ac_cv_prog_AWK="$ac_prog"1660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51661 break 21662 fi1663 done1664 done1665 1666 fi1667 fi1668 AWK=$ac_cv_prog_AWK1669 if test -n "$AWK"; then1670 echo "$as_me:$LINENO: result: $AWK" >&51671 echo "${ECHO_T}$AWK" >&61672 else1673 echo "$as_me:$LINENO: result: no" >&51674 echo "${ECHO_T}no" >&61675 fi1676 1677 test -n "$AWK" && break1678 done1679 1680 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&51681 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&61682 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`1683 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then1684 echo $ECHO_N "(cached) $ECHO_C" >&61685 else1686 cat >conftest.make <<\_ACEOF1687 all:1688 @echo 'ac_maketemp="$(MAKE)"'1689 _ACEOF1690 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1691 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`1692 if test -n "$ac_maketemp"; then1693 eval ac_cv_prog_make_${ac_make}_set=yes1694 else1695 eval ac_cv_prog_make_${ac_make}_set=no1696 fi1697 rm -f conftest.make1698 fi1699 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1700 echo "$as_me:$LINENO: result: yes" >&51701 echo "${ECHO_T}yes" >&61702 SET_MAKE=1703 else1704 echo "$as_me:$LINENO: result: no" >&51705 echo "${ECHO_T}no" >&61706 SET_MAKE="MAKE=${MAKE-make}"1707 fi1708 1709 rm -rf .tst 2>/dev/null1710 mkdir .tst 2>/dev/null1711 if test -d .tst; then1712 am__leading_dot=.1713 else1714 am__leading_dot=_1715 fi1716 rmdir .tst 2>/dev/null1717 1718 # test to see if srcdir already configured1719 if test "`cd $srcdir && pwd`" != "`pwd`" &&1720 test -f $srcdir/config.status; then1721 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&51722 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}1723 { (exit 1); exit 1; }; }1724 fi1725 1726 # test whether we have cygpath1727 if test -z "$CYGPATH_W"; then1728 if (cygpath --version) >/dev/null 2>/dev/null; then1729 CYGPATH_W='cygpath -w'1730 else1731 CYGPATH_W=echo1732 fi1733 fi1734 1735 1736 # Define the identity of the package.1737 PACKAGE='orxonox'1738 VERSION='0.3.2_alpha'1739 1740 1741 cat >>confdefs.h <<_ACEOF1742 #define PACKAGE "$PACKAGE"1743 _ACEOF1744 1745 1746 cat >>confdefs.h <<_ACEOF1747 #define VERSION "$VERSION"1748 _ACEOF1749 1750 # Some tools Automake needs.1751 1752 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}1753 1754 1755 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}1756 1757 1758 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}1759 1760 1761 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}1762 1763 1764 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}1765 1766 install_sh=${install_sh-"$am_aux_dir/install-sh"}1767 1768 # Installed binaries are usually stripped using `strip' when the user1769 # run `make install-strip'. However `strip' might not be the right1770 # tool to use in cross-compilation environments, therefore Automake1771 # will honor the `STRIP' environment variable to overrule this program.1772 if test "$cross_compiling" != no; then1773 if test -n "$ac_tool_prefix"; then1774 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.1775 set dummy ${ac_tool_prefix}strip; ac_word=$21776 echo "$as_me:$LINENO: checking for $ac_word" >&51777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61778 if test "${ac_cv_prog_STRIP+set}" = set; then1779 echo $ECHO_N "(cached) $ECHO_C" >&61780 else1781 if test -n "$STRIP"; then1782 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.1783 else1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1785 for as_dir in $PATH1786 do1787 IFS=$as_save_IFS1788 test -z "$as_dir" && as_dir=.1789 for ac_exec_ext in '' $ac_executable_extensions; do1790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1791 ac_cv_prog_STRIP="${ac_tool_prefix}strip"1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51793 break 21794 fi1795 done1796 done1797 1798 fi1799 fi1800 STRIP=$ac_cv_prog_STRIP1801 if test -n "$STRIP"; then1802 echo "$as_me:$LINENO: result: $STRIP" >&51803 echo "${ECHO_T}$STRIP" >&61804 else1805 echo "$as_me:$LINENO: result: no" >&51806 echo "${ECHO_T}no" >&61807 fi1808 1809 fi1810 if test -z "$ac_cv_prog_STRIP"; then1811 ac_ct_STRIP=$STRIP1812 # Extract the first word of "strip", so it can be a program name with args.1813 set dummy strip; ac_word=$21814 echo "$as_me:$LINENO: checking for $ac_word" >&51815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61816 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then1817 echo $ECHO_N "(cached) $ECHO_C" >&61818 else1819 if test -n "$ac_ct_STRIP"; then1820 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.1821 else1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1823 for as_dir in $PATH1824 do1825 IFS=$as_save_IFS1826 test -z "$as_dir" && as_dir=.1827 for ac_exec_ext in '' $ac_executable_extensions; do1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1829 ac_cv_prog_ac_ct_STRIP="strip"1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51831 break 21832 fi1833 done1834 done1835 1836 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"1837 fi1838 fi1839 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP1840 if test -n "$ac_ct_STRIP"; then1841 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&51842 echo "${ECHO_T}$ac_ct_STRIP" >&61843 else1844 echo "$as_me:$LINENO: result: no" >&51845 echo "${ECHO_T}no" >&61846 fi1847 1848 STRIP=$ac_ct_STRIP1849 else1850 STRIP="$ac_cv_prog_STRIP"1851 fi1852 1853 fi1854 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"1855 1856 # We need awk for the "check" target. The system "awk" is bad on1857 # some platforms.1858 # Always define AMTAR for backward compatibility.1859 1860 AMTAR=${AMTAR-"${am_missing_run}tar"}1861 1862 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'1863 1864 1865 1866 1867 1868 1869 1870 ac_config_headers="$ac_config_headers config.h"1871 1872 1873 #########################1874 ## Checks for programs ##1875 #########################1876 ac_ext=cc1877 ac_cpp='$CXXCPP $CPPFLAGS'1878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'1879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'1880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu1881 if test -n "$ac_tool_prefix"; then1882 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC1883 do1884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.1885 set dummy $ac_tool_prefix$ac_prog; ac_word=$21886 echo "$as_me:$LINENO: checking for $ac_word" >&51887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61888 if test "${ac_cv_prog_CXX+set}" = set; then1889 echo $ECHO_N "(cached) $ECHO_C" >&61890 else1891 if test -n "$CXX"; then1892 ac_cv_prog_CXX="$CXX" # Let the user override the test.1893 else1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1895 for as_dir in $PATH1896 do1897 IFS=$as_save_IFS1898 test -z "$as_dir" && as_dir=.1899 for ac_exec_ext in '' $ac_executable_extensions; do1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1901 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51903 break 21904 fi1905 done1906 done1907 1908 fi1909 fi1910 CXX=$ac_cv_prog_CXX1911 if test -n "$CXX"; then1912 echo "$as_me:$LINENO: result: $CXX" >&51913 echo "${ECHO_T}$CXX" >&61914 else1915 echo "$as_me:$LINENO: result: no" >&51916 echo "${ECHO_T}no" >&61917 fi1918 1919 test -n "$CXX" && break1920 done1921 fi1922 if test -z "$CXX"; then1923 ac_ct_CXX=$CXX1924 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC1925 do1926 # Extract the first word of "$ac_prog", so it can be a program name with args.1927 set dummy $ac_prog; ac_word=$21928 echo "$as_me:$LINENO: checking for $ac_word" >&51929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61930 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then1931 echo $ECHO_N "(cached) $ECHO_C" >&61932 else1933 if test -n "$ac_ct_CXX"; then1934 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.1935 else1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1937 for as_dir in $PATH1938 do1939 IFS=$as_save_IFS1940 test -z "$as_dir" && as_dir=.1941 for ac_exec_ext in '' $ac_executable_extensions; do1942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1943 ac_cv_prog_ac_ct_CXX="$ac_prog"1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51945 break 21946 fi1947 done1948 done1949 1950 fi1951 fi1952 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX1953 if test -n "$ac_ct_CXX"; then1954 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&51955 echo "${ECHO_T}$ac_ct_CXX" >&61956 else1957 echo "$as_me:$LINENO: result: no" >&51958 echo "${ECHO_T}no" >&61959 fi1960 1961 test -n "$ac_ct_CXX" && break1962 done1963 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"1964 1965 CXX=$ac_ct_CXX1966 fi1967 1968 1969 # Provide some information about the compiler.1970 echo "$as_me:$LINENO:" \1971 "checking for C++ compiler version" >&51972 ac_compiler=`set X $ac_compile; echo $2`1973 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&51974 (eval $ac_compiler --version </dev/null >&5) 2>&51975 ac_status=$?1976 echo "$as_me:$LINENO: \$? = $ac_status" >&51977 (exit $ac_status); }1978 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&51979 (eval $ac_compiler -v </dev/null >&5) 2>&51980 ac_status=$?1981 echo "$as_me:$LINENO: \$? = $ac_status" >&51982 (exit $ac_status); }1983 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&51984 (eval $ac_compiler -V </dev/null >&5) 2>&51985 ac_status=$?1986 echo "$as_me:$LINENO: \$? = $ac_status" >&51987 (exit $ac_status); }1988 1989 cat >conftest.$ac_ext <<_ACEOF1990 /* confdefs.h. */1991 _ACEOF1992 cat confdefs.h >>conftest.$ac_ext1993 cat >>conftest.$ac_ext <<_ACEOF1994 /* end confdefs.h. */1995 1996 int1997 main ()1998 {1999 2000 ;2001 return 0;2002 }2003 _ACEOF2004 ac_clean_files_save=$ac_clean_files2005 ac_clean_files="$ac_clean_files a.out a.exe b.out"2006 # Try to create an executable without -o first, disregard a.out.2007 # It will help us diagnose broken compilers, and finding out an intuition2008 # of exeext.2009 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&52010 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&62011 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`2012 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&52013 (eval $ac_link_default) 2>&52014 ac_status=$?2015 echo "$as_me:$LINENO: \$? = $ac_status" >&52016 (exit $ac_status); }; then2017 # Find the output, starting from the most likely. This scheme is2018 # not robust to junk in `.', hence go to wildcards (a.*) only as a last2019 # resort.2020 2021 # Be careful to initialize this variable, since it used to be cached.2022 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.2023 ac_cv_exeext=2024 # b.out is created by i960 compilers.2025 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out2026 do2027 test -f "$ac_file" || continue2028 case $ac_file in2029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )2030 ;;2031 conftest.$ac_ext )2032 # This is the source file.2033 ;;2034 [ab].out )2035 # We found the default executable, but exeext='' is most2036 # certainly right.2037 break;;2038 *.* )2039 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2040 # FIXME: I believe we export ac_cv_exeext for Libtool,2041 # but it would be cool to find out if it's true. Does anybody2042 # maintain Libtool? --akim.2043 export ac_cv_exeext2044 break;;2045 * )2046 break;;2047 esac2048 done2049 else2050 echo "$as_me: failed program was:" >&52051 sed 's/^/| /' conftest.$ac_ext >&52052 2053 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables2054 See \`config.log' for more details." >&52055 echo "$as_me: error: C++ compiler cannot create executables2056 See \`config.log' for more details." >&2;}2057 { (exit 77); exit 77; }; }2058 fi2059 2060 ac_exeext=$ac_cv_exeext2061 echo "$as_me:$LINENO: result: $ac_file" >&52062 echo "${ECHO_T}$ac_file" >&62063 2064 # Check the compiler produces executables we can run. If not, either2065 # the compiler is broken, or we cross compile.2066 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&52067 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&62068 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02069 # If not cross compiling, check that we can run a simple program.2070 if test "$cross_compiling" != yes; then2071 if { ac_try='./$ac_file'2072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52073 (eval $ac_try) 2>&52074 ac_status=$?2075 echo "$as_me:$LINENO: \$? = $ac_status" >&52076 (exit $ac_status); }; }; then2077 cross_compiling=no2078 else2079 if test "$cross_compiling" = maybe; then2080 cross_compiling=yes2081 else2082 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.2083 If you meant to cross compile, use \`--host'.2084 See \`config.log' for more details." >&52085 echo "$as_me: error: cannot run C++ compiled programs.2086 If you meant to cross compile, use \`--host'.2087 See \`config.log' for more details." >&2;}2088 { (exit 1); exit 1; }; }2089 fi2090 fi2091 fi2092 echo "$as_me:$LINENO: result: yes" >&52093 echo "${ECHO_T}yes" >&62094 2095 rm -f a.out a.exe conftest$ac_cv_exeext b.out2096 ac_clean_files=$ac_clean_files_save2097 # Check the compiler produces executables we can run. If not, either2098 # the compiler is broken, or we cross compile.2099 echo "$as_me:$LINENO: checking whether we are cross compiling" >&52100 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&62101 echo "$as_me:$LINENO: result: $cross_compiling" >&52102 echo "${ECHO_T}$cross_compiling" >&62103 2104 echo "$as_me:$LINENO: checking for suffix of executables" >&52105 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&62106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&52107 (eval $ac_link) 2>&52108 ac_status=$?2109 echo "$as_me:$LINENO: \$? = $ac_status" >&52110 (exit $ac_status); }; then2111 # If both `conftest.exe' and `conftest' are `present' (well, observable)2112 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will2113 # work properly (i.e., refer to `conftest.exe'), while it won't with2114 # `rm'.2115 for ac_file in conftest.exe conftest conftest.*; do2116 test -f "$ac_file" || continue2117 case $ac_file in2118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;2119 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`2120 export ac_cv_exeext2121 break;;2122 * ) break;;2123 esac2124 done2125 else2126 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link2127 See \`config.log' for more details." >&52128 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link2129 See \`config.log' for more details." >&2;}2130 { (exit 1); exit 1; }; }2131 fi2132 2133 rm -f conftest$ac_cv_exeext2134 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52135 echo "${ECHO_T}$ac_cv_exeext" >&62136 2137 rm -f conftest.$ac_ext2138 EXEEXT=$ac_cv_exeext2139 ac_exeext=$EXEEXT2140 echo "$as_me:$LINENO: checking for suffix of object files" >&52141 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&62142 if test "${ac_cv_objext+set}" = set; then2143 echo $ECHO_N "(cached) $ECHO_C" >&62144 else2145 cat >conftest.$ac_ext <<_ACEOF2146 /* confdefs.h. */2147 _ACEOF2148 cat confdefs.h >>conftest.$ac_ext2149 cat >>conftest.$ac_ext <<_ACEOF2150 /* end confdefs.h. */2151 2152 int2153 main ()2154 {2155 2156 ;2157 return 0;2158 }2159 _ACEOF2160 rm -f conftest.o conftest.obj2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52162 (eval $ac_compile) 2>&52163 ac_status=$?2164 echo "$as_me:$LINENO: \$? = $ac_status" >&52165 (exit $ac_status); }; then2166 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do2167 case $ac_file in2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`2170 break;;2171 esac2172 done2173 else2174 echo "$as_me: failed program was:" >&52175 sed 's/^/| /' conftest.$ac_ext >&52176 2177 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile2178 See \`config.log' for more details." >&52179 echo "$as_me: error: cannot compute suffix of object files: cannot compile2180 See \`config.log' for more details." >&2;}2181 { (exit 1); exit 1; }; }2182 fi2183 2184 rm -f conftest.$ac_cv_objext conftest.$ac_ext2185 fi2186 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52187 echo "${ECHO_T}$ac_cv_objext" >&62188 OBJEXT=$ac_cv_objext2189 ac_objext=$OBJEXT2190 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52191 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&62192 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then2193 echo $ECHO_N "(cached) $ECHO_C" >&62194 else2195 cat >conftest.$ac_ext <<_ACEOF2196 /* confdefs.h. */2197 _ACEOF2198 cat confdefs.h >>conftest.$ac_ext2199 cat >>conftest.$ac_ext <<_ACEOF2200 /* end confdefs.h. */2201 2202 int2203 main ()2204 {2205 #ifndef __GNUC__2206 choke me2207 #endif2208 2209 ;2210 return 0;2211 }2212 _ACEOF2213 rm -f conftest.$ac_objext2214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52215 (eval $ac_compile) 2>conftest.er12216 ac_status=$?2217 grep -v '^ *+' conftest.er1 >conftest.err2218 rm -f conftest.er12219 cat conftest.err >&52220 echo "$as_me:$LINENO: \$? = $ac_status" >&52221 (exit $ac_status); } &&2222 { ac_try='test -z "$ac_cxx_werror_flag"2223 || test ! -s conftest.err'2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52225 (eval $ac_try) 2>&52226 ac_status=$?2227 echo "$as_me:$LINENO: \$? = $ac_status" >&52228 (exit $ac_status); }; } &&2229 { ac_try='test -s conftest.$ac_objext'2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52231 (eval $ac_try) 2>&52232 ac_status=$?2233 echo "$as_me:$LINENO: \$? = $ac_status" >&52234 (exit $ac_status); }; }; then2235 ac_compiler_gnu=yes2236 else2237 echo "$as_me: failed program was:" >&52238 sed 's/^/| /' conftest.$ac_ext >&52239 2240 ac_compiler_gnu=no2241 fi2242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu2244 2245 fi2246 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52247 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&62248 GXX=`test $ac_compiler_gnu = yes && echo yes`2249 ac_test_CXXFLAGS=${CXXFLAGS+set}2250 ac_save_CXXFLAGS=$CXXFLAGS2251 CXXFLAGS="-g"2252 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&52253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&62254 if test "${ac_cv_prog_cxx_g+set}" = set; then2255 echo $ECHO_N "(cached) $ECHO_C" >&62256 else2257 cat >conftest.$ac_ext <<_ACEOF2258 /* confdefs.h. */2259 _ACEOF2260 cat confdefs.h >>conftest.$ac_ext2261 cat >>conftest.$ac_ext <<_ACEOF2262 /* end confdefs.h. */2263 2264 int2265 main ()2266 {2267 2268 ;2269 return 0;2270 }2271 _ACEOF2272 rm -f conftest.$ac_objext2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52274 (eval $ac_compile) 2>conftest.er12275 ac_status=$?2276 grep -v '^ *+' conftest.er1 >conftest.err2277 rm -f conftest.er12278 cat conftest.err >&52279 echo "$as_me:$LINENO: \$? = $ac_status" >&52280 (exit $ac_status); } &&2281 { ac_try='test -z "$ac_cxx_werror_flag"2282 || test ! -s conftest.err'2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52284 (eval $ac_try) 2>&52285 ac_status=$?2286 echo "$as_me:$LINENO: \$? = $ac_status" >&52287 (exit $ac_status); }; } &&2288 { ac_try='test -s conftest.$ac_objext'2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52290 (eval $ac_try) 2>&52291 ac_status=$?2292 echo "$as_me:$LINENO: \$? = $ac_status" >&52293 (exit $ac_status); }; }; then2294 ac_cv_prog_cxx_g=yes2295 else2296 echo "$as_me: failed program was:" >&52297 sed 's/^/| /' conftest.$ac_ext >&52298 2299 ac_cv_prog_cxx_g=no2300 fi2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2302 fi2303 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&52304 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&62305 if test "$ac_test_CXXFLAGS" = set; then2306 CXXFLAGS=$ac_save_CXXFLAGS2307 elif test $ac_cv_prog_cxx_g = yes; then2308 if test "$GXX" = yes; then2309 CXXFLAGS="-g -O2"2310 else2311 CXXFLAGS="-g"2312 fi2313 else2314 if test "$GXX" = yes; then2315 CXXFLAGS="-O2"2316 else2317 CXXFLAGS=2318 fi2319 fi2320 for ac_declaration in \2321 '' \2322 'extern "C" void std::exit (int) throw (); using std::exit;' \2323 'extern "C" void std::exit (int); using std::exit;' \2324 'extern "C" void exit (int) throw ();' \2325 'extern "C" void exit (int);' \2326 'void exit (int);'2327 do2328 cat >conftest.$ac_ext <<_ACEOF2329 /* confdefs.h. */2330 _ACEOF2331 cat confdefs.h >>conftest.$ac_ext2332 cat >>conftest.$ac_ext <<_ACEOF2333 /* end confdefs.h. */2334 $ac_declaration2335 #include <stdlib.h>2336 int2337 main ()2338 {2339 exit (42);2340 ;2341 return 0;2342 }2343 _ACEOF2344 rm -f conftest.$ac_objext2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52346 (eval $ac_compile) 2>conftest.er12347 ac_status=$?2348 grep -v '^ *+' conftest.er1 >conftest.err2349 rm -f conftest.er12350 cat conftest.err >&52351 echo "$as_me:$LINENO: \$? = $ac_status" >&52352 (exit $ac_status); } &&2353 { ac_try='test -z "$ac_cxx_werror_flag"2354 || test ! -s conftest.err'2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52356 (eval $ac_try) 2>&52357 ac_status=$?2358 echo "$as_me:$LINENO: \$? = $ac_status" >&52359 (exit $ac_status); }; } &&2360 { ac_try='test -s conftest.$ac_objext'2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52362 (eval $ac_try) 2>&52363 ac_status=$?2364 echo "$as_me:$LINENO: \$? = $ac_status" >&52365 (exit $ac_status); }; }; then2366 :2367 else2368 echo "$as_me: failed program was:" >&52369 sed 's/^/| /' conftest.$ac_ext >&52370 2371 continue2372 fi2373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2374 cat >conftest.$ac_ext <<_ACEOF2375 /* confdefs.h. */2376 _ACEOF2377 cat confdefs.h >>conftest.$ac_ext2378 cat >>conftest.$ac_ext <<_ACEOF2379 /* end confdefs.h. */2380 $ac_declaration2381 int2382 main ()2383 {2384 exit (42);2385 ;2386 return 0;2387 }2388 _ACEOF2389 rm -f conftest.$ac_objext2390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52391 (eval $ac_compile) 2>conftest.er12392 ac_status=$?2393 grep -v '^ *+' conftest.er1 >conftest.err2394 rm -f conftest.er12395 cat conftest.err >&52396 echo "$as_me:$LINENO: \$? = $ac_status" >&52397 (exit $ac_status); } &&2398 { ac_try='test -z "$ac_cxx_werror_flag"2399 || test ! -s conftest.err'2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52401 (eval $ac_try) 2>&52402 ac_status=$?2403 echo "$as_me:$LINENO: \$? = $ac_status" >&52404 (exit $ac_status); }; } &&2405 { ac_try='test -s conftest.$ac_objext'2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52407 (eval $ac_try) 2>&52408 ac_status=$?2409 echo "$as_me:$LINENO: \$? = $ac_status" >&52410 (exit $ac_status); }; }; then2411 break2412 else2413 echo "$as_me: failed program was:" >&52414 sed 's/^/| /' conftest.$ac_ext >&52415 2416 fi2417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2418 done2419 rm -f conftest*2420 if test -n "$ac_declaration"; then2421 echo '#ifdef __cplusplus' >>confdefs.h2422 echo $ac_declaration >>confdefs.h2423 echo '#endif' >>confdefs.h2424 fi2425 2426 ac_ext=c2427 ac_cpp='$CPP $CPPFLAGS'2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu2431 DEPDIR="${am__leading_dot}deps"2432 2433 ac_config_commands="$ac_config_commands depfiles"2434 2435 2436 am_make=${MAKE-make}2437 cat > confinc << 'END'2438 am__doit:2439 @echo done2440 .PHONY: am__doit2441 END2442 # If we don't find an include directive, just comment out the code.2443 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&52444 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&62445 am__include="#"2446 am__quote=2447 _am_result=none2448 # First try GNU make style include.2449 echo "include confinc" > confmf2450 # We grep out `Entering directory' and `Leaving directory'2451 # messages which can occur if `w' ends up in MAKEFLAGS.2452 # In particular we don't look at `^make:' because GNU make might2453 # be invoked under some other name (usually "gmake"), in which2454 # case it prints its new name instead of `make'.2455 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then2456 am__include=include2457 am__quote=2458 _am_result=GNU2459 fi2460 # Now try BSD make style include.2461 if test "$am__include" = "#"; then2462 echo '.include "confinc"' > confmf2463 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then2464 am__include=.include2465 am__quote="\""2466 _am_result=BSD2467 fi2468 fi2469 2470 2471 echo "$as_me:$LINENO: result: $_am_result" >&52472 echo "${ECHO_T}$_am_result" >&62473 rm -f confinc confmf2474 2475 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.2476 if test "${enable_dependency_tracking+set}" = set; then2477 enableval="$enable_dependency_tracking"2478 2479 fi;2480 if test "x$enable_dependency_tracking" != xno; then2481 am_depcomp="$ac_aux_dir/depcomp"2482 AMDEPBACKSLASH='\'2483 fi2484 2485 2486 if test "x$enable_dependency_tracking" != xno; then2487 AMDEP_TRUE=2488 AMDEP_FALSE='#'2489 else2490 AMDEP_TRUE='#'2491 AMDEP_FALSE=2492 fi2493 2494 2495 2496 2497 depcc="$CXX" am_compiler_list=2498 2499 echo "$as_me:$LINENO: checking dependency style of $depcc" >&52500 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&62501 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then2502 echo $ECHO_N "(cached) $ECHO_C" >&62503 else2504 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then2505 # We make a subdir and do the tests there. Otherwise we can end up2506 # making bogus files that we don't know about and never remove. For2507 # instance it was reported that on HP-UX the gcc test will end up2508 # making a dummy file named `D' -- because `-MD' means `put the output2509 # in D'.2510 mkdir conftest.dir2511 # Copy depcomp to subdir because otherwise we won't find it if we're2512 # using a relative directory.2513 cp "$am_depcomp" conftest.dir2514 cd conftest.dir2515 # We will build objects and dependencies in a subdirectory because2516 # it helps to detect inapplicable dependency modes. For instance2517 # both Tru64's cc and ICC support -MD to output dependencies as a2518 # side effect of compilation, but ICC will put the dependencies in2519 # the current directory while Tru64 will put them in the object2520 # directory.2521 mkdir sub2522 2523 am_cv_CXX_dependencies_compiler_type=none2524 if test "$am_compiler_list" = ""; then2525 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`2526 fi2527 for depmode in $am_compiler_list; do2528 # Setup a source with many dependencies, because some compilers2529 # like to wrap large dependency lists on column 80 (with \), and2530 # we should not choose a depcomp mode which is confused by this.2531 #2532 # We need to recreate these files for each test, as the compiler may2533 # overwrite some of them when testing with obscure command lines.2534 # This happens at least with the AIX C compiler.2535 : > sub/conftest.c2536 for i in 1 2 3 4 5 6; do2537 echo '#include "conftst'$i'.h"' >> sub/conftest.c2538 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with2539 # Solaris 8's {/usr,}/bin/sh.2540 touch sub/conftst$i.h2541 done2542 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf2543 2544 case $depmode in2545 nosideeffect)2546 # after this tag, mechanisms are not by side-effect, so they'll2547 # only be used when explicitly requested2548 if test "x$enable_dependency_tracking" = xyes; then2549 continue2550 else2551 break2552 fi2553 ;;2554 none) break ;;2555 esac2556 # We check with `-c' and `-o' for the sake of the "dashmstdout"2557 # mode. It turns out that the SunPro C++ compiler does not properly2558 # handle `-M -o', and we need to detect this.2559 if depmode=$depmode \2560 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \2561 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \2562 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \2563 >/dev/null 2>conftest.err &&2564 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&2565 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&2566 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then2567 # icc doesn't choke on unknown options, it will just issue warnings2568 # or remarks (even with -Werror). So we grep stderr for any message2569 # that says an option was ignored or not supported.2570 # When given -MP, icc 7.0 and 7.1 complain thusly:2571 # icc: Command line warning: ignoring option '-M'; no argument required2572 # The diagnosis changed in icc 8.0:2573 # icc: Command line remark: option '-MP' not supported2574 if (grep 'ignoring option' conftest.err ||2575 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else2576 am_cv_CXX_dependencies_compiler_type=$depmode2577 break2578 fi2579 fi2580 done2581 2582 cd ..2583 rm -rf conftest.dir2584 else2585 am_cv_CXX_dependencies_compiler_type=none2586 fi2587 2588 fi2589 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&52590 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&62591 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type2592 2593 2594 2595 if2596 test "x$enable_dependency_tracking" != xno \2597 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then2598 am__fastdepCXX_TRUE=2599 am__fastdepCXX_FALSE='#'2600 else2601 am__fastdepCXX_TRUE='#'2602 am__fastdepCXX_FALSE=2603 fi2604 2605 2606 if test -n "$ac_tool_prefix"; then2607 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.2608 set dummy ${ac_tool_prefix}ranlib; ac_word=$22609 echo "$as_me:$LINENO: checking for $ac_word" >&52610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62611 if test "${ac_cv_prog_RANLIB+set}" = set; then2612 echo $ECHO_N "(cached) $ECHO_C" >&62613 else2614 if test -n "$RANLIB"; then2615 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.2616 else2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2618 for as_dir in $PATH2619 do2620 IFS=$as_save_IFS2621 test -z "$as_dir" && as_dir=.2622 for ac_exec_ext in '' $ac_executable_extensions; do2623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2624 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"2625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52626 break 22627 fi2628 done2629 done2630 2631 fi2632 fi2633 RANLIB=$ac_cv_prog_RANLIB2634 if test -n "$RANLIB"; then2635 echo "$as_me:$LINENO: result: $RANLIB" >&52636 echo "${ECHO_T}$RANLIB" >&62637 else2638 echo "$as_me:$LINENO: result: no" >&52639 echo "${ECHO_T}no" >&62640 fi2641 2642 fi2643 if test -z "$ac_cv_prog_RANLIB"; then2644 ac_ct_RANLIB=$RANLIB2645 # Extract the first word of "ranlib", so it can be a program name with args.2646 set dummy ranlib; ac_word=$22647 echo "$as_me:$LINENO: checking for $ac_word" >&52648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62649 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then2650 echo $ECHO_N "(cached) $ECHO_C" >&62651 else2652 if test -n "$ac_ct_RANLIB"; then2653 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.2654 else2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2656 for as_dir in $PATH2657 do2658 IFS=$as_save_IFS2659 test -z "$as_dir" && as_dir=.2660 for ac_exec_ext in '' $ac_executable_extensions; do2661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2662 ac_cv_prog_ac_ct_RANLIB="ranlib"2663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52664 break 22665 fi2666 done2667 done2668 2669 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"2670 fi2671 fi2672 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB2673 if test -n "$ac_ct_RANLIB"; then2674 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&52675 echo "${ECHO_T}$ac_ct_RANLIB" >&62676 else2677 echo "$as_me:$LINENO: result: no" >&52678 echo "${ECHO_T}no" >&62679 fi2680 2681 RANLIB=$ac_ct_RANLIB2682 else2683 RANLIB="$ac_cv_prog_RANLIB"2684 fi2685 2686 ac_ext=c2687 ac_cpp='$CPP $CPPFLAGS'2688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2690 ac_compiler_gnu=$ac_cv_c_compiler_gnu2691 if test -n "$ac_tool_prefix"; then2692 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.2693 set dummy ${ac_tool_prefix}gcc; ac_word=$22694 echo "$as_me:$LINENO: checking for $ac_word" >&52695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62696 if test "${ac_cv_prog_CC+set}" = set; then2697 echo $ECHO_N "(cached) $ECHO_C" >&62698 else2699 if test -n "$CC"; then2700 ac_cv_prog_CC="$CC" # Let the user override the test.2701 else2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2703 for as_dir in $PATH2704 do2705 IFS=$as_save_IFS2706 test -z "$as_dir" && as_dir=.2707 for ac_exec_ext in '' $ac_executable_extensions; do2708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2709 ac_cv_prog_CC="${ac_tool_prefix}gcc"2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52711 break 22712 fi2713 done2714 done2715 2716 fi2717 fi2718 CC=$ac_cv_prog_CC2719 if test -n "$CC"; then2720 echo "$as_me:$LINENO: result: $CC" >&52721 echo "${ECHO_T}$CC" >&62722 else2723 echo "$as_me:$LINENO: result: no" >&52724 echo "${ECHO_T}no" >&62725 fi2726 2727 fi2728 if test -z "$ac_cv_prog_CC"; then2729 ac_ct_CC=$CC2730 # Extract the first word of "gcc", so it can be a program name with args.2731 set dummy gcc; ac_word=$22732 echo "$as_me:$LINENO: checking for $ac_word" >&52733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2735 echo $ECHO_N "(cached) $ECHO_C" >&62736 else2737 if test -n "$ac_ct_CC"; then2738 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2739 else2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2741 for as_dir in $PATH2742 do2743 IFS=$as_save_IFS2744 test -z "$as_dir" && as_dir=.2745 for ac_exec_ext in '' $ac_executable_extensions; do2746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2747 ac_cv_prog_ac_ct_CC="gcc"2748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52749 break 22750 fi2751 done2752 done2753 2754 fi2755 fi2756 ac_ct_CC=$ac_cv_prog_ac_ct_CC2757 if test -n "$ac_ct_CC"; then2758 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52759 echo "${ECHO_T}$ac_ct_CC" >&62760 else2761 echo "$as_me:$LINENO: result: no" >&52762 echo "${ECHO_T}no" >&62763 fi2764 2765 CC=$ac_ct_CC2766 else2767 CC="$ac_cv_prog_CC"2768 fi2769 2770 if test -z "$CC"; then2771 if test -n "$ac_tool_prefix"; then2772 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2773 set dummy ${ac_tool_prefix}cc; ac_word=$22774 echo "$as_me:$LINENO: checking for $ac_word" >&52775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62776 if test "${ac_cv_prog_CC+set}" = set; then2777 echo $ECHO_N "(cached) $ECHO_C" >&62778 else2779 if test -n "$CC"; then2780 ac_cv_prog_CC="$CC" # Let the user override the test.2781 else2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2783 for as_dir in $PATH2784 do2785 IFS=$as_save_IFS2786 test -z "$as_dir" && as_dir=.2787 for ac_exec_ext in '' $ac_executable_extensions; do2788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2789 ac_cv_prog_CC="${ac_tool_prefix}cc"2790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52791 break 22792 fi2793 done2794 done2795 2796 fi2797 fi2798 CC=$ac_cv_prog_CC2799 if test -n "$CC"; then2800 echo "$as_me:$LINENO: result: $CC" >&52801 echo "${ECHO_T}$CC" >&62802 else2803 echo "$as_me:$LINENO: result: no" >&52804 echo "${ECHO_T}no" >&62805 fi2806 2807 fi2808 if test -z "$ac_cv_prog_CC"; then2809 ac_ct_CC=$CC2810 # Extract the first word of "cc", so it can be a program name with args.2811 set dummy cc; ac_word=$22812 echo "$as_me:$LINENO: checking for $ac_word" >&52813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62814 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2815 echo $ECHO_N "(cached) $ECHO_C" >&62816 else2817 if test -n "$ac_ct_CC"; then2818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2819 else2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2821 for as_dir in $PATH2822 do2823 IFS=$as_save_IFS2824 test -z "$as_dir" && as_dir=.2825 for ac_exec_ext in '' $ac_executable_extensions; do2826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2827 ac_cv_prog_ac_ct_CC="cc"2828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52829 break 22830 fi2831 done2832 done2833 2834 fi2835 fi2836 ac_ct_CC=$ac_cv_prog_ac_ct_CC2837 if test -n "$ac_ct_CC"; then2838 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52839 echo "${ECHO_T}$ac_ct_CC" >&62840 else2841 echo "$as_me:$LINENO: result: no" >&52842 echo "${ECHO_T}no" >&62843 fi2844 2845 CC=$ac_ct_CC2846 else2847 CC="$ac_cv_prog_CC"2848 fi2849 2850 fi2851 if test -z "$CC"; then2852 # Extract the first word of "cc", so it can be a program name with args.2853 set dummy cc; ac_word=$22854 echo "$as_me:$LINENO: checking for $ac_word" >&52855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62856 if test "${ac_cv_prog_CC+set}" = set; then2857 echo $ECHO_N "(cached) $ECHO_C" >&62858 else2859 if test -n "$CC"; then2860 ac_cv_prog_CC="$CC" # Let the user override the test.2861 else2862 ac_prog_rejected=no2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2864 for as_dir in $PATH2865 do2866 IFS=$as_save_IFS2867 test -z "$as_dir" && as_dir=.2868 for ac_exec_ext in '' $ac_executable_extensions; do2869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then2871 ac_prog_rejected=yes2872 continue2873 fi2874 ac_cv_prog_CC="cc"2875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52876 break 22877 fi2878 done2879 done2880 2881 if test $ac_prog_rejected = yes; then2882 # We found a bogon in the path, so make sure we never use it.2883 set dummy $ac_cv_prog_CC2884 shift2885 if test $# != 0; then2886 # We chose a different compiler from the bogus one.2887 # However, it has the same basename, so the bogon will be chosen2888 # first if we set CC to just the basename; use the full file name.2889 shift2890 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"2891 fi2892 fi2893 fi2894 fi2895 CC=$ac_cv_prog_CC2896 if test -n "$CC"; then2897 echo "$as_me:$LINENO: result: $CC" >&52898 echo "${ECHO_T}$CC" >&62899 else2900 echo "$as_me:$LINENO: result: no" >&52901 echo "${ECHO_T}no" >&62902 fi2903 2904 fi2905 if test -z "$CC"; then2906 if test -n "$ac_tool_prefix"; then2907 for ac_prog in cl2908 do2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$22911 echo "$as_me:$LINENO: checking for $ac_word" >&52912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62913 if test "${ac_cv_prog_CC+set}" = set; then2914 echo $ECHO_N "(cached) $ECHO_C" >&62915 else2916 if test -n "$CC"; then2917 ac_cv_prog_CC="$CC" # Let the user override the test.2918 else2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2920 for as_dir in $PATH2921 do2922 IFS=$as_save_IFS2923 test -z "$as_dir" && as_dir=.2924 for ac_exec_ext in '' $ac_executable_extensions; do2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2926 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52928 break 22929 fi2930 done2931 done2932 2933 fi2934 fi2935 CC=$ac_cv_prog_CC2936 if test -n "$CC"; then2937 echo "$as_me:$LINENO: result: $CC" >&52938 echo "${ECHO_T}$CC" >&62939 else2940 echo "$as_me:$LINENO: result: no" >&52941 echo "${ECHO_T}no" >&62942 fi2943 2944 test -n "$CC" && break2945 done2946 fi2947 if test -z "$CC"; then2948 ac_ct_CC=$CC2949 for ac_prog in cl2950 do2951 # Extract the first word of "$ac_prog", so it can be a program name with args.2952 set dummy $ac_prog; ac_word=$22953 echo "$as_me:$LINENO: checking for $ac_word" >&52954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62955 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2956 echo $ECHO_N "(cached) $ECHO_C" >&62957 else2958 if test -n "$ac_ct_CC"; then2959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.2960 else2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2962 for as_dir in $PATH2963 do2964 IFS=$as_save_IFS2965 test -z "$as_dir" && as_dir=.2966 for ac_exec_ext in '' $ac_executable_extensions; do2967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2968 ac_cv_prog_ac_ct_CC="$ac_prog"2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52970 break 22971 fi2972 done2973 done2974 2975 fi2976 fi2977 ac_ct_CC=$ac_cv_prog_ac_ct_CC2978 if test -n "$ac_ct_CC"; then2979 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52980 echo "${ECHO_T}$ac_ct_CC" >&62981 else2982 echo "$as_me:$LINENO: result: no" >&52983 echo "${ECHO_T}no" >&62984 fi2985 2986 test -n "$ac_ct_CC" && break2987 done2988 2989 CC=$ac_ct_CC2990 fi2991 2992 fi2993 2994 2995 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH2996 See \`config.log' for more details." >&52997 echo "$as_me: error: no acceptable C compiler found in \$PATH2998 See \`config.log' for more details." >&2;}2999 { (exit 1); exit 1; }; }3000 3001 # Provide some information about the compiler.3002 echo "$as_me:$LINENO:" \3003 "checking for C compiler version" >&53004 ac_compiler=`set X $ac_compile; echo $2`3005 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&53006 (eval $ac_compiler --version </dev/null >&5) 2>&53007 ac_status=$?3008 echo "$as_me:$LINENO: \$? = $ac_status" >&53009 (exit $ac_status); }3010 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&53011 (eval $ac_compiler -v </dev/null >&5) 2>&53012 ac_status=$?3013 echo "$as_me:$LINENO: \$? = $ac_status" >&53014 (exit $ac_status); }3015 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&53016 (eval $ac_compiler -V </dev/null >&5) 2>&53017 ac_status=$?3018 echo "$as_me:$LINENO: \$? = $ac_status" >&53019 (exit $ac_status); }3020 3021 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&53022 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&63023 if test "${ac_cv_c_compiler_gnu+set}" = set; then3024 echo $ECHO_N "(cached) $ECHO_C" >&63025 else3026 cat >conftest.$ac_ext <<_ACEOF3027 /* confdefs.h. */3028 _ACEOF3029 cat confdefs.h >>conftest.$ac_ext3030 cat >>conftest.$ac_ext <<_ACEOF3031 /* end confdefs.h. */3032 3033 int3034 main ()3035 {3036 #ifndef __GNUC__3037 choke me3038 #endif3039 3040 ;3041 return 0;3042 }3043 _ACEOF3044 rm -f conftest.$ac_objext3045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53046 (eval $ac_compile) 2>conftest.er13047 ac_status=$?3048 grep -v '^ *+' conftest.er1 >conftest.err3049 rm -f conftest.er13050 cat conftest.err >&53051 echo "$as_me:$LINENO: \$? = $ac_status" >&53052 (exit $ac_status); } &&3053 { ac_try='test -z "$ac_c_werror_flag"3054 || test ! -s conftest.err'3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53056 (eval $ac_try) 2>&53057 ac_status=$?3058 echo "$as_me:$LINENO: \$? = $ac_status" >&53059 (exit $ac_status); }; } &&3060 { ac_try='test -s conftest.$ac_objext'3061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53062 (eval $ac_try) 2>&53063 ac_status=$?3064 echo "$as_me:$LINENO: \$? = $ac_status" >&53065 (exit $ac_status); }; }; then3066 ac_compiler_gnu=yes3067 else3068 echo "$as_me: failed program was:" >&53069 sed 's/^/| /' conftest.$ac_ext >&53070 3071 ac_compiler_gnu=no3072 fi3073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3074 ac_cv_c_compiler_gnu=$ac_compiler_gnu3075 3076 fi3077 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&53078 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&63079 GCC=`test $ac_compiler_gnu = yes && echo yes`3080 ac_test_CFLAGS=${CFLAGS+set}3081 ac_save_CFLAGS=$CFLAGS3082 CFLAGS="-g"3083 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&53084 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&63085 if test "${ac_cv_prog_cc_g+set}" = set; then3086 echo $ECHO_N "(cached) $ECHO_C" >&63087 else3088 cat >conftest.$ac_ext <<_ACEOF3089 /* confdefs.h. */3090 _ACEOF3091 cat confdefs.h >>conftest.$ac_ext3092 cat >>conftest.$ac_ext <<_ACEOF3093 /* end confdefs.h. */3094 3095 int3096 main ()3097 {3098 3099 ;3100 return 0;3101 }3102 _ACEOF3103 rm -f conftest.$ac_objext3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53105 (eval $ac_compile) 2>conftest.er13106 ac_status=$?3107 grep -v '^ *+' conftest.er1 >conftest.err3108 rm -f conftest.er13109 cat conftest.err >&53110 echo "$as_me:$LINENO: \$? = $ac_status" >&53111 (exit $ac_status); } &&3112 { ac_try='test -z "$ac_c_werror_flag"3113 || test ! -s conftest.err'3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53115 (eval $ac_try) 2>&53116 ac_status=$?3117 echo "$as_me:$LINENO: \$? = $ac_status" >&53118 (exit $ac_status); }; } &&3119 { ac_try='test -s conftest.$ac_objext'3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53121 (eval $ac_try) 2>&53122 ac_status=$?3123 echo "$as_me:$LINENO: \$? = $ac_status" >&53124 (exit $ac_status); }; }; then3125 ac_cv_prog_cc_g=yes3126 else3127 echo "$as_me: failed program was:" >&53128 sed 's/^/| /' conftest.$ac_ext >&53129 3130 ac_cv_prog_cc_g=no3131 fi3132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3133 fi3134 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&53135 echo "${ECHO_T}$ac_cv_prog_cc_g" >&63136 if test "$ac_test_CFLAGS" = set; then3137 CFLAGS=$ac_save_CFLAGS3138 elif test $ac_cv_prog_cc_g = yes; then3139 if test "$GCC" = yes; then3140 CFLAGS="-g -O2"3141 else3142 CFLAGS="-g"3143 fi3144 else3145 if test "$GCC" = yes; then3146 CFLAGS="-O2"3147 else3148 CFLAGS=3149 fi3150 fi3151 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&53152 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&63153 if test "${ac_cv_prog_cc_stdc+set}" = set; then3154 echo $ECHO_N "(cached) $ECHO_C" >&63155 else3156 ac_cv_prog_cc_stdc=no3157 ac_save_CC=$CC3158 cat >conftest.$ac_ext <<_ACEOF3159 /* confdefs.h. */3160 _ACEOF3161 cat confdefs.h >>conftest.$ac_ext3162 cat >>conftest.$ac_ext <<_ACEOF3163 /* end confdefs.h. */3164 #include <stdarg.h>3165 #include <stdio.h>3166 #include <sys/types.h>3167 #include <sys/stat.h>3168 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */3169 struct buf { int x; };3170 FILE * (*rcsopen) (struct buf *, struct stat *, int);3171 static char *e (p, i)3172 char **p;3173 int i;3174 {3175 return p[i];3176 }3177 static char *f (char * (*g) (char **, int), char **p, ...)3178 {3179 char *s;3180 va_list v;3181 va_start (v,p);3182 s = g (p, va_arg (v,int));3183 va_end (v);3184 return s;3185 }3186 3187 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has3188 function prototypes and stuff, but not '\xHH' hex character constants.3189 These don't provoke an error unfortunately, instead are silently treated3190 as 'x'. The following induces an error, until -std1 is added to get3191 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an3192 array size at least. It's necessary to write '\x00'==0 to get something3193 that's true only with -std1. */3194 int osf4_cc_array ['\x00' == 0 ? 1 : -1];3195 3196 int test (int i, double x);3197 struct s1 {int (*f) (int a);};3198 struct s2 {int (*f) (double a);};3199 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);3200 int argc;3201 char **argv;3202 int3203 main ()3204 {3205 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];3206 ;3207 return 0;3208 }3209 _ACEOF3210 # Don't try gcc -ansi; that turns off useful extensions and3211 # breaks some systems' header files.3212 # AIX -qlanglvl=ansi3213 # Ultrix and OSF/1 -std13214 # HP-UX 10.20 and later -Ae3215 # HP-UX older versions -Aa -D_HPUX_SOURCE3216 # SVR4 -Xc -D__EXTENSIONS__3217 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"3218 do3219 CC="$ac_save_CC $ac_arg"3220 rm -f conftest.$ac_objext3221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53222 (eval $ac_compile) 2>conftest.er13223 ac_status=$?3224 grep -v '^ *+' conftest.er1 >conftest.err3225 rm -f conftest.er13226 cat conftest.err >&53227 echo "$as_me:$LINENO: \$? = $ac_status" >&53228 (exit $ac_status); } &&3229 { ac_try='test -z "$ac_c_werror_flag"3230 || test ! -s conftest.err'3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53232 (eval $ac_try) 2>&53233 ac_status=$?3234 echo "$as_me:$LINENO: \$? = $ac_status" >&53235 (exit $ac_status); }; } &&3236 { ac_try='test -s conftest.$ac_objext'3237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53238 (eval $ac_try) 2>&53239 ac_status=$?3240 echo "$as_me:$LINENO: \$? = $ac_status" >&53241 (exit $ac_status); }; }; then3242 ac_cv_prog_cc_stdc=$ac_arg3243 break3244 else3245 echo "$as_me: failed program was:" >&53246 sed 's/^/| /' conftest.$ac_ext >&53247 3248 fi3249 rm -f conftest.err conftest.$ac_objext3250 done3251 rm -f conftest.$ac_ext conftest.$ac_objext3252 CC=$ac_save_CC3253 3254 fi3255 3256 case "x$ac_cv_prog_cc_stdc" in3257 x|xno)3258 echo "$as_me:$LINENO: result: none needed" >&53259 echo "${ECHO_T}none needed" >&6 ;;3260 *)3261 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&53262 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&63263 CC="$CC $ac_cv_prog_cc_stdc" ;;3264 esac3265 3266 # Some people use a C++ compiler to compile C. Since we use `exit',3267 # in C++ we need to declare it. In case someone uses the same compiler3268 # for both compiling C and C++ we need to have the C++ compiler decide3269 # the declaration of exit, since it's the most demanding environment.3270 cat >conftest.$ac_ext <<_ACEOF3271 #ifndef __cplusplus3272 choke me3273 #endif3274 _ACEOF3275 rm -f conftest.$ac_objext3276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53277 (eval $ac_compile) 2>conftest.er13278 ac_status=$?3279 grep -v '^ *+' conftest.er1 >conftest.err3280 rm -f conftest.er13281 cat conftest.err >&53282 echo "$as_me:$LINENO: \$? = $ac_status" >&53283 (exit $ac_status); } &&3284 { ac_try='test -z "$ac_c_werror_flag"3285 || test ! -s conftest.err'3286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53287 (eval $ac_try) 2>&53288 ac_status=$?3289 echo "$as_me:$LINENO: \$? = $ac_status" >&53290 (exit $ac_status); }; } &&3291 { ac_try='test -s conftest.$ac_objext'3292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53293 (eval $ac_try) 2>&53294 ac_status=$?3295 echo "$as_me:$LINENO: \$? = $ac_status" >&53296 (exit $ac_status); }; }; then3297 for ac_declaration in \3298 '' \3299 'extern "C" void std::exit (int) throw (); using std::exit;' \3300 'extern "C" void std::exit (int); using std::exit;' \3301 'extern "C" void exit (int) throw ();' \3302 'extern "C" void exit (int);' \3303 'void exit (int);'3304 do3305 cat >conftest.$ac_ext <<_ACEOF3306 /* confdefs.h. */3307 _ACEOF3308 cat confdefs.h >>conftest.$ac_ext3309 cat >>conftest.$ac_ext <<_ACEOF3310 /* end confdefs.h. */3311 $ac_declaration3312 #include <stdlib.h>3313 int3314 main ()3315 {3316 exit (42);3317 ;3318 return 0;3319 }3320 _ACEOF3321 rm -f conftest.$ac_objext3322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53323 (eval $ac_compile) 2>conftest.er13324 ac_status=$?3325 grep -v '^ *+' conftest.er1 >conftest.err3326 rm -f conftest.er13327 cat conftest.err >&53328 echo "$as_me:$LINENO: \$? = $ac_status" >&53329 (exit $ac_status); } &&3330 { ac_try='test -z "$ac_c_werror_flag"3331 || test ! -s conftest.err'3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53333 (eval $ac_try) 2>&53334 ac_status=$?3335 echo "$as_me:$LINENO: \$? = $ac_status" >&53336 (exit $ac_status); }; } &&3337 { ac_try='test -s conftest.$ac_objext'3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53339 (eval $ac_try) 2>&53340 ac_status=$?3341 echo "$as_me:$LINENO: \$? = $ac_status" >&53342 (exit $ac_status); }; }; then3343 :3344 else3345 echo "$as_me: failed program was:" >&53346 sed 's/^/| /' conftest.$ac_ext >&53347 3348 continue3349 fi3350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3351 cat >conftest.$ac_ext <<_ACEOF3352 /* confdefs.h. */3353 _ACEOF3354 cat confdefs.h >>conftest.$ac_ext3355 cat >>conftest.$ac_ext <<_ACEOF3356 /* end confdefs.h. */3357 $ac_declaration3358 int3359 main ()3360 {3361 exit (42);3362 ;3363 return 0;3364 }3365 _ACEOF3366 rm -f conftest.$ac_objext3367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53368 (eval $ac_compile) 2>conftest.er13369 ac_status=$?3370 grep -v '^ *+' conftest.er1 >conftest.err3371 rm -f conftest.er13372 cat conftest.err >&53373 echo "$as_me:$LINENO: \$? = $ac_status" >&53374 (exit $ac_status); } &&3375 { ac_try='test -z "$ac_c_werror_flag"3376 || test ! -s conftest.err'3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53378 (eval $ac_try) 2>&53379 ac_status=$?3380 echo "$as_me:$LINENO: \$? = $ac_status" >&53381 (exit $ac_status); }; } &&3382 { ac_try='test -s conftest.$ac_objext'3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53384 (eval $ac_try) 2>&53385 ac_status=$?3386 echo "$as_me:$LINENO: \$? = $ac_status" >&53387 (exit $ac_status); }; }; then3388 break3389 else3390 echo "$as_me: failed program was:" >&53391 sed 's/^/| /' conftest.$ac_ext >&53392 3393 fi3394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3395 done3396 rm -f conftest*3397 if test -n "$ac_declaration"; then3398 echo '#ifdef __cplusplus' >>confdefs.h3399 echo $ac_declaration >>confdefs.h3400 echo '#endif' >>confdefs.h3401 fi3402 3403 else3404 echo "$as_me: failed program was:" >&53405 sed 's/^/| /' conftest.$ac_ext >&53406 3407 fi3408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3409 ac_ext=c3410 ac_cpp='$CPP $CPPFLAGS'3411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3413 ac_compiler_gnu=$ac_cv_c_compiler_gnu3414 3415 depcc="$CC" am_compiler_list=3416 3417 echo "$as_me:$LINENO: checking dependency style of $depcc" >&53418 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&63419 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then3420 echo $ECHO_N "(cached) $ECHO_C" >&63421 else3422 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then3423 # We make a subdir and do the tests there. Otherwise we can end up3424 # making bogus files that we don't know about and never remove. For3425 # instance it was reported that on HP-UX the gcc test will end up3426 # making a dummy file named `D' -- because `-MD' means `put the output3427 # in D'.3428 mkdir conftest.dir3429 # Copy depcomp to subdir because otherwise we won't find it if we're3430 # using a relative directory.3431 cp "$am_depcomp" conftest.dir3432 cd conftest.dir3433 # We will build objects and dependencies in a subdirectory because3434 # it helps to detect inapplicable dependency modes. For instance3435 # both Tru64's cc and ICC support -MD to output dependencies as a3436 # side effect of compilation, but ICC will put the dependencies in3437 # the current directory while Tru64 will put them in the object3438 # directory.3439 mkdir sub3440 3441 am_cv_CC_dependencies_compiler_type=none3442 if test "$am_compiler_list" = ""; then3443 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`3444 fi3445 for depmode in $am_compiler_list; do3446 # Setup a source with many dependencies, because some compilers3447 # like to wrap large dependency lists on column 80 (with \), and3448 # we should not choose a depcomp mode which is confused by this.3449 #3450 # We need to recreate these files for each test, as the compiler may3451 # overwrite some of them when testing with obscure command lines.3452 # This happens at least with the AIX C compiler.3453 : > sub/conftest.c3454 for i in 1 2 3 4 5 6; do3455 echo '#include "conftst'$i'.h"' >> sub/conftest.c3456 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with3457 # Solaris 8's {/usr,}/bin/sh.3458 touch sub/conftst$i.h3459 done3460 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf3461 3462 case $depmode in3463 nosideeffect)3464 # after this tag, mechanisms are not by side-effect, so they'll3465 # only be used when explicitly requested3466 if test "x$enable_dependency_tracking" = xyes; then3467 continue3468 else3469 break3470 fi3471 ;;3472 none) break ;;3473 esac3474 # We check with `-c' and `-o' for the sake of the "dashmstdout"3475 # mode. It turns out that the SunPro C++ compiler does not properly3476 # handle `-M -o', and we need to detect this.3477 if depmode=$depmode \3478 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \3479 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \3480 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \3481 >/dev/null 2>conftest.err &&3482 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&3483 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&3484 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then3485 # icc doesn't choke on unknown options, it will just issue warnings3486 # or remarks (even with -Werror). So we grep stderr for any message3487 # that says an option was ignored or not supported.3488 # When given -MP, icc 7.0 and 7.1 complain thusly:3489 # icc: Command line warning: ignoring option '-M'; no argument required3490 # The diagnosis changed in icc 8.0:3491 # icc: Command line remark: option '-MP' not supported3492 if (grep 'ignoring option' conftest.err ||3493 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else3494 am_cv_CC_dependencies_compiler_type=$depmode3495 break3496 fi3497 fi3498 done3499 3500 cd ..3501 rm -rf conftest.dir3502 else3503 am_cv_CC_dependencies_compiler_type=none3504 fi3505 3506 fi3507 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&53508 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&63509 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type3510 3511 3512 3513 if3514 test "x$enable_dependency_tracking" != xno \3515 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then3516 am__fastdepCC_TRUE=3517 am__fastdepCC_FALSE='#'3518 else3519 am__fastdepCC_TRUE='#'3520 am__fastdepCC_FALSE=3521 fi3522 3523 3524 3525 ac_ext=c3526 ac_cpp='$CPP $CPPFLAGS'3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu3530 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53531 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&63532 # On Suns, sometimes $CPP names a directory.3533 if test -n "$CPP" && test -d "$CPP"; then3534 CPP=3535 fi3536 if test -z "$CPP"; then3537 if test "${ac_cv_prog_CPP+set}" = set; then3538 echo $ECHO_N "(cached) $ECHO_C" >&63539 else3540 # Double quotes because CPP needs to be expanded3541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"3542 do3543 ac_preproc_ok=false3544 for ac_c_preproc_warn_flag in '' yes3545 do3546 # Use a header file that comes with gcc, so configuring glibc3547 # with a fresh cross-compiler works.3548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3549 # <limits.h> exists even on freestanding compilers.3550 # On the NeXT, cc -E runs the code through the compiler's parser,3551 # not just through cpp. "Syntax error" is here to catch this case.3552 cat >conftest.$ac_ext <<_ACEOF3553 /* confdefs.h. */3554 _ACEOF3555 cat confdefs.h >>conftest.$ac_ext3556 cat >>conftest.$ac_ext <<_ACEOF3557 /* end confdefs.h. */3558 #ifdef __STDC__3559 # include <limits.h>3560 #else3561 # include <assert.h>3562 #endif3563 Syntax error3564 _ACEOF3565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&53566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er13567 ac_status=$?3568 grep -v '^ *+' conftest.er1 >conftest.err3569 rm -f conftest.er13570 cat conftest.err >&53571 echo "$as_me:$LINENO: \$? = $ac_status" >&53572 (exit $ac_status); } >/dev/null; then3573 if test -s conftest.err; then3574 ac_cpp_err=$ac_c_preproc_warn_flag3575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3576 else3577 ac_cpp_err=3578 fi3579 else3580 ac_cpp_err=yes3581 fi3582 if test -z "$ac_cpp_err"; then3583 :3584 else3585 echo "$as_me: failed program was:" >&53586 sed 's/^/| /' conftest.$ac_ext >&53587 3588 # Broken: fails on valid input.3589 continue3590 fi3591 rm -f conftest.err conftest.$ac_ext3592 3593 # OK, works on sane cases. Now check whether non-existent headers3594 # can be detected and how.3595 cat >conftest.$ac_ext <<_ACEOF3596 /* confdefs.h. */3597 _ACEOF3598 cat confdefs.h >>conftest.$ac_ext3599 cat >>conftest.$ac_ext <<_ACEOF3600 /* end confdefs.h. */3601 #include <ac_nonexistent.h>3602 _ACEOF3603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&53604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er13605 ac_status=$?3606 grep -v '^ *+' conftest.er1 >conftest.err3607 rm -f conftest.er13608 cat conftest.err >&53609 echo "$as_me:$LINENO: \$? = $ac_status" >&53610 (exit $ac_status); } >/dev/null; then3611 if test -s conftest.err; then3612 ac_cpp_err=$ac_c_preproc_warn_flag3613 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3614 else3615 ac_cpp_err=3616 fi3617 else3618 ac_cpp_err=yes3619 fi3620 if test -z "$ac_cpp_err"; then3621 # Broken: success on invalid input.3622 continue3623 else3624 echo "$as_me: failed program was:" >&53625 sed 's/^/| /' conftest.$ac_ext >&53626 3627 # Passes both tests.3628 ac_preproc_ok=:3629 break3630 fi3631 rm -f conftest.err conftest.$ac_ext3632 3633 done3634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3635 rm -f conftest.err conftest.$ac_ext3636 if $ac_preproc_ok; then3637 break3638 fi3639 3640 done3641 ac_cv_prog_CPP=$CPP3642 3643 fi3644 CPP=$ac_cv_prog_CPP3645 else3646 ac_cv_prog_CPP=$CPP3647 fi3648 echo "$as_me:$LINENO: result: $CPP" >&53649 echo "${ECHO_T}$CPP" >&63650 ac_preproc_ok=false3651 for ac_c_preproc_warn_flag in '' yes3652 do3653 # Use a header file that comes with gcc, so configuring glibc3654 # with a fresh cross-compiler works.3655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since3656 # <limits.h> exists even on freestanding compilers.3657 # On the NeXT, cc -E runs the code through the compiler's parser,3658 # not just through cpp. "Syntax error" is here to catch this case.3659 cat >conftest.$ac_ext <<_ACEOF3660 /* confdefs.h. */3661 _ACEOF3662 cat confdefs.h >>conftest.$ac_ext3663 cat >>conftest.$ac_ext <<_ACEOF3664 /* end confdefs.h. */3665 #ifdef __STDC__3666 # include <limits.h>3667 #else3668 # include <assert.h>3669 #endif3670 Syntax error3671 _ACEOF3672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&53673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er13674 ac_status=$?3675 grep -v '^ *+' conftest.er1 >conftest.err3676 rm -f conftest.er13677 cat conftest.err >&53678 echo "$as_me:$LINENO: \$? = $ac_status" >&53679 (exit $ac_status); } >/dev/null; then3680 if test -s conftest.err; then3681 ac_cpp_err=$ac_c_preproc_warn_flag3682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3683 else3684 ac_cpp_err=3685 fi3686 else3687 ac_cpp_err=yes3688 fi3689 if test -z "$ac_cpp_err"; then3690 :3691 else3692 echo "$as_me: failed program was:" >&53693 sed 's/^/| /' conftest.$ac_ext >&53694 3695 # Broken: fails on valid input.3696 continue3697 fi3698 rm -f conftest.err conftest.$ac_ext3699 3700 # OK, works on sane cases. Now check whether non-existent headers3701 # can be detected and how.3702 cat >conftest.$ac_ext <<_ACEOF3703 /* confdefs.h. */3704 _ACEOF3705 cat confdefs.h >>conftest.$ac_ext3706 cat >>conftest.$ac_ext <<_ACEOF3707 /* end confdefs.h. */3708 #include <ac_nonexistent.h>3709 _ACEOF3710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&53711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er13712 ac_status=$?3713 grep -v '^ *+' conftest.er1 >conftest.err3714 rm -f conftest.er13715 cat conftest.err >&53716 echo "$as_me:$LINENO: \$? = $ac_status" >&53717 (exit $ac_status); } >/dev/null; then3718 if test -s conftest.err; then3719 ac_cpp_err=$ac_c_preproc_warn_flag3720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3721 else3722 ac_cpp_err=3723 fi3724 else3725 ac_cpp_err=yes3726 fi3727 if test -z "$ac_cpp_err"; then3728 # Broken: success on invalid input.3729 continue3730 else3731 echo "$as_me: failed program was:" >&53732 sed 's/^/| /' conftest.$ac_ext >&53733 3734 # Passes both tests.3735 ac_preproc_ok=:3736 break3737 fi3738 rm -f conftest.err conftest.$ac_ext3739 3740 done3741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.3742 rm -f conftest.err conftest.$ac_ext3743 if $ac_preproc_ok; then3744 :3745 else3746 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check3747 See \`config.log' for more details." >&53748 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check3749 See \`config.log' for more details." >&2;}3750 { (exit 1); exit 1; }; }3751 fi3752 3753 ac_ext=c3754 ac_cpp='$CPP $CPPFLAGS'3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu3758 3759 3760 echo "$as_me:$LINENO: checking for egrep" >&53761 echo $ECHO_N "checking for egrep... $ECHO_C" >&63762 if test "${ac_cv_prog_egrep+set}" = set; then3763 echo $ECHO_N "(cached) $ECHO_C" >&63764 else3765 if echo a | (grep -E '(a|b)') >/dev/null 2>&13766 then ac_cv_prog_egrep='grep -E'3767 else ac_cv_prog_egrep='egrep'3768 fi3769 fi3770 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&53771 echo "${ECHO_T}$ac_cv_prog_egrep" >&63772 EGREP=$ac_cv_prog_egrep3773 3774 3775 echo "$as_me:$LINENO: checking for ANSI C header files" >&53776 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&63777 if test "${ac_cv_header_stdc+set}" = set; then3778 echo $ECHO_N "(cached) $ECHO_C" >&63779 else3780 cat >conftest.$ac_ext <<_ACEOF3781 /* confdefs.h. */3782 _ACEOF3783 cat confdefs.h >>conftest.$ac_ext3784 cat >>conftest.$ac_ext <<_ACEOF3785 /* end confdefs.h. */3786 #include <stdlib.h>3787 #include <stdarg.h>3788 #include <string.h>3789 #include <float.h>3790 3791 int3792 main ()3793 {3794 3795 ;3796 return 0;3797 }3798 _ACEOF3799 rm -f conftest.$ac_objext3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53801 (eval $ac_compile) 2>conftest.er13802 ac_status=$?3803 grep -v '^ *+' conftest.er1 >conftest.err3804 rm -f conftest.er13805 cat conftest.err >&53806 echo "$as_me:$LINENO: \$? = $ac_status" >&53807 (exit $ac_status); } &&3808 { ac_try='test -z "$ac_c_werror_flag"3809 || test ! -s conftest.err'3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53811 (eval $ac_try) 2>&53812 ac_status=$?3813 echo "$as_me:$LINENO: \$? = $ac_status" >&53814 (exit $ac_status); }; } &&3815 { ac_try='test -s conftest.$ac_objext'3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53817 (eval $ac_try) 2>&53818 ac_status=$?3819 echo "$as_me:$LINENO: \$? = $ac_status" >&53820 (exit $ac_status); }; }; then3821 ac_cv_header_stdc=yes3822 else3823 echo "$as_me: failed program was:" >&53824 sed 's/^/| /' conftest.$ac_ext >&53825 3826 ac_cv_header_stdc=no3827 fi3828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3829 3830 if test $ac_cv_header_stdc = yes; then3831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.3832 cat >conftest.$ac_ext <<_ACEOF3833 /* confdefs.h. */3834 _ACEOF3835 cat confdefs.h >>conftest.$ac_ext3836 cat >>conftest.$ac_ext <<_ACEOF3837 /* end confdefs.h. */3838 #include <string.h>3839 3840 _ACEOF3841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |3842 $EGREP "memchr" >/dev/null 2>&1; then3843 :3844 else3845 ac_cv_header_stdc=no3846 fi3847 rm -f conftest*3848 3849 fi3850 3851 if test $ac_cv_header_stdc = yes; then3852 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.3853 cat >conftest.$ac_ext <<_ACEOF3854 /* confdefs.h. */3855 _ACEOF3856 cat confdefs.h >>conftest.$ac_ext3857 cat >>conftest.$ac_ext <<_ACEOF3858 /* end confdefs.h. */3859 #include <stdlib.h>3860 3861 _ACEOF3862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |3863 $EGREP "free" >/dev/null 2>&1; then3864 :3865 else3866 ac_cv_header_stdc=no3867 fi3868 rm -f conftest*3869 3870 fi3871 3872 if test $ac_cv_header_stdc = yes; then3873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.3874 if test "$cross_compiling" = yes; then3875 :3876 else3877 cat >conftest.$ac_ext <<_ACEOF3878 /* confdefs.h. */3879 _ACEOF3880 cat confdefs.h >>conftest.$ac_ext3881 cat >>conftest.$ac_ext <<_ACEOF3882 /* end confdefs.h. */3883 #include <ctype.h>3884 #if ((' ' & 0x0FF) == 0x020)3885 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')3886 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))3887 #else3888 # define ISLOWER(c) \3889 (('a' <= (c) && (c) <= 'i') \3890 || ('j' <= (c) && (c) <= 'r') \3891 || ('s' <= (c) && (c) <= 'z'))3892 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))3893 #endif3894 3895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))3896 int3897 main ()3898 {3899 int i;3900 for (i = 0; i < 256; i++)3901 if (XOR (islower (i), ISLOWER (i))3902 || toupper (i) != TOUPPER (i))3903 exit(2);3904 exit (0);3905 }3906 _ACEOF3907 rm -f conftest$ac_exeext3908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53909 (eval $ac_link) 2>&53910 ac_status=$?3911 echo "$as_me:$LINENO: \$? = $ac_status" >&53912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53914 (eval $ac_try) 2>&53915 ac_status=$?3916 echo "$as_me:$LINENO: \$? = $ac_status" >&53917 (exit $ac_status); }; }; then3918 :3919 else3920 echo "$as_me: program exited with status $ac_status" >&53921 echo "$as_me: failed program was:" >&53922 sed 's/^/| /' conftest.$ac_ext >&53923 3924 ( exit $ac_status )3925 ac_cv_header_stdc=no3926 fi3927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3928 fi3929 fi3930 fi3931 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&53932 echo "${ECHO_T}$ac_cv_header_stdc" >&63933 if test $ac_cv_header_stdc = yes; then3934 3935 cat >>confdefs.h <<\_ACEOF3936 #define STDC_HEADERS 13937 _ACEOF3938 3939 fi3940 3941 3942 ## THIS IS OUR DEFAULT-DATA-DIRECTORY3943 3944 ##################################3945 ## CHECKING OPTIONAL ARGUMENTS ##3946 ##################################3947 #----------------#3948 # Data-Directory #3949 #----------------#3950 DATA_DIR=$datadir3951 echo \$\{prefix\}3952 if test $DATA_DIR = \$\{prefix\}/share ; then3953 echo "not given"3954 DATA_DIR=/usr/share3955 else3956 echo "given: $DATA_DIR"3957 fi3958 3959 cat >>confdefs.h <<_ACEOF3960 #define DATADIR "$DATA_DIR"3961 _ACEOF3962 3963 3964 #-----------------#3965 # shared-lib-path #3966 #-----------------#3967 SHARED_LIB_PATH=no3968 echo "$as_me:$LINENO: checking shared lib path" >&53969 echo $ECHO_N "checking shared lib path... $ECHO_C" >&63970 3971 # Check whether --with-shared-lib-path or --without-shared-lib-path was given.3972 if test "${with_shared_lib_path+set}" = set; then3973 withval="$with_shared_lib_path"3974 SHARED_LIB_PATH=$withval3975 fi;3976 if test x$SHARED_LIB_PATH != xno; then3977 echo "set to $SHARED_LIB_PATH"3978 else3979 echo "no"3980 fi3981 3982 3983 #-----------------#3984 # DEBUG-statement #3985 #-----------------#3986 DEBUG=no3987 echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&53988 echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&63989 # Check whether --enable-debug or --disable-debug was given.3990 if test "${enable_debug+set}" = set; then3991 enableval="$enable_debug"3992 DEBUG=$enableval3993 fi;3994 3995 if test x$DEBUG = xno; then3996 echo "no"3997 echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."3998 DEBUG=43999 elif test x$DEBUG = xyes; then4000 echo "yes"4001 echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."4002 DEBUG=44003 else4004 echo "yes: setting debuglevel to to $DEBUG"4005 fi4006 4007 cat >>confdefs.h <<_ACEOF4008 #define DEBUG $DEBUG4009 _ACEOF4010 4011 4012 4013 #---------------#4014 # Modular Debug #4015 #---------------#4016 MODULAR_DEBUG=yes4017 echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&54018 echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&64019 # Check whether --enable-modular-debug or --disable-modular-debug was given.4020 if test "${enable_modular_debug+set}" = set; then4021 enableval="$enable_modular_debug"4022 MODULAR_DEBUG=$enableval4023 fi;4024 4025 if test x$MODULAR_DEBUG = xno; then4026 echo "no"4027 elif test x$MODULAR_DEBUG = xyes; then4028 echo "yes"4029 4030 cat >>confdefs.h <<_ACEOF4031 #define MODULAR_DEBUG 14032 _ACEOF4033 4034 fi4035 4036 #--------------#4037 # GTK-disabled #4038 #--------------#4039 echo "$as_me:$LINENO: checking if gtk should be enabled" >&54040 echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&64041 # Check whether --enable-gtk or --disable-gtk was given.4042 if test "${enable_gtk+set}" = set; then4043 enableval="$enable_gtk"4044 def_gtk=no4045 else4046 def_gtk=yes4047 fi;4048 if test x$def_gtk = xyes; then4049 echo "yes"4050 fi4051 if test x$def_gtk = xno; then4052 echo "no"4053 fi4054 4055 #------------------#4056 # libCurl-disabled #4057 #------------------#4058 echo "$as_me:$LINENO: checking if libcURL should be enabled" >&54059 echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&64060 # Check whether --enable-curl or --disable-curl was given.4061 if test "${enable_curl+set}" = set; then4062 enableval="$enable_curl"4063 def_curl=no4064 else4065 def_curl=yes4066 fi;4067 if test x$def_curl = xyes; then4068 echo "yes"4069 fi4070 if test x$def_curl = xno; then4071 echo "no"4072 fi4073 4074 #-------------------#4075 # SubProject-enable #4076 #-------------------#4077 def_sub_projects=no4078 echo "$as_me:$LINENO: checking if the SubProjects should be built" >&54079 echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&64080 4081 # Check whether --with-sub-projects or --without-sub-projects was given.4082 if test "${with_sub_projects+set}" = set; then4083 withval="$with_sub_projects"4084 def_sub_projects=yes4085 fi;4086 if test x$def_sub_projects = xyes; then4087 echo "yes"4088 fi4089 if test x$def_sub_projects = xno; then4090 echo "no"4091 fi4092 4093 4094 if test x$def_sub_projects = xyes; then4095 SUB_PROJECTS_TRUE=4096 SUB_PROJECTS_FALSE='#'4097 else4098 SUB_PROJECTS_TRUE='#'4099 SUB_PROJECTS_FALSE=4100 fi4101 4102 4103 #-------------------#4104 # Profiling Enabled #4105 #-------------------#4106 def_profiling=no4107 echo "$as_me:$LINENO: checking if Profiling should be enabled" >&54108 echo $ECHO_N "checking if Profiling should be enabled... $ECHO_C" >&64109 # Check whether --enable-profile or --disable-profile was given.4110 if test "${enable_profile+set}" = set; then4111 enableval="$enable_profile"4112 def_profiling=yes4113 fi;4114 if test x$def_profiling = xyes; then4115 echo "yes"4116 CXXFLAGS="$CXXFLAGS -pg"4117 fi4118 if test x$def_profiling = xno; then4119 echo "no"4120 fi4121 4122 #----------------#4123 # efence Enabled #4124 #----------------#4125 def_efence=no4126 echo "$as_me:$LINENO: checking if efence should be enabled" >&54127 echo $ECHO_N "checking if efence should be enabled... $ECHO_C" >&64128 # Check whether --enable-efence or --disable-efence was given.4129 if test "${enable_efence+set}" = set; then4130 enableval="$enable_efence"4131 def_efence=yes4132 fi;4133 if test x$def_efence = xyes; then4134 echo "yes"4135 fi4136 if test x$def_efence = xno; then4137 echo "no"4138 fi4139 4140 #----------------------#4141 # Documentation-enable #4142 #----------------------#4143 def_documentation=no4144 echo "$as_me:$LINENO: checking if the Documentation should be build by default" >&54145 echo $ECHO_N "checking if the Documentation should be build by default... $ECHO_C" >&64146 # Check whether --enable-documentation or --disable-documentation was given.4147 if test "${enable_documentation+set}" = set; then4148 enableval="$enable_documentation"4149 def_documentation=yes4150 fi;4151 if test x$def_documentation = xyes; then4152 echo "yes"4153 fi4154 if test x$def_documentation = xno; then4155 echo "no"4156 fi4157 4158 4159 if test x$def_documentation = xyes; then4160 DOCUMENTATION_TRUE=4161 DOCUMENTATION_FALSE='#'4162 else4163 DOCUMENTATION_TRUE='#'4164 DOCUMENTATION_FALSE=4165 fi4166 4167 4168 4169 4170 #---------------------------#4171 # WITH TARDIS (convenience) #4172 #---------------------------#4173 def_tardis=no4174 GTKPATH=""4175 echo "$as_me:$LINENO: checking convenience flag for working at the taris in the ETH zurich" >&54176 echo $ECHO_N "checking convenience flag for working at the taris in the ETH zurich... $ECHO_C" >&64177 4178 # Check whether --with-tardis or --without-tardis was given.4179 if test "${with_tardis+set}" = set; then4180 withval="$with_tardis"4181 def_tardis=yes4182 fi;4183 if test x$def_tardis = xyes; then4184 ARCH=i686-debian-linux3.14185 ## GAMELIBS4186 PREFIX=/usr/pack/gamelibs-1.0-to4187 CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include"4188 LDFLAGS="${LDFLAGS} -L$PREFIX/${ARCH}/lib -Wl,-rpath -Wl,${PREFIX}/${ARCH}/lib"4189 ## GTK4190 GTKPREFIX=/usr/pack/gtk-2.8.3-mo4191 GTKPATH=${GTKPREFIX}/${ARCH}/bin4192 CPPFLAGS="${CPPFLAGS} -I${GTKPREFIX}/include"4193 LDFLAGS="${LDFLAGS} -L${GTKPREFIX}/${ARCH}/lib -Wl,-rpath -Wl,${GTKPREFIX}/${ARCH}/lib"4194 echo "yes"4195 fi4196 if test x$def_tardis = xno; then4197 echo "no"4198 fi4199 4200 #######################4201 ## PROGRAMM CHECKING ##4202 ## 3. party Programs ##4203 #######################4204 4205 #----------------------#4206 # checking for Doxygen #4207 #----------------------#4208 # Extract the first word of "doxygen", so it can be a program name with args.4209 set dummy doxygen; ac_word=$24210 echo "$as_me:$LINENO: checking for $ac_word" >&54211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64212 if test "${ac_cv_path_DOXYGEN+set}" = set; then4213 echo $ECHO_N "(cached) $ECHO_C" >&64214 else4215 case $DOXYGEN in4216 [\\/]* | ?:[\\/]*)4217 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.4218 ;;4219 *)4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4221 for as_dir in $PATH4222 do4223 IFS=$as_save_IFS4224 test -z "$as_dir" && as_dir=.4225 for ac_exec_ext in '' $ac_executable_extensions; do4226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4227 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"4228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54229 break 24230 fi4231 done4232 done4233 4234 ;;4235 esac4236 fi4237 DOXYGEN=$ac_cv_path_DOXYGEN4238 4239 if test -n "$DOXYGEN"; then4240 echo "$as_me:$LINENO: result: $DOXYGEN" >&54241 echo "${ECHO_T}$DOXYGEN" >&64242 else4243 echo "$as_me:$LINENO: result: no" >&54244 echo "${ECHO_T}no" >&64245 fi4246 4247 4248 4249 if test $DOXYGEN; then4250 DOXYGEN_TRUE=4251 DOXYGEN_FALSE='#'4252 else4253 DOXYGEN_TRUE='#'4254 DOXYGEN_FALSE=4255 fi4256 4257 4258 #--------------------#4259 # checking for gprof #4260 #--------------------#4261 # Extract the first word of "gprof", so it can be a program name with args.4262 set dummy gprof; ac_word=$24263 echo "$as_me:$LINENO: checking for $ac_word" >&54264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64265 if test "${ac_cv_path_GPROF+set}" = set; then4266 echo $ECHO_N "(cached) $ECHO_C" >&64267 else4268 case $GPROF in4269 [\\/]* | ?:[\\/]*)4270 ac_cv_path_GPROF="$GPROF" # Let the user override the test with a path.4271 ;;4272 *)4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4274 for as_dir in $PATH4275 do4276 IFS=$as_save_IFS4277 test -z "$as_dir" && as_dir=.4278 for ac_exec_ext in '' $ac_executable_extensions; do4279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4280 ac_cv_path_GPROF="$as_dir/$ac_word$ac_exec_ext"4281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54282 break 24283 fi4284 done4285 done4286 4287 ;;4288 esac4289 fi4290 GPROF=$ac_cv_path_GPROF4291 4292 if test -n "$GPROF"; then4293 echo "$as_me:$LINENO: result: $GPROF" >&54294 echo "${ECHO_T}$GPROF" >&64295 else4296 echo "$as_me:$LINENO: result: no" >&54297 echo "${ECHO_T}no" >&64298 fi4299 4300 4301 #-------------------------#4302 # checking for pkg-config #4303 #-------------------------#4304 if test x$def_gtk = xyes; then4305 if test x${GTKPATH} != x; then4306 # Extract the first word of "pkg-config", so it can be a program name with args.4307 set dummy pkg-config; ac_word=$24308 echo "$as_me:$LINENO: checking for $ac_word" >&54309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then4311 echo $ECHO_N "(cached) $ECHO_C" >&64312 else4313 case $PKG_CONFIG in4314 [\\/]* | ?:[\\/]*)4315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.4316 ;;4317 *)4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4319 for as_dir in $GTKPATH4320 do4321 IFS=$as_save_IFS4322 test -z "$as_dir" && as_dir=.4323 for ac_exec_ext in '' $ac_executable_extensions; do4324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"4326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54327 break 24328 fi4329 done4330 done4331 4332 ;;4333 esac4334 fi4335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG4336 4337 if test -n "$PKG_CONFIG"; then4338 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&54339 echo "${ECHO_T}$PKG_CONFIG" >&64340 else4341 echo "$as_me:$LINENO: result: no" >&54342 echo "${ECHO_T}no" >&64343 fi4344 4345 else4346 # Extract the first word of "pkg-config ", so it can be a program name with args.4347 set dummy pkg-config ; ac_word=$24348 echo "$as_me:$LINENO: checking for $ac_word" >&54349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64350 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then4351 echo $ECHO_N "(cached) $ECHO_C" >&64352 else4353 case $PKG_CONFIG in4354 [\\/]* | ?:[\\/]*)4355 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.4356 ;;4357 *)4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4359 for as_dir in $PATH4360 do4361 IFS=$as_save_IFS4362 test -z "$as_dir" && as_dir=.4363 for ac_exec_ext in '' $ac_executable_extensions; do4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4365 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54367 break 24368 fi4369 done4370 done4371 4372 ;;4373 esac4374 fi4375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG4376 4377 if test -n "$PKG_CONFIG"; then4378 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&54379 echo "${ECHO_T}$PKG_CONFIG" >&64380 else4381 echo "$as_me:$LINENO: result: no" >&54382 echo "${ECHO_T}no" >&64383 fi4384 4385 fi4386 fi4387 4388 4389 #########################4390 ## CHECKING FOR SYSTEM ##4391 #########################4392 ## here the system is checked, and openGL is included4393 ## also checking for SDL on differen Systems4394 4395 echo "$as_me:$LINENO: checking for System" >&54396 echo $ECHO_N "checking for System... $ECHO_C" >&64397 ## checking for openGL-environment and other sys-specific parameters4398 case "$target" in4399 4400 ###########4401 #---------#4402 # WINDOWS #4403 #---------#4404 ###########4405 *-*-mingw32*)4406 echo "mingw-WINDOWS detected"4407 4408 CPPFLAGS="-I/usr/include -I/mingw/include $CPPFLAGS"4409 4410 mingw="yes"4411 MSBITFIELDS="-mms-bitfields"4412 MWINDOWS="-mwindows"4413 4414 #--------#4415 # MIN-GW #4416 #--------#4417 # checking for mingw324418 echo "$as_me:$LINENO: checking for main in -lmingw32" >&54419 echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&64420 if test "${ac_cv_lib_mingw32_main+set}" = set; then4421 echo $ECHO_N "(cached) $ECHO_C" >&64422 else4423 ac_check_lib_save_LIBS=$LIBS4424 LIBS="-lmingw32 $LIBS"4425 cat >conftest.$ac_ext <<_ACEOF4426 /* confdefs.h. */4427 _ACEOF4428 cat confdefs.h >>conftest.$ac_ext4429 cat >>conftest.$ac_ext <<_ACEOF4430 /* end confdefs.h. */4431 4432 4433 int4434 main ()4435 {4436 main ();4437 ;4438 return 0;4439 }4440 _ACEOF4441 rm -f conftest.$ac_objext conftest$ac_exeext4442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54443 (eval $ac_link) 2>conftest.er14444 ac_status=$?4445 grep -v '^ *+' conftest.er1 >conftest.err4446 rm -f conftest.er14447 cat conftest.err >&54448 echo "$as_me:$LINENO: \$? = $ac_status" >&54449 (exit $ac_status); } &&4450 { ac_try='test -z "$ac_c_werror_flag"4451 || test ! -s conftest.err'4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54453 (eval $ac_try) 2>&54454 ac_status=$?4455 echo "$as_me:$LINENO: \$? = $ac_status" >&54456 (exit $ac_status); }; } &&4457 { ac_try='test -s conftest$ac_exeext'4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54459 (eval $ac_try) 2>&54460 ac_status=$?4461 echo "$as_me:$LINENO: \$? = $ac_status" >&54462 (exit $ac_status); }; }; then4463 ac_cv_lib_mingw32_main=yes4464 else4465 echo "$as_me: failed program was:" >&54466 sed 's/^/| /' conftest.$ac_ext >&54467 4468 ac_cv_lib_mingw32_main=no4469 fi4470 rm -f conftest.err conftest.$ac_objext \4471 conftest$ac_exeext conftest.$ac_ext4472 LIBS=$ac_check_lib_save_LIBS4473 fi4474 echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&54475 echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&64476 if test $ac_cv_lib_mingw32_main = yes; then4477 FOUND_mingw32=yes4478 fi4479 4480 if test x$FOUND_mingw32 = xyes; then4481 LIBS="$LIBS -lmingw32"4482 fi4483 4484 #---------------#4485 # open-GL (win) #4486 #---------------#4487 # checking gl header4488 # On IRIX 5.3, sys/types and inttypes.h are conflicting.4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \4499 inttypes.h stdint.h unistd.h4500 do4501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4502 echo "$as_me:$LINENO: checking for $ac_header" >&54503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&64504 if eval "test \"\${$as_ac_Header+set}\" = set"; then4505 echo $ECHO_N "(cached) $ECHO_C" >&64506 else4507 cat >conftest.$ac_ext <<_ACEOF4508 /* confdefs.h. */4509 _ACEOF4510 cat confdefs.h >>conftest.$ac_ext4511 cat >>conftest.$ac_ext <<_ACEOF4512 /* end confdefs.h. */4513 $ac_includes_default4514 4515 #include <$ac_header>4516 _ACEOF4517 rm -f conftest.$ac_objext4518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&54519 (eval $ac_compile) 2>conftest.er14520 ac_status=$?4521 grep -v '^ *+' conftest.er1 >conftest.err4522 rm -f conftest.er14523 cat conftest.err >&54524 echo "$as_me:$LINENO: \$? = $ac_status" >&54525 (exit $ac_status); } &&4526 { ac_try='test -z "$ac_c_werror_flag"4527 || test ! -s conftest.err'4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54529 (eval $ac_try) 2>&54530 ac_status=$?4531 echo "$as_me:$LINENO: \$? = $ac_status" >&54532 (exit $ac_status); }; } &&4533 { ac_try='test -s conftest.$ac_objext'4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54535 (eval $ac_try) 2>&54536 ac_status=$?4537 echo "$as_me:$LINENO: \$? = $ac_status" >&54538 (exit $ac_status); }; }; then4539 eval "$as_ac_Header=yes"4540 else4541 echo "$as_me: failed program was:" >&54542 sed 's/^/| /' conftest.$ac_ext >&54543 4544 eval "$as_ac_Header=no"4545 fi4546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext4547 fi4548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&54549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&64550 if test `eval echo '${'$as_ac_Header'}'` = yes; then4551 cat >>confdefs.h <<_ACEOF4552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14553 _ACEOF4554 4555 fi4556 4557 done4558 4559 4560 4561 for ac_header in GL/gl.h4562 do4563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4564 if eval "test \"\${$as_ac_Header+set}\" = set"; then4565 echo "$as_me:$LINENO: checking for $ac_header" >&54566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&64567 if eval "test \"\${$as_ac_Header+set}\" = set"; then4568 echo $ECHO_N "(cached) $ECHO_C" >&64569 fi4570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&54571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&64572 else4573 # Is the header compilable?4574 echo "$as_me:$LINENO: checking $ac_header usability" >&54575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&64576 cat >conftest.$ac_ext <<_ACEOF4577 /* confdefs.h. */4578 _ACEOF4579 cat confdefs.h >>conftest.$ac_ext4580 cat >>conftest.$ac_ext <<_ACEOF4581 /* end confdefs.h. */4582 $ac_includes_default4583 #include <$ac_header>4584 _ACEOF4585 rm -f conftest.$ac_objext4586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&54587 (eval $ac_compile) 2>conftest.er14588 ac_status=$?4589 grep -v '^ *+' conftest.er1 >conftest.err4590 rm -f conftest.er14591 cat conftest.err >&54592 echo "$as_me:$LINENO: \$? = $ac_status" >&54593 (exit $ac_status); } &&4594 { ac_try='test -z "$ac_c_werror_flag"4595 || test ! -s conftest.err'4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54597 (eval $ac_try) 2>&54598 ac_status=$?4599 echo "$as_me:$LINENO: \$? = $ac_status" >&54600 (exit $ac_status); }; } &&4601 { ac_try='test -s conftest.$ac_objext'4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54603 (eval $ac_try) 2>&54604 ac_status=$?4605 echo "$as_me:$LINENO: \$? = $ac_status" >&54606 (exit $ac_status); }; }; then4607 ac_header_compiler=yes4608 else4609 echo "$as_me: failed program was:" >&54610 sed 's/^/| /' conftest.$ac_ext >&54611 4612 ac_header_compiler=no4613 fi4614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext4615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&54616 echo "${ECHO_T}$ac_header_compiler" >&64617 4618 # Is the header present?4619 echo "$as_me:$LINENO: checking $ac_header presence" >&54620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&64621 cat >conftest.$ac_ext <<_ACEOF4622 /* confdefs.h. */4623 _ACEOF4624 cat confdefs.h >>conftest.$ac_ext4625 cat >>conftest.$ac_ext <<_ACEOF4626 /* end confdefs.h. */4627 #include <$ac_header>4628 _ACEOF4629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&54630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er14631 ac_status=$?4632 grep -v '^ *+' conftest.er1 >conftest.err4633 rm -f conftest.er14634 cat conftest.err >&54635 echo "$as_me:$LINENO: \$? = $ac_status" >&54636 (exit $ac_status); } >/dev/null; then4637 if test -s conftest.err; then4638 ac_cpp_err=$ac_c_preproc_warn_flag4639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4640 else4641 ac_cpp_err=4642 fi4643 else4644 ac_cpp_err=yes4645 fi4646 if test -z "$ac_cpp_err"; then4647 ac_header_preproc=yes4648 else4649 echo "$as_me: failed program was:" >&54650 sed 's/^/| /' conftest.$ac_ext >&54651 4652 ac_header_preproc=no4653 fi4654 rm -f conftest.err conftest.$ac_ext4655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54656 echo "${ECHO_T}$ac_header_preproc" >&64657 4658 # So? What about this header?4659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in4660 yes:no: )4661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4665 ac_header_preproc=yes4666 ;;4667 no:yes:* )4668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4680 (4681 cat <<\_ASBOX4682 ## ---------------------------------------------- ##4683 ## Report this to orxonox-dev at mail.datacore.ch ##4684 ## ---------------------------------------------- ##4685 _ASBOX4686 ) |4687 sed "s/^/$as_me: WARNING: /" >&24688 ;;4689 esac4690 echo "$as_me:$LINENO: checking for $ac_header" >&54691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&64692 if eval "test \"\${$as_ac_Header+set}\" = set"; then4693 echo $ECHO_N "(cached) $ECHO_C" >&64694 else4695 eval "$as_ac_Header=\$ac_header_preproc"4696 fi4697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&54698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&64699 4700 fi4701 if test `eval echo '${'$as_ac_Header'}'` = yes; then4702 cat >>confdefs.h <<_ACEOF4703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14704 _ACEOF4705 4706 else4707 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&54708 echo "$as_me: error: cannot find opengl headers" >&2;}4709 { (exit 1); exit 1; }; }4710 fi4711 4712 done4713 4714 # checking for Windows openGl library4715 echo "$as_me:$LINENO: checking for main in -lopengl32" >&54716 echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&64717 if test "${ac_cv_lib_opengl32_main+set}" = set; then4718 echo $ECHO_N "(cached) $ECHO_C" >&64719 else4720 ac_check_lib_save_LIBS=$LIBS4721 LIBS="-lopengl32 $LIBS"4722 cat >conftest.$ac_ext <<_ACEOF4723 /* confdefs.h. */4724 _ACEOF4725 cat confdefs.h >>conftest.$ac_ext4726 cat >>conftest.$ac_ext <<_ACEOF4727 /* end confdefs.h. */4728 4729 4730 int4731 main ()4732 {4733 main ();4734 ;4735 return 0;4736 }4737 _ACEOF4738 rm -f conftest.$ac_objext conftest$ac_exeext4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54740 (eval $ac_link) 2>conftest.er14741 ac_status=$?4742 grep -v '^ *+' conftest.er1 >conftest.err4743 rm -f conftest.er14744 cat conftest.err >&54745 echo "$as_me:$LINENO: \$? = $ac_status" >&54746 (exit $ac_status); } &&4747 { ac_try='test -z "$ac_c_werror_flag"4748 || test ! -s conftest.err'4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54750 (eval $ac_try) 2>&54751 ac_status=$?4752 echo "$as_me:$LINENO: \$? = $ac_status" >&54753 (exit $ac_status); }; } &&4754 { ac_try='test -s conftest$ac_exeext'4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54756 (eval $ac_try) 2>&54757 ac_status=$?4758 echo "$as_me:$LINENO: \$? = $ac_status" >&54759 (exit $ac_status); }; }; then4760 ac_cv_lib_opengl32_main=yes4761 else4762 echo "$as_me: failed program was:" >&54763 sed 's/^/| /' conftest.$ac_ext >&54764 4765 ac_cv_lib_opengl32_main=no4766 fi4767 rm -f conftest.err conftest.$ac_objext \4768 conftest$ac_exeext conftest.$ac_ext4769 LIBS=$ac_check_lib_save_LIBS4770 fi4771 echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&54772 echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&64773 if test $ac_cv_lib_opengl32_main = yes; then4774 FOUND_GL=yes; LIBS="$LIBS -lopengl32"4775 fi4776 4777 if test x$FOUND_GL != xyes ; then4778 echo "------------------"4779 echo "opengl not found."4780 echo "please install the opengl package which can be found at http://www.opengl.org"4781 echo "------------------"4782 exit -14783 fi4784 4785 # cheking for GLU-header4786 4787 for ac_header in GL/glu.h4788 do4789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then4791 echo "$as_me:$LINENO: checking for $ac_header" >&54792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&64793 if eval "test \"\${$as_ac_Header+set}\" = set"; then4794 echo $ECHO_N "(cached) $ECHO_C" >&64795 fi4796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&54797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&64798 else4799 # Is the header compilable?4800 echo "$as_me:$LINENO: checking $ac_header usability" >&54801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&64802 cat >conftest.$ac_ext <<_ACEOF4803 /* confdefs.h. */4804 _ACEOF4805 cat confdefs.h >>conftest.$ac_ext4806 cat >>conftest.$ac_ext <<_ACEOF4807 /* end confdefs.h. */4808 $ac_includes_default4809 #include <$ac_header>4810 _ACEOF4811 rm -f conftest.$ac_objext4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&54813 (eval $ac_compile) 2>conftest.er14814 ac_status=$?4815 grep -v '^ *+' conftest.er1 >conftest.err4816 rm -f conftest.er14817 cat conftest.err >&54818 echo "$as_me:$LINENO: \$? = $ac_status" >&54819 (exit $ac_status); } &&4820 { ac_try='test -z "$ac_c_werror_flag"4821 || test ! -s conftest.err'4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54823 (eval $ac_try) 2>&54824 ac_status=$?4825 echo "$as_me:$LINENO: \$? = $ac_status" >&54826 (exit $ac_status); }; } &&4827 { ac_try='test -s conftest.$ac_objext'4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54829 (eval $ac_try) 2>&54830 ac_status=$?4831 echo "$as_me:$LINENO: \$? = $ac_status" >&54832 (exit $ac_status); }; }; then4833 ac_header_compiler=yes4834 else4835 echo "$as_me: failed program was:" >&54836 sed 's/^/| /' conftest.$ac_ext >&54837 4838 ac_header_compiler=no4839 fi4840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext4841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&54842 echo "${ECHO_T}$ac_header_compiler" >&64843 4844 # Is the header present?4845 echo "$as_me:$LINENO: checking $ac_header presence" >&54846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&64847 cat >conftest.$ac_ext <<_ACEOF4848 /* confdefs.h. */4849 _ACEOF4850 cat confdefs.h >>conftest.$ac_ext4851 cat >>conftest.$ac_ext <<_ACEOF4852 /* end confdefs.h. */4853 #include <$ac_header>4854 _ACEOF4855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&54856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er14857 ac_status=$?4858 grep -v '^ *+' conftest.er1 >conftest.err4859 rm -f conftest.er14860 cat conftest.err >&54861 echo "$as_me:$LINENO: \$? = $ac_status" >&54862 (exit $ac_status); } >/dev/null; then4863 if test -s conftest.err; then4864 ac_cpp_err=$ac_c_preproc_warn_flag4865 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag4866 else4867 ac_cpp_err=4868 fi4869 else4870 ac_cpp_err=yes4871 fi4872 if test -z "$ac_cpp_err"; then4873 ac_header_preproc=yes4874 else4875 echo "$as_me: failed program was:" >&54876 sed 's/^/| /' conftest.$ac_ext >&54877 4878 ac_header_preproc=no4879 fi4880 rm -f conftest.err conftest.$ac_ext4881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54882 echo "${ECHO_T}$ac_header_preproc" >&64883 4884 # So? What about this header?4885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in4886 yes:no: )4887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&54888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}4889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&54890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}4891 ac_header_preproc=yes4892 ;;4893 no:yes:* )4894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&54895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}4896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&54897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}4898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&54899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}4900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&54901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}4902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&54903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}4904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&54905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}4906 (4907 cat <<\_ASBOX4908 ## ---------------------------------------------- ##4909 ## Report this to orxonox-dev at mail.datacore.ch ##4910 ## ---------------------------------------------- ##4911 _ASBOX4912 ) |4913 sed "s/^/$as_me: WARNING: /" >&24914 ;;4915 esac4916 echo "$as_me:$LINENO: checking for $ac_header" >&54917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&64918 if eval "test \"\${$as_ac_Header+set}\" = set"; then4919 echo $ECHO_N "(cached) $ECHO_C" >&64920 else4921 eval "$as_ac_Header=\$ac_header_preproc"4922 fi4923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&54924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&64925 4926 fi4927 if test `eval echo '${'$as_ac_Header'}'` = yes; then4928 cat >>confdefs.h <<_ACEOF4929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 14930 _ACEOF4931 4932 else4933 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&54934 echo "$as_me: error: cannot find opengl headers" >&2;}4935 { (exit 1); exit 1; }; }4936 fi4937 4938 done4939 4940 4941 # checking for libGLU4942 echo "$as_me:$LINENO: checking for main in -lglu32" >&54943 echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&64944 if test "${ac_cv_lib_glu32_main+set}" = set; then4945 echo $ECHO_N "(cached) $ECHO_C" >&64946 else4947 ac_check_lib_save_LIBS=$LIBS4948 LIBS="-lglu32 $LIBS"4949 cat >conftest.$ac_ext <<_ACEOF4950 /* confdefs.h. */4951 _ACEOF4952 cat confdefs.h >>conftest.$ac_ext4953 cat >>conftest.$ac_ext <<_ACEOF4954 /* end confdefs.h. */4955 4956 4957 int4958 main ()4959 {4960 main ();4961 ;4962 return 0;4963 }4964 _ACEOF4965 rm -f conftest.$ac_objext conftest$ac_exeext4966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&54967 (eval $ac_link) 2>conftest.er14968 ac_status=$?4969 grep -v '^ *+' conftest.er1 >conftest.err4970 rm -f conftest.er14971 cat conftest.err >&54972 echo "$as_me:$LINENO: \$? = $ac_status" >&54973 (exit $ac_status); } &&4974 { ac_try='test -z "$ac_c_werror_flag"4975 || test ! -s conftest.err'4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54977 (eval $ac_try) 2>&54978 ac_status=$?4979 echo "$as_me:$LINENO: \$? = $ac_status" >&54980 (exit $ac_status); }; } &&4981 { ac_try='test -s conftest$ac_exeext'4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&54983 (eval $ac_try) 2>&54984 ac_status=$?4985 echo "$as_me:$LINENO: \$? = $ac_status" >&54986 (exit $ac_status); }; }; then4987 ac_cv_lib_glu32_main=yes4988 else4989 echo "$as_me: failed program was:" >&54990 sed 's/^/| /' conftest.$ac_ext >&54991 4992 ac_cv_lib_glu32_main=no4993 fi4994 rm -f conftest.err conftest.$ac_objext \4995 conftest$ac_exeext conftest.$ac_ext4996 LIBS=$ac_check_lib_save_LIBS4997 fi4998 echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&54999 echo "${ECHO_T}$ac_cv_lib_glu32_main" >&65000 if test $ac_cv_lib_glu32_main = yes; then5001 FOUND_GLU=yes; LIBS="$LIBS -lGLU32"5002 fi5003 5004 if test x$FOUND_GLU != xyes ; then5005 echo "------------------"5006 echo "GLU library not found."5007 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"5008 echo "------------------"5009 exit -15010 fi5011 5012 # checking glew header5013 5014 for ac_header in GL/glew.h5015 do5016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`5017 if eval "test \"\${$as_ac_Header+set}\" = set"; then5018 echo "$as_me:$LINENO: checking for $ac_header" >&55019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65020 if eval "test \"\${$as_ac_Header+set}\" = set"; then5021 echo $ECHO_N "(cached) $ECHO_C" >&65022 fi5023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65025 else5026 # Is the header compilable?5027 echo "$as_me:$LINENO: checking $ac_header usability" >&55028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&65029 cat >conftest.$ac_ext <<_ACEOF5030 /* confdefs.h. */5031 _ACEOF5032 cat confdefs.h >>conftest.$ac_ext5033 cat >>conftest.$ac_ext <<_ACEOF5034 /* end confdefs.h. */5035 $ac_includes_default5036 #include <$ac_header>5037 _ACEOF5038 rm -f conftest.$ac_objext5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55040 (eval $ac_compile) 2>conftest.er15041 ac_status=$?5042 grep -v '^ *+' conftest.er1 >conftest.err5043 rm -f conftest.er15044 cat conftest.err >&55045 echo "$as_me:$LINENO: \$? = $ac_status" >&55046 (exit $ac_status); } &&5047 { ac_try='test -z "$ac_c_werror_flag"5048 || test ! -s conftest.err'5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55050 (eval $ac_try) 2>&55051 ac_status=$?5052 echo "$as_me:$LINENO: \$? = $ac_status" >&55053 (exit $ac_status); }; } &&5054 { ac_try='test -s conftest.$ac_objext'5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55056 (eval $ac_try) 2>&55057 ac_status=$?5058 echo "$as_me:$LINENO: \$? = $ac_status" >&55059 (exit $ac_status); }; }; then5060 ac_header_compiler=yes5061 else5062 echo "$as_me: failed program was:" >&55063 sed 's/^/| /' conftest.$ac_ext >&55064 5065 ac_header_compiler=no5066 fi5067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext5068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&55069 echo "${ECHO_T}$ac_header_compiler" >&65070 5071 # Is the header present?5072 echo "$as_me:$LINENO: checking $ac_header presence" >&55073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&65074 cat >conftest.$ac_ext <<_ACEOF5075 /* confdefs.h. */5076 _ACEOF5077 cat confdefs.h >>conftest.$ac_ext5078 cat >>conftest.$ac_ext <<_ACEOF5079 /* end confdefs.h. */5080 #include <$ac_header>5081 _ACEOF5082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&55083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er15084 ac_status=$?5085 grep -v '^ *+' conftest.er1 >conftest.err5086 rm -f conftest.er15087 cat conftest.err >&55088 echo "$as_me:$LINENO: \$? = $ac_status" >&55089 (exit $ac_status); } >/dev/null; then5090 if test -s conftest.err; then5091 ac_cpp_err=$ac_c_preproc_warn_flag5092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5093 else5094 ac_cpp_err=5095 fi5096 else5097 ac_cpp_err=yes5098 fi5099 if test -z "$ac_cpp_err"; then5100 ac_header_preproc=yes5101 else5102 echo "$as_me: failed program was:" >&55103 sed 's/^/| /' conftest.$ac_ext >&55104 5105 ac_header_preproc=no5106 fi5107 rm -f conftest.err conftest.$ac_ext5108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55109 echo "${ECHO_T}$ac_header_preproc" >&65110 5111 # So? What about this header?5112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in5113 yes:no: )5114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5118 ac_header_preproc=yes5119 ;;5120 no:yes:* )5121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&55122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}5123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&55124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}5125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&55126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}5127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&55128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}5129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&55130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}5131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&55132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5133 (5134 cat <<\_ASBOX5135 ## ---------------------------------------------- ##5136 ## Report this to orxonox-dev at mail.datacore.ch ##5137 ## ---------------------------------------------- ##5138 _ASBOX5139 ) |5140 sed "s/^/$as_me: WARNING: /" >&25141 ;;5142 esac5143 echo "$as_me:$LINENO: checking for $ac_header" >&55144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65145 if eval "test \"\${$as_ac_Header+set}\" = set"; then5146 echo $ECHO_N "(cached) $ECHO_C" >&65147 else5148 eval "$as_ac_Header=\$ac_header_preproc"5149 fi5150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65152 5153 fi5154 if test `eval echo '${'$as_ac_Header'}'` = yes; then5155 cat >>confdefs.h <<_ACEOF5156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 15157 _ACEOF5158 5159 else5160 { { echo "$as_me:$LINENO: error: cannot find opengl extension wrangler headers" >&55161 echo "$as_me: error: cannot find opengl extension wrangler headers" >&2;}5162 { (exit 1); exit 1; }; }5163 fi5164 5165 done5166 5167 # checking for Windows glew library5168 echo "$as_me:$LINENO: checking for main in -lglew32" >&55169 echo $ECHO_N "checking for main in -lglew32... $ECHO_C" >&65170 if test "${ac_cv_lib_glew32_main+set}" = set; then5171 echo $ECHO_N "(cached) $ECHO_C" >&65172 else5173 ac_check_lib_save_LIBS=$LIBS5174 LIBS="-lglew32 $LIBS"5175 cat >conftest.$ac_ext <<_ACEOF5176 /* confdefs.h. */5177 _ACEOF5178 cat confdefs.h >>conftest.$ac_ext5179 cat >>conftest.$ac_ext <<_ACEOF5180 /* end confdefs.h. */5181 5182 5183 int5184 main ()5185 {5186 main ();5187 ;5188 return 0;5189 }5190 _ACEOF5191 rm -f conftest.$ac_objext conftest$ac_exeext5192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&55193 (eval $ac_link) 2>conftest.er15194 ac_status=$?5195 grep -v '^ *+' conftest.er1 >conftest.err5196 rm -f conftest.er15197 cat conftest.err >&55198 echo "$as_me:$LINENO: \$? = $ac_status" >&55199 (exit $ac_status); } &&5200 { ac_try='test -z "$ac_c_werror_flag"5201 || test ! -s conftest.err'5202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55203 (eval $ac_try) 2>&55204 ac_status=$?5205 echo "$as_me:$LINENO: \$? = $ac_status" >&55206 (exit $ac_status); }; } &&5207 { ac_try='test -s conftest$ac_exeext'5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55209 (eval $ac_try) 2>&55210 ac_status=$?5211 echo "$as_me:$LINENO: \$? = $ac_status" >&55212 (exit $ac_status); }; }; then5213 ac_cv_lib_glew32_main=yes5214 else5215 echo "$as_me: failed program was:" >&55216 sed 's/^/| /' conftest.$ac_ext >&55217 5218 ac_cv_lib_glew32_main=no5219 fi5220 rm -f conftest.err conftest.$ac_objext \5221 conftest$ac_exeext conftest.$ac_ext5222 LIBS=$ac_check_lib_save_LIBS5223 fi5224 echo "$as_me:$LINENO: result: $ac_cv_lib_glew32_main" >&55225 echo "${ECHO_T}$ac_cv_lib_glew32_main" >&65226 if test $ac_cv_lib_glew32_main = yes; then5227 FOUND_GLEW=yes; LIBS="$LIBS -lglew32"5228 fi5229 5230 if test x$FOUND_GLEW != xyes ; then5231 echo "------------------"5232 echo "opengl extension wrangler not found."5233 echo "please install the glew package which can be found at http://glew.sourceforge.net"5234 echo "------------------"5235 exit -15236 fi5237 5238 #--------#5239 # openAL #5240 #--------#5241 # checking for openAL-headers5242 5243 for ac_header in AL/al.h5244 do5245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`5246 if eval "test \"\${$as_ac_Header+set}\" = set"; then5247 echo "$as_me:$LINENO: checking for $ac_header" >&55248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65249 if eval "test \"\${$as_ac_Header+set}\" = set"; then5250 echo $ECHO_N "(cached) $ECHO_C" >&65251 fi5252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65254 else5255 # Is the header compilable?5256 echo "$as_me:$LINENO: checking $ac_header usability" >&55257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&65258 cat >conftest.$ac_ext <<_ACEOF5259 /* confdefs.h. */5260 _ACEOF5261 cat confdefs.h >>conftest.$ac_ext5262 cat >>conftest.$ac_ext <<_ACEOF5263 /* end confdefs.h. */5264 $ac_includes_default5265 #include <$ac_header>5266 _ACEOF5267 rm -f conftest.$ac_objext5268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55269 (eval $ac_compile) 2>conftest.er15270 ac_status=$?5271 grep -v '^ *+' conftest.er1 >conftest.err5272 rm -f conftest.er15273 cat conftest.err >&55274 echo "$as_me:$LINENO: \$? = $ac_status" >&55275 (exit $ac_status); } &&5276 { ac_try='test -z "$ac_c_werror_flag"5277 || test ! -s conftest.err'5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55279 (eval $ac_try) 2>&55280 ac_status=$?5281 echo "$as_me:$LINENO: \$? = $ac_status" >&55282 (exit $ac_status); }; } &&5283 { ac_try='test -s conftest.$ac_objext'5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55285 (eval $ac_try) 2>&55286 ac_status=$?5287 echo "$as_me:$LINENO: \$? = $ac_status" >&55288 (exit $ac_status); }; }; then5289 ac_header_compiler=yes5290 else5291 echo "$as_me: failed program was:" >&55292 sed 's/^/| /' conftest.$ac_ext >&55293 5294 ac_header_compiler=no5295 fi5296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext5297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&55298 echo "${ECHO_T}$ac_header_compiler" >&65299 5300 # Is the header present?5301 echo "$as_me:$LINENO: checking $ac_header presence" >&55302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&65303 cat >conftest.$ac_ext <<_ACEOF5304 /* confdefs.h. */5305 _ACEOF5306 cat confdefs.h >>conftest.$ac_ext5307 cat >>conftest.$ac_ext <<_ACEOF5308 /* end confdefs.h. */5309 #include <$ac_header>5310 _ACEOF5311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&55312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er15313 ac_status=$?5314 grep -v '^ *+' conftest.er1 >conftest.err5315 rm -f conftest.er15316 cat conftest.err >&55317 echo "$as_me:$LINENO: \$? = $ac_status" >&55318 (exit $ac_status); } >/dev/null; then5319 if test -s conftest.err; then5320 ac_cpp_err=$ac_c_preproc_warn_flag5321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5322 else5323 ac_cpp_err=5324 fi5325 else5326 ac_cpp_err=yes5327 fi5328 if test -z "$ac_cpp_err"; then5329 ac_header_preproc=yes5330 else5331 echo "$as_me: failed program was:" >&55332 sed 's/^/| /' conftest.$ac_ext >&55333 5334 ac_header_preproc=no5335 fi5336 rm -f conftest.err conftest.$ac_ext5337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55338 echo "${ECHO_T}$ac_header_preproc" >&65339 5340 # So? What about this header?5341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in5342 yes:no: )5343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5347 ac_header_preproc=yes5348 ;;5349 no:yes:* )5350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&55351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}5352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&55353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}5354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&55355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}5356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&55357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}5358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&55359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}5360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&55361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5362 (5363 cat <<\_ASBOX5364 ## ---------------------------------------------- ##5365 ## Report this to orxonox-dev at mail.datacore.ch ##5366 ## ---------------------------------------------- ##5367 _ASBOX5368 ) |5369 sed "s/^/$as_me: WARNING: /" >&25370 ;;5371 esac5372 echo "$as_me:$LINENO: checking for $ac_header" >&55373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65374 if eval "test \"\${$as_ac_Header+set}\" = set"; then5375 echo $ECHO_N "(cached) $ECHO_C" >&65376 else5377 eval "$as_ac_Header=\$ac_header_preproc"5378 fi5379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65381 5382 fi5383 if test `eval echo '${'$as_ac_Header'}'` = yes; then5384 cat >>confdefs.h <<_ACEOF5385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 15386 _ACEOF5387 5388 else5389 { { echo "$as_me:$LINENO: error: cannot find openAL header." >&55390 echo "$as_me: error: cannot find openAL header." >&2;}5391 { (exit 1); exit 1; }; }5392 fi5393 5394 done5395 5396 # checking for openAL-lib5397 echo "$as_me:$LINENO: checking for main in -lOpenAL32" >&55398 echo $ECHO_N "checking for main in -lOpenAL32... $ECHO_C" >&65399 if test "${ac_cv_lib_OpenAL32_main+set}" = set; then5400 echo $ECHO_N "(cached) $ECHO_C" >&65401 else5402 ac_check_lib_save_LIBS=$LIBS5403 LIBS="-lOpenAL32 $LIBS"5404 cat >conftest.$ac_ext <<_ACEOF5405 /* confdefs.h. */5406 _ACEOF5407 cat confdefs.h >>conftest.$ac_ext5408 cat >>conftest.$ac_ext <<_ACEOF5409 /* end confdefs.h. */5410 5411 5412 int5413 main ()5414 {5415 main ();5416 ;5417 return 0;5418 }5419 _ACEOF5420 rm -f conftest.$ac_objext conftest$ac_exeext5421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&55422 (eval $ac_link) 2>conftest.er15423 ac_status=$?5424 grep -v '^ *+' conftest.er1 >conftest.err5425 rm -f conftest.er15426 cat conftest.err >&55427 echo "$as_me:$LINENO: \$? = $ac_status" >&55428 (exit $ac_status); } &&5429 { ac_try='test -z "$ac_c_werror_flag"5430 || test ! -s conftest.err'5431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55432 (eval $ac_try) 2>&55433 ac_status=$?5434 echo "$as_me:$LINENO: \$? = $ac_status" >&55435 (exit $ac_status); }; } &&5436 { ac_try='test -s conftest$ac_exeext'5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55438 (eval $ac_try) 2>&55439 ac_status=$?5440 echo "$as_me:$LINENO: \$? = $ac_status" >&55441 (exit $ac_status); }; }; then5442 ac_cv_lib_OpenAL32_main=yes5443 else5444 echo "$as_me: failed program was:" >&55445 sed 's/^/| /' conftest.$ac_ext >&55446 5447 ac_cv_lib_OpenAL32_main=no5448 fi5449 rm -f conftest.err conftest.$ac_objext \5450 conftest$ac_exeext conftest.$ac_ext5451 LIBS=$ac_check_lib_save_LIBS5452 fi5453 echo "$as_me:$LINENO: result: $ac_cv_lib_OpenAL32_main" >&55454 echo "${ECHO_T}$ac_cv_lib_OpenAL32_main" >&65455 if test $ac_cv_lib_OpenAL32_main = yes; then5456 FOUND_OPENAL=yes; LIBS="$LIBS -lOpenAL32"5457 fi5458 5459 echo "$as_me:$LINENO: checking for main in -lALut" >&55460 echo $ECHO_N "checking for main in -lALut... $ECHO_C" >&65461 if test "${ac_cv_lib_ALut_main+set}" = set; then5462 echo $ECHO_N "(cached) $ECHO_C" >&65463 else5464 ac_check_lib_save_LIBS=$LIBS5465 LIBS="-lALut $LIBS"5466 cat >conftest.$ac_ext <<_ACEOF5467 /* confdefs.h. */5468 _ACEOF5469 cat confdefs.h >>conftest.$ac_ext5470 cat >>conftest.$ac_ext <<_ACEOF5471 /* end confdefs.h. */5472 5473 5474 int5475 main ()5476 {5477 main ();5478 ;5479 return 0;5480 }5481 _ACEOF5482 rm -f conftest.$ac_objext conftest$ac_exeext5483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&55484 (eval $ac_link) 2>conftest.er15485 ac_status=$?5486 grep -v '^ *+' conftest.er1 >conftest.err5487 rm -f conftest.er15488 cat conftest.err >&55489 echo "$as_me:$LINENO: \$? = $ac_status" >&55490 (exit $ac_status); } &&5491 { ac_try='test -z "$ac_c_werror_flag"5492 || test ! -s conftest.err'5493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55494 (eval $ac_try) 2>&55495 ac_status=$?5496 echo "$as_me:$LINENO: \$? = $ac_status" >&55497 (exit $ac_status); }; } &&5498 { ac_try='test -s conftest$ac_exeext'5499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55500 (eval $ac_try) 2>&55501 ac_status=$?5502 echo "$as_me:$LINENO: \$? = $ac_status" >&55503 (exit $ac_status); }; }; then5504 ac_cv_lib_ALut_main=yes5505 else5506 echo "$as_me: failed program was:" >&55507 sed 's/^/| /' conftest.$ac_ext >&55508 5509 ac_cv_lib_ALut_main=no5510 fi5511 rm -f conftest.err conftest.$ac_objext \5512 conftest$ac_exeext conftest.$ac_ext5513 LIBS=$ac_check_lib_save_LIBS5514 fi5515 echo "$as_me:$LINENO: result: $ac_cv_lib_ALut_main" >&55516 echo "${ECHO_T}$ac_cv_lib_ALut_main" >&65517 if test $ac_cv_lib_ALut_main = yes; then5518 FOUND_ALUT=yes; LIBS="-lALut $LIBS"5519 fi5520 5521 if test x$FOUND_OPENAL != xyes ; then5522 echo "------------------"5523 echo "openal library not found."5524 echo "please install the openal library, which can be found at http://www.openal.org"5525 echo "------------------"5526 exit -15527 fi5528 5529 5530 #-----------#5531 # SDL(win) #5532 #-----------#5533 # checking for SDL-headers5534 5535 for ac_header in SDL/SDL.h5536 do5537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`5538 if eval "test \"\${$as_ac_Header+set}\" = set"; then5539 echo "$as_me:$LINENO: checking for $ac_header" >&55540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65541 if eval "test \"\${$as_ac_Header+set}\" = set"; then5542 echo $ECHO_N "(cached) $ECHO_C" >&65543 fi5544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65546 else5547 # Is the header compilable?5548 echo "$as_me:$LINENO: checking $ac_header usability" >&55549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&65550 cat >conftest.$ac_ext <<_ACEOF5551 /* confdefs.h. */5552 _ACEOF5553 cat confdefs.h >>conftest.$ac_ext5554 cat >>conftest.$ac_ext <<_ACEOF5555 /* end confdefs.h. */5556 $ac_includes_default5557 #include <$ac_header>5558 _ACEOF5559 rm -f conftest.$ac_objext5560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55561 (eval $ac_compile) 2>conftest.er15562 ac_status=$?5563 grep -v '^ *+' conftest.er1 >conftest.err5564 rm -f conftest.er15565 cat conftest.err >&55566 echo "$as_me:$LINENO: \$? = $ac_status" >&55567 (exit $ac_status); } &&5568 { ac_try='test -z "$ac_c_werror_flag"5569 || test ! -s conftest.err'5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55571 (eval $ac_try) 2>&55572 ac_status=$?5573 echo "$as_me:$LINENO: \$? = $ac_status" >&55574 (exit $ac_status); }; } &&5575 { ac_try='test -s conftest.$ac_objext'5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55577 (eval $ac_try) 2>&55578 ac_status=$?5579 echo "$as_me:$LINENO: \$? = $ac_status" >&55580 (exit $ac_status); }; }; then5581 ac_header_compiler=yes5582 else5583 echo "$as_me: failed program was:" >&55584 sed 's/^/| /' conftest.$ac_ext >&55585 5586 ac_header_compiler=no5587 fi5588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext5589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&55590 echo "${ECHO_T}$ac_header_compiler" >&65591 5592 # Is the header present?5593 echo "$as_me:$LINENO: checking $ac_header presence" >&55594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&65595 cat >conftest.$ac_ext <<_ACEOF5596 /* confdefs.h. */5597 _ACEOF5598 cat confdefs.h >>conftest.$ac_ext5599 cat >>conftest.$ac_ext <<_ACEOF5600 /* end confdefs.h. */5601 #include <$ac_header>5602 _ACEOF5603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&55604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er15605 ac_status=$?5606 grep -v '^ *+' conftest.er1 >conftest.err5607 rm -f conftest.er15608 cat conftest.err >&55609 echo "$as_me:$LINENO: \$? = $ac_status" >&55610 (exit $ac_status); } >/dev/null; then5611 if test -s conftest.err; then5612 ac_cpp_err=$ac_c_preproc_warn_flag5613 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5614 else5615 ac_cpp_err=5616 fi5617 else5618 ac_cpp_err=yes5619 fi5620 if test -z "$ac_cpp_err"; then5621 ac_header_preproc=yes5622 else5623 echo "$as_me: failed program was:" >&55624 sed 's/^/| /' conftest.$ac_ext >&55625 5626 ac_header_preproc=no5627 fi5628 rm -f conftest.err conftest.$ac_ext5629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55630 echo "${ECHO_T}$ac_header_preproc" >&65631 5632 # So? What about this header?5633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in5634 yes:no: )5635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5639 ac_header_preproc=yes5640 ;;5641 no:yes:* )5642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&55643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}5644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&55645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}5646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&55647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}5648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&55649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}5650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&55651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}5652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&55653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5654 (5655 cat <<\_ASBOX5656 ## ---------------------------------------------- ##5657 ## Report this to orxonox-dev at mail.datacore.ch ##5658 ## ---------------------------------------------- ##5659 _ASBOX5660 ) |5661 sed "s/^/$as_me: WARNING: /" >&25662 ;;5663 esac5664 echo "$as_me:$LINENO: checking for $ac_header" >&55665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65666 if eval "test \"\${$as_ac_Header+set}\" = set"; then5667 echo $ECHO_N "(cached) $ECHO_C" >&65668 else5669 eval "$as_ac_Header=\$ac_header_preproc"5670 fi5671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65673 5674 fi5675 if test `eval echo '${'$as_ac_Header'}'` = yes; then5676 cat >>confdefs.h <<_ACEOF5677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 15678 _ACEOF5679 5680 else5681 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&55682 echo "$as_me: error: cannot find SDL headers" >&2;}5683 { (exit 1); exit 1; }; }5684 fi5685 5686 done5687 5688 5689 #checking for libSDL5690 echo "$as_me:$LINENO: checking for main in -lsdlmain" >&55691 echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&65692 if test "${ac_cv_lib_sdlmain_main+set}" = set; then5693 echo $ECHO_N "(cached) $ECHO_C" >&65694 else5695 ac_check_lib_save_LIBS=$LIBS5696 LIBS="-lsdlmain $LIBS"5697 cat >conftest.$ac_ext <<_ACEOF5698 /* confdefs.h. */5699 _ACEOF5700 cat confdefs.h >>conftest.$ac_ext5701 cat >>conftest.$ac_ext <<_ACEOF5702 /* end confdefs.h. */5703 5704 5705 int5706 main ()5707 {5708 main ();5709 ;5710 return 0;5711 }5712 _ACEOF5713 rm -f conftest.$ac_objext conftest$ac_exeext5714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&55715 (eval $ac_link) 2>conftest.er15716 ac_status=$?5717 grep -v '^ *+' conftest.er1 >conftest.err5718 rm -f conftest.er15719 cat conftest.err >&55720 echo "$as_me:$LINENO: \$? = $ac_status" >&55721 (exit $ac_status); } &&5722 { ac_try='test -z "$ac_c_werror_flag"5723 || test ! -s conftest.err'5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55725 (eval $ac_try) 2>&55726 ac_status=$?5727 echo "$as_me:$LINENO: \$? = $ac_status" >&55728 (exit $ac_status); }; } &&5729 { ac_try='test -s conftest$ac_exeext'5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55731 (eval $ac_try) 2>&55732 ac_status=$?5733 echo "$as_me:$LINENO: \$? = $ac_status" >&55734 (exit $ac_status); }; }; then5735 ac_cv_lib_sdlmain_main=yes5736 else5737 echo "$as_me: failed program was:" >&55738 sed 's/^/| /' conftest.$ac_ext >&55739 5740 ac_cv_lib_sdlmain_main=no5741 fi5742 rm -f conftest.err conftest.$ac_objext \5743 conftest$ac_exeext conftest.$ac_ext5744 LIBS=$ac_check_lib_save_LIBS5745 fi5746 echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&55747 echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&65748 if test $ac_cv_lib_sdlmain_main = yes; then5749 FOUND_sdlmain=yes; LIBS="$LIBS -lsdlmain"5750 fi5751 5752 if test x$FOUND_sdlmain != xyes ; then5753 echo "------------------"5754 echo "SDL library not found."5755 echo "please install the SDL library, which can be found at http://www.libsdl.org"5756 echo "------------------"5757 exit 15758 fi5759 echo "$as_me:$LINENO: checking for main in -lsdl" >&55760 echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&65761 if test "${ac_cv_lib_sdl_main+set}" = set; then5762 echo $ECHO_N "(cached) $ECHO_C" >&65763 else5764 ac_check_lib_save_LIBS=$LIBS5765 LIBS="-lsdl $LIBS"5766 cat >conftest.$ac_ext <<_ACEOF5767 /* confdefs.h. */5768 _ACEOF5769 cat confdefs.h >>conftest.$ac_ext5770 cat >>conftest.$ac_ext <<_ACEOF5771 /* end confdefs.h. */5772 5773 5774 int5775 main ()5776 {5777 main ();5778 ;5779 return 0;5780 }5781 _ACEOF5782 rm -f conftest.$ac_objext conftest$ac_exeext5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&55784 (eval $ac_link) 2>conftest.er15785 ac_status=$?5786 grep -v '^ *+' conftest.er1 >conftest.err5787 rm -f conftest.er15788 cat conftest.err >&55789 echo "$as_me:$LINENO: \$? = $ac_status" >&55790 (exit $ac_status); } &&5791 { ac_try='test -z "$ac_c_werror_flag"5792 || test ! -s conftest.err'5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55794 (eval $ac_try) 2>&55795 ac_status=$?5796 echo "$as_me:$LINENO: \$? = $ac_status" >&55797 (exit $ac_status); }; } &&5798 { ac_try='test -s conftest$ac_exeext'5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55800 (eval $ac_try) 2>&55801 ac_status=$?5802 echo "$as_me:$LINENO: \$? = $ac_status" >&55803 (exit $ac_status); }; }; then5804 ac_cv_lib_sdl_main=yes5805 else5806 echo "$as_me: failed program was:" >&55807 sed 's/^/| /' conftest.$ac_ext >&55808 5809 ac_cv_lib_sdl_main=no5810 fi5811 rm -f conftest.err conftest.$ac_objext \5812 conftest$ac_exeext conftest.$ac_ext5813 LIBS=$ac_check_lib_save_LIBS5814 fi5815 echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&55816 echo "${ECHO_T}$ac_cv_lib_sdl_main" >&65817 if test $ac_cv_lib_sdl_main = yes; then5818 FOUND_SDL=yes; LIBS="$LIBS -lsdl"5819 fi5820 5821 if test x$FOUND_SDL != xyes ; then5822 echo "------------------"5823 echo "SDL library not found."5824 echo "please install the SDL library, which can be found at http://www.libsdl.org"5825 echo "------------------"5826 exit -15827 fi5828 5829 ;;5830 5831 #########5832 #-------#5833 # LINUX #5834 #-------#5835 #########5836 *-*-linux*)5837 echo "Linux detected"5838 5839 Linux="yes"5840 5841 ##CPPFLAGS="-I/usr/include $CPPFLAGS"5842 ##LDFLAGS="-L/usr/lib $LDFLAGS"5843 if test x$SHARED_LIB_PATH != xno; then5844 echo "setting new LDFLAGS with $SHARED_LIB_PATH"5845 LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS"5846 fi5847 5848 #--------#5849 # openGL #5850 #--------#5851 # checking gl header5852 5853 for ac_header in GL/gl.h5854 do5855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`5856 if eval "test \"\${$as_ac_Header+set}\" = set"; then5857 echo "$as_me:$LINENO: checking for $ac_header" >&55858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65859 if eval "test \"\${$as_ac_Header+set}\" = set"; then5860 echo $ECHO_N "(cached) $ECHO_C" >&65861 fi5862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65864 else5865 # Is the header compilable?5866 echo "$as_me:$LINENO: checking $ac_header usability" >&55867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&65868 cat >conftest.$ac_ext <<_ACEOF5869 /* confdefs.h. */5870 _ACEOF5871 cat confdefs.h >>conftest.$ac_ext5872 cat >>conftest.$ac_ext <<_ACEOF5873 /* end confdefs.h. */5874 $ac_includes_default5875 #include <$ac_header>5876 _ACEOF5877 rm -f conftest.$ac_objext5878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&55879 (eval $ac_compile) 2>conftest.er15880 ac_status=$?5881 grep -v '^ *+' conftest.er1 >conftest.err5882 rm -f conftest.er15883 cat conftest.err >&55884 echo "$as_me:$LINENO: \$? = $ac_status" >&55885 (exit $ac_status); } &&5886 { ac_try='test -z "$ac_c_werror_flag"5887 || test ! -s conftest.err'5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55889 (eval $ac_try) 2>&55890 ac_status=$?5891 echo "$as_me:$LINENO: \$? = $ac_status" >&55892 (exit $ac_status); }; } &&5893 { ac_try='test -s conftest.$ac_objext'5894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&55895 (eval $ac_try) 2>&55896 ac_status=$?5897 echo "$as_me:$LINENO: \$? = $ac_status" >&55898 (exit $ac_status); }; }; then5899 ac_header_compiler=yes5900 else5901 echo "$as_me: failed program was:" >&55902 sed 's/^/| /' conftest.$ac_ext >&55903 5904 ac_header_compiler=no5905 fi5906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext5907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&55908 echo "${ECHO_T}$ac_header_compiler" >&65909 5910 # Is the header present?5911 echo "$as_me:$LINENO: checking $ac_header presence" >&55912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&65913 cat >conftest.$ac_ext <<_ACEOF5914 /* confdefs.h. */5915 _ACEOF5916 cat confdefs.h >>conftest.$ac_ext5917 cat >>conftest.$ac_ext <<_ACEOF5918 /* end confdefs.h. */5919 #include <$ac_header>5920 _ACEOF5921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&55922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er15923 ac_status=$?5924 grep -v '^ *+' conftest.er1 >conftest.err5925 rm -f conftest.er15926 cat conftest.err >&55927 echo "$as_me:$LINENO: \$? = $ac_status" >&55928 (exit $ac_status); } >/dev/null; then5929 if test -s conftest.err; then5930 ac_cpp_err=$ac_c_preproc_warn_flag5931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag5932 else5933 ac_cpp_err=5934 fi5935 else5936 ac_cpp_err=yes5937 fi5938 if test -z "$ac_cpp_err"; then5939 ac_header_preproc=yes5940 else5941 echo "$as_me: failed program was:" >&55942 sed 's/^/| /' conftest.$ac_ext >&55943 5944 ac_header_preproc=no5945 fi5946 rm -f conftest.err conftest.$ac_ext5947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55948 echo "${ECHO_T}$ac_header_preproc" >&65949 5950 # So? What about this header?5951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in5952 yes:no: )5953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&55954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}5955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&55956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}5957 ac_header_preproc=yes5958 ;;5959 no:yes:* )5960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&55961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}5962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&55963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}5964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&55965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}5966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&55967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&55969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}5970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&55971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}5972 (5973 cat <<\_ASBOX5974 ## ---------------------------------------------- ##5975 ## Report this to orxonox-dev at mail.datacore.ch ##5976 ## ---------------------------------------------- ##5977 _ASBOX5978 ) |5979 sed "s/^/$as_me: WARNING: /" >&25980 ;;5981 esac5982 echo "$as_me:$LINENO: checking for $ac_header" >&55983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&65984 if eval "test \"\${$as_ac_Header+set}\" = set"; then5985 echo $ECHO_N "(cached) $ECHO_C" >&65986 else5987 eval "$as_ac_Header=\$ac_header_preproc"5988 fi5989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&55990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&65991 5992 fi5993 if test `eval echo '${'$as_ac_Header'}'` = yes; then5994 cat >>confdefs.h <<_ACEOF5995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 15996 _ACEOF5997 5998 else5999 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&56000 echo "$as_me: error: cannot find opengl headers" >&2;}6001 { (exit 1); exit 1; }; }6002 fi6003 6004 done6005 6006 6007 # checking for Unix GL6008 echo "$as_me:$LINENO: checking for main in -lGL" >&56009 echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&66010 if test "${ac_cv_lib_GL_main+set}" = set; then6011 echo $ECHO_N "(cached) $ECHO_C" >&66012 else6013 ac_check_lib_save_LIBS=$LIBS6014 LIBS="-lGL $LIBS"6015 cat >conftest.$ac_ext <<_ACEOF6016 /* confdefs.h. */6017 _ACEOF6018 cat confdefs.h >>conftest.$ac_ext6019 cat >>conftest.$ac_ext <<_ACEOF6020 /* end confdefs.h. */6021 6022 6023 int6024 main ()6025 {6026 main ();6027 ;6028 return 0;6029 }6030 _ACEOF6031 rm -f conftest.$ac_objext conftest$ac_exeext6032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56033 (eval $ac_link) 2>conftest.er16034 ac_status=$?6035 grep -v '^ *+' conftest.er1 >conftest.err6036 rm -f conftest.er16037 cat conftest.err >&56038 echo "$as_me:$LINENO: \$? = $ac_status" >&56039 (exit $ac_status); } &&6040 { ac_try='test -z "$ac_c_werror_flag"6041 || test ! -s conftest.err'6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56043 (eval $ac_try) 2>&56044 ac_status=$?6045 echo "$as_me:$LINENO: \$? = $ac_status" >&56046 (exit $ac_status); }; } &&6047 { ac_try='test -s conftest$ac_exeext'6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56049 (eval $ac_try) 2>&56050 ac_status=$?6051 echo "$as_me:$LINENO: \$? = $ac_status" >&56052 (exit $ac_status); }; }; then6053 ac_cv_lib_GL_main=yes6054 else6055 echo "$as_me: failed program was:" >&56056 sed 's/^/| /' conftest.$ac_ext >&56057 6058 ac_cv_lib_GL_main=no6059 fi6060 rm -f conftest.err conftest.$ac_objext \6061 conftest$ac_exeext conftest.$ac_ext6062 LIBS=$ac_check_lib_save_LIBS6063 fi6064 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&56065 echo "${ECHO_T}$ac_cv_lib_GL_main" >&66066 if test $ac_cv_lib_GL_main = yes; then6067 FOUND_GL=yes; LIBS="$LIBS -lGL"6068 fi6069 6070 if test x$FOUND_GL != xyes ; then6071 echo "------------------"6072 echo "opengl not found."6073 echo "please install the opengl package which can be found at http://www.opengl.org"6074 echo "------------------"6075 exit -16076 fi6077 6078 # cheking for GLU-header6079 6080 for ac_header in GL/glu.h6081 do6082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6083 if eval "test \"\${$as_ac_Header+set}\" = set"; then6084 echo "$as_me:$LINENO: checking for $ac_header" >&56085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66086 if eval "test \"\${$as_ac_Header+set}\" = set"; then6087 echo $ECHO_N "(cached) $ECHO_C" >&66088 fi6089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66091 else6092 # Is the header compilable?6093 echo "$as_me:$LINENO: checking $ac_header usability" >&56094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&66095 cat >conftest.$ac_ext <<_ACEOF6096 /* confdefs.h. */6097 _ACEOF6098 cat confdefs.h >>conftest.$ac_ext6099 cat >>conftest.$ac_ext <<_ACEOF6100 /* end confdefs.h. */6101 $ac_includes_default6102 #include <$ac_header>6103 _ACEOF6104 rm -f conftest.$ac_objext6105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56106 (eval $ac_compile) 2>conftest.er16107 ac_status=$?6108 grep -v '^ *+' conftest.er1 >conftest.err6109 rm -f conftest.er16110 cat conftest.err >&56111 echo "$as_me:$LINENO: \$? = $ac_status" >&56112 (exit $ac_status); } &&6113 { ac_try='test -z "$ac_c_werror_flag"6114 || test ! -s conftest.err'6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56116 (eval $ac_try) 2>&56117 ac_status=$?6118 echo "$as_me:$LINENO: \$? = $ac_status" >&56119 (exit $ac_status); }; } &&6120 { ac_try='test -s conftest.$ac_objext'6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56122 (eval $ac_try) 2>&56123 ac_status=$?6124 echo "$as_me:$LINENO: \$? = $ac_status" >&56125 (exit $ac_status); }; }; then6126 ac_header_compiler=yes6127 else6128 echo "$as_me: failed program was:" >&56129 sed 's/^/| /' conftest.$ac_ext >&56130 6131 ac_header_compiler=no6132 fi6133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56135 echo "${ECHO_T}$ac_header_compiler" >&66136 6137 # Is the header present?6138 echo "$as_me:$LINENO: checking $ac_header presence" >&56139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66140 cat >conftest.$ac_ext <<_ACEOF6141 /* confdefs.h. */6142 _ACEOF6143 cat confdefs.h >>conftest.$ac_ext6144 cat >>conftest.$ac_ext <<_ACEOF6145 /* end confdefs.h. */6146 #include <$ac_header>6147 _ACEOF6148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16150 ac_status=$?6151 grep -v '^ *+' conftest.er1 >conftest.err6152 rm -f conftest.er16153 cat conftest.err >&56154 echo "$as_me:$LINENO: \$? = $ac_status" >&56155 (exit $ac_status); } >/dev/null; then6156 if test -s conftest.err; then6157 ac_cpp_err=$ac_c_preproc_warn_flag6158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6159 else6160 ac_cpp_err=6161 fi6162 else6163 ac_cpp_err=yes6164 fi6165 if test -z "$ac_cpp_err"; then6166 ac_header_preproc=yes6167 else6168 echo "$as_me: failed program was:" >&56169 sed 's/^/| /' conftest.$ac_ext >&56170 6171 ac_header_preproc=no6172 fi6173 rm -f conftest.err conftest.$ac_ext6174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56175 echo "${ECHO_T}$ac_header_preproc" >&66176 6177 # So? What about this header?6178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6179 yes:no: )6180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6184 ac_header_preproc=yes6185 ;;6186 no:yes:* )6187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6199 (6200 cat <<\_ASBOX6201 ## ---------------------------------------------- ##6202 ## Report this to orxonox-dev at mail.datacore.ch ##6203 ## ---------------------------------------------- ##6204 _ASBOX6205 ) |6206 sed "s/^/$as_me: WARNING: /" >&26207 ;;6208 esac6209 echo "$as_me:$LINENO: checking for $ac_header" >&56210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66211 if eval "test \"\${$as_ac_Header+set}\" = set"; then6212 echo $ECHO_N "(cached) $ECHO_C" >&66213 else6214 eval "$as_ac_Header=\$ac_header_preproc"6215 fi6216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66218 6219 fi6220 if test `eval echo '${'$as_ac_Header'}'` = yes; then6221 cat >>confdefs.h <<_ACEOF6222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16223 _ACEOF6224 6225 else6226 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&56227 echo "$as_me: error: cannot find opengl headers" >&2;}6228 { (exit 1); exit 1; }; }6229 fi6230 6231 done6232 6233 echo "$as_me:$LINENO: checking for main in -lGLU" >&56234 echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&66235 if test "${ac_cv_lib_GLU_main+set}" = set; then6236 echo $ECHO_N "(cached) $ECHO_C" >&66237 else6238 ac_check_lib_save_LIBS=$LIBS6239 LIBS="-lGLU $LIBS"6240 cat >conftest.$ac_ext <<_ACEOF6241 /* confdefs.h. */6242 _ACEOF6243 cat confdefs.h >>conftest.$ac_ext6244 cat >>conftest.$ac_ext <<_ACEOF6245 /* end confdefs.h. */6246 6247 6248 int6249 main ()6250 {6251 main ();6252 ;6253 return 0;6254 }6255 _ACEOF6256 rm -f conftest.$ac_objext conftest$ac_exeext6257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56258 (eval $ac_link) 2>conftest.er16259 ac_status=$?6260 grep -v '^ *+' conftest.er1 >conftest.err6261 rm -f conftest.er16262 cat conftest.err >&56263 echo "$as_me:$LINENO: \$? = $ac_status" >&56264 (exit $ac_status); } &&6265 { ac_try='test -z "$ac_c_werror_flag"6266 || test ! -s conftest.err'6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56268 (eval $ac_try) 2>&56269 ac_status=$?6270 echo "$as_me:$LINENO: \$? = $ac_status" >&56271 (exit $ac_status); }; } &&6272 { ac_try='test -s conftest$ac_exeext'6273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56274 (eval $ac_try) 2>&56275 ac_status=$?6276 echo "$as_me:$LINENO: \$? = $ac_status" >&56277 (exit $ac_status); }; }; then6278 ac_cv_lib_GLU_main=yes6279 else6280 echo "$as_me: failed program was:" >&56281 sed 's/^/| /' conftest.$ac_ext >&56282 6283 ac_cv_lib_GLU_main=no6284 fi6285 rm -f conftest.err conftest.$ac_objext \6286 conftest$ac_exeext conftest.$ac_ext6287 LIBS=$ac_check_lib_save_LIBS6288 fi6289 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&56290 echo "${ECHO_T}$ac_cv_lib_GLU_main" >&66291 if test $ac_cv_lib_GLU_main = yes; then6292 FOUND_GLU=yes; LIBS="$LIBS -lGLU"6293 fi6294 6295 if test x$FOUND_GLU != xyes ; then6296 echo "------------------"6297 echo "GLU library not found."6298 echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"6299 echo "------------------"6300 exit -16301 fi6302 6303 # checking for GLEW-headers6304 6305 for ac_header in GL/glew.h6306 do6307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6308 if eval "test \"\${$as_ac_Header+set}\" = set"; then6309 echo "$as_me:$LINENO: checking for $ac_header" >&56310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66311 if eval "test \"\${$as_ac_Header+set}\" = set"; then6312 echo $ECHO_N "(cached) $ECHO_C" >&66313 fi6314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66316 else6317 # Is the header compilable?6318 echo "$as_me:$LINENO: checking $ac_header usability" >&56319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&66320 cat >conftest.$ac_ext <<_ACEOF6321 /* confdefs.h. */6322 _ACEOF6323 cat confdefs.h >>conftest.$ac_ext6324 cat >>conftest.$ac_ext <<_ACEOF6325 /* end confdefs.h. */6326 $ac_includes_default6327 #include <$ac_header>6328 _ACEOF6329 rm -f conftest.$ac_objext6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56331 (eval $ac_compile) 2>conftest.er16332 ac_status=$?6333 grep -v '^ *+' conftest.er1 >conftest.err6334 rm -f conftest.er16335 cat conftest.err >&56336 echo "$as_me:$LINENO: \$? = $ac_status" >&56337 (exit $ac_status); } &&6338 { ac_try='test -z "$ac_c_werror_flag"6339 || test ! -s conftest.err'6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56341 (eval $ac_try) 2>&56342 ac_status=$?6343 echo "$as_me:$LINENO: \$? = $ac_status" >&56344 (exit $ac_status); }; } &&6345 { ac_try='test -s conftest.$ac_objext'6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56347 (eval $ac_try) 2>&56348 ac_status=$?6349 echo "$as_me:$LINENO: \$? = $ac_status" >&56350 (exit $ac_status); }; }; then6351 ac_header_compiler=yes6352 else6353 echo "$as_me: failed program was:" >&56354 sed 's/^/| /' conftest.$ac_ext >&56355 6356 ac_header_compiler=no6357 fi6358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56360 echo "${ECHO_T}$ac_header_compiler" >&66361 6362 # Is the header present?6363 echo "$as_me:$LINENO: checking $ac_header presence" >&56364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66365 cat >conftest.$ac_ext <<_ACEOF6366 /* confdefs.h. */6367 _ACEOF6368 cat confdefs.h >>conftest.$ac_ext6369 cat >>conftest.$ac_ext <<_ACEOF6370 /* end confdefs.h. */6371 #include <$ac_header>6372 _ACEOF6373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16375 ac_status=$?6376 grep -v '^ *+' conftest.er1 >conftest.err6377 rm -f conftest.er16378 cat conftest.err >&56379 echo "$as_me:$LINENO: \$? = $ac_status" >&56380 (exit $ac_status); } >/dev/null; then6381 if test -s conftest.err; then6382 ac_cpp_err=$ac_c_preproc_warn_flag6383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6384 else6385 ac_cpp_err=6386 fi6387 else6388 ac_cpp_err=yes6389 fi6390 if test -z "$ac_cpp_err"; then6391 ac_header_preproc=yes6392 else6393 echo "$as_me: failed program was:" >&56394 sed 's/^/| /' conftest.$ac_ext >&56395 6396 ac_header_preproc=no6397 fi6398 rm -f conftest.err conftest.$ac_ext6399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56400 echo "${ECHO_T}$ac_header_preproc" >&66401 6402 # So? What about this header?6403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6404 yes:no: )6405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6409 ac_header_preproc=yes6410 ;;6411 no:yes:* )6412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6424 (6425 cat <<\_ASBOX6426 ## ---------------------------------------------- ##6427 ## Report this to orxonox-dev at mail.datacore.ch ##6428 ## ---------------------------------------------- ##6429 _ASBOX6430 ) |6431 sed "s/^/$as_me: WARNING: /" >&26432 ;;6433 esac6434 echo "$as_me:$LINENO: checking for $ac_header" >&56435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66436 if eval "test \"\${$as_ac_Header+set}\" = set"; then6437 echo $ECHO_N "(cached) $ECHO_C" >&66438 else6439 eval "$as_ac_Header=\$ac_header_preproc"6440 fi6441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66443 6444 fi6445 if test `eval echo '${'$as_ac_Header'}'` = yes; then6446 cat >>confdefs.h <<_ACEOF6447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16448 _ACEOF6449 6450 else6451 { { echo "$as_me:$LINENO: error: cannot find glew headers" >&56452 echo "$as_me: error: cannot find glew headers" >&2;}6453 { (exit 1); exit 1; }; }6454 fi6455 6456 done6457 6458 # checking for GLEW-lib6459 echo "$as_me:$LINENO: checking for main in -lGLEW" >&56460 echo $ECHO_N "checking for main in -lGLEW... $ECHO_C" >&66461 if test "${ac_cv_lib_GLEW_main+set}" = set; then6462 echo $ECHO_N "(cached) $ECHO_C" >&66463 else6464 ac_check_lib_save_LIBS=$LIBS6465 LIBS="-lGLEW $LIBS"6466 cat >conftest.$ac_ext <<_ACEOF6467 /* confdefs.h. */6468 _ACEOF6469 cat confdefs.h >>conftest.$ac_ext6470 cat >>conftest.$ac_ext <<_ACEOF6471 /* end confdefs.h. */6472 6473 6474 int6475 main ()6476 {6477 main ();6478 ;6479 return 0;6480 }6481 _ACEOF6482 rm -f conftest.$ac_objext conftest$ac_exeext6483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56484 (eval $ac_link) 2>conftest.er16485 ac_status=$?6486 grep -v '^ *+' conftest.er1 >conftest.err6487 rm -f conftest.er16488 cat conftest.err >&56489 echo "$as_me:$LINENO: \$? = $ac_status" >&56490 (exit $ac_status); } &&6491 { ac_try='test -z "$ac_c_werror_flag"6492 || test ! -s conftest.err'6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56494 (eval $ac_try) 2>&56495 ac_status=$?6496 echo "$as_me:$LINENO: \$? = $ac_status" >&56497 (exit $ac_status); }; } &&6498 { ac_try='test -s conftest$ac_exeext'6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56500 (eval $ac_try) 2>&56501 ac_status=$?6502 echo "$as_me:$LINENO: \$? = $ac_status" >&56503 (exit $ac_status); }; }; then6504 ac_cv_lib_GLEW_main=yes6505 else6506 echo "$as_me: failed program was:" >&56507 sed 's/^/| /' conftest.$ac_ext >&56508 6509 ac_cv_lib_GLEW_main=no6510 fi6511 rm -f conftest.err conftest.$ac_objext \6512 conftest$ac_exeext conftest.$ac_ext6513 LIBS=$ac_check_lib_save_LIBS6514 fi6515 echo "$as_me:$LINENO: result: $ac_cv_lib_GLEW_main" >&56516 echo "${ECHO_T}$ac_cv_lib_GLEW_main" >&66517 if test $ac_cv_lib_GLEW_main = yes; then6518 FOUND_GLEW=yes; LIBS="$LIBS -lGLEW"6519 fi6520 6521 if test x$FOUND_GLEW != xyes ; then6522 echo "------------------"6523 echo "glew not found."6524 echo "please install the glew package which can be found at http://glew.sourceforge.net"6525 echo "------------------"6526 exit -16527 fi6528 6529 #--------#6530 # openAL #6531 #--------#6532 # checking for openAL-headers6533 6534 for ac_header in AL/al.h6535 do6536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6537 if eval "test \"\${$as_ac_Header+set}\" = set"; then6538 echo "$as_me:$LINENO: checking for $ac_header" >&56539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66540 if eval "test \"\${$as_ac_Header+set}\" = set"; then6541 echo $ECHO_N "(cached) $ECHO_C" >&66542 fi6543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66545 else6546 # Is the header compilable?6547 echo "$as_me:$LINENO: checking $ac_header usability" >&56548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&66549 cat >conftest.$ac_ext <<_ACEOF6550 /* confdefs.h. */6551 _ACEOF6552 cat confdefs.h >>conftest.$ac_ext6553 cat >>conftest.$ac_ext <<_ACEOF6554 /* end confdefs.h. */6555 $ac_includes_default6556 #include <$ac_header>6557 _ACEOF6558 rm -f conftest.$ac_objext6559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56560 (eval $ac_compile) 2>conftest.er16561 ac_status=$?6562 grep -v '^ *+' conftest.er1 >conftest.err6563 rm -f conftest.er16564 cat conftest.err >&56565 echo "$as_me:$LINENO: \$? = $ac_status" >&56566 (exit $ac_status); } &&6567 { ac_try='test -z "$ac_c_werror_flag"6568 || test ! -s conftest.err'6569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56570 (eval $ac_try) 2>&56571 ac_status=$?6572 echo "$as_me:$LINENO: \$? = $ac_status" >&56573 (exit $ac_status); }; } &&6574 { ac_try='test -s conftest.$ac_objext'6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56576 (eval $ac_try) 2>&56577 ac_status=$?6578 echo "$as_me:$LINENO: \$? = $ac_status" >&56579 (exit $ac_status); }; }; then6580 ac_header_compiler=yes6581 else6582 echo "$as_me: failed program was:" >&56583 sed 's/^/| /' conftest.$ac_ext >&56584 6585 ac_header_compiler=no6586 fi6587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56589 echo "${ECHO_T}$ac_header_compiler" >&66590 6591 # Is the header present?6592 echo "$as_me:$LINENO: checking $ac_header presence" >&56593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66594 cat >conftest.$ac_ext <<_ACEOF6595 /* confdefs.h. */6596 _ACEOF6597 cat confdefs.h >>conftest.$ac_ext6598 cat >>conftest.$ac_ext <<_ACEOF6599 /* end confdefs.h. */6600 #include <$ac_header>6601 _ACEOF6602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16604 ac_status=$?6605 grep -v '^ *+' conftest.er1 >conftest.err6606 rm -f conftest.er16607 cat conftest.err >&56608 echo "$as_me:$LINENO: \$? = $ac_status" >&56609 (exit $ac_status); } >/dev/null; then6610 if test -s conftest.err; then6611 ac_cpp_err=$ac_c_preproc_warn_flag6612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6613 else6614 ac_cpp_err=6615 fi6616 else6617 ac_cpp_err=yes6618 fi6619 if test -z "$ac_cpp_err"; then6620 ac_header_preproc=yes6621 else6622 echo "$as_me: failed program was:" >&56623 sed 's/^/| /' conftest.$ac_ext >&56624 6625 ac_header_preproc=no6626 fi6627 rm -f conftest.err conftest.$ac_ext6628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56629 echo "${ECHO_T}$ac_header_preproc" >&66630 6631 # So? What about this header?6632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6633 yes:no: )6634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6638 ac_header_preproc=yes6639 ;;6640 no:yes:* )6641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6653 (6654 cat <<\_ASBOX6655 ## ---------------------------------------------- ##6656 ## Report this to orxonox-dev at mail.datacore.ch ##6657 ## ---------------------------------------------- ##6658 _ASBOX6659 ) |6660 sed "s/^/$as_me: WARNING: /" >&26661 ;;6662 esac6663 echo "$as_me:$LINENO: checking for $ac_header" >&56664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66665 if eval "test \"\${$as_ac_Header+set}\" = set"; then6666 echo $ECHO_N "(cached) $ECHO_C" >&66667 else6668 eval "$as_ac_Header=\$ac_header_preproc"6669 fi6670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66672 6673 fi6674 if test `eval echo '${'$as_ac_Header'}'` = yes; then6675 cat >>confdefs.h <<_ACEOF6676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16677 _ACEOF6678 6679 else6680 { { echo "$as_me:$LINENO: error: cannot find openAL header." >&56681 echo "$as_me: error: cannot find openAL header." >&2;}6682 { (exit 1); exit 1; }; }6683 fi6684 6685 done6686 6687 # checking for openAL-lib6688 echo "$as_me:$LINENO: checking for main in -lopenal" >&56689 echo $ECHO_N "checking for main in -lopenal... $ECHO_C" >&66690 if test "${ac_cv_lib_openal_main+set}" = set; then6691 echo $ECHO_N "(cached) $ECHO_C" >&66692 else6693 ac_check_lib_save_LIBS=$LIBS6694 LIBS="-lopenal $LIBS"6695 cat >conftest.$ac_ext <<_ACEOF6696 /* confdefs.h. */6697 _ACEOF6698 cat confdefs.h >>conftest.$ac_ext6699 cat >>conftest.$ac_ext <<_ACEOF6700 /* end confdefs.h. */6701 6702 6703 int6704 main ()6705 {6706 main ();6707 ;6708 return 0;6709 }6710 _ACEOF6711 rm -f conftest.$ac_objext conftest$ac_exeext6712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56713 (eval $ac_link) 2>conftest.er16714 ac_status=$?6715 grep -v '^ *+' conftest.er1 >conftest.err6716 rm -f conftest.er16717 cat conftest.err >&56718 echo "$as_me:$LINENO: \$? = $ac_status" >&56719 (exit $ac_status); } &&6720 { ac_try='test -z "$ac_c_werror_flag"6721 || test ! -s conftest.err'6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56723 (eval $ac_try) 2>&56724 ac_status=$?6725 echo "$as_me:$LINENO: \$? = $ac_status" >&56726 (exit $ac_status); }; } &&6727 { ac_try='test -s conftest$ac_exeext'6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56729 (eval $ac_try) 2>&56730 ac_status=$?6731 echo "$as_me:$LINENO: \$? = $ac_status" >&56732 (exit $ac_status); }; }; then6733 ac_cv_lib_openal_main=yes6734 else6735 echo "$as_me: failed program was:" >&56736 sed 's/^/| /' conftest.$ac_ext >&56737 6738 ac_cv_lib_openal_main=no6739 fi6740 rm -f conftest.err conftest.$ac_objext \6741 conftest$ac_exeext conftest.$ac_ext6742 LIBS=$ac_check_lib_save_LIBS6743 fi6744 echo "$as_me:$LINENO: result: $ac_cv_lib_openal_main" >&56745 echo "${ECHO_T}$ac_cv_lib_openal_main" >&66746 if test $ac_cv_lib_openal_main = yes; then6747 FOUND_OPENAL=yes; LIBS="$LIBS -lopenal"6748 fi6749 6750 if test x$FOUND_OPENAL != xyes ; then6751 echo "------------------"6752 echo "openal library not found."6753 echo "please install the openal library, which can be found at http://www.openal.org"6754 echo "------------------"6755 exit -16756 fi6757 # checking for alut6758 6759 for ac_header in AL/alut.h6760 do6761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6762 if eval "test \"\${$as_ac_Header+set}\" = set"; then6763 echo "$as_me:$LINENO: checking for $ac_header" >&56764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66765 if eval "test \"\${$as_ac_Header+set}\" = set"; then6766 echo $ECHO_N "(cached) $ECHO_C" >&66767 fi6768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66770 else6771 # Is the header compilable?6772 echo "$as_me:$LINENO: checking $ac_header usability" >&56773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&66774 cat >conftest.$ac_ext <<_ACEOF6775 /* confdefs.h. */6776 _ACEOF6777 cat confdefs.h >>conftest.$ac_ext6778 cat >>conftest.$ac_ext <<_ACEOF6779 /* end confdefs.h. */6780 $ac_includes_default6781 #include <$ac_header>6782 _ACEOF6783 rm -f conftest.$ac_objext6784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56785 (eval $ac_compile) 2>conftest.er16786 ac_status=$?6787 grep -v '^ *+' conftest.er1 >conftest.err6788 rm -f conftest.er16789 cat conftest.err >&56790 echo "$as_me:$LINENO: \$? = $ac_status" >&56791 (exit $ac_status); } &&6792 { ac_try='test -z "$ac_c_werror_flag"6793 || test ! -s conftest.err'6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56795 (eval $ac_try) 2>&56796 ac_status=$?6797 echo "$as_me:$LINENO: \$? = $ac_status" >&56798 (exit $ac_status); }; } &&6799 { ac_try='test -s conftest.$ac_objext'6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56801 (eval $ac_try) 2>&56802 ac_status=$?6803 echo "$as_me:$LINENO: \$? = $ac_status" >&56804 (exit $ac_status); }; }; then6805 ac_header_compiler=yes6806 else6807 echo "$as_me: failed program was:" >&56808 sed 's/^/| /' conftest.$ac_ext >&56809 6810 ac_header_compiler=no6811 fi6812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&56814 echo "${ECHO_T}$ac_header_compiler" >&66815 6816 # Is the header present?6817 echo "$as_me:$LINENO: checking $ac_header presence" >&56818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&66819 cat >conftest.$ac_ext <<_ACEOF6820 /* confdefs.h. */6821 _ACEOF6822 cat confdefs.h >>conftest.$ac_ext6823 cat >>conftest.$ac_ext <<_ACEOF6824 /* end confdefs.h. */6825 #include <$ac_header>6826 _ACEOF6827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&56828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er16829 ac_status=$?6830 grep -v '^ *+' conftest.er1 >conftest.err6831 rm -f conftest.er16832 cat conftest.err >&56833 echo "$as_me:$LINENO: \$? = $ac_status" >&56834 (exit $ac_status); } >/dev/null; then6835 if test -s conftest.err; then6836 ac_cpp_err=$ac_c_preproc_warn_flag6837 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag6838 else6839 ac_cpp_err=6840 fi6841 else6842 ac_cpp_err=yes6843 fi6844 if test -z "$ac_cpp_err"; then6845 ac_header_preproc=yes6846 else6847 echo "$as_me: failed program was:" >&56848 sed 's/^/| /' conftest.$ac_ext >&56849 6850 ac_header_preproc=no6851 fi6852 rm -f conftest.err conftest.$ac_ext6853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&56854 echo "${ECHO_T}$ac_header_preproc" >&66855 6856 # So? What about this header?6857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in6858 yes:no: )6859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&56860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}6861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&56862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}6863 ac_header_preproc=yes6864 ;;6865 no:yes:* )6866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&56867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}6868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&56869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}6870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&56871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}6872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&56873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}6874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&56875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}6876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&56877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}6878 (6879 cat <<\_ASBOX6880 ## ---------------------------------------------- ##6881 ## Report this to orxonox-dev at mail.datacore.ch ##6882 ## ---------------------------------------------- ##6883 _ASBOX6884 ) |6885 sed "s/^/$as_me: WARNING: /" >&26886 ;;6887 esac6888 echo "$as_me:$LINENO: checking for $ac_header" >&56889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66890 if eval "test \"\${$as_ac_Header+set}\" = set"; then6891 echo $ECHO_N "(cached) $ECHO_C" >&66892 else6893 eval "$as_ac_Header=\$ac_header_preproc"6894 fi6895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66897 6898 fi6899 if test `eval echo '${'$as_ac_Header'}'` = yes; then6900 cat >>confdefs.h <<_ACEOF6901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 16902 _ACEOF6903 6904 else6905 { { echo "$as_me:$LINENO: error: cannot find openAL Utility Toolkit (alut) header." >&56906 echo "$as_me: error: cannot find openAL Utility Toolkit (alut) header." >&2;}6907 { (exit 1); exit 1; }; }6908 fi6909 6910 done6911 6912 echo "$as_me:$LINENO: checking for main in -lalut" >&56913 echo $ECHO_N "checking for main in -lalut... $ECHO_C" >&66914 if test "${ac_cv_lib_alut_main+set}" = set; then6915 echo $ECHO_N "(cached) $ECHO_C" >&66916 else6917 ac_check_lib_save_LIBS=$LIBS6918 LIBS="-lalut $LIBS"6919 cat >conftest.$ac_ext <<_ACEOF6920 /* confdefs.h. */6921 _ACEOF6922 cat confdefs.h >>conftest.$ac_ext6923 cat >>conftest.$ac_ext <<_ACEOF6924 /* end confdefs.h. */6925 6926 6927 int6928 main ()6929 {6930 main ();6931 ;6932 return 0;6933 }6934 _ACEOF6935 rm -f conftest.$ac_objext conftest$ac_exeext6936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56937 (eval $ac_link) 2>conftest.er16938 ac_status=$?6939 grep -v '^ *+' conftest.er1 >conftest.err6940 rm -f conftest.er16941 cat conftest.err >&56942 echo "$as_me:$LINENO: \$? = $ac_status" >&56943 (exit $ac_status); } &&6944 { ac_try='test -z "$ac_c_werror_flag"6945 || test ! -s conftest.err'6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56947 (eval $ac_try) 2>&56948 ac_status=$?6949 echo "$as_me:$LINENO: \$? = $ac_status" >&56950 (exit $ac_status); }; } &&6951 { ac_try='test -s conftest$ac_exeext'6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56953 (eval $ac_try) 2>&56954 ac_status=$?6955 echo "$as_me:$LINENO: \$? = $ac_status" >&56956 (exit $ac_status); }; }; then6957 ac_cv_lib_alut_main=yes6958 else6959 echo "$as_me: failed program was:" >&56960 sed 's/^/| /' conftest.$ac_ext >&56961 6962 ac_cv_lib_alut_main=no6963 fi6964 rm -f conftest.err conftest.$ac_objext \6965 conftest$ac_exeext conftest.$ac_ext6966 LIBS=$ac_check_lib_save_LIBS6967 fi6968 echo "$as_me:$LINENO: result: $ac_cv_lib_alut_main" >&56969 echo "${ECHO_T}$ac_cv_lib_alut_main" >&66970 if test $ac_cv_lib_alut_main = yes; then6971 FOUND_ALUT=yes; LIBS="-lalut $LIBS"6972 fi6973 6974 6975 #-----#6976 # SDL #6977 #-----#6978 # checking for SDL6979 echo "$as_me:$LINENO: checking for SDL-version" >&56980 echo $ECHO_N "checking for SDL-version... $ECHO_C" >&66981 SDL_VERSION=`sdl-config --version`6982 echo $SDL_VERSION6983 6984 CPPFLAGS="$CPPFLAGS `sdl-config --cflags`"6985 6986 for ac_header in SDL.h6987 do6988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`6989 if eval "test \"\${$as_ac_Header+set}\" = set"; then6990 echo "$as_me:$LINENO: checking for $ac_header" >&56991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&66992 if eval "test \"\${$as_ac_Header+set}\" = set"; then6993 echo $ECHO_N "(cached) $ECHO_C" >&66994 fi6995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&56996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&66997 else6998 # Is the header compilable?6999 echo "$as_me:$LINENO: checking $ac_header usability" >&57000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67001 cat >conftest.$ac_ext <<_ACEOF7002 /* confdefs.h. */7003 _ACEOF7004 cat confdefs.h >>conftest.$ac_ext7005 cat >>conftest.$ac_ext <<_ACEOF7006 /* end confdefs.h. */7007 $ac_includes_default7008 #include <$ac_header>7009 _ACEOF7010 rm -f conftest.$ac_objext7011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57012 (eval $ac_compile) 2>conftest.er17013 ac_status=$?7014 grep -v '^ *+' conftest.er1 >conftest.err7015 rm -f conftest.er17016 cat conftest.err >&57017 echo "$as_me:$LINENO: \$? = $ac_status" >&57018 (exit $ac_status); } &&7019 { ac_try='test -z "$ac_c_werror_flag"7020 || test ! -s conftest.err'7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57022 (eval $ac_try) 2>&57023 ac_status=$?7024 echo "$as_me:$LINENO: \$? = $ac_status" >&57025 (exit $ac_status); }; } &&7026 { ac_try='test -s conftest.$ac_objext'7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57028 (eval $ac_try) 2>&57029 ac_status=$?7030 echo "$as_me:$LINENO: \$? = $ac_status" >&57031 (exit $ac_status); }; }; then7032 ac_header_compiler=yes7033 else7034 echo "$as_me: failed program was:" >&57035 sed 's/^/| /' conftest.$ac_ext >&57036 7037 ac_header_compiler=no7038 fi7039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57041 echo "${ECHO_T}$ac_header_compiler" >&67042 7043 # Is the header present?7044 echo "$as_me:$LINENO: checking $ac_header presence" >&57045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67046 cat >conftest.$ac_ext <<_ACEOF7047 /* confdefs.h. */7048 _ACEOF7049 cat confdefs.h >>conftest.$ac_ext7050 cat >>conftest.$ac_ext <<_ACEOF7051 /* end confdefs.h. */7052 #include <$ac_header>7053 _ACEOF7054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17056 ac_status=$?7057 grep -v '^ *+' conftest.er1 >conftest.err7058 rm -f conftest.er17059 cat conftest.err >&57060 echo "$as_me:$LINENO: \$? = $ac_status" >&57061 (exit $ac_status); } >/dev/null; then7062 if test -s conftest.err; then7063 ac_cpp_err=$ac_c_preproc_warn_flag7064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7065 else7066 ac_cpp_err=7067 fi7068 else7069 ac_cpp_err=yes7070 fi7071 if test -z "$ac_cpp_err"; then7072 ac_header_preproc=yes7073 else7074 echo "$as_me: failed program was:" >&57075 sed 's/^/| /' conftest.$ac_ext >&57076 7077 ac_header_preproc=no7078 fi7079 rm -f conftest.err conftest.$ac_ext7080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57081 echo "${ECHO_T}$ac_header_preproc" >&67082 7083 # So? What about this header?7084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7085 yes:no: )7086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7090 ac_header_preproc=yes7091 ;;7092 no:yes:* )7093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7105 (7106 cat <<\_ASBOX7107 ## ---------------------------------------------- ##7108 ## Report this to orxonox-dev at mail.datacore.ch ##7109 ## ---------------------------------------------- ##7110 _ASBOX7111 ) |7112 sed "s/^/$as_me: WARNING: /" >&27113 ;;7114 esac7115 echo "$as_me:$LINENO: checking for $ac_header" >&57116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67117 if eval "test \"\${$as_ac_Header+set}\" = set"; then7118 echo $ECHO_N "(cached) $ECHO_C" >&67119 else7120 eval "$as_ac_Header=\$ac_header_preproc"7121 fi7122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67124 7125 fi7126 if test `eval echo '${'$as_ac_Header'}'` = yes; then7127 cat >>confdefs.h <<_ACEOF7128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17129 _ACEOF7130 7131 else7132 7133 for ac_header in SDL/SDL.h7134 do7135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then7137 echo "$as_me:$LINENO: checking for $ac_header" >&57138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67139 if eval "test \"\${$as_ac_Header+set}\" = set"; then7140 echo $ECHO_N "(cached) $ECHO_C" >&67141 fi7142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67144 else7145 # Is the header compilable?7146 echo "$as_me:$LINENO: checking $ac_header usability" >&57147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67148 cat >conftest.$ac_ext <<_ACEOF7149 /* confdefs.h. */7150 _ACEOF7151 cat confdefs.h >>conftest.$ac_ext7152 cat >>conftest.$ac_ext <<_ACEOF7153 /* end confdefs.h. */7154 $ac_includes_default7155 #include <$ac_header>7156 _ACEOF7157 rm -f conftest.$ac_objext7158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57159 (eval $ac_compile) 2>conftest.er17160 ac_status=$?7161 grep -v '^ *+' conftest.er1 >conftest.err7162 rm -f conftest.er17163 cat conftest.err >&57164 echo "$as_me:$LINENO: \$? = $ac_status" >&57165 (exit $ac_status); } &&7166 { ac_try='test -z "$ac_c_werror_flag"7167 || test ! -s conftest.err'7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57169 (eval $ac_try) 2>&57170 ac_status=$?7171 echo "$as_me:$LINENO: \$? = $ac_status" >&57172 (exit $ac_status); }; } &&7173 { ac_try='test -s conftest.$ac_objext'7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57175 (eval $ac_try) 2>&57176 ac_status=$?7177 echo "$as_me:$LINENO: \$? = $ac_status" >&57178 (exit $ac_status); }; }; then7179 ac_header_compiler=yes7180 else7181 echo "$as_me: failed program was:" >&57182 sed 's/^/| /' conftest.$ac_ext >&57183 7184 ac_header_compiler=no7185 fi7186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57188 echo "${ECHO_T}$ac_header_compiler" >&67189 7190 # Is the header present?7191 echo "$as_me:$LINENO: checking $ac_header presence" >&57192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67193 cat >conftest.$ac_ext <<_ACEOF7194 /* confdefs.h. */7195 _ACEOF7196 cat confdefs.h >>conftest.$ac_ext7197 cat >>conftest.$ac_ext <<_ACEOF7198 /* end confdefs.h. */7199 #include <$ac_header>7200 _ACEOF7201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17203 ac_status=$?7204 grep -v '^ *+' conftest.er1 >conftest.err7205 rm -f conftest.er17206 cat conftest.err >&57207 echo "$as_me:$LINENO: \$? = $ac_status" >&57208 (exit $ac_status); } >/dev/null; then7209 if test -s conftest.err; then7210 ac_cpp_err=$ac_c_preproc_warn_flag7211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7212 else7213 ac_cpp_err=7214 fi7215 else7216 ac_cpp_err=yes7217 fi7218 if test -z "$ac_cpp_err"; then7219 ac_header_preproc=yes7220 else7221 echo "$as_me: failed program was:" >&57222 sed 's/^/| /' conftest.$ac_ext >&57223 7224 ac_header_preproc=no7225 fi7226 rm -f conftest.err conftest.$ac_ext7227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57228 echo "${ECHO_T}$ac_header_preproc" >&67229 7230 # So? What about this header?7231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7232 yes:no: )7233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7237 ac_header_preproc=yes7238 ;;7239 no:yes:* )7240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7252 (7253 cat <<\_ASBOX7254 ## ---------------------------------------------- ##7255 ## Report this to orxonox-dev at mail.datacore.ch ##7256 ## ---------------------------------------------- ##7257 _ASBOX7258 ) |7259 sed "s/^/$as_me: WARNING: /" >&27260 ;;7261 esac7262 echo "$as_me:$LINENO: checking for $ac_header" >&57263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67264 if eval "test \"\${$as_ac_Header+set}\" = set"; then7265 echo $ECHO_N "(cached) $ECHO_C" >&67266 else7267 eval "$as_ac_Header=\$ac_header_preproc"7268 fi7269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67271 7272 fi7273 if test `eval echo '${'$as_ac_Header'}'` = yes; then7274 cat >>confdefs.h <<_ACEOF7275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17276 _ACEOF7277 7278 else7279 { { echo "$as_me:$LINENO: error: cannot find SDL header. please download from libsdl.org" >&57280 echo "$as_me: error: cannot find SDL header. please download from libsdl.org" >&2;}7281 { (exit 1); exit 1; }; }7282 fi7283 7284 done7285 7286 fi7287 7288 done7289 7290 LIBS="`sdl-config --libs` $LIBS"7291 echo "$as_me:$LINENO: checking for main in -lSDL" >&57292 echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&67293 if test "${ac_cv_lib_SDL_main+set}" = set; then7294 echo $ECHO_N "(cached) $ECHO_C" >&67295 else7296 ac_check_lib_save_LIBS=$LIBS7297 LIBS="-lSDL $LIBS"7298 cat >conftest.$ac_ext <<_ACEOF7299 /* confdefs.h. */7300 _ACEOF7301 cat confdefs.h >>conftest.$ac_ext7302 cat >>conftest.$ac_ext <<_ACEOF7303 /* end confdefs.h. */7304 7305 7306 int7307 main ()7308 {7309 main ();7310 ;7311 return 0;7312 }7313 _ACEOF7314 rm -f conftest.$ac_objext conftest$ac_exeext7315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57316 (eval $ac_link) 2>conftest.er17317 ac_status=$?7318 grep -v '^ *+' conftest.er1 >conftest.err7319 rm -f conftest.er17320 cat conftest.err >&57321 echo "$as_me:$LINENO: \$? = $ac_status" >&57322 (exit $ac_status); } &&7323 { ac_try='test -z "$ac_c_werror_flag"7324 || test ! -s conftest.err'7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57326 (eval $ac_try) 2>&57327 ac_status=$?7328 echo "$as_me:$LINENO: \$? = $ac_status" >&57329 (exit $ac_status); }; } &&7330 { ac_try='test -s conftest$ac_exeext'7331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57332 (eval $ac_try) 2>&57333 ac_status=$?7334 echo "$as_me:$LINENO: \$? = $ac_status" >&57335 (exit $ac_status); }; }; then7336 ac_cv_lib_SDL_main=yes7337 else7338 echo "$as_me: failed program was:" >&57339 sed 's/^/| /' conftest.$ac_ext >&57340 7341 ac_cv_lib_SDL_main=no7342 fi7343 rm -f conftest.err conftest.$ac_objext \7344 conftest$ac_exeext conftest.$ac_ext7345 LIBS=$ac_check_lib_save_LIBS7346 fi7347 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&57348 echo "${ECHO_T}$ac_cv_lib_SDL_main" >&67349 if test $ac_cv_lib_SDL_main = yes; then7350 FOUND_SDL=yes7351 fi7352 7353 if test x$FOUND_SDL != xyes ; then7354 echo "------------------"7355 echo "SDL library not found."7356 echo "please install the SDL library, which can be found at http://www.libsdl.org"7357 echo "------------------"7358 exit -17359 fi7360 7361 ;;7362 7363 #############7364 #-----------#7365 # MAC -OS X #7366 #-----------#7367 #############7368 *darwin*)7369 echo "OS X detected"7370 7371 osX="yes"7372 7373 CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS"7374 LDFLAGS="$LDFLAGS -L/sw/lib"7375 # checking gl header7376 7377 for ac_header in OpenGL/gl.h7378 do7379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7380 if eval "test \"\${$as_ac_Header+set}\" = set"; then7381 echo "$as_me:$LINENO: checking for $ac_header" >&57382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67383 if eval "test \"\${$as_ac_Header+set}\" = set"; then7384 echo $ECHO_N "(cached) $ECHO_C" >&67385 fi7386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67388 else7389 # Is the header compilable?7390 echo "$as_me:$LINENO: checking $ac_header usability" >&57391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67392 cat >conftest.$ac_ext <<_ACEOF7393 /* confdefs.h. */7394 _ACEOF7395 cat confdefs.h >>conftest.$ac_ext7396 cat >>conftest.$ac_ext <<_ACEOF7397 /* end confdefs.h. */7398 $ac_includes_default7399 #include <$ac_header>7400 _ACEOF7401 rm -f conftest.$ac_objext7402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57403 (eval $ac_compile) 2>conftest.er17404 ac_status=$?7405 grep -v '^ *+' conftest.er1 >conftest.err7406 rm -f conftest.er17407 cat conftest.err >&57408 echo "$as_me:$LINENO: \$? = $ac_status" >&57409 (exit $ac_status); } &&7410 { ac_try='test -z "$ac_c_werror_flag"7411 || test ! -s conftest.err'7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57413 (eval $ac_try) 2>&57414 ac_status=$?7415 echo "$as_me:$LINENO: \$? = $ac_status" >&57416 (exit $ac_status); }; } &&7417 { ac_try='test -s conftest.$ac_objext'7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57419 (eval $ac_try) 2>&57420 ac_status=$?7421 echo "$as_me:$LINENO: \$? = $ac_status" >&57422 (exit $ac_status); }; }; then7423 ac_header_compiler=yes7424 else7425 echo "$as_me: failed program was:" >&57426 sed 's/^/| /' conftest.$ac_ext >&57427 7428 ac_header_compiler=no7429 fi7430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57432 echo "${ECHO_T}$ac_header_compiler" >&67433 7434 # Is the header present?7435 echo "$as_me:$LINENO: checking $ac_header presence" >&57436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67437 cat >conftest.$ac_ext <<_ACEOF7438 /* confdefs.h. */7439 _ACEOF7440 cat confdefs.h >>conftest.$ac_ext7441 cat >>conftest.$ac_ext <<_ACEOF7442 /* end confdefs.h. */7443 #include <$ac_header>7444 _ACEOF7445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17447 ac_status=$?7448 grep -v '^ *+' conftest.er1 >conftest.err7449 rm -f conftest.er17450 cat conftest.err >&57451 echo "$as_me:$LINENO: \$? = $ac_status" >&57452 (exit $ac_status); } >/dev/null; then7453 if test -s conftest.err; then7454 ac_cpp_err=$ac_c_preproc_warn_flag7455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7456 else7457 ac_cpp_err=7458 fi7459 else7460 ac_cpp_err=yes7461 fi7462 if test -z "$ac_cpp_err"; then7463 ac_header_preproc=yes7464 else7465 echo "$as_me: failed program was:" >&57466 sed 's/^/| /' conftest.$ac_ext >&57467 7468 ac_header_preproc=no7469 fi7470 rm -f conftest.err conftest.$ac_ext7471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57472 echo "${ECHO_T}$ac_header_preproc" >&67473 7474 # So? What about this header?7475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7476 yes:no: )7477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7481 ac_header_preproc=yes7482 ;;7483 no:yes:* )7484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7496 (7497 cat <<\_ASBOX7498 ## ---------------------------------------------- ##7499 ## Report this to orxonox-dev at mail.datacore.ch ##7500 ## ---------------------------------------------- ##7501 _ASBOX7502 ) |7503 sed "s/^/$as_me: WARNING: /" >&27504 ;;7505 esac7506 echo "$as_me:$LINENO: checking for $ac_header" >&57507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67508 if eval "test \"\${$as_ac_Header+set}\" = set"; then7509 echo $ECHO_N "(cached) $ECHO_C" >&67510 else7511 eval "$as_ac_Header=\$ac_header_preproc"7512 fi7513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67515 7516 fi7517 if test `eval echo '${'$as_ac_Header'}'` = yes; then7518 cat >>confdefs.h <<_ACEOF7519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17520 _ACEOF7521 7522 else7523 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&57524 echo "$as_me: error: cannot find opengl headers" >&2;}7525 { (exit 1); exit 1; }; }7526 fi7527 7528 done7529 7530 # cheking for GLU-header7531 7532 for ac_header in OpenGL/glu.h7533 do7534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7535 if eval "test \"\${$as_ac_Header+set}\" = set"; then7536 echo "$as_me:$LINENO: checking for $ac_header" >&57537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67538 if eval "test \"\${$as_ac_Header+set}\" = set"; then7539 echo $ECHO_N "(cached) $ECHO_C" >&67540 fi7541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67543 else7544 # Is the header compilable?7545 echo "$as_me:$LINENO: checking $ac_header usability" >&57546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67547 cat >conftest.$ac_ext <<_ACEOF7548 /* confdefs.h. */7549 _ACEOF7550 cat confdefs.h >>conftest.$ac_ext7551 cat >>conftest.$ac_ext <<_ACEOF7552 /* end confdefs.h. */7553 $ac_includes_default7554 #include <$ac_header>7555 _ACEOF7556 rm -f conftest.$ac_objext7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57558 (eval $ac_compile) 2>conftest.er17559 ac_status=$?7560 grep -v '^ *+' conftest.er1 >conftest.err7561 rm -f conftest.er17562 cat conftest.err >&57563 echo "$as_me:$LINENO: \$? = $ac_status" >&57564 (exit $ac_status); } &&7565 { ac_try='test -z "$ac_c_werror_flag"7566 || test ! -s conftest.err'7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57568 (eval $ac_try) 2>&57569 ac_status=$?7570 echo "$as_me:$LINENO: \$? = $ac_status" >&57571 (exit $ac_status); }; } &&7572 { ac_try='test -s conftest.$ac_objext'7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57574 (eval $ac_try) 2>&57575 ac_status=$?7576 echo "$as_me:$LINENO: \$? = $ac_status" >&57577 (exit $ac_status); }; }; then7578 ac_header_compiler=yes7579 else7580 echo "$as_me: failed program was:" >&57581 sed 's/^/| /' conftest.$ac_ext >&57582 7583 ac_header_compiler=no7584 fi7585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57587 echo "${ECHO_T}$ac_header_compiler" >&67588 7589 # Is the header present?7590 echo "$as_me:$LINENO: checking $ac_header presence" >&57591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67592 cat >conftest.$ac_ext <<_ACEOF7593 /* confdefs.h. */7594 _ACEOF7595 cat confdefs.h >>conftest.$ac_ext7596 cat >>conftest.$ac_ext <<_ACEOF7597 /* end confdefs.h. */7598 #include <$ac_header>7599 _ACEOF7600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17602 ac_status=$?7603 grep -v '^ *+' conftest.er1 >conftest.err7604 rm -f conftest.er17605 cat conftest.err >&57606 echo "$as_me:$LINENO: \$? = $ac_status" >&57607 (exit $ac_status); } >/dev/null; then7608 if test -s conftest.err; then7609 ac_cpp_err=$ac_c_preproc_warn_flag7610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7611 else7612 ac_cpp_err=7613 fi7614 else7615 ac_cpp_err=yes7616 fi7617 if test -z "$ac_cpp_err"; then7618 ac_header_preproc=yes7619 else7620 echo "$as_me: failed program was:" >&57621 sed 's/^/| /' conftest.$ac_ext >&57622 7623 ac_header_preproc=no7624 fi7625 rm -f conftest.err conftest.$ac_ext7626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57627 echo "${ECHO_T}$ac_header_preproc" >&67628 7629 # So? What about this header?7630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7631 yes:no: )7632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7636 ac_header_preproc=yes7637 ;;7638 no:yes:* )7639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7651 (7652 cat <<\_ASBOX7653 ## ---------------------------------------------- ##7654 ## Report this to orxonox-dev at mail.datacore.ch ##7655 ## ---------------------------------------------- ##7656 _ASBOX7657 ) |7658 sed "s/^/$as_me: WARNING: /" >&27659 ;;7660 esac7661 echo "$as_me:$LINENO: checking for $ac_header" >&57662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67663 if eval "test \"\${$as_ac_Header+set}\" = set"; then7664 echo $ECHO_N "(cached) $ECHO_C" >&67665 else7666 eval "$as_ac_Header=\$ac_header_preproc"7667 fi7668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67670 7671 fi7672 if test `eval echo '${'$as_ac_Header'}'` = yes; then7673 cat >>confdefs.h <<_ACEOF7674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17675 _ACEOF7676 7677 else7678 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&57679 echo "$as_me: error: cannot find opengl headers" >&2;}7680 { (exit 1); exit 1; }; }7681 fi7682 7683 done7684 7685 7686 LIBS="$LIBS -framework OpenGL"7687 7688 7689 7690 # checking for GLEW-headers7691 7692 for ac_header in GL/glew.h7693 do7694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7695 if eval "test \"\${$as_ac_Header+set}\" = set"; then7696 echo "$as_me:$LINENO: checking for $ac_header" >&57697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67698 if eval "test \"\${$as_ac_Header+set}\" = set"; then7699 echo $ECHO_N "(cached) $ECHO_C" >&67700 fi7701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67703 else7704 # Is the header compilable?7705 echo "$as_me:$LINENO: checking $ac_header usability" >&57706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67707 cat >conftest.$ac_ext <<_ACEOF7708 /* confdefs.h. */7709 _ACEOF7710 cat confdefs.h >>conftest.$ac_ext7711 cat >>conftest.$ac_ext <<_ACEOF7712 /* end confdefs.h. */7713 $ac_includes_default7714 #include <$ac_header>7715 _ACEOF7716 rm -f conftest.$ac_objext7717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57718 (eval $ac_compile) 2>conftest.er17719 ac_status=$?7720 grep -v '^ *+' conftest.er1 >conftest.err7721 rm -f conftest.er17722 cat conftest.err >&57723 echo "$as_me:$LINENO: \$? = $ac_status" >&57724 (exit $ac_status); } &&7725 { ac_try='test -z "$ac_c_werror_flag"7726 || test ! -s conftest.err'7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57728 (eval $ac_try) 2>&57729 ac_status=$?7730 echo "$as_me:$LINENO: \$? = $ac_status" >&57731 (exit $ac_status); }; } &&7732 { ac_try='test -s conftest.$ac_objext'7733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57734 (eval $ac_try) 2>&57735 ac_status=$?7736 echo "$as_me:$LINENO: \$? = $ac_status" >&57737 (exit $ac_status); }; }; then7738 ac_header_compiler=yes7739 else7740 echo "$as_me: failed program was:" >&57741 sed 's/^/| /' conftest.$ac_ext >&57742 7743 ac_header_compiler=no7744 fi7745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57747 echo "${ECHO_T}$ac_header_compiler" >&67748 7749 # Is the header present?7750 echo "$as_me:$LINENO: checking $ac_header presence" >&57751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67752 cat >conftest.$ac_ext <<_ACEOF7753 /* confdefs.h. */7754 _ACEOF7755 cat confdefs.h >>conftest.$ac_ext7756 cat >>conftest.$ac_ext <<_ACEOF7757 /* end confdefs.h. */7758 #include <$ac_header>7759 _ACEOF7760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17762 ac_status=$?7763 grep -v '^ *+' conftest.er1 >conftest.err7764 rm -f conftest.er17765 cat conftest.err >&57766 echo "$as_me:$LINENO: \$? = $ac_status" >&57767 (exit $ac_status); } >/dev/null; then7768 if test -s conftest.err; then7769 ac_cpp_err=$ac_c_preproc_warn_flag7770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7771 else7772 ac_cpp_err=7773 fi7774 else7775 ac_cpp_err=yes7776 fi7777 if test -z "$ac_cpp_err"; then7778 ac_header_preproc=yes7779 else7780 echo "$as_me: failed program was:" >&57781 sed 's/^/| /' conftest.$ac_ext >&57782 7783 ac_header_preproc=no7784 fi7785 rm -f conftest.err conftest.$ac_ext7786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&57787 echo "${ECHO_T}$ac_header_preproc" >&67788 7789 # So? What about this header?7790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in7791 yes:no: )7792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&57793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}7794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&57795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}7796 ac_header_preproc=yes7797 ;;7798 no:yes:* )7799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&57800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}7801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&57802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}7803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&57804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}7805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&57806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}7807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&57808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}7809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&57810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}7811 (7812 cat <<\_ASBOX7813 ## ---------------------------------------------- ##7814 ## Report this to orxonox-dev at mail.datacore.ch ##7815 ## ---------------------------------------------- ##7816 _ASBOX7817 ) |7818 sed "s/^/$as_me: WARNING: /" >&27819 ;;7820 esac7821 echo "$as_me:$LINENO: checking for $ac_header" >&57822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67823 if eval "test \"\${$as_ac_Header+set}\" = set"; then7824 echo $ECHO_N "(cached) $ECHO_C" >&67825 else7826 eval "$as_ac_Header=\$ac_header_preproc"7827 fi7828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67830 7831 fi7832 if test `eval echo '${'$as_ac_Header'}'` = yes; then7833 cat >>confdefs.h <<_ACEOF7834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 17835 _ACEOF7836 7837 else7838 { { echo "$as_me:$LINENO: error: cannot find glew headers" >&57839 echo "$as_me: error: cannot find glew headers" >&2;}7840 { (exit 1); exit 1; }; }7841 fi7842 7843 done7844 7845 # checking for GLEW-lib7846 echo "$as_me:$LINENO: checking for main in -lGLEW" >&57847 echo $ECHO_N "checking for main in -lGLEW... $ECHO_C" >&67848 if test "${ac_cv_lib_GLEW_main+set}" = set; then7849 echo $ECHO_N "(cached) $ECHO_C" >&67850 else7851 ac_check_lib_save_LIBS=$LIBS7852 LIBS="-lGLEW $LIBS"7853 cat >conftest.$ac_ext <<_ACEOF7854 /* confdefs.h. */7855 _ACEOF7856 cat confdefs.h >>conftest.$ac_ext7857 cat >>conftest.$ac_ext <<_ACEOF7858 /* end confdefs.h. */7859 7860 7861 int7862 main ()7863 {7864 main ();7865 ;7866 return 0;7867 }7868 _ACEOF7869 rm -f conftest.$ac_objext conftest$ac_exeext7870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&57871 (eval $ac_link) 2>conftest.er17872 ac_status=$?7873 grep -v '^ *+' conftest.er1 >conftest.err7874 rm -f conftest.er17875 cat conftest.err >&57876 echo "$as_me:$LINENO: \$? = $ac_status" >&57877 (exit $ac_status); } &&7878 { ac_try='test -z "$ac_c_werror_flag"7879 || test ! -s conftest.err'7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57881 (eval $ac_try) 2>&57882 ac_status=$?7883 echo "$as_me:$LINENO: \$? = $ac_status" >&57884 (exit $ac_status); }; } &&7885 { ac_try='test -s conftest$ac_exeext'7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57887 (eval $ac_try) 2>&57888 ac_status=$?7889 echo "$as_me:$LINENO: \$? = $ac_status" >&57890 (exit $ac_status); }; }; then7891 ac_cv_lib_GLEW_main=yes7892 else7893 echo "$as_me: failed program was:" >&57894 sed 's/^/| /' conftest.$ac_ext >&57895 7896 ac_cv_lib_GLEW_main=no7897 fi7898 rm -f conftest.err conftest.$ac_objext \7899 conftest$ac_exeext conftest.$ac_ext7900 LIBS=$ac_check_lib_save_LIBS7901 fi7902 echo "$as_me:$LINENO: result: $ac_cv_lib_GLEW_main" >&57903 echo "${ECHO_T}$ac_cv_lib_GLEW_main" >&67904 if test $ac_cv_lib_GLEW_main = yes; then7905 FOUND_GLEW=yes; LIBS="$LIBS -lGLEW"7906 fi7907 7908 if test x$FOUND_GLEW != xyes ; then7909 echo "------------------"7910 echo "glew not found."7911 echo "please install the glew package which can be found at http://glew.sourceforge.net"7912 echo "------------------"7913 exit -17914 fi7915 7916 7917 7918 for ac_header in OpenAL/al.h7919 do7920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`7921 if eval "test \"\${$as_ac_Header+set}\" = set"; then7922 echo "$as_me:$LINENO: checking for $ac_header" >&57923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&67924 if eval "test \"\${$as_ac_Header+set}\" = set"; then7925 echo $ECHO_N "(cached) $ECHO_C" >&67926 fi7927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&57928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&67929 else7930 # Is the header compilable?7931 echo "$as_me:$LINENO: checking $ac_header usability" >&57932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&67933 cat >conftest.$ac_ext <<_ACEOF7934 /* confdefs.h. */7935 _ACEOF7936 cat confdefs.h >>conftest.$ac_ext7937 cat >>conftest.$ac_ext <<_ACEOF7938 /* end confdefs.h. */7939 $ac_includes_default7940 #include <$ac_header>7941 _ACEOF7942 rm -f conftest.$ac_objext7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&57944 (eval $ac_compile) 2>conftest.er17945 ac_status=$?7946 grep -v '^ *+' conftest.er1 >conftest.err7947 rm -f conftest.er17948 cat conftest.err >&57949 echo "$as_me:$LINENO: \$? = $ac_status" >&57950 (exit $ac_status); } &&7951 { ac_try='test -z "$ac_c_werror_flag"7952 || test ! -s conftest.err'7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57954 (eval $ac_try) 2>&57955 ac_status=$?7956 echo "$as_me:$LINENO: \$? = $ac_status" >&57957 (exit $ac_status); }; } &&7958 { ac_try='test -s conftest.$ac_objext'7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&57960 (eval $ac_try) 2>&57961 ac_status=$?7962 echo "$as_me:$LINENO: \$? = $ac_status" >&57963 (exit $ac_status); }; }; then7964 ac_header_compiler=yes7965 else7966 echo "$as_me: failed program was:" >&57967 sed 's/^/| /' conftest.$ac_ext >&57968 7969 ac_header_compiler=no7970 fi7971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext7972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&57973 echo "${ECHO_T}$ac_header_compiler" >&67974 7975 # Is the header present?7976 echo "$as_me:$LINENO: checking $ac_header presence" >&57977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&67978 cat >conftest.$ac_ext <<_ACEOF7979 /* confdefs.h. */7980 _ACEOF7981 cat confdefs.h >>conftest.$ac_ext7982 cat >>conftest.$ac_ext <<_ACEOF7983 /* end confdefs.h. */7984 #include <$ac_header>7985 _ACEOF7986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&57987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er17988 ac_status=$?7989 grep -v '^ *+' conftest.er1 >conftest.err7990 rm -f conftest.er17991 cat conftest.err >&57992 echo "$as_me:$LINENO: \$? = $ac_status" >&57993 (exit $ac_status); } >/dev/null; then7994 if test -s conftest.err; then7995 ac_cpp_err=$ac_c_preproc_warn_flag7996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag7997 else7998 ac_cpp_err=7999 fi8000 else8001 ac_cpp_err=yes8002 fi8003 if test -z "$ac_cpp_err"; then8004 ac_header_preproc=yes8005 else8006 echo "$as_me: failed program was:" >&58007 sed 's/^/| /' conftest.$ac_ext >&58008 8009 ac_header_preproc=no8010 fi8011 rm -f conftest.err conftest.$ac_ext8012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58013 echo "${ECHO_T}$ac_header_preproc" >&68014 8015 # So? What about this header?8016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8017 yes:no: )8018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8022 ac_header_preproc=yes8023 ;;8024 no:yes:* )8025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8037 (8038 cat <<\_ASBOX8039 ## ---------------------------------------------- ##8040 ## Report this to orxonox-dev at mail.datacore.ch ##8041 ## ---------------------------------------------- ##8042 _ASBOX8043 ) |8044 sed "s/^/$as_me: WARNING: /" >&28045 ;;8046 esac8047 echo "$as_me:$LINENO: checking for $ac_header" >&58048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68049 if eval "test \"\${$as_ac_Header+set}\" = set"; then8050 echo $ECHO_N "(cached) $ECHO_C" >&68051 else8052 eval "$as_ac_Header=\$ac_header_preproc"8053 fi8054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68056 8057 fi8058 if test `eval echo '${'$as_ac_Header'}'` = yes; then8059 cat >>confdefs.h <<_ACEOF8060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18061 _ACEOF8062 8063 else8064 { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&58065 echo "$as_me: error: cannot find opengl headers" >&2;}8066 { (exit 1); exit 1; }; }8067 fi8068 8069 done8070 8071 HAVE_OPENAL=yes8072 LIBS="$LIBS -framework OpenAL"8073 8074 8075 ## SDL-check8076 SDL_CFLAGS=`sdl-config --cflags`8077 SDL_LIBS=`sdl-config --libs`8078 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"8079 LIBS="$LIBS $SDL_LIBS"8080 8081 for ac_header in SDL/SDL.h8082 do8083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8084 if eval "test \"\${$as_ac_Header+set}\" = set"; then8085 echo "$as_me:$LINENO: checking for $ac_header" >&58086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68087 if eval "test \"\${$as_ac_Header+set}\" = set"; then8088 echo $ECHO_N "(cached) $ECHO_C" >&68089 fi8090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68092 else8093 # Is the header compilable?8094 echo "$as_me:$LINENO: checking $ac_header usability" >&58095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68096 cat >conftest.$ac_ext <<_ACEOF8097 /* confdefs.h. */8098 _ACEOF8099 cat confdefs.h >>conftest.$ac_ext8100 cat >>conftest.$ac_ext <<_ACEOF8101 /* end confdefs.h. */8102 $ac_includes_default8103 #include <$ac_header>8104 _ACEOF8105 rm -f conftest.$ac_objext8106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58107 (eval $ac_compile) 2>conftest.er18108 ac_status=$?8109 grep -v '^ *+' conftest.er1 >conftest.err8110 rm -f conftest.er18111 cat conftest.err >&58112 echo "$as_me:$LINENO: \$? = $ac_status" >&58113 (exit $ac_status); } &&8114 { ac_try='test -z "$ac_c_werror_flag"8115 || test ! -s conftest.err'8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58117 (eval $ac_try) 2>&58118 ac_status=$?8119 echo "$as_me:$LINENO: \$? = $ac_status" >&58120 (exit $ac_status); }; } &&8121 { ac_try='test -s conftest.$ac_objext'8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58123 (eval $ac_try) 2>&58124 ac_status=$?8125 echo "$as_me:$LINENO: \$? = $ac_status" >&58126 (exit $ac_status); }; }; then8127 ac_header_compiler=yes8128 else8129 echo "$as_me: failed program was:" >&58130 sed 's/^/| /' conftest.$ac_ext >&58131 8132 ac_header_compiler=no8133 fi8134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58136 echo "${ECHO_T}$ac_header_compiler" >&68137 8138 # Is the header present?8139 echo "$as_me:$LINENO: checking $ac_header presence" >&58140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68141 cat >conftest.$ac_ext <<_ACEOF8142 /* confdefs.h. */8143 _ACEOF8144 cat confdefs.h >>conftest.$ac_ext8145 cat >>conftest.$ac_ext <<_ACEOF8146 /* end confdefs.h. */8147 #include <$ac_header>8148 _ACEOF8149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18151 ac_status=$?8152 grep -v '^ *+' conftest.er1 >conftest.err8153 rm -f conftest.er18154 cat conftest.err >&58155 echo "$as_me:$LINENO: \$? = $ac_status" >&58156 (exit $ac_status); } >/dev/null; then8157 if test -s conftest.err; then8158 ac_cpp_err=$ac_c_preproc_warn_flag8159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8160 else8161 ac_cpp_err=8162 fi8163 else8164 ac_cpp_err=yes8165 fi8166 if test -z "$ac_cpp_err"; then8167 ac_header_preproc=yes8168 else8169 echo "$as_me: failed program was:" >&58170 sed 's/^/| /' conftest.$ac_ext >&58171 8172 ac_header_preproc=no8173 fi8174 rm -f conftest.err conftest.$ac_ext8175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58176 echo "${ECHO_T}$ac_header_preproc" >&68177 8178 # So? What about this header?8179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8180 yes:no: )8181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8185 ac_header_preproc=yes8186 ;;8187 no:yes:* )8188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8200 (8201 cat <<\_ASBOX8202 ## ---------------------------------------------- ##8203 ## Report this to orxonox-dev at mail.datacore.ch ##8204 ## ---------------------------------------------- ##8205 _ASBOX8206 ) |8207 sed "s/^/$as_me: WARNING: /" >&28208 ;;8209 esac8210 echo "$as_me:$LINENO: checking for $ac_header" >&58211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68212 if eval "test \"\${$as_ac_Header+set}\" = set"; then8213 echo $ECHO_N "(cached) $ECHO_C" >&68214 else8215 eval "$as_ac_Header=\$ac_header_preproc"8216 fi8217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68219 8220 fi8221 if test `eval echo '${'$as_ac_Header'}'` = yes; then8222 cat >>confdefs.h <<_ACEOF8223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18224 _ACEOF8225 8226 else8227 { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&58228 echo "$as_me: error: cannot find SDL headers" >&2;}8229 { (exit 1); exit 1; }; }8230 fi8231 8232 done8233 8234 HAVE_SDL=yes8235 # LIBS="$LIBS -framework SDL"8236 8237 # checking for SDL-headers8238 # AC_CHECK_HEADERS(SDL/SDL.h ,,8239 # [AC_MSG_ERROR([cannot find SDL headers]) ])8240 8241 ## checking for SDL8242 # SDL_VERSION=1.2.78243 # AM_PATH_SDL($SDL_VERSION,8244 # :,8245 # AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])8246 # )8247 8248 8249 ;;8250 8251 *)8252 ;;8253 esac8254 8255 8256 8257 ###################################8258 ## CHECKING FOR HEADERS AND LIBS ##8259 ###################################8260 8261 #---------#8262 # SDL_ttf #8263 #---------#8264 # checking for SDL_ttf-headers8265 8266 for ac_header in SDL_ttf.h8267 do8268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8269 if eval "test \"\${$as_ac_Header+set}\" = set"; then8270 echo "$as_me:$LINENO: checking for $ac_header" >&58271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68272 if eval "test \"\${$as_ac_Header+set}\" = set"; then8273 echo $ECHO_N "(cached) $ECHO_C" >&68274 fi8275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68277 else8278 # Is the header compilable?8279 echo "$as_me:$LINENO: checking $ac_header usability" >&58280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68281 cat >conftest.$ac_ext <<_ACEOF8282 /* confdefs.h. */8283 _ACEOF8284 cat confdefs.h >>conftest.$ac_ext8285 cat >>conftest.$ac_ext <<_ACEOF8286 /* end confdefs.h. */8287 $ac_includes_default8288 #include <$ac_header>8289 _ACEOF8290 rm -f conftest.$ac_objext8291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58292 (eval $ac_compile) 2>conftest.er18293 ac_status=$?8294 grep -v '^ *+' conftest.er1 >conftest.err8295 rm -f conftest.er18296 cat conftest.err >&58297 echo "$as_me:$LINENO: \$? = $ac_status" >&58298 (exit $ac_status); } &&8299 { ac_try='test -z "$ac_c_werror_flag"8300 || test ! -s conftest.err'8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58302 (eval $ac_try) 2>&58303 ac_status=$?8304 echo "$as_me:$LINENO: \$? = $ac_status" >&58305 (exit $ac_status); }; } &&8306 { ac_try='test -s conftest.$ac_objext'8307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58308 (eval $ac_try) 2>&58309 ac_status=$?8310 echo "$as_me:$LINENO: \$? = $ac_status" >&58311 (exit $ac_status); }; }; then8312 ac_header_compiler=yes8313 else8314 echo "$as_me: failed program was:" >&58315 sed 's/^/| /' conftest.$ac_ext >&58316 8317 ac_header_compiler=no8318 fi8319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58321 echo "${ECHO_T}$ac_header_compiler" >&68322 8323 # Is the header present?8324 echo "$as_me:$LINENO: checking $ac_header presence" >&58325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68326 cat >conftest.$ac_ext <<_ACEOF8327 /* confdefs.h. */8328 _ACEOF8329 cat confdefs.h >>conftest.$ac_ext8330 cat >>conftest.$ac_ext <<_ACEOF8331 /* end confdefs.h. */8332 #include <$ac_header>8333 _ACEOF8334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18336 ac_status=$?8337 grep -v '^ *+' conftest.er1 >conftest.err8338 rm -f conftest.er18339 cat conftest.err >&58340 echo "$as_me:$LINENO: \$? = $ac_status" >&58341 (exit $ac_status); } >/dev/null; then8342 if test -s conftest.err; then8343 ac_cpp_err=$ac_c_preproc_warn_flag8344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8345 else8346 ac_cpp_err=8347 fi8348 else8349 ac_cpp_err=yes8350 fi8351 if test -z "$ac_cpp_err"; then8352 ac_header_preproc=yes8353 else8354 echo "$as_me: failed program was:" >&58355 sed 's/^/| /' conftest.$ac_ext >&58356 8357 ac_header_preproc=no8358 fi8359 rm -f conftest.err conftest.$ac_ext8360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58361 echo "${ECHO_T}$ac_header_preproc" >&68362 8363 # So? What about this header?8364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8365 yes:no: )8366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8370 ac_header_preproc=yes8371 ;;8372 no:yes:* )8373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8385 (8386 cat <<\_ASBOX8387 ## ---------------------------------------------- ##8388 ## Report this to orxonox-dev at mail.datacore.ch ##8389 ## ---------------------------------------------- ##8390 _ASBOX8391 ) |8392 sed "s/^/$as_me: WARNING: /" >&28393 ;;8394 esac8395 echo "$as_me:$LINENO: checking for $ac_header" >&58396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68397 if eval "test \"\${$as_ac_Header+set}\" = set"; then8398 echo $ECHO_N "(cached) $ECHO_C" >&68399 else8400 eval "$as_ac_Header=\$ac_header_preproc"8401 fi8402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68404 8405 fi8406 if test `eval echo '${'$as_ac_Header'}'` = yes; then8407 cat >>confdefs.h <<_ACEOF8408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18409 _ACEOF8410 8411 else8412 8413 for ac_header in SDL/SDL_ttf.h8414 do8415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8416 if eval "test \"\${$as_ac_Header+set}\" = set"; then8417 echo "$as_me:$LINENO: checking for $ac_header" >&58418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68419 if eval "test \"\${$as_ac_Header+set}\" = set"; then8420 echo $ECHO_N "(cached) $ECHO_C" >&68421 fi8422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68424 else8425 # Is the header compilable?8426 echo "$as_me:$LINENO: checking $ac_header usability" >&58427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68428 cat >conftest.$ac_ext <<_ACEOF8429 /* confdefs.h. */8430 _ACEOF8431 cat confdefs.h >>conftest.$ac_ext8432 cat >>conftest.$ac_ext <<_ACEOF8433 /* end confdefs.h. */8434 $ac_includes_default8435 #include <$ac_header>8436 _ACEOF8437 rm -f conftest.$ac_objext8438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58439 (eval $ac_compile) 2>conftest.er18440 ac_status=$?8441 grep -v '^ *+' conftest.er1 >conftest.err8442 rm -f conftest.er18443 cat conftest.err >&58444 echo "$as_me:$LINENO: \$? = $ac_status" >&58445 (exit $ac_status); } &&8446 { ac_try='test -z "$ac_c_werror_flag"8447 || test ! -s conftest.err'8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58449 (eval $ac_try) 2>&58450 ac_status=$?8451 echo "$as_me:$LINENO: \$? = $ac_status" >&58452 (exit $ac_status); }; } &&8453 { ac_try='test -s conftest.$ac_objext'8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58455 (eval $ac_try) 2>&58456 ac_status=$?8457 echo "$as_me:$LINENO: \$? = $ac_status" >&58458 (exit $ac_status); }; }; then8459 ac_header_compiler=yes8460 else8461 echo "$as_me: failed program was:" >&58462 sed 's/^/| /' conftest.$ac_ext >&58463 8464 ac_header_compiler=no8465 fi8466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58468 echo "${ECHO_T}$ac_header_compiler" >&68469 8470 # Is the header present?8471 echo "$as_me:$LINENO: checking $ac_header presence" >&58472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68473 cat >conftest.$ac_ext <<_ACEOF8474 /* confdefs.h. */8475 _ACEOF8476 cat confdefs.h >>conftest.$ac_ext8477 cat >>conftest.$ac_ext <<_ACEOF8478 /* end confdefs.h. */8479 #include <$ac_header>8480 _ACEOF8481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18483 ac_status=$?8484 grep -v '^ *+' conftest.er1 >conftest.err8485 rm -f conftest.er18486 cat conftest.err >&58487 echo "$as_me:$LINENO: \$? = $ac_status" >&58488 (exit $ac_status); } >/dev/null; then8489 if test -s conftest.err; then8490 ac_cpp_err=$ac_c_preproc_warn_flag8491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8492 else8493 ac_cpp_err=8494 fi8495 else8496 ac_cpp_err=yes8497 fi8498 if test -z "$ac_cpp_err"; then8499 ac_header_preproc=yes8500 else8501 echo "$as_me: failed program was:" >&58502 sed 's/^/| /' conftest.$ac_ext >&58503 8504 ac_header_preproc=no8505 fi8506 rm -f conftest.err conftest.$ac_ext8507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58508 echo "${ECHO_T}$ac_header_preproc" >&68509 8510 # So? What about this header?8511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8512 yes:no: )8513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8517 ac_header_preproc=yes8518 ;;8519 no:yes:* )8520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8532 (8533 cat <<\_ASBOX8534 ## ---------------------------------------------- ##8535 ## Report this to orxonox-dev at mail.datacore.ch ##8536 ## ---------------------------------------------- ##8537 _ASBOX8538 ) |8539 sed "s/^/$as_me: WARNING: /" >&28540 ;;8541 esac8542 echo "$as_me:$LINENO: checking for $ac_header" >&58543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68544 if eval "test \"\${$as_ac_Header+set}\" = set"; then8545 echo $ECHO_N "(cached) $ECHO_C" >&68546 else8547 eval "$as_ac_Header=\$ac_header_preproc"8548 fi8549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68551 8552 fi8553 if test `eval echo '${'$as_ac_Header'}'` = yes; then8554 cat >>confdefs.h <<_ACEOF8555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18556 _ACEOF8557 8558 else8559 { { echo "$as_me:$LINENO: error: cannot find SDL_ttf header." >&58560 echo "$as_me: error: cannot find SDL_ttf header." >&2;}8561 { (exit 1); exit 1; }; }8562 fi8563 8564 done8565 8566 fi8567 8568 done8569 8570 # checking for SDL_ttf-lib8571 echo "$as_me:$LINENO: checking for TTF_OpenFont in -lSDL_ttf" >&58572 echo $ECHO_N "checking for TTF_OpenFont in -lSDL_ttf... $ECHO_C" >&68573 if test "${ac_cv_lib_SDL_ttf_TTF_OpenFont+set}" = set; then8574 echo $ECHO_N "(cached) $ECHO_C" >&68575 else8576 ac_check_lib_save_LIBS=$LIBS8577 LIBS="-lSDL_ttf $LIBS"8578 cat >conftest.$ac_ext <<_ACEOF8579 /* confdefs.h. */8580 _ACEOF8581 cat confdefs.h >>conftest.$ac_ext8582 cat >>conftest.$ac_ext <<_ACEOF8583 /* end confdefs.h. */8584 8585 /* Override any gcc2 internal prototype to avoid an error. */8586 #ifdef __cplusplus8587 extern "C"8588 #endif8589 /* We use char because int might match the return type of a gcc28590 builtin and then its argument prototype would still apply. */8591 char TTF_OpenFont ();8592 int8593 main ()8594 {8595 TTF_OpenFont ();8596 ;8597 return 0;8598 }8599 _ACEOF8600 rm -f conftest.$ac_objext conftest$ac_exeext8601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&58602 (eval $ac_link) 2>conftest.er18603 ac_status=$?8604 grep -v '^ *+' conftest.er1 >conftest.err8605 rm -f conftest.er18606 cat conftest.err >&58607 echo "$as_me:$LINENO: \$? = $ac_status" >&58608 (exit $ac_status); } &&8609 { ac_try='test -z "$ac_c_werror_flag"8610 || test ! -s conftest.err'8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58612 (eval $ac_try) 2>&58613 ac_status=$?8614 echo "$as_me:$LINENO: \$? = $ac_status" >&58615 (exit $ac_status); }; } &&8616 { ac_try='test -s conftest$ac_exeext'8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58618 (eval $ac_try) 2>&58619 ac_status=$?8620 echo "$as_me:$LINENO: \$? = $ac_status" >&58621 (exit $ac_status); }; }; then8622 ac_cv_lib_SDL_ttf_TTF_OpenFont=yes8623 else8624 echo "$as_me: failed program was:" >&58625 sed 's/^/| /' conftest.$ac_ext >&58626 8627 ac_cv_lib_SDL_ttf_TTF_OpenFont=no8628 fi8629 rm -f conftest.err conftest.$ac_objext \8630 conftest$ac_exeext conftest.$ac_ext8631 LIBS=$ac_check_lib_save_LIBS8632 fi8633 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_OpenFont" >&58634 echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&68635 if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then8636 FOUND_SDL_ttf=yes; LIBS="$LIBS -lSDL_ttf"8637 fi8638 8639 if test x$FOUND_SDL_ttf != xyes ; then8640 echo "------------------"8641 echo "SDL_ttf library not found."8642 echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"8643 echo "------------------"8644 exit -18645 fi8646 8647 #-----------#8648 # SDL_Image #8649 #-----------#8650 # checking for SDL_image-headers8651 8652 for ac_header in SDL_image.h8653 do8654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8655 if eval "test \"\${$as_ac_Header+set}\" = set"; then8656 echo "$as_me:$LINENO: checking for $ac_header" >&58657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68658 if eval "test \"\${$as_ac_Header+set}\" = set"; then8659 echo $ECHO_N "(cached) $ECHO_C" >&68660 fi8661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68663 else8664 # Is the header compilable?8665 echo "$as_me:$LINENO: checking $ac_header usability" >&58666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68667 cat >conftest.$ac_ext <<_ACEOF8668 /* confdefs.h. */8669 _ACEOF8670 cat confdefs.h >>conftest.$ac_ext8671 cat >>conftest.$ac_ext <<_ACEOF8672 /* end confdefs.h. */8673 $ac_includes_default8674 #include <$ac_header>8675 _ACEOF8676 rm -f conftest.$ac_objext8677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58678 (eval $ac_compile) 2>conftest.er18679 ac_status=$?8680 grep -v '^ *+' conftest.er1 >conftest.err8681 rm -f conftest.er18682 cat conftest.err >&58683 echo "$as_me:$LINENO: \$? = $ac_status" >&58684 (exit $ac_status); } &&8685 { ac_try='test -z "$ac_c_werror_flag"8686 || test ! -s conftest.err'8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58688 (eval $ac_try) 2>&58689 ac_status=$?8690 echo "$as_me:$LINENO: \$? = $ac_status" >&58691 (exit $ac_status); }; } &&8692 { ac_try='test -s conftest.$ac_objext'8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58694 (eval $ac_try) 2>&58695 ac_status=$?8696 echo "$as_me:$LINENO: \$? = $ac_status" >&58697 (exit $ac_status); }; }; then8698 ac_header_compiler=yes8699 else8700 echo "$as_me: failed program was:" >&58701 sed 's/^/| /' conftest.$ac_ext >&58702 8703 ac_header_compiler=no8704 fi8705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58707 echo "${ECHO_T}$ac_header_compiler" >&68708 8709 # Is the header present?8710 echo "$as_me:$LINENO: checking $ac_header presence" >&58711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68712 cat >conftest.$ac_ext <<_ACEOF8713 /* confdefs.h. */8714 _ACEOF8715 cat confdefs.h >>conftest.$ac_ext8716 cat >>conftest.$ac_ext <<_ACEOF8717 /* end confdefs.h. */8718 #include <$ac_header>8719 _ACEOF8720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18722 ac_status=$?8723 grep -v '^ *+' conftest.er1 >conftest.err8724 rm -f conftest.er18725 cat conftest.err >&58726 echo "$as_me:$LINENO: \$? = $ac_status" >&58727 (exit $ac_status); } >/dev/null; then8728 if test -s conftest.err; then8729 ac_cpp_err=$ac_c_preproc_warn_flag8730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8731 else8732 ac_cpp_err=8733 fi8734 else8735 ac_cpp_err=yes8736 fi8737 if test -z "$ac_cpp_err"; then8738 ac_header_preproc=yes8739 else8740 echo "$as_me: failed program was:" >&58741 sed 's/^/| /' conftest.$ac_ext >&58742 8743 ac_header_preproc=no8744 fi8745 rm -f conftest.err conftest.$ac_ext8746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58747 echo "${ECHO_T}$ac_header_preproc" >&68748 8749 # So? What about this header?8750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8751 yes:no: )8752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8756 ac_header_preproc=yes8757 ;;8758 no:yes:* )8759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8771 (8772 cat <<\_ASBOX8773 ## ---------------------------------------------- ##8774 ## Report this to orxonox-dev at mail.datacore.ch ##8775 ## ---------------------------------------------- ##8776 _ASBOX8777 ) |8778 sed "s/^/$as_me: WARNING: /" >&28779 ;;8780 esac8781 echo "$as_me:$LINENO: checking for $ac_header" >&58782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68783 if eval "test \"\${$as_ac_Header+set}\" = set"; then8784 echo $ECHO_N "(cached) $ECHO_C" >&68785 else8786 eval "$as_ac_Header=\$ac_header_preproc"8787 fi8788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68790 8791 fi8792 if test `eval echo '${'$as_ac_Header'}'` = yes; then8793 cat >>confdefs.h <<_ACEOF8794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18795 _ACEOF8796 8797 else8798 8799 for ac_header in SDL/SDL_image.h8800 do8801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`8802 if eval "test \"\${$as_ac_Header+set}\" = set"; then8803 echo "$as_me:$LINENO: checking for $ac_header" >&58804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68805 if eval "test \"\${$as_ac_Header+set}\" = set"; then8806 echo $ECHO_N "(cached) $ECHO_C" >&68807 fi8808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68810 else8811 # Is the header compilable?8812 echo "$as_me:$LINENO: checking $ac_header usability" >&58813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&68814 cat >conftest.$ac_ext <<_ACEOF8815 /* confdefs.h. */8816 _ACEOF8817 cat confdefs.h >>conftest.$ac_ext8818 cat >>conftest.$ac_ext <<_ACEOF8819 /* end confdefs.h. */8820 $ac_includes_default8821 #include <$ac_header>8822 _ACEOF8823 rm -f conftest.$ac_objext8824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&58825 (eval $ac_compile) 2>conftest.er18826 ac_status=$?8827 grep -v '^ *+' conftest.er1 >conftest.err8828 rm -f conftest.er18829 cat conftest.err >&58830 echo "$as_me:$LINENO: \$? = $ac_status" >&58831 (exit $ac_status); } &&8832 { ac_try='test -z "$ac_c_werror_flag"8833 || test ! -s conftest.err'8834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58835 (eval $ac_try) 2>&58836 ac_status=$?8837 echo "$as_me:$LINENO: \$? = $ac_status" >&58838 (exit $ac_status); }; } &&8839 { ac_try='test -s conftest.$ac_objext'8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58841 (eval $ac_try) 2>&58842 ac_status=$?8843 echo "$as_me:$LINENO: \$? = $ac_status" >&58844 (exit $ac_status); }; }; then8845 ac_header_compiler=yes8846 else8847 echo "$as_me: failed program was:" >&58848 sed 's/^/| /' conftest.$ac_ext >&58849 8850 ac_header_compiler=no8851 fi8852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext8853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&58854 echo "${ECHO_T}$ac_header_compiler" >&68855 8856 # Is the header present?8857 echo "$as_me:$LINENO: checking $ac_header presence" >&58858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&68859 cat >conftest.$ac_ext <<_ACEOF8860 /* confdefs.h. */8861 _ACEOF8862 cat confdefs.h >>conftest.$ac_ext8863 cat >>conftest.$ac_ext <<_ACEOF8864 /* end confdefs.h. */8865 #include <$ac_header>8866 _ACEOF8867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&58868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er18869 ac_status=$?8870 grep -v '^ *+' conftest.er1 >conftest.err8871 rm -f conftest.er18872 cat conftest.err >&58873 echo "$as_me:$LINENO: \$? = $ac_status" >&58874 (exit $ac_status); } >/dev/null; then8875 if test -s conftest.err; then8876 ac_cpp_err=$ac_c_preproc_warn_flag8877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag8878 else8879 ac_cpp_err=8880 fi8881 else8882 ac_cpp_err=yes8883 fi8884 if test -z "$ac_cpp_err"; then8885 ac_header_preproc=yes8886 else8887 echo "$as_me: failed program was:" >&58888 sed 's/^/| /' conftest.$ac_ext >&58889 8890 ac_header_preproc=no8891 fi8892 rm -f conftest.err conftest.$ac_ext8893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&58894 echo "${ECHO_T}$ac_header_preproc" >&68895 8896 # So? What about this header?8897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in8898 yes:no: )8899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&58900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}8901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&58902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}8903 ac_header_preproc=yes8904 ;;8905 no:yes:* )8906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&58907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}8908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&58909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}8910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&58911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}8912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&58913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}8914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&58915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}8916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&58917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}8918 (8919 cat <<\_ASBOX8920 ## ---------------------------------------------- ##8921 ## Report this to orxonox-dev at mail.datacore.ch ##8922 ## ---------------------------------------------- ##8923 _ASBOX8924 ) |8925 sed "s/^/$as_me: WARNING: /" >&28926 ;;8927 esac8928 echo "$as_me:$LINENO: checking for $ac_header" >&58929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&68930 if eval "test \"\${$as_ac_Header+set}\" = set"; then8931 echo $ECHO_N "(cached) $ECHO_C" >&68932 else8933 eval "$as_ac_Header=\$ac_header_preproc"8934 fi8935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&58936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&68937 8938 fi8939 if test `eval echo '${'$as_ac_Header'}'` = yes; then8940 cat >>confdefs.h <<_ACEOF8941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 18942 _ACEOF8943 8944 else8945 { { echo "$as_me:$LINENO: error: SDL_image header not found." >&58946 echo "$as_me: error: SDL_image header not found." >&2;}8947 { (exit 1); exit 1; }; }8948 fi8949 8950 done8951 8952 fi8953 8954 done8955 8956 # checking for SDL_image-lib8957 echo "$as_me:$LINENO: checking for main in -lSDL_image" >&58958 echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&68959 if test "${ac_cv_lib_SDL_image_main+set}" = set; then8960 echo $ECHO_N "(cached) $ECHO_C" >&68961 else8962 ac_check_lib_save_LIBS=$LIBS8963 LIBS="-lSDL_image $LIBS"8964 cat >conftest.$ac_ext <<_ACEOF8965 /* confdefs.h. */8966 _ACEOF8967 cat confdefs.h >>conftest.$ac_ext8968 cat >>conftest.$ac_ext <<_ACEOF8969 /* end confdefs.h. */8970 8971 8972 int8973 main ()8974 {8975 main ();8976 ;8977 return 0;8978 }8979 _ACEOF8980 rm -f conftest.$ac_objext conftest$ac_exeext8981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&58982 (eval $ac_link) 2>conftest.er18983 ac_status=$?8984 grep -v '^ *+' conftest.er1 >conftest.err8985 rm -f conftest.er18986 cat conftest.err >&58987 echo "$as_me:$LINENO: \$? = $ac_status" >&58988 (exit $ac_status); } &&8989 { ac_try='test -z "$ac_c_werror_flag"8990 || test ! -s conftest.err'8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58992 (eval $ac_try) 2>&58993 ac_status=$?8994 echo "$as_me:$LINENO: \$? = $ac_status" >&58995 (exit $ac_status); }; } &&8996 { ac_try='test -s conftest$ac_exeext'8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&58998 (eval $ac_try) 2>&58999 ac_status=$?9000 echo "$as_me:$LINENO: \$? = $ac_status" >&59001 (exit $ac_status); }; }; then9002 ac_cv_lib_SDL_image_main=yes9003 else9004 echo "$as_me: failed program was:" >&59005 sed 's/^/| /' conftest.$ac_ext >&59006 9007 ac_cv_lib_SDL_image_main=no9008 fi9009 rm -f conftest.err conftest.$ac_objext \9010 conftest$ac_exeext conftest.$ac_ext9011 LIBS=$ac_check_lib_save_LIBS9012 fi9013 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&59014 echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&69015 if test $ac_cv_lib_SDL_image_main = yes; then9016 FOUND_SDL_image=yes; LIBS="$LIBS -lSDL_image"9017 fi9018 9019 if test x$FOUND_SDL_image != xyes ; then9020 echo "------------------"9021 echo "SDL_image library not found."9022 echo "please install the SDL_image library, which can be found at http://www.l ibsdl.org/projects/SDL_image/"9023 echo "------------------"9024 exit -19025 fi9026 9027 #-----#9028 # ogg #9029 #-----#9030 # checking for ogg-headers9031 9032 for ac_header in ogg/ogg.h9033 do9034 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`9035 if eval "test \"\${$as_ac_Header+set}\" = set"; then9036 echo "$as_me:$LINENO: checking for $ac_header" >&59037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69038 if eval "test \"\${$as_ac_Header+set}\" = set"; then9039 echo $ECHO_N "(cached) $ECHO_C" >&69040 fi9041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69043 else9044 # Is the header compilable?9045 echo "$as_me:$LINENO: checking $ac_header usability" >&59046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&69047 cat >conftest.$ac_ext <<_ACEOF9048 /* confdefs.h. */9049 _ACEOF9050 cat confdefs.h >>conftest.$ac_ext9051 cat >>conftest.$ac_ext <<_ACEOF9052 /* end confdefs.h. */9053 $ac_includes_default9054 #include <$ac_header>9055 _ACEOF9056 rm -f conftest.$ac_objext9057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&59058 (eval $ac_compile) 2>conftest.er19059 ac_status=$?9060 grep -v '^ *+' conftest.er1 >conftest.err9061 rm -f conftest.er19062 cat conftest.err >&59063 echo "$as_me:$LINENO: \$? = $ac_status" >&59064 (exit $ac_status); } &&9065 { ac_try='test -z "$ac_c_werror_flag"9066 || test ! -s conftest.err'9067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59068 (eval $ac_try) 2>&59069 ac_status=$?9070 echo "$as_me:$LINENO: \$? = $ac_status" >&59071 (exit $ac_status); }; } &&9072 { ac_try='test -s conftest.$ac_objext'9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59074 (eval $ac_try) 2>&59075 ac_status=$?9076 echo "$as_me:$LINENO: \$? = $ac_status" >&59077 (exit $ac_status); }; }; then9078 ac_header_compiler=yes9079 else9080 echo "$as_me: failed program was:" >&59081 sed 's/^/| /' conftest.$ac_ext >&59082 9083 ac_header_compiler=no9084 fi9085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext9086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&59087 echo "${ECHO_T}$ac_header_compiler" >&69088 9089 # Is the header present?9090 echo "$as_me:$LINENO: checking $ac_header presence" >&59091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&69092 cat >conftest.$ac_ext <<_ACEOF9093 /* confdefs.h. */9094 _ACEOF9095 cat confdefs.h >>conftest.$ac_ext9096 cat >>conftest.$ac_ext <<_ACEOF9097 /* end confdefs.h. */9098 #include <$ac_header>9099 _ACEOF9100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&59101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er19102 ac_status=$?9103 grep -v '^ *+' conftest.er1 >conftest.err9104 rm -f conftest.er19105 cat conftest.err >&59106 echo "$as_me:$LINENO: \$? = $ac_status" >&59107 (exit $ac_status); } >/dev/null; then9108 if test -s conftest.err; then9109 ac_cpp_err=$ac_c_preproc_warn_flag9110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag9111 else9112 ac_cpp_err=9113 fi9114 else9115 ac_cpp_err=yes9116 fi9117 if test -z "$ac_cpp_err"; then9118 ac_header_preproc=yes9119 else9120 echo "$as_me: failed program was:" >&59121 sed 's/^/| /' conftest.$ac_ext >&59122 9123 ac_header_preproc=no9124 fi9125 rm -f conftest.err conftest.$ac_ext9126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&59127 echo "${ECHO_T}$ac_header_preproc" >&69128 9129 # So? What about this header?9130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in9131 yes:no: )9132 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59135 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9136 ac_header_preproc=yes9137 ;;9138 no:yes:* )9139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9143 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59144 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9145 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59146 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9149 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59150 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9151 (9152 cat <<\_ASBOX9153 ## ---------------------------------------------- ##9154 ## Report this to orxonox-dev at mail.datacore.ch ##9155 ## ---------------------------------------------- ##9156 _ASBOX9157 ) |9158 sed "s/^/$as_me: WARNING: /" >&29159 ;;9160 esac9161 echo "$as_me:$LINENO: checking for $ac_header" >&59162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69163 if eval "test \"\${$as_ac_Header+set}\" = set"; then9164 echo $ECHO_N "(cached) $ECHO_C" >&69165 else9166 eval "$as_ac_Header=\$ac_header_preproc"9167 fi9168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69170 9171 fi9172 if test `eval echo '${'$as_ac_Header'}'` = yes; then9173 cat >>confdefs.h <<_ACEOF9174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 19175 _ACEOF9176 9177 else9178 { { echo "$as_me:$LINENO: error: cannot find ogg header." >&59179 echo "$as_me: error: cannot find ogg header." >&2;}9180 { (exit 1); exit 1; }; }9181 fi9182 9183 done9184 9185 # checking for ogg-lib9186 echo "$as_me:$LINENO: checking for main in -logg" >&59187 echo $ECHO_N "checking for main in -logg... $ECHO_C" >&69188 if test "${ac_cv_lib_ogg_main+set}" = set; then9189 echo $ECHO_N "(cached) $ECHO_C" >&69190 else9191 ac_check_lib_save_LIBS=$LIBS9192 LIBS="-logg $LIBS"9193 cat >conftest.$ac_ext <<_ACEOF9194 /* confdefs.h. */9195 _ACEOF9196 cat confdefs.h >>conftest.$ac_ext9197 cat >>conftest.$ac_ext <<_ACEOF9198 /* end confdefs.h. */9199 9200 9201 int9202 main ()9203 {9204 main ();9205 ;9206 return 0;9207 }9208 _ACEOF9209 rm -f conftest.$ac_objext conftest$ac_exeext9210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59211 (eval $ac_link) 2>conftest.er19212 ac_status=$?9213 grep -v '^ *+' conftest.er1 >conftest.err9214 rm -f conftest.er19215 cat conftest.err >&59216 echo "$as_me:$LINENO: \$? = $ac_status" >&59217 (exit $ac_status); } &&9218 { ac_try='test -z "$ac_c_werror_flag"9219 || test ! -s conftest.err'9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59221 (eval $ac_try) 2>&59222 ac_status=$?9223 echo "$as_me:$LINENO: \$? = $ac_status" >&59224 (exit $ac_status); }; } &&9225 { ac_try='test -s conftest$ac_exeext'9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59227 (eval $ac_try) 2>&59228 ac_status=$?9229 echo "$as_me:$LINENO: \$? = $ac_status" >&59230 (exit $ac_status); }; }; then9231 ac_cv_lib_ogg_main=yes9232 else9233 echo "$as_me: failed program was:" >&59234 sed 's/^/| /' conftest.$ac_ext >&59235 9236 ac_cv_lib_ogg_main=no9237 fi9238 rm -f conftest.err conftest.$ac_objext \9239 conftest$ac_exeext conftest.$ac_ext9240 LIBS=$ac_check_lib_save_LIBS9241 fi9242 echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_main" >&59243 echo "${ECHO_T}$ac_cv_lib_ogg_main" >&69244 if test $ac_cv_lib_ogg_main = yes; then9245 FOUND_ogg=yes; LIBS="$LIBS -logg"9246 fi9247 9248 if test x$FOUND_ogg != xyes ; then9249 echo "------------------"9250 echo "ogg library not found."9251 echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"9252 echo "------------------"9253 exit -19254 fi9255 9256 #--------#9257 # vorbis #9258 #--------#9259 # checking for vorbis-lib9260 echo "$as_me:$LINENO: checking for main in -lvorbis" >&59261 echo $ECHO_N "checking for main in -lvorbis... $ECHO_C" >&69262 if test "${ac_cv_lib_vorbis_main+set}" = set; then9263 echo $ECHO_N "(cached) $ECHO_C" >&69264 else9265 ac_check_lib_save_LIBS=$LIBS9266 LIBS="-lvorbis $LIBS"9267 cat >conftest.$ac_ext <<_ACEOF9268 /* confdefs.h. */9269 _ACEOF9270 cat confdefs.h >>conftest.$ac_ext9271 cat >>conftest.$ac_ext <<_ACEOF9272 /* end confdefs.h. */9273 9274 9275 int9276 main ()9277 {9278 main ();9279 ;9280 return 0;9281 }9282 _ACEOF9283 rm -f conftest.$ac_objext conftest$ac_exeext9284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59285 (eval $ac_link) 2>conftest.er19286 ac_status=$?9287 grep -v '^ *+' conftest.er1 >conftest.err9288 rm -f conftest.er19289 cat conftest.err >&59290 echo "$as_me:$LINENO: \$? = $ac_status" >&59291 (exit $ac_status); } &&9292 { ac_try='test -z "$ac_c_werror_flag"9293 || test ! -s conftest.err'9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59295 (eval $ac_try) 2>&59296 ac_status=$?9297 echo "$as_me:$LINENO: \$? = $ac_status" >&59298 (exit $ac_status); }; } &&9299 { ac_try='test -s conftest$ac_exeext'9300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59301 (eval $ac_try) 2>&59302 ac_status=$?9303 echo "$as_me:$LINENO: \$? = $ac_status" >&59304 (exit $ac_status); }; }; then9305 ac_cv_lib_vorbis_main=yes9306 else9307 echo "$as_me: failed program was:" >&59308 sed 's/^/| /' conftest.$ac_ext >&59309 9310 ac_cv_lib_vorbis_main=no9311 fi9312 rm -f conftest.err conftest.$ac_objext \9313 conftest$ac_exeext conftest.$ac_ext9314 LIBS=$ac_check_lib_save_LIBS9315 fi9316 echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_main" >&59317 echo "${ECHO_T}$ac_cv_lib_vorbis_main" >&69318 if test $ac_cv_lib_vorbis_main = yes; then9319 FOUND_vorbis=yes; LIBS="$LIBS -lvorbis"9320 fi9321 9322 if test x$FOUND_vorbis != xyes ; then9323 echo "------------------"9324 echo "vorbis library not found."9325 echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"9326 echo "------------------"9327 exit -19328 fi9329 9330 #------------#9331 # vorbisfile #9332 #------------#9333 # checking for vorbis-headers9334 9335 for ac_header in vorbis/vorbisfile.h9336 do9337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`9338 if eval "test \"\${$as_ac_Header+set}\" = set"; then9339 echo "$as_me:$LINENO: checking for $ac_header" >&59340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69341 if eval "test \"\${$as_ac_Header+set}\" = set"; then9342 echo $ECHO_N "(cached) $ECHO_C" >&69343 fi9344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69346 else9347 # Is the header compilable?9348 echo "$as_me:$LINENO: checking $ac_header usability" >&59349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&69350 cat >conftest.$ac_ext <<_ACEOF9351 /* confdefs.h. */9352 _ACEOF9353 cat confdefs.h >>conftest.$ac_ext9354 cat >>conftest.$ac_ext <<_ACEOF9355 /* end confdefs.h. */9356 $ac_includes_default9357 #include <$ac_header>9358 _ACEOF9359 rm -f conftest.$ac_objext9360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&59361 (eval $ac_compile) 2>conftest.er19362 ac_status=$?9363 grep -v '^ *+' conftest.er1 >conftest.err9364 rm -f conftest.er19365 cat conftest.err >&59366 echo "$as_me:$LINENO: \$? = $ac_status" >&59367 (exit $ac_status); } &&9368 { ac_try='test -z "$ac_c_werror_flag"9369 || test ! -s conftest.err'9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59371 (eval $ac_try) 2>&59372 ac_status=$?9373 echo "$as_me:$LINENO: \$? = $ac_status" >&59374 (exit $ac_status); }; } &&9375 { ac_try='test -s conftest.$ac_objext'9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59377 (eval $ac_try) 2>&59378 ac_status=$?9379 echo "$as_me:$LINENO: \$? = $ac_status" >&59380 (exit $ac_status); }; }; then9381 ac_header_compiler=yes9382 else9383 echo "$as_me: failed program was:" >&59384 sed 's/^/| /' conftest.$ac_ext >&59385 9386 ac_header_compiler=no9387 fi9388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext9389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&59390 echo "${ECHO_T}$ac_header_compiler" >&69391 9392 # Is the header present?9393 echo "$as_me:$LINENO: checking $ac_header presence" >&59394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&69395 cat >conftest.$ac_ext <<_ACEOF9396 /* confdefs.h. */9397 _ACEOF9398 cat confdefs.h >>conftest.$ac_ext9399 cat >>conftest.$ac_ext <<_ACEOF9400 /* end confdefs.h. */9401 #include <$ac_header>9402 _ACEOF9403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&59404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er19405 ac_status=$?9406 grep -v '^ *+' conftest.er1 >conftest.err9407 rm -f conftest.er19408 cat conftest.err >&59409 echo "$as_me:$LINENO: \$? = $ac_status" >&59410 (exit $ac_status); } >/dev/null; then9411 if test -s conftest.err; then9412 ac_cpp_err=$ac_c_preproc_warn_flag9413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag9414 else9415 ac_cpp_err=9416 fi9417 else9418 ac_cpp_err=yes9419 fi9420 if test -z "$ac_cpp_err"; then9421 ac_header_preproc=yes9422 else9423 echo "$as_me: failed program was:" >&59424 sed 's/^/| /' conftest.$ac_ext >&59425 9426 ac_header_preproc=no9427 fi9428 rm -f conftest.err conftest.$ac_ext9429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&59430 echo "${ECHO_T}$ac_header_preproc" >&69431 9432 # So? What about this header?9433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in9434 yes:no: )9435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9439 ac_header_preproc=yes9440 ;;9441 no:yes:* )9442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9454 (9455 cat <<\_ASBOX9456 ## ---------------------------------------------- ##9457 ## Report this to orxonox-dev at mail.datacore.ch ##9458 ## ---------------------------------------------- ##9459 _ASBOX9460 ) |9461 sed "s/^/$as_me: WARNING: /" >&29462 ;;9463 esac9464 echo "$as_me:$LINENO: checking for $ac_header" >&59465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69466 if eval "test \"\${$as_ac_Header+set}\" = set"; then9467 echo $ECHO_N "(cached) $ECHO_C" >&69468 else9469 eval "$as_ac_Header=\$ac_header_preproc"9470 fi9471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69473 9474 fi9475 if test `eval echo '${'$as_ac_Header'}'` = yes; then9476 cat >>confdefs.h <<_ACEOF9477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 19478 _ACEOF9479 9480 else9481 { { echo "$as_me:$LINENO: error: cannot find vorbisfile header." >&59482 echo "$as_me: error: cannot find vorbisfile header." >&2;}9483 { (exit 1); exit 1; }; }9484 fi9485 9486 done9487 9488 # checking for vorbisfile-lib9489 echo "$as_me:$LINENO: checking for main in -lvorbisfile" >&59490 echo $ECHO_N "checking for main in -lvorbisfile... $ECHO_C" >&69491 if test "${ac_cv_lib_vorbisfile_main+set}" = set; then9492 echo $ECHO_N "(cached) $ECHO_C" >&69493 else9494 ac_check_lib_save_LIBS=$LIBS9495 LIBS="-lvorbisfile $LIBS"9496 cat >conftest.$ac_ext <<_ACEOF9497 /* confdefs.h. */9498 _ACEOF9499 cat confdefs.h >>conftest.$ac_ext9500 cat >>conftest.$ac_ext <<_ACEOF9501 /* end confdefs.h. */9502 9503 9504 int9505 main ()9506 {9507 main ();9508 ;9509 return 0;9510 }9511 _ACEOF9512 rm -f conftest.$ac_objext conftest$ac_exeext9513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59514 (eval $ac_link) 2>conftest.er19515 ac_status=$?9516 grep -v '^ *+' conftest.er1 >conftest.err9517 rm -f conftest.er19518 cat conftest.err >&59519 echo "$as_me:$LINENO: \$? = $ac_status" >&59520 (exit $ac_status); } &&9521 { ac_try='test -z "$ac_c_werror_flag"9522 || test ! -s conftest.err'9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59524 (eval $ac_try) 2>&59525 ac_status=$?9526 echo "$as_me:$LINENO: \$? = $ac_status" >&59527 (exit $ac_status); }; } &&9528 { ac_try='test -s conftest$ac_exeext'9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59530 (eval $ac_try) 2>&59531 ac_status=$?9532 echo "$as_me:$LINENO: \$? = $ac_status" >&59533 (exit $ac_status); }; }; then9534 ac_cv_lib_vorbisfile_main=yes9535 else9536 echo "$as_me: failed program was:" >&59537 sed 's/^/| /' conftest.$ac_ext >&59538 9539 ac_cv_lib_vorbisfile_main=no9540 fi9541 rm -f conftest.err conftest.$ac_objext \9542 conftest$ac_exeext conftest.$ac_ext9543 LIBS=$ac_check_lib_save_LIBS9544 fi9545 echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_main" >&59546 echo "${ECHO_T}$ac_cv_lib_vorbisfile_main" >&69547 if test $ac_cv_lib_vorbisfile_main = yes; then9548 FOUND_vorbisfile=yes; LIBS="$LIBS -lvorbisfile"9549 fi9550 9551 if test x$FOUND_vorbisfile != xyes ; then9552 echo "------------------"9553 echo "vorbisfile library not found."9554 echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"9555 echo "------------------"9556 exit -19557 fi9558 9559 9560 #---------#9561 # libcURL #9562 #---------#9563 if test x$def_curl = xyes; then9564 9565 for ac_header in curl/curl.h9566 do9567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`9568 if eval "test \"\${$as_ac_Header+set}\" = set"; then9569 echo "$as_me:$LINENO: checking for $ac_header" >&59570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69571 if eval "test \"\${$as_ac_Header+set}\" = set"; then9572 echo $ECHO_N "(cached) $ECHO_C" >&69573 fi9574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69576 else9577 # Is the header compilable?9578 echo "$as_me:$LINENO: checking $ac_header usability" >&59579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&69580 cat >conftest.$ac_ext <<_ACEOF9581 /* confdefs.h. */9582 _ACEOF9583 cat confdefs.h >>conftest.$ac_ext9584 cat >>conftest.$ac_ext <<_ACEOF9585 /* end confdefs.h. */9586 $ac_includes_default9587 #include <$ac_header>9588 _ACEOF9589 rm -f conftest.$ac_objext9590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&59591 (eval $ac_compile) 2>conftest.er19592 ac_status=$?9593 grep -v '^ *+' conftest.er1 >conftest.err9594 rm -f conftest.er19595 cat conftest.err >&59596 echo "$as_me:$LINENO: \$? = $ac_status" >&59597 (exit $ac_status); } &&9598 { ac_try='test -z "$ac_c_werror_flag"9599 || test ! -s conftest.err'9600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59601 (eval $ac_try) 2>&59602 ac_status=$?9603 echo "$as_me:$LINENO: \$? = $ac_status" >&59604 (exit $ac_status); }; } &&9605 { ac_try='test -s conftest.$ac_objext'9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59607 (eval $ac_try) 2>&59608 ac_status=$?9609 echo "$as_me:$LINENO: \$? = $ac_status" >&59610 (exit $ac_status); }; }; then9611 ac_header_compiler=yes9612 else9613 echo "$as_me: failed program was:" >&59614 sed 's/^/| /' conftest.$ac_ext >&59615 9616 ac_header_compiler=no9617 fi9618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext9619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&59620 echo "${ECHO_T}$ac_header_compiler" >&69621 9622 # Is the header present?9623 echo "$as_me:$LINENO: checking $ac_header presence" >&59624 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&69625 cat >conftest.$ac_ext <<_ACEOF9626 /* confdefs.h. */9627 _ACEOF9628 cat confdefs.h >>conftest.$ac_ext9629 cat >>conftest.$ac_ext <<_ACEOF9630 /* end confdefs.h. */9631 #include <$ac_header>9632 _ACEOF9633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&59634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er19635 ac_status=$?9636 grep -v '^ *+' conftest.er1 >conftest.err9637 rm -f conftest.er19638 cat conftest.err >&59639 echo "$as_me:$LINENO: \$? = $ac_status" >&59640 (exit $ac_status); } >/dev/null; then9641 if test -s conftest.err; then9642 ac_cpp_err=$ac_c_preproc_warn_flag9643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag9644 else9645 ac_cpp_err=9646 fi9647 else9648 ac_cpp_err=yes9649 fi9650 if test -z "$ac_cpp_err"; then9651 ac_header_preproc=yes9652 else9653 echo "$as_me: failed program was:" >&59654 sed 's/^/| /' conftest.$ac_ext >&59655 9656 ac_header_preproc=no9657 fi9658 rm -f conftest.err conftest.$ac_ext9659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&59660 echo "${ECHO_T}$ac_header_preproc" >&69661 9662 # So? What about this header?9663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in9664 yes:no: )9665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&59666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}9667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&59668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}9669 ac_header_preproc=yes9670 ;;9671 no:yes:* )9672 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&59673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}9674 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&59675 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}9676 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&59677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}9678 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&59679 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}9680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&59681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}9682 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&59683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}9684 (9685 cat <<\_ASBOX9686 ## ---------------------------------------------- ##9687 ## Report this to orxonox-dev at mail.datacore.ch ##9688 ## ---------------------------------------------- ##9689 _ASBOX9690 ) |9691 sed "s/^/$as_me: WARNING: /" >&29692 ;;9693 esac9694 echo "$as_me:$LINENO: checking for $ac_header" >&59695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&69696 if eval "test \"\${$as_ac_Header+set}\" = set"; then9697 echo $ECHO_N "(cached) $ECHO_C" >&69698 else9699 eval "$as_ac_Header=\$ac_header_preproc"9700 fi9701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&59702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&69703 9704 fi9705 if test `eval echo '${'$as_ac_Header'}'` = yes; then9706 cat >>confdefs.h <<_ACEOF9707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 19708 _ACEOF9709 curlHeader=yes9710 else9711 curlHeader=no9712 fi9713 9714 done9715 9716 echo "$as_me:$LINENO: checking for main in -lcurl" >&59717 echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&69718 if test "${ac_cv_lib_curl_main+set}" = set; then9719 echo $ECHO_N "(cached) $ECHO_C" >&69720 else9721 ac_check_lib_save_LIBS=$LIBS9722 LIBS="-lcurl $LIBS"9723 cat >conftest.$ac_ext <<_ACEOF9724 /* confdefs.h. */9725 _ACEOF9726 cat confdefs.h >>conftest.$ac_ext9727 cat >>conftest.$ac_ext <<_ACEOF9728 /* end confdefs.h. */9729 9730 9731 int9732 main ()9733 {9734 main ();9735 ;9736 return 0;9737 }9738 _ACEOF9739 rm -f conftest.$ac_objext conftest$ac_exeext9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59741 (eval $ac_link) 2>conftest.er19742 ac_status=$?9743 grep -v '^ *+' conftest.er1 >conftest.err9744 rm -f conftest.er19745 cat conftest.err >&59746 echo "$as_me:$LINENO: \$? = $ac_status" >&59747 (exit $ac_status); } &&9748 { ac_try='test -z "$ac_c_werror_flag"9749 || test ! -s conftest.err'9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59751 (eval $ac_try) 2>&59752 ac_status=$?9753 echo "$as_me:$LINENO: \$? = $ac_status" >&59754 (exit $ac_status); }; } &&9755 { ac_try='test -s conftest$ac_exeext'9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59757 (eval $ac_try) 2>&59758 ac_status=$?9759 echo "$as_me:$LINENO: \$? = $ac_status" >&59760 (exit $ac_status); }; }; then9761 ac_cv_lib_curl_main=yes9762 else9763 echo "$as_me: failed program was:" >&59764 sed 's/^/| /' conftest.$ac_ext >&59765 9766 ac_cv_lib_curl_main=no9767 fi9768 rm -f conftest.err conftest.$ac_objext \9769 conftest$ac_exeext conftest.$ac_ext9770 LIBS=$ac_check_lib_save_LIBS9771 fi9772 echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&59773 echo "${ECHO_T}$ac_cv_lib_curl_main" >&69774 if test $ac_cv_lib_curl_main = yes; then9775 FOUND_curl=yes9776 fi9777 9778 if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then9779 have_curl=yes9780 CURL_LIBS=`curl-config --libs`9781 CURLCFLAGS=`curl-config --cflags`9782 9783 cat >>confdefs.h <<_ACEOF9784 #define HAVE_CURL 19785 _ACEOF9786 9787 else9788 have_curl=no9789 fi9790 9791 fi9792 9793 9794 9795 9796 if test x$have_curl = xyes; then9797 HAVE_CURL_TRUE=9798 HAVE_CURL_FALSE='#'9799 else9800 HAVE_CURL_TRUE='#'9801 HAVE_CURL_FALSE=9802 fi9803 9804 9805 #--------#9806 # efence #9807 #--------#9808 if test x$def_efence = xyes ; then9809 echo "$as_me:$LINENO: checking for main in -lefence" >&59810 echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&69811 if test "${ac_cv_lib_efence_main+set}" = set; then9812 echo $ECHO_N "(cached) $ECHO_C" >&69813 else9814 ac_check_lib_save_LIBS=$LIBS9815 LIBS="-lefence $LIBS"9816 cat >conftest.$ac_ext <<_ACEOF9817 /* confdefs.h. */9818 _ACEOF9819 cat confdefs.h >>conftest.$ac_ext9820 cat >>conftest.$ac_ext <<_ACEOF9821 /* end confdefs.h. */9822 9823 9824 int9825 main ()9826 {9827 main ();9828 ;9829 return 0;9830 }9831 _ACEOF9832 rm -f conftest.$ac_objext conftest$ac_exeext9833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59834 (eval $ac_link) 2>conftest.er19835 ac_status=$?9836 grep -v '^ *+' conftest.er1 >conftest.err9837 rm -f conftest.er19838 cat conftest.err >&59839 echo "$as_me:$LINENO: \$? = $ac_status" >&59840 (exit $ac_status); } &&9841 { ac_try='test -z "$ac_c_werror_flag"9842 || test ! -s conftest.err'9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59844 (eval $ac_try) 2>&59845 ac_status=$?9846 echo "$as_me:$LINENO: \$? = $ac_status" >&59847 (exit $ac_status); }; } &&9848 { ac_try='test -s conftest$ac_exeext'9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59850 (eval $ac_try) 2>&59851 ac_status=$?9852 echo "$as_me:$LINENO: \$? = $ac_status" >&59853 (exit $ac_status); }; }; then9854 ac_cv_lib_efence_main=yes9855 else9856 echo "$as_me: failed program was:" >&59857 sed 's/^/| /' conftest.$ac_ext >&59858 9859 ac_cv_lib_efence_main=no9860 fi9861 rm -f conftest.err conftest.$ac_objext \9862 conftest$ac_exeext conftest.$ac_ext9863 LIBS=$ac_check_lib_save_LIBS9864 fi9865 echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&59866 echo "${ECHO_T}$ac_cv_lib_efence_main" >&69867 if test $ac_cv_lib_efence_main = yes; then9868 FOUND_efence=yes; LIBS="$LIBS -lefence"9869 fi9870 9871 if test x$FOUND_efence != xyes ; then9872 echo "efence was requested, but is not installed!! going on"9873 fi9874 9875 fi9876 9877 #-----#9878 # GTK #9879 #-----#9880 if test x$def_gtk = xyes; then9881 #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)9882 echo "$as_me:$LINENO: checking for gtk2.0" >&59883 echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&69884 if `$PKG_CONFIG --exists gtk+-2.0`; then9885 echo "yes"9886 have_gtk2=yes9887 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`9888 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`9889 9890 cat >>confdefs.h <<_ACEOF9891 #define HAVE_GTK2 19892 _ACEOF9893 9894 if test $DEBUG -ge 3; then9895 echo "cflags: $GTK2_CFLAGS"9896 echo "libs: $GTK2_LIBS"9897 fi9898 else9899 echo "no"9900 fi9901 9902 fi9903 9904 9905 9906 9907 if test x$have_gtk2 = xyes; then9908 HAVE_GTK2_TRUE=9909 HAVE_GTK2_FALSE='#'9910 else9911 HAVE_GTK2_TRUE='#'9912 HAVE_GTK2_FALSE=9913 fi9914 9915 9916 9917 # FIXME: Replace `main' with a function in `-lm':9918 9919 echo "$as_me:$LINENO: checking for main in -lm" >&59920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&69921 if test "${ac_cv_lib_m_main+set}" = set; then9922 echo $ECHO_N "(cached) $ECHO_C" >&69923 else9924 ac_check_lib_save_LIBS=$LIBS9925 LIBS="-lm $LIBS"9926 cat >conftest.$ac_ext <<_ACEOF9927 /* confdefs.h. */9928 _ACEOF9929 cat confdefs.h >>conftest.$ac_ext9930 cat >>conftest.$ac_ext <<_ACEOF9931 /* end confdefs.h. */9932 9933 9934 int9935 main ()9936 {9937 main ();9938 ;9939 return 0;9940 }9941 _ACEOF9942 rm -f conftest.$ac_objext conftest$ac_exeext9943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&59944 (eval $ac_link) 2>conftest.er19945 ac_status=$?9946 grep -v '^ *+' conftest.er1 >conftest.err9947 rm -f conftest.er19948 cat conftest.err >&59949 echo "$as_me:$LINENO: \$? = $ac_status" >&59950 (exit $ac_status); } &&9951 { ac_try='test -z "$ac_c_werror_flag"9952 || test ! -s conftest.err'9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59954 (eval $ac_try) 2>&59955 ac_status=$?9956 echo "$as_me:$LINENO: \$? = $ac_status" >&59957 (exit $ac_status); }; } &&9958 { ac_try='test -s conftest$ac_exeext'9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&59960 (eval $ac_try) 2>&59961 ac_status=$?9962 echo "$as_me:$LINENO: \$? = $ac_status" >&59963 (exit $ac_status); }; }; then9964 ac_cv_lib_m_main=yes9965 else9966 echo "$as_me: failed program was:" >&59967 sed 's/^/| /' conftest.$ac_ext >&59968 9969 ac_cv_lib_m_main=no9970 fi9971 rm -f conftest.err conftest.$ac_objext \9972 conftest$ac_exeext conftest.$ac_ext9973 LIBS=$ac_check_lib_save_LIBS9974 fi9975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&59976 echo "${ECHO_T}$ac_cv_lib_m_main" >&69977 if test $ac_cv_lib_m_main = yes; then9978 cat >>confdefs.h <<_ACEOF9979 #define HAVE_LIBM 19980 _ACEOF9981 9982 LIBS="-lm $LIBS"9983 9984 fi9985 9986 9987 9988 # Checks for header files.9989 echo "$as_me:$LINENO: checking for ANSI C header files" >&59990 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&69991 if test "${ac_cv_header_stdc+set}" = set; then9992 echo $ECHO_N "(cached) $ECHO_C" >&69993 else9994 cat >conftest.$ac_ext <<_ACEOF9995 /* confdefs.h. */9996 _ACEOF9997 cat confdefs.h >>conftest.$ac_ext9998 cat >>conftest.$ac_ext <<_ACEOF9999 /* end confdefs.h. */10000 #include <stdlib.h>10001 #include <stdarg.h>10002 #include <string.h>10003 #include <float.h>10004 10005 int10006 main ()10007 {10008 10009 ;10010 return 0;10011 }10012 _ACEOF10013 rm -f conftest.$ac_objext10014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&510015 (eval $ac_compile) 2>conftest.er110016 ac_status=$?10017 grep -v '^ *+' conftest.er1 >conftest.err10018 rm -f conftest.er110019 cat conftest.err >&510020 echo "$as_me:$LINENO: \$? = $ac_status" >&510021 (exit $ac_status); } &&10022 { ac_try='test -z "$ac_c_werror_flag"10023 || test ! -s conftest.err'10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510025 (eval $ac_try) 2>&510026 ac_status=$?10027 echo "$as_me:$LINENO: \$? = $ac_status" >&510028 (exit $ac_status); }; } &&10029 { ac_try='test -s conftest.$ac_objext'10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510031 (eval $ac_try) 2>&510032 ac_status=$?10033 echo "$as_me:$LINENO: \$? = $ac_status" >&510034 (exit $ac_status); }; }; then10035 ac_cv_header_stdc=yes10036 else10037 echo "$as_me: failed program was:" >&510038 sed 's/^/| /' conftest.$ac_ext >&510039 10040 ac_cv_header_stdc=no10041 fi10042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext10043 10044 if test $ac_cv_header_stdc = yes; then10045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.10046 cat >conftest.$ac_ext <<_ACEOF10047 /* confdefs.h. */10048 _ACEOF10049 cat confdefs.h >>conftest.$ac_ext10050 cat >>conftest.$ac_ext <<_ACEOF10051 /* end confdefs.h. */10052 #include <string.h>10053 10054 _ACEOF10055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |10056 $EGREP "memchr" >/dev/null 2>&1; then10057 :10058 else10059 ac_cv_header_stdc=no10060 fi10061 rm -f conftest*10062 10063 fi10064 10065 if test $ac_cv_header_stdc = yes; then10066 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.10067 cat >conftest.$ac_ext <<_ACEOF10068 /* confdefs.h. */10069 _ACEOF10070 cat confdefs.h >>conftest.$ac_ext10071 cat >>conftest.$ac_ext <<_ACEOF10072 /* end confdefs.h. */10073 #include <stdlib.h>10074 10075 _ACEOF10076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |10077 $EGREP "free" >/dev/null 2>&1; then10078 :10079 else10080 ac_cv_header_stdc=no10081 fi10082 rm -f conftest*10083 10084 fi10085 10086 if test $ac_cv_header_stdc = yes; then10087 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.10088 if test "$cross_compiling" = yes; then10089 :10090 else10091 cat >conftest.$ac_ext <<_ACEOF10092 /* confdefs.h. */10093 _ACEOF10094 cat confdefs.h >>conftest.$ac_ext10095 cat >>conftest.$ac_ext <<_ACEOF10096 /* end confdefs.h. */10097 #include <ctype.h>10098 #if ((' ' & 0x0FF) == 0x020)10099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')10100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))10101 #else10102 # define ISLOWER(c) \10103 (('a' <= (c) && (c) <= 'i') \10104 || ('j' <= (c) && (c) <= 'r') \10105 || ('s' <= (c) && (c) <= 'z'))10106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))10107 #endif10108 10109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))10110 int10111 main ()10112 {10113 int i;10114 for (i = 0; i < 256; i++)10115 if (XOR (islower (i), ISLOWER (i))10116 || toupper (i) != TOUPPER (i))10117 exit(2);10118 exit (0);10119 }10120 _ACEOF10121 rm -f conftest$ac_exeext10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&510123 (eval $ac_link) 2>&510124 ac_status=$?10125 echo "$as_me:$LINENO: \$? = $ac_status" >&510126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'10127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510128 (eval $ac_try) 2>&510129 ac_status=$?10130 echo "$as_me:$LINENO: \$? = $ac_status" >&510131 (exit $ac_status); }; }; then10132 :10133 else10134 echo "$as_me: program exited with status $ac_status" >&510135 echo "$as_me: failed program was:" >&510136 sed 's/^/| /' conftest.$ac_ext >&510137 10138 ( exit $ac_status )10139 ac_cv_header_stdc=no10140 fi10141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext10142 fi10143 fi10144 fi10145 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&510146 echo "${ECHO_T}$ac_cv_header_stdc" >&610147 if test $ac_cv_header_stdc = yes; then10148 10149 cat >>confdefs.h <<\_ACEOF10150 #define STDC_HEADERS 110151 _ACEOF10152 10153 fi10154 10155 10156 10157 for ac_header in stdlib.h string.h10158 do10159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`10160 if eval "test \"\${$as_ac_Header+set}\" = set"; then10161 echo "$as_me:$LINENO: checking for $ac_header" >&510162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&610163 if eval "test \"\${$as_ac_Header+set}\" = set"; then10164 echo $ECHO_N "(cached) $ECHO_C" >&610165 fi10166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&510167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&610168 else10169 # Is the header compilable?10170 echo "$as_me:$LINENO: checking $ac_header usability" >&510171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&610172 cat >conftest.$ac_ext <<_ACEOF10173 /* confdefs.h. */10174 _ACEOF10175 cat confdefs.h >>conftest.$ac_ext10176 cat >>conftest.$ac_ext <<_ACEOF10177 /* end confdefs.h. */10178 $ac_includes_default10179 #include <$ac_header>10180 _ACEOF10181 rm -f conftest.$ac_objext10182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&510183 (eval $ac_compile) 2>conftest.er110184 ac_status=$?10185 grep -v '^ *+' conftest.er1 >conftest.err10186 rm -f conftest.er110187 cat conftest.err >&510188 echo "$as_me:$LINENO: \$? = $ac_status" >&510189 (exit $ac_status); } &&10190 { ac_try='test -z "$ac_c_werror_flag"10191 || test ! -s conftest.err'10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510193 (eval $ac_try) 2>&510194 ac_status=$?10195 echo "$as_me:$LINENO: \$? = $ac_status" >&510196 (exit $ac_status); }; } &&10197 { ac_try='test -s conftest.$ac_objext'10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510199 (eval $ac_try) 2>&510200 ac_status=$?10201 echo "$as_me:$LINENO: \$? = $ac_status" >&510202 (exit $ac_status); }; }; then10203 ac_header_compiler=yes10204 else10205 echo "$as_me: failed program was:" >&510206 sed 's/^/| /' conftest.$ac_ext >&510207 10208 ac_header_compiler=no10209 fi10210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext10211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&510212 echo "${ECHO_T}$ac_header_compiler" >&610213 10214 # Is the header present?10215 echo "$as_me:$LINENO: checking $ac_header presence" >&510216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&610217 cat >conftest.$ac_ext <<_ACEOF10218 /* confdefs.h. */10219 _ACEOF10220 cat confdefs.h >>conftest.$ac_ext10221 cat >>conftest.$ac_ext <<_ACEOF10222 /* end confdefs.h. */10223 #include <$ac_header>10224 _ACEOF10225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&510226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er110227 ac_status=$?10228 grep -v '^ *+' conftest.er1 >conftest.err10229 rm -f conftest.er110230 cat conftest.err >&510231 echo "$as_me:$LINENO: \$? = $ac_status" >&510232 (exit $ac_status); } >/dev/null; then10233 if test -s conftest.err; then10234 ac_cpp_err=$ac_c_preproc_warn_flag10235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag10236 else10237 ac_cpp_err=10238 fi10239 else10240 ac_cpp_err=yes10241 fi10242 if test -z "$ac_cpp_err"; then10243 ac_header_preproc=yes10244 else10245 echo "$as_me: failed program was:" >&510246 sed 's/^/| /' conftest.$ac_ext >&510247 10248 ac_header_preproc=no10249 fi10250 rm -f conftest.err conftest.$ac_ext10251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&510252 echo "${ECHO_T}$ac_header_preproc" >&610253 10254 # So? What about this header?10255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in10256 yes:no: )10257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&510258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}10259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&510260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}10261 ac_header_preproc=yes10262 ;;10263 no:yes:* )10264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&510265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}10266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&510267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}10268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&510269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}10270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&510271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}10272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&510273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}10274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&510275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}10276 (10277 cat <<\_ASBOX10278 ## ---------------------------------------------- ##10279 ## Report this to orxonox-dev at mail.datacore.ch ##10280 ## ---------------------------------------------- ##10281 _ASBOX10282 ) |10283 sed "s/^/$as_me: WARNING: /" >&210284 ;;10285 esac10286 echo "$as_me:$LINENO: checking for $ac_header" >&510287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&610288 if eval "test \"\${$as_ac_Header+set}\" = set"; then10289 echo $ECHO_N "(cached) $ECHO_C" >&610290 else10291 eval "$as_ac_Header=\$ac_header_preproc"10292 fi10293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&510294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&610295 10296 fi10297 if test `eval echo '${'$as_ac_Header'}'` = yes; then10298 cat >>confdefs.h <<_ACEOF10299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 110300 _ACEOF10301 10302 fi10303 10304 done10305 10306 10307 # Checks for typedefs, structures, and compiler characteristics.10308 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&510309 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&610310 if test "${ac_cv_header_stdbool_h+set}" = set; then10311 echo $ECHO_N "(cached) $ECHO_C" >&610312 else10313 cat >conftest.$ac_ext <<_ACEOF10314 /* confdefs.h. */10315 _ACEOF10316 cat confdefs.h >>conftest.$ac_ext10317 cat >>conftest.$ac_ext <<_ACEOF10318 /* end confdefs.h. */10319 10320 #include <stdbool.h>10321 #ifndef bool10322 # error bool is not defined10323 #endif10324 #ifndef false10325 # error false is not defined10326 #endif10327 #if false10328 # error false is not 010329 #endif10330 #ifndef true10331 # error true is not defined10332 #endif10333 #if true != 110334 # error true is not 110335 #endif10336 #ifndef __bool_true_false_are_defined10337 # error __bool_true_false_are_defined is not defined10338 #endif10339 10340 struct s { _Bool s: 1; _Bool t; } s;10341 10342 char a[true == 1 ? 1 : -1];10343 char b[false == 0 ? 1 : -1];10344 char c[__bool_true_false_are_defined == 1 ? 1 : -1];10345 char d[(bool) -0.5 == true ? 1 : -1];10346 bool e = &s;10347 char f[(_Bool) -0.0 == false ? 1 : -1];10348 char g[true];10349 char h[sizeof (_Bool)];10350 char i[sizeof s.t];10351 10352 int10353 main ()10354 {10355 return !a + !b + !c + !d + !e + !f + !g + !h + !i;10356 ;10357 return 0;10358 }10359 _ACEOF10360 rm -f conftest.$ac_objext10361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&510362 (eval $ac_compile) 2>conftest.er110363 ac_status=$?10364 grep -v '^ *+' conftest.er1 >conftest.err10365 rm -f conftest.er110366 cat conftest.err >&510367 echo "$as_me:$LINENO: \$? = $ac_status" >&510368 (exit $ac_status); } &&10369 { ac_try='test -z "$ac_c_werror_flag"10370 || test ! -s conftest.err'10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510372 (eval $ac_try) 2>&510373 ac_status=$?10374 echo "$as_me:$LINENO: \$? = $ac_status" >&510375 (exit $ac_status); }; } &&10376 { ac_try='test -s conftest.$ac_objext'10377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510378 (eval $ac_try) 2>&510379 ac_status=$?10380 echo "$as_me:$LINENO: \$? = $ac_status" >&510381 (exit $ac_status); }; }; then10382 ac_cv_header_stdbool_h=yes10383 else10384 echo "$as_me: failed program was:" >&510385 sed 's/^/| /' conftest.$ac_ext >&510386 10387 ac_cv_header_stdbool_h=no10388 fi10389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext10390 fi10391 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&510392 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&610393 echo "$as_me:$LINENO: checking for _Bool" >&510394 echo $ECHO_N "checking for _Bool... $ECHO_C" >&610395 if test "${ac_cv_type__Bool+set}" = set; then10396 echo $ECHO_N "(cached) $ECHO_C" >&610397 else10398 cat >conftest.$ac_ext <<_ACEOF10399 /* confdefs.h. */10400 _ACEOF10401 cat confdefs.h >>conftest.$ac_ext10402 cat >>conftest.$ac_ext <<_ACEOF10403 /* end confdefs.h. */10404 $ac_includes_default10405 int10406 main ()10407 {10408 if ((_Bool *) 0)10409 return 0;10410 if (sizeof (_Bool))10411 return 0;10412 ;10413 return 0;10414 }10415 _ACEOF10416 rm -f conftest.$ac_objext10417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&510418 (eval $ac_compile) 2>conftest.er110419 ac_status=$?10420 grep -v '^ *+' conftest.er1 >conftest.err10421 rm -f conftest.er110422 cat conftest.err >&510423 echo "$as_me:$LINENO: \$? = $ac_status" >&510424 (exit $ac_status); } &&10425 { ac_try='test -z "$ac_c_werror_flag"10426 || test ! -s conftest.err'10427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510428 (eval $ac_try) 2>&510429 ac_status=$?10430 echo "$as_me:$LINENO: \$? = $ac_status" >&510431 (exit $ac_status); }; } &&10432 { ac_try='test -s conftest.$ac_objext'10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510434 (eval $ac_try) 2>&510435 ac_status=$?10436 echo "$as_me:$LINENO: \$? = $ac_status" >&510437 (exit $ac_status); }; }; then10438 ac_cv_type__Bool=yes10439 else10440 echo "$as_me: failed program was:" >&510441 sed 's/^/| /' conftest.$ac_ext >&510442 10443 ac_cv_type__Bool=no10444 fi10445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext10446 fi10447 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&510448 echo "${ECHO_T}$ac_cv_type__Bool" >&610449 if test $ac_cv_type__Bool = yes; then10450 10451 cat >>confdefs.h <<_ACEOF10452 #define HAVE__BOOL 110453 _ACEOF10454 10455 10456 fi10457 10458 if test $ac_cv_header_stdbool_h = yes; then10459 10460 cat >>confdefs.h <<\_ACEOF10461 #define HAVE_STDBOOL_H 110462 _ACEOF10463 10464 fi10465 10466 10467 # Checks for library functions.10468 10469 for ac_header in stdlib.h10470 do10471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`10472 if eval "test \"\${$as_ac_Header+set}\" = set"; then10473 echo "$as_me:$LINENO: checking for $ac_header" >&510474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&610475 if eval "test \"\${$as_ac_Header+set}\" = set"; then10476 echo $ECHO_N "(cached) $ECHO_C" >&610477 fi10478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&510479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&610480 else10481 # Is the header compilable?10482 echo "$as_me:$LINENO: checking $ac_header usability" >&510483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&610484 cat >conftest.$ac_ext <<_ACEOF10485 /* confdefs.h. */10486 _ACEOF10487 cat confdefs.h >>conftest.$ac_ext10488 cat >>conftest.$ac_ext <<_ACEOF10489 /* end confdefs.h. */10490 $ac_includes_default10491 #include <$ac_header>10492 _ACEOF10493 rm -f conftest.$ac_objext10494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&510495 (eval $ac_compile) 2>conftest.er110496 ac_status=$?10497 grep -v '^ *+' conftest.er1 >conftest.err10498 rm -f conftest.er110499 cat conftest.err >&510500 echo "$as_me:$LINENO: \$? = $ac_status" >&510501 (exit $ac_status); } &&10502 { ac_try='test -z "$ac_c_werror_flag"10503 || test ! -s conftest.err'10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510505 (eval $ac_try) 2>&510506 ac_status=$?10507 echo "$as_me:$LINENO: \$? = $ac_status" >&510508 (exit $ac_status); }; } &&10509 { ac_try='test -s conftest.$ac_objext'10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510511 (eval $ac_try) 2>&510512 ac_status=$?10513 echo "$as_me:$LINENO: \$? = $ac_status" >&510514 (exit $ac_status); }; }; then10515 ac_header_compiler=yes10516 else10517 echo "$as_me: failed program was:" >&510518 sed 's/^/| /' conftest.$ac_ext >&510519 10520 ac_header_compiler=no10521 fi10522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext10523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&510524 echo "${ECHO_T}$ac_header_compiler" >&610525 10526 # Is the header present?10527 echo "$as_me:$LINENO: checking $ac_header presence" >&510528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&610529 cat >conftest.$ac_ext <<_ACEOF10530 /* confdefs.h. */10531 _ACEOF10532 cat confdefs.h >>conftest.$ac_ext10533 cat >>conftest.$ac_ext <<_ACEOF10534 /* end confdefs.h. */10535 #include <$ac_header>10536 _ACEOF10537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&510538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er110539 ac_status=$?10540 grep -v '^ *+' conftest.er1 >conftest.err10541 rm -f conftest.er110542 cat conftest.err >&510543 echo "$as_me:$LINENO: \$? = $ac_status" >&510544 (exit $ac_status); } >/dev/null; then10545 if test -s conftest.err; then10546 ac_cpp_err=$ac_c_preproc_warn_flag10547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag10548 else10549 ac_cpp_err=10550 fi10551 else10552 ac_cpp_err=yes10553 fi10554 if test -z "$ac_cpp_err"; then10555 ac_header_preproc=yes10556 else10557 echo "$as_me: failed program was:" >&510558 sed 's/^/| /' conftest.$ac_ext >&510559 10560 ac_header_preproc=no10561 fi10562 rm -f conftest.err conftest.$ac_ext10563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&510564 echo "${ECHO_T}$ac_header_preproc" >&610565 10566 # So? What about this header?10567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in10568 yes:no: )10569 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&510570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}10571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&510572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}10573 ac_header_preproc=yes10574 ;;10575 no:yes:* )10576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&510577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}10578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&510579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}10580 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&510581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}10582 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&510583 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}10584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&510585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}10586 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&510587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}10588 (10589 cat <<\_ASBOX10590 ## ---------------------------------------------- ##10591 ## Report this to orxonox-dev at mail.datacore.ch ##10592 ## ---------------------------------------------- ##10593 _ASBOX10594 ) |10595 sed "s/^/$as_me: WARNING: /" >&210596 ;;10597 esac10598 echo "$as_me:$LINENO: checking for $ac_header" >&510599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&610600 if eval "test \"\${$as_ac_Header+set}\" = set"; then10601 echo $ECHO_N "(cached) $ECHO_C" >&610602 else10603 eval "$as_ac_Header=\$ac_header_preproc"10604 fi10605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&510606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&610607 10608 fi10609 if test `eval echo '${'$as_ac_Header'}'` = yes; then10610 cat >>confdefs.h <<_ACEOF10611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 110612 _ACEOF10613 10614 fi10615 10616 done10617 10618 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&510619 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&610620 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then10621 echo $ECHO_N "(cached) $ECHO_C" >&610622 else10623 if test "$cross_compiling" = yes; then10624 ac_cv_func_malloc_0_nonnull=no10625 else10626 cat >conftest.$ac_ext <<_ACEOF10627 /* confdefs.h. */10628 _ACEOF10629 cat confdefs.h >>conftest.$ac_ext10630 cat >>conftest.$ac_ext <<_ACEOF10631 /* end confdefs.h. */10632 #if STDC_HEADERS || HAVE_STDLIB_H10633 # include <stdlib.h>10634 #else10635 char *malloc ();10636 #endif10637 10638 int10639 main ()10640 {10641 exit (malloc (0) ? 0 : 1);10642 ;10643 return 0;10644 }10645 _ACEOF10646 rm -f conftest$ac_exeext10647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&510648 (eval $ac_link) 2>&510649 ac_status=$?10650 echo "$as_me:$LINENO: \$? = $ac_status" >&510651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510653 (eval $ac_try) 2>&510654 ac_status=$?10655 echo "$as_me:$LINENO: \$? = $ac_status" >&510656 (exit $ac_status); }; }; then10657 ac_cv_func_malloc_0_nonnull=yes10658 else10659 echo "$as_me: program exited with status $ac_status" >&510660 echo "$as_me: failed program was:" >&510661 sed 's/^/| /' conftest.$ac_ext >&510662 10663 ( exit $ac_status )10664 ac_cv_func_malloc_0_nonnull=no10665 fi10666 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext10667 fi10668 fi10669 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&510670 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&610671 if test $ac_cv_func_malloc_0_nonnull = yes; then10672 10673 cat >>confdefs.h <<\_ACEOF10674 #define HAVE_MALLOC 110675 _ACEOF10676 10677 else10678 cat >>confdefs.h <<\_ACEOF10679 #define HAVE_MALLOC 010680 _ACEOF10681 10682 case $LIBOBJS in10683 "malloc.$ac_objext" | \10684 *" malloc.$ac_objext" | \10685 "malloc.$ac_objext "* | \10686 *" malloc.$ac_objext "* ) ;;10687 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;10688 esac10689 10690 10691 cat >>confdefs.h <<\_ACEOF10692 #define malloc rpl_malloc10693 _ACEOF10694 10695 fi10696 10697 10698 10699 10700 10701 for ac_func in bzero sqrt10702 do10703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`10704 echo "$as_me:$LINENO: checking for $ac_func" >&510705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&610706 if eval "test \"\${$as_ac_var+set}\" = set"; then10707 echo $ECHO_N "(cached) $ECHO_C" >&610708 else10709 cat >conftest.$ac_ext <<_ACEOF10710 /* confdefs.h. */10711 _ACEOF10712 cat confdefs.h >>conftest.$ac_ext10713 cat >>conftest.$ac_ext <<_ACEOF10714 /* end confdefs.h. */10715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.10716 For example, HP-UX 11i <limits.h> declares gettimeofday. */10717 #define $ac_func innocuous_$ac_func10718 10719 /* System header to define __stub macros and hopefully few prototypes,10720 which can conflict with char $ac_func (); below.10721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since10722 <limits.h> exists even on freestanding compilers. */10723 10724 #ifdef __STDC__10725 # include <limits.h>10726 #else10727 # include <assert.h>10728 #endif10729 10730 #undef $ac_func10731 10732 /* Override any gcc2 internal prototype to avoid an error. */10733 #ifdef __cplusplus10734 extern "C"10735 {10736 #endif10737 /* We use char because int might match the return type of a gcc210738 builtin and then its argument prototype would still apply. */10739 char $ac_func ();10740 /* The GNU C library defines this for functions which it implements10741 to always fail with ENOSYS. Some functions are actually named10742 something starting with __ and the normal name is an alias. */10743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)10744 choke me10745 #else10746 char (*f) () = $ac_func;10747 #endif10748 #ifdef __cplusplus10749 }10750 #endif10751 10752 int10753 main ()10754 {10755 return f != $ac_func;10756 ;10757 return 0;10758 }10759 _ACEOF10760 rm -f conftest.$ac_objext conftest$ac_exeext10761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&510762 (eval $ac_link) 2>conftest.er110763 ac_status=$?10764 grep -v '^ *+' conftest.er1 >conftest.err10765 rm -f conftest.er110766 cat conftest.err >&510767 echo "$as_me:$LINENO: \$? = $ac_status" >&510768 (exit $ac_status); } &&10769 { ac_try='test -z "$ac_c_werror_flag"10770 || test ! -s conftest.err'10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510772 (eval $ac_try) 2>&510773 ac_status=$?10774 echo "$as_me:$LINENO: \$? = $ac_status" >&510775 (exit $ac_status); }; } &&10776 { ac_try='test -s conftest$ac_exeext'10777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&510778 (eval $ac_try) 2>&510779 ac_status=$?10780 echo "$as_me:$LINENO: \$? = $ac_status" >&510781 (exit $ac_status); }; }; then10782 eval "$as_ac_var=yes"10783 else10784 echo "$as_me: failed program was:" >&510785 sed 's/^/| /' conftest.$ac_ext >&510786 10787 eval "$as_ac_var=no"10788 fi10789 rm -f conftest.err conftest.$ac_objext \10790 conftest$ac_exeext conftest.$ac_ext10791 fi10792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&510793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&610794 if test `eval echo '${'$as_ac_var'}'` = yes; then10795 cat >>confdefs.h <<_ACEOF10796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 110797 _ACEOF10798 10799 fi10800 done10801 10802 10803 ######################10804 ## OUTPUT CONFIGURE ##10805 ######################10806 ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/graphics/Makefile src/lib/graphics/importer/Makefile src/lib/graphics/spatial_separation/Makefile src/lib/sound/Makefile src/lib/event/Makefile src/lib/physics/Makefile src/lib/particles/Makefile src/lib/collision_detection/Makefile src/lib/shell/Makefile src/lib/gui/Makefile src/lib/gui/gtk_gui/Makefile src/lib/gui/gl_gui/Makefile src/lib/tinyxml/Makefile src/util/Makefile src/subprojects/Makefile src/subprojects/testmain/Makefile src/subprojects/importer/Makefile src/subprojects/particles/Makefile src/subprojects/collision_detection/Makefile"10807 10808 10809 cat >confcache <<\_ACEOF10810 # This file is a shell script that caches the results of configure10811 # tests run on this system so they can be shared between configure10812 # scripts and configure runs, see configure's option --config-cache.10813 # It is not useful on other systems. If it contains results you don't10814 # want to keep, you may remove or edit it.10815 #10816 # config.status only pays attention to the cache file if you give it10817 # the --recheck option to rerun configure.10818 #10819 # `ac_cv_env_foo' variables (set or unset) will be overridden when10820 # loading this file, other *unset* `ac_cv_foo' will be assigned the10821 # following values.10822 10823 _ACEOF10824 10825 # The following way of writing the cache mishandles newlines in values,10826 # but we know of no workaround that is simple, portable, and efficient.10827 # So, don't put newlines in cache variables' values.10828 # Ultrix sh set writes to stderr and can't be redirected directly,10829 # and sets the high bit in the cache file unless we assign to the vars.10830 {10831 (set) 2>&1 |10832 case `(ac_space=' '; set | grep ac_space) 2>&1` in10833 *ac_space=\ *)10834 # `set' does not quote correctly, so add quotes (double-quote10835 # substitution turns \\\\ into \\, and sed turns \\ into \).10836 sed -n \10837 "s/'/'\\\\''/g;10838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"10839 ;;10840 *)10841 # `set' quotes correctly as required by POSIX, so do not add quotes.10842 sed -n \10843 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"10844 ;;10845 esac;10846 } |10847 sed '10848 t clear10849 : clear10850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/10851 t end10852 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/10853 : end' >>confcache10854 if diff $cache_file confcache >/dev/null 2>&1; then :; else10855 if test -w $cache_file; then10856 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"10857 cat confcache >$cache_file10858 else10859 echo "not updating unwritable cache $cache_file"10860 fi10861 fi10862 rm -f confcache10863 10864 test "x$prefix" = xNONE && prefix=$ac_default_prefix10865 # Let make expand exec_prefix.10866 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'10867 10868 # VPATH may cause trouble with some makes, so we remove $(srcdir),10869 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and10870 # trailing colons and then remove the whole line if VPATH becomes empty10871 # (actually we leave an empty line to preserve line numbers).10872 if test "x$srcdir" = x.; then10873 ac_vpsub='/^[ ]*VPATH[ ]*=/{10874 s/:*\$(srcdir):*/:/;10875 s/:*\${srcdir}:*/:/;10876 s/:*@srcdir@:*/:/;10877 s/^\([^=]*=[ ]*\):*/\1/;10878 s/:*$//;10879 s/^[^=]*=[ ]*$//;10880 }'10881 fi10882 10883 DEFS=-DHAVE_CONFIG_H10884 10885 ac_libobjs=10886 ac_ltlibobjs=10887 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue10888 # 1. Remove the extension, and $U if already installed.10889 ac_i=`echo "$ac_i" |10890 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`10891 # 2. Add them.10892 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"10893 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'10894 done10895 LIBOBJS=$ac_libobjs10896 10897 LTLIBOBJS=$ac_ltlibobjs10898 10899 10900 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then10901 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.10902 Usually this means the macro was only invoked conditionally." >&510903 echo "$as_me: error: conditional \"AMDEP\" was never defined.10904 Usually this means the macro was only invoked conditionally." >&2;}10905 { (exit 1); exit 1; }; }10906 fi10907 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then10908 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.10909 Usually this means the macro was only invoked conditionally." >&510910 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.10911 Usually this means the macro was only invoked conditionally." >&2;}10912 { (exit 1); exit 1; }; }10913 fi10914 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then10915 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.10916 Usually this means the macro was only invoked conditionally." >&510917 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.10918 Usually this means the macro was only invoked conditionally." >&2;}10919 { (exit 1); exit 1; }; }10920 fi10921 if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then10922 { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined.10923 Usually this means the macro was only invoked conditionally." >&510924 echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined.10925 Usually this means the macro was only invoked conditionally." >&2;}10926 { (exit 1); exit 1; }; }10927 fi10928 if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then10929 { { echo "$as_me:$LINENO: error: conditional \"DOCUMENTATION\" was never defined.10930 Usually this means the macro was only invoked conditionally." >&510931 echo "$as_me: error: conditional \"DOCUMENTATION\" was never defined.10932 Usually this means the macro was only invoked conditionally." >&2;}10933 { (exit 1); exit 1; }; }10934 fi10935 if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then10936 { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined.10937 Usually this means the macro was only invoked conditionally." >&510938 echo "$as_me: error: conditional \"DOXYGEN\" was never defined.10939 Usually this means the macro was only invoked conditionally." >&2;}10940 { (exit 1); exit 1; }; }10941 fi10942 if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then10943 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined.10944 Usually this means the macro was only invoked conditionally." >&510945 echo "$as_me: error: conditional \"HAVE_CURL\" was never defined.10946 Usually this means the macro was only invoked conditionally." >&2;}10947 { (exit 1); exit 1; }; }10948 fi10949 if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then10950 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined.10951 Usually this means the macro was only invoked conditionally." >&510952 echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined.10953 Usually this means the macro was only invoked conditionally." >&2;}10954 { (exit 1); exit 1; }; }10955 fi10956 10957 : ${CONFIG_STATUS=./config.status}10958 ac_clean_files_save=$ac_clean_files10959 ac_clean_files="$ac_clean_files $CONFIG_STATUS"10960 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&510961 echo "$as_me: creating $CONFIG_STATUS" >&6;}10962 cat >$CONFIG_STATUS <<_ACEOF10963 #! $SHELL10964 # Generated by $as_me.10965 # Run this file to recreate the current configuration.10966 # Compiler output produced by configure, useful for debugging10967 # configure, is in config.log if it exists.10968 10969 debug=false10970 ac_cs_recheck=false10971 ac_cs_silent=false10972 SHELL=\${CONFIG_SHELL-$SHELL}10973 _ACEOF10974 10975 cat >>$CONFIG_STATUS <<\_ACEOF10976 ## --------------------- ##10977 ## M4sh Initialization. ##10978 ## --------------------- ##10979 10980 # Be Bourne compatible10981 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then10982 emulate sh10983 NULLCMD=:10984 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which10985 # is contrary to our usage. Disable this feature.10986 alias -g '${1+"$@"}'='"$@"'10987 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then10988 set -o posix10989 fi10990 DUALCASE=1; export DUALCASE # for MKS sh10991 10992 # Support unset when possible.10993 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then10994 as_unset=unset10995 else10996 as_unset=false10997 fi10998 10999 11000 # Work around bugs in pre-3.0 UWIN ksh.11001 $as_unset ENV MAIL MAILPATH11002 PS1='$ '11003 PS2='> '11004 PS4='+ '11005 11006 # NLS nuisances.11007 for as_var in \11008 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \11009 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \11010 LC_TELEPHONE LC_TIME11011 do11012 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then11013 eval $as_var=C; export $as_var11014 else11015 $as_unset $as_var11016 fi11017 done11018 11019 # Required to use basename.11020 if expr a : '\(a\)' >/dev/null 2>&1; then11021 as_expr=expr11022 else11023 as_expr=false11024 fi11025 11026 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then11027 as_basename=basename11028 else11029 as_basename=false11030 fi11031 11032 11033 # Name of the executable.11034 as_me=`$as_basename "$0" ||11035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \11036 X"$0" : 'X\(//\)$' \| \11037 X"$0" : 'X\(/\)$' \| \11038 . : '\(.\)' 2>/dev/null ||11039 echo X/"$0" |11040 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }11041 /^X\/\(\/\/\)$/{ s//\1/; q; }11042 /^X\/\(\/\).*/{ s//\1/; q; }11043 s/.*/./; q'`11044 11045 11046 # PATH needs CR, and LINENO needs CR and PATH.11047 # Avoid depending upon Character Ranges.11048 as_cr_letters='abcdefghijklmnopqrstuvwxyz'11049 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'11050 as_cr_Letters=$as_cr_letters$as_cr_LETTERS11051 as_cr_digits='0123456789'11052 as_cr_alnum=$as_cr_Letters$as_cr_digits11053 11054 # The user is always right.11055 if test "${PATH_SEPARATOR+set}" != set; then11056 echo "#! /bin/sh" >conf$$.sh11057 echo "exit 0" >>conf$$.sh11058 chmod +x conf$$.sh11059 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then11060 PATH_SEPARATOR=';'11061 else11062 PATH_SEPARATOR=:11063 fi11064 rm -f conf$$.sh11065 fi11066 11067 11068 as_lineno_1=$LINENO11069 as_lineno_2=$LINENO11070 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`11071 test "x$as_lineno_1" != "x$as_lineno_2" &&11072 test "x$as_lineno_3" = "x$as_lineno_2" || {11073 # Find who we are. Look in the path if we contain no path at all11074 # relative or not.11075 case $0 in11076 *[\\/]* ) as_myself=$0 ;;11077 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR11078 for as_dir in $PATH11079 do11080 IFS=$as_save_IFS11081 test -z "$as_dir" && as_dir=.11082 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break11083 done11084 11085 ;;11086 esac11087 # We did not find ourselves, most probably we were run as `sh COMMAND'11088 # in which case we are not to be found in the path.11089 if test "x$as_myself" = x; then11090 as_myself=$011091 fi11092 if test ! -f "$as_myself"; then11093 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&511094 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}11095 { (exit 1); exit 1; }; }11096 fi11097 case $CONFIG_SHELL in11098 '')11099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR11100 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH11101 do11102 IFS=$as_save_IFS11103 test -z "$as_dir" && as_dir=.11104 for as_base in sh bash ksh sh5; do11105 case $as_dir in11106 /*)11107 if ("$as_dir/$as_base" -c '11108 as_lineno_1=$LINENO11109 as_lineno_2=$LINENO11110 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`11111 test "x$as_lineno_1" != "x$as_lineno_2" &&11112 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then11113 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }11114 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }11115 CONFIG_SHELL=$as_dir/$as_base11116 export CONFIG_SHELL11117 exec "$CONFIG_SHELL" "$0" ${1+"$@"}11118 fi;;11119 esac11120 done11121 done11122 ;;11123 esac11124 11125 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO11126 # uniformly replaced by the line number. The first 'sed' inserts a11127 # line-number line before each line; the second 'sed' does the real11128 # work. The second script uses 'N' to pair each line-number line11129 # with the numbered line, and appends trailing '-' during11130 # substitution so that $LINENO is not a special case at line end.11131 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the11132 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)11133 sed '=' <$as_myself |11134 sed '11135 N11136 s,$,-,11137 : loop11138 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,11139 t loop11140 s,-$,,11141 s,^['$as_cr_digits']*\n,,11142 ' >$as_me.lineno &&11143 chmod +x $as_me.lineno ||11144 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&511145 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}11146 { (exit 1); exit 1; }; }11147 11148 # Don't try to exec as it changes $[0], causing all sort of problems11149 # (the dirname of $[0] is not the place where we might find the11150 # original and so on. Autoconf is especially sensible to this).11151 . ./$as_me.lineno11152 # Exit status is that of the last command.11153 exit11154 }11155 11156 11157 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in11158 *c*,-n*) ECHO_N= ECHO_C='11159 ' ECHO_T=' ' ;;11160 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;11161 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;11162 esac11163 11164 if expr a : '\(a\)' >/dev/null 2>&1; then11165 as_expr=expr11166 else11167 as_expr=false11168 fi11169 11170 rm -f conf$$ conf$$.exe conf$$.file11171 echo >conf$$.file11172 if ln -s conf$$.file conf$$ 2>/dev/null; then11173 # We could just check for DJGPP; but this test a) works b) is more generic11174 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).11175 if test -f conf$$.exe; then11176 # Don't use ln at all; we don't have any links11177 as_ln_s='cp -p'11178 else11179 as_ln_s='ln -s'11180 fi11181 elif ln conf$$.file conf$$ 2>/dev/null; then11182 as_ln_s=ln11183 else11184 as_ln_s='cp -p'11185 fi11186 rm -f conf$$ conf$$.exe conf$$.file11187 11188 if mkdir -p . 2>/dev/null; then11189 as_mkdir_p=:11190 else11191 test -d ./-p && rmdir ./-p11192 as_mkdir_p=false11193 fi11194 11195 as_executable_p="test -f"11196 11197 # Sed expression to map a string onto a valid CPP name.11198 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"11199 11200 # Sed expression to map a string onto a valid variable name.11201 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"11202 11203 11204 # IFS11205 # We need space, tab and new line, in precisely that order.11206 as_nl='11207 '11208 IFS=" $as_nl"11209 11210 # CDPATH.11211 $as_unset CDPATH11212 11213 exec 6>&111214 11215 # Open the log real soon, to keep \$[0] and so on meaningful, and to11216 # report actual input values of CONFIG_FILES etc. instead of their11217 # values after options handling. Logging --version etc. is OK.11218 exec 5>>config.log11219 {11220 echo11221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX11222 ## Running $as_me. ##11223 _ASBOX11224 } >&511225 cat >&5 <<_CSEOF11226 11227 This file was extended by orxonox $as_me 0.3.2_alpha, which was11228 generated by GNU Autoconf 2.59. Invocation command line was11229 11230 CONFIG_FILES = $CONFIG_FILES11231 CONFIG_HEADERS = $CONFIG_HEADERS11232 CONFIG_LINKS = $CONFIG_LINKS11233 CONFIG_COMMANDS = $CONFIG_COMMANDS11234 $ $0 $@11235 11236 _CSEOF11237 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&511238 echo >&511239 _ACEOF11240 11241 # Files that config.status was made for.11242 if test -n "$ac_config_files"; then11243 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS11244 fi11245 11246 if test -n "$ac_config_headers"; then11247 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS11248 fi11249 11250 if test -n "$ac_config_links"; then11251 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS11252 fi11253 11254 if test -n "$ac_config_commands"; then11255 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS11256 fi11257 11258 cat >>$CONFIG_STATUS <<\_ACEOF11259 11260 ac_cs_usage="\11261 \`$as_me' instantiates files from templates according to the11262 current configuration.11263 11264 Usage: $0 [OPTIONS] [FILE]...11265 11266 -h, --help print this help, then exit11267 -V, --version print version number, then exit11268 -q, --quiet do not print progress messages11269 -d, --debug don't remove temporary files11270 --recheck update $as_me by reconfiguring in the same conditions11271 --file=FILE[:TEMPLATE]11272 instantiate the configuration file FILE11273 --header=FILE[:TEMPLATE]11274 instantiate the configuration header FILE11275 11276 Configuration files:11277 $config_files11278 11279 Configuration headers:11280 $config_headers11281 11282 Configuration commands:11283 $config_commands11284 11285 Report bugs to <bug-autoconf@gnu.org>."11286 _ACEOF11287 11288 cat >>$CONFIG_STATUS <<_ACEOF11289 ac_cs_version="\\11290 orxonox config.status 0.3.2_alpha11291 configured by $0, generated by GNU Autoconf 2.59,11292 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"11293 11294 Copyright (C) 2003 Free Software Foundation, Inc.11295 This config.status script is free software; the Free Software Foundation11296 gives unlimited permission to copy, distribute and modify it."11297 srcdir=$srcdir11298 INSTALL="$INSTALL"11299 _ACEOF11300 11301 cat >>$CONFIG_STATUS <<\_ACEOF11302 # If no file are specified by the user, then we need to provide default11303 # value. By we need to know if files were specified by the user.11304 ac_need_defaults=:11305 while test $# != 011306 do11307 case $1 in11308 --*=*)11309 ac_option=`expr "x$1" : 'x\([^=]*\)='`11310 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`11311 ac_shift=:11312 ;;11313 -*)11314 ac_option=$111315 ac_optarg=$211316 ac_shift=shift11317 ;;11318 *) # This is not an option, so the user has probably given explicit11319 # arguments.11320 ac_option=$111321 ac_need_defaults=false;;11322 esac11323 11324 case $ac_option in11325 # Handling of the options.11326 _ACEOF11327 cat >>$CONFIG_STATUS <<\_ACEOF11328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)11329 ac_cs_recheck=: ;;11330 --version | --vers* | -V )11331 echo "$ac_cs_version"; exit 0 ;;11332 --he | --h)11333 # Conflict between --help and --header11334 { { echo "$as_me:$LINENO: error: ambiguous option: $111335 Try \`$0 --help' for more information." >&511336 echo "$as_me: error: ambiguous option: $111337 Try \`$0 --help' for more information." >&2;}11338 { (exit 1); exit 1; }; };;11339 --help | --hel | -h )11340 echo "$ac_cs_usage"; exit 0 ;;11341 --debug | --d* | -d )11342 debug=: ;;11343 --file | --fil | --fi | --f )11344 $ac_shift11345 CONFIG_FILES="$CONFIG_FILES $ac_optarg"11346 ac_need_defaults=false;;11347 --header | --heade | --head | --hea )11348 $ac_shift11349 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"11350 ac_need_defaults=false;;11351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \11352 | -silent | --silent | --silen | --sile | --sil | --si | --s)11353 ac_cs_silent=: ;;11354 11355 # This is an error.11356 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $111357 Try \`$0 --help' for more information." >&511358 echo "$as_me: error: unrecognized option: $111359 Try \`$0 --help' for more information." >&2;}11360 { (exit 1); exit 1; }; } ;;11361 11362 *) ac_config_targets="$ac_config_targets $1" ;;11363 11364 esac11365 shift11366 done11367 11368 ac_configure_extra_args=11369 11370 if $ac_cs_silent; then11371 exec 6>/dev/null11372 ac_configure_extra_args="$ac_configure_extra_args --silent"11373 fi11374 11375 _ACEOF11376 cat >>$CONFIG_STATUS <<_ACEOF11377 if \$ac_cs_recheck; then11378 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&611379 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion11380 fi11381 11382 _ACEOF11383 11384 cat >>$CONFIG_STATUS <<_ACEOF11385 #11386 # INIT-COMMANDS section.11387 #11388 11389 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"11390 11391 _ACEOF11392 11393 11394 11395 cat >>$CONFIG_STATUS <<\_ACEOF11396 for ac_config_target in $ac_config_targets11397 do11398 case "$ac_config_target" in11399 # Handling of arguments.11400 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;11401 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;11402 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;11403 "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;;11404 "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;;11405 "src/lib/graphics/spatial_separation/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/spatial_separation/Makefile" ;;11406 "src/lib/sound/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sound/Makefile" ;;11407 "src/lib/event/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/event/Makefile" ;;11408 "src/lib/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/physics/Makefile" ;;11409 "src/lib/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/particles/Makefile" ;;11410 "src/lib/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/collision_detection/Makefile" ;;11411 "src/lib/shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/shell/Makefile" ;;11412 "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;;11413 "src/lib/gui/gtk_gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/gtk_gui/Makefile" ;;11414 "src/lib/gui/gl_gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/gl_gui/Makefile" ;;11415 "src/lib/tinyxml/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/tinyxml/Makefile" ;;11416 "src/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;11417 "src/subprojects/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/Makefile" ;;11418 "src/subprojects/testmain/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/testmain/Makefile" ;;11419 "src/subprojects/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/importer/Makefile" ;;11420 "src/subprojects/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/particles/Makefile" ;;11421 "src/subprojects/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/collision_detection/Makefile" ;;11422 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;11423 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;11424 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&511425 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}11426 { (exit 1); exit 1; }; };;11427 esac11428 done11429 11430 # If the user did not use the arguments to specify the items to instantiate,11431 # then the envvar interface is used. Set only those that are not.11432 # We use the long form for the default assignment because of an extremely11433 # bizarre bug on SunOS 4.1.3.11434 if $ac_need_defaults; then11435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files11436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers11437 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands11438 fi11439 11440 # Have a temporary directory for convenience. Make it in the build tree11441 # simply because there is no reason to put it here, and in addition,11442 # creating and moving files from /tmp can sometimes cause problems.11443 # Create a temporary directory, and hook for its removal unless debugging.11444 $debug ||11445 {11446 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 011447 trap '{ (exit 1); exit 1; }' 1 2 13 1511448 }11449 11450 # Create a (secure) tmp directory for tmp files.11451 11452 {11453 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&11454 test -n "$tmp" && test -d "$tmp"11455 } ||11456 {11457 tmp=./confstat$$-$RANDOM11458 (umask 077 && mkdir $tmp)11459 } ||11460 {11461 echo "$me: cannot create a temporary directory in ." >&211462 { (exit 1); exit 1; }11463 }11464 11465 _ACEOF11466 11467 cat >>$CONFIG_STATUS <<_ACEOF11468 11469 #11470 # CONFIG_FILES section.11471 #11472 11473 # No need to generate the scripts if there are no CONFIG_FILES.11474 # This happens for instance when ./config.status config.h11475 if test -n "\$CONFIG_FILES"; then11476 # Protect against being on the right side of a sed subst in config.status.11477 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;11478 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF11479 s,@SHELL@,$SHELL,;t t11480 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t11481 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t11482 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t11483 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t11484 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t11485 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t11486 s,@exec_prefix@,$exec_prefix,;t t11487 s,@prefix@,$prefix,;t t11488 s,@program_transform_name@,$program_transform_name,;t t11489 s,@bindir@,$bindir,;t t11490 s,@sbindir@,$sbindir,;t t11491 s,@libexecdir@,$libexecdir,;t t11492 s,@datadir@,$datadir,;t t11493 s,@sysconfdir@,$sysconfdir,;t t11494 s,@sharedstatedir@,$sharedstatedir,;t t11495 s,@localstatedir@,$localstatedir,;t t11496 s,@libdir@,$libdir,;t t11497 s,@includedir@,$includedir,;t t11498 s,@oldincludedir@,$oldincludedir,;t t11499 s,@infodir@,$infodir,;t t11500 s,@mandir@,$mandir,;t t11501 s,@build_alias@,$build_alias,;t t11502 s,@host_alias@,$host_alias,;t t11503 s,@target_alias@,$target_alias,;t t11504 s,@DEFS@,$DEFS,;t t11505 s,@ECHO_C@,$ECHO_C,;t t11506 s,@ECHO_N@,$ECHO_N,;t t11507 s,@ECHO_T@,$ECHO_T,;t t11508 s,@LIBS@,$LIBS,;t t11509 s,@build@,$build,;t t11510 s,@build_cpu@,$build_cpu,;t t11511 s,@build_vendor@,$build_vendor,;t t11512 s,@build_os@,$build_os,;t t11513 s,@host@,$host,;t t11514 s,@host_cpu@,$host_cpu,;t t11515 s,@host_vendor@,$host_vendor,;t t11516 s,@host_os@,$host_os,;t t11517 s,@target@,$target,;t t11518 s,@target_cpu@,$target_cpu,;t t11519 s,@target_vendor@,$target_vendor,;t t11520 s,@target_os@,$target_os,;t t11521 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t11522 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t11523 s,@INSTALL_DATA@,$INSTALL_DATA,;t t11524 s,@CYGPATH_W@,$CYGPATH_W,;t t11525 s,@PACKAGE@,$PACKAGE,;t t11526 s,@VERSION@,$VERSION,;t t11527 s,@ACLOCAL@,$ACLOCAL,;t t11528 s,@AUTOCONF@,$AUTOCONF,;t t11529 s,@AUTOMAKE@,$AUTOMAKE,;t t11530 s,@AUTOHEADER@,$AUTOHEADER,;t t11531 s,@MAKEINFO@,$MAKEINFO,;t t11532 s,@install_sh@,$install_sh,;t t11533 s,@STRIP@,$STRIP,;t t11534 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t11535 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t11536 s,@mkdir_p@,$mkdir_p,;t t11537 s,@AWK@,$AWK,;t t11538 s,@SET_MAKE@,$SET_MAKE,;t t11539 s,@am__leading_dot@,$am__leading_dot,;t t11540 s,@AMTAR@,$AMTAR,;t t11541 s,@am__tar@,$am__tar,;t t11542 s,@am__untar@,$am__untar,;t t11543 s,@CXX@,$CXX,;t t11544 s,@CXXFLAGS@,$CXXFLAGS,;t t11545 s,@LDFLAGS@,$LDFLAGS,;t t11546 s,@CPPFLAGS@,$CPPFLAGS,;t t11547 s,@ac_ct_CXX@,$ac_ct_CXX,;t t11548 s,@EXEEXT@,$EXEEXT,;t t11549 s,@OBJEXT@,$OBJEXT,;t t11550 s,@DEPDIR@,$DEPDIR,;t t11551 s,@am__include@,$am__include,;t t11552 s,@am__quote@,$am__quote,;t t11553 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t11554 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t11555 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t11556 s,@CXXDEPMODE@,$CXXDEPMODE,;t t11557 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t11558 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t11559 s,@RANLIB@,$RANLIB,;t t11560 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t11561 s,@CC@,$CC,;t t11562 s,@CFLAGS@,$CFLAGS,;t t11563 s,@ac_ct_CC@,$ac_ct_CC,;t t11564 s,@CCDEPMODE@,$CCDEPMODE,;t t11565 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t11566 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t11567 s,@CPP@,$CPP,;t t11568 s,@EGREP@,$EGREP,;t t11569 s,@DEBUG@,$DEBUG,;t t11570 s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t11571 s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t11572 s,@DOCUMENTATION_TRUE@,$DOCUMENTATION_TRUE,;t t11573 s,@DOCUMENTATION_FALSE@,$DOCUMENTATION_FALSE,;t t11574 s,@DOXYGEN@,$DOXYGEN,;t t11575 s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t11576 s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t11577 s,@GPROF@,$GPROF,;t t11578 s,@PKG_CONFIG@,$PKG_CONFIG,;t t11579 s,@MSBITFIELDS@,$MSBITFIELDS,;t t11580 s,@CURL_LIBS@,$CURL_LIBS,;t t11581 s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t11582 s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t11583 s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t11584 s,@GTK2_LIBS@,$GTK2_LIBS,;t t11585 s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t11586 s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t11587 s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t11588 s,@LIBOBJS@,$LIBOBJS,;t t11589 s,@LTLIBOBJS@,$LTLIBOBJS,;t t11590 CEOF11591 11592 _ACEOF11593 11594 cat >>$CONFIG_STATUS <<\_ACEOF11595 # Split the substitutions into bite-sized pieces for seds with11596 # small command number limits, like on Digital OSF/1 and HP-UX.11597 ac_max_sed_lines=4811598 ac_sed_frag=1 # Number of current file.11599 ac_beg=1 # First line for current file.11600 ac_end=$ac_max_sed_lines # Line after last line for current file.11601 ac_more_lines=:11602 ac_sed_cmds=11603 while $ac_more_lines; do11604 if test $ac_beg -gt 1; then11605 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag11606 else11607 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag11608 fi11609 if test ! -s $tmp/subs.frag; then11610 ac_more_lines=false11611 else11612 # The purpose of the label and of the branching condition is to11613 # speed up the sed processing (if there are no `@' at all, there11614 # is no need to browse any of the substitutions).11615 # These are the two extra sed commands mentioned above.11616 (echo ':t11617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed11618 if test -z "$ac_sed_cmds"; then11619 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"11620 else11621 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"11622 fi11623 ac_sed_frag=`expr $ac_sed_frag + 1`11624 ac_beg=$ac_end11625 ac_end=`expr $ac_end + $ac_max_sed_lines`11626 fi11627 done11628 if test -z "$ac_sed_cmds"; then11629 ac_sed_cmds=cat11630 fi11631 fi # test -n "$CONFIG_FILES"11632 11633 _ACEOF11634 cat >>$CONFIG_STATUS <<\_ACEOF11635 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue11636 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".11637 case $ac_file in11638 - | *:- | *:-:* ) # input from stdin11639 cat >$tmp/stdin11640 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`11641 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;11642 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`11643 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;11644 * ) ac_file_in=$ac_file.in ;;11645 esac11646 11647 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.11648 ac_dir=`(dirname "$ac_file") 2>/dev/null ||11649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \11650 X"$ac_file" : 'X\(//\)[^/]' \| \11651 X"$ac_file" : 'X\(//\)$' \| \11652 X"$ac_file" : 'X\(/\)' \| \11653 . : '\(.\)' 2>/dev/null ||11654 echo X"$ac_file" |11655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }11656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }11657 /^X\(\/\/\)$/{ s//\1/; q; }11658 /^X\(\/\).*/{ s//\1/; q; }11659 s/.*/./; q'`11660 { if $as_mkdir_p; then11661 mkdir -p "$ac_dir"11662 else11663 as_dir="$ac_dir"11664 as_dirs=11665 while test ! -d "$as_dir"; do11666 as_dirs="$as_dir $as_dirs"11667 as_dir=`(dirname "$as_dir") 2>/dev/null ||11668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \11669 X"$as_dir" : 'X\(//\)[^/]' \| \11670 X"$as_dir" : 'X\(//\)$' \| \11671 X"$as_dir" : 'X\(/\)' \| \11672 . : '\(.\)' 2>/dev/null ||11673 echo X"$as_dir" |11674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }11675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }11676 /^X\(\/\/\)$/{ s//\1/; q; }11677 /^X\(\/\).*/{ s//\1/; q; }11678 s/.*/./; q'`11679 done11680 test ! -n "$as_dirs" || mkdir $as_dirs11681 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&511682 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}11683 { (exit 1); exit 1; }; }; }11684 11685 ac_builddir=.11686 11687 if test "$ac_dir" != .; then11688 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`11689 # A "../" for each directory in $ac_dir_suffix.11690 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`11691 else11692 ac_dir_suffix= ac_top_builddir=11693 fi11694 11695 case $srcdir in11696 .) # No --srcdir option. We are building in place.11697 ac_srcdir=.11698 if test -z "$ac_top_builddir"; then11699 ac_top_srcdir=.11700 else11701 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`11702 fi ;;11703 [\\/]* | ?:[\\/]* ) # Absolute path.11704 ac_srcdir=$srcdir$ac_dir_suffix;11705 ac_top_srcdir=$srcdir ;;11706 *) # Relative path.11707 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix11708 ac_top_srcdir=$ac_top_builddir$srcdir ;;11709 esac11710 11711 # Do not use `cd foo && pwd` to compute absolute paths, because11712 # the directories may not exist.11713 case `pwd` in11714 .) ac_abs_builddir="$ac_dir";;11715 *)11716 case "$ac_dir" in11717 .) ac_abs_builddir=`pwd`;;11718 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;11719 *) ac_abs_builddir=`pwd`/"$ac_dir";;11720 esac;;11721 esac11722 case $ac_abs_builddir in11723 .) ac_abs_top_builddir=${ac_top_builddir}.;;11724 *)11725 case ${ac_top_builddir}. in11726 .) ac_abs_top_builddir=$ac_abs_builddir;;11727 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;11728 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;11729 esac;;11730 esac11731 case $ac_abs_builddir in11732 .) ac_abs_srcdir=$ac_srcdir;;11733 *)11734 case $ac_srcdir in11735 .) ac_abs_srcdir=$ac_abs_builddir;;11736 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;11737 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;11738 esac;;11739 esac11740 case $ac_abs_builddir in11741 .) ac_abs_top_srcdir=$ac_top_srcdir;;11742 *)11743 case $ac_top_srcdir in11744 .) ac_abs_top_srcdir=$ac_abs_builddir;;11745 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;11746 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;11747 esac;;11748 esac11749 11750 11751 case $INSTALL in11752 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;11753 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;11754 esac11755 11756 if test x"$ac_file" != x-; then11757 { echo "$as_me:$LINENO: creating $ac_file" >&511758 echo "$as_me: creating $ac_file" >&6;}11759 rm -f "$ac_file"11760 fi11761 # Let's still pretend it is `configure' which instantiates (i.e., don't11762 # use $as_me), people would be surprised to read:11763 # /* config.h. Generated by config.status. */11764 if test x"$ac_file" = x-; then11765 configure_input=11766 else11767 configure_input="$ac_file. "11768 fi11769 configure_input=$configure_input"Generated from `echo $ac_file_in |11770 sed 's,.*/,,'` by configure."11771 11772 # First look for the input files in the build tree, otherwise in the11773 # src tree.11774 ac_file_inputs=`IFS=:11775 for f in $ac_file_in; do11776 case $f in11777 -) echo $tmp/stdin ;;11778 [\\/$]*)11779 # Absolute (can't be DOS-style, as IFS=:)11780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&511781 echo "$as_me: error: cannot find input file: $f" >&2;}11782 { (exit 1); exit 1; }; }11783 echo "$f";;11784 *) # Relative11785 if test -f "$f"; then11786 # Build tree11787 echo "$f"11788 elif test -f "$srcdir/$f"; then11789 # Source tree11790 echo "$srcdir/$f"11791 else11792 # /dev/null tree11793 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&511794 echo "$as_me: error: cannot find input file: $f" >&2;}11795 { (exit 1); exit 1; }; }11796 fi;;11797 esac11798 done` || { (exit 1); exit 1; }11799 _ACEOF11800 cat >>$CONFIG_STATUS <<_ACEOF11801 sed "$ac_vpsub11802 $extrasub11803 _ACEOF11804 cat >>$CONFIG_STATUS <<\_ACEOF11805 :t11806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b11807 s,@configure_input@,$configure_input,;t t11808 s,@srcdir@,$ac_srcdir,;t t11809 s,@abs_srcdir@,$ac_abs_srcdir,;t t11810 s,@top_srcdir@,$ac_top_srcdir,;t t11811 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t11812 s,@builddir@,$ac_builddir,;t t11813 s,@abs_builddir@,$ac_abs_builddir,;t t11814 s,@top_builddir@,$ac_top_builddir,;t t11815 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t11816 s,@INSTALL@,$ac_INSTALL,;t t11817 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out11818 rm -f $tmp/stdin11819 if test x"$ac_file" != x-; then11820 mv $tmp/out $ac_file11821 else11822 cat $tmp/out11823 rm -f $tmp/out11824 fi11825 11826 done11827 _ACEOF11828 cat >>$CONFIG_STATUS <<\_ACEOF11829 11830 #11831 # CONFIG_HEADER section.11832 #11833 11834 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where11835 # NAME is the cpp macro being defined and VALUE is the value it is being given.11836 #11837 # ac_d sets the value in "#define NAME VALUE" lines.11838 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'11839 ac_dB='[ ].*$,\1#\2'11840 ac_dC=' '11841 ac_dD=',;t'11842 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".11843 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'11844 ac_uB='$,\1#\2define\3'11845 ac_uC=' '11846 ac_uD=',;t'11847 11848 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue11849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".11850 case $ac_file in11851 - | *:- | *:-:* ) # input from stdin11852 cat >$tmp/stdin11853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`11854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;11855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`11856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;11857 * ) ac_file_in=$ac_file.in ;;11858 esac11859 11860 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&511861 echo "$as_me: creating $ac_file" >&6;}11862 11863 # First look for the input files in the build tree, otherwise in the11864 # src tree.11865 ac_file_inputs=`IFS=:11866 for f in $ac_file_in; do11867 case $f in11868 -) echo $tmp/stdin ;;11869 [\\/$]*)11870 # Absolute (can't be DOS-style, as IFS=:)11871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&511872 echo "$as_me: error: cannot find input file: $f" >&2;}11873 { (exit 1); exit 1; }; }11874 # Do quote $f, to prevent DOS paths from being IFS'd.11875 echo "$f";;11876 *) # Relative11877 if test -f "$f"; then11878 # Build tree11879 echo "$f"11880 elif test -f "$srcdir/$f"; then11881 # Source tree11882 echo "$srcdir/$f"11883 else11884 # /dev/null tree11885 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&511886 echo "$as_me: error: cannot find input file: $f" >&2;}11887 { (exit 1); exit 1; }; }11888 fi;;11889 esac11890 done` || { (exit 1); exit 1; }11891 # Remove the trailing spaces.11892 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in11893 11894 _ACEOF11895 11896 # Transform confdefs.h into two sed scripts, `conftest.defines' and11897 # `conftest.undefs', that substitutes the proper values into11898 # config.h.in to produce config.h. The first handles `#define'11899 # templates, and the second `#undef' templates.11900 # And first: Protect against being on the right side of a sed subst in11901 # config.status. Protect against being in an unquoted here document11902 # in config.status.11903 rm -f conftest.defines conftest.undefs11904 # Using a here document instead of a string reduces the quoting nightmare.11905 # Putting comments in sed scripts is not portable.11906 #11907 # `end' is used to avoid that the second main sed command (meant for11908 # 0-ary CPP macros) applies to n-ary macro definitions.11909 # See the Autoconf documentation for `clear'.11910 cat >confdef2sed.sed <<\_ACEOF11911 s/[\\&,]/\\&/g11912 s,[\\$`],\\&,g11913 t clear11914 : clear11915 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp11916 t end11917 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp11918 : end11919 _ACEOF11920 # If some macros were called several times there might be several times11921 # the same #defines, which is useless. Nevertheless, we may not want to11922 # sort them, since we want the *last* AC-DEFINE to be honored.11923 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines11924 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs11925 rm -f confdef2sed.sed11926 11927 # This sed command replaces #undef with comments. This is necessary, for11928 # example, in the case of _POSIX_SOURCE, which is predefined and required11929 # on some systems where configure will not decide to define it.11930 cat >>conftest.undefs <<\_ACEOF11931 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,11932 _ACEOF11933 11934 # Break up conftest.defines because some shells have a limit on the size11935 # of here documents, and old seds have small limits too (100 cmds).11936 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS11937 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS11938 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS11939 echo ' :' >>$CONFIG_STATUS11940 rm -f conftest.tail11941 while grep . conftest.defines >/dev/null11942 do11943 # Write a limited-size here document to $tmp/defines.sed.11944 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS11945 # Speed up: don't consider the non `#define' lines.11946 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS11947 # Work around the forget-to-reset-the-flag bug.11948 echo 't clr' >>$CONFIG_STATUS11949 echo ': clr' >>$CONFIG_STATUS11950 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS11951 echo 'CEOF11952 sed -f $tmp/defines.sed $tmp/in >$tmp/out11953 rm -f $tmp/in11954 mv $tmp/out $tmp/in11955 ' >>$CONFIG_STATUS11956 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail11957 rm -f conftest.defines11958 mv conftest.tail conftest.defines11959 done11960 rm -f conftest.defines11961 echo ' fi # grep' >>$CONFIG_STATUS11962 echo >>$CONFIG_STATUS11963 11964 # Break up conftest.undefs because some shells have a limit on the size11965 # of here documents, and old seds have small limits too (100 cmds).11966 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS11967 rm -f conftest.tail11968 while grep . conftest.undefs >/dev/null11969 do11970 # Write a limited-size here document to $tmp/undefs.sed.11971 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS11972 # Speed up: don't consider the non `#undef'11973 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS11974 # Work around the forget-to-reset-the-flag bug.11975 echo 't clr' >>$CONFIG_STATUS11976 echo ': clr' >>$CONFIG_STATUS11977 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS11978 echo 'CEOF11979 sed -f $tmp/undefs.sed $tmp/in >$tmp/out11980 rm -f $tmp/in11981 mv $tmp/out $tmp/in11982 ' >>$CONFIG_STATUS11983 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail11984 rm -f conftest.undefs11985 mv conftest.tail conftest.undefs11986 done11987 rm -f conftest.undefs11988 11989 cat >>$CONFIG_STATUS <<\_ACEOF11990 # Let's still pretend it is `configure' which instantiates (i.e., don't11991 # use $as_me), people would be surprised to read:11992 # /* config.h. Generated by config.status. */11993 if test x"$ac_file" = x-; then11994 echo "/* Generated by configure. */" >$tmp/config.h11995 else11996 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h11997 fi11998 cat $tmp/in >>$tmp/config.h11999 rm -f $tmp/in12000 if test x"$ac_file" != x-; then12001 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then12002 { echo "$as_me:$LINENO: $ac_file is unchanged" >&512003 echo "$as_me: $ac_file is unchanged" >&6;}12004 else12005 ac_dir=`(dirname "$ac_file") 2>/dev/null ||12006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12007 X"$ac_file" : 'X\(//\)[^/]' \| \12008 X"$ac_file" : 'X\(//\)$' \| \12009 X"$ac_file" : 'X\(/\)' \| \12010 . : '\(.\)' 2>/dev/null ||12011 echo X"$ac_file" |12012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12014 /^X\(\/\/\)$/{ s//\1/; q; }12015 /^X\(\/\).*/{ s//\1/; q; }12016 s/.*/./; q'`12017 { if $as_mkdir_p; then12018 mkdir -p "$ac_dir"12019 else12020 as_dir="$ac_dir"12021 as_dirs=12022 while test ! -d "$as_dir"; do12023 as_dirs="$as_dir $as_dirs"12024 as_dir=`(dirname "$as_dir") 2>/dev/null ||12025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12026 X"$as_dir" : 'X\(//\)[^/]' \| \12027 X"$as_dir" : 'X\(//\)$' \| \12028 X"$as_dir" : 'X\(/\)' \| \12029 . : '\(.\)' 2>/dev/null ||12030 echo X"$as_dir" |12031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12033 /^X\(\/\/\)$/{ s//\1/; q; }12034 /^X\(\/\).*/{ s//\1/; q; }12035 s/.*/./; q'`12036 done12037 test ! -n "$as_dirs" || mkdir $as_dirs12038 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&512039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}12040 { (exit 1); exit 1; }; }; }12041 12042 rm -f $ac_file12043 mv $tmp/config.h $ac_file12044 fi12045 else12046 cat $tmp/config.h12047 rm -f $tmp/config.h12048 fi12049 # Compute $ac_file's index in $config_headers.12050 _am_stamp_count=112051 for _am_header in $config_headers :; do12052 case $_am_header in12053 $ac_file | $ac_file:* )12054 break ;;12055 * )12056 _am_stamp_count=`expr $_am_stamp_count + 1` ;;12057 esac12058 done12059 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||12060 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12061 X$ac_file : 'X\(//\)[^/]' \| \12062 X$ac_file : 'X\(//\)$' \| \12063 X$ac_file : 'X\(/\)' \| \12064 . : '\(.\)' 2>/dev/null ||12065 echo X$ac_file |12066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12068 /^X\(\/\/\)$/{ s//\1/; q; }12069 /^X\(\/\).*/{ s//\1/; q; }12070 s/.*/./; q'`/stamp-h$_am_stamp_count12071 done12072 _ACEOF12073 cat >>$CONFIG_STATUS <<\_ACEOF12074 12075 #12076 # CONFIG_COMMANDS section.12077 #12078 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue12079 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`12080 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`12081 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||12082 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12083 X"$ac_dest" : 'X\(//\)[^/]' \| \12084 X"$ac_dest" : 'X\(//\)$' \| \12085 X"$ac_dest" : 'X\(/\)' \| \12086 . : '\(.\)' 2>/dev/null ||12087 echo X"$ac_dest" |12088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12090 /^X\(\/\/\)$/{ s//\1/; q; }12091 /^X\(\/\).*/{ s//\1/; q; }12092 s/.*/./; q'`12093 { if $as_mkdir_p; then12094 mkdir -p "$ac_dir"12095 else12096 as_dir="$ac_dir"12097 as_dirs=12098 while test ! -d "$as_dir"; do12099 as_dirs="$as_dir $as_dirs"12100 as_dir=`(dirname "$as_dir") 2>/dev/null ||12101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12102 X"$as_dir" : 'X\(//\)[^/]' \| \12103 X"$as_dir" : 'X\(//\)$' \| \12104 X"$as_dir" : 'X\(/\)' \| \12105 . : '\(.\)' 2>/dev/null ||12106 echo X"$as_dir" |12107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12109 /^X\(\/\/\)$/{ s//\1/; q; }12110 /^X\(\/\).*/{ s//\1/; q; }12111 s/.*/./; q'`12112 done12113 test ! -n "$as_dirs" || mkdir $as_dirs12114 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&512115 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}12116 { (exit 1); exit 1; }; }; }12117 12118 ac_builddir=.12119 12120 if test "$ac_dir" != .; then12121 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`12122 # A "../" for each directory in $ac_dir_suffix.12123 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`12124 else12125 ac_dir_suffix= ac_top_builddir=12126 fi12127 12128 case $srcdir in12129 .) # No --srcdir option. We are building in place.12130 ac_srcdir=.12131 if test -z "$ac_top_builddir"; then12132 ac_top_srcdir=.12133 else12134 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`12135 fi ;;12136 [\\/]* | ?:[\\/]* ) # Absolute path.12137 ac_srcdir=$srcdir$ac_dir_suffix;12138 ac_top_srcdir=$srcdir ;;12139 *) # Relative path.12140 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix12141 ac_top_srcdir=$ac_top_builddir$srcdir ;;12142 esac12143 12144 # Do not use `cd foo && pwd` to compute absolute paths, because12145 # the directories may not exist.12146 case `pwd` in12147 .) ac_abs_builddir="$ac_dir";;12148 *)12149 case "$ac_dir" in12150 .) ac_abs_builddir=`pwd`;;12151 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;12152 *) ac_abs_builddir=`pwd`/"$ac_dir";;12153 esac;;12154 esac12155 case $ac_abs_builddir in12156 .) ac_abs_top_builddir=${ac_top_builddir}.;;12157 *)12158 case ${ac_top_builddir}. in12159 .) ac_abs_top_builddir=$ac_abs_builddir;;12160 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;12161 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;12162 esac;;12163 esac12164 case $ac_abs_builddir in12165 .) ac_abs_srcdir=$ac_srcdir;;12166 *)12167 case $ac_srcdir in12168 .) ac_abs_srcdir=$ac_abs_builddir;;12169 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;12170 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;12171 esac;;12172 esac12173 case $ac_abs_builddir in12174 .) ac_abs_top_srcdir=$ac_top_srcdir;;12175 *)12176 case $ac_top_srcdir in12177 .) ac_abs_top_srcdir=$ac_abs_builddir;;12178 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;12179 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;12180 esac;;12181 esac12182 12183 12184 { echo "$as_me:$LINENO: executing $ac_dest commands" >&512185 echo "$as_me: executing $ac_dest commands" >&6;}12186 case $ac_dest in12187 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do12188 # Strip MF so we end up with the name of the file.12189 mf=`echo "$mf" | sed -e 's/:.*$//'`12190 # Check whether this is an Automake generated Makefile or not.12191 # We used to match only the files named `Makefile.in', but12192 # some people rename them; so instead we look at the file content.12193 # Grep'ing the first line is not enough: some people post-process12194 # each Makefile.in and add a new line on top of each file to say so.12195 # So let's grep whole file.12196 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then12197 dirpart=`(dirname "$mf") 2>/dev/null ||12198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12199 X"$mf" : 'X\(//\)[^/]' \| \12200 X"$mf" : 'X\(//\)$' \| \12201 X"$mf" : 'X\(/\)' \| \12202 . : '\(.\)' 2>/dev/null ||12203 echo X"$mf" |12204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12206 /^X\(\/\/\)$/{ s//\1/; q; }12207 /^X\(\/\).*/{ s//\1/; q; }12208 s/.*/./; q'`12209 else12210 continue12211 fi12212 # Extract the definition of DEPDIR, am__include, and am__quote12213 # from the Makefile without running `make'.12214 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`12215 test -z "$DEPDIR" && continue12216 am__include=`sed -n 's/^am__include = //p' < "$mf"`12217 test -z "am__include" && continue12218 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`12219 # When using ansi2knr, U may be empty or an underscore; expand it12220 U=`sed -n 's/^U = //p' < "$mf"`12221 # Find all dependency output files, they are included files with12222 # $(DEPDIR) in their names. We invoke sed twice because it is the12223 # simplest approach to changing $(DEPDIR) to its actual value in the12224 # expansion.12225 for file in `sed -n "12226 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \12227 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do12228 # Make sure the directory exists.12229 test -f "$dirpart/$file" && continue12230 fdir=`(dirname "$file") 2>/dev/null ||12231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12232 X"$file" : 'X\(//\)[^/]' \| \12233 X"$file" : 'X\(//\)$' \| \12234 X"$file" : 'X\(/\)' \| \12235 . : '\(.\)' 2>/dev/null ||12236 echo X"$file" |12237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12239 /^X\(\/\/\)$/{ s//\1/; q; }12240 /^X\(\/\).*/{ s//\1/; q; }12241 s/.*/./; q'`12242 { if $as_mkdir_p; then12243 mkdir -p $dirpart/$fdir12244 else12245 as_dir=$dirpart/$fdir12246 as_dirs=12247 while test ! -d "$as_dir"; do12248 as_dirs="$as_dir $as_dirs"12249 as_dir=`(dirname "$as_dir") 2>/dev/null ||12250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \12251 X"$as_dir" : 'X\(//\)[^/]' \| \12252 X"$as_dir" : 'X\(//\)$' \| \12253 X"$as_dir" : 'X\(/\)' \| \12254 . : '\(.\)' 2>/dev/null ||12255 echo X"$as_dir" |12256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }12257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }12258 /^X\(\/\/\)$/{ s//\1/; q; }12259 /^X\(\/\).*/{ s//\1/; q; }12260 s/.*/./; q'`12261 done12262 test ! -n "$as_dirs" || mkdir $as_dirs12263 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&512264 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}12265 { (exit 1); exit 1; }; }; }12266 12267 # echo "creating $dirpart/$file"12268 echo '# dummy' > "$dirpart/$file"12269 done12270 done12271 ;;12272 esac12273 done12274 _ACEOF12275 12276 cat >>$CONFIG_STATUS <<\_ACEOF12277 12278 { (exit 0); exit 0; }12279 _ACEOF12280 chmod +x $CONFIG_STATUS12281 ac_clean_files=$ac_clean_files_save12282 12283 12284 # configure is writing to config.log, and then calls config.status.12285 # config.status does its own redirection, appending to config.log.12286 # Unfortunately, on DOS this fails, as config.log is still kept open12287 # by configure, so config.status won't be able to write to it; its12288 # output is simply discarded. So we exec the FD to /dev/null,12289 # effectively closing config.log, so it can be properly (re)opened and12290 # appended to by config.status. When coming back to configure, we12291 # need to make the FD available again.12292 if test "$no_create" != yes; then12293 ac_cs_success=:12294 ac_config_status_args=12295 test "$silent" = yes &&12296 ac_config_status_args="$ac_config_status_args --quiet"12297 exec 5>/dev/null12298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false12299 exec 5>>config.log12300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which12301 # would make configure fail if this is the last instruction.12302 $ac_cs_success || { (exit 1); exit 1; }12303 fi12304 -
branches/collision_detection/src/lib/collision_detection/obb_tree_node.cc
r6448 r6449 705 705 } 706 706 } 707 /* if (top) 707 708 if (top) 708 709 { 709 710 glPushAttrib(GL_ENABLE_BIT); 710 711 glDisable(GL_LIGHTING); 711 712 glDisable(GL_TEXTURE_2D); 712 } */713 } 713 714 glColor3f(color.x, color.y, color.z); 714 715 … … 733 734 734 735 735 if( drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL)736 if( 1/*drawMode & DRAW_BV_AXIS || drawMode & DRAW_ALL*/) 736 737 { 737 738 if(1 /*!(drawMode & DRAW_SINGLE && depth != 0)*/) … … 739 740 /* draw the obb axes */ 740 741 glBegin(GL_LINES); 741 glColor3f( 0.0, 0.4, 0.3);742 glColor3f(1.0, 0.0, 0.0); 742 743 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 743 744 glVertex3f(this->bvElement->center.x + this->bvElement->axis[0].x * this->bvElement->halfLength[0], … … 745 746 this->bvElement->center.z + this->bvElement->axis[0].z * this->bvElement->halfLength[0]); 746 747 748 glColor3f(0.0, 1.0, 0.0); 747 749 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 748 750 glVertex3f(this->bvElement->center.x + this->bvElement->axis[1].x * this->bvElement->halfLength[1], … … 750 752 this->bvElement->center.z + this->bvElement->axis[1].z * this->bvElement->halfLength[1]); 751 753 754 glColor3f(0.0, 0.0, 1.0); 752 755 glVertex3f(this->bvElement->center.x, this->bvElement->center.y, this->bvElement->center.z); 753 756 glVertex3f(this->bvElement->center.x + this->bvElement->axis[2].x * this->bvElement->halfLength[2],
Note: See TracChangeset
for help on using the changeset viewer.