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