| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.3.1_alpha. | 
|---|
| 4 | # | 
|---|
| 5 | # Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| 6 | # | 
|---|
| 7 | # Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 8 | # This configure script is free software; the Free Software 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.3.1_alpha' | 
|---|
| 273 | PACKAGE_STRING='orxonox 0.3.1_alpha' | 
|---|
| 274 | PACKAGE_BUGREPORT='orxonox-dev at mail.datacore.ch' | 
|---|
| 275 |  | 
|---|
| 276 | ac_unique_file="." | 
|---|
| 277 | # Factoring default headers for most tests. | 
|---|
| 278 | ac_includes_default="\ | 
|---|
| 279 | #include <stdio.h> | 
|---|
| 280 | #if HAVE_SYS_TYPES_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p 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 RANLIB ac_ct_RANLIB CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE GPROF PKG_CONFIG MSBITFIELDS CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_FALSE GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' | 
|---|
| 315 | ac_subst_files='' | 
|---|
| 316 |  | 
|---|
| 317 | # Initialize some variables set by options. | 
|---|
| 318 | ac_init_help= | 
|---|
| 319 | ac_init_version=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.3.1_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 |  | 
|---|
| 849 | System types: | 
|---|
| 850 |   --build=BUILD     configure for building on BUILD [guessed] | 
|---|
| 851 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|---|
| 852 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
|---|
| 853 | _ACEOF | 
|---|
| 854 | fi | 
|---|
| 855 |  | 
|---|
| 856 | if test -n "$ac_init_help"; then | 
|---|
| 857 |   case $ac_init_help in | 
|---|
| 858 |      short | recursive ) echo "Configuration of orxonox 0.3.1_alpha:";; | 
|---|
| 859 |    esac | 
|---|
| 860 |   cat <<\_ACEOF | 
|---|
| 861 |  | 
|---|
| 862 | Optional Features: | 
|---|
| 863 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
| 864 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| 865 |   --disable-dependency-tracking  speeds up one-time build | 
|---|
| 866 |   --enable-dependency-tracking   do not reject slow dependency extractors | 
|---|
| 867 |   --enable-debug          compiles in debug mode. Lots of debug info about the | 
|---|
| 868 |                           game. | 
|---|
| 869 |   --disable-modular-debug compiles in modular-debug mode, that logs | 
|---|
| 870 |                           differently on the many modules of orxonox. | 
|---|
| 871 |   --disable-gtk           Prevents GTK from being loaded | 
|---|
| 872 |   --disable-curl          Prevents libcURL from being loaded | 
|---|
| 873 |   --enable-profile        builds orxonox with profiling support | 
|---|
| 874 |   --enable-efence         builds orxonox with efence support | 
|---|
| 875 |   --enable-documentation  also builds the sDocumentation while make from | 
|---|
| 876 |                           srcdir | 
|---|
| 877 |  | 
|---|
| 878 | Optional Packages: | 
|---|
| 879 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
| 880 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| 881 |   --with-shared-lib-path  Tells the executable, where to look for the shared | 
|---|
| 882 |                           libraries. | 
|---|
| 883 |   --with-sub-projects     also builds the subProjects while make from srcdir | 
|---|
| 884 |  | 
|---|
| 885 | Some influential environment variables: | 
|---|
| 886 |   CXX         C++ compiler command | 
|---|
| 887 |   CXXFLAGS    C++ compiler flags | 
|---|
| 888 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 889 |               nonstandard directory <lib dir> | 
|---|
| 890 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
| 891 |               headers in a nonstandard directory <include dir> | 
|---|
| 892 |   CC          C compiler command | 
|---|
| 893 |   CFLAGS      C compiler flags | 
|---|
| 894 |   CPP         C preprocessor | 
|---|
| 895 |  | 
|---|
| 896 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 897 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 898 |  | 
|---|
| 899 | Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| 900 | _ACEOF | 
|---|
| 901 | fi | 
|---|
| 902 |  | 
|---|
| 903 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 904 |   # If there are subdirs, report their specific --help. | 
|---|
| 905 |   ac_popdir=`pwd` | 
|---|
| 906 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 907 |     test -d $ac_dir || continue | 
|---|
| 908 |     ac_builddir=. | 
|---|
| 909 |  | 
|---|
| 910 | if test "$ac_dir" != .; then | 
|---|
| 911 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 912 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 913 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 914 | else | 
|---|
| 915 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 916 | fi | 
|---|
| 917 |  | 
|---|
| 918 | case $srcdir in | 
|---|
| 919 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 920 |     ac_srcdir=. | 
|---|
| 921 |     if test -z "$ac_top_builddir"; then | 
|---|
| 922 |        ac_top_srcdir=. | 
|---|
| 923 |     else | 
|---|
| 924 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 925 |     fi ;; | 
|---|
| 926 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 927 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 928 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 929 |   *) # Relative path. | 
|---|
| 930 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 931 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 932 | esac | 
|---|
| 933 |  | 
|---|
| 934 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 935 | # the directories may not exist. | 
|---|
| 936 | case `pwd` in | 
|---|
| 937 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 938 | *) | 
|---|
| 939 |   case "$ac_dir" in | 
|---|
| 940 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 941 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 942 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 943 |   esac;; | 
|---|
| 944 | esac | 
|---|
| 945 | case $ac_abs_builddir in | 
|---|
| 946 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 947 | *) | 
|---|
| 948 |   case ${ac_top_builddir}. in | 
|---|
| 949 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 950 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 951 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 952 |   esac;; | 
|---|
| 953 | esac | 
|---|
| 954 | case $ac_abs_builddir in | 
|---|
| 955 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 956 | *) | 
|---|
| 957 |   case $ac_srcdir in | 
|---|
| 958 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 959 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 960 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 961 |   esac;; | 
|---|
| 962 | esac | 
|---|
| 963 | case $ac_abs_builddir in | 
|---|
| 964 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 965 | *) | 
|---|
| 966 |   case $ac_top_srcdir in | 
|---|
| 967 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 968 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 969 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 970 |   esac;; | 
|---|
| 971 | esac | 
|---|
| 972 |  | 
|---|
| 973 |     cd $ac_dir | 
|---|
| 974 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
| 975 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
| 976 |       echo | 
|---|
| 977 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
| 978 |     elif test -f $ac_srcdir/configure; then | 
|---|
| 979 |       echo | 
|---|
| 980 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
| 981 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
| 982 |            test -f $ac_srcdir/configure.in; then | 
|---|
| 983 |       echo | 
|---|
| 984 |       $ac_configure --help | 
|---|
| 985 |     else | 
|---|
| 986 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 987 |     fi | 
|---|
| 988 |     cd $ac_popdir | 
|---|
| 989 |   done | 
|---|
| 990 | fi | 
|---|
| 991 |  | 
|---|
| 992 | test -n "$ac_init_help" && exit 0 | 
|---|
| 993 | if $ac_init_version; then | 
|---|
| 994 |   cat <<\_ACEOF | 
|---|
| 995 | orxonox configure 0.3.1_alpha | 
|---|
| 996 | generated by GNU Autoconf 2.59 | 
|---|
| 997 |  | 
|---|
| 998 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 999 | This configure script is free software; the Free Software Foundation | 
|---|
| 1000 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 1001 | _ACEOF | 
|---|
| 1002 |   exit 0 | 
|---|
| 1003 | fi | 
|---|
| 1004 | exec 5>config.log | 
|---|
| 1005 | cat >&5 <<_ACEOF | 
|---|
| 1006 | This file contains any messages produced by compilers while | 
|---|
| 1007 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 1008 |  | 
|---|
| 1009 | It was created by orxonox $as_me 0.3.1_alpha, which was | 
|---|
| 1010 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 1011 |  | 
|---|
| 1012 |   $ $0 $@ | 
|---|
| 1013 |  | 
|---|
| 1014 | _ACEOF | 
|---|
| 1015 | { | 
|---|
| 1016 | cat <<_ASUNAME | 
|---|
| 1017 | ## --------- ## | 
|---|
| 1018 | ## Platform. ## | 
|---|
| 1019 | ## --------- ## | 
|---|
| 1020 |  | 
|---|
| 1021 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1022 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1023 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1024 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1025 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1026 |  | 
|---|
| 1027 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1028 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1029 |  | 
|---|
| 1030 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1031 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1032 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1033 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
| 1034 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1035 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1036 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1037 |  | 
|---|
| 1038 | _ASUNAME | 
|---|
| 1039 |  | 
|---|
| 1040 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1041 | for as_dir in $PATH | 
|---|
| 1042 | do | 
|---|
| 1043 |   IFS=$as_save_IFS | 
|---|
| 1044 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1045 |   echo "PATH: $as_dir" | 
|---|
| 1046 | done | 
|---|
| 1047 |  | 
|---|
| 1048 | } >&5 | 
|---|
| 1049 |  | 
|---|
| 1050 | cat >&5 <<_ACEOF | 
|---|
| 1051 |  | 
|---|
| 1052 |  | 
|---|
| 1053 | ## ----------- ## | 
|---|
| 1054 | ## Core tests. ## | 
|---|
| 1055 | ## ----------- ## | 
|---|
| 1056 |  | 
|---|
| 1057 | _ACEOF | 
|---|
| 1058 |  | 
|---|
| 1059 |  | 
|---|
| 1060 | # Keep a trace of the command line. | 
|---|
| 1061 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1062 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1063 | # Also quote any args containing shell meta-characters. | 
|---|
| 1064 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1065 | ac_configure_args= | 
|---|
| 1066 | ac_configure_args0= | 
|---|
| 1067 | ac_configure_args1= | 
|---|
| 1068 | ac_sep= | 
|---|
| 1069 | ac_must_keep_next=false | 
|---|
| 1070 | for ac_pass in 1 2 | 
|---|
| 1071 | do | 
|---|
| 1072 |   for ac_arg | 
|---|
| 1073 |   do | 
|---|
| 1074 |     case $ac_arg in | 
|---|
| 1075 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1076 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1077 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1078 |       continue ;; | 
|---|
| 1079 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1080 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1081 |     esac | 
|---|
| 1082 |     case $ac_pass in | 
|---|
| 1083 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
| 1084 |     2) | 
|---|
| 1085 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
| 1086 |       if test $ac_must_keep_next = true; then | 
|---|
| 1087 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1088 |       else | 
|---|
| 1089 |         case $ac_arg in | 
|---|
| 1090 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1091 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1092 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1093 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1094 |             case "$ac_configure_args0 " in | 
|---|
| 1095 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1096 |             esac | 
|---|
| 1097 |             ;; | 
|---|
| 1098 |           -* ) ac_must_keep_next=true ;; | 
|---|
| 1099 |         esac | 
|---|
| 1100 |       fi | 
|---|
| 1101 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
| 1102 |       # Get rid of the leading space. | 
|---|
| 1103 |       ac_sep=" " | 
|---|
| 1104 |       ;; | 
|---|
| 1105 |     esac | 
|---|
| 1106 |   done | 
|---|
| 1107 | done | 
|---|
| 1108 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
| 1109 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
| 1110 |  | 
|---|
| 1111 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1112 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1113 | # would cause problems or look ugly. | 
|---|
| 1114 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
| 1115 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
| 1116 | trap 'exit_status=$? | 
|---|
| 1117 |   # Save into config.log some information that might help in debugging. | 
|---|
| 1118 |   { | 
|---|
| 1119 |     echo | 
|---|
| 1120 |  | 
|---|
| 1121 |     cat <<\_ASBOX | 
|---|
| 1122 | ## ---------------- ## | 
|---|
| 1123 | ## Cache variables. ## | 
|---|
| 1124 | ## ---------------- ## | 
|---|
| 1125 | _ASBOX | 
|---|
| 1126 |     echo | 
|---|
| 1127 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1128 | { | 
|---|
| 1129 |   (set) 2>&1 | | 
|---|
| 1130 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
| 1131 |     *ac_space=\ *) | 
|---|
| 1132 |       sed -n \ | 
|---|
| 1133 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
| 1134 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
| 1135 |       ;; | 
|---|
| 1136 |     *) | 
|---|
| 1137 |       sed -n \ | 
|---|
| 1138 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 1139 |       ;; | 
|---|
| 1140 |     esac; | 
|---|
| 1141 | } | 
|---|
| 1142 |     echo | 
|---|
| 1143 |  | 
|---|
| 1144 |     cat <<\_ASBOX | 
|---|
| 1145 | ## ----------------- ## | 
|---|
| 1146 | ## Output variables. ## | 
|---|
| 1147 | ## ----------------- ## | 
|---|
| 1148 | _ASBOX | 
|---|
| 1149 |     echo | 
|---|
| 1150 |     for ac_var in $ac_subst_vars | 
|---|
| 1151 |     do | 
|---|
| 1152 |       eval ac_val=$`echo $ac_var` | 
|---|
| 1153 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1154 |     done | sort | 
|---|
| 1155 |     echo | 
|---|
| 1156 |  | 
|---|
| 1157 |     if test -n "$ac_subst_files"; then | 
|---|
| 1158 |       cat <<\_ASBOX | 
|---|
| 1159 | ## ------------- ## | 
|---|
| 1160 | ## Output files. ## | 
|---|
| 1161 | ## ------------- ## | 
|---|
| 1162 | _ASBOX | 
|---|
| 1163 |       echo | 
|---|
| 1164 |       for ac_var in $ac_subst_files | 
|---|
| 1165 |       do | 
|---|
| 1166 |         eval ac_val=$`echo $ac_var` | 
|---|
| 1167 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1168 |       done | sort | 
|---|
| 1169 |       echo | 
|---|
| 1170 |     fi | 
|---|
| 1171 |  | 
|---|
| 1172 |     if test -s confdefs.h; then | 
|---|
| 1173 |       cat <<\_ASBOX | 
|---|
| 1174 | ## ----------- ## | 
|---|
| 1175 | ## confdefs.h. ## | 
|---|
| 1176 | ## ----------- ## | 
|---|
| 1177 | _ASBOX | 
|---|
| 1178 |       echo | 
|---|
| 1179 |       sed "/^$/d" confdefs.h | sort | 
|---|
| 1180 |       echo | 
|---|
| 1181 |     fi | 
|---|
| 1182 |     test "$ac_signal" != 0 && | 
|---|
| 1183 |       echo "$as_me: caught signal $ac_signal" | 
|---|
| 1184 |     echo "$as_me: exit $exit_status" | 
|---|
| 1185 |   } >&5 | 
|---|
| 1186 |   rm -f core *.core && | 
|---|
| 1187 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1188 |     exit $exit_status | 
|---|
| 1189 |      ' 0 | 
|---|
| 1190 | for ac_signal in 1 2 13 15; do | 
|---|
| 1191 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
| 1192 | done | 
|---|
| 1193 | ac_signal=0 | 
|---|
| 1194 |  | 
|---|
| 1195 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1196 | rm -rf conftest* confdefs.h | 
|---|
| 1197 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
| 1198 | echo >confdefs.h | 
|---|
| 1199 |  | 
|---|
| 1200 | # Predefined preprocessor variables. | 
|---|
| 1201 |  | 
|---|
| 1202 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1203 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1204 | _ACEOF | 
|---|
| 1205 |  | 
|---|
| 1206 |  | 
|---|
| 1207 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1208 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1209 | _ACEOF | 
|---|
| 1210 |  | 
|---|
| 1211 |  | 
|---|
| 1212 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1213 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1214 | _ACEOF | 
|---|
| 1215 |  | 
|---|
| 1216 |  | 
|---|
| 1217 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1218 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1219 | _ACEOF | 
|---|
| 1220 |  | 
|---|
| 1221 |  | 
|---|
| 1222 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1223 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1224 | _ACEOF | 
|---|
| 1225 |  | 
|---|
| 1226 |  | 
|---|
| 1227 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1228 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
| 1229 | if test -z "$CONFIG_SITE"; then | 
|---|
| 1230 |   if test "x$prefix" != xNONE; then | 
|---|
| 1231 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
| 1232 |   else | 
|---|
| 1233 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
| 1234 |   fi | 
|---|
| 1235 | fi | 
|---|
| 1236 | for ac_site_file in $CONFIG_SITE; do | 
|---|
| 1237 |   if test -r "$ac_site_file"; then | 
|---|
| 1238 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
| 1239 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1240 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1241 |     . "$ac_site_file" | 
|---|
| 1242 |   fi | 
|---|
| 1243 | done | 
|---|
| 1244 |  | 
|---|
| 1245 | if test -r "$cache_file"; then | 
|---|
| 1246 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
| 1247 |   # files actually), so we avoid doing that. | 
|---|
| 1248 |   if test -f "$cache_file"; then | 
|---|
| 1249 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
| 1250 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1251 |     case $cache_file in | 
|---|
| 1252 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
| 1253 |       *)                      . ./$cache_file;; | 
|---|
| 1254 |     esac | 
|---|
| 1255 |   fi | 
|---|
| 1256 | else | 
|---|
| 1257 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
| 1258 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1259 |   >$cache_file | 
|---|
| 1260 | fi | 
|---|
| 1261 |  | 
|---|
| 1262 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1263 | # value. | 
|---|
| 1264 | ac_cache_corrupted=false | 
|---|
| 1265 | for ac_var in `(set) 2>&1 | | 
|---|
| 1266 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
| 1267 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1268 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1269 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
| 1270 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
| 1271 |   case $ac_old_set,$ac_new_set in | 
|---|
| 1272 |     set,) | 
|---|
| 1273 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1274 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1275 |       ac_cache_corrupted=: ;; | 
|---|
| 1276 |     ,set) | 
|---|
| 1277 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1278 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1279 |       ac_cache_corrupted=: ;; | 
|---|
| 1280 |     ,);; | 
|---|
| 1281 |     *) | 
|---|
| 1282 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1283 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1284 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1285 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
| 1286 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
| 1287 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
| 1288 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
| 1289 |         ac_cache_corrupted=: | 
|---|
| 1290 |       fi;; | 
|---|
| 1291 |   esac | 
|---|
| 1292 |   # Pass precious variables to config.status. | 
|---|
| 1293 |   if test "$ac_new_set" = set; then | 
|---|
| 1294 |     case $ac_new_val in | 
|---|
| 1295 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1296 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1297 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1298 |     esac | 
|---|
| 1299 |     case " $ac_configure_args " in | 
|---|
| 1300 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1301 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
| 1302 |     esac | 
|---|
| 1303 |   fi | 
|---|
| 1304 | done | 
|---|
| 1305 | if $ac_cache_corrupted; then | 
|---|
| 1306 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1307 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1308 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
| 1309 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
| 1310 |    { (exit 1); exit 1; }; } | 
|---|
| 1311 | fi | 
|---|
| 1312 |  | 
|---|
| 1313 | ac_ext=c | 
|---|
| 1314 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1315 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1316 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1317 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1318 |  | 
|---|
| 1319 |  | 
|---|
| 1320 |  | 
|---|
| 1321 |  | 
|---|
| 1322 |  | 
|---|
| 1323 |  | 
|---|
| 1324 |  | 
|---|
| 1325 |  | 
|---|
| 1326 |  | 
|---|
| 1327 |  | 
|---|
| 1328 |  | 
|---|
| 1329 |  | 
|---|
| 1330 |  | 
|---|
| 1331 |  | 
|---|
| 1332 |  | 
|---|
| 1333 |  | 
|---|
| 1334 |  | 
|---|
| 1335 |  | 
|---|
| 1336 |  | 
|---|
| 1337 |  | 
|---|
| 1338 |  | 
|---|
| 1339 |  | 
|---|
| 1340 |  | 
|---|
| 1341 |  | 
|---|
| 1342 |  | 
|---|
| 1343 |  | 
|---|
| 1344 |  | 
|---|
| 1345 |  | 
|---|
| 1346 | ## Detect the canonical host and target build environment. | 
|---|
| 1347 | ac_aux_dir= | 
|---|
| 1348 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
| 1349 |   if test -f $ac_dir/install-sh; then | 
|---|
| 1350 |     ac_aux_dir=$ac_dir | 
|---|
| 1351 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 1352 |     break | 
|---|
| 1353 |   elif test -f $ac_dir/install.sh; then | 
|---|
| 1354 |     ac_aux_dir=$ac_dir | 
|---|
| 1355 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 1356 |     break | 
|---|
| 1357 |   elif test -f $ac_dir/shtool; then | 
|---|
| 1358 |     ac_aux_dir=$ac_dir | 
|---|
| 1359 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 1360 |     break | 
|---|
| 1361 |   fi | 
|---|
| 1362 | done | 
|---|
| 1363 | if test -z "$ac_aux_dir"; then | 
|---|
| 1364 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
| 1365 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
| 1366 |    { (exit 1); exit 1; }; } | 
|---|
| 1367 | fi | 
|---|
| 1368 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
| 1369 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
| 1370 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
| 1371 |  | 
|---|
| 1372 | # Make sure we can run config.sub. | 
|---|
| 1373 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
| 1374 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
| 1375 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
| 1376 |    { (exit 1); exit 1; }; } | 
|---|
| 1377 |  | 
|---|
| 1378 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
| 1379 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
| 1380 | if test "${ac_cv_build+set}" = set; then | 
|---|
| 1381 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1382 | else | 
|---|
| 1383 |   ac_cv_build_alias=$build_alias | 
|---|
| 1384 | test -z "$ac_cv_build_alias" && | 
|---|
| 1385 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
| 1386 | test -z "$ac_cv_build_alias" && | 
|---|
| 1387 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
| 1388 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
| 1389 |    { (exit 1); exit 1; }; } | 
|---|
| 1390 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
| 1391 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
| 1392 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
| 1393 |    { (exit 1); exit 1; }; } | 
|---|
| 1394 |  | 
|---|
| 1395 | fi | 
|---|
| 1396 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
| 1397 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
| 1398 | build=$ac_cv_build | 
|---|
| 1399 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1400 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1401 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1402 |  | 
|---|
| 1403 |  | 
|---|
| 1404 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
| 1405 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
| 1406 | if test "${ac_cv_host+set}" = set; then | 
|---|
| 1407 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1408 | else | 
|---|
| 1409 |   ac_cv_host_alias=$host_alias | 
|---|
| 1410 | test -z "$ac_cv_host_alias" && | 
|---|
| 1411 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
| 1412 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
| 1413 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
| 1414 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
| 1415 |    { (exit 1); exit 1; }; } | 
|---|
| 1416 |  | 
|---|
| 1417 | fi | 
|---|
| 1418 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
| 1419 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
| 1420 | host=$ac_cv_host | 
|---|
| 1421 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1422 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1423 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1424 |  | 
|---|
| 1425 |  | 
|---|
| 1426 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
| 1427 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
| 1428 | if test "${ac_cv_target+set}" = set; then | 
|---|
| 1429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1430 | else | 
|---|
| 1431 |   ac_cv_target_alias=$target_alias | 
|---|
| 1432 | test "x$ac_cv_target_alias" = "x" && | 
|---|
| 1433 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
| 1434 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
| 1435 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
| 1436 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
| 1437 |    { (exit 1); exit 1; }; } | 
|---|
| 1438 |  | 
|---|
| 1439 | fi | 
|---|
| 1440 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
| 1441 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
| 1442 | target=$ac_cv_target | 
|---|
| 1443 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1444 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1445 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1446 |  | 
|---|
| 1447 |  | 
|---|
| 1448 | # The aliases save the names the user supplied, while $host etc. | 
|---|
| 1449 | # will get canonicalized. | 
|---|
| 1450 | test -n "$target_alias" && | 
|---|
| 1451 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
| 1452 |     NONENONEs,x,x, && | 
|---|
| 1453 |   program_prefix=${target_alias}- | 
|---|
| 1454 |  | 
|---|
| 1455 | am__api_version="1.8" | 
|---|
| 1456 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1457 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1458 | # incompatible versions: | 
|---|
| 1459 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1460 | # SunOS /usr/etc/install | 
|---|
| 1461 | # IRIX /sbin/install | 
|---|
| 1462 | # AIX /bin/install | 
|---|
| 1463 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 1464 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1465 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1466 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1467 | # OS/2's system install, which has a completely different semantic | 
|---|
| 1468 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1469 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
| 1470 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
| 1471 | if test -z "$INSTALL"; then | 
|---|
| 1472 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1473 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1474 | else | 
|---|
| 1475 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1476 | for as_dir in $PATH | 
|---|
| 1477 | do | 
|---|
| 1478 |   IFS=$as_save_IFS | 
|---|
| 1479 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1480 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1481 | case $as_dir/ in | 
|---|
| 1482 |   ./ | .// | /cC/* | \ | 
|---|
| 1483 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 1484 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
| 1485 |   /usr/ucb/* ) ;; | 
|---|
| 1486 |   *) | 
|---|
| 1487 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1488 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1489 |     # by default. | 
|---|
| 1490 |     for ac_prog in ginstall scoinst install; do | 
|---|
| 1491 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1492 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 1493 |           if test $ac_prog = install && | 
|---|
| 1494 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1495 |             # AIX install.  It has an incompatible calling convention. | 
|---|
| 1496 |             : | 
|---|
| 1497 |           elif test $ac_prog = install && | 
|---|
| 1498 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1499 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
| 1500 |             : | 
|---|
| 1501 |           else | 
|---|
| 1502 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 1503 |             break 3 | 
|---|
| 1504 |           fi | 
|---|
| 1505 |         fi | 
|---|
| 1506 |       done | 
|---|
| 1507 |     done | 
|---|
| 1508 |     ;; | 
|---|
| 1509 | esac | 
|---|
| 1510 | done | 
|---|
| 1511 |  | 
|---|
| 1512 |  | 
|---|
| 1513 | fi | 
|---|
| 1514 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1515 |     INSTALL=$ac_cv_path_install | 
|---|
| 1516 |   else | 
|---|
| 1517 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1518 |     # path for INSTALL within a source directory, because that will | 
|---|
| 1519 |     # break other packages using the cache if that directory is | 
|---|
| 1520 |     # removed, or if the path is relative. | 
|---|
| 1521 |     INSTALL=$ac_install_sh | 
|---|
| 1522 |   fi | 
|---|
| 1523 | fi | 
|---|
| 1524 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
| 1525 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
| 1526 |  | 
|---|
| 1527 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1528 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1529 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1530 |  | 
|---|
| 1531 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 1532 |  | 
|---|
| 1533 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1534 |  | 
|---|
| 1535 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
| 1536 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
| 1537 | # Just in case | 
|---|
| 1538 | sleep 1 | 
|---|
| 1539 | echo timestamp > conftest.file | 
|---|
| 1540 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 1541 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 1542 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 1543 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 1544 | # directory). | 
|---|
| 1545 | if ( | 
|---|
| 1546 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
| 1547 |    if test "$*" = "X"; then | 
|---|
| 1548 |       # -L didn't work. | 
|---|
| 1549 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
| 1550 |    fi | 
|---|
| 1551 |    rm -f conftest.file | 
|---|
| 1552 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 1553 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 1554 |  | 
|---|
| 1555 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 1556 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 1557 |       # broken ls alias from the environment.  This has actually | 
|---|
| 1558 |       # happened.  Such a system could not be considered "sane". | 
|---|
| 1559 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1560 | alias in your environment" >&5 | 
|---|
| 1561 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1562 | alias in your environment" >&2;} | 
|---|
| 1563 |    { (exit 1); exit 1; }; } | 
|---|
| 1564 |    fi | 
|---|
| 1565 |  | 
|---|
| 1566 |    test "$2" = conftest.file | 
|---|
| 1567 |    ) | 
|---|
| 1568 | then | 
|---|
| 1569 |    # Ok. | 
|---|
| 1570 |    : | 
|---|
| 1571 | else | 
|---|
| 1572 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
| 1573 | Check your system clock" >&5 | 
|---|
| 1574 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
| 1575 | Check your system clock" >&2;} | 
|---|
| 1576 |    { (exit 1); exit 1; }; } | 
|---|
| 1577 | fi | 
|---|
| 1578 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1579 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1580 | test "$program_prefix" != NONE && | 
|---|
| 1581 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
| 1582 | # Use a double $ so make ignores it. | 
|---|
| 1583 | test "$program_suffix" != NONE && | 
|---|
| 1584 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
| 1585 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 1586 | # By default was `s,x,x', remove it if useless. | 
|---|
| 1587 | cat <<\_ACEOF >conftest.sed | 
|---|
| 1588 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
| 1589 | _ACEOF | 
|---|
| 1590 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
| 1591 | rm conftest.sed | 
|---|
| 1592 |  | 
|---|
| 1593 | # expand $ac_aux_dir to an absolute path | 
|---|
| 1594 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 1595 |  | 
|---|
| 1596 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
| 1597 | # Use eval to expand $SHELL | 
|---|
| 1598 | if eval "$MISSING --run true"; then | 
|---|
| 1599 |   am_missing_run="$MISSING --run " | 
|---|
| 1600 | else | 
|---|
| 1601 |   am_missing_run= | 
|---|
| 1602 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
| 1603 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
| 1604 | fi | 
|---|
| 1605 |  | 
|---|
| 1606 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| 1607 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
| 1608 |   # argument.  Indeed, we sometimes output rules like | 
|---|
| 1609 |   #   $(mkdir_p) $(somedir) | 
|---|
| 1610 |   # where $(somedir) is conditionally defined. | 
|---|
| 1611 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
| 1612 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
| 1613 |   mkdir_p='mkdir -p -- .' | 
|---|
| 1614 | else | 
|---|
| 1615 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
| 1616 |   # recognize any option.  It will interpret all options as | 
|---|
| 1617 |   # directories to create, and then abort because `.' already | 
|---|
| 1618 |   # exists. | 
|---|
| 1619 |   for d in ./-p ./--version; | 
|---|
| 1620 |   do | 
|---|
| 1621 |     test -d $d && rmdir $d | 
|---|
| 1622 |   done | 
|---|
| 1623 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
| 1624 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
| 1625 |     mkdir_p='$(mkinstalldirs)' | 
|---|
| 1626 |   else | 
|---|
| 1627 |     mkdir_p='$(install_sh) -d' | 
|---|
| 1628 |   fi | 
|---|
| 1629 | fi | 
|---|
| 1630 |  | 
|---|
| 1631 | for ac_prog in gawk mawk nawk awk | 
|---|
| 1632 | do | 
|---|
| 1633 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1634 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1635 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1636 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1637 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
| 1638 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1639 | else | 
|---|
| 1640 |   if test -n "$AWK"; then | 
|---|
| 1641 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 1642 | else | 
|---|
| 1643 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1644 | for as_dir in $PATH | 
|---|
| 1645 | do | 
|---|
| 1646 |   IFS=$as_save_IFS | 
|---|
| 1647 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1648 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1649 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1650 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
| 1651 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1652 |     break 2 | 
|---|
| 1653 |   fi | 
|---|
| 1654 | done | 
|---|
| 1655 | done | 
|---|
| 1656 |  | 
|---|
| 1657 | fi | 
|---|
| 1658 | fi | 
|---|
| 1659 | AWK=$ac_cv_prog_AWK | 
|---|
| 1660 | if test -n "$AWK"; then | 
|---|
| 1661 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
| 1662 | echo "${ECHO_T}$AWK" >&6 | 
|---|
| 1663 | else | 
|---|
| 1664 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1665 | echo "${ECHO_T}no" >&6 | 
|---|
| 1666 | fi | 
|---|
| 1667 |  | 
|---|
| 1668 |   test -n "$AWK" && break | 
|---|
| 1669 | done | 
|---|
| 1670 |  | 
|---|
| 1671 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 1672 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
| 1673 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
| 1674 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
| 1675 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1676 | else | 
|---|
| 1677 |   cat >conftest.make <<\_ACEOF | 
|---|
| 1678 | all: | 
|---|
| 1679 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
| 1680 | _ACEOF | 
|---|
| 1681 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 1682 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
| 1683 | if test -n "$ac_maketemp"; then | 
|---|
| 1684 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 1685 | else | 
|---|
| 1686 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 1687 | fi | 
|---|
| 1688 | rm -f conftest.make | 
|---|
| 1689 | fi | 
|---|
| 1690 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 1691 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1692 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1693 |   SET_MAKE= | 
|---|
| 1694 | else | 
|---|
| 1695 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1696 | echo "${ECHO_T}no" >&6 | 
|---|
| 1697 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 1698 | fi | 
|---|
| 1699 |  | 
|---|
| 1700 | rm -rf .tst 2>/dev/null | 
|---|
| 1701 | mkdir .tst 2>/dev/null | 
|---|
| 1702 | if test -d .tst; then | 
|---|
| 1703 |   am__leading_dot=. | 
|---|
| 1704 | else | 
|---|
| 1705 |   am__leading_dot=_ | 
|---|
| 1706 | fi | 
|---|
| 1707 | rmdir .tst 2>/dev/null | 
|---|
| 1708 |  | 
|---|
| 1709 | # test to see if srcdir already configured | 
|---|
| 1710 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
| 1711 |    test -f $srcdir/config.status; then | 
|---|
| 1712 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
| 1713 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
| 1714 |    { (exit 1); exit 1; }; } | 
|---|
| 1715 | fi | 
|---|
| 1716 |  | 
|---|
| 1717 | # test whether we have cygpath | 
|---|
| 1718 | if test -z "$CYGPATH_W"; then | 
|---|
| 1719 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 1720 |     CYGPATH_W='cygpath -w' | 
|---|
| 1721 |   else | 
|---|
| 1722 |     CYGPATH_W=echo | 
|---|
| 1723 |   fi | 
|---|
| 1724 | fi | 
|---|
| 1725 |  | 
|---|
| 1726 |  | 
|---|
| 1727 | # Define the identity of the package. | 
|---|
| 1728 |  PACKAGE='orxonox' | 
|---|
| 1729 |  VERSION='0.3.1_alpha' | 
|---|
| 1730 |  | 
|---|
| 1731 |  | 
|---|
| 1732 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1733 | #define PACKAGE "$PACKAGE" | 
|---|
| 1734 | _ACEOF | 
|---|
| 1735 |  | 
|---|
| 1736 |  | 
|---|
| 1737 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1738 | #define VERSION "$VERSION" | 
|---|
| 1739 | _ACEOF | 
|---|
| 1740 |  | 
|---|
| 1741 | # Some tools Automake needs. | 
|---|
| 1742 |  | 
|---|
| 1743 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 1744 |  | 
|---|
| 1745 |  | 
|---|
| 1746 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 1747 |  | 
|---|
| 1748 |  | 
|---|
| 1749 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 1750 |  | 
|---|
| 1751 |  | 
|---|
| 1752 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 1753 |  | 
|---|
| 1754 |  | 
|---|
| 1755 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 1756 |  | 
|---|
| 1757 |  | 
|---|
| 1758 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
| 1759 |  | 
|---|
| 1760 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
| 1761 |  | 
|---|
| 1762 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
| 1763 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
| 1764 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 1765 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
| 1766 | if test "$cross_compiling" != no; then | 
|---|
| 1767 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 1768 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 1769 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 1770 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1771 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1772 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
| 1773 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1774 | else | 
|---|
| 1775 |   if test -n "$STRIP"; then | 
|---|
| 1776 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 1777 | else | 
|---|
| 1778 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1779 | for as_dir in $PATH | 
|---|
| 1780 | do | 
|---|
| 1781 |   IFS=$as_save_IFS | 
|---|
| 1782 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1783 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1784 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1785 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 1786 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1787 |     break 2 | 
|---|
| 1788 |   fi | 
|---|
| 1789 | done | 
|---|
| 1790 | done | 
|---|
| 1791 |  | 
|---|
| 1792 | fi | 
|---|
| 1793 | fi | 
|---|
| 1794 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 1795 | if test -n "$STRIP"; then | 
|---|
| 1796 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
| 1797 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
| 1798 | else | 
|---|
| 1799 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1800 | echo "${ECHO_T}no" >&6 | 
|---|
| 1801 | fi | 
|---|
| 1802 |  | 
|---|
| 1803 | fi | 
|---|
| 1804 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 1805 |   ac_ct_STRIP=$STRIP | 
|---|
| 1806 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 1807 | set dummy strip; ac_word=$2 | 
|---|
| 1808 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1809 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1810 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
| 1811 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1812 | else | 
|---|
| 1813 |   if test -n "$ac_ct_STRIP"; then | 
|---|
| 1814 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 1815 | else | 
|---|
| 1816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1817 | for as_dir in $PATH | 
|---|
| 1818 | do | 
|---|
| 1819 |   IFS=$as_save_IFS | 
|---|
| 1820 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1821 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1822 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1823 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 1824 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1825 |     break 2 | 
|---|
| 1826 |   fi | 
|---|
| 1827 | done | 
|---|
| 1828 | done | 
|---|
| 1829 |  | 
|---|
| 1830 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
| 1831 | fi | 
|---|
| 1832 | fi | 
|---|
| 1833 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 1834 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 1835 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
| 1836 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
| 1837 | else | 
|---|
| 1838 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1839 | echo "${ECHO_T}no" >&6 | 
|---|
| 1840 | fi | 
|---|
| 1841 |  | 
|---|
| 1842 |   STRIP=$ac_ct_STRIP | 
|---|
| 1843 | else | 
|---|
| 1844 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
| 1845 | fi | 
|---|
| 1846 |  | 
|---|
| 1847 | fi | 
|---|
| 1848 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
| 1849 |  | 
|---|
| 1850 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
| 1851 | # some platforms. | 
|---|
| 1852 |  | 
|---|
| 1853 |  | 
|---|
| 1854 |  | 
|---|
| 1855 |  | 
|---|
| 1856 |  | 
|---|
| 1857 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
| 1858 |  | 
|---|
| 1859 |  | 
|---|
| 1860 | ######################### | 
|---|
| 1861 | ## Checks for programs ## | 
|---|
| 1862 | ######################### | 
|---|
| 1863 | ac_ext=cc | 
|---|
| 1864 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 1865 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1866 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1867 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 1868 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1869 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1870 |   do | 
|---|
| 1871 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 1872 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 1873 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1874 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1875 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
| 1876 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1877 | else | 
|---|
| 1878 |   if test -n "$CXX"; then | 
|---|
| 1879 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1880 | else | 
|---|
| 1881 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1882 | for as_dir in $PATH | 
|---|
| 1883 | do | 
|---|
| 1884 |   IFS=$as_save_IFS | 
|---|
| 1885 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1886 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1887 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1888 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 1889 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1890 |     break 2 | 
|---|
| 1891 |   fi | 
|---|
| 1892 | done | 
|---|
| 1893 | done | 
|---|
| 1894 |  | 
|---|
| 1895 | fi | 
|---|
| 1896 | fi | 
|---|
| 1897 | CXX=$ac_cv_prog_CXX | 
|---|
| 1898 | if test -n "$CXX"; then | 
|---|
| 1899 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
| 1900 | echo "${ECHO_T}$CXX" >&6 | 
|---|
| 1901 | else | 
|---|
| 1902 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1903 | echo "${ECHO_T}no" >&6 | 
|---|
| 1904 | fi | 
|---|
| 1905 |  | 
|---|
| 1906 |     test -n "$CXX" && break | 
|---|
| 1907 |   done | 
|---|
| 1908 | fi | 
|---|
| 1909 | if test -z "$CXX"; then | 
|---|
| 1910 |   ac_ct_CXX=$CXX | 
|---|
| 1911 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1912 | do | 
|---|
| 1913 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1914 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1915 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1916 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1917 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
| 1918 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1919 | else | 
|---|
| 1920 |   if test -n "$ac_ct_CXX"; then | 
|---|
| 1921 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 1922 | else | 
|---|
| 1923 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1924 | for as_dir in $PATH | 
|---|
| 1925 | do | 
|---|
| 1926 |   IFS=$as_save_IFS | 
|---|
| 1927 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1928 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1929 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1930 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 1931 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1932 |     break 2 | 
|---|
| 1933 |   fi | 
|---|
| 1934 | done | 
|---|
| 1935 | done | 
|---|
| 1936 |  | 
|---|
| 1937 | fi | 
|---|
| 1938 | fi | 
|---|
| 1939 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 1940 | if test -n "$ac_ct_CXX"; then | 
|---|
| 1941 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
| 1942 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
| 1943 | else | 
|---|
| 1944 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1945 | echo "${ECHO_T}no" >&6 | 
|---|
| 1946 | fi | 
|---|
| 1947 |  | 
|---|
| 1948 |   test -n "$ac_ct_CXX" && break | 
|---|
| 1949 | done | 
|---|
| 1950 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
| 1951 |  | 
|---|
| 1952 |   CXX=$ac_ct_CXX | 
|---|
| 1953 | fi | 
|---|
| 1954 |  | 
|---|
| 1955 |  | 
|---|
| 1956 | # Provide some information about the compiler. | 
|---|
| 1957 | echo "$as_me:$LINENO:" \ | 
|---|
| 1958 |      "checking for C++ compiler version" >&5 | 
|---|
| 1959 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 1960 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 1961 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 1962 |   ac_status=$? | 
|---|
| 1963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1964 |   (exit $ac_status); } | 
|---|
| 1965 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 1966 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 1967 |   ac_status=$? | 
|---|
| 1968 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1969 |   (exit $ac_status); } | 
|---|
| 1970 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 1971 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 1972 |   ac_status=$? | 
|---|
| 1973 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1974 |   (exit $ac_status); } | 
|---|
| 1975 |  | 
|---|
| 1976 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1977 | /* confdefs.h.  */ | 
|---|
| 1978 | _ACEOF | 
|---|
| 1979 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 1980 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 1981 | /* end confdefs.h.  */ | 
|---|
| 1982 |  | 
|---|
| 1983 | int | 
|---|
| 1984 | main () | 
|---|
| 1985 | { | 
|---|
| 1986 |  | 
|---|
| 1987 |   ; | 
|---|
| 1988 |   return 0; | 
|---|
| 1989 | } | 
|---|
| 1990 | _ACEOF | 
|---|
| 1991 | ac_clean_files_save=$ac_clean_files | 
|---|
| 1992 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
| 1993 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 1994 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 1995 | # of exeext. | 
|---|
| 1996 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
| 1997 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
| 1998 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 1999 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
| 2000 |   (eval $ac_link_default) 2>&5 | 
|---|
| 2001 |   ac_status=$? | 
|---|
| 2002 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2003 |   (exit $ac_status); }; then | 
|---|
| 2004 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
| 2005 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
| 2006 | # resort. | 
|---|
| 2007 |  | 
|---|
| 2008 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
| 2009 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
| 2010 | ac_cv_exeext= | 
|---|
| 2011 | # b.out is created by i960 compilers. | 
|---|
| 2012 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
| 2013 | do | 
|---|
| 2014 |   test -f "$ac_file" || continue | 
|---|
| 2015 |   case $ac_file in | 
|---|
| 2016 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
| 2017 |         ;; | 
|---|
| 2018 |     conftest.$ac_ext ) | 
|---|
| 2019 |         # This is the source file. | 
|---|
| 2020 |         ;; | 
|---|
| 2021 |     [ab].out ) | 
|---|
| 2022 |         # We found the default executable, but exeext='' is most | 
|---|
| 2023 |         # certainly right. | 
|---|
| 2024 |         break;; | 
|---|
| 2025 |     *.* ) | 
|---|
| 2026 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2027 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
| 2028 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
| 2029 |         # maintain Libtool? --akim. | 
|---|
| 2030 |         export ac_cv_exeext | 
|---|
| 2031 |         break;; | 
|---|
| 2032 |     * ) | 
|---|
| 2033 |         break;; | 
|---|
| 2034 |   esac | 
|---|
| 2035 | done | 
|---|
| 2036 | else | 
|---|
| 2037 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2038 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2039 |  | 
|---|
| 2040 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
| 2041 | See \`config.log' for more details." >&5 | 
|---|
| 2042 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
| 2043 | See \`config.log' for more details." >&2;} | 
|---|
| 2044 |    { (exit 77); exit 77; }; } | 
|---|
| 2045 | fi | 
|---|
| 2046 |  | 
|---|
| 2047 | ac_exeext=$ac_cv_exeext | 
|---|
| 2048 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
| 2049 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
| 2050 |  | 
|---|
| 2051 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2052 | # the compiler is broken, or we cross compile. | 
|---|
| 2053 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
| 2054 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
| 2055 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
| 2056 | # If not cross compiling, check that we can run a simple program. | 
|---|
| 2057 | if test "$cross_compiling" != yes; then | 
|---|
| 2058 |   if { ac_try='./$ac_file' | 
|---|
| 2059 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2060 |   (eval $ac_try) 2>&5 | 
|---|
| 2061 |   ac_status=$? | 
|---|
| 2062 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2063 |   (exit $ac_status); }; }; then | 
|---|
| 2064 |     cross_compiling=no | 
|---|
| 2065 |   else | 
|---|
| 2066 |     if test "$cross_compiling" = maybe; then | 
|---|
| 2067 |         cross_compiling=yes | 
|---|
| 2068 |     else | 
|---|
| 2069 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
| 2070 | If you meant to cross compile, use \`--host'. | 
|---|
| 2071 | See \`config.log' for more details." >&5 | 
|---|
| 2072 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
| 2073 | If you meant to cross compile, use \`--host'. | 
|---|
| 2074 | See \`config.log' for more details." >&2;} | 
|---|
| 2075 |    { (exit 1); exit 1; }; } | 
|---|
| 2076 |     fi | 
|---|
| 2077 |   fi | 
|---|
| 2078 | fi | 
|---|
| 2079 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 2080 | echo "${ECHO_T}yes" >&6 | 
|---|
| 2081 |  | 
|---|
| 2082 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
| 2083 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2084 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2085 | # the compiler is broken, or we cross compile. | 
|---|
| 2086 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
| 2087 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
| 2088 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
| 2089 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
| 2090 |  | 
|---|
| 2091 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
| 2092 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
| 2093 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 2094 |   (eval $ac_link) 2>&5 | 
|---|
| 2095 |   ac_status=$? | 
|---|
| 2096 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2097 |   (exit $ac_status); }; then | 
|---|
| 2098 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 2099 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 2100 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 2101 | # `rm'. | 
|---|
| 2102 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 2103 |   test -f "$ac_file" || continue | 
|---|
| 2104 |   case $ac_file in | 
|---|
| 2105 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
| 2106 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2107 |           export ac_cv_exeext | 
|---|
| 2108 |           break;; | 
|---|
| 2109 |     * ) break;; | 
|---|
| 2110 |   esac | 
|---|
| 2111 | done | 
|---|
| 2112 | else | 
|---|
| 2113 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2114 | See \`config.log' for more details." >&5 | 
|---|
| 2115 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2116 | See \`config.log' for more details." >&2;} | 
|---|
| 2117 |    { (exit 1); exit 1; }; } | 
|---|
| 2118 | fi | 
|---|
| 2119 |  | 
|---|
| 2120 | rm -f conftest$ac_cv_exeext | 
|---|
| 2121 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
| 2122 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
| 2123 |  | 
|---|
| 2124 | rm -f conftest.$ac_ext | 
|---|
| 2125 | EXEEXT=$ac_cv_exeext | 
|---|
| 2126 | ac_exeext=$EXEEXT | 
|---|
| 2127 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
| 2128 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
| 2129 | if test "${ac_cv_objext+set}" = set; then | 
|---|
| 2130 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2131 | else | 
|---|
| 2132 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2133 | /* confdefs.h.  */ | 
|---|
| 2134 | _ACEOF | 
|---|
| 2135 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2136 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2137 | /* end confdefs.h.  */ | 
|---|
| 2138 |  | 
|---|
| 2139 | int | 
|---|
| 2140 | main () | 
|---|
| 2141 | { | 
|---|
| 2142 |  | 
|---|
| 2143 |   ; | 
|---|
| 2144 |   return 0; | 
|---|
| 2145 | } | 
|---|
| 2146 | _ACEOF | 
|---|
| 2147 | rm -f conftest.o conftest.obj | 
|---|
| 2148 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2149 |   (eval $ac_compile) 2>&5 | 
|---|
| 2150 |   ac_status=$? | 
|---|
| 2151 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2152 |   (exit $ac_status); }; then | 
|---|
| 2153 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
| 2154 |   case $ac_file in | 
|---|
| 2155 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
| 2156 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2157 |        break;; | 
|---|
| 2158 |   esac | 
|---|
| 2159 | done | 
|---|
| 2160 | else | 
|---|
| 2161 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2162 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2163 |  | 
|---|
| 2164 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2165 | See \`config.log' for more details." >&5 | 
|---|
| 2166 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2167 | See \`config.log' for more details." >&2;} | 
|---|
| 2168 |    { (exit 1); exit 1; }; } | 
|---|
| 2169 | fi | 
|---|
| 2170 |  | 
|---|
| 2171 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2172 | fi | 
|---|
| 2173 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
| 2174 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
| 2175 | OBJEXT=$ac_cv_objext | 
|---|
| 2176 | ac_objext=$OBJEXT | 
|---|
| 2177 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 2178 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
| 2179 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
| 2180 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2181 | else | 
|---|
| 2182 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2183 | /* confdefs.h.  */ | 
|---|
| 2184 | _ACEOF | 
|---|
| 2185 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2186 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2187 | /* end confdefs.h.  */ | 
|---|
| 2188 |  | 
|---|
| 2189 | int | 
|---|
| 2190 | main () | 
|---|
| 2191 | { | 
|---|
| 2192 | #ifndef __GNUC__ | 
|---|
| 2193 |        choke me | 
|---|
| 2194 | #endif | 
|---|
| 2195 |  | 
|---|
| 2196 |   ; | 
|---|
| 2197 |   return 0; | 
|---|
| 2198 | } | 
|---|
| 2199 | _ACEOF | 
|---|
| 2200 | rm -f conftest.$ac_objext | 
|---|
| 2201 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2202 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2203 |   ac_status=$? | 
|---|
| 2204 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2205 |   rm -f conftest.er1 | 
|---|
| 2206 |   cat conftest.err >&5 | 
|---|
| 2207 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2208 |   (exit $ac_status); } && | 
|---|
| 2209 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2210 |                          || test ! -s conftest.err' | 
|---|
| 2211 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2212 |   (eval $ac_try) 2>&5 | 
|---|
| 2213 |   ac_status=$? | 
|---|
| 2214 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2215 |   (exit $ac_status); }; } && | 
|---|
| 2216 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2217 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2218 |   (eval $ac_try) 2>&5 | 
|---|
| 2219 |   ac_status=$? | 
|---|
| 2220 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2221 |   (exit $ac_status); }; }; then | 
|---|
| 2222 |   ac_compiler_gnu=yes | 
|---|
| 2223 | else | 
|---|
| 2224 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2225 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2226 |  | 
|---|
| 2227 | ac_compiler_gnu=no | 
|---|
| 2228 | fi | 
|---|
| 2229 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2230 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2231 |  | 
|---|
| 2232 | fi | 
|---|
| 2233 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 2234 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
| 2235 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2236 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 2237 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 2238 | CXXFLAGS="-g" | 
|---|
| 2239 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
| 2240 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
| 2241 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
| 2242 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2243 | else | 
|---|
| 2244 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2245 | /* confdefs.h.  */ | 
|---|
| 2246 | _ACEOF | 
|---|
| 2247 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2248 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2249 | /* end confdefs.h.  */ | 
|---|
| 2250 |  | 
|---|
| 2251 | int | 
|---|
| 2252 | main () | 
|---|
| 2253 | { | 
|---|
| 2254 |  | 
|---|
| 2255 |   ; | 
|---|
| 2256 |   return 0; | 
|---|
| 2257 | } | 
|---|
| 2258 | _ACEOF | 
|---|
| 2259 | rm -f conftest.$ac_objext | 
|---|
| 2260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2261 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2262 |   ac_status=$? | 
|---|
| 2263 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2264 |   rm -f conftest.er1 | 
|---|
| 2265 |   cat conftest.err >&5 | 
|---|
| 2266 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2267 |   (exit $ac_status); } && | 
|---|
| 2268 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2269 |                          || test ! -s conftest.err' | 
|---|
| 2270 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2271 |   (eval $ac_try) 2>&5 | 
|---|
| 2272 |   ac_status=$? | 
|---|
| 2273 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2274 |   (exit $ac_status); }; } && | 
|---|
| 2275 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2276 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2277 |   (eval $ac_try) 2>&5 | 
|---|
| 2278 |   ac_status=$? | 
|---|
| 2279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2280 |   (exit $ac_status); }; }; then | 
|---|
| 2281 |   ac_cv_prog_cxx_g=yes | 
|---|
| 2282 | else | 
|---|
| 2283 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2284 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2285 |  | 
|---|
| 2286 | ac_cv_prog_cxx_g=no | 
|---|
| 2287 | fi | 
|---|
| 2288 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2289 | fi | 
|---|
| 2290 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 2291 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
| 2292 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 2293 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 2294 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 2295 |   if test "$GXX" = yes; then | 
|---|
| 2296 |     CXXFLAGS="-g -O2" | 
|---|
| 2297 |   else | 
|---|
| 2298 |     CXXFLAGS="-g" | 
|---|
| 2299 |   fi | 
|---|
| 2300 | else | 
|---|
| 2301 |   if test "$GXX" = yes; then | 
|---|
| 2302 |     CXXFLAGS="-O2" | 
|---|
| 2303 |   else | 
|---|
| 2304 |     CXXFLAGS= | 
|---|
| 2305 |   fi | 
|---|
| 2306 | fi | 
|---|
| 2307 | for ac_declaration in \ | 
|---|
| 2308 |    '' \ | 
|---|
| 2309 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 2310 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 2311 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 2312 |    'extern "C" void exit (int);' \ | 
|---|
| 2313 |    'void exit (int);' | 
|---|
| 2314 | do | 
|---|
| 2315 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2316 | /* confdefs.h.  */ | 
|---|
| 2317 | _ACEOF | 
|---|
| 2318 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2319 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2320 | /* end confdefs.h.  */ | 
|---|
| 2321 | $ac_declaration | 
|---|
| 2322 | #include <stdlib.h> | 
|---|
| 2323 | int | 
|---|
| 2324 | main () | 
|---|
| 2325 | { | 
|---|
| 2326 | exit (42); | 
|---|
| 2327 |   ; | 
|---|
| 2328 |   return 0; | 
|---|
| 2329 | } | 
|---|
| 2330 | _ACEOF | 
|---|
| 2331 | rm -f conftest.$ac_objext | 
|---|
| 2332 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2333 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2334 |   ac_status=$? | 
|---|
| 2335 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2336 |   rm -f conftest.er1 | 
|---|
| 2337 |   cat conftest.err >&5 | 
|---|
| 2338 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2339 |   (exit $ac_status); } && | 
|---|
| 2340 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2341 |                          || test ! -s conftest.err' | 
|---|
| 2342 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2343 |   (eval $ac_try) 2>&5 | 
|---|
| 2344 |   ac_status=$? | 
|---|
| 2345 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2346 |   (exit $ac_status); }; } && | 
|---|
| 2347 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2348 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2349 |   (eval $ac_try) 2>&5 | 
|---|
| 2350 |   ac_status=$? | 
|---|
| 2351 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2352 |   (exit $ac_status); }; }; then | 
|---|
| 2353 |   : | 
|---|
| 2354 | else | 
|---|
| 2355 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2356 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2357 |  | 
|---|
| 2358 | continue | 
|---|
| 2359 | fi | 
|---|
| 2360 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2361 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2362 | /* confdefs.h.  */ | 
|---|
| 2363 | _ACEOF | 
|---|
| 2364 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2365 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2366 | /* end confdefs.h.  */ | 
|---|
| 2367 | $ac_declaration | 
|---|
| 2368 | int | 
|---|
| 2369 | main () | 
|---|
| 2370 | { | 
|---|
| 2371 | exit (42); | 
|---|
| 2372 |   ; | 
|---|
| 2373 |   return 0; | 
|---|
| 2374 | } | 
|---|
| 2375 | _ACEOF | 
|---|
| 2376 | rm -f conftest.$ac_objext | 
|---|
| 2377 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2378 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2379 |   ac_status=$? | 
|---|
| 2380 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2381 |   rm -f conftest.er1 | 
|---|
| 2382 |   cat conftest.err >&5 | 
|---|
| 2383 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2384 |   (exit $ac_status); } && | 
|---|
| 2385 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2386 |                          || test ! -s conftest.err' | 
|---|
| 2387 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2388 |   (eval $ac_try) 2>&5 | 
|---|
| 2389 |   ac_status=$? | 
|---|
| 2390 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2391 |   (exit $ac_status); }; } && | 
|---|
| 2392 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2393 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2394 |   (eval $ac_try) 2>&5 | 
|---|
| 2395 |   ac_status=$? | 
|---|
| 2396 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2397 |   (exit $ac_status); }; }; then | 
|---|
| 2398 |   break | 
|---|
| 2399 | else | 
|---|
| 2400 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2401 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2402 |  | 
|---|
| 2403 | fi | 
|---|
| 2404 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2405 | done | 
|---|
| 2406 | rm -f conftest* | 
|---|
| 2407 | if test -n "$ac_declaration"; then | 
|---|
| 2408 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 2409 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 2410 |   echo '#endif'             >>confdefs.h | 
|---|
| 2411 | fi | 
|---|
| 2412 |  | 
|---|
| 2413 | ac_ext=c | 
|---|
| 2414 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2415 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2416 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2417 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2418 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 2419 |  | 
|---|
| 2420 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 2421 |  | 
|---|
| 2422 |  | 
|---|
| 2423 | am_make=${MAKE-make} | 
|---|
| 2424 | cat > confinc << 'END' | 
|---|
| 2425 | am__doit: | 
|---|
| 2426 |         @echo done | 
|---|
| 2427 | .PHONY: am__doit | 
|---|
| 2428 | END | 
|---|
| 2429 | # If we don't find an include directive, just comment out the code. | 
|---|
| 2430 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
| 2431 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
| 2432 | am__include="#" | 
|---|
| 2433 | am__quote= | 
|---|
| 2434 | _am_result=none | 
|---|
| 2435 | # First try GNU make style include. | 
|---|
| 2436 | echo "include confinc" > confmf | 
|---|
| 2437 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
| 2438 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
| 2439 | # In particular we don't look at `^make:' because GNU make might | 
|---|
| 2440 | # be invoked under some other name (usually "gmake"), in which | 
|---|
| 2441 | # case it prints its new name instead of `make'. | 
|---|
| 2442 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
| 2443 |    am__include=include | 
|---|
| 2444 |    am__quote= | 
|---|
| 2445 |    _am_result=GNU | 
|---|
| 2446 | fi | 
|---|
| 2447 | # Now try BSD make style include. | 
|---|
| 2448 | if test "$am__include" = "#"; then | 
|---|
| 2449 |    echo '.include "confinc"' > confmf | 
|---|
| 2450 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
| 2451 |       am__include=.include | 
|---|
| 2452 |       am__quote="\"" | 
|---|
| 2453 |       _am_result=BSD | 
|---|
| 2454 |    fi | 
|---|
| 2455 | fi | 
|---|
| 2456 |  | 
|---|
| 2457 |  | 
|---|
| 2458 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
| 2459 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
| 2460 | rm -f confinc confmf | 
|---|
| 2461 |  | 
|---|
| 2462 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
| 2463 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
| 2464 |   enableval="$enable_dependency_tracking" | 
|---|
| 2465 |  | 
|---|
| 2466 | fi; | 
|---|
| 2467 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2468 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 2469 |   AMDEPBACKSLASH='\' | 
|---|
| 2470 | fi | 
|---|
| 2471 |  | 
|---|
| 2472 |  | 
|---|
| 2473 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2474 |   AMDEP_TRUE= | 
|---|
| 2475 |   AMDEP_FALSE='#' | 
|---|
| 2476 | else | 
|---|
| 2477 |   AMDEP_TRUE='#' | 
|---|
| 2478 |   AMDEP_FALSE= | 
|---|
| 2479 | fi | 
|---|
| 2480 |  | 
|---|
| 2481 |  | 
|---|
| 2482 |  | 
|---|
| 2483 |  | 
|---|
| 2484 | depcc="$CXX"  am_compiler_list= | 
|---|
| 2485 |  | 
|---|
| 2486 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 2487 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 2488 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
| 2489 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2490 | else | 
|---|
| 2491 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 2492 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 2493 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 2494 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 2495 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 2496 |   # in D'. | 
|---|
| 2497 |   mkdir conftest.dir | 
|---|
| 2498 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 2499 |   # using a relative directory. | 
|---|
| 2500 |   cp "$am_depcomp" conftest.dir | 
|---|
| 2501 |   cd conftest.dir | 
|---|
| 2502 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 2503 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 2504 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 2505 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 2506 |   # the current directory while Tru64 will put them in the object | 
|---|
| 2507 |   # directory. | 
|---|
| 2508 |   mkdir sub | 
|---|
| 2509 |  | 
|---|
| 2510 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2511 |   if test "$am_compiler_list" = ""; then | 
|---|
| 2512 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 2513 |   fi | 
|---|
| 2514 |   for depmode in $am_compiler_list; do | 
|---|
| 2515 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 2516 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 2517 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 2518 |     # | 
|---|
| 2519 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 2520 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 2521 |     # This happens at least with the AIX C compiler. | 
|---|
| 2522 |     : > sub/conftest.c | 
|---|
| 2523 |     for i in 1 2 3 4 5 6; do | 
|---|
| 2524 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 2525 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 2526 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 2527 |       touch sub/conftst$i.h | 
|---|
| 2528 |     done | 
|---|
| 2529 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 2530 |  | 
|---|
| 2531 |     case $depmode in | 
|---|
| 2532 |     nosideeffect) | 
|---|
| 2533 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 2534 |       # only be used when explicitly requested | 
|---|
| 2535 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 2536 |         continue | 
|---|
| 2537 |       else | 
|---|
| 2538 |         break | 
|---|
| 2539 |       fi | 
|---|
| 2540 |       ;; | 
|---|
| 2541 |     none) break ;; | 
|---|
| 2542 |     esac | 
|---|
| 2543 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 2544 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 2545 |     # handle `-M -o', and we need to detect this. | 
|---|
| 2546 |     if depmode=$depmode \ | 
|---|
| 2547 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 2548 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 2549 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 2550 |          >/dev/null 2>conftest.err && | 
|---|
| 2551 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2552 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2553 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 2554 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 2555 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 2556 |       # that says an option was ignored or not supported. | 
|---|
| 2557 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 2558 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 2559 |       # The diagnosis changed in icc 8.0: | 
|---|
| 2560 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 2561 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 2562 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 2563 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 2564 |         break | 
|---|
| 2565 |       fi | 
|---|
| 2566 |     fi | 
|---|
| 2567 |   done | 
|---|
| 2568 |  | 
|---|
| 2569 |   cd .. | 
|---|
| 2570 |   rm -rf conftest.dir | 
|---|
| 2571 | else | 
|---|
| 2572 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2573 | fi | 
|---|
| 2574 |  | 
|---|
| 2575 | fi | 
|---|
| 2576 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 2577 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
| 2578 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 2579 |  | 
|---|
| 2580 |  | 
|---|
| 2581 |  | 
|---|
| 2582 | if | 
|---|
| 2583 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 2584 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 2585 |   am__fastdepCXX_TRUE= | 
|---|
| 2586 |   am__fastdepCXX_FALSE='#' | 
|---|
| 2587 | else | 
|---|
| 2588 |   am__fastdepCXX_TRUE='#' | 
|---|
| 2589 |   am__fastdepCXX_FALSE= | 
|---|
| 2590 | fi | 
|---|
| 2591 |  | 
|---|
| 2592 |  | 
|---|
| 2593 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2594 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
| 2595 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
| 2596 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2597 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2598 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
|---|
| 2599 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2600 | else | 
|---|
| 2601 |   if test -n "$RANLIB"; then | 
|---|
| 2602 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 2603 | else | 
|---|
| 2604 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2605 | for as_dir in $PATH | 
|---|
| 2606 | do | 
|---|
| 2607 |   IFS=$as_save_IFS | 
|---|
| 2608 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2609 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2610 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2611 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
| 2612 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2613 |     break 2 | 
|---|
| 2614 |   fi | 
|---|
| 2615 | done | 
|---|
| 2616 | done | 
|---|
| 2617 |  | 
|---|
| 2618 | fi | 
|---|
| 2619 | fi | 
|---|
| 2620 | RANLIB=$ac_cv_prog_RANLIB | 
|---|
| 2621 | if test -n "$RANLIB"; then | 
|---|
| 2622 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
|---|
| 2623 | echo "${ECHO_T}$RANLIB" >&6 | 
|---|
| 2624 | else | 
|---|
| 2625 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2626 | echo "${ECHO_T}no" >&6 | 
|---|
| 2627 | fi | 
|---|
| 2628 |  | 
|---|
| 2629 | fi | 
|---|
| 2630 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
| 2631 |   ac_ct_RANLIB=$RANLIB | 
|---|
| 2632 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
| 2633 | set dummy ranlib; ac_word=$2 | 
|---|
| 2634 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2635 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2636 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
|---|
| 2637 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2638 | else | 
|---|
| 2639 |   if test -n "$ac_ct_RANLIB"; then | 
|---|
| 2640 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|---|
| 2641 | else | 
|---|
| 2642 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2643 | for as_dir in $PATH | 
|---|
| 2644 | do | 
|---|
| 2645 |   IFS=$as_save_IFS | 
|---|
| 2646 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2647 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2648 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2649 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|---|
| 2650 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2651 |     break 2 | 
|---|
| 2652 |   fi | 
|---|
| 2653 | done | 
|---|
| 2654 | done | 
|---|
| 2655 |  | 
|---|
| 2656 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
|---|
| 2657 | fi | 
|---|
| 2658 | fi | 
|---|
| 2659 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|---|
| 2660 | if test -n "$ac_ct_RANLIB"; then | 
|---|
| 2661 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
|---|
| 2662 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
|---|
| 2663 | else | 
|---|
| 2664 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2665 | echo "${ECHO_T}no" >&6 | 
|---|
| 2666 | fi | 
|---|
| 2667 |  | 
|---|
| 2668 |   RANLIB=$ac_ct_RANLIB | 
|---|
| 2669 | else | 
|---|
| 2670 |   RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 2671 | fi | 
|---|
| 2672 |  | 
|---|
| 2673 | ac_ext=c | 
|---|
| 2674 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2675 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2676 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2677 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2678 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2679 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2680 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2681 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2682 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2683 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2684 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2685 | else | 
|---|
| 2686 |   if test -n "$CC"; then | 
|---|
| 2687 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2688 | else | 
|---|
| 2689 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2690 | for as_dir in $PATH | 
|---|
| 2691 | do | 
|---|
| 2692 |   IFS=$as_save_IFS | 
|---|
| 2693 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2694 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2695 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2696 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2697 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2698 |     break 2 | 
|---|
| 2699 |   fi | 
|---|
| 2700 | done | 
|---|
| 2701 | done | 
|---|
| 2702 |  | 
|---|
| 2703 | fi | 
|---|
| 2704 | fi | 
|---|
| 2705 | CC=$ac_cv_prog_CC | 
|---|
| 2706 | if test -n "$CC"; then | 
|---|
| 2707 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2708 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2709 | else | 
|---|
| 2710 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2711 | echo "${ECHO_T}no" >&6 | 
|---|
| 2712 | fi | 
|---|
| 2713 |  | 
|---|
| 2714 | fi | 
|---|
| 2715 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2716 |   ac_ct_CC=$CC | 
|---|
| 2717 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2718 | set dummy gcc; 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="gcc" | 
|---|
| 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 |   CC=$ac_ct_CC | 
|---|
| 2753 | else | 
|---|
| 2754 |   CC="$ac_cv_prog_CC" | 
|---|
| 2755 | fi | 
|---|
| 2756 |  | 
|---|
| 2757 | if test -z "$CC"; then | 
|---|
| 2758 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2759 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2760 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2761 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2762 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2763 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2764 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2765 | else | 
|---|
| 2766 |   if test -n "$CC"; then | 
|---|
| 2767 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2768 | else | 
|---|
| 2769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2770 | for as_dir in $PATH | 
|---|
| 2771 | do | 
|---|
| 2772 |   IFS=$as_save_IFS | 
|---|
| 2773 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2774 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2775 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2776 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2777 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2778 |     break 2 | 
|---|
| 2779 |   fi | 
|---|
| 2780 | done | 
|---|
| 2781 | done | 
|---|
| 2782 |  | 
|---|
| 2783 | fi | 
|---|
| 2784 | fi | 
|---|
| 2785 | CC=$ac_cv_prog_CC | 
|---|
| 2786 | if test -n "$CC"; then | 
|---|
| 2787 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2788 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2789 | else | 
|---|
| 2790 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2791 | echo "${ECHO_T}no" >&6 | 
|---|
| 2792 | fi | 
|---|
| 2793 |  | 
|---|
| 2794 | fi | 
|---|
| 2795 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2796 |   ac_ct_CC=$CC | 
|---|
| 2797 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2798 | set dummy cc; ac_word=$2 | 
|---|
| 2799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2801 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2802 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2803 | else | 
|---|
| 2804 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2805 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2806 | else | 
|---|
| 2807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2808 | for as_dir in $PATH | 
|---|
| 2809 | do | 
|---|
| 2810 |   IFS=$as_save_IFS | 
|---|
| 2811 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2812 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2813 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2814 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
| 2815 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2816 |     break 2 | 
|---|
| 2817 |   fi | 
|---|
| 2818 | done | 
|---|
| 2819 | done | 
|---|
| 2820 |  | 
|---|
| 2821 | fi | 
|---|
| 2822 | fi | 
|---|
| 2823 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2824 | if test -n "$ac_ct_CC"; then | 
|---|
| 2825 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2826 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2827 | else | 
|---|
| 2828 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2829 | echo "${ECHO_T}no" >&6 | 
|---|
| 2830 | fi | 
|---|
| 2831 |  | 
|---|
| 2832 |   CC=$ac_ct_CC | 
|---|
| 2833 | else | 
|---|
| 2834 |   CC="$ac_cv_prog_CC" | 
|---|
| 2835 | fi | 
|---|
| 2836 |  | 
|---|
| 2837 | fi | 
|---|
| 2838 | if test -z "$CC"; then | 
|---|
| 2839 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2840 | set dummy cc; ac_word=$2 | 
|---|
| 2841 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2842 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2843 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2844 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2845 | else | 
|---|
| 2846 |   if test -n "$CC"; then | 
|---|
| 2847 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2848 | else | 
|---|
| 2849 |   ac_prog_rejected=no | 
|---|
| 2850 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2851 | for as_dir in $PATH | 
|---|
| 2852 | do | 
|---|
| 2853 |   IFS=$as_save_IFS | 
|---|
| 2854 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2855 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2856 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2857 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2858 |        ac_prog_rejected=yes | 
|---|
| 2859 |        continue | 
|---|
| 2860 |      fi | 
|---|
| 2861 |     ac_cv_prog_CC="cc" | 
|---|
| 2862 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2863 |     break 2 | 
|---|
| 2864 |   fi | 
|---|
| 2865 | done | 
|---|
| 2866 | done | 
|---|
| 2867 |  | 
|---|
| 2868 | if test $ac_prog_rejected = yes; then | 
|---|
| 2869 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2870 |   set dummy $ac_cv_prog_CC | 
|---|
| 2871 |   shift | 
|---|
| 2872 |   if test $# != 0; then | 
|---|
| 2873 |     # We chose a different compiler from the bogus one. | 
|---|
| 2874 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2875 |     # first if we set CC to just the basename; use the full file name. | 
|---|
| 2876 |     shift | 
|---|
| 2877 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2878 |   fi | 
|---|
| 2879 | fi | 
|---|
| 2880 | fi | 
|---|
| 2881 | fi | 
|---|
| 2882 | CC=$ac_cv_prog_CC | 
|---|
| 2883 | if test -n "$CC"; then | 
|---|
| 2884 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2885 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2886 | else | 
|---|
| 2887 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2888 | echo "${ECHO_T}no" >&6 | 
|---|
| 2889 | fi | 
|---|
| 2890 |  | 
|---|
| 2891 | fi | 
|---|
| 2892 | if test -z "$CC"; then | 
|---|
| 2893 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2894 |   for ac_prog in cl | 
|---|
| 2895 |   do | 
|---|
| 2896 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2897 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2898 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2899 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2900 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2901 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2902 | else | 
|---|
| 2903 |   if test -n "$CC"; then | 
|---|
| 2904 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2905 | else | 
|---|
| 2906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2907 | for as_dir in $PATH | 
|---|
| 2908 | do | 
|---|
| 2909 |   IFS=$as_save_IFS | 
|---|
| 2910 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2911 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2912 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2913 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2914 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2915 |     break 2 | 
|---|
| 2916 |   fi | 
|---|
| 2917 | done | 
|---|
| 2918 | done | 
|---|
| 2919 |  | 
|---|
| 2920 | fi | 
|---|
| 2921 | fi | 
|---|
| 2922 | CC=$ac_cv_prog_CC | 
|---|
| 2923 | if test -n "$CC"; then | 
|---|
| 2924 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2925 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2926 | else | 
|---|
| 2927 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2928 | echo "${ECHO_T}no" >&6 | 
|---|
| 2929 | fi | 
|---|
| 2930 |  | 
|---|
| 2931 |     test -n "$CC" && break | 
|---|
| 2932 |   done | 
|---|
| 2933 | fi | 
|---|
| 2934 | if test -z "$CC"; then | 
|---|
| 2935 |   ac_ct_CC=$CC | 
|---|
| 2936 |   for ac_prog in cl | 
|---|
| 2937 | do | 
|---|
| 2938 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2939 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2940 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2941 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2942 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2943 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2944 | else | 
|---|
| 2945 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2946 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2947 | else | 
|---|
| 2948 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2949 | for as_dir in $PATH | 
|---|
| 2950 | do | 
|---|
| 2951 |   IFS=$as_save_IFS | 
|---|
| 2952 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2953 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2954 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2955 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2956 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2957 |     break 2 | 
|---|
| 2958 |   fi | 
|---|
| 2959 | done | 
|---|
| 2960 | done | 
|---|
| 2961 |  | 
|---|
| 2962 | fi | 
|---|
| 2963 | fi | 
|---|
| 2964 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2965 | if test -n "$ac_ct_CC"; then | 
|---|
| 2966 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2967 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2968 | else | 
|---|
| 2969 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2970 | echo "${ECHO_T}no" >&6 | 
|---|
| 2971 | fi | 
|---|
| 2972 |  | 
|---|
| 2973 |   test -n "$ac_ct_CC" && break | 
|---|
| 2974 | done | 
|---|
| 2975 |  | 
|---|
| 2976 |   CC=$ac_ct_CC | 
|---|
| 2977 | fi | 
|---|
| 2978 |  | 
|---|
| 2979 | fi | 
|---|
| 2980 |  | 
|---|
| 2981 |  | 
|---|
| 2982 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
| 2983 | See \`config.log' for more details." >&5 | 
|---|
| 2984 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
| 2985 | See \`config.log' for more details." >&2;} | 
|---|
| 2986 |    { (exit 1); exit 1; }; } | 
|---|
| 2987 |  | 
|---|
| 2988 | # Provide some information about the compiler. | 
|---|
| 2989 | echo "$as_me:$LINENO:" \ | 
|---|
| 2990 |      "checking for C compiler version" >&5 | 
|---|
| 2991 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 2992 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 2993 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 2994 |   ac_status=$? | 
|---|
| 2995 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2996 |   (exit $ac_status); } | 
|---|
| 2997 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 2998 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 2999 |   ac_status=$? | 
|---|
| 3000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3001 |   (exit $ac_status); } | 
|---|
| 3002 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 3003 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 3004 |   ac_status=$? | 
|---|
| 3005 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3006 |   (exit $ac_status); } | 
|---|
| 3007 |  | 
|---|
| 3008 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 3009 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
| 3010 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
| 3011 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3012 | else | 
|---|
| 3013 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3014 | /* confdefs.h.  */ | 
|---|
| 3015 | _ACEOF | 
|---|
| 3016 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3017 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3018 | /* end confdefs.h.  */ | 
|---|
| 3019 |  | 
|---|
| 3020 | int | 
|---|
| 3021 | main () | 
|---|
| 3022 | { | 
|---|
| 3023 | #ifndef __GNUC__ | 
|---|
| 3024 |        choke me | 
|---|
| 3025 | #endif | 
|---|
| 3026 |  | 
|---|
| 3027 |   ; | 
|---|
| 3028 |   return 0; | 
|---|
| 3029 | } | 
|---|
| 3030 | _ACEOF | 
|---|
| 3031 | rm -f conftest.$ac_objext | 
|---|
| 3032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3033 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3034 |   ac_status=$? | 
|---|
| 3035 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3036 |   rm -f conftest.er1 | 
|---|
| 3037 |   cat conftest.err >&5 | 
|---|
| 3038 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3039 |   (exit $ac_status); } && | 
|---|
| 3040 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3041 |                          || test ! -s conftest.err' | 
|---|
| 3042 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3043 |   (eval $ac_try) 2>&5 | 
|---|
| 3044 |   ac_status=$? | 
|---|
| 3045 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3046 |   (exit $ac_status); }; } && | 
|---|
| 3047 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3048 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3049 |   (eval $ac_try) 2>&5 | 
|---|
| 3050 |   ac_status=$? | 
|---|
| 3051 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3052 |   (exit $ac_status); }; }; then | 
|---|
| 3053 |   ac_compiler_gnu=yes | 
|---|
| 3054 | else | 
|---|
| 3055 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3056 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3057 |  | 
|---|
| 3058 | ac_compiler_gnu=no | 
|---|
| 3059 | fi | 
|---|
| 3060 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3061 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 3062 |  | 
|---|
| 3063 | fi | 
|---|
| 3064 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 3065 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
| 3066 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 3067 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 3068 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 3069 | CFLAGS="-g" | 
|---|
| 3070 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
| 3071 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
| 3072 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
| 3073 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3074 | else | 
|---|
| 3075 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3076 | /* confdefs.h.  */ | 
|---|
| 3077 | _ACEOF | 
|---|
| 3078 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3079 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3080 | /* end confdefs.h.  */ | 
|---|
| 3081 |  | 
|---|
| 3082 | int | 
|---|
| 3083 | main () | 
|---|
| 3084 | { | 
|---|
| 3085 |  | 
|---|
| 3086 |   ; | 
|---|
| 3087 |   return 0; | 
|---|
| 3088 | } | 
|---|
| 3089 | _ACEOF | 
|---|
| 3090 | rm -f conftest.$ac_objext | 
|---|
| 3091 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3092 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3093 |   ac_status=$? | 
|---|
| 3094 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3095 |   rm -f conftest.er1 | 
|---|
| 3096 |   cat conftest.err >&5 | 
|---|
| 3097 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3098 |   (exit $ac_status); } && | 
|---|
| 3099 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3100 |                          || test ! -s conftest.err' | 
|---|
| 3101 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3102 |   (eval $ac_try) 2>&5 | 
|---|
| 3103 |   ac_status=$? | 
|---|
| 3104 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3105 |   (exit $ac_status); }; } && | 
|---|
| 3106 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3107 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3108 |   (eval $ac_try) 2>&5 | 
|---|
| 3109 |   ac_status=$? | 
|---|
| 3110 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3111 |   (exit $ac_status); }; }; then | 
|---|
| 3112 |   ac_cv_prog_cc_g=yes | 
|---|
| 3113 | else | 
|---|
| 3114 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3115 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3116 |  | 
|---|
| 3117 | ac_cv_prog_cc_g=no | 
|---|
| 3118 | fi | 
|---|
| 3119 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3120 | fi | 
|---|
| 3121 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 3122 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
| 3123 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 3124 |   CFLAGS=$ac_save_CFLAGS | 
|---|
| 3125 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 3126 |   if test "$GCC" = yes; then | 
|---|
| 3127 |     CFLAGS="-g -O2" | 
|---|
| 3128 |   else | 
|---|
| 3129 |     CFLAGS="-g" | 
|---|
| 3130 |   fi | 
|---|
| 3131 | else | 
|---|
| 3132 |   if test "$GCC" = yes; then | 
|---|
| 3133 |     CFLAGS="-O2" | 
|---|
| 3134 |   else | 
|---|
| 3135 |     CFLAGS= | 
|---|
| 3136 |   fi | 
|---|
| 3137 | fi | 
|---|
| 3138 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
| 3139 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
| 3140 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
| 3141 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3142 | else | 
|---|
| 3143 |   ac_cv_prog_cc_stdc=no | 
|---|
| 3144 | ac_save_CC=$CC | 
|---|
| 3145 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3146 | /* confdefs.h.  */ | 
|---|
| 3147 | _ACEOF | 
|---|
| 3148 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3149 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3150 | /* end confdefs.h.  */ | 
|---|
| 3151 | #include <stdarg.h> | 
|---|
| 3152 | #include <stdio.h> | 
|---|
| 3153 | #include <sys/types.h> | 
|---|
| 3154 | #include <sys/stat.h> | 
|---|
| 3155 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 3156 | struct buf { int x; }; | 
|---|
| 3157 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 3158 | static char *e (p, i) | 
|---|
| 3159 |      char **p; | 
|---|
| 3160 |      int i; | 
|---|
| 3161 | { | 
|---|
| 3162 |   return p[i]; | 
|---|
| 3163 | } | 
|---|
| 3164 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 3165 | { | 
|---|
| 3166 |   char *s; | 
|---|
| 3167 |   va_list v; | 
|---|
| 3168 |   va_start (v,p); | 
|---|
| 3169 |   s = g (p, va_arg (v,int)); | 
|---|
| 3170 |   va_end (v); | 
|---|
| 3171 |   return s; | 
|---|
| 3172 | } | 
|---|
| 3173 |  | 
|---|
| 3174 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 3175 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 3176 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 3177 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
| 3178 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 3179 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 3180 |    that's true only with -std1.  */ | 
|---|
| 3181 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 3182 |  | 
|---|
| 3183 | int test (int i, double x); | 
|---|
| 3184 | struct s1 {int (*f) (int a);}; | 
|---|
| 3185 | struct s2 {int (*f) (double a);}; | 
|---|
| 3186 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 3187 | int argc; | 
|---|
| 3188 | char **argv; | 
|---|
| 3189 | int | 
|---|
| 3190 | main () | 
|---|
| 3191 | { | 
|---|
| 3192 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 3193 |   ; | 
|---|
| 3194 |   return 0; | 
|---|
| 3195 | } | 
|---|
| 3196 | _ACEOF | 
|---|
| 3197 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
| 3198 | # breaks some systems' header files. | 
|---|
| 3199 | # AIX                   -qlanglvl=ansi | 
|---|
| 3200 | # Ultrix and OSF/1      -std1 | 
|---|
| 3201 | # HP-UX 10.20 and later -Ae | 
|---|
| 3202 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
| 3203 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
| 3204 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 3205 | do | 
|---|
| 3206 |   CC="$ac_save_CC $ac_arg" | 
|---|
| 3207 |   rm -f conftest.$ac_objext | 
|---|
| 3208 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3209 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3210 |   ac_status=$? | 
|---|
| 3211 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3212 |   rm -f conftest.er1 | 
|---|
| 3213 |   cat conftest.err >&5 | 
|---|
| 3214 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3215 |   (exit $ac_status); } && | 
|---|
| 3216 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3217 |                          || test ! -s conftest.err' | 
|---|
| 3218 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3219 |   (eval $ac_try) 2>&5 | 
|---|
| 3220 |   ac_status=$? | 
|---|
| 3221 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3222 |   (exit $ac_status); }; } && | 
|---|
| 3223 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3224 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3225 |   (eval $ac_try) 2>&5 | 
|---|
| 3226 |   ac_status=$? | 
|---|
| 3227 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3228 |   (exit $ac_status); }; }; then | 
|---|
| 3229 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
| 3230 | break | 
|---|
| 3231 | else | 
|---|
| 3232 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3233 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3234 |  | 
|---|
| 3235 | fi | 
|---|
| 3236 | rm -f conftest.err conftest.$ac_objext | 
|---|
| 3237 | done | 
|---|
| 3238 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
| 3239 | CC=$ac_save_CC | 
|---|
| 3240 |  | 
|---|
| 3241 | fi | 
|---|
| 3242 |  | 
|---|
| 3243 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
| 3244 |   x|xno) | 
|---|
| 3245 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
| 3246 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
| 3247 |   *) | 
|---|
| 3248 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
| 3249 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
| 3250 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
| 3251 | esac | 
|---|
| 3252 |  | 
|---|
| 3253 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
| 3254 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
| 3255 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
| 3256 | # the declaration of exit, since it's the most demanding environment. | 
|---|
| 3257 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3258 | #ifndef __cplusplus | 
|---|
| 3259 |   choke me | 
|---|
| 3260 | #endif | 
|---|
| 3261 | _ACEOF | 
|---|
| 3262 | rm -f conftest.$ac_objext | 
|---|
| 3263 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3264 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3265 |   ac_status=$? | 
|---|
| 3266 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3267 |   rm -f conftest.er1 | 
|---|
| 3268 |   cat conftest.err >&5 | 
|---|
| 3269 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3270 |   (exit $ac_status); } && | 
|---|
| 3271 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3272 |                          || test ! -s conftest.err' | 
|---|
| 3273 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3274 |   (eval $ac_try) 2>&5 | 
|---|
| 3275 |   ac_status=$? | 
|---|
| 3276 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3277 |   (exit $ac_status); }; } && | 
|---|
| 3278 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3279 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3280 |   (eval $ac_try) 2>&5 | 
|---|
| 3281 |   ac_status=$? | 
|---|
| 3282 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3283 |   (exit $ac_status); }; }; then | 
|---|
| 3284 |   for ac_declaration in \ | 
|---|
| 3285 |    '' \ | 
|---|
| 3286 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 3287 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 3288 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 3289 |    'extern "C" void exit (int);' \ | 
|---|
| 3290 |    'void exit (int);' | 
|---|
| 3291 | do | 
|---|
| 3292 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3293 | /* confdefs.h.  */ | 
|---|
| 3294 | _ACEOF | 
|---|
| 3295 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3296 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3297 | /* end confdefs.h.  */ | 
|---|
| 3298 | $ac_declaration | 
|---|
| 3299 | #include <stdlib.h> | 
|---|
| 3300 | int | 
|---|
| 3301 | main () | 
|---|
| 3302 | { | 
|---|
| 3303 | exit (42); | 
|---|
| 3304 |   ; | 
|---|
| 3305 |   return 0; | 
|---|
| 3306 | } | 
|---|
| 3307 | _ACEOF | 
|---|
| 3308 | rm -f conftest.$ac_objext | 
|---|
| 3309 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3310 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3311 |   ac_status=$? | 
|---|
| 3312 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3313 |   rm -f conftest.er1 | 
|---|
| 3314 |   cat conftest.err >&5 | 
|---|
| 3315 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3316 |   (exit $ac_status); } && | 
|---|
| 3317 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3318 |                          || test ! -s conftest.err' | 
|---|
| 3319 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3320 |   (eval $ac_try) 2>&5 | 
|---|
| 3321 |   ac_status=$? | 
|---|
| 3322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3323 |   (exit $ac_status); }; } && | 
|---|
| 3324 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3326 |   (eval $ac_try) 2>&5 | 
|---|
| 3327 |   ac_status=$? | 
|---|
| 3328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3329 |   (exit $ac_status); }; }; then | 
|---|
| 3330 |   : | 
|---|
| 3331 | else | 
|---|
| 3332 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3333 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3334 |  | 
|---|
| 3335 | continue | 
|---|
| 3336 | fi | 
|---|
| 3337 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3338 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3339 | /* confdefs.h.  */ | 
|---|
| 3340 | _ACEOF | 
|---|
| 3341 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3342 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3343 | /* end confdefs.h.  */ | 
|---|
| 3344 | $ac_declaration | 
|---|
| 3345 | int | 
|---|
| 3346 | main () | 
|---|
| 3347 | { | 
|---|
| 3348 | exit (42); | 
|---|
| 3349 |   ; | 
|---|
| 3350 |   return 0; | 
|---|
| 3351 | } | 
|---|
| 3352 | _ACEOF | 
|---|
| 3353 | rm -f conftest.$ac_objext | 
|---|
| 3354 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3355 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3356 |   ac_status=$? | 
|---|
| 3357 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3358 |   rm -f conftest.er1 | 
|---|
| 3359 |   cat conftest.err >&5 | 
|---|
| 3360 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3361 |   (exit $ac_status); } && | 
|---|
| 3362 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3363 |                          || test ! -s conftest.err' | 
|---|
| 3364 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3365 |   (eval $ac_try) 2>&5 | 
|---|
| 3366 |   ac_status=$? | 
|---|
| 3367 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3368 |   (exit $ac_status); }; } && | 
|---|
| 3369 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3370 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3371 |   (eval $ac_try) 2>&5 | 
|---|
| 3372 |   ac_status=$? | 
|---|
| 3373 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3374 |   (exit $ac_status); }; }; then | 
|---|
| 3375 |   break | 
|---|
| 3376 | else | 
|---|
| 3377 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3378 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3379 |  | 
|---|
| 3380 | fi | 
|---|
| 3381 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3382 | done | 
|---|
| 3383 | rm -f conftest* | 
|---|
| 3384 | if test -n "$ac_declaration"; then | 
|---|
| 3385 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 3386 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 3387 |   echo '#endif'             >>confdefs.h | 
|---|
| 3388 | fi | 
|---|
| 3389 |  | 
|---|
| 3390 | else | 
|---|
| 3391 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3392 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3393 |  | 
|---|
| 3394 | fi | 
|---|
| 3395 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3396 | ac_ext=c | 
|---|
| 3397 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3398 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3399 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3400 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3401 |  | 
|---|
| 3402 | depcc="$CC"   am_compiler_list= | 
|---|
| 3403 |  | 
|---|
| 3404 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 3405 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 3406 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
| 3407 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3408 | else | 
|---|
| 3409 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 3410 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 3411 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 3412 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 3413 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 3414 |   # in D'. | 
|---|
| 3415 |   mkdir conftest.dir | 
|---|
| 3416 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 3417 |   # using a relative directory. | 
|---|
| 3418 |   cp "$am_depcomp" conftest.dir | 
|---|
| 3419 |   cd conftest.dir | 
|---|
| 3420 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 3421 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 3422 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 3423 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 3424 |   # the current directory while Tru64 will put them in the object | 
|---|
| 3425 |   # directory. | 
|---|
| 3426 |   mkdir sub | 
|---|
| 3427 |  | 
|---|
| 3428 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3429 |   if test "$am_compiler_list" = ""; then | 
|---|
| 3430 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 3431 |   fi | 
|---|
| 3432 |   for depmode in $am_compiler_list; do | 
|---|
| 3433 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 3434 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 3435 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 3436 |     # | 
|---|
| 3437 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 3438 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 3439 |     # This happens at least with the AIX C compiler. | 
|---|
| 3440 |     : > sub/conftest.c | 
|---|
| 3441 |     for i in 1 2 3 4 5 6; do | 
|---|
| 3442 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 3443 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 3444 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 3445 |       touch sub/conftst$i.h | 
|---|
| 3446 |     done | 
|---|
| 3447 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 3448 |  | 
|---|
| 3449 |     case $depmode in | 
|---|
| 3450 |     nosideeffect) | 
|---|
| 3451 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 3452 |       # only be used when explicitly requested | 
|---|
| 3453 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 3454 |         continue | 
|---|
| 3455 |       else | 
|---|
| 3456 |         break | 
|---|
| 3457 |       fi | 
|---|
| 3458 |       ;; | 
|---|
| 3459 |     none) break ;; | 
|---|
| 3460 |     esac | 
|---|
| 3461 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 3462 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 3463 |     # handle `-M -o', and we need to detect this. | 
|---|
| 3464 |     if depmode=$depmode \ | 
|---|
| 3465 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 3466 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 3467 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 3468 |          >/dev/null 2>conftest.err && | 
|---|
| 3469 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3470 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3471 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 3472 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 3473 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 3474 |       # that says an option was ignored or not supported. | 
|---|
| 3475 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 3476 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 3477 |       # The diagnosis changed in icc 8.0: | 
|---|
| 3478 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 3479 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 3480 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 3481 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 3482 |         break | 
|---|
| 3483 |       fi | 
|---|
| 3484 |     fi | 
|---|
| 3485 |   done | 
|---|
| 3486 |  | 
|---|
| 3487 |   cd .. | 
|---|
| 3488 |   rm -rf conftest.dir | 
|---|
| 3489 | else | 
|---|
| 3490 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3491 | fi | 
|---|
| 3492 |  | 
|---|
| 3493 | fi | 
|---|
| 3494 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 3495 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
| 3496 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 3497 |  | 
|---|
| 3498 |  | 
|---|
| 3499 |  | 
|---|
| 3500 | if | 
|---|
| 3501 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 3502 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 3503 |   am__fastdepCC_TRUE= | 
|---|
| 3504 |   am__fastdepCC_FALSE='#' | 
|---|
| 3505 | else | 
|---|
| 3506 |   am__fastdepCC_TRUE='#' | 
|---|
| 3507 |   am__fastdepCC_FALSE= | 
|---|
| 3508 | fi | 
|---|
| 3509 |  | 
|---|
| 3510 |  | 
|---|
| 3511 |  | 
|---|
| 3512 | ac_ext=c | 
|---|
| 3513 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3514 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3515 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3516 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3517 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
| 3518 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
| 3519 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3520 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3521 |   CPP= | 
|---|
| 3522 | fi | 
|---|
| 3523 | if test -z "$CPP"; then | 
|---|
| 3524 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| 3525 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3526 | else | 
|---|
| 3527 |       # Double quotes because CPP needs to be expanded | 
|---|
| 3528 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3529 |     do | 
|---|
| 3530 |       ac_preproc_ok=false | 
|---|
| 3531 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3532 | do | 
|---|
| 3533 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3534 |   # with a fresh cross-compiler works. | 
|---|
| 3535 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3536 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3537 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3538 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3539 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3540 | /* confdefs.h.  */ | 
|---|
| 3541 | _ACEOF | 
|---|
| 3542 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3543 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3544 | /* end confdefs.h.  */ | 
|---|
| 3545 | #ifdef __STDC__ | 
|---|
| 3546 | # include <limits.h> | 
|---|
| 3547 | #else | 
|---|
| 3548 | # include <assert.h> | 
|---|
| 3549 | #endif | 
|---|
| 3550 |                      Syntax error | 
|---|
| 3551 | _ACEOF | 
|---|
| 3552 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3553 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3554 |   ac_status=$? | 
|---|
| 3555 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3556 |   rm -f conftest.er1 | 
|---|
| 3557 |   cat conftest.err >&5 | 
|---|
| 3558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3559 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3560 |   if test -s conftest.err; then | 
|---|
| 3561 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3562 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3563 |   else | 
|---|
| 3564 |     ac_cpp_err= | 
|---|
| 3565 |   fi | 
|---|
| 3566 | else | 
|---|
| 3567 |   ac_cpp_err=yes | 
|---|
| 3568 | fi | 
|---|
| 3569 | if test -z "$ac_cpp_err"; then | 
|---|
| 3570 |   : | 
|---|
| 3571 | else | 
|---|
| 3572 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3573 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3574 |  | 
|---|
| 3575 |   # Broken: fails on valid input. | 
|---|
| 3576 | continue | 
|---|
| 3577 | fi | 
|---|
| 3578 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3579 |  | 
|---|
| 3580 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3581 |   # can be detected and how. | 
|---|
| 3582 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3583 | /* confdefs.h.  */ | 
|---|
| 3584 | _ACEOF | 
|---|
| 3585 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3586 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3587 | /* end confdefs.h.  */ | 
|---|
| 3588 | #include <ac_nonexistent.h> | 
|---|
| 3589 | _ACEOF | 
|---|
| 3590 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3591 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3592 |   ac_status=$? | 
|---|
| 3593 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3594 |   rm -f conftest.er1 | 
|---|
| 3595 |   cat conftest.err >&5 | 
|---|
| 3596 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3597 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3598 |   if test -s conftest.err; then | 
|---|
| 3599 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3600 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3601 |   else | 
|---|
| 3602 |     ac_cpp_err= | 
|---|
| 3603 |   fi | 
|---|
| 3604 | else | 
|---|
| 3605 |   ac_cpp_err=yes | 
|---|
| 3606 | fi | 
|---|
| 3607 | if test -z "$ac_cpp_err"; then | 
|---|
| 3608 |   # Broken: success on invalid input. | 
|---|
| 3609 | continue | 
|---|
| 3610 | else | 
|---|
| 3611 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3612 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3613 |  | 
|---|
| 3614 |   # Passes both tests. | 
|---|
| 3615 | ac_preproc_ok=: | 
|---|
| 3616 | break | 
|---|
| 3617 | fi | 
|---|
| 3618 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3619 |  | 
|---|
| 3620 | done | 
|---|
| 3621 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3622 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3623 | if $ac_preproc_ok; then | 
|---|
| 3624 |   break | 
|---|
| 3625 | fi | 
|---|
| 3626 |  | 
|---|
| 3627 |     done | 
|---|
| 3628 |     ac_cv_prog_CPP=$CPP | 
|---|
| 3629 |  | 
|---|
| 3630 | fi | 
|---|
| 3631 |   CPP=$ac_cv_prog_CPP | 
|---|
| 3632 | else | 
|---|
| 3633 |   ac_cv_prog_CPP=$CPP | 
|---|
| 3634 | fi | 
|---|
| 3635 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
| 3636 | echo "${ECHO_T}$CPP" >&6 | 
|---|
| 3637 | ac_preproc_ok=false | 
|---|
| 3638 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3639 | do | 
|---|
| 3640 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3641 |   # with a fresh cross-compiler works. | 
|---|
| 3642 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3643 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3644 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3645 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3646 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3647 | /* confdefs.h.  */ | 
|---|
| 3648 | _ACEOF | 
|---|
| 3649 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3650 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3651 | /* end confdefs.h.  */ | 
|---|
| 3652 | #ifdef __STDC__ | 
|---|
| 3653 | # include <limits.h> | 
|---|
| 3654 | #else | 
|---|
| 3655 | # include <assert.h> | 
|---|
| 3656 | #endif | 
|---|
| 3657 |                      Syntax error | 
|---|
| 3658 | _ACEOF | 
|---|
| 3659 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3660 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3661 |   ac_status=$? | 
|---|
| 3662 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3663 |   rm -f conftest.er1 | 
|---|
| 3664 |   cat conftest.err >&5 | 
|---|
| 3665 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3666 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3667 |   if test -s conftest.err; then | 
|---|
| 3668 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3669 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3670 |   else | 
|---|
| 3671 |     ac_cpp_err= | 
|---|
| 3672 |   fi | 
|---|
| 3673 | else | 
|---|
| 3674 |   ac_cpp_err=yes | 
|---|
| 3675 | fi | 
|---|
| 3676 | if test -z "$ac_cpp_err"; then | 
|---|
| 3677 |   : | 
|---|
| 3678 | else | 
|---|
| 3679 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3680 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3681 |  | 
|---|
| 3682 |   # Broken: fails on valid input. | 
|---|
| 3683 | continue | 
|---|
| 3684 | fi | 
|---|
| 3685 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3686 |  | 
|---|
| 3687 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3688 |   # can be detected and how. | 
|---|
| 3689 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3690 | /* confdefs.h.  */ | 
|---|
| 3691 | _ACEOF | 
|---|
| 3692 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3693 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3694 | /* end confdefs.h.  */ | 
|---|
| 3695 | #include <ac_nonexistent.h> | 
|---|
| 3696 | _ACEOF | 
|---|
| 3697 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3698 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3699 |   ac_status=$? | 
|---|
| 3700 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3701 |   rm -f conftest.er1 | 
|---|
| 3702 |   cat conftest.err >&5 | 
|---|
| 3703 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3704 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3705 |   if test -s conftest.err; then | 
|---|
| 3706 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3707 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3708 |   else | 
|---|
| 3709 |     ac_cpp_err= | 
|---|
| 3710 |   fi | 
|---|
| 3711 | else | 
|---|
| 3712 |   ac_cpp_err=yes | 
|---|
| 3713 | fi | 
|---|
| 3714 | if test -z "$ac_cpp_err"; then | 
|---|
| 3715 |   # Broken: success on invalid input. | 
|---|
| 3716 | continue | 
|---|
| 3717 | else | 
|---|
| 3718 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3719 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3720 |  | 
|---|
| 3721 |   # Passes both tests. | 
|---|
| 3722 | ac_preproc_ok=: | 
|---|
| 3723 | break | 
|---|
| 3724 | fi | 
|---|
| 3725 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3726 |  | 
|---|
| 3727 | done | 
|---|
| 3728 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3729 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3730 | if $ac_preproc_ok; then | 
|---|
| 3731 |   : | 
|---|
| 3732 | else | 
|---|
| 3733 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3734 | See \`config.log' for more details." >&5 | 
|---|
| 3735 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3736 | See \`config.log' for more details." >&2;} | 
|---|
| 3737 |    { (exit 1); exit 1; }; } | 
|---|
| 3738 | fi | 
|---|
| 3739 |  | 
|---|
| 3740 | ac_ext=c | 
|---|
| 3741 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3742 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3743 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3744 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3745 |  | 
|---|
| 3746 |  | 
|---|
| 3747 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
| 3748 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
| 3749 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
| 3750 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3751 | else | 
|---|
| 3752 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
| 3753 |     then ac_cv_prog_egrep='grep -E' | 
|---|
| 3754 |     else ac_cv_prog_egrep='egrep' | 
|---|
| 3755 |     fi | 
|---|
| 3756 | fi | 
|---|
| 3757 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
| 3758 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
| 3759 |  EGREP=$ac_cv_prog_egrep | 
|---|
| 3760 |  | 
|---|
| 3761 |  | 
|---|
| 3762 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 3763 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 3764 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 3765 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3766 | else | 
|---|
| 3767 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3768 | /* confdefs.h.  */ | 
|---|
| 3769 | _ACEOF | 
|---|
| 3770 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3771 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3772 | /* end confdefs.h.  */ | 
|---|
| 3773 | #include <stdlib.h> | 
|---|
| 3774 | #include <stdarg.h> | 
|---|
| 3775 | #include <string.h> | 
|---|
| 3776 | #include <float.h> | 
|---|
| 3777 |  | 
|---|
| 3778 | int | 
|---|
| 3779 | main () | 
|---|
| 3780 | { | 
|---|
| 3781 |  | 
|---|
| 3782 |   ; | 
|---|
| 3783 |   return 0; | 
|---|
| 3784 | } | 
|---|
| 3785 | _ACEOF | 
|---|
| 3786 | rm -f conftest.$ac_objext | 
|---|
| 3787 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3788 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3789 |   ac_status=$? | 
|---|
| 3790 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3791 |   rm -f conftest.er1 | 
|---|
| 3792 |   cat conftest.err >&5 | 
|---|
| 3793 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3794 |   (exit $ac_status); } && | 
|---|
| 3795 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3796 |                          || test ! -s conftest.err' | 
|---|
| 3797 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3798 |   (eval $ac_try) 2>&5 | 
|---|
| 3799 |   ac_status=$? | 
|---|
| 3800 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3801 |   (exit $ac_status); }; } && | 
|---|
| 3802 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3803 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3804 |   (eval $ac_try) 2>&5 | 
|---|
| 3805 |   ac_status=$? | 
|---|
| 3806 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3807 |   (exit $ac_status); }; }; then | 
|---|
| 3808 |   ac_cv_header_stdc=yes | 
|---|
| 3809 | else | 
|---|
| 3810 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3811 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3812 |  | 
|---|
| 3813 | ac_cv_header_stdc=no | 
|---|
| 3814 | fi | 
|---|
| 3815 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3816 |  | 
|---|
| 3817 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3818 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 3819 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3820 | /* confdefs.h.  */ | 
|---|
| 3821 | _ACEOF | 
|---|
| 3822 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3823 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3824 | /* end confdefs.h.  */ | 
|---|
| 3825 | #include <string.h> | 
|---|
| 3826 |  | 
|---|
| 3827 | _ACEOF | 
|---|
| 3828 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3829 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 3830 |   : | 
|---|
| 3831 | else | 
|---|
| 3832 |   ac_cv_header_stdc=no | 
|---|
| 3833 | fi | 
|---|
| 3834 | rm -f conftest* | 
|---|
| 3835 |  | 
|---|
| 3836 | fi | 
|---|
| 3837 |  | 
|---|
| 3838 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3839 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 3840 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3841 | /* confdefs.h.  */ | 
|---|
| 3842 | _ACEOF | 
|---|
| 3843 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3844 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3845 | /* end confdefs.h.  */ | 
|---|
| 3846 | #include <stdlib.h> | 
|---|
| 3847 |  | 
|---|
| 3848 | _ACEOF | 
|---|
| 3849 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3850 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 3851 |   : | 
|---|
| 3852 | else | 
|---|
| 3853 |   ac_cv_header_stdc=no | 
|---|
| 3854 | fi | 
|---|
| 3855 | rm -f conftest* | 
|---|
| 3856 |  | 
|---|
| 3857 | fi | 
|---|
| 3858 |  | 
|---|
| 3859 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3860 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 3861 |   if test "$cross_compiling" = yes; then | 
|---|
| 3862 |   : | 
|---|
| 3863 | else | 
|---|
| 3864 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3865 | /* confdefs.h.  */ | 
|---|
| 3866 | _ACEOF | 
|---|
| 3867 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3868 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3869 | /* end confdefs.h.  */ | 
|---|
| 3870 | #include <ctype.h> | 
|---|
| 3871 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 3872 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 3873 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 3874 | #else | 
|---|
| 3875 | # define ISLOWER(c) \ | 
|---|
| 3876 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 3877 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 3878 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 3879 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 3880 | #endif | 
|---|
| 3881 |  | 
|---|
| 3882 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 3883 | int | 
|---|
| 3884 | main () | 
|---|
| 3885 | { | 
|---|
| 3886 |   int i; | 
|---|
| 3887 |   for (i = 0; i < 256; i++) | 
|---|
| 3888 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 3889 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 3890 |       exit(2); | 
|---|
| 3891 |   exit (0); | 
|---|
| 3892 | } | 
|---|
| 3893 | _ACEOF | 
|---|
| 3894 | rm -f conftest$ac_exeext | 
|---|
| 3895 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3896 |   (eval $ac_link) 2>&5 | 
|---|
| 3897 |   ac_status=$? | 
|---|
| 3898 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3899 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 3900 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3901 |   (eval $ac_try) 2>&5 | 
|---|
| 3902 |   ac_status=$? | 
|---|
| 3903 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3904 |   (exit $ac_status); }; }; then | 
|---|
| 3905 |   : | 
|---|
| 3906 | else | 
|---|
| 3907 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 3908 | echo "$as_me: failed program was:" >&5 | 
|---|
| 3909 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3910 |  | 
|---|
| 3911 | ( exit $ac_status ) | 
|---|
| 3912 | ac_cv_header_stdc=no | 
|---|
| 3913 | fi | 
|---|
| 3914 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3915 | fi | 
|---|
| 3916 | fi | 
|---|
| 3917 | fi | 
|---|
| 3918 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 3919 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 3920 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3921 |  | 
|---|
| 3922 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 3923 | #define STDC_HEADERS 1 | 
|---|
| 3924 | _ACEOF | 
|---|
| 3925 |  | 
|---|
| 3926 | fi | 
|---|
| 3927 |  | 
|---|
| 3928 |  | 
|---|
| 3929 | ## THIS IS OUR DEFAULT-DATA-DIRECTORY | 
|---|
| 3930 |  | 
|---|
| 3931 | ################################## | 
|---|
| 3932 | ## CHECKING  OPTIONAL ARGUMENTS ## | 
|---|
| 3933 | ################################## | 
|---|
| 3934 | #----------------# | 
|---|
| 3935 | # Data-Directory # | 
|---|
| 3936 | #----------------# | 
|---|
| 3937 | DATA_DIR=$datadir | 
|---|
| 3938 | echo \$\{prefix\} | 
|---|
| 3939 | if test $DATA_DIR = \$\{prefix\}/share ; then | 
|---|
| 3940 |         echo "not given" | 
|---|
| 3941 |         DATA_DIR=/usr/share | 
|---|
| 3942 | else | 
|---|
| 3943 |         echo "given: $DATA_DIR" | 
|---|
| 3944 | fi | 
|---|
| 3945 |  | 
|---|
| 3946 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3947 | #define DATADIR "$DATA_DIR" | 
|---|
| 3948 | _ACEOF | 
|---|
| 3949 |  | 
|---|
| 3950 |  | 
|---|
| 3951 | #-----------------# | 
|---|
| 3952 | # shared-lib-path # | 
|---|
| 3953 | #-----------------# | 
|---|
| 3954 | SHARED_LIB_PATH=no | 
|---|
| 3955 | echo "$as_me:$LINENO: checking shared lib path" >&5 | 
|---|
| 3956 | echo $ECHO_N "checking shared lib path... $ECHO_C" >&6 | 
|---|
| 3957 |  | 
|---|
| 3958 | # Check whether --with-shared-lib-path or --without-shared-lib-path was given. | 
|---|
| 3959 | if test "${with_shared_lib_path+set}" = set; then | 
|---|
| 3960 |   withval="$with_shared_lib_path" | 
|---|
| 3961 |   SHARED_LIB_PATH=$withval | 
|---|
| 3962 | fi; | 
|---|
| 3963 | if test x$SHARED_LIB_PATH != xno; then | 
|---|
| 3964 |         echo "set to $SHARED_LIB_PATH" | 
|---|
| 3965 | else | 
|---|
| 3966 |         echo "no" | 
|---|
| 3967 | fi | 
|---|
| 3968 |  | 
|---|
| 3969 |  | 
|---|
| 3970 | #-----------------# | 
|---|
| 3971 | # DEBUG-statement # | 
|---|
| 3972 | #-----------------# | 
|---|
| 3973 | DEBUG=no | 
|---|
| 3974 | echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 | 
|---|
| 3975 | echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 | 
|---|
| 3976 | # Check whether --enable-debug or --disable-debug was given. | 
|---|
| 3977 | if test "${enable_debug+set}" = set; then | 
|---|
| 3978 |   enableval="$enable_debug" | 
|---|
| 3979 |   DEBUG=$enableval | 
|---|
| 3980 | fi; | 
|---|
| 3981 |  | 
|---|
| 3982 | if test x$DEBUG = xno; then | 
|---|
| 3983 |         echo "no" | 
|---|
| 3984 |         echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed." | 
|---|
| 3985 |         DEBUG=4 | 
|---|
| 3986 | elif test x$DEBUG = xyes; then | 
|---|
| 3987 |         echo "yes" | 
|---|
| 3988 |         echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." | 
|---|
| 3989 |         DEBUG=4 | 
|---|
| 3990 | else | 
|---|
| 3991 |         echo "yes: setting debuglevel to to $DEBUG" | 
|---|
| 3992 | fi | 
|---|
| 3993 |  | 
|---|
| 3994 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3995 | #define DEBUG $DEBUG | 
|---|
| 3996 | _ACEOF | 
|---|
| 3997 |  | 
|---|
| 3998 |  | 
|---|
| 3999 |  | 
|---|
| 4000 | #---------------# | 
|---|
| 4001 | # Modular Debug # | 
|---|
| 4002 | #---------------# | 
|---|
| 4003 | MODULAR_DEBUG=yes | 
|---|
| 4004 | echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&5 | 
|---|
| 4005 | echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&6 | 
|---|
| 4006 | # Check whether --enable-modular-debug or --disable-modular-debug was given. | 
|---|
| 4007 | if test "${enable_modular_debug+set}" = set; then | 
|---|
| 4008 |   enableval="$enable_modular_debug" | 
|---|
| 4009 |   MODULAR_DEBUG=$enableval | 
|---|
| 4010 | fi; | 
|---|
| 4011 |  | 
|---|
| 4012 | if test x$MODULAR_DEBUG = xno; then | 
|---|
| 4013 |         echo "no" | 
|---|
| 4014 | elif test x$MODULAR_DEBUG = xyes; then | 
|---|
| 4015 |         echo "yes" | 
|---|
| 4016 |  | 
|---|
| 4017 | cat >>confdefs.h <<_ACEOF | 
|---|
| 4018 | #define MODULAR_DEBUG 1 | 
|---|
| 4019 | _ACEOF | 
|---|
| 4020 |  | 
|---|
| 4021 | fi | 
|---|
| 4022 |  | 
|---|
| 4023 | #--------------# | 
|---|
| 4024 | # GTK-disabled # | 
|---|
| 4025 | #--------------# | 
|---|
| 4026 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
| 4027 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
| 4028 | # Check whether --enable-gtk or --disable-gtk was given. | 
|---|
| 4029 | if test "${enable_gtk+set}" = set; then | 
|---|
| 4030 |   enableval="$enable_gtk" | 
|---|
| 4031 |   def_gtk=no | 
|---|
| 4032 | else | 
|---|
| 4033 |   def_gtk=yes | 
|---|
| 4034 | fi; | 
|---|
| 4035 | if test x$def_gtk = xyes; then | 
|---|
| 4036 |   echo "yes" | 
|---|
| 4037 | fi | 
|---|
| 4038 | if test x$def_gtk = xno; then | 
|---|
| 4039 |   echo "no" | 
|---|
| 4040 | fi | 
|---|
| 4041 |  | 
|---|
| 4042 | #------------------# | 
|---|
| 4043 | # libCurl-disabled # | 
|---|
| 4044 | #------------------# | 
|---|
| 4045 | echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 | 
|---|
| 4046 | echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 | 
|---|
| 4047 | # Check whether --enable-curl or --disable-curl was given. | 
|---|
| 4048 | if test "${enable_curl+set}" = set; then | 
|---|
| 4049 |   enableval="$enable_curl" | 
|---|
| 4050 |   def_curl=no | 
|---|
| 4051 | else | 
|---|
| 4052 |   def_curl=yes | 
|---|
| 4053 | fi; | 
|---|
| 4054 | if test x$def_curl = xyes; then | 
|---|
| 4055 |   echo "yes" | 
|---|
| 4056 | fi | 
|---|
| 4057 | if test x$def_curl = xno; then | 
|---|
| 4058 |   echo "no" | 
|---|
| 4059 | fi | 
|---|
| 4060 |  | 
|---|
| 4061 | #-------------------# | 
|---|
| 4062 | # SubProject-enable # | 
|---|
| 4063 | #-------------------# | 
|---|
| 4064 | def_sub_projects=no | 
|---|
| 4065 | echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 | 
|---|
| 4066 | echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 | 
|---|
| 4067 |  | 
|---|
| 4068 | # Check whether --with-sub-projects or --without-sub-projects was given. | 
|---|
| 4069 | if test "${with_sub_projects+set}" = set; then | 
|---|
| 4070 |   withval="$with_sub_projects" | 
|---|
| 4071 |   def_sub_projects=yes | 
|---|
| 4072 | fi; | 
|---|
| 4073 | if test x$def_sub_projects = xyes; then | 
|---|
| 4074 |   echo "yes" | 
|---|
| 4075 | fi | 
|---|
| 4076 | if test x$def_sub_projects = xno; then | 
|---|
| 4077 |   echo "no" | 
|---|
| 4078 | fi | 
|---|
| 4079 |  | 
|---|
| 4080 |  | 
|---|
| 4081 | if test x$def_sub_projects = xyes; then | 
|---|
| 4082 |   SUB_PROJECTS_TRUE= | 
|---|
| 4083 |   SUB_PROJECTS_FALSE='#' | 
|---|
| 4084 | else | 
|---|
| 4085 |   SUB_PROJECTS_TRUE='#' | 
|---|
| 4086 |   SUB_PROJECTS_FALSE= | 
|---|
| 4087 | fi | 
|---|
| 4088 |  | 
|---|
| 4089 |  | 
|---|
| 4090 | #-------------------# | 
|---|
| 4091 | # Profiling Enabled # | 
|---|
| 4092 | #-------------------# | 
|---|
| 4093 | def_profiling=no | 
|---|
| 4094 | echo "$as_me:$LINENO: checking if Profiling should be enabled" >&5 | 
|---|
| 4095 | echo $ECHO_N "checking if Profiling should be enabled... $ECHO_C" >&6 | 
|---|
| 4096 | # Check whether --enable-profile or --disable-profile was given. | 
|---|
| 4097 | if test "${enable_profile+set}" = set; then | 
|---|
| 4098 |   enableval="$enable_profile" | 
|---|
| 4099 |   def_profiling=yes | 
|---|
| 4100 | fi; | 
|---|
| 4101 | if test x$def_profiling = xyes; then | 
|---|
| 4102 |   echo "yes" | 
|---|
| 4103 |   CXXFLAGS="$CXXFLAGS -pg" | 
|---|
| 4104 | fi | 
|---|
| 4105 | if test x$def_profiling = xno; then | 
|---|
| 4106 |   echo "no" | 
|---|
| 4107 | fi | 
|---|
| 4108 |  | 
|---|
| 4109 | #----------------# | 
|---|
| 4110 | # efence Enabled # | 
|---|
| 4111 | #----------------# | 
|---|
| 4112 | def_efence=no | 
|---|
| 4113 | echo "$as_me:$LINENO: checking if efence should be enabled" >&5 | 
|---|
| 4114 | echo $ECHO_N "checking if efence should be enabled... $ECHO_C" >&6 | 
|---|
| 4115 | # Check whether --enable-efence or --disable-efence was given. | 
|---|
| 4116 | if test "${enable_efence+set}" = set; then | 
|---|
| 4117 |   enableval="$enable_efence" | 
|---|
| 4118 |   def_efence=yes | 
|---|
| 4119 | fi; | 
|---|
| 4120 | if test x$def_efence = xyes; then | 
|---|
| 4121 |   echo "yes" | 
|---|
| 4122 | fi | 
|---|
| 4123 | if test x$def_efence = xno; then | 
|---|
| 4124 |   echo "no" | 
|---|
| 4125 | fi | 
|---|
| 4126 |  | 
|---|
| 4127 | #----------------------# | 
|---|
| 4128 | # Documentation-enable # | 
|---|
| 4129 | #----------------------# | 
|---|
| 4130 | def_documentation=no | 
|---|
| 4131 | echo "$as_me:$LINENO: checking if the Documentation should be build by default" >&5 | 
|---|
| 4132 | echo $ECHO_N "checking if the Documentation should be build by default... $ECHO_C" >&6 | 
|---|
| 4133 | # Check whether --enable-documentation or --disable-documentation was given. | 
|---|
| 4134 | if test "${enable_documentation+set}" = set; then | 
|---|
| 4135 |   enableval="$enable_documentation" | 
|---|
| 4136 |   def_documentation=yes | 
|---|
| 4137 | fi; | 
|---|
| 4138 | if test x$def_documentation = xyes; then | 
|---|
| 4139 |   echo "yes" | 
|---|
| 4140 | fi | 
|---|
| 4141 | if test x$def_documentation = xno; then | 
|---|
| 4142 |   echo "no" | 
|---|
| 4143 | fi | 
|---|
| 4144 |  | 
|---|
| 4145 |  | 
|---|
| 4146 | if test x$def_documentation = xyes; then | 
|---|
| 4147 |   DOCUMENTATION_TRUE= | 
|---|
| 4148 |   DOCUMENTATION_FALSE='#' | 
|---|
| 4149 | else | 
|---|
| 4150 |   DOCUMENTATION_TRUE='#' | 
|---|
| 4151 |   DOCUMENTATION_FALSE= | 
|---|
| 4152 | fi | 
|---|
| 4153 |  | 
|---|
| 4154 |  | 
|---|
| 4155 | ####################### | 
|---|
| 4156 | ## PROGRAMM CHECKING ## | 
|---|
| 4157 | ## 3. party Programs ## | 
|---|
| 4158 | ####################### | 
|---|
| 4159 |  | 
|---|
| 4160 | #----------------------# | 
|---|
| 4161 | # checking for Doxygen # | 
|---|
| 4162 | #----------------------# | 
|---|
| 4163 | # Extract the first word of "doxygen", so it can be a program name with args. | 
|---|
| 4164 | set dummy doxygen; ac_word=$2 | 
|---|
| 4165 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4166 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4167 | if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
|---|
| 4168 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4169 | else | 
|---|
| 4170 |   case $DOXYGEN in | 
|---|
| 4171 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4172 |   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
|---|
| 4173 |   ;; | 
|---|
| 4174 |   *) | 
|---|
| 4175 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4176 | for as_dir in $PATH | 
|---|
| 4177 | do | 
|---|
| 4178 |   IFS=$as_save_IFS | 
|---|
| 4179 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4180 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4181 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4182 |     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4183 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4184 |     break 2 | 
|---|
| 4185 |   fi | 
|---|
| 4186 | done | 
|---|
| 4187 | done | 
|---|
| 4188 |  | 
|---|
| 4189 |   ;; | 
|---|
| 4190 | esac | 
|---|
| 4191 | fi | 
|---|
| 4192 | DOXYGEN=$ac_cv_path_DOXYGEN | 
|---|
| 4193 |  | 
|---|
| 4194 | if test -n "$DOXYGEN"; then | 
|---|
| 4195 |   echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
|---|
| 4196 | echo "${ECHO_T}$DOXYGEN" >&6 | 
|---|
| 4197 | else | 
|---|
| 4198 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4199 | echo "${ECHO_T}no" >&6 | 
|---|
| 4200 | fi | 
|---|
| 4201 |  | 
|---|
| 4202 |  | 
|---|
| 4203 |  | 
|---|
| 4204 | if test $DOXYGEN; then | 
|---|
| 4205 |   DOXYGEN_TRUE= | 
|---|
| 4206 |   DOXYGEN_FALSE='#' | 
|---|
| 4207 | else | 
|---|
| 4208 |   DOXYGEN_TRUE='#' | 
|---|
| 4209 |   DOXYGEN_FALSE= | 
|---|
| 4210 | fi | 
|---|
| 4211 |  | 
|---|
| 4212 |  | 
|---|
| 4213 | #--------------------# | 
|---|
| 4214 | # checking for gprof # | 
|---|
| 4215 | #--------------------# | 
|---|
| 4216 | # Extract the first word of "gprof", so it can be a program name with args. | 
|---|
| 4217 | set dummy gprof; ac_word=$2 | 
|---|
| 4218 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4219 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4220 | if test "${ac_cv_path_GPROF+set}" = set; then | 
|---|
| 4221 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4222 | else | 
|---|
| 4223 |   case $GPROF in | 
|---|
| 4224 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4225 |   ac_cv_path_GPROF="$GPROF" # Let the user override the test with a path. | 
|---|
| 4226 |   ;; | 
|---|
| 4227 |   *) | 
|---|
| 4228 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4229 | for as_dir in $PATH | 
|---|
| 4230 | do | 
|---|
| 4231 |   IFS=$as_save_IFS | 
|---|
| 4232 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4233 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4234 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4235 |     ac_cv_path_GPROF="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4236 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4237 |     break 2 | 
|---|
| 4238 |   fi | 
|---|
| 4239 | done | 
|---|
| 4240 | done | 
|---|
| 4241 |  | 
|---|
| 4242 |   ;; | 
|---|
| 4243 | esac | 
|---|
| 4244 | fi | 
|---|
| 4245 | GPROF=$ac_cv_path_GPROF | 
|---|
| 4246 |  | 
|---|
| 4247 | if test -n "$GPROF"; then | 
|---|
| 4248 |   echo "$as_me:$LINENO: result: $GPROF" >&5 | 
|---|
| 4249 | echo "${ECHO_T}$GPROF" >&6 | 
|---|
| 4250 | else | 
|---|
| 4251 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4252 | echo "${ECHO_T}no" >&6 | 
|---|
| 4253 | fi | 
|---|
| 4254 |  | 
|---|
| 4255 |  | 
|---|
| 4256 | #-------------------------# | 
|---|
| 4257 | # checking for pkg-config # | 
|---|
| 4258 | #-------------------------# | 
|---|
| 4259 | if test x$def_gtk = xyes; then | 
|---|
| 4260 |  # Extract the first word of "pkg-config", so it can be a program name with args. | 
|---|
| 4261 | set dummy pkg-config; ac_word=$2 | 
|---|
| 4262 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4263 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4264 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 
|---|
| 4265 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4266 | else | 
|---|
| 4267 |   case $PKG_CONFIG in | 
|---|
| 4268 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4269 |   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 
|---|
| 4270 |   ;; | 
|---|
| 4271 |   *) | 
|---|
| 4272 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4273 | for as_dir in $PATH | 
|---|
| 4274 | do | 
|---|
| 4275 |   IFS=$as_save_IFS | 
|---|
| 4276 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4277 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4278 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4279 |     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4280 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4281 |     break 2 | 
|---|
| 4282 |   fi | 
|---|
| 4283 | done | 
|---|
| 4284 | done | 
|---|
| 4285 |  | 
|---|
| 4286 |   ;; | 
|---|
| 4287 | esac | 
|---|
| 4288 | fi | 
|---|
| 4289 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 
|---|
| 4290 |  | 
|---|
| 4291 | if test -n "$PKG_CONFIG"; then | 
|---|
| 4292 |   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 
|---|
| 4293 | echo "${ECHO_T}$PKG_CONFIG" >&6 | 
|---|
| 4294 | else | 
|---|
| 4295 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4296 | echo "${ECHO_T}no" >&6 | 
|---|
| 4297 | fi | 
|---|
| 4298 |  | 
|---|
| 4299 | fi | 
|---|
| 4300 |  | 
|---|
| 4301 |  | 
|---|
| 4302 | ######################### | 
|---|
| 4303 | ## CHECKING FOR SYSTEM ## | 
|---|
| 4304 | ######################### | 
|---|
| 4305 | ## here the system is checked, and openGL is included | 
|---|
| 4306 | ## also checking for SDL on differen Systems | 
|---|
| 4307 |  | 
|---|
| 4308 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
| 4309 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| 4310 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
| 4311 | case "$target" in | 
|---|
| 4312 |  | 
|---|
| 4313 | ########### | 
|---|
| 4314 | #---------# | 
|---|
| 4315 | # WINDOWS # | 
|---|
| 4316 | #---------# | 
|---|
| 4317 | ########### | 
|---|
| 4318 |   *-*-mingw32*) | 
|---|
| 4319 | echo "mingw-WINDOWS detected" | 
|---|
| 4320 |  | 
|---|
| 4321 | CPPFLAGS="-I/usr/include -I/mingw/include $CPPFLAGS" | 
|---|
| 4322 |  | 
|---|
| 4323 |     mingw="yes" | 
|---|
| 4324 |     MSBITFIELDS="-mms-bitfields" | 
|---|
| 4325 |     MWINDOWS="-mwindows" | 
|---|
| 4326 |  | 
|---|
| 4327 | #--------# | 
|---|
| 4328 | # MIN-GW # | 
|---|
| 4329 | #--------# | 
|---|
| 4330 | # checking for mingw32 | 
|---|
| 4331 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
| 4332 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
| 4333 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| 4334 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4335 | else | 
|---|
| 4336 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4337 | LIBS="-lmingw32  $LIBS" | 
|---|
| 4338 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4339 | /* confdefs.h.  */ | 
|---|
| 4340 | _ACEOF | 
|---|
| 4341 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4342 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4343 | /* end confdefs.h.  */ | 
|---|
| 4344 |  | 
|---|
| 4345 |  | 
|---|
| 4346 | int | 
|---|
| 4347 | main () | 
|---|
| 4348 | { | 
|---|
| 4349 | main (); | 
|---|
| 4350 |   ; | 
|---|
| 4351 |   return 0; | 
|---|
| 4352 | } | 
|---|
| 4353 | _ACEOF | 
|---|
| 4354 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4355 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4356 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4357 |   ac_status=$? | 
|---|
| 4358 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4359 |   rm -f conftest.er1 | 
|---|
| 4360 |   cat conftest.err >&5 | 
|---|
| 4361 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4362 |   (exit $ac_status); } && | 
|---|
| 4363 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4364 |                          || test ! -s conftest.err' | 
|---|
| 4365 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4366 |   (eval $ac_try) 2>&5 | 
|---|
| 4367 |   ac_status=$? | 
|---|
| 4368 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4369 |   (exit $ac_status); }; } && | 
|---|
| 4370 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4371 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4372 |   (eval $ac_try) 2>&5 | 
|---|
| 4373 |   ac_status=$? | 
|---|
| 4374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4375 |   (exit $ac_status); }; }; then | 
|---|
| 4376 |   ac_cv_lib_mingw32_main=yes | 
|---|
| 4377 | else | 
|---|
| 4378 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4379 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4380 |  | 
|---|
| 4381 | ac_cv_lib_mingw32_main=no | 
|---|
| 4382 | fi | 
|---|
| 4383 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4384 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4385 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4386 | fi | 
|---|
| 4387 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
| 4388 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
| 4389 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
| 4390 |   FOUND_mingw32=yes | 
|---|
| 4391 | fi | 
|---|
| 4392 |  | 
|---|
| 4393 |     if test x$FOUND_mingw32 = xyes; then | 
|---|
| 4394 |         LIBS="$LIBS -lmingw32" | 
|---|
| 4395 |     fi | 
|---|
| 4396 |  | 
|---|
| 4397 | #---------------# | 
|---|
| 4398 | # open-GL (win) # | 
|---|
| 4399 | #---------------# | 
|---|
| 4400 | # checking gl header | 
|---|
| 4401 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 4402 |  | 
|---|
| 4403 |  | 
|---|
| 4404 |  | 
|---|
| 4405 |  | 
|---|
| 4406 |  | 
|---|
| 4407 |  | 
|---|
| 4408 |  | 
|---|
| 4409 |  | 
|---|
| 4410 |  | 
|---|
| 4411 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 4412 |                   inttypes.h stdint.h unistd.h | 
|---|
| 4413 | do | 
|---|
| 4414 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4415 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4416 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4417 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4418 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4419 | else | 
|---|
| 4420 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4421 | /* confdefs.h.  */ | 
|---|
| 4422 | _ACEOF | 
|---|
| 4423 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4424 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4425 | /* end confdefs.h.  */ | 
|---|
| 4426 | $ac_includes_default | 
|---|
| 4427 |  | 
|---|
| 4428 | #include <$ac_header> | 
|---|
| 4429 | _ACEOF | 
|---|
| 4430 | rm -f conftest.$ac_objext | 
|---|
| 4431 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4432 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4433 |   ac_status=$? | 
|---|
| 4434 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4435 |   rm -f conftest.er1 | 
|---|
| 4436 |   cat conftest.err >&5 | 
|---|
| 4437 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4438 |   (exit $ac_status); } && | 
|---|
| 4439 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4440 |                          || test ! -s conftest.err' | 
|---|
| 4441 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4442 |   (eval $ac_try) 2>&5 | 
|---|
| 4443 |   ac_status=$? | 
|---|
| 4444 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4445 |   (exit $ac_status); }; } && | 
|---|
| 4446 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4447 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4448 |   (eval $ac_try) 2>&5 | 
|---|
| 4449 |   ac_status=$? | 
|---|
| 4450 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4451 |   (exit $ac_status); }; }; then | 
|---|
| 4452 |   eval "$as_ac_Header=yes" | 
|---|
| 4453 | else | 
|---|
| 4454 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4455 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4456 |  | 
|---|
| 4457 | eval "$as_ac_Header=no" | 
|---|
| 4458 | fi | 
|---|
| 4459 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4460 | fi | 
|---|
| 4461 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4462 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4463 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4464 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4465 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4466 | _ACEOF | 
|---|
| 4467 |  | 
|---|
| 4468 | fi | 
|---|
| 4469 |  | 
|---|
| 4470 | done | 
|---|
| 4471 |  | 
|---|
| 4472 |  | 
|---|
| 4473 |  | 
|---|
| 4474 | for ac_header in GL/gl.h | 
|---|
| 4475 | do | 
|---|
| 4476 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4477 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4478 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4479 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4480 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4481 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4482 | fi | 
|---|
| 4483 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4484 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4485 | else | 
|---|
| 4486 |   # Is the header compilable? | 
|---|
| 4487 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4488 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4489 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4490 | /* confdefs.h.  */ | 
|---|
| 4491 | _ACEOF | 
|---|
| 4492 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4493 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4494 | /* end confdefs.h.  */ | 
|---|
| 4495 | $ac_includes_default | 
|---|
| 4496 | #include <$ac_header> | 
|---|
| 4497 | _ACEOF | 
|---|
| 4498 | rm -f conftest.$ac_objext | 
|---|
| 4499 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4500 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4501 |   ac_status=$? | 
|---|
| 4502 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4503 |   rm -f conftest.er1 | 
|---|
| 4504 |   cat conftest.err >&5 | 
|---|
| 4505 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4506 |   (exit $ac_status); } && | 
|---|
| 4507 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4508 |                          || test ! -s conftest.err' | 
|---|
| 4509 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4510 |   (eval $ac_try) 2>&5 | 
|---|
| 4511 |   ac_status=$? | 
|---|
| 4512 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4513 |   (exit $ac_status); }; } && | 
|---|
| 4514 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4515 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4516 |   (eval $ac_try) 2>&5 | 
|---|
| 4517 |   ac_status=$? | 
|---|
| 4518 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4519 |   (exit $ac_status); }; }; then | 
|---|
| 4520 |   ac_header_compiler=yes | 
|---|
| 4521 | else | 
|---|
| 4522 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4523 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4524 |  | 
|---|
| 4525 | ac_header_compiler=no | 
|---|
| 4526 | fi | 
|---|
| 4527 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4528 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4529 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4530 |  | 
|---|
| 4531 | # Is the header present? | 
|---|
| 4532 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4533 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4534 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4535 | /* confdefs.h.  */ | 
|---|
| 4536 | _ACEOF | 
|---|
| 4537 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4538 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4539 | /* end confdefs.h.  */ | 
|---|
| 4540 | #include <$ac_header> | 
|---|
| 4541 | _ACEOF | 
|---|
| 4542 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4543 |   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then | 
|---|
| 4550 |   if test -s conftest.err; then | 
|---|
| 4551 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4552 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4553 |   else | 
|---|
| 4554 |     ac_cpp_err= | 
|---|
| 4555 |   fi | 
|---|
| 4556 | else | 
|---|
| 4557 |   ac_cpp_err=yes | 
|---|
| 4558 | fi | 
|---|
| 4559 | if test -z "$ac_cpp_err"; then | 
|---|
| 4560 |   ac_header_preproc=yes | 
|---|
| 4561 | else | 
|---|
| 4562 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4563 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4564 |  | 
|---|
| 4565 |   ac_header_preproc=no | 
|---|
| 4566 | fi | 
|---|
| 4567 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4568 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4569 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4570 |  | 
|---|
| 4571 | # So?  What about this header? | 
|---|
| 4572 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4573 |   yes:no: ) | 
|---|
| 4574 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4575 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4576 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4577 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4578 |     ac_header_preproc=yes | 
|---|
| 4579 |     ;; | 
|---|
| 4580 |   no:yes:* ) | 
|---|
| 4581 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4582 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4583 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4584 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4585 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4586 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4587 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4588 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4589 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4590 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4591 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4592 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4593 |     ( | 
|---|
| 4594 |       cat <<\_ASBOX | 
|---|
| 4595 | ## ---------------------------------------------- ## | 
|---|
| 4596 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4597 | ## ---------------------------------------------- ## | 
|---|
| 4598 | _ASBOX | 
|---|
| 4599 |     ) | | 
|---|
| 4600 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4601 |     ;; | 
|---|
| 4602 | esac | 
|---|
| 4603 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4604 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4605 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4606 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4607 | else | 
|---|
| 4608 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4609 | fi | 
|---|
| 4610 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4611 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4612 |  | 
|---|
| 4613 | fi | 
|---|
| 4614 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4615 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4616 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4617 | _ACEOF | 
|---|
| 4618 |  | 
|---|
| 4619 | else | 
|---|
| 4620 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4621 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4622 |    { (exit 1); exit 1; }; } | 
|---|
| 4623 | fi | 
|---|
| 4624 |  | 
|---|
| 4625 | done | 
|---|
| 4626 |  | 
|---|
| 4627 | #   checking for Windows openGl library | 
|---|
| 4628 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
| 4629 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
| 4630 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| 4631 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4632 | else | 
|---|
| 4633 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4634 | LIBS="-lopengl32  $LIBS" | 
|---|
| 4635 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4636 | /* confdefs.h.  */ | 
|---|
| 4637 | _ACEOF | 
|---|
| 4638 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4639 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4640 | /* end confdefs.h.  */ | 
|---|
| 4641 |  | 
|---|
| 4642 |  | 
|---|
| 4643 | int | 
|---|
| 4644 | main () | 
|---|
| 4645 | { | 
|---|
| 4646 | main (); | 
|---|
| 4647 |   ; | 
|---|
| 4648 |   return 0; | 
|---|
| 4649 | } | 
|---|
| 4650 | _ACEOF | 
|---|
| 4651 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4653 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4654 |   ac_status=$? | 
|---|
| 4655 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4656 |   rm -f conftest.er1 | 
|---|
| 4657 |   cat conftest.err >&5 | 
|---|
| 4658 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4659 |   (exit $ac_status); } && | 
|---|
| 4660 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4661 |                          || test ! -s conftest.err' | 
|---|
| 4662 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4663 |   (eval $ac_try) 2>&5 | 
|---|
| 4664 |   ac_status=$? | 
|---|
| 4665 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4666 |   (exit $ac_status); }; } && | 
|---|
| 4667 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4668 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4669 |   (eval $ac_try) 2>&5 | 
|---|
| 4670 |   ac_status=$? | 
|---|
| 4671 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4672 |   (exit $ac_status); }; }; then | 
|---|
| 4673 |   ac_cv_lib_opengl32_main=yes | 
|---|
| 4674 | else | 
|---|
| 4675 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4676 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4677 |  | 
|---|
| 4678 | ac_cv_lib_opengl32_main=no | 
|---|
| 4679 | fi | 
|---|
| 4680 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4681 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4682 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4683 | fi | 
|---|
| 4684 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
| 4685 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
| 4686 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
| 4687 |   FOUND_GL=yes; LIBS="$LIBS -lopengl32" | 
|---|
| 4688 | fi | 
|---|
| 4689 |  | 
|---|
| 4690 |     if test x$FOUND_GL != xyes ; then | 
|---|
| 4691 |          echo "------------------" | 
|---|
| 4692 |          echo "opengl not found." | 
|---|
| 4693 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 4694 |          echo "------------------" | 
|---|
| 4695 |          exit -1 | 
|---|
| 4696 |     fi | 
|---|
| 4697 |  | 
|---|
| 4698 | # cheking for GLU-header | 
|---|
| 4699 |  | 
|---|
| 4700 | for ac_header in GL/glu.h | 
|---|
| 4701 | do | 
|---|
| 4702 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4703 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4704 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4705 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4706 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4707 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4708 | fi | 
|---|
| 4709 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4710 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4711 | else | 
|---|
| 4712 |   # Is the header compilable? | 
|---|
| 4713 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4714 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4715 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4716 | /* confdefs.h.  */ | 
|---|
| 4717 | _ACEOF | 
|---|
| 4718 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4719 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4720 | /* end confdefs.h.  */ | 
|---|
| 4721 | $ac_includes_default | 
|---|
| 4722 | #include <$ac_header> | 
|---|
| 4723 | _ACEOF | 
|---|
| 4724 | rm -f conftest.$ac_objext | 
|---|
| 4725 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4726 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4727 |   ac_status=$? | 
|---|
| 4728 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4729 |   rm -f conftest.er1 | 
|---|
| 4730 |   cat conftest.err >&5 | 
|---|
| 4731 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4732 |   (exit $ac_status); } && | 
|---|
| 4733 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4734 |                          || test ! -s conftest.err' | 
|---|
| 4735 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4736 |   (eval $ac_try) 2>&5 | 
|---|
| 4737 |   ac_status=$? | 
|---|
| 4738 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4739 |   (exit $ac_status); }; } && | 
|---|
| 4740 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4741 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4742 |   (eval $ac_try) 2>&5 | 
|---|
| 4743 |   ac_status=$? | 
|---|
| 4744 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4745 |   (exit $ac_status); }; }; then | 
|---|
| 4746 |   ac_header_compiler=yes | 
|---|
| 4747 | else | 
|---|
| 4748 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4749 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4750 |  | 
|---|
| 4751 | ac_header_compiler=no | 
|---|
| 4752 | fi | 
|---|
| 4753 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4754 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4755 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4756 |  | 
|---|
| 4757 | # Is the header present? | 
|---|
| 4758 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4759 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4760 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4761 | /* confdefs.h.  */ | 
|---|
| 4762 | _ACEOF | 
|---|
| 4763 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4764 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4765 | /* end confdefs.h.  */ | 
|---|
| 4766 | #include <$ac_header> | 
|---|
| 4767 | _ACEOF | 
|---|
| 4768 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4769 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4770 |   ac_status=$? | 
|---|
| 4771 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4772 |   rm -f conftest.er1 | 
|---|
| 4773 |   cat conftest.err >&5 | 
|---|
| 4774 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4775 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4776 |   if test -s conftest.err; then | 
|---|
| 4777 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4778 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4779 |   else | 
|---|
| 4780 |     ac_cpp_err= | 
|---|
| 4781 |   fi | 
|---|
| 4782 | else | 
|---|
| 4783 |   ac_cpp_err=yes | 
|---|
| 4784 | fi | 
|---|
| 4785 | if test -z "$ac_cpp_err"; then | 
|---|
| 4786 |   ac_header_preproc=yes | 
|---|
| 4787 | else | 
|---|
| 4788 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4789 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4790 |  | 
|---|
| 4791 |   ac_header_preproc=no | 
|---|
| 4792 | fi | 
|---|
| 4793 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4794 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4795 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4796 |  | 
|---|
| 4797 | # So?  What about this header? | 
|---|
| 4798 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4799 |   yes:no: ) | 
|---|
| 4800 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4801 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4802 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4803 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4804 |     ac_header_preproc=yes | 
|---|
| 4805 |     ;; | 
|---|
| 4806 |   no:yes:* ) | 
|---|
| 4807 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4808 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4809 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4810 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4811 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4812 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4813 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4814 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4815 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4816 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4817 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4818 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4819 |     ( | 
|---|
| 4820 |       cat <<\_ASBOX | 
|---|
| 4821 | ## ---------------------------------------------- ## | 
|---|
| 4822 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4823 | ## ---------------------------------------------- ## | 
|---|
| 4824 | _ASBOX | 
|---|
| 4825 |     ) | | 
|---|
| 4826 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4827 |     ;; | 
|---|
| 4828 | esac | 
|---|
| 4829 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4830 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4831 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4832 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4833 | else | 
|---|
| 4834 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4835 | fi | 
|---|
| 4836 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4837 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4838 |  | 
|---|
| 4839 | fi | 
|---|
| 4840 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4841 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4842 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4843 | _ACEOF | 
|---|
| 4844 |  | 
|---|
| 4845 | else | 
|---|
| 4846 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4847 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4848 |    { (exit 1); exit 1; }; } | 
|---|
| 4849 | fi | 
|---|
| 4850 |  | 
|---|
| 4851 | done | 
|---|
| 4852 |  | 
|---|
| 4853 |  | 
|---|
| 4854 | # checking for libGLU | 
|---|
| 4855 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
| 4856 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
| 4857 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| 4858 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4859 | else | 
|---|
| 4860 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4861 | LIBS="-lglu32  $LIBS" | 
|---|
| 4862 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4863 | /* confdefs.h.  */ | 
|---|
| 4864 | _ACEOF | 
|---|
| 4865 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4866 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4867 | /* end confdefs.h.  */ | 
|---|
| 4868 |  | 
|---|
| 4869 |  | 
|---|
| 4870 | int | 
|---|
| 4871 | main () | 
|---|
| 4872 | { | 
|---|
| 4873 | main (); | 
|---|
| 4874 |   ; | 
|---|
| 4875 |   return 0; | 
|---|
| 4876 | } | 
|---|
| 4877 | _ACEOF | 
|---|
| 4878 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4879 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4880 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4881 |   ac_status=$? | 
|---|
| 4882 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4883 |   rm -f conftest.er1 | 
|---|
| 4884 |   cat conftest.err >&5 | 
|---|
| 4885 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4886 |   (exit $ac_status); } && | 
|---|
| 4887 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4888 |                          || test ! -s conftest.err' | 
|---|
| 4889 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4890 |   (eval $ac_try) 2>&5 | 
|---|
| 4891 |   ac_status=$? | 
|---|
| 4892 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4893 |   (exit $ac_status); }; } && | 
|---|
| 4894 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4895 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4896 |   (eval $ac_try) 2>&5 | 
|---|
| 4897 |   ac_status=$? | 
|---|
| 4898 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4899 |   (exit $ac_status); }; }; then | 
|---|
| 4900 |   ac_cv_lib_glu32_main=yes | 
|---|
| 4901 | else | 
|---|
| 4902 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4903 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4904 |  | 
|---|
| 4905 | ac_cv_lib_glu32_main=no | 
|---|
| 4906 | fi | 
|---|
| 4907 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4908 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4909 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4910 | fi | 
|---|
| 4911 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
| 4912 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
| 4913 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
| 4914 |   FOUND_GLU=yes; LIBS="$LIBS -lGLU32" | 
|---|
| 4915 | fi | 
|---|
| 4916 |  | 
|---|
| 4917 |     if test x$FOUND_GLU != xyes ; then | 
|---|
| 4918 |          echo "------------------" | 
|---|
| 4919 |          echo "GLU library not found." | 
|---|
| 4920 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 4921 |          echo "------------------" | 
|---|
| 4922 |          exit -1 | 
|---|
| 4923 |     fi | 
|---|
| 4924 |  | 
|---|
| 4925 | # checking glew header | 
|---|
| 4926 |  | 
|---|
| 4927 | for ac_header in GL/glew.h | 
|---|
| 4928 | do | 
|---|
| 4929 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4930 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4931 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4932 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4933 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4934 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4935 | fi | 
|---|
| 4936 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4937 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4938 | else | 
|---|
| 4939 |   # Is the header compilable? | 
|---|
| 4940 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4941 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4942 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4943 | /* confdefs.h.  */ | 
|---|
| 4944 | _ACEOF | 
|---|
| 4945 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4946 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4947 | /* end confdefs.h.  */ | 
|---|
| 4948 | $ac_includes_default | 
|---|
| 4949 | #include <$ac_header> | 
|---|
| 4950 | _ACEOF | 
|---|
| 4951 | rm -f conftest.$ac_objext | 
|---|
| 4952 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4953 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4954 |   ac_status=$? | 
|---|
| 4955 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4956 |   rm -f conftest.er1 | 
|---|
| 4957 |   cat conftest.err >&5 | 
|---|
| 4958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4959 |   (exit $ac_status); } && | 
|---|
| 4960 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4961 |                          || test ! -s conftest.err' | 
|---|
| 4962 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4963 |   (eval $ac_try) 2>&5 | 
|---|
| 4964 |   ac_status=$? | 
|---|
| 4965 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4966 |   (exit $ac_status); }; } && | 
|---|
| 4967 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4968 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4969 |   (eval $ac_try) 2>&5 | 
|---|
| 4970 |   ac_status=$? | 
|---|
| 4971 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4972 |   (exit $ac_status); }; }; then | 
|---|
| 4973 |   ac_header_compiler=yes | 
|---|
| 4974 | else | 
|---|
| 4975 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4976 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4977 |  | 
|---|
| 4978 | ac_header_compiler=no | 
|---|
| 4979 | fi | 
|---|
| 4980 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4981 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4982 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4983 |  | 
|---|
| 4984 | # Is the header present? | 
|---|
| 4985 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4986 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4987 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4988 | /* confdefs.h.  */ | 
|---|
| 4989 | _ACEOF | 
|---|
| 4990 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4991 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4992 | /* end confdefs.h.  */ | 
|---|
| 4993 | #include <$ac_header> | 
|---|
| 4994 | _ACEOF | 
|---|
| 4995 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4996 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4997 |   ac_status=$? | 
|---|
| 4998 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4999 |   rm -f conftest.er1 | 
|---|
| 5000 |   cat conftest.err >&5 | 
|---|
| 5001 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5002 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5003 |   if test -s conftest.err; then | 
|---|
| 5004 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5005 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5006 |   else | 
|---|
| 5007 |     ac_cpp_err= | 
|---|
| 5008 |   fi | 
|---|
| 5009 | else | 
|---|
| 5010 |   ac_cpp_err=yes | 
|---|
| 5011 | fi | 
|---|
| 5012 | if test -z "$ac_cpp_err"; then | 
|---|
| 5013 |   ac_header_preproc=yes | 
|---|
| 5014 | else | 
|---|
| 5015 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5016 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5017 |  | 
|---|
| 5018 |   ac_header_preproc=no | 
|---|
| 5019 | fi | 
|---|
| 5020 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5021 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5022 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5023 |  | 
|---|
| 5024 | # So?  What about this header? | 
|---|
| 5025 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5026 |   yes:no: ) | 
|---|
| 5027 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5028 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5029 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5030 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5031 |     ac_header_preproc=yes | 
|---|
| 5032 |     ;; | 
|---|
| 5033 |   no:yes:* ) | 
|---|
| 5034 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5035 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5036 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5037 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5038 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5039 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5040 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5041 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5042 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5043 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5044 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5045 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5046 |     ( | 
|---|
| 5047 |       cat <<\_ASBOX | 
|---|
| 5048 | ## ---------------------------------------------- ## | 
|---|
| 5049 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5050 | ## ---------------------------------------------- ## | 
|---|
| 5051 | _ASBOX | 
|---|
| 5052 |     ) | | 
|---|
| 5053 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5054 |     ;; | 
|---|
| 5055 | esac | 
|---|
| 5056 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5057 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5058 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5059 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5060 | else | 
|---|
| 5061 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5062 | fi | 
|---|
| 5063 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5064 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5065 |  | 
|---|
| 5066 | fi | 
|---|
| 5067 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5068 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5069 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5070 | _ACEOF | 
|---|
| 5071 |  | 
|---|
| 5072 | else | 
|---|
| 5073 |   { { echo "$as_me:$LINENO: error: cannot find opengl extension wrangler headers" >&5 | 
|---|
| 5074 | echo "$as_me: error: cannot find opengl extension wrangler headers" >&2;} | 
|---|
| 5075 |    { (exit 1); exit 1; }; } | 
|---|
| 5076 | fi | 
|---|
| 5077 |  | 
|---|
| 5078 | done | 
|---|
| 5079 |  | 
|---|
| 5080 | #   checking for Windows glew library | 
|---|
| 5081 |     echo "$as_me:$LINENO: checking for main in -lglew32" >&5 | 
|---|
| 5082 | echo $ECHO_N "checking for main in -lglew32... $ECHO_C" >&6 | 
|---|
| 5083 | if test "${ac_cv_lib_glew32_main+set}" = set; then | 
|---|
| 5084 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5085 | else | 
|---|
| 5086 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5087 | LIBS="-lglew32  $LIBS" | 
|---|
| 5088 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5089 | /* confdefs.h.  */ | 
|---|
| 5090 | _ACEOF | 
|---|
| 5091 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5092 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5093 | /* end confdefs.h.  */ | 
|---|
| 5094 |  | 
|---|
| 5095 |  | 
|---|
| 5096 | int | 
|---|
| 5097 | main () | 
|---|
| 5098 | { | 
|---|
| 5099 | main (); | 
|---|
| 5100 |   ; | 
|---|
| 5101 |   return 0; | 
|---|
| 5102 | } | 
|---|
| 5103 | _ACEOF | 
|---|
| 5104 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5105 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5106 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5107 |   ac_status=$? | 
|---|
| 5108 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5109 |   rm -f conftest.er1 | 
|---|
| 5110 |   cat conftest.err >&5 | 
|---|
| 5111 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5112 |   (exit $ac_status); } && | 
|---|
| 5113 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5114 |                          || test ! -s conftest.err' | 
|---|
| 5115 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5116 |   (eval $ac_try) 2>&5 | 
|---|
| 5117 |   ac_status=$? | 
|---|
| 5118 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5119 |   (exit $ac_status); }; } && | 
|---|
| 5120 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5121 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5122 |   (eval $ac_try) 2>&5 | 
|---|
| 5123 |   ac_status=$? | 
|---|
| 5124 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5125 |   (exit $ac_status); }; }; then | 
|---|
| 5126 |   ac_cv_lib_glew32_main=yes | 
|---|
| 5127 | else | 
|---|
| 5128 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5129 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5130 |  | 
|---|
| 5131 | ac_cv_lib_glew32_main=no | 
|---|
| 5132 | fi | 
|---|
| 5133 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5134 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5135 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5136 | fi | 
|---|
| 5137 | echo "$as_me:$LINENO: result: $ac_cv_lib_glew32_main" >&5 | 
|---|
| 5138 | echo "${ECHO_T}$ac_cv_lib_glew32_main" >&6 | 
|---|
| 5139 | if test $ac_cv_lib_glew32_main = yes; then | 
|---|
| 5140 |   FOUND_GLEW=yes; LIBS="$LIBS -lglew32" | 
|---|
| 5141 | fi | 
|---|
| 5142 |  | 
|---|
| 5143 |     if test x$FOUND_GLEW != xyes ; then | 
|---|
| 5144 |          echo "------------------" | 
|---|
| 5145 |          echo "opengl extension wrangler not found." | 
|---|
| 5146 |          echo "please install the glew package which can be found at http://glew.sourceforge.net" | 
|---|
| 5147 |          echo "------------------" | 
|---|
| 5148 |          exit -1 | 
|---|
| 5149 |     fi | 
|---|
| 5150 |  | 
|---|
| 5151 | #--------# | 
|---|
| 5152 | # openAL # | 
|---|
| 5153 | #--------# | 
|---|
| 5154 | # checking for openAL-headers | 
|---|
| 5155 |  | 
|---|
| 5156 | for ac_header in AL/al.h | 
|---|
| 5157 | do | 
|---|
| 5158 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5159 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5160 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5161 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5162 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5163 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5164 | fi | 
|---|
| 5165 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5166 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5167 | else | 
|---|
| 5168 |   # Is the header compilable? | 
|---|
| 5169 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5170 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5171 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5172 | /* confdefs.h.  */ | 
|---|
| 5173 | _ACEOF | 
|---|
| 5174 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5175 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5176 | /* end confdefs.h.  */ | 
|---|
| 5177 | $ac_includes_default | 
|---|
| 5178 | #include <$ac_header> | 
|---|
| 5179 | _ACEOF | 
|---|
| 5180 | rm -f conftest.$ac_objext | 
|---|
| 5181 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5182 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5183 |   ac_status=$? | 
|---|
| 5184 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5185 |   rm -f conftest.er1 | 
|---|
| 5186 |   cat conftest.err >&5 | 
|---|
| 5187 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5188 |   (exit $ac_status); } && | 
|---|
| 5189 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5190 |                          || test ! -s conftest.err' | 
|---|
| 5191 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5192 |   (eval $ac_try) 2>&5 | 
|---|
| 5193 |   ac_status=$? | 
|---|
| 5194 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5195 |   (exit $ac_status); }; } && | 
|---|
| 5196 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5197 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5198 |   (eval $ac_try) 2>&5 | 
|---|
| 5199 |   ac_status=$? | 
|---|
| 5200 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5201 |   (exit $ac_status); }; }; then | 
|---|
| 5202 |   ac_header_compiler=yes | 
|---|
| 5203 | else | 
|---|
| 5204 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5205 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5206 |  | 
|---|
| 5207 | ac_header_compiler=no | 
|---|
| 5208 | fi | 
|---|
| 5209 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5210 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5211 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5212 |  | 
|---|
| 5213 | # Is the header present? | 
|---|
| 5214 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5215 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5216 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5217 | /* confdefs.h.  */ | 
|---|
| 5218 | _ACEOF | 
|---|
| 5219 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5220 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5221 | /* end confdefs.h.  */ | 
|---|
| 5222 | #include <$ac_header> | 
|---|
| 5223 | _ACEOF | 
|---|
| 5224 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5225 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5226 |   ac_status=$? | 
|---|
| 5227 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5228 |   rm -f conftest.er1 | 
|---|
| 5229 |   cat conftest.err >&5 | 
|---|
| 5230 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5231 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5232 |   if test -s conftest.err; then | 
|---|
| 5233 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5234 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5235 |   else | 
|---|
| 5236 |     ac_cpp_err= | 
|---|
| 5237 |   fi | 
|---|
| 5238 | else | 
|---|
| 5239 |   ac_cpp_err=yes | 
|---|
| 5240 | fi | 
|---|
| 5241 | if test -z "$ac_cpp_err"; then | 
|---|
| 5242 |   ac_header_preproc=yes | 
|---|
| 5243 | else | 
|---|
| 5244 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5245 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5246 |  | 
|---|
| 5247 |   ac_header_preproc=no | 
|---|
| 5248 | fi | 
|---|
| 5249 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5250 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5251 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5252 |  | 
|---|
| 5253 | # So?  What about this header? | 
|---|
| 5254 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5255 |   yes:no: ) | 
|---|
| 5256 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5257 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5258 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5259 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5260 |     ac_header_preproc=yes | 
|---|
| 5261 |     ;; | 
|---|
| 5262 |   no:yes:* ) | 
|---|
| 5263 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5264 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5265 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5266 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5267 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5268 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5269 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5270 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5271 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5272 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5273 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5274 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5275 |     ( | 
|---|
| 5276 |       cat <<\_ASBOX | 
|---|
| 5277 | ## ---------------------------------------------- ## | 
|---|
| 5278 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5279 | ## ---------------------------------------------- ## | 
|---|
| 5280 | _ASBOX | 
|---|
| 5281 |     ) | | 
|---|
| 5282 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5283 |     ;; | 
|---|
| 5284 | esac | 
|---|
| 5285 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5286 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5287 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5288 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5289 | else | 
|---|
| 5290 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5291 | fi | 
|---|
| 5292 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5293 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5294 |  | 
|---|
| 5295 | fi | 
|---|
| 5296 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5297 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5298 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5299 | _ACEOF | 
|---|
| 5300 |  | 
|---|
| 5301 | else | 
|---|
| 5302 |   { { echo "$as_me:$LINENO: error: cannot find openAL header." >&5 | 
|---|
| 5303 | echo "$as_me: error: cannot find openAL header." >&2;} | 
|---|
| 5304 |    { (exit 1); exit 1; }; } | 
|---|
| 5305 | fi | 
|---|
| 5306 |  | 
|---|
| 5307 | done | 
|---|
| 5308 |  | 
|---|
| 5309 | # checking for openAL-lib | 
|---|
| 5310 |   echo "$as_me:$LINENO: checking for main in -lOpenAL32" >&5 | 
|---|
| 5311 | echo $ECHO_N "checking for main in -lOpenAL32... $ECHO_C" >&6 | 
|---|
| 5312 | if test "${ac_cv_lib_OpenAL32_main+set}" = set; then | 
|---|
| 5313 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5314 | else | 
|---|
| 5315 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5316 | LIBS="-lOpenAL32  $LIBS" | 
|---|
| 5317 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5318 | /* confdefs.h.  */ | 
|---|
| 5319 | _ACEOF | 
|---|
| 5320 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5321 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5322 | /* end confdefs.h.  */ | 
|---|
| 5323 |  | 
|---|
| 5324 |  | 
|---|
| 5325 | int | 
|---|
| 5326 | main () | 
|---|
| 5327 | { | 
|---|
| 5328 | main (); | 
|---|
| 5329 |   ; | 
|---|
| 5330 |   return 0; | 
|---|
| 5331 | } | 
|---|
| 5332 | _ACEOF | 
|---|
| 5333 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5334 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5335 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5336 |   ac_status=$? | 
|---|
| 5337 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5338 |   rm -f conftest.er1 | 
|---|
| 5339 |   cat conftest.err >&5 | 
|---|
| 5340 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5341 |   (exit $ac_status); } && | 
|---|
| 5342 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5343 |                          || test ! -s conftest.err' | 
|---|
| 5344 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5345 |   (eval $ac_try) 2>&5 | 
|---|
| 5346 |   ac_status=$? | 
|---|
| 5347 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5348 |   (exit $ac_status); }; } && | 
|---|
| 5349 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5350 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5351 |   (eval $ac_try) 2>&5 | 
|---|
| 5352 |   ac_status=$? | 
|---|
| 5353 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5354 |   (exit $ac_status); }; }; then | 
|---|
| 5355 |   ac_cv_lib_OpenAL32_main=yes | 
|---|
| 5356 | else | 
|---|
| 5357 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5358 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5359 |  | 
|---|
| 5360 | ac_cv_lib_OpenAL32_main=no | 
|---|
| 5361 | fi | 
|---|
| 5362 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5363 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5364 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5365 | fi | 
|---|
| 5366 | echo "$as_me:$LINENO: result: $ac_cv_lib_OpenAL32_main" >&5 | 
|---|
| 5367 | echo "${ECHO_T}$ac_cv_lib_OpenAL32_main" >&6 | 
|---|
| 5368 | if test $ac_cv_lib_OpenAL32_main = yes; then | 
|---|
| 5369 |   FOUND_OPENAL=yes; LIBS="$LIBS -lOpenAL32" | 
|---|
| 5370 | fi | 
|---|
| 5371 |  | 
|---|
| 5372 |   echo "$as_me:$LINENO: checking for main in -lALut" >&5 | 
|---|
| 5373 | echo $ECHO_N "checking for main in -lALut... $ECHO_C" >&6 | 
|---|
| 5374 | if test "${ac_cv_lib_ALut_main+set}" = set; then | 
|---|
| 5375 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5376 | else | 
|---|
| 5377 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5378 | LIBS="-lALut  $LIBS" | 
|---|
| 5379 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5380 | /* confdefs.h.  */ | 
|---|
| 5381 | _ACEOF | 
|---|
| 5382 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5383 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5384 | /* end confdefs.h.  */ | 
|---|
| 5385 |  | 
|---|
| 5386 |  | 
|---|
| 5387 | int | 
|---|
| 5388 | main () | 
|---|
| 5389 | { | 
|---|
| 5390 | main (); | 
|---|
| 5391 |   ; | 
|---|
| 5392 |   return 0; | 
|---|
| 5393 | } | 
|---|
| 5394 | _ACEOF | 
|---|
| 5395 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5396 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5397 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5398 |   ac_status=$? | 
|---|
| 5399 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5400 |   rm -f conftest.er1 | 
|---|
| 5401 |   cat conftest.err >&5 | 
|---|
| 5402 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5403 |   (exit $ac_status); } && | 
|---|
| 5404 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5405 |                          || test ! -s conftest.err' | 
|---|
| 5406 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5407 |   (eval $ac_try) 2>&5 | 
|---|
| 5408 |   ac_status=$? | 
|---|
| 5409 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5410 |   (exit $ac_status); }; } && | 
|---|
| 5411 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5412 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5413 |   (eval $ac_try) 2>&5 | 
|---|
| 5414 |   ac_status=$? | 
|---|
| 5415 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5416 |   (exit $ac_status); }; }; then | 
|---|
| 5417 |   ac_cv_lib_ALut_main=yes | 
|---|
| 5418 | else | 
|---|
| 5419 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5420 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5421 |  | 
|---|
| 5422 | ac_cv_lib_ALut_main=no | 
|---|
| 5423 | fi | 
|---|
| 5424 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5425 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5426 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5427 | fi | 
|---|
| 5428 | echo "$as_me:$LINENO: result: $ac_cv_lib_ALut_main" >&5 | 
|---|
| 5429 | echo "${ECHO_T}$ac_cv_lib_ALut_main" >&6 | 
|---|
| 5430 | if test $ac_cv_lib_ALut_main = yes; then | 
|---|
| 5431 |   FOUND_ALUT=yes; LIBS="$LIBS -lALut" | 
|---|
| 5432 | fi | 
|---|
| 5433 |  | 
|---|
| 5434 |      if test x$FOUND_OPENAL != xyes ; then | 
|---|
| 5435 |         echo "------------------" | 
|---|
| 5436 |         echo "openal library not found." | 
|---|
| 5437 |         echo "please install the openal library, which can be found at http://www.openal.org" | 
|---|
| 5438 |         echo "------------------" | 
|---|
| 5439 |         exit -1 | 
|---|
| 5440 |      fi | 
|---|
| 5441 |  | 
|---|
| 5442 |  | 
|---|
| 5443 | #-----------# | 
|---|
| 5444 | # SDL(win) # | 
|---|
| 5445 | #-----------# | 
|---|
| 5446 | # checking for SDL-headers | 
|---|
| 5447 |  | 
|---|
| 5448 | for ac_header in SDL/SDL.h | 
|---|
| 5449 | do | 
|---|
| 5450 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5451 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5452 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5453 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5454 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5455 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5456 | fi | 
|---|
| 5457 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5458 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5459 | else | 
|---|
| 5460 |   # Is the header compilable? | 
|---|
| 5461 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5462 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5463 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5464 | /* confdefs.h.  */ | 
|---|
| 5465 | _ACEOF | 
|---|
| 5466 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5467 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5468 | /* end confdefs.h.  */ | 
|---|
| 5469 | $ac_includes_default | 
|---|
| 5470 | #include <$ac_header> | 
|---|
| 5471 | _ACEOF | 
|---|
| 5472 | rm -f conftest.$ac_objext | 
|---|
| 5473 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5474 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5475 |   ac_status=$? | 
|---|
| 5476 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5477 |   rm -f conftest.er1 | 
|---|
| 5478 |   cat conftest.err >&5 | 
|---|
| 5479 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5480 |   (exit $ac_status); } && | 
|---|
| 5481 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5482 |                          || test ! -s conftest.err' | 
|---|
| 5483 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5484 |   (eval $ac_try) 2>&5 | 
|---|
| 5485 |   ac_status=$? | 
|---|
| 5486 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5487 |   (exit $ac_status); }; } && | 
|---|
| 5488 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5489 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5490 |   (eval $ac_try) 2>&5 | 
|---|
| 5491 |   ac_status=$? | 
|---|
| 5492 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5493 |   (exit $ac_status); }; }; then | 
|---|
| 5494 |   ac_header_compiler=yes | 
|---|
| 5495 | else | 
|---|
| 5496 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5497 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5498 |  | 
|---|
| 5499 | ac_header_compiler=no | 
|---|
| 5500 | fi | 
|---|
| 5501 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5502 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5503 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5504 |  | 
|---|
| 5505 | # Is the header present? | 
|---|
| 5506 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5507 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5508 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5509 | /* confdefs.h.  */ | 
|---|
| 5510 | _ACEOF | 
|---|
| 5511 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5512 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5513 | /* end confdefs.h.  */ | 
|---|
| 5514 | #include <$ac_header> | 
|---|
| 5515 | _ACEOF | 
|---|
| 5516 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5517 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5518 |   ac_status=$? | 
|---|
| 5519 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5520 |   rm -f conftest.er1 | 
|---|
| 5521 |   cat conftest.err >&5 | 
|---|
| 5522 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5523 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5524 |   if test -s conftest.err; then | 
|---|
| 5525 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5526 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5527 |   else | 
|---|
| 5528 |     ac_cpp_err= | 
|---|
| 5529 |   fi | 
|---|
| 5530 | else | 
|---|
| 5531 |   ac_cpp_err=yes | 
|---|
| 5532 | fi | 
|---|
| 5533 | if test -z "$ac_cpp_err"; then | 
|---|
| 5534 |   ac_header_preproc=yes | 
|---|
| 5535 | else | 
|---|
| 5536 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5537 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5538 |  | 
|---|
| 5539 |   ac_header_preproc=no | 
|---|
| 5540 | fi | 
|---|
| 5541 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5542 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5543 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5544 |  | 
|---|
| 5545 | # So?  What about this header? | 
|---|
| 5546 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5547 |   yes:no: ) | 
|---|
| 5548 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5549 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5550 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5551 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5552 |     ac_header_preproc=yes | 
|---|
| 5553 |     ;; | 
|---|
| 5554 |   no:yes:* ) | 
|---|
| 5555 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5556 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5557 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5558 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5559 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5560 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5561 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5562 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5563 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5564 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5565 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5566 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5567 |     ( | 
|---|
| 5568 |       cat <<\_ASBOX | 
|---|
| 5569 | ## ---------------------------------------------- ## | 
|---|
| 5570 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5571 | ## ---------------------------------------------- ## | 
|---|
| 5572 | _ASBOX | 
|---|
| 5573 |     ) | | 
|---|
| 5574 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5575 |     ;; | 
|---|
| 5576 | esac | 
|---|
| 5577 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5579 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5580 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5581 | else | 
|---|
| 5582 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5583 | fi | 
|---|
| 5584 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5585 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5586 |  | 
|---|
| 5587 | fi | 
|---|
| 5588 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5589 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5590 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5591 | _ACEOF | 
|---|
| 5592 |  | 
|---|
| 5593 | else | 
|---|
| 5594 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 5595 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 5596 |    { (exit 1); exit 1; }; } | 
|---|
| 5597 | fi | 
|---|
| 5598 |  | 
|---|
| 5599 | done | 
|---|
| 5600 |  | 
|---|
| 5601 |  | 
|---|
| 5602 | #checking for libSDL | 
|---|
| 5603 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
| 5604 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
| 5605 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
| 5606 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5607 | else | 
|---|
| 5608 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5609 | LIBS="-lsdlmain  $LIBS" | 
|---|
| 5610 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5611 | /* confdefs.h.  */ | 
|---|
| 5612 | _ACEOF | 
|---|
| 5613 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5614 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5615 | /* end confdefs.h.  */ | 
|---|
| 5616 |  | 
|---|
| 5617 |  | 
|---|
| 5618 | int | 
|---|
| 5619 | main () | 
|---|
| 5620 | { | 
|---|
| 5621 | main (); | 
|---|
| 5622 |   ; | 
|---|
| 5623 |   return 0; | 
|---|
| 5624 | } | 
|---|
| 5625 | _ACEOF | 
|---|
| 5626 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5627 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5628 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5629 |   ac_status=$? | 
|---|
| 5630 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5631 |   rm -f conftest.er1 | 
|---|
| 5632 |   cat conftest.err >&5 | 
|---|
| 5633 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5634 |   (exit $ac_status); } && | 
|---|
| 5635 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5636 |                          || test ! -s conftest.err' | 
|---|
| 5637 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5638 |   (eval $ac_try) 2>&5 | 
|---|
| 5639 |   ac_status=$? | 
|---|
| 5640 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5641 |   (exit $ac_status); }; } && | 
|---|
| 5642 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5643 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5644 |   (eval $ac_try) 2>&5 | 
|---|
| 5645 |   ac_status=$? | 
|---|
| 5646 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5647 |   (exit $ac_status); }; }; then | 
|---|
| 5648 |   ac_cv_lib_sdlmain_main=yes | 
|---|
| 5649 | else | 
|---|
| 5650 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5651 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5652 |  | 
|---|
| 5653 | ac_cv_lib_sdlmain_main=no | 
|---|
| 5654 | fi | 
|---|
| 5655 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5656 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5657 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5658 | fi | 
|---|
| 5659 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
| 5660 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
| 5661 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
| 5662 |   FOUND_sdlmain=yes; LIBS="$LIBS -lsdlmain" | 
|---|
| 5663 | fi | 
|---|
| 5664 |  | 
|---|
| 5665 |     if test x$FOUND_sdlmain != xyes ; then | 
|---|
| 5666 |         echo "------------------" | 
|---|
| 5667 |         echo "SDL library not found." | 
|---|
| 5668 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5669 |         echo "------------------" | 
|---|
| 5670 |         exit 1 | 
|---|
| 5671 |     fi | 
|---|
| 5672 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
| 5673 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
| 5674 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
| 5675 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5676 | else | 
|---|
| 5677 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5678 | LIBS="-lsdl  $LIBS" | 
|---|
| 5679 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5680 | /* confdefs.h.  */ | 
|---|
| 5681 | _ACEOF | 
|---|
| 5682 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5683 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5684 | /* end confdefs.h.  */ | 
|---|
| 5685 |  | 
|---|
| 5686 |  | 
|---|
| 5687 | int | 
|---|
| 5688 | main () | 
|---|
| 5689 | { | 
|---|
| 5690 | main (); | 
|---|
| 5691 |   ; | 
|---|
| 5692 |   return 0; | 
|---|
| 5693 | } | 
|---|
| 5694 | _ACEOF | 
|---|
| 5695 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5696 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5697 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5698 |   ac_status=$? | 
|---|
| 5699 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5700 |   rm -f conftest.er1 | 
|---|
| 5701 |   cat conftest.err >&5 | 
|---|
| 5702 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5703 |   (exit $ac_status); } && | 
|---|
| 5704 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5705 |                          || test ! -s conftest.err' | 
|---|
| 5706 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5707 |   (eval $ac_try) 2>&5 | 
|---|
| 5708 |   ac_status=$? | 
|---|
| 5709 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5710 |   (exit $ac_status); }; } && | 
|---|
| 5711 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5712 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5713 |   (eval $ac_try) 2>&5 | 
|---|
| 5714 |   ac_status=$? | 
|---|
| 5715 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5716 |   (exit $ac_status); }; }; then | 
|---|
| 5717 |   ac_cv_lib_sdl_main=yes | 
|---|
| 5718 | else | 
|---|
| 5719 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5720 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5721 |  | 
|---|
| 5722 | ac_cv_lib_sdl_main=no | 
|---|
| 5723 | fi | 
|---|
| 5724 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5725 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5726 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5727 | fi | 
|---|
| 5728 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
| 5729 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
| 5730 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
| 5731 |   FOUND_SDL=yes; LIBS="$LIBS -lsdl" | 
|---|
| 5732 | fi | 
|---|
| 5733 |  | 
|---|
| 5734 |     if test x$FOUND_SDL != xyes ; then | 
|---|
| 5735 |         echo "------------------" | 
|---|
| 5736 |         echo "SDL library not found." | 
|---|
| 5737 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5738 |         echo "------------------" | 
|---|
| 5739 |         exit -1 | 
|---|
| 5740 |     fi | 
|---|
| 5741 |  | 
|---|
| 5742 |   ;; | 
|---|
| 5743 |  | 
|---|
| 5744 | ######### | 
|---|
| 5745 | #-------# | 
|---|
| 5746 | # LINUX # | 
|---|
| 5747 | #-------# | 
|---|
| 5748 | ######### | 
|---|
| 5749 |  *-*-linux*) | 
|---|
| 5750 | echo "Linux detected" | 
|---|
| 5751 |  | 
|---|
| 5752 |  Linux="yes" | 
|---|
| 5753 |  | 
|---|
| 5754 | ##CPPFLAGS="-I/usr/include $CPPFLAGS" | 
|---|
| 5755 | ##LDFLAGS="-L/usr/lib $LDFLAGS" | 
|---|
| 5756 | if test x$SHARED_LIB_PATH != xno; then | 
|---|
| 5757 |         echo "setting new LDFLAGS with $SHARED_LIB_PATH" | 
|---|
| 5758 |         LDFLAGS="-Wl,-rpath,$SHARED_LIB_PATH -L$SHARED_LIB_PATH $LDFLAGS" | 
|---|
| 5759 | fi | 
|---|
| 5760 |  | 
|---|
| 5761 | #--------# | 
|---|
| 5762 | # openGL # | 
|---|
| 5763 | #--------# | 
|---|
| 5764 | # checking gl header | 
|---|
| 5765 |  | 
|---|
| 5766 | for ac_header in GL/gl.h | 
|---|
| 5767 | do | 
|---|
| 5768 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5769 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5770 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5771 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5772 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5773 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5774 | fi | 
|---|
| 5775 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5776 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5777 | else | 
|---|
| 5778 |   # Is the header compilable? | 
|---|
| 5779 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5780 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5781 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5782 | /* confdefs.h.  */ | 
|---|
| 5783 | _ACEOF | 
|---|
| 5784 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5785 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5786 | /* end confdefs.h.  */ | 
|---|
| 5787 | $ac_includes_default | 
|---|
| 5788 | #include <$ac_header> | 
|---|
| 5789 | _ACEOF | 
|---|
| 5790 | rm -f conftest.$ac_objext | 
|---|
| 5791 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5792 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5793 |   ac_status=$? | 
|---|
| 5794 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5795 |   rm -f conftest.er1 | 
|---|
| 5796 |   cat conftest.err >&5 | 
|---|
| 5797 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5798 |   (exit $ac_status); } && | 
|---|
| 5799 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5800 |                          || test ! -s conftest.err' | 
|---|
| 5801 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5802 |   (eval $ac_try) 2>&5 | 
|---|
| 5803 |   ac_status=$? | 
|---|
| 5804 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5805 |   (exit $ac_status); }; } && | 
|---|
| 5806 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5807 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5808 |   (eval $ac_try) 2>&5 | 
|---|
| 5809 |   ac_status=$? | 
|---|
| 5810 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5811 |   (exit $ac_status); }; }; then | 
|---|
| 5812 |   ac_header_compiler=yes | 
|---|
| 5813 | else | 
|---|
| 5814 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5815 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5816 |  | 
|---|
| 5817 | ac_header_compiler=no | 
|---|
| 5818 | fi | 
|---|
| 5819 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5820 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5821 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5822 |  | 
|---|
| 5823 | # Is the header present? | 
|---|
| 5824 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5825 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5826 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5827 | /* confdefs.h.  */ | 
|---|
| 5828 | _ACEOF | 
|---|
| 5829 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5830 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5831 | /* end confdefs.h.  */ | 
|---|
| 5832 | #include <$ac_header> | 
|---|
| 5833 | _ACEOF | 
|---|
| 5834 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5835 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5836 |   ac_status=$? | 
|---|
| 5837 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5838 |   rm -f conftest.er1 | 
|---|
| 5839 |   cat conftest.err >&5 | 
|---|
| 5840 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5841 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5842 |   if test -s conftest.err; then | 
|---|
| 5843 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5844 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5845 |   else | 
|---|
| 5846 |     ac_cpp_err= | 
|---|
| 5847 |   fi | 
|---|
| 5848 | else | 
|---|
| 5849 |   ac_cpp_err=yes | 
|---|
| 5850 | fi | 
|---|
| 5851 | if test -z "$ac_cpp_err"; then | 
|---|
| 5852 |   ac_header_preproc=yes | 
|---|
| 5853 | else | 
|---|
| 5854 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5855 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5856 |  | 
|---|
| 5857 |   ac_header_preproc=no | 
|---|
| 5858 | fi | 
|---|
| 5859 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5860 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5861 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5862 |  | 
|---|
| 5863 | # So?  What about this header? | 
|---|
| 5864 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5865 |   yes:no: ) | 
|---|
| 5866 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5867 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5868 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5869 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5870 |     ac_header_preproc=yes | 
|---|
| 5871 |     ;; | 
|---|
| 5872 |   no:yes:* ) | 
|---|
| 5873 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5874 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5875 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5876 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5877 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5878 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5879 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5880 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5881 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5882 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5883 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5884 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5885 |     ( | 
|---|
| 5886 |       cat <<\_ASBOX | 
|---|
| 5887 | ## ---------------------------------------------- ## | 
|---|
| 5888 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5889 | ## ---------------------------------------------- ## | 
|---|
| 5890 | _ASBOX | 
|---|
| 5891 |     ) | | 
|---|
| 5892 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5893 |     ;; | 
|---|
| 5894 | esac | 
|---|
| 5895 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5896 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5897 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5898 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5899 | else | 
|---|
| 5900 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5901 | fi | 
|---|
| 5902 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5903 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5904 |  | 
|---|
| 5905 | fi | 
|---|
| 5906 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5907 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5908 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5909 | _ACEOF | 
|---|
| 5910 |  | 
|---|
| 5911 | else | 
|---|
| 5912 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5913 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5914 |    { (exit 1); exit 1; }; } | 
|---|
| 5915 | fi | 
|---|
| 5916 |  | 
|---|
| 5917 | done | 
|---|
| 5918 |  | 
|---|
| 5919 |  | 
|---|
| 5920 | #  checking for Unix GL | 
|---|
| 5921 |    echo "$as_me:$LINENO: checking for main in -lGL" >&5 | 
|---|
| 5922 | echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 | 
|---|
| 5923 | if test "${ac_cv_lib_GL_main+set}" = set; then | 
|---|
| 5924 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5925 | else | 
|---|
| 5926 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5927 | LIBS="-lGL  $LIBS" | 
|---|
| 5928 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5929 | /* confdefs.h.  */ | 
|---|
| 5930 | _ACEOF | 
|---|
| 5931 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5932 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5933 | /* end confdefs.h.  */ | 
|---|
| 5934 |  | 
|---|
| 5935 |  | 
|---|
| 5936 | int | 
|---|
| 5937 | main () | 
|---|
| 5938 | { | 
|---|
| 5939 | main (); | 
|---|
| 5940 |   ; | 
|---|
| 5941 |   return 0; | 
|---|
| 5942 | } | 
|---|
| 5943 | _ACEOF | 
|---|
| 5944 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5945 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5946 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5947 |   ac_status=$? | 
|---|
| 5948 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5949 |   rm -f conftest.er1 | 
|---|
| 5950 |   cat conftest.err >&5 | 
|---|
| 5951 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5952 |   (exit $ac_status); } && | 
|---|
| 5953 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5954 |                          || test ! -s conftest.err' | 
|---|
| 5955 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5956 |   (eval $ac_try) 2>&5 | 
|---|
| 5957 |   ac_status=$? | 
|---|
| 5958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5959 |   (exit $ac_status); }; } && | 
|---|
| 5960 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5961 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5962 |   (eval $ac_try) 2>&5 | 
|---|
| 5963 |   ac_status=$? | 
|---|
| 5964 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5965 |   (exit $ac_status); }; }; then | 
|---|
| 5966 |   ac_cv_lib_GL_main=yes | 
|---|
| 5967 | else | 
|---|
| 5968 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5969 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5970 |  | 
|---|
| 5971 | ac_cv_lib_GL_main=no | 
|---|
| 5972 | fi | 
|---|
| 5973 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5974 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5975 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5976 | fi | 
|---|
| 5977 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 | 
|---|
| 5978 | echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 | 
|---|
| 5979 | if test $ac_cv_lib_GL_main = yes; then | 
|---|
| 5980 |   FOUND_GL=yes; LIBS="$LIBS -lGL" | 
|---|
| 5981 | fi | 
|---|
| 5982 |  | 
|---|
| 5983 |    if test x$FOUND_GL != xyes ; then | 
|---|
| 5984 |          echo "------------------" | 
|---|
| 5985 |          echo "opengl not found." | 
|---|
| 5986 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 5987 |          echo "------------------" | 
|---|
| 5988 |          exit -1 | 
|---|
| 5989 |    fi | 
|---|
| 5990 |  | 
|---|
| 5991 | # cheking for GLU-header | 
|---|
| 5992 |  | 
|---|
| 5993 | for ac_header in GL/glu.h | 
|---|
| 5994 | do | 
|---|
| 5995 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5996 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5997 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5998 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5999 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6000 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6001 | fi | 
|---|
| 6002 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6003 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6004 | else | 
|---|
| 6005 |   # Is the header compilable? | 
|---|
| 6006 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6007 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6008 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6009 | /* confdefs.h.  */ | 
|---|
| 6010 | _ACEOF | 
|---|
| 6011 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6012 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6013 | /* end confdefs.h.  */ | 
|---|
| 6014 | $ac_includes_default | 
|---|
| 6015 | #include <$ac_header> | 
|---|
| 6016 | _ACEOF | 
|---|
| 6017 | rm -f conftest.$ac_objext | 
|---|
| 6018 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6019 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6020 |   ac_status=$? | 
|---|
| 6021 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6022 |   rm -f conftest.er1 | 
|---|
| 6023 |   cat conftest.err >&5 | 
|---|
| 6024 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6025 |   (exit $ac_status); } && | 
|---|
| 6026 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6027 |                          || test ! -s conftest.err' | 
|---|
| 6028 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6029 |   (eval $ac_try) 2>&5 | 
|---|
| 6030 |   ac_status=$? | 
|---|
| 6031 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6032 |   (exit $ac_status); }; } && | 
|---|
| 6033 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6034 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6035 |   (eval $ac_try) 2>&5 | 
|---|
| 6036 |   ac_status=$? | 
|---|
| 6037 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6038 |   (exit $ac_status); }; }; then | 
|---|
| 6039 |   ac_header_compiler=yes | 
|---|
| 6040 | else | 
|---|
| 6041 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6042 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6043 |  | 
|---|
| 6044 | ac_header_compiler=no | 
|---|
| 6045 | fi | 
|---|
| 6046 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6047 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6048 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6049 |  | 
|---|
| 6050 | # Is the header present? | 
|---|
| 6051 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6052 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6053 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6054 | /* confdefs.h.  */ | 
|---|
| 6055 | _ACEOF | 
|---|
| 6056 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6057 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6058 | /* end confdefs.h.  */ | 
|---|
| 6059 | #include <$ac_header> | 
|---|
| 6060 | _ACEOF | 
|---|
| 6061 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6062 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6063 |   ac_status=$? | 
|---|
| 6064 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6065 |   rm -f conftest.er1 | 
|---|
| 6066 |   cat conftest.err >&5 | 
|---|
| 6067 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6068 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6069 |   if test -s conftest.err; then | 
|---|
| 6070 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6071 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6072 |   else | 
|---|
| 6073 |     ac_cpp_err= | 
|---|
| 6074 |   fi | 
|---|
| 6075 | else | 
|---|
| 6076 |   ac_cpp_err=yes | 
|---|
| 6077 | fi | 
|---|
| 6078 | if test -z "$ac_cpp_err"; then | 
|---|
| 6079 |   ac_header_preproc=yes | 
|---|
| 6080 | else | 
|---|
| 6081 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6082 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6083 |  | 
|---|
| 6084 |   ac_header_preproc=no | 
|---|
| 6085 | fi | 
|---|
| 6086 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6087 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6088 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6089 |  | 
|---|
| 6090 | # So?  What about this header? | 
|---|
| 6091 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6092 |   yes:no: ) | 
|---|
| 6093 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6094 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6095 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6096 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6097 |     ac_header_preproc=yes | 
|---|
| 6098 |     ;; | 
|---|
| 6099 |   no:yes:* ) | 
|---|
| 6100 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6101 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6102 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6103 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6104 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6105 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6106 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6107 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6108 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6109 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6110 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6111 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6112 |     ( | 
|---|
| 6113 |       cat <<\_ASBOX | 
|---|
| 6114 | ## ---------------------------------------------- ## | 
|---|
| 6115 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6116 | ## ---------------------------------------------- ## | 
|---|
| 6117 | _ASBOX | 
|---|
| 6118 |     ) | | 
|---|
| 6119 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6120 |     ;; | 
|---|
| 6121 | esac | 
|---|
| 6122 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6123 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6124 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6125 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6126 | else | 
|---|
| 6127 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6128 | fi | 
|---|
| 6129 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6130 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6131 |  | 
|---|
| 6132 | fi | 
|---|
| 6133 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6134 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6135 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6136 | _ACEOF | 
|---|
| 6137 |  | 
|---|
| 6138 | else | 
|---|
| 6139 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 6140 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 6141 |    { (exit 1); exit 1; }; } | 
|---|
| 6142 | fi | 
|---|
| 6143 |  | 
|---|
| 6144 | done | 
|---|
| 6145 |  | 
|---|
| 6146 |     echo "$as_me:$LINENO: checking for main in -lGLU" >&5 | 
|---|
| 6147 | echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6 | 
|---|
| 6148 | if test "${ac_cv_lib_GLU_main+set}" = set; then | 
|---|
| 6149 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6150 | else | 
|---|
| 6151 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6152 | LIBS="-lGLU  $LIBS" | 
|---|
| 6153 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6154 | /* confdefs.h.  */ | 
|---|
| 6155 | _ACEOF | 
|---|
| 6156 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6157 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6158 | /* end confdefs.h.  */ | 
|---|
| 6159 |  | 
|---|
| 6160 |  | 
|---|
| 6161 | int | 
|---|
| 6162 | main () | 
|---|
| 6163 | { | 
|---|
| 6164 | main (); | 
|---|
| 6165 |   ; | 
|---|
| 6166 |   return 0; | 
|---|
| 6167 | } | 
|---|
| 6168 | _ACEOF | 
|---|
| 6169 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6170 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6171 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6172 |   ac_status=$? | 
|---|
| 6173 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6174 |   rm -f conftest.er1 | 
|---|
| 6175 |   cat conftest.err >&5 | 
|---|
| 6176 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6177 |   (exit $ac_status); } && | 
|---|
| 6178 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6179 |                          || test ! -s conftest.err' | 
|---|
| 6180 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6181 |   (eval $ac_try) 2>&5 | 
|---|
| 6182 |   ac_status=$? | 
|---|
| 6183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6184 |   (exit $ac_status); }; } && | 
|---|
| 6185 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6186 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6187 |   (eval $ac_try) 2>&5 | 
|---|
| 6188 |   ac_status=$? | 
|---|
| 6189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6190 |   (exit $ac_status); }; }; then | 
|---|
| 6191 |   ac_cv_lib_GLU_main=yes | 
|---|
| 6192 | else | 
|---|
| 6193 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6194 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6195 |  | 
|---|
| 6196 | ac_cv_lib_GLU_main=no | 
|---|
| 6197 | fi | 
|---|
| 6198 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6199 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6200 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6201 | fi | 
|---|
| 6202 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5 | 
|---|
| 6203 | echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6 | 
|---|
| 6204 | if test $ac_cv_lib_GLU_main = yes; then | 
|---|
| 6205 |   FOUND_GLU=yes; LIBS="$LIBS -lGLU" | 
|---|
| 6206 | fi | 
|---|
| 6207 |  | 
|---|
| 6208 |     if test x$FOUND_GLU != xyes ; then | 
|---|
| 6209 |          echo "------------------" | 
|---|
| 6210 |          echo "GLU library not found." | 
|---|
| 6211 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 6212 |          echo "------------------" | 
|---|
| 6213 |          exit -1 | 
|---|
| 6214 |     fi | 
|---|
| 6215 |  | 
|---|
| 6216 | # checking for GLEW-headers | 
|---|
| 6217 |  | 
|---|
| 6218 | for ac_header in GL/glew.h | 
|---|
| 6219 | do | 
|---|
| 6220 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6221 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6222 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6223 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6224 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6225 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6226 | fi | 
|---|
| 6227 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6228 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6229 | else | 
|---|
| 6230 |   # Is the header compilable? | 
|---|
| 6231 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6232 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6233 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6234 | /* confdefs.h.  */ | 
|---|
| 6235 | _ACEOF | 
|---|
| 6236 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6237 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6238 | /* end confdefs.h.  */ | 
|---|
| 6239 | $ac_includes_default | 
|---|
| 6240 | #include <$ac_header> | 
|---|
| 6241 | _ACEOF | 
|---|
| 6242 | rm -f conftest.$ac_objext | 
|---|
| 6243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6244 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6245 |   ac_status=$? | 
|---|
| 6246 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6247 |   rm -f conftest.er1 | 
|---|
| 6248 |   cat conftest.err >&5 | 
|---|
| 6249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6250 |   (exit $ac_status); } && | 
|---|
| 6251 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6252 |                          || test ! -s conftest.err' | 
|---|
| 6253 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6254 |   (eval $ac_try) 2>&5 | 
|---|
| 6255 |   ac_status=$? | 
|---|
| 6256 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6257 |   (exit $ac_status); }; } && | 
|---|
| 6258 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6259 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6260 |   (eval $ac_try) 2>&5 | 
|---|
| 6261 |   ac_status=$? | 
|---|
| 6262 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6263 |   (exit $ac_status); }; }; then | 
|---|
| 6264 |   ac_header_compiler=yes | 
|---|
| 6265 | else | 
|---|
| 6266 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6267 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6268 |  | 
|---|
| 6269 | ac_header_compiler=no | 
|---|
| 6270 | fi | 
|---|
| 6271 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6272 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6273 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6274 |  | 
|---|
| 6275 | # Is the header present? | 
|---|
| 6276 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6277 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6278 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6279 | /* confdefs.h.  */ | 
|---|
| 6280 | _ACEOF | 
|---|
| 6281 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6282 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6283 | /* end confdefs.h.  */ | 
|---|
| 6284 | #include <$ac_header> | 
|---|
| 6285 | _ACEOF | 
|---|
| 6286 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6287 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6288 |   ac_status=$? | 
|---|
| 6289 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6290 |   rm -f conftest.er1 | 
|---|
| 6291 |   cat conftest.err >&5 | 
|---|
| 6292 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6293 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6294 |   if test -s conftest.err; then | 
|---|
| 6295 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6296 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6297 |   else | 
|---|
| 6298 |     ac_cpp_err= | 
|---|
| 6299 |   fi | 
|---|
| 6300 | else | 
|---|
| 6301 |   ac_cpp_err=yes | 
|---|
| 6302 | fi | 
|---|
| 6303 | if test -z "$ac_cpp_err"; then | 
|---|
| 6304 |   ac_header_preproc=yes | 
|---|
| 6305 | else | 
|---|
| 6306 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6307 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6308 |  | 
|---|
| 6309 |   ac_header_preproc=no | 
|---|
| 6310 | fi | 
|---|
| 6311 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6312 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6313 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6314 |  | 
|---|
| 6315 | # So?  What about this header? | 
|---|
| 6316 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6317 |   yes:no: ) | 
|---|
| 6318 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6319 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6320 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6321 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6322 |     ac_header_preproc=yes | 
|---|
| 6323 |     ;; | 
|---|
| 6324 |   no:yes:* ) | 
|---|
| 6325 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6326 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6327 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6328 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6329 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6330 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6331 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6332 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6333 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6334 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6335 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6336 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6337 |     ( | 
|---|
| 6338 |       cat <<\_ASBOX | 
|---|
| 6339 | ## ---------------------------------------------- ## | 
|---|
| 6340 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6341 | ## ---------------------------------------------- ## | 
|---|
| 6342 | _ASBOX | 
|---|
| 6343 |     ) | | 
|---|
| 6344 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6345 |     ;; | 
|---|
| 6346 | esac | 
|---|
| 6347 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6348 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6349 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6350 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6351 | else | 
|---|
| 6352 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6353 | fi | 
|---|
| 6354 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6355 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6356 |  | 
|---|
| 6357 | fi | 
|---|
| 6358 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6359 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6360 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6361 | _ACEOF | 
|---|
| 6362 |  | 
|---|
| 6363 | else | 
|---|
| 6364 |   { { echo "$as_me:$LINENO: error: cannot find glew headers" >&5 | 
|---|
| 6365 | echo "$as_me: error: cannot find glew headers" >&2;} | 
|---|
| 6366 |    { (exit 1); exit 1; }; } | 
|---|
| 6367 | fi | 
|---|
| 6368 |  | 
|---|
| 6369 | done | 
|---|
| 6370 |  | 
|---|
| 6371 | # checking for GLEW-lib | 
|---|
| 6372 |   echo "$as_me:$LINENO: checking for main in -lGLEW" >&5 | 
|---|
| 6373 | echo $ECHO_N "checking for main in -lGLEW... $ECHO_C" >&6 | 
|---|
| 6374 | if test "${ac_cv_lib_GLEW_main+set}" = set; then | 
|---|
| 6375 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6376 | else | 
|---|
| 6377 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6378 | LIBS="-lGLEW  $LIBS" | 
|---|
| 6379 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6380 | /* confdefs.h.  */ | 
|---|
| 6381 | _ACEOF | 
|---|
| 6382 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6383 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6384 | /* end confdefs.h.  */ | 
|---|
| 6385 |  | 
|---|
| 6386 |  | 
|---|
| 6387 | int | 
|---|
| 6388 | main () | 
|---|
| 6389 | { | 
|---|
| 6390 | main (); | 
|---|
| 6391 |   ; | 
|---|
| 6392 |   return 0; | 
|---|
| 6393 | } | 
|---|
| 6394 | _ACEOF | 
|---|
| 6395 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6396 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6397 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6398 |   ac_status=$? | 
|---|
| 6399 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6400 |   rm -f conftest.er1 | 
|---|
| 6401 |   cat conftest.err >&5 | 
|---|
| 6402 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6403 |   (exit $ac_status); } && | 
|---|
| 6404 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6405 |                          || test ! -s conftest.err' | 
|---|
| 6406 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6407 |   (eval $ac_try) 2>&5 | 
|---|
| 6408 |   ac_status=$? | 
|---|
| 6409 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6410 |   (exit $ac_status); }; } && | 
|---|
| 6411 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6412 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6413 |   (eval $ac_try) 2>&5 | 
|---|
| 6414 |   ac_status=$? | 
|---|
| 6415 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6416 |   (exit $ac_status); }; }; then | 
|---|
| 6417 |   ac_cv_lib_GLEW_main=yes | 
|---|
| 6418 | else | 
|---|
| 6419 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6420 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6421 |  | 
|---|
| 6422 | ac_cv_lib_GLEW_main=no | 
|---|
| 6423 | fi | 
|---|
| 6424 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6425 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6426 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6427 | fi | 
|---|
| 6428 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLEW_main" >&5 | 
|---|
| 6429 | echo "${ECHO_T}$ac_cv_lib_GLEW_main" >&6 | 
|---|
| 6430 | if test $ac_cv_lib_GLEW_main = yes; then | 
|---|
| 6431 |   FOUND_GLEW=yes; LIBS="$LIBS -lGLEW" | 
|---|
| 6432 | fi | 
|---|
| 6433 |  | 
|---|
| 6434 |    if test x$FOUND_GLEW != xyes ; then | 
|---|
| 6435 |          echo "------------------" | 
|---|
| 6436 |          echo "glew not found." | 
|---|
| 6437 |          echo "please install the glew package which can be found at http://glew.sourceforge.net" | 
|---|
| 6438 |          echo "------------------" | 
|---|
| 6439 |          exit -1 | 
|---|
| 6440 |    fi | 
|---|
| 6441 |  | 
|---|
| 6442 | #--------# | 
|---|
| 6443 | # openAL # | 
|---|
| 6444 | #--------# | 
|---|
| 6445 | # checking for openAL-headers | 
|---|
| 6446 |  | 
|---|
| 6447 | for ac_header in AL/al.h | 
|---|
| 6448 | do | 
|---|
| 6449 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6450 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6451 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6452 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6453 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6454 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6455 | fi | 
|---|
| 6456 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6457 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6458 | else | 
|---|
| 6459 |   # Is the header compilable? | 
|---|
| 6460 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6461 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6462 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6463 | /* confdefs.h.  */ | 
|---|
| 6464 | _ACEOF | 
|---|
| 6465 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6466 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6467 | /* end confdefs.h.  */ | 
|---|
| 6468 | $ac_includes_default | 
|---|
| 6469 | #include <$ac_header> | 
|---|
| 6470 | _ACEOF | 
|---|
| 6471 | rm -f conftest.$ac_objext | 
|---|
| 6472 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6473 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6474 |   ac_status=$? | 
|---|
| 6475 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6476 |   rm -f conftest.er1 | 
|---|
| 6477 |   cat conftest.err >&5 | 
|---|
| 6478 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6479 |   (exit $ac_status); } && | 
|---|
| 6480 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6481 |                          || test ! -s conftest.err' | 
|---|
| 6482 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6483 |   (eval $ac_try) 2>&5 | 
|---|
| 6484 |   ac_status=$? | 
|---|
| 6485 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6486 |   (exit $ac_status); }; } && | 
|---|
| 6487 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6488 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6489 |   (eval $ac_try) 2>&5 | 
|---|
| 6490 |   ac_status=$? | 
|---|
| 6491 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6492 |   (exit $ac_status); }; }; then | 
|---|
| 6493 |   ac_header_compiler=yes | 
|---|
| 6494 | else | 
|---|
| 6495 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6496 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6497 |  | 
|---|
| 6498 | ac_header_compiler=no | 
|---|
| 6499 | fi | 
|---|
| 6500 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6501 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6502 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6503 |  | 
|---|
| 6504 | # Is the header present? | 
|---|
| 6505 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6506 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6507 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6508 | /* confdefs.h.  */ | 
|---|
| 6509 | _ACEOF | 
|---|
| 6510 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6511 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6512 | /* end confdefs.h.  */ | 
|---|
| 6513 | #include <$ac_header> | 
|---|
| 6514 | _ACEOF | 
|---|
| 6515 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6516 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6517 |   ac_status=$? | 
|---|
| 6518 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6519 |   rm -f conftest.er1 | 
|---|
| 6520 |   cat conftest.err >&5 | 
|---|
| 6521 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6522 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6523 |   if test -s conftest.err; then | 
|---|
| 6524 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6525 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6526 |   else | 
|---|
| 6527 |     ac_cpp_err= | 
|---|
| 6528 |   fi | 
|---|
| 6529 | else | 
|---|
| 6530 |   ac_cpp_err=yes | 
|---|
| 6531 | fi | 
|---|
| 6532 | if test -z "$ac_cpp_err"; then | 
|---|
| 6533 |   ac_header_preproc=yes | 
|---|
| 6534 | else | 
|---|
| 6535 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6536 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6537 |  | 
|---|
| 6538 |   ac_header_preproc=no | 
|---|
| 6539 | fi | 
|---|
| 6540 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6541 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6542 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6543 |  | 
|---|
| 6544 | # So?  What about this header? | 
|---|
| 6545 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6546 |   yes:no: ) | 
|---|
| 6547 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6548 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6549 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6550 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6551 |     ac_header_preproc=yes | 
|---|
| 6552 |     ;; | 
|---|
| 6553 |   no:yes:* ) | 
|---|
| 6554 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6555 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6556 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6557 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6558 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6559 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6560 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6561 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6562 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6563 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6564 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6565 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6566 |     ( | 
|---|
| 6567 |       cat <<\_ASBOX | 
|---|
| 6568 | ## ---------------------------------------------- ## | 
|---|
| 6569 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6570 | ## ---------------------------------------------- ## | 
|---|
| 6571 | _ASBOX | 
|---|
| 6572 |     ) | | 
|---|
| 6573 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6574 |     ;; | 
|---|
| 6575 | esac | 
|---|
| 6576 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6577 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6578 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6579 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6580 | else | 
|---|
| 6581 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6582 | fi | 
|---|
| 6583 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6584 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6585 |  | 
|---|
| 6586 | fi | 
|---|
| 6587 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6588 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6589 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6590 | _ACEOF | 
|---|
| 6591 |  | 
|---|
| 6592 | else | 
|---|
| 6593 |   { { echo "$as_me:$LINENO: error: cannot find openAL header." >&5 | 
|---|
| 6594 | echo "$as_me: error: cannot find openAL header." >&2;} | 
|---|
| 6595 |    { (exit 1); exit 1; }; } | 
|---|
| 6596 | fi | 
|---|
| 6597 |  | 
|---|
| 6598 | done | 
|---|
| 6599 |  | 
|---|
| 6600 | # checking for openAL-lib | 
|---|
| 6601 |   echo "$as_me:$LINENO: checking for main in -lopenal" >&5 | 
|---|
| 6602 | echo $ECHO_N "checking for main in -lopenal... $ECHO_C" >&6 | 
|---|
| 6603 | if test "${ac_cv_lib_openal_main+set}" = set; then | 
|---|
| 6604 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6605 | else | 
|---|
| 6606 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6607 | LIBS="-lopenal  $LIBS" | 
|---|
| 6608 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6609 | /* confdefs.h.  */ | 
|---|
| 6610 | _ACEOF | 
|---|
| 6611 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6612 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6613 | /* end confdefs.h.  */ | 
|---|
| 6614 |  | 
|---|
| 6615 |  | 
|---|
| 6616 | int | 
|---|
| 6617 | main () | 
|---|
| 6618 | { | 
|---|
| 6619 | main (); | 
|---|
| 6620 |   ; | 
|---|
| 6621 |   return 0; | 
|---|
| 6622 | } | 
|---|
| 6623 | _ACEOF | 
|---|
| 6624 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6625 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6626 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6627 |   ac_status=$? | 
|---|
| 6628 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6629 |   rm -f conftest.er1 | 
|---|
| 6630 |   cat conftest.err >&5 | 
|---|
| 6631 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6632 |   (exit $ac_status); } && | 
|---|
| 6633 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6634 |                          || test ! -s conftest.err' | 
|---|
| 6635 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6636 |   (eval $ac_try) 2>&5 | 
|---|
| 6637 |   ac_status=$? | 
|---|
| 6638 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6639 |   (exit $ac_status); }; } && | 
|---|
| 6640 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6641 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6642 |   (eval $ac_try) 2>&5 | 
|---|
| 6643 |   ac_status=$? | 
|---|
| 6644 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6645 |   (exit $ac_status); }; }; then | 
|---|
| 6646 |   ac_cv_lib_openal_main=yes | 
|---|
| 6647 | else | 
|---|
| 6648 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6649 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6650 |  | 
|---|
| 6651 | ac_cv_lib_openal_main=no | 
|---|
| 6652 | fi | 
|---|
| 6653 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6654 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6655 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6656 | fi | 
|---|
| 6657 | echo "$as_me:$LINENO: result: $ac_cv_lib_openal_main" >&5 | 
|---|
| 6658 | echo "${ECHO_T}$ac_cv_lib_openal_main" >&6 | 
|---|
| 6659 | if test $ac_cv_lib_openal_main = yes; then | 
|---|
| 6660 |   FOUND_OPENAL=yes; LIBS="$LIBS -lopenal" | 
|---|
| 6661 | fi | 
|---|
| 6662 |  | 
|---|
| 6663 |      if test x$FOUND_OPENAL != xyes ; then | 
|---|
| 6664 |         echo "------------------" | 
|---|
| 6665 |         echo "openal library not found." | 
|---|
| 6666 |         echo "please install the openal library, which can be found at http://www.openal.org" | 
|---|
| 6667 |         echo "------------------" | 
|---|
| 6668 |         exit -1 | 
|---|
| 6669 |      fi | 
|---|
| 6670 | # checking for alut | 
|---|
| 6671 |  | 
|---|
| 6672 | for ac_header in AL/alut.h | 
|---|
| 6673 | do | 
|---|
| 6674 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6675 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6676 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6677 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6678 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6679 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6680 | fi | 
|---|
| 6681 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6682 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6683 | else | 
|---|
| 6684 |   # Is the header compilable? | 
|---|
| 6685 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6686 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6687 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6688 | /* confdefs.h.  */ | 
|---|
| 6689 | _ACEOF | 
|---|
| 6690 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6691 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6692 | /* end confdefs.h.  */ | 
|---|
| 6693 | $ac_includes_default | 
|---|
| 6694 | #include <$ac_header> | 
|---|
| 6695 | _ACEOF | 
|---|
| 6696 | rm -f conftest.$ac_objext | 
|---|
| 6697 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6698 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6699 |   ac_status=$? | 
|---|
| 6700 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6701 |   rm -f conftest.er1 | 
|---|
| 6702 |   cat conftest.err >&5 | 
|---|
| 6703 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6704 |   (exit $ac_status); } && | 
|---|
| 6705 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6706 |                          || test ! -s conftest.err' | 
|---|
| 6707 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6708 |   (eval $ac_try) 2>&5 | 
|---|
| 6709 |   ac_status=$? | 
|---|
| 6710 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6711 |   (exit $ac_status); }; } && | 
|---|
| 6712 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6713 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6714 |   (eval $ac_try) 2>&5 | 
|---|
| 6715 |   ac_status=$? | 
|---|
| 6716 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6717 |   (exit $ac_status); }; }; then | 
|---|
| 6718 |   ac_header_compiler=yes | 
|---|
| 6719 | else | 
|---|
| 6720 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6721 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6722 |  | 
|---|
| 6723 | ac_header_compiler=no | 
|---|
| 6724 | fi | 
|---|
| 6725 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6726 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6727 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6728 |  | 
|---|
| 6729 | # Is the header present? | 
|---|
| 6730 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6731 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6732 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6733 | /* confdefs.h.  */ | 
|---|
| 6734 | _ACEOF | 
|---|
| 6735 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6736 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6737 | /* end confdefs.h.  */ | 
|---|
| 6738 | #include <$ac_header> | 
|---|
| 6739 | _ACEOF | 
|---|
| 6740 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6741 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6742 |   ac_status=$? | 
|---|
| 6743 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6744 |   rm -f conftest.er1 | 
|---|
| 6745 |   cat conftest.err >&5 | 
|---|
| 6746 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6747 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6748 |   if test -s conftest.err; then | 
|---|
| 6749 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6750 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6751 |   else | 
|---|
| 6752 |     ac_cpp_err= | 
|---|
| 6753 |   fi | 
|---|
| 6754 | else | 
|---|
| 6755 |   ac_cpp_err=yes | 
|---|
| 6756 | fi | 
|---|
| 6757 | if test -z "$ac_cpp_err"; then | 
|---|
| 6758 |   ac_header_preproc=yes | 
|---|
| 6759 | else | 
|---|
| 6760 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6761 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6762 |  | 
|---|
| 6763 |   ac_header_preproc=no | 
|---|
| 6764 | fi | 
|---|
| 6765 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6766 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6767 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6768 |  | 
|---|
| 6769 | # So?  What about this header? | 
|---|
| 6770 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6771 |   yes:no: ) | 
|---|
| 6772 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6773 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6774 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6775 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6776 |     ac_header_preproc=yes | 
|---|
| 6777 |     ;; | 
|---|
| 6778 |   no:yes:* ) | 
|---|
| 6779 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6780 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6781 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6782 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6783 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6784 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6785 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6786 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6787 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6788 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6789 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6790 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6791 |     ( | 
|---|
| 6792 |       cat <<\_ASBOX | 
|---|
| 6793 | ## ---------------------------------------------- ## | 
|---|
| 6794 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6795 | ## ---------------------------------------------- ## | 
|---|
| 6796 | _ASBOX | 
|---|
| 6797 |     ) | | 
|---|
| 6798 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6799 |     ;; | 
|---|
| 6800 | esac | 
|---|
| 6801 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6802 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6803 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6804 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6805 | else | 
|---|
| 6806 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6807 | fi | 
|---|
| 6808 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6809 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6810 |  | 
|---|
| 6811 | fi | 
|---|
| 6812 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6813 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6814 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6815 | _ACEOF | 
|---|
| 6816 |  | 
|---|
| 6817 | else | 
|---|
| 6818 |   { { echo "$as_me:$LINENO: error: cannot find openAL Utility Toolkit (alut) header." >&5 | 
|---|
| 6819 | echo "$as_me: error: cannot find openAL Utility Toolkit (alut) header." >&2;} | 
|---|
| 6820 |    { (exit 1); exit 1; }; } | 
|---|
| 6821 | fi | 
|---|
| 6822 |  | 
|---|
| 6823 | done | 
|---|
| 6824 |  | 
|---|
| 6825 |   echo "$as_me:$LINENO: checking for main in -lalut" >&5 | 
|---|
| 6826 | echo $ECHO_N "checking for main in -lalut... $ECHO_C" >&6 | 
|---|
| 6827 | if test "${ac_cv_lib_alut_main+set}" = set; then | 
|---|
| 6828 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6829 | else | 
|---|
| 6830 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6831 | LIBS="-lalut  $LIBS" | 
|---|
| 6832 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6833 | /* confdefs.h.  */ | 
|---|
| 6834 | _ACEOF | 
|---|
| 6835 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6836 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6837 | /* end confdefs.h.  */ | 
|---|
| 6838 |  | 
|---|
| 6839 |  | 
|---|
| 6840 | int | 
|---|
| 6841 | main () | 
|---|
| 6842 | { | 
|---|
| 6843 | main (); | 
|---|
| 6844 |   ; | 
|---|
| 6845 |   return 0; | 
|---|
| 6846 | } | 
|---|
| 6847 | _ACEOF | 
|---|
| 6848 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6849 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6850 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6851 |   ac_status=$? | 
|---|
| 6852 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6853 |   rm -f conftest.er1 | 
|---|
| 6854 |   cat conftest.err >&5 | 
|---|
| 6855 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6856 |   (exit $ac_status); } && | 
|---|
| 6857 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6858 |                          || test ! -s conftest.err' | 
|---|
| 6859 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6860 |   (eval $ac_try) 2>&5 | 
|---|
| 6861 |   ac_status=$? | 
|---|
| 6862 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6863 |   (exit $ac_status); }; } && | 
|---|
| 6864 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6865 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6866 |   (eval $ac_try) 2>&5 | 
|---|
| 6867 |   ac_status=$? | 
|---|
| 6868 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6869 |   (exit $ac_status); }; }; then | 
|---|
| 6870 |   ac_cv_lib_alut_main=yes | 
|---|
| 6871 | else | 
|---|
| 6872 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6873 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6874 |  | 
|---|
| 6875 | ac_cv_lib_alut_main=no | 
|---|
| 6876 | fi | 
|---|
| 6877 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6878 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6879 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6880 | fi | 
|---|
| 6881 | echo "$as_me:$LINENO: result: $ac_cv_lib_alut_main" >&5 | 
|---|
| 6882 | echo "${ECHO_T}$ac_cv_lib_alut_main" >&6 | 
|---|
| 6883 | if test $ac_cv_lib_alut_main = yes; then | 
|---|
| 6884 |   FOUND_ALUT=yes; LIBS="-lalut $LIBS" | 
|---|
| 6885 | fi | 
|---|
| 6886 |  | 
|---|
| 6887 |  | 
|---|
| 6888 | #-----# | 
|---|
| 6889 | # SDL # | 
|---|
| 6890 | #-----# | 
|---|
| 6891 | # checking for SDL | 
|---|
| 6892 |   echo "$as_me:$LINENO: checking for SDL-version" >&5 | 
|---|
| 6893 | echo $ECHO_N "checking for SDL-version... $ECHO_C" >&6 | 
|---|
| 6894 |   SDL_VERSION=`sdl-config --version` | 
|---|
| 6895 |   echo $SDL_VERSION | 
|---|
| 6896 |  | 
|---|
| 6897 |    CPPFLAGS="$CPPFLAGS `sdl-config --cflags`" | 
|---|
| 6898 |  | 
|---|
| 6899 | for ac_header in SDL.h | 
|---|
| 6900 | do | 
|---|
| 6901 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6902 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6903 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6904 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6905 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6906 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6907 | fi | 
|---|
| 6908 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6909 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6910 | else | 
|---|
| 6911 |   # Is the header compilable? | 
|---|
| 6912 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6913 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6914 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6915 | /* confdefs.h.  */ | 
|---|
| 6916 | _ACEOF | 
|---|
| 6917 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6918 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6919 | /* end confdefs.h.  */ | 
|---|
| 6920 | $ac_includes_default | 
|---|
| 6921 | #include <$ac_header> | 
|---|
| 6922 | _ACEOF | 
|---|
| 6923 | rm -f conftest.$ac_objext | 
|---|
| 6924 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6925 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6926 |   ac_status=$? | 
|---|
| 6927 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6928 |   rm -f conftest.er1 | 
|---|
| 6929 |   cat conftest.err >&5 | 
|---|
| 6930 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6931 |   (exit $ac_status); } && | 
|---|
| 6932 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6933 |                          || test ! -s conftest.err' | 
|---|
| 6934 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6935 |   (eval $ac_try) 2>&5 | 
|---|
| 6936 |   ac_status=$? | 
|---|
| 6937 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6938 |   (exit $ac_status); }; } && | 
|---|
| 6939 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6940 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6941 |   (eval $ac_try) 2>&5 | 
|---|
| 6942 |   ac_status=$? | 
|---|
| 6943 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6944 |   (exit $ac_status); }; }; then | 
|---|
| 6945 |   ac_header_compiler=yes | 
|---|
| 6946 | else | 
|---|
| 6947 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6948 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6949 |  | 
|---|
| 6950 | ac_header_compiler=no | 
|---|
| 6951 | fi | 
|---|
| 6952 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6953 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6954 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6955 |  | 
|---|
| 6956 | # Is the header present? | 
|---|
| 6957 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6958 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6959 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6960 | /* confdefs.h.  */ | 
|---|
| 6961 | _ACEOF | 
|---|
| 6962 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6963 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6964 | /* end confdefs.h.  */ | 
|---|
| 6965 | #include <$ac_header> | 
|---|
| 6966 | _ACEOF | 
|---|
| 6967 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6968 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6969 |   ac_status=$? | 
|---|
| 6970 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6971 |   rm -f conftest.er1 | 
|---|
| 6972 |   cat conftest.err >&5 | 
|---|
| 6973 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6974 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6975 |   if test -s conftest.err; then | 
|---|
| 6976 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6977 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6978 |   else | 
|---|
| 6979 |     ac_cpp_err= | 
|---|
| 6980 |   fi | 
|---|
| 6981 | else | 
|---|
| 6982 |   ac_cpp_err=yes | 
|---|
| 6983 | fi | 
|---|
| 6984 | if test -z "$ac_cpp_err"; then | 
|---|
| 6985 |   ac_header_preproc=yes | 
|---|
| 6986 | else | 
|---|
| 6987 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6988 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6989 |  | 
|---|
| 6990 |   ac_header_preproc=no | 
|---|
| 6991 | fi | 
|---|
| 6992 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6993 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6994 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6995 |  | 
|---|
| 6996 | # So?  What about this header? | 
|---|
| 6997 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6998 |   yes:no: ) | 
|---|
| 6999 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7000 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7001 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7002 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7003 |     ac_header_preproc=yes | 
|---|
| 7004 |     ;; | 
|---|
| 7005 |   no:yes:* ) | 
|---|
| 7006 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7007 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7008 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7009 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7010 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7011 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7012 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7013 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7014 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7015 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7016 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7017 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7018 |     ( | 
|---|
| 7019 |       cat <<\_ASBOX | 
|---|
| 7020 | ## ---------------------------------------------- ## | 
|---|
| 7021 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7022 | ## ---------------------------------------------- ## | 
|---|
| 7023 | _ASBOX | 
|---|
| 7024 |     ) | | 
|---|
| 7025 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7026 |     ;; | 
|---|
| 7027 | esac | 
|---|
| 7028 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7029 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7030 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7031 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7032 | else | 
|---|
| 7033 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7034 | fi | 
|---|
| 7035 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7036 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7037 |  | 
|---|
| 7038 | fi | 
|---|
| 7039 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7040 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7041 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7042 | _ACEOF | 
|---|
| 7043 |  | 
|---|
| 7044 | else | 
|---|
| 7045 |  | 
|---|
| 7046 | for ac_header in SDL/SDL.h | 
|---|
| 7047 | do | 
|---|
| 7048 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7049 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7050 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7051 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7052 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7053 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7054 | fi | 
|---|
| 7055 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7056 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7057 | else | 
|---|
| 7058 |   # Is the header compilable? | 
|---|
| 7059 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7060 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7061 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7062 | /* confdefs.h.  */ | 
|---|
| 7063 | _ACEOF | 
|---|
| 7064 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7065 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7066 | /* end confdefs.h.  */ | 
|---|
| 7067 | $ac_includes_default | 
|---|
| 7068 | #include <$ac_header> | 
|---|
| 7069 | _ACEOF | 
|---|
| 7070 | rm -f conftest.$ac_objext | 
|---|
| 7071 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7072 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7073 |   ac_status=$? | 
|---|
| 7074 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7075 |   rm -f conftest.er1 | 
|---|
| 7076 |   cat conftest.err >&5 | 
|---|
| 7077 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7078 |   (exit $ac_status); } && | 
|---|
| 7079 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7080 |                          || test ! -s conftest.err' | 
|---|
| 7081 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7082 |   (eval $ac_try) 2>&5 | 
|---|
| 7083 |   ac_status=$? | 
|---|
| 7084 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7085 |   (exit $ac_status); }; } && | 
|---|
| 7086 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7087 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7088 |   (eval $ac_try) 2>&5 | 
|---|
| 7089 |   ac_status=$? | 
|---|
| 7090 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7091 |   (exit $ac_status); }; }; then | 
|---|
| 7092 |   ac_header_compiler=yes | 
|---|
| 7093 | else | 
|---|
| 7094 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7095 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7096 |  | 
|---|
| 7097 | ac_header_compiler=no | 
|---|
| 7098 | fi | 
|---|
| 7099 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7100 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7101 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7102 |  | 
|---|
| 7103 | # Is the header present? | 
|---|
| 7104 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7105 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7106 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7107 | /* confdefs.h.  */ | 
|---|
| 7108 | _ACEOF | 
|---|
| 7109 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7110 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7111 | /* end confdefs.h.  */ | 
|---|
| 7112 | #include <$ac_header> | 
|---|
| 7113 | _ACEOF | 
|---|
| 7114 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7115 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7116 |   ac_status=$? | 
|---|
| 7117 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7118 |   rm -f conftest.er1 | 
|---|
| 7119 |   cat conftest.err >&5 | 
|---|
| 7120 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7121 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7122 |   if test -s conftest.err; then | 
|---|
| 7123 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7124 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7125 |   else | 
|---|
| 7126 |     ac_cpp_err= | 
|---|
| 7127 |   fi | 
|---|
| 7128 | else | 
|---|
| 7129 |   ac_cpp_err=yes | 
|---|
| 7130 | fi | 
|---|
| 7131 | if test -z "$ac_cpp_err"; then | 
|---|
| 7132 |   ac_header_preproc=yes | 
|---|
| 7133 | else | 
|---|
| 7134 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7135 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7136 |  | 
|---|
| 7137 |   ac_header_preproc=no | 
|---|
| 7138 | fi | 
|---|
| 7139 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7140 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7141 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7142 |  | 
|---|
| 7143 | # So?  What about this header? | 
|---|
| 7144 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7145 |   yes:no: ) | 
|---|
| 7146 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7147 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7148 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7149 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7150 |     ac_header_preproc=yes | 
|---|
| 7151 |     ;; | 
|---|
| 7152 |   no:yes:* ) | 
|---|
| 7153 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7154 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7155 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7156 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7157 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7158 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7159 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7160 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7161 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7162 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7163 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7164 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7165 |     ( | 
|---|
| 7166 |       cat <<\_ASBOX | 
|---|
| 7167 | ## ---------------------------------------------- ## | 
|---|
| 7168 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7169 | ## ---------------------------------------------- ## | 
|---|
| 7170 | _ASBOX | 
|---|
| 7171 |     ) | | 
|---|
| 7172 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7173 |     ;; | 
|---|
| 7174 | esac | 
|---|
| 7175 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7176 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7177 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7178 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7179 | else | 
|---|
| 7180 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7181 | fi | 
|---|
| 7182 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7183 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7184 |  | 
|---|
| 7185 | fi | 
|---|
| 7186 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7187 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7188 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7189 | _ACEOF | 
|---|
| 7190 |  | 
|---|
| 7191 | else | 
|---|
| 7192 |   { { echo "$as_me:$LINENO: error: cannot find SDL header. please download from libsdl.org" >&5 | 
|---|
| 7193 | echo "$as_me: error: cannot find SDL header. please download from libsdl.org" >&2;} | 
|---|
| 7194 |    { (exit 1); exit 1; }; } | 
|---|
| 7195 | fi | 
|---|
| 7196 |  | 
|---|
| 7197 | done | 
|---|
| 7198 |  | 
|---|
| 7199 | fi | 
|---|
| 7200 |  | 
|---|
| 7201 | done | 
|---|
| 7202 |  | 
|---|
| 7203 |    LIBS="`sdl-config --libs` $LIBS" | 
|---|
| 7204 |    echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
| 7205 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
| 7206 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
| 7207 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7208 | else | 
|---|
| 7209 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7210 | LIBS="-lSDL  $LIBS" | 
|---|
| 7211 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7212 | /* confdefs.h.  */ | 
|---|
| 7213 | _ACEOF | 
|---|
| 7214 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7215 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7216 | /* end confdefs.h.  */ | 
|---|
| 7217 |  | 
|---|
| 7218 |  | 
|---|
| 7219 | int | 
|---|
| 7220 | main () | 
|---|
| 7221 | { | 
|---|
| 7222 | main (); | 
|---|
| 7223 |   ; | 
|---|
| 7224 |   return 0; | 
|---|
| 7225 | } | 
|---|
| 7226 | _ACEOF | 
|---|
| 7227 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7228 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7229 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7230 |   ac_status=$? | 
|---|
| 7231 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7232 |   rm -f conftest.er1 | 
|---|
| 7233 |   cat conftest.err >&5 | 
|---|
| 7234 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7235 |   (exit $ac_status); } && | 
|---|
| 7236 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7237 |                          || test ! -s conftest.err' | 
|---|
| 7238 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7239 |   (eval $ac_try) 2>&5 | 
|---|
| 7240 |   ac_status=$? | 
|---|
| 7241 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7242 |   (exit $ac_status); }; } && | 
|---|
| 7243 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7244 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7245 |   (eval $ac_try) 2>&5 | 
|---|
| 7246 |   ac_status=$? | 
|---|
| 7247 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7248 |   (exit $ac_status); }; }; then | 
|---|
| 7249 |   ac_cv_lib_SDL_main=yes | 
|---|
| 7250 | else | 
|---|
| 7251 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7252 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7253 |  | 
|---|
| 7254 | ac_cv_lib_SDL_main=no | 
|---|
| 7255 | fi | 
|---|
| 7256 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7257 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7258 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7259 | fi | 
|---|
| 7260 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
| 7261 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
| 7262 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
| 7263 |   FOUND_SDL=yes | 
|---|
| 7264 | fi | 
|---|
| 7265 |  | 
|---|
| 7266 |     if test x$FOUND_SDL != xyes ; then | 
|---|
| 7267 |         echo "------------------" | 
|---|
| 7268 |         echo "SDL library not found." | 
|---|
| 7269 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 7270 |         echo "------------------" | 
|---|
| 7271 |         exit -1 | 
|---|
| 7272 |      fi | 
|---|
| 7273 |  | 
|---|
| 7274 |     ;; | 
|---|
| 7275 |  | 
|---|
| 7276 | ############# | 
|---|
| 7277 | #-----------# | 
|---|
| 7278 | # MAC -OS X # | 
|---|
| 7279 | #-----------# | 
|---|
| 7280 | ############# | 
|---|
| 7281 |  *darwin*) | 
|---|
| 7282 |  echo "OS X detected" | 
|---|
| 7283 |  | 
|---|
| 7284 |  osX="yes" | 
|---|
| 7285 |  | 
|---|
| 7286 |  CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS" | 
|---|
| 7287 |  LDFLAGS="$LDFLAGS -L/sw/lib" | 
|---|
| 7288 | # checking gl header | 
|---|
| 7289 |  | 
|---|
| 7290 | for ac_header in OpenGL/gl.h | 
|---|
| 7291 | do | 
|---|
| 7292 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7293 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7294 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7295 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7296 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7297 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7298 | fi | 
|---|
| 7299 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7300 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7301 | else | 
|---|
| 7302 |   # Is the header compilable? | 
|---|
| 7303 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7304 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7305 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7306 | /* confdefs.h.  */ | 
|---|
| 7307 | _ACEOF | 
|---|
| 7308 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7309 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7310 | /* end confdefs.h.  */ | 
|---|
| 7311 | $ac_includes_default | 
|---|
| 7312 | #include <$ac_header> | 
|---|
| 7313 | _ACEOF | 
|---|
| 7314 | rm -f conftest.$ac_objext | 
|---|
| 7315 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7316 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7317 |   ac_status=$? | 
|---|
| 7318 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7319 |   rm -f conftest.er1 | 
|---|
| 7320 |   cat conftest.err >&5 | 
|---|
| 7321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7322 |   (exit $ac_status); } && | 
|---|
| 7323 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7324 |                          || test ! -s conftest.err' | 
|---|
| 7325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7326 |   (eval $ac_try) 2>&5 | 
|---|
| 7327 |   ac_status=$? | 
|---|
| 7328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7329 |   (exit $ac_status); }; } && | 
|---|
| 7330 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7331 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7332 |   (eval $ac_try) 2>&5 | 
|---|
| 7333 |   ac_status=$? | 
|---|
| 7334 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7335 |   (exit $ac_status); }; }; then | 
|---|
| 7336 |   ac_header_compiler=yes | 
|---|
| 7337 | else | 
|---|
| 7338 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7339 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7340 |  | 
|---|
| 7341 | ac_header_compiler=no | 
|---|
| 7342 | fi | 
|---|
| 7343 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7344 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7345 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7346 |  | 
|---|
| 7347 | # Is the header present? | 
|---|
| 7348 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7349 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7350 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7351 | /* confdefs.h.  */ | 
|---|
| 7352 | _ACEOF | 
|---|
| 7353 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7354 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7355 | /* end confdefs.h.  */ | 
|---|
| 7356 | #include <$ac_header> | 
|---|
| 7357 | _ACEOF | 
|---|
| 7358 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7359 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7360 |   ac_status=$? | 
|---|
| 7361 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7362 |   rm -f conftest.er1 | 
|---|
| 7363 |   cat conftest.err >&5 | 
|---|
| 7364 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7365 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7366 |   if test -s conftest.err; then | 
|---|
| 7367 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7368 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7369 |   else | 
|---|
| 7370 |     ac_cpp_err= | 
|---|
| 7371 |   fi | 
|---|
| 7372 | else | 
|---|
| 7373 |   ac_cpp_err=yes | 
|---|
| 7374 | fi | 
|---|
| 7375 | if test -z "$ac_cpp_err"; then | 
|---|
| 7376 |   ac_header_preproc=yes | 
|---|
| 7377 | else | 
|---|
| 7378 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7379 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7380 |  | 
|---|
| 7381 |   ac_header_preproc=no | 
|---|
| 7382 | fi | 
|---|
| 7383 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7384 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7385 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7386 |  | 
|---|
| 7387 | # So?  What about this header? | 
|---|
| 7388 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7389 |   yes:no: ) | 
|---|
| 7390 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7391 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7392 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7393 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7394 |     ac_header_preproc=yes | 
|---|
| 7395 |     ;; | 
|---|
| 7396 |   no:yes:* ) | 
|---|
| 7397 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7398 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7399 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7400 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7401 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7402 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7403 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7404 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7405 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7406 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7407 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7408 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7409 |     ( | 
|---|
| 7410 |       cat <<\_ASBOX | 
|---|
| 7411 | ## ---------------------------------------------- ## | 
|---|
| 7412 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7413 | ## ---------------------------------------------- ## | 
|---|
| 7414 | _ASBOX | 
|---|
| 7415 |     ) | | 
|---|
| 7416 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7417 |     ;; | 
|---|
| 7418 | esac | 
|---|
| 7419 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7420 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7421 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7422 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7423 | else | 
|---|
| 7424 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7425 | fi | 
|---|
| 7426 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7427 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7428 |  | 
|---|
| 7429 | fi | 
|---|
| 7430 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7431 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7432 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7433 | _ACEOF | 
|---|
| 7434 |  | 
|---|
| 7435 | else | 
|---|
| 7436 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 7437 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 7438 |    { (exit 1); exit 1; }; } | 
|---|
| 7439 | fi | 
|---|
| 7440 |  | 
|---|
| 7441 | done | 
|---|
| 7442 |  | 
|---|
| 7443 | # cheking for GLU-header | 
|---|
| 7444 |  | 
|---|
| 7445 | for ac_header in OpenGL/glu.h | 
|---|
| 7446 | do | 
|---|
| 7447 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7448 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7449 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7450 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7451 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7452 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7453 | fi | 
|---|
| 7454 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7455 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7456 | else | 
|---|
| 7457 |   # Is the header compilable? | 
|---|
| 7458 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7459 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7460 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7461 | /* confdefs.h.  */ | 
|---|
| 7462 | _ACEOF | 
|---|
| 7463 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7464 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7465 | /* end confdefs.h.  */ | 
|---|
| 7466 | $ac_includes_default | 
|---|
| 7467 | #include <$ac_header> | 
|---|
| 7468 | _ACEOF | 
|---|
| 7469 | rm -f conftest.$ac_objext | 
|---|
| 7470 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7471 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7472 |   ac_status=$? | 
|---|
| 7473 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7474 |   rm -f conftest.er1 | 
|---|
| 7475 |   cat conftest.err >&5 | 
|---|
| 7476 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7477 |   (exit $ac_status); } && | 
|---|
| 7478 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7479 |                          || test ! -s conftest.err' | 
|---|
| 7480 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7481 |   (eval $ac_try) 2>&5 | 
|---|
| 7482 |   ac_status=$? | 
|---|
| 7483 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7484 |   (exit $ac_status); }; } && | 
|---|
| 7485 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7486 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7487 |   (eval $ac_try) 2>&5 | 
|---|
| 7488 |   ac_status=$? | 
|---|
| 7489 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7490 |   (exit $ac_status); }; }; then | 
|---|
| 7491 |   ac_header_compiler=yes | 
|---|
| 7492 | else | 
|---|
| 7493 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7494 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7495 |  | 
|---|
| 7496 | ac_header_compiler=no | 
|---|
| 7497 | fi | 
|---|
| 7498 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7499 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7500 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7501 |  | 
|---|
| 7502 | # Is the header present? | 
|---|
| 7503 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7504 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7505 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7506 | /* confdefs.h.  */ | 
|---|
| 7507 | _ACEOF | 
|---|
| 7508 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7509 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7510 | /* end confdefs.h.  */ | 
|---|
| 7511 | #include <$ac_header> | 
|---|
| 7512 | _ACEOF | 
|---|
| 7513 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7514 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7515 |   ac_status=$? | 
|---|
| 7516 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7517 |   rm -f conftest.er1 | 
|---|
| 7518 |   cat conftest.err >&5 | 
|---|
| 7519 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7520 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7521 |   if test -s conftest.err; then | 
|---|
| 7522 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7523 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7524 |   else | 
|---|
| 7525 |     ac_cpp_err= | 
|---|
| 7526 |   fi | 
|---|
| 7527 | else | 
|---|
| 7528 |   ac_cpp_err=yes | 
|---|
| 7529 | fi | 
|---|
| 7530 | if test -z "$ac_cpp_err"; then | 
|---|
| 7531 |   ac_header_preproc=yes | 
|---|
| 7532 | else | 
|---|
| 7533 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7534 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7535 |  | 
|---|
| 7536 |   ac_header_preproc=no | 
|---|
| 7537 | fi | 
|---|
| 7538 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7539 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7540 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7541 |  | 
|---|
| 7542 | # So?  What about this header? | 
|---|
| 7543 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7544 |   yes:no: ) | 
|---|
| 7545 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7546 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7547 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7548 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7549 |     ac_header_preproc=yes | 
|---|
| 7550 |     ;; | 
|---|
| 7551 |   no:yes:* ) | 
|---|
| 7552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7553 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7554 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7555 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7556 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7557 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7558 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7559 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7560 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7561 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7562 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7563 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7564 |     ( | 
|---|
| 7565 |       cat <<\_ASBOX | 
|---|
| 7566 | ## ---------------------------------------------- ## | 
|---|
| 7567 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7568 | ## ---------------------------------------------- ## | 
|---|
| 7569 | _ASBOX | 
|---|
| 7570 |     ) | | 
|---|
| 7571 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7572 |     ;; | 
|---|
| 7573 | esac | 
|---|
| 7574 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7575 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7576 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7577 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7578 | else | 
|---|
| 7579 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7580 | fi | 
|---|
| 7581 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7582 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7583 |  | 
|---|
| 7584 | fi | 
|---|
| 7585 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7586 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7587 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7588 | _ACEOF | 
|---|
| 7589 |  | 
|---|
| 7590 | else | 
|---|
| 7591 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 7592 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 7593 |    { (exit 1); exit 1; }; } | 
|---|
| 7594 | fi | 
|---|
| 7595 |  | 
|---|
| 7596 | done | 
|---|
| 7597 |  | 
|---|
| 7598 |  | 
|---|
| 7599 |    LIBS="$LIBS -framework OpenGL" | 
|---|
| 7600 |  | 
|---|
| 7601 |  | 
|---|
| 7602 |  | 
|---|
| 7603 | # checking for GLEW-headers | 
|---|
| 7604 |  | 
|---|
| 7605 | for ac_header in GL/glew.h | 
|---|
| 7606 | do | 
|---|
| 7607 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7608 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7609 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7610 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7611 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7612 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7613 | fi | 
|---|
| 7614 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7615 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7616 | else | 
|---|
| 7617 |   # Is the header compilable? | 
|---|
| 7618 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7619 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7620 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7621 | /* confdefs.h.  */ | 
|---|
| 7622 | _ACEOF | 
|---|
| 7623 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7624 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7625 | /* end confdefs.h.  */ | 
|---|
| 7626 | $ac_includes_default | 
|---|
| 7627 | #include <$ac_header> | 
|---|
| 7628 | _ACEOF | 
|---|
| 7629 | rm -f conftest.$ac_objext | 
|---|
| 7630 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7631 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7632 |   ac_status=$? | 
|---|
| 7633 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7634 |   rm -f conftest.er1 | 
|---|
| 7635 |   cat conftest.err >&5 | 
|---|
| 7636 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7637 |   (exit $ac_status); } && | 
|---|
| 7638 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7639 |                          || test ! -s conftest.err' | 
|---|
| 7640 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7641 |   (eval $ac_try) 2>&5 | 
|---|
| 7642 |   ac_status=$? | 
|---|
| 7643 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7644 |   (exit $ac_status); }; } && | 
|---|
| 7645 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7646 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7647 |   (eval $ac_try) 2>&5 | 
|---|
| 7648 |   ac_status=$? | 
|---|
| 7649 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7650 |   (exit $ac_status); }; }; then | 
|---|
| 7651 |   ac_header_compiler=yes | 
|---|
| 7652 | else | 
|---|
| 7653 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7654 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7655 |  | 
|---|
| 7656 | ac_header_compiler=no | 
|---|
| 7657 | fi | 
|---|
| 7658 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7659 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7660 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7661 |  | 
|---|
| 7662 | # Is the header present? | 
|---|
| 7663 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7664 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7665 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7666 | /* confdefs.h.  */ | 
|---|
| 7667 | _ACEOF | 
|---|
| 7668 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7669 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7670 | /* end confdefs.h.  */ | 
|---|
| 7671 | #include <$ac_header> | 
|---|
| 7672 | _ACEOF | 
|---|
| 7673 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7674 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7675 |   ac_status=$? | 
|---|
| 7676 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7677 |   rm -f conftest.er1 | 
|---|
| 7678 |   cat conftest.err >&5 | 
|---|
| 7679 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7680 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7681 |   if test -s conftest.err; then | 
|---|
| 7682 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7683 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7684 |   else | 
|---|
| 7685 |     ac_cpp_err= | 
|---|
| 7686 |   fi | 
|---|
| 7687 | else | 
|---|
| 7688 |   ac_cpp_err=yes | 
|---|
| 7689 | fi | 
|---|
| 7690 | if test -z "$ac_cpp_err"; then | 
|---|
| 7691 |   ac_header_preproc=yes | 
|---|
| 7692 | else | 
|---|
| 7693 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7694 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7695 |  | 
|---|
| 7696 |   ac_header_preproc=no | 
|---|
| 7697 | fi | 
|---|
| 7698 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7699 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7700 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7701 |  | 
|---|
| 7702 | # So?  What about this header? | 
|---|
| 7703 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7704 |   yes:no: ) | 
|---|
| 7705 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7706 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7707 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7708 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7709 |     ac_header_preproc=yes | 
|---|
| 7710 |     ;; | 
|---|
| 7711 |   no:yes:* ) | 
|---|
| 7712 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7713 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7714 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7715 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7716 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7717 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7718 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7719 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7720 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7721 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7722 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7723 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7724 |     ( | 
|---|
| 7725 |       cat <<\_ASBOX | 
|---|
| 7726 | ## ---------------------------------------------- ## | 
|---|
| 7727 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7728 | ## ---------------------------------------------- ## | 
|---|
| 7729 | _ASBOX | 
|---|
| 7730 |     ) | | 
|---|
| 7731 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7732 |     ;; | 
|---|
| 7733 | esac | 
|---|
| 7734 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7735 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7736 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7737 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7738 | else | 
|---|
| 7739 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7740 | fi | 
|---|
| 7741 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7742 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7743 |  | 
|---|
| 7744 | fi | 
|---|
| 7745 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7746 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7747 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7748 | _ACEOF | 
|---|
| 7749 |  | 
|---|
| 7750 | else | 
|---|
| 7751 |   { { echo "$as_me:$LINENO: error: cannot find glew headers" >&5 | 
|---|
| 7752 | echo "$as_me: error: cannot find glew headers" >&2;} | 
|---|
| 7753 |    { (exit 1); exit 1; }; } | 
|---|
| 7754 | fi | 
|---|
| 7755 |  | 
|---|
| 7756 | done | 
|---|
| 7757 |  | 
|---|
| 7758 | # checking for GLEW-lib | 
|---|
| 7759 |   echo "$as_me:$LINENO: checking for main in -lGLEW" >&5 | 
|---|
| 7760 | echo $ECHO_N "checking for main in -lGLEW... $ECHO_C" >&6 | 
|---|
| 7761 | if test "${ac_cv_lib_GLEW_main+set}" = set; then | 
|---|
| 7762 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7763 | else | 
|---|
| 7764 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7765 | LIBS="-lGLEW  $LIBS" | 
|---|
| 7766 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7767 | /* confdefs.h.  */ | 
|---|
| 7768 | _ACEOF | 
|---|
| 7769 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7770 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7771 | /* end confdefs.h.  */ | 
|---|
| 7772 |  | 
|---|
| 7773 |  | 
|---|
| 7774 | int | 
|---|
| 7775 | main () | 
|---|
| 7776 | { | 
|---|
| 7777 | main (); | 
|---|
| 7778 |   ; | 
|---|
| 7779 |   return 0; | 
|---|
| 7780 | } | 
|---|
| 7781 | _ACEOF | 
|---|
| 7782 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7783 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7784 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7785 |   ac_status=$? | 
|---|
| 7786 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7787 |   rm -f conftest.er1 | 
|---|
| 7788 |   cat conftest.err >&5 | 
|---|
| 7789 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7790 |   (exit $ac_status); } && | 
|---|
| 7791 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7792 |                          || test ! -s conftest.err' | 
|---|
| 7793 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7794 |   (eval $ac_try) 2>&5 | 
|---|
| 7795 |   ac_status=$? | 
|---|
| 7796 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7797 |   (exit $ac_status); }; } && | 
|---|
| 7798 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7799 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7800 |   (eval $ac_try) 2>&5 | 
|---|
| 7801 |   ac_status=$? | 
|---|
| 7802 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7803 |   (exit $ac_status); }; }; then | 
|---|
| 7804 |   ac_cv_lib_GLEW_main=yes | 
|---|
| 7805 | else | 
|---|
| 7806 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7807 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7808 |  | 
|---|
| 7809 | ac_cv_lib_GLEW_main=no | 
|---|
| 7810 | fi | 
|---|
| 7811 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7812 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7813 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7814 | fi | 
|---|
| 7815 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLEW_main" >&5 | 
|---|
| 7816 | echo "${ECHO_T}$ac_cv_lib_GLEW_main" >&6 | 
|---|
| 7817 | if test $ac_cv_lib_GLEW_main = yes; then | 
|---|
| 7818 |   FOUND_GLEW=yes; LIBS="$LIBS -lGLEW" | 
|---|
| 7819 | fi | 
|---|
| 7820 |  | 
|---|
| 7821 |    if test x$FOUND_GLEW != xyes ; then | 
|---|
| 7822 |          echo "------------------" | 
|---|
| 7823 |          echo "glew not found." | 
|---|
| 7824 |          echo "please install the glew package which can be found at http://glew.sourceforge.net" | 
|---|
| 7825 |          echo "------------------" | 
|---|
| 7826 |          exit -1 | 
|---|
| 7827 |    fi | 
|---|
| 7828 |  | 
|---|
| 7829 |  | 
|---|
| 7830 |  | 
|---|
| 7831 | for ac_header in OpenAL/al.h | 
|---|
| 7832 | do | 
|---|
| 7833 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7834 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7835 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7836 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7837 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7838 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7839 | fi | 
|---|
| 7840 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7841 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7842 | else | 
|---|
| 7843 |   # Is the header compilable? | 
|---|
| 7844 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7845 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7846 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7847 | /* confdefs.h.  */ | 
|---|
| 7848 | _ACEOF | 
|---|
| 7849 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7850 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7851 | /* end confdefs.h.  */ | 
|---|
| 7852 | $ac_includes_default | 
|---|
| 7853 | #include <$ac_header> | 
|---|
| 7854 | _ACEOF | 
|---|
| 7855 | rm -f conftest.$ac_objext | 
|---|
| 7856 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7857 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7858 |   ac_status=$? | 
|---|
| 7859 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7860 |   rm -f conftest.er1 | 
|---|
| 7861 |   cat conftest.err >&5 | 
|---|
| 7862 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7863 |   (exit $ac_status); } && | 
|---|
| 7864 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7865 |                          || test ! -s conftest.err' | 
|---|
| 7866 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7867 |   (eval $ac_try) 2>&5 | 
|---|
| 7868 |   ac_status=$? | 
|---|
| 7869 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7870 |   (exit $ac_status); }; } && | 
|---|
| 7871 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7872 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7873 |   (eval $ac_try) 2>&5 | 
|---|
| 7874 |   ac_status=$? | 
|---|
| 7875 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7876 |   (exit $ac_status); }; }; then | 
|---|
| 7877 |   ac_header_compiler=yes | 
|---|
| 7878 | else | 
|---|
| 7879 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7880 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7881 |  | 
|---|
| 7882 | ac_header_compiler=no | 
|---|
| 7883 | fi | 
|---|
| 7884 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7885 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7886 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7887 |  | 
|---|
| 7888 | # Is the header present? | 
|---|
| 7889 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7890 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7891 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7892 | /* confdefs.h.  */ | 
|---|
| 7893 | _ACEOF | 
|---|
| 7894 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7895 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7896 | /* end confdefs.h.  */ | 
|---|
| 7897 | #include <$ac_header> | 
|---|
| 7898 | _ACEOF | 
|---|
| 7899 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7900 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7901 |   ac_status=$? | 
|---|
| 7902 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7903 |   rm -f conftest.er1 | 
|---|
| 7904 |   cat conftest.err >&5 | 
|---|
| 7905 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7906 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7907 |   if test -s conftest.err; then | 
|---|
| 7908 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7909 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7910 |   else | 
|---|
| 7911 |     ac_cpp_err= | 
|---|
| 7912 |   fi | 
|---|
| 7913 | else | 
|---|
| 7914 |   ac_cpp_err=yes | 
|---|
| 7915 | fi | 
|---|
| 7916 | if test -z "$ac_cpp_err"; then | 
|---|
| 7917 |   ac_header_preproc=yes | 
|---|
| 7918 | else | 
|---|
| 7919 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7920 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7921 |  | 
|---|
| 7922 |   ac_header_preproc=no | 
|---|
| 7923 | fi | 
|---|
| 7924 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7925 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7926 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7927 |  | 
|---|
| 7928 | # So?  What about this header? | 
|---|
| 7929 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7930 |   yes:no: ) | 
|---|
| 7931 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7932 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7933 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7934 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7935 |     ac_header_preproc=yes | 
|---|
| 7936 |     ;; | 
|---|
| 7937 |   no:yes:* ) | 
|---|
| 7938 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7939 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7940 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7941 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7942 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7943 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7944 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7945 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7946 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7947 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7948 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7949 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7950 |     ( | 
|---|
| 7951 |       cat <<\_ASBOX | 
|---|
| 7952 | ## ---------------------------------------------- ## | 
|---|
| 7953 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7954 | ## ---------------------------------------------- ## | 
|---|
| 7955 | _ASBOX | 
|---|
| 7956 |     ) | | 
|---|
| 7957 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7958 |     ;; | 
|---|
| 7959 | esac | 
|---|
| 7960 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7961 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7962 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7963 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7964 | else | 
|---|
| 7965 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7966 | fi | 
|---|
| 7967 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7968 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7969 |  | 
|---|
| 7970 | fi | 
|---|
| 7971 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7972 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7973 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7974 | _ACEOF | 
|---|
| 7975 |  | 
|---|
| 7976 | else | 
|---|
| 7977 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 7978 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 7979 |    { (exit 1); exit 1; }; } | 
|---|
| 7980 | fi | 
|---|
| 7981 |  | 
|---|
| 7982 | done | 
|---|
| 7983 |  | 
|---|
| 7984 |   HAVE_OPENAL=yes | 
|---|
| 7985 |   LIBS="$LIBS -framework OpenAL" | 
|---|
| 7986 |  | 
|---|
| 7987 |  | 
|---|
| 7988 | ## SDL-check | 
|---|
| 7989 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
| 7990 |        SDL_LIBS=`sdl-config --libs` | 
|---|
| 7991 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 7992 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
| 7993 |  | 
|---|
| 7994 | for ac_header in SDL/SDL.h | 
|---|
| 7995 | do | 
|---|
| 7996 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7997 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7998 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7999 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8000 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8001 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8002 | fi | 
|---|
| 8003 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8004 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8005 | else | 
|---|
| 8006 |   # Is the header compilable? | 
|---|
| 8007 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8008 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8009 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8010 | /* confdefs.h.  */ | 
|---|
| 8011 | _ACEOF | 
|---|
| 8012 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8013 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8014 | /* end confdefs.h.  */ | 
|---|
| 8015 | $ac_includes_default | 
|---|
| 8016 | #include <$ac_header> | 
|---|
| 8017 | _ACEOF | 
|---|
| 8018 | rm -f conftest.$ac_objext | 
|---|
| 8019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8020 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8021 |   ac_status=$? | 
|---|
| 8022 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8023 |   rm -f conftest.er1 | 
|---|
| 8024 |   cat conftest.err >&5 | 
|---|
| 8025 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8026 |   (exit $ac_status); } && | 
|---|
| 8027 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8028 |                          || test ! -s conftest.err' | 
|---|
| 8029 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8030 |   (eval $ac_try) 2>&5 | 
|---|
| 8031 |   ac_status=$? | 
|---|
| 8032 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8033 |   (exit $ac_status); }; } && | 
|---|
| 8034 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8035 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8036 |   (eval $ac_try) 2>&5 | 
|---|
| 8037 |   ac_status=$? | 
|---|
| 8038 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8039 |   (exit $ac_status); }; }; then | 
|---|
| 8040 |   ac_header_compiler=yes | 
|---|
| 8041 | else | 
|---|
| 8042 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8043 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8044 |  | 
|---|
| 8045 | ac_header_compiler=no | 
|---|
| 8046 | fi | 
|---|
| 8047 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8048 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8049 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8050 |  | 
|---|
| 8051 | # Is the header present? | 
|---|
| 8052 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8053 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8054 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8055 | /* confdefs.h.  */ | 
|---|
| 8056 | _ACEOF | 
|---|
| 8057 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8058 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8059 | /* end confdefs.h.  */ | 
|---|
| 8060 | #include <$ac_header> | 
|---|
| 8061 | _ACEOF | 
|---|
| 8062 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8063 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8064 |   ac_status=$? | 
|---|
| 8065 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8066 |   rm -f conftest.er1 | 
|---|
| 8067 |   cat conftest.err >&5 | 
|---|
| 8068 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8069 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8070 |   if test -s conftest.err; then | 
|---|
| 8071 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8072 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8073 |   else | 
|---|
| 8074 |     ac_cpp_err= | 
|---|
| 8075 |   fi | 
|---|
| 8076 | else | 
|---|
| 8077 |   ac_cpp_err=yes | 
|---|
| 8078 | fi | 
|---|
| 8079 | if test -z "$ac_cpp_err"; then | 
|---|
| 8080 |   ac_header_preproc=yes | 
|---|
| 8081 | else | 
|---|
| 8082 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8083 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8084 |  | 
|---|
| 8085 |   ac_header_preproc=no | 
|---|
| 8086 | fi | 
|---|
| 8087 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8088 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8089 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8090 |  | 
|---|
| 8091 | # So?  What about this header? | 
|---|
| 8092 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8093 |   yes:no: ) | 
|---|
| 8094 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8095 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8096 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8097 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8098 |     ac_header_preproc=yes | 
|---|
| 8099 |     ;; | 
|---|
| 8100 |   no:yes:* ) | 
|---|
| 8101 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8102 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8103 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8104 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8105 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8106 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8107 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8108 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8109 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8110 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8111 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8112 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8113 |     ( | 
|---|
| 8114 |       cat <<\_ASBOX | 
|---|
| 8115 | ## ---------------------------------------------- ## | 
|---|
| 8116 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8117 | ## ---------------------------------------------- ## | 
|---|
| 8118 | _ASBOX | 
|---|
| 8119 |     ) | | 
|---|
| 8120 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8121 |     ;; | 
|---|
| 8122 | esac | 
|---|
| 8123 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8124 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8125 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8126 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8127 | else | 
|---|
| 8128 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8129 | fi | 
|---|
| 8130 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8131 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8132 |  | 
|---|
| 8133 | fi | 
|---|
| 8134 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8135 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8136 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8137 | _ACEOF | 
|---|
| 8138 |  | 
|---|
| 8139 | else | 
|---|
| 8140 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 8141 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 8142 |    { (exit 1); exit 1; }; } | 
|---|
| 8143 | fi | 
|---|
| 8144 |  | 
|---|
| 8145 | done | 
|---|
| 8146 |  | 
|---|
| 8147 |    HAVE_SDL=yes | 
|---|
| 8148 | #   LIBS="$LIBS -framework SDL" | 
|---|
| 8149 |  | 
|---|
| 8150 | # checking for SDL-headers | 
|---|
| 8151 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
| 8152 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| 8153 |  | 
|---|
| 8154 | ## checking for SDL | 
|---|
| 8155 | #    SDL_VERSION=1.2.7 | 
|---|
| 8156 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 8157 | #      :, | 
|---|
| 8158 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 8159 | #      ) | 
|---|
| 8160 |  | 
|---|
| 8161 |  | 
|---|
| 8162 |     ;; | 
|---|
| 8163 |  | 
|---|
| 8164 |   *) | 
|---|
| 8165 |     ;; | 
|---|
| 8166 | esac | 
|---|
| 8167 |  | 
|---|
| 8168 |  | 
|---|
| 8169 |  | 
|---|
| 8170 | ################################### | 
|---|
| 8171 | ## CHECKING FOR HEADERS AND LIBS ## | 
|---|
| 8172 | ################################### | 
|---|
| 8173 |  | 
|---|
| 8174 | #---------# | 
|---|
| 8175 | # SDL_ttf # | 
|---|
| 8176 | #---------# | 
|---|
| 8177 | # checking for SDL_ttf-headers | 
|---|
| 8178 |  | 
|---|
| 8179 | for ac_header in SDL_ttf.h | 
|---|
| 8180 | do | 
|---|
| 8181 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8182 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8183 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8184 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8185 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8186 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8187 | fi | 
|---|
| 8188 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8189 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8190 | else | 
|---|
| 8191 |   # Is the header compilable? | 
|---|
| 8192 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8193 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8194 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8195 | /* confdefs.h.  */ | 
|---|
| 8196 | _ACEOF | 
|---|
| 8197 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8198 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8199 | /* end confdefs.h.  */ | 
|---|
| 8200 | $ac_includes_default | 
|---|
| 8201 | #include <$ac_header> | 
|---|
| 8202 | _ACEOF | 
|---|
| 8203 | rm -f conftest.$ac_objext | 
|---|
| 8204 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8205 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8206 |   ac_status=$? | 
|---|
| 8207 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8208 |   rm -f conftest.er1 | 
|---|
| 8209 |   cat conftest.err >&5 | 
|---|
| 8210 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8211 |   (exit $ac_status); } && | 
|---|
| 8212 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8213 |                          || test ! -s conftest.err' | 
|---|
| 8214 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8215 |   (eval $ac_try) 2>&5 | 
|---|
| 8216 |   ac_status=$? | 
|---|
| 8217 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8218 |   (exit $ac_status); }; } && | 
|---|
| 8219 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8220 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8221 |   (eval $ac_try) 2>&5 | 
|---|
| 8222 |   ac_status=$? | 
|---|
| 8223 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8224 |   (exit $ac_status); }; }; then | 
|---|
| 8225 |   ac_header_compiler=yes | 
|---|
| 8226 | else | 
|---|
| 8227 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8228 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8229 |  | 
|---|
| 8230 | ac_header_compiler=no | 
|---|
| 8231 | fi | 
|---|
| 8232 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8233 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8234 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8235 |  | 
|---|
| 8236 | # Is the header present? | 
|---|
| 8237 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8238 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8239 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8240 | /* confdefs.h.  */ | 
|---|
| 8241 | _ACEOF | 
|---|
| 8242 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8243 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8244 | /* end confdefs.h.  */ | 
|---|
| 8245 | #include <$ac_header> | 
|---|
| 8246 | _ACEOF | 
|---|
| 8247 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8248 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8249 |   ac_status=$? | 
|---|
| 8250 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8251 |   rm -f conftest.er1 | 
|---|
| 8252 |   cat conftest.err >&5 | 
|---|
| 8253 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8254 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8255 |   if test -s conftest.err; then | 
|---|
| 8256 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8257 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8258 |   else | 
|---|
| 8259 |     ac_cpp_err= | 
|---|
| 8260 |   fi | 
|---|
| 8261 | else | 
|---|
| 8262 |   ac_cpp_err=yes | 
|---|
| 8263 | fi | 
|---|
| 8264 | if test -z "$ac_cpp_err"; then | 
|---|
| 8265 |   ac_header_preproc=yes | 
|---|
| 8266 | else | 
|---|
| 8267 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8268 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8269 |  | 
|---|
| 8270 |   ac_header_preproc=no | 
|---|
| 8271 | fi | 
|---|
| 8272 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8273 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8274 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8275 |  | 
|---|
| 8276 | # So?  What about this header? | 
|---|
| 8277 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8278 |   yes:no: ) | 
|---|
| 8279 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8280 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8281 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8282 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8283 |     ac_header_preproc=yes | 
|---|
| 8284 |     ;; | 
|---|
| 8285 |   no:yes:* ) | 
|---|
| 8286 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8287 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8288 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8289 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8290 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8291 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8292 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8293 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8294 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8295 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8296 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8297 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8298 |     ( | 
|---|
| 8299 |       cat <<\_ASBOX | 
|---|
| 8300 | ## ---------------------------------------------- ## | 
|---|
| 8301 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8302 | ## ---------------------------------------------- ## | 
|---|
| 8303 | _ASBOX | 
|---|
| 8304 |     ) | | 
|---|
| 8305 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8306 |     ;; | 
|---|
| 8307 | esac | 
|---|
| 8308 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8309 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8310 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8311 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8312 | else | 
|---|
| 8313 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8314 | fi | 
|---|
| 8315 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8316 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8317 |  | 
|---|
| 8318 | fi | 
|---|
| 8319 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8320 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8321 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8322 | _ACEOF | 
|---|
| 8323 |  | 
|---|
| 8324 | else | 
|---|
| 8325 |  | 
|---|
| 8326 | for ac_header in SDL/SDL_ttf.h | 
|---|
| 8327 | do | 
|---|
| 8328 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8329 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8330 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8331 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8332 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8333 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8334 | fi | 
|---|
| 8335 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8336 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8337 | else | 
|---|
| 8338 |   # Is the header compilable? | 
|---|
| 8339 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8340 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8341 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8342 | /* confdefs.h.  */ | 
|---|
| 8343 | _ACEOF | 
|---|
| 8344 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8345 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8346 | /* end confdefs.h.  */ | 
|---|
| 8347 | $ac_includes_default | 
|---|
| 8348 | #include <$ac_header> | 
|---|
| 8349 | _ACEOF | 
|---|
| 8350 | rm -f conftest.$ac_objext | 
|---|
| 8351 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8352 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8353 |   ac_status=$? | 
|---|
| 8354 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8355 |   rm -f conftest.er1 | 
|---|
| 8356 |   cat conftest.err >&5 | 
|---|
| 8357 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8358 |   (exit $ac_status); } && | 
|---|
| 8359 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8360 |                          || test ! -s conftest.err' | 
|---|
| 8361 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8362 |   (eval $ac_try) 2>&5 | 
|---|
| 8363 |   ac_status=$? | 
|---|
| 8364 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8365 |   (exit $ac_status); }; } && | 
|---|
| 8366 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8367 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8368 |   (eval $ac_try) 2>&5 | 
|---|
| 8369 |   ac_status=$? | 
|---|
| 8370 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8371 |   (exit $ac_status); }; }; then | 
|---|
| 8372 |   ac_header_compiler=yes | 
|---|
| 8373 | else | 
|---|
| 8374 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8375 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8376 |  | 
|---|
| 8377 | ac_header_compiler=no | 
|---|
| 8378 | fi | 
|---|
| 8379 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8380 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8381 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8382 |  | 
|---|
| 8383 | # Is the header present? | 
|---|
| 8384 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8385 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8386 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8387 | /* confdefs.h.  */ | 
|---|
| 8388 | _ACEOF | 
|---|
| 8389 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8390 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8391 | /* end confdefs.h.  */ | 
|---|
| 8392 | #include <$ac_header> | 
|---|
| 8393 | _ACEOF | 
|---|
| 8394 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8395 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8396 |   ac_status=$? | 
|---|
| 8397 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8398 |   rm -f conftest.er1 | 
|---|
| 8399 |   cat conftest.err >&5 | 
|---|
| 8400 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8401 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8402 |   if test -s conftest.err; then | 
|---|
| 8403 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8404 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8405 |   else | 
|---|
| 8406 |     ac_cpp_err= | 
|---|
| 8407 |   fi | 
|---|
| 8408 | else | 
|---|
| 8409 |   ac_cpp_err=yes | 
|---|
| 8410 | fi | 
|---|
| 8411 | if test -z "$ac_cpp_err"; then | 
|---|
| 8412 |   ac_header_preproc=yes | 
|---|
| 8413 | else | 
|---|
| 8414 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8415 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8416 |  | 
|---|
| 8417 |   ac_header_preproc=no | 
|---|
| 8418 | fi | 
|---|
| 8419 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8420 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8421 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8422 |  | 
|---|
| 8423 | # So?  What about this header? | 
|---|
| 8424 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8425 |   yes:no: ) | 
|---|
| 8426 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8427 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8428 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8429 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8430 |     ac_header_preproc=yes | 
|---|
| 8431 |     ;; | 
|---|
| 8432 |   no:yes:* ) | 
|---|
| 8433 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8434 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8435 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8436 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8437 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8438 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8439 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8440 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8441 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8442 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8443 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8444 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8445 |     ( | 
|---|
| 8446 |       cat <<\_ASBOX | 
|---|
| 8447 | ## ---------------------------------------------- ## | 
|---|
| 8448 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8449 | ## ---------------------------------------------- ## | 
|---|
| 8450 | _ASBOX | 
|---|
| 8451 |     ) | | 
|---|
| 8452 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8453 |     ;; | 
|---|
| 8454 | esac | 
|---|
| 8455 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8456 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8457 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8458 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8459 | else | 
|---|
| 8460 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8461 | fi | 
|---|
| 8462 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8463 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8464 |  | 
|---|
| 8465 | fi | 
|---|
| 8466 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8467 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8468 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8469 | _ACEOF | 
|---|
| 8470 |  | 
|---|
| 8471 | else | 
|---|
| 8472 |   { { echo "$as_me:$LINENO: error: cannot find SDL_ttf header." >&5 | 
|---|
| 8473 | echo "$as_me: error: cannot find SDL_ttf header." >&2;} | 
|---|
| 8474 |    { (exit 1); exit 1; }; } | 
|---|
| 8475 | fi | 
|---|
| 8476 |  | 
|---|
| 8477 | done | 
|---|
| 8478 |  | 
|---|
| 8479 | fi | 
|---|
| 8480 |  | 
|---|
| 8481 | done | 
|---|
| 8482 |  | 
|---|
| 8483 | # checking for SDL_ttf-lib | 
|---|
| 8484 |   echo "$as_me:$LINENO: checking for TTF_OpenFont in -lSDL_ttf" >&5 | 
|---|
| 8485 | echo $ECHO_N "checking for TTF_OpenFont in -lSDL_ttf... $ECHO_C" >&6 | 
|---|
| 8486 | if test "${ac_cv_lib_SDL_ttf_TTF_OpenFont+set}" = set; then | 
|---|
| 8487 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8488 | else | 
|---|
| 8489 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 8490 | LIBS="-lSDL_ttf  $LIBS" | 
|---|
| 8491 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8492 | /* confdefs.h.  */ | 
|---|
| 8493 | _ACEOF | 
|---|
| 8494 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8495 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8496 | /* end confdefs.h.  */ | 
|---|
| 8497 |  | 
|---|
| 8498 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 8499 | #ifdef __cplusplus | 
|---|
| 8500 | extern "C" | 
|---|
| 8501 | #endif | 
|---|
| 8502 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 8503 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 8504 | char TTF_OpenFont (); | 
|---|
| 8505 | int | 
|---|
| 8506 | main () | 
|---|
| 8507 | { | 
|---|
| 8508 | TTF_OpenFont (); | 
|---|
| 8509 |   ; | 
|---|
| 8510 |   return 0; | 
|---|
| 8511 | } | 
|---|
| 8512 | _ACEOF | 
|---|
| 8513 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8514 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8515 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8516 |   ac_status=$? | 
|---|
| 8517 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8518 |   rm -f conftest.er1 | 
|---|
| 8519 |   cat conftest.err >&5 | 
|---|
| 8520 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8521 |   (exit $ac_status); } && | 
|---|
| 8522 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8523 |                          || test ! -s conftest.err' | 
|---|
| 8524 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8525 |   (eval $ac_try) 2>&5 | 
|---|
| 8526 |   ac_status=$? | 
|---|
| 8527 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8528 |   (exit $ac_status); }; } && | 
|---|
| 8529 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8530 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8531 |   (eval $ac_try) 2>&5 | 
|---|
| 8532 |   ac_status=$? | 
|---|
| 8533 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8534 |   (exit $ac_status); }; }; then | 
|---|
| 8535 |   ac_cv_lib_SDL_ttf_TTF_OpenFont=yes | 
|---|
| 8536 | else | 
|---|
| 8537 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8538 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8539 |  | 
|---|
| 8540 | ac_cv_lib_SDL_ttf_TTF_OpenFont=no | 
|---|
| 8541 | fi | 
|---|
| 8542 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8543 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8544 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 8545 | fi | 
|---|
| 8546 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_OpenFont" >&5 | 
|---|
| 8547 | echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&6 | 
|---|
| 8548 | if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then | 
|---|
| 8549 |   FOUND_SDL_ttf=yes; LIBS="$LIBS -lSDL_ttf" | 
|---|
| 8550 | fi | 
|---|
| 8551 |  | 
|---|
| 8552 |      if test x$FOUND_SDL_ttf != xyes ; then | 
|---|
| 8553 |         echo "------------------" | 
|---|
| 8554 |         echo "SDL_ttf library not found." | 
|---|
| 8555 |         echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/" | 
|---|
| 8556 |         echo "------------------" | 
|---|
| 8557 |         exit -1 | 
|---|
| 8558 |      fi | 
|---|
| 8559 |  | 
|---|
| 8560 | #-----------# | 
|---|
| 8561 | # SDL_Image # | 
|---|
| 8562 | #-----------# | 
|---|
| 8563 | # checking for SDL_image-headers | 
|---|
| 8564 |  | 
|---|
| 8565 | for ac_header in SDL_image.h | 
|---|
| 8566 | do | 
|---|
| 8567 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8568 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8569 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8570 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8571 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8572 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8573 | fi | 
|---|
| 8574 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8575 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8576 | else | 
|---|
| 8577 |   # Is the header compilable? | 
|---|
| 8578 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8579 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8580 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8581 | /* confdefs.h.  */ | 
|---|
| 8582 | _ACEOF | 
|---|
| 8583 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8584 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8585 | /* end confdefs.h.  */ | 
|---|
| 8586 | $ac_includes_default | 
|---|
| 8587 | #include <$ac_header> | 
|---|
| 8588 | _ACEOF | 
|---|
| 8589 | rm -f conftest.$ac_objext | 
|---|
| 8590 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8591 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8592 |   ac_status=$? | 
|---|
| 8593 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8594 |   rm -f conftest.er1 | 
|---|
| 8595 |   cat conftest.err >&5 | 
|---|
| 8596 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8597 |   (exit $ac_status); } && | 
|---|
| 8598 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8599 |                          || test ! -s conftest.err' | 
|---|
| 8600 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8601 |   (eval $ac_try) 2>&5 | 
|---|
| 8602 |   ac_status=$? | 
|---|
| 8603 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8604 |   (exit $ac_status); }; } && | 
|---|
| 8605 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8606 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8607 |   (eval $ac_try) 2>&5 | 
|---|
| 8608 |   ac_status=$? | 
|---|
| 8609 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8610 |   (exit $ac_status); }; }; then | 
|---|
| 8611 |   ac_header_compiler=yes | 
|---|
| 8612 | else | 
|---|
| 8613 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8614 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8615 |  | 
|---|
| 8616 | ac_header_compiler=no | 
|---|
| 8617 | fi | 
|---|
| 8618 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8619 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8620 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8621 |  | 
|---|
| 8622 | # Is the header present? | 
|---|
| 8623 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8624 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8625 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8626 | /* confdefs.h.  */ | 
|---|
| 8627 | _ACEOF | 
|---|
| 8628 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8629 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8630 | /* end confdefs.h.  */ | 
|---|
| 8631 | #include <$ac_header> | 
|---|
| 8632 | _ACEOF | 
|---|
| 8633 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8634 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8635 |   ac_status=$? | 
|---|
| 8636 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8637 |   rm -f conftest.er1 | 
|---|
| 8638 |   cat conftest.err >&5 | 
|---|
| 8639 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8640 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8641 |   if test -s conftest.err; then | 
|---|
| 8642 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8643 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8644 |   else | 
|---|
| 8645 |     ac_cpp_err= | 
|---|
| 8646 |   fi | 
|---|
| 8647 | else | 
|---|
| 8648 |   ac_cpp_err=yes | 
|---|
| 8649 | fi | 
|---|
| 8650 | if test -z "$ac_cpp_err"; then | 
|---|
| 8651 |   ac_header_preproc=yes | 
|---|
| 8652 | else | 
|---|
| 8653 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8654 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8655 |  | 
|---|
| 8656 |   ac_header_preproc=no | 
|---|
| 8657 | fi | 
|---|
| 8658 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8659 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8660 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8661 |  | 
|---|
| 8662 | # So?  What about this header? | 
|---|
| 8663 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8664 |   yes:no: ) | 
|---|
| 8665 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8666 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8667 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8668 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8669 |     ac_header_preproc=yes | 
|---|
| 8670 |     ;; | 
|---|
| 8671 |   no:yes:* ) | 
|---|
| 8672 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8673 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8674 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8675 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8676 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8677 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8678 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8679 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8680 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8681 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8682 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8683 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8684 |     ( | 
|---|
| 8685 |       cat <<\_ASBOX | 
|---|
| 8686 | ## ---------------------------------------------- ## | 
|---|
| 8687 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8688 | ## ---------------------------------------------- ## | 
|---|
| 8689 | _ASBOX | 
|---|
| 8690 |     ) | | 
|---|
| 8691 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8692 |     ;; | 
|---|
| 8693 | esac | 
|---|
| 8694 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8695 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8696 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8697 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8698 | else | 
|---|
| 8699 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8700 | fi | 
|---|
| 8701 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8702 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8703 |  | 
|---|
| 8704 | fi | 
|---|
| 8705 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8706 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8707 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8708 | _ACEOF | 
|---|
| 8709 |  | 
|---|
| 8710 | else | 
|---|
| 8711 |  | 
|---|
| 8712 | for ac_header in SDL/SDL_image.h | 
|---|
| 8713 | do | 
|---|
| 8714 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8715 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8716 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8717 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8718 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8719 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8720 | fi | 
|---|
| 8721 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8722 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8723 | else | 
|---|
| 8724 |   # Is the header compilable? | 
|---|
| 8725 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8726 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8727 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8728 | /* confdefs.h.  */ | 
|---|
| 8729 | _ACEOF | 
|---|
| 8730 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8731 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8732 | /* end confdefs.h.  */ | 
|---|
| 8733 | $ac_includes_default | 
|---|
| 8734 | #include <$ac_header> | 
|---|
| 8735 | _ACEOF | 
|---|
| 8736 | rm -f conftest.$ac_objext | 
|---|
| 8737 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8738 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8739 |   ac_status=$? | 
|---|
| 8740 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8741 |   rm -f conftest.er1 | 
|---|
| 8742 |   cat conftest.err >&5 | 
|---|
| 8743 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8744 |   (exit $ac_status); } && | 
|---|
| 8745 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8746 |                          || test ! -s conftest.err' | 
|---|
| 8747 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8748 |   (eval $ac_try) 2>&5 | 
|---|
| 8749 |   ac_status=$? | 
|---|
| 8750 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8751 |   (exit $ac_status); }; } && | 
|---|
| 8752 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8753 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8754 |   (eval $ac_try) 2>&5 | 
|---|
| 8755 |   ac_status=$? | 
|---|
| 8756 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8757 |   (exit $ac_status); }; }; then | 
|---|
| 8758 |   ac_header_compiler=yes | 
|---|
| 8759 | else | 
|---|
| 8760 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8761 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8762 |  | 
|---|
| 8763 | ac_header_compiler=no | 
|---|
| 8764 | fi | 
|---|
| 8765 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8766 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8767 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8768 |  | 
|---|
| 8769 | # Is the header present? | 
|---|
| 8770 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8771 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8772 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8773 | /* confdefs.h.  */ | 
|---|
| 8774 | _ACEOF | 
|---|
| 8775 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8776 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8777 | /* end confdefs.h.  */ | 
|---|
| 8778 | #include <$ac_header> | 
|---|
| 8779 | _ACEOF | 
|---|
| 8780 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8781 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8782 |   ac_status=$? | 
|---|
| 8783 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8784 |   rm -f conftest.er1 | 
|---|
| 8785 |   cat conftest.err >&5 | 
|---|
| 8786 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8787 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8788 |   if test -s conftest.err; then | 
|---|
| 8789 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8790 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8791 |   else | 
|---|
| 8792 |     ac_cpp_err= | 
|---|
| 8793 |   fi | 
|---|
| 8794 | else | 
|---|
| 8795 |   ac_cpp_err=yes | 
|---|
| 8796 | fi | 
|---|
| 8797 | if test -z "$ac_cpp_err"; then | 
|---|
| 8798 |   ac_header_preproc=yes | 
|---|
| 8799 | else | 
|---|
| 8800 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8801 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8802 |  | 
|---|
| 8803 |   ac_header_preproc=no | 
|---|
| 8804 | fi | 
|---|
| 8805 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8806 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8807 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8808 |  | 
|---|
| 8809 | # So?  What about this header? | 
|---|
| 8810 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8811 |   yes:no: ) | 
|---|
| 8812 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8813 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8814 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8815 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8816 |     ac_header_preproc=yes | 
|---|
| 8817 |     ;; | 
|---|
| 8818 |   no:yes:* ) | 
|---|
| 8819 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8820 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8821 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8822 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8823 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8824 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8825 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8826 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8827 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8828 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8829 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8830 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8831 |     ( | 
|---|
| 8832 |       cat <<\_ASBOX | 
|---|
| 8833 | ## ---------------------------------------------- ## | 
|---|
| 8834 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8835 | ## ---------------------------------------------- ## | 
|---|
| 8836 | _ASBOX | 
|---|
| 8837 |     ) | | 
|---|
| 8838 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8839 |     ;; | 
|---|
| 8840 | esac | 
|---|
| 8841 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8842 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8843 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8844 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8845 | else | 
|---|
| 8846 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8847 | fi | 
|---|
| 8848 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8849 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8850 |  | 
|---|
| 8851 | fi | 
|---|
| 8852 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8853 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8854 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8855 | _ACEOF | 
|---|
| 8856 |  | 
|---|
| 8857 | else | 
|---|
| 8858 |   { { echo "$as_me:$LINENO: error: SDL_image header not found." >&5 | 
|---|
| 8859 | echo "$as_me: error: SDL_image header not found." >&2;} | 
|---|
| 8860 |    { (exit 1); exit 1; }; } | 
|---|
| 8861 | fi | 
|---|
| 8862 |  | 
|---|
| 8863 | done | 
|---|
| 8864 |  | 
|---|
| 8865 | fi | 
|---|
| 8866 |  | 
|---|
| 8867 | done | 
|---|
| 8868 |  | 
|---|
| 8869 | # checking for SDL_image-lib | 
|---|
| 8870 | echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | 
|---|
| 8871 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 | 
|---|
| 8872 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | 
|---|
| 8873 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8874 | else | 
|---|
| 8875 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 8876 | LIBS="-lSDL_image  $LIBS" | 
|---|
| 8877 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8878 | /* confdefs.h.  */ | 
|---|
| 8879 | _ACEOF | 
|---|
| 8880 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8881 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8882 | /* end confdefs.h.  */ | 
|---|
| 8883 |  | 
|---|
| 8884 |  | 
|---|
| 8885 | int | 
|---|
| 8886 | main () | 
|---|
| 8887 | { | 
|---|
| 8888 | main (); | 
|---|
| 8889 |   ; | 
|---|
| 8890 |   return 0; | 
|---|
| 8891 | } | 
|---|
| 8892 | _ACEOF | 
|---|
| 8893 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8894 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8895 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8896 |   ac_status=$? | 
|---|
| 8897 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8898 |   rm -f conftest.er1 | 
|---|
| 8899 |   cat conftest.err >&5 | 
|---|
| 8900 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8901 |   (exit $ac_status); } && | 
|---|
| 8902 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8903 |                          || test ! -s conftest.err' | 
|---|
| 8904 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8905 |   (eval $ac_try) 2>&5 | 
|---|
| 8906 |   ac_status=$? | 
|---|
| 8907 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8908 |   (exit $ac_status); }; } && | 
|---|
| 8909 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8910 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8911 |   (eval $ac_try) 2>&5 | 
|---|
| 8912 |   ac_status=$? | 
|---|
| 8913 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8914 |   (exit $ac_status); }; }; then | 
|---|
| 8915 |   ac_cv_lib_SDL_image_main=yes | 
|---|
| 8916 | else | 
|---|
| 8917 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8918 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8919 |  | 
|---|
| 8920 | ac_cv_lib_SDL_image_main=no | 
|---|
| 8921 | fi | 
|---|
| 8922 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8923 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8924 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 8925 | fi | 
|---|
| 8926 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | 
|---|
| 8927 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 | 
|---|
| 8928 | if test $ac_cv_lib_SDL_image_main = yes; then | 
|---|
| 8929 |   FOUND_SDL_image=yes; LIBS="$LIBS -lSDL_image" | 
|---|
| 8930 | fi | 
|---|
| 8931 |  | 
|---|
| 8932 |    if test x$FOUND_SDL_image != xyes ; then | 
|---|
| 8933 |       echo "------------------" | 
|---|
| 8934 |       echo "SDL_image library not found." | 
|---|
| 8935 |       echo "please install the SDL_image library, which can be found at http://www.l ibsdl.org/projects/SDL_image/" | 
|---|
| 8936 |       echo "------------------" | 
|---|
| 8937 |       exit -1 | 
|---|
| 8938 |    fi | 
|---|
| 8939 |  | 
|---|
| 8940 | #-----# | 
|---|
| 8941 | # ogg # | 
|---|
| 8942 | #-----# | 
|---|
| 8943 | # checking for ogg-headers | 
|---|
| 8944 |  | 
|---|
| 8945 | for ac_header in ogg/ogg.h | 
|---|
| 8946 | do | 
|---|
| 8947 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8948 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8949 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8950 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8951 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8952 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8953 | fi | 
|---|
| 8954 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8955 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8956 | else | 
|---|
| 8957 |   # Is the header compilable? | 
|---|
| 8958 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8959 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8960 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8961 | /* confdefs.h.  */ | 
|---|
| 8962 | _ACEOF | 
|---|
| 8963 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8964 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8965 | /* end confdefs.h.  */ | 
|---|
| 8966 | $ac_includes_default | 
|---|
| 8967 | #include <$ac_header> | 
|---|
| 8968 | _ACEOF | 
|---|
| 8969 | rm -f conftest.$ac_objext | 
|---|
| 8970 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8971 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8972 |   ac_status=$? | 
|---|
| 8973 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8974 |   rm -f conftest.er1 | 
|---|
| 8975 |   cat conftest.err >&5 | 
|---|
| 8976 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8977 |   (exit $ac_status); } && | 
|---|
| 8978 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8979 |                          || test ! -s conftest.err' | 
|---|
| 8980 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8981 |   (eval $ac_try) 2>&5 | 
|---|
| 8982 |   ac_status=$? | 
|---|
| 8983 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8984 |   (exit $ac_status); }; } && | 
|---|
| 8985 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8986 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8987 |   (eval $ac_try) 2>&5 | 
|---|
| 8988 |   ac_status=$? | 
|---|
| 8989 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8990 |   (exit $ac_status); }; }; then | 
|---|
| 8991 |   ac_header_compiler=yes | 
|---|
| 8992 | else | 
|---|
| 8993 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8994 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8995 |  | 
|---|
| 8996 | ac_header_compiler=no | 
|---|
| 8997 | fi | 
|---|
| 8998 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8999 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 9000 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 9001 |  | 
|---|
| 9002 | # Is the header present? | 
|---|
| 9003 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 9004 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 9005 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9006 | /* confdefs.h.  */ | 
|---|
| 9007 | _ACEOF | 
|---|
| 9008 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9009 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9010 | /* end confdefs.h.  */ | 
|---|
| 9011 | #include <$ac_header> | 
|---|
| 9012 | _ACEOF | 
|---|
| 9013 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 9014 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 9015 |   ac_status=$? | 
|---|
| 9016 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9017 |   rm -f conftest.er1 | 
|---|
| 9018 |   cat conftest.err >&5 | 
|---|
| 9019 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9020 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 9021 |   if test -s conftest.err; then | 
|---|
| 9022 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 9023 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 9024 |   else | 
|---|
| 9025 |     ac_cpp_err= | 
|---|
| 9026 |   fi | 
|---|
| 9027 | else | 
|---|
| 9028 |   ac_cpp_err=yes | 
|---|
| 9029 | fi | 
|---|
| 9030 | if test -z "$ac_cpp_err"; then | 
|---|
| 9031 |   ac_header_preproc=yes | 
|---|
| 9032 | else | 
|---|
| 9033 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9034 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9035 |  | 
|---|
| 9036 |   ac_header_preproc=no | 
|---|
| 9037 | fi | 
|---|
| 9038 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 9039 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 9040 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 9041 |  | 
|---|
| 9042 | # So?  What about this header? | 
|---|
| 9043 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 9044 |   yes:no: ) | 
|---|
| 9045 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 9046 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 9047 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 9048 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 9049 |     ac_header_preproc=yes | 
|---|
| 9050 |     ;; | 
|---|
| 9051 |   no:yes:* ) | 
|---|
| 9052 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 9053 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 9054 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 9055 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 9056 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 9057 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 9058 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 9059 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 9060 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 9061 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 9062 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 9063 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 9064 |     ( | 
|---|
| 9065 |       cat <<\_ASBOX | 
|---|
| 9066 | ## ---------------------------------------------- ## | 
|---|
| 9067 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 9068 | ## ---------------------------------------------- ## | 
|---|
| 9069 | _ASBOX | 
|---|
| 9070 |     ) | | 
|---|
| 9071 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 9072 |     ;; | 
|---|
| 9073 | esac | 
|---|
| 9074 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 9075 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 9076 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9077 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9078 | else | 
|---|
| 9079 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 9080 | fi | 
|---|
| 9081 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 9082 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 9083 |  | 
|---|
| 9084 | fi | 
|---|
| 9085 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 9086 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 9087 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 9088 | _ACEOF | 
|---|
| 9089 |  | 
|---|
| 9090 | else | 
|---|
| 9091 |   { { echo "$as_me:$LINENO: error: cannot find ogg header." >&5 | 
|---|
| 9092 | echo "$as_me: error: cannot find ogg header." >&2;} | 
|---|
| 9093 |    { (exit 1); exit 1; }; } | 
|---|
| 9094 | fi | 
|---|
| 9095 |  | 
|---|
| 9096 | done | 
|---|
| 9097 |  | 
|---|
| 9098 | # checking for ogg-lib | 
|---|
| 9099 |   echo "$as_me:$LINENO: checking for main in -logg" >&5 | 
|---|
| 9100 | echo $ECHO_N "checking for main in -logg... $ECHO_C" >&6 | 
|---|
| 9101 | if test "${ac_cv_lib_ogg_main+set}" = set; then | 
|---|
| 9102 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9103 | else | 
|---|
| 9104 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9105 | LIBS="-logg  $LIBS" | 
|---|
| 9106 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9107 | /* confdefs.h.  */ | 
|---|
| 9108 | _ACEOF | 
|---|
| 9109 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9110 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9111 | /* end confdefs.h.  */ | 
|---|
| 9112 |  | 
|---|
| 9113 |  | 
|---|
| 9114 | int | 
|---|
| 9115 | main () | 
|---|
| 9116 | { | 
|---|
| 9117 | main (); | 
|---|
| 9118 |   ; | 
|---|
| 9119 |   return 0; | 
|---|
| 9120 | } | 
|---|
| 9121 | _ACEOF | 
|---|
| 9122 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9123 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9124 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9125 |   ac_status=$? | 
|---|
| 9126 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9127 |   rm -f conftest.er1 | 
|---|
| 9128 |   cat conftest.err >&5 | 
|---|
| 9129 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9130 |   (exit $ac_status); } && | 
|---|
| 9131 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9132 |                          || test ! -s conftest.err' | 
|---|
| 9133 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9134 |   (eval $ac_try) 2>&5 | 
|---|
| 9135 |   ac_status=$? | 
|---|
| 9136 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9137 |   (exit $ac_status); }; } && | 
|---|
| 9138 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9139 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9140 |   (eval $ac_try) 2>&5 | 
|---|
| 9141 |   ac_status=$? | 
|---|
| 9142 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9143 |   (exit $ac_status); }; }; then | 
|---|
| 9144 |   ac_cv_lib_ogg_main=yes | 
|---|
| 9145 | else | 
|---|
| 9146 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9147 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9148 |  | 
|---|
| 9149 | ac_cv_lib_ogg_main=no | 
|---|
| 9150 | fi | 
|---|
| 9151 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9152 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9153 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9154 | fi | 
|---|
| 9155 | echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_main" >&5 | 
|---|
| 9156 | echo "${ECHO_T}$ac_cv_lib_ogg_main" >&6 | 
|---|
| 9157 | if test $ac_cv_lib_ogg_main = yes; then | 
|---|
| 9158 |   FOUND_ogg=yes; LIBS="$LIBS -logg" | 
|---|
| 9159 | fi | 
|---|
| 9160 |  | 
|---|
| 9161 |      if test x$FOUND_ogg != xyes ; then | 
|---|
| 9162 |         echo "------------------" | 
|---|
| 9163 |         echo "ogg library not found." | 
|---|
| 9164 |         echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 9165 |         echo "------------------" | 
|---|
| 9166 |         exit -1 | 
|---|
| 9167 |      fi | 
|---|
| 9168 |  | 
|---|
| 9169 | #--------# | 
|---|
| 9170 | # vorbis # | 
|---|
| 9171 | #--------# | 
|---|
| 9172 | # checking for vorbis-lib | 
|---|
| 9173 |   echo "$as_me:$LINENO: checking for main in -lvorbis" >&5 | 
|---|
| 9174 | echo $ECHO_N "checking for main in -lvorbis... $ECHO_C" >&6 | 
|---|
| 9175 | if test "${ac_cv_lib_vorbis_main+set}" = set; then | 
|---|
| 9176 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9177 | else | 
|---|
| 9178 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9179 | LIBS="-lvorbis  $LIBS" | 
|---|
| 9180 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9181 | /* confdefs.h.  */ | 
|---|
| 9182 | _ACEOF | 
|---|
| 9183 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9184 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9185 | /* end confdefs.h.  */ | 
|---|
| 9186 |  | 
|---|
| 9187 |  | 
|---|
| 9188 | int | 
|---|
| 9189 | main () | 
|---|
| 9190 | { | 
|---|
| 9191 | main (); | 
|---|
| 9192 |   ; | 
|---|
| 9193 |   return 0; | 
|---|
| 9194 | } | 
|---|
| 9195 | _ACEOF | 
|---|
| 9196 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9197 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9198 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9199 |   ac_status=$? | 
|---|
| 9200 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9201 |   rm -f conftest.er1 | 
|---|
| 9202 |   cat conftest.err >&5 | 
|---|
| 9203 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9204 |   (exit $ac_status); } && | 
|---|
| 9205 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9206 |                          || test ! -s conftest.err' | 
|---|
| 9207 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9208 |   (eval $ac_try) 2>&5 | 
|---|
| 9209 |   ac_status=$? | 
|---|
| 9210 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9211 |   (exit $ac_status); }; } && | 
|---|
| 9212 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9213 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9214 |   (eval $ac_try) 2>&5 | 
|---|
| 9215 |   ac_status=$? | 
|---|
| 9216 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9217 |   (exit $ac_status); }; }; then | 
|---|
| 9218 |   ac_cv_lib_vorbis_main=yes | 
|---|
| 9219 | else | 
|---|
| 9220 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9221 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9222 |  | 
|---|
| 9223 | ac_cv_lib_vorbis_main=no | 
|---|
| 9224 | fi | 
|---|
| 9225 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9226 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9227 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9228 | fi | 
|---|
| 9229 | echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_main" >&5 | 
|---|
| 9230 | echo "${ECHO_T}$ac_cv_lib_vorbis_main" >&6 | 
|---|
| 9231 | if test $ac_cv_lib_vorbis_main = yes; then | 
|---|
| 9232 |   FOUND_vorbis=yes; LIBS="$LIBS -lvorbis" | 
|---|
| 9233 | fi | 
|---|
| 9234 |  | 
|---|
| 9235 |      if test x$FOUND_vorbis != xyes ; then | 
|---|
| 9236 |         echo "------------------" | 
|---|
| 9237 |         echo "vorbis library not found." | 
|---|
| 9238 |         echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 9239 |         echo "------------------" | 
|---|
| 9240 |         exit -1 | 
|---|
| 9241 |      fi | 
|---|
| 9242 |  | 
|---|
| 9243 | #------------# | 
|---|
| 9244 | # vorbisfile # | 
|---|
| 9245 | #------------# | 
|---|
| 9246 | # checking for vorbis-headers | 
|---|
| 9247 |  | 
|---|
| 9248 | for ac_header in vorbis/vorbisfile.h | 
|---|
| 9249 | do | 
|---|
| 9250 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 9251 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9252 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 9253 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 9254 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9255 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9256 | fi | 
|---|
| 9257 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 9258 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 9259 | else | 
|---|
| 9260 |   # Is the header compilable? | 
|---|
| 9261 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 9262 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 9263 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9264 | /* confdefs.h.  */ | 
|---|
| 9265 | _ACEOF | 
|---|
| 9266 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9267 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9268 | /* end confdefs.h.  */ | 
|---|
| 9269 | $ac_includes_default | 
|---|
| 9270 | #include <$ac_header> | 
|---|
| 9271 | _ACEOF | 
|---|
| 9272 | rm -f conftest.$ac_objext | 
|---|
| 9273 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 9274 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 9275 |   ac_status=$? | 
|---|
| 9276 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9277 |   rm -f conftest.er1 | 
|---|
| 9278 |   cat conftest.err >&5 | 
|---|
| 9279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9280 |   (exit $ac_status); } && | 
|---|
| 9281 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9282 |                          || test ! -s conftest.err' | 
|---|
| 9283 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9284 |   (eval $ac_try) 2>&5 | 
|---|
| 9285 |   ac_status=$? | 
|---|
| 9286 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9287 |   (exit $ac_status); }; } && | 
|---|
| 9288 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 9289 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9290 |   (eval $ac_try) 2>&5 | 
|---|
| 9291 |   ac_status=$? | 
|---|
| 9292 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9293 |   (exit $ac_status); }; }; then | 
|---|
| 9294 |   ac_header_compiler=yes | 
|---|
| 9295 | else | 
|---|
| 9296 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9297 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9298 |  | 
|---|
| 9299 | ac_header_compiler=no | 
|---|
| 9300 | fi | 
|---|
| 9301 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 9302 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 9303 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 9304 |  | 
|---|
| 9305 | # Is the header present? | 
|---|
| 9306 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 9307 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 9308 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9309 | /* confdefs.h.  */ | 
|---|
| 9310 | _ACEOF | 
|---|
| 9311 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9312 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9313 | /* end confdefs.h.  */ | 
|---|
| 9314 | #include <$ac_header> | 
|---|
| 9315 | _ACEOF | 
|---|
| 9316 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 9317 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 9318 |   ac_status=$? | 
|---|
| 9319 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9320 |   rm -f conftest.er1 | 
|---|
| 9321 |   cat conftest.err >&5 | 
|---|
| 9322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9323 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 9324 |   if test -s conftest.err; then | 
|---|
| 9325 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 9326 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 9327 |   else | 
|---|
| 9328 |     ac_cpp_err= | 
|---|
| 9329 |   fi | 
|---|
| 9330 | else | 
|---|
| 9331 |   ac_cpp_err=yes | 
|---|
| 9332 | fi | 
|---|
| 9333 | if test -z "$ac_cpp_err"; then | 
|---|
| 9334 |   ac_header_preproc=yes | 
|---|
| 9335 | else | 
|---|
| 9336 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9337 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9338 |  | 
|---|
| 9339 |   ac_header_preproc=no | 
|---|
| 9340 | fi | 
|---|
| 9341 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 9342 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 9343 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 9344 |  | 
|---|
| 9345 | # So?  What about this header? | 
|---|
| 9346 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 9347 |   yes:no: ) | 
|---|
| 9348 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 9349 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 9350 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 9351 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 9352 |     ac_header_preproc=yes | 
|---|
| 9353 |     ;; | 
|---|
| 9354 |   no:yes:* ) | 
|---|
| 9355 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 9356 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 9357 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 9358 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 9359 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 9360 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 9361 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 9362 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 9363 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 9364 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 9365 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 9366 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 9367 |     ( | 
|---|
| 9368 |       cat <<\_ASBOX | 
|---|
| 9369 | ## ---------------------------------------------- ## | 
|---|
| 9370 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 9371 | ## ---------------------------------------------- ## | 
|---|
| 9372 | _ASBOX | 
|---|
| 9373 |     ) | | 
|---|
| 9374 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 9375 |     ;; | 
|---|
| 9376 | esac | 
|---|
| 9377 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 9378 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 9379 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9380 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9381 | else | 
|---|
| 9382 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 9383 | fi | 
|---|
| 9384 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 9385 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 9386 |  | 
|---|
| 9387 | fi | 
|---|
| 9388 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 9389 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 9390 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 9391 | _ACEOF | 
|---|
| 9392 |  | 
|---|
| 9393 | else | 
|---|
| 9394 |   { { echo "$as_me:$LINENO: error: cannot find vorbisfile header." >&5 | 
|---|
| 9395 | echo "$as_me: error: cannot find vorbisfile header." >&2;} | 
|---|
| 9396 |    { (exit 1); exit 1; }; } | 
|---|
| 9397 | fi | 
|---|
| 9398 |  | 
|---|
| 9399 | done | 
|---|
| 9400 |  | 
|---|
| 9401 | # checking for vorbisfile-lib | 
|---|
| 9402 |   echo "$as_me:$LINENO: checking for main in -lvorbisfile" >&5 | 
|---|
| 9403 | echo $ECHO_N "checking for main in -lvorbisfile... $ECHO_C" >&6 | 
|---|
| 9404 | if test "${ac_cv_lib_vorbisfile_main+set}" = set; then | 
|---|
| 9405 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9406 | else | 
|---|
| 9407 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9408 | LIBS="-lvorbisfile  $LIBS" | 
|---|
| 9409 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9410 | /* confdefs.h.  */ | 
|---|
| 9411 | _ACEOF | 
|---|
| 9412 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9413 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9414 | /* end confdefs.h.  */ | 
|---|
| 9415 |  | 
|---|
| 9416 |  | 
|---|
| 9417 | int | 
|---|
| 9418 | main () | 
|---|
| 9419 | { | 
|---|
| 9420 | main (); | 
|---|
| 9421 |   ; | 
|---|
| 9422 |   return 0; | 
|---|
| 9423 | } | 
|---|
| 9424 | _ACEOF | 
|---|
| 9425 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9426 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9427 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9428 |   ac_status=$? | 
|---|
| 9429 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9430 |   rm -f conftest.er1 | 
|---|
| 9431 |   cat conftest.err >&5 | 
|---|
| 9432 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9433 |   (exit $ac_status); } && | 
|---|
| 9434 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9435 |                          || test ! -s conftest.err' | 
|---|
| 9436 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9437 |   (eval $ac_try) 2>&5 | 
|---|
| 9438 |   ac_status=$? | 
|---|
| 9439 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9440 |   (exit $ac_status); }; } && | 
|---|
| 9441 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9442 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9443 |   (eval $ac_try) 2>&5 | 
|---|
| 9444 |   ac_status=$? | 
|---|
| 9445 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9446 |   (exit $ac_status); }; }; then | 
|---|
| 9447 |   ac_cv_lib_vorbisfile_main=yes | 
|---|
| 9448 | else | 
|---|
| 9449 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9450 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9451 |  | 
|---|
| 9452 | ac_cv_lib_vorbisfile_main=no | 
|---|
| 9453 | fi | 
|---|
| 9454 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9455 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9456 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9457 | fi | 
|---|
| 9458 | echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_main" >&5 | 
|---|
| 9459 | echo "${ECHO_T}$ac_cv_lib_vorbisfile_main" >&6 | 
|---|
| 9460 | if test $ac_cv_lib_vorbisfile_main = yes; then | 
|---|
| 9461 |   FOUND_vorbisfile=yes; LIBS="$LIBS -lvorbisfile" | 
|---|
| 9462 | fi | 
|---|
| 9463 |  | 
|---|
| 9464 |      if test x$FOUND_vorbisfile != xyes ; then | 
|---|
| 9465 |         echo "------------------" | 
|---|
| 9466 |         echo "vorbisfile library not found." | 
|---|
| 9467 |         echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 9468 |         echo "------------------" | 
|---|
| 9469 |         exit -1 | 
|---|
| 9470 |      fi | 
|---|
| 9471 |  | 
|---|
| 9472 |  | 
|---|
| 9473 | #---------# | 
|---|
| 9474 | # libcURL # | 
|---|
| 9475 | #---------# | 
|---|
| 9476 | if test x$def_curl = xyes; then | 
|---|
| 9477 |  | 
|---|
| 9478 | for ac_header in curl/curl.h | 
|---|
| 9479 | do | 
|---|
| 9480 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 9481 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9482 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 9483 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 9484 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9485 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9486 | fi | 
|---|
| 9487 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 9488 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 9489 | else | 
|---|
| 9490 |   # Is the header compilable? | 
|---|
| 9491 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 9492 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 9493 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9494 | /* confdefs.h.  */ | 
|---|
| 9495 | _ACEOF | 
|---|
| 9496 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9497 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9498 | /* end confdefs.h.  */ | 
|---|
| 9499 | $ac_includes_default | 
|---|
| 9500 | #include <$ac_header> | 
|---|
| 9501 | _ACEOF | 
|---|
| 9502 | rm -f conftest.$ac_objext | 
|---|
| 9503 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 9504 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 9505 |   ac_status=$? | 
|---|
| 9506 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9507 |   rm -f conftest.er1 | 
|---|
| 9508 |   cat conftest.err >&5 | 
|---|
| 9509 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9510 |   (exit $ac_status); } && | 
|---|
| 9511 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9512 |                          || test ! -s conftest.err' | 
|---|
| 9513 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9514 |   (eval $ac_try) 2>&5 | 
|---|
| 9515 |   ac_status=$? | 
|---|
| 9516 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9517 |   (exit $ac_status); }; } && | 
|---|
| 9518 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 9519 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9520 |   (eval $ac_try) 2>&5 | 
|---|
| 9521 |   ac_status=$? | 
|---|
| 9522 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9523 |   (exit $ac_status); }; }; then | 
|---|
| 9524 |   ac_header_compiler=yes | 
|---|
| 9525 | else | 
|---|
| 9526 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9527 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9528 |  | 
|---|
| 9529 | ac_header_compiler=no | 
|---|
| 9530 | fi | 
|---|
| 9531 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 9532 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 9533 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 9534 |  | 
|---|
| 9535 | # Is the header present? | 
|---|
| 9536 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 9537 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 9538 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9539 | /* confdefs.h.  */ | 
|---|
| 9540 | _ACEOF | 
|---|
| 9541 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9542 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9543 | /* end confdefs.h.  */ | 
|---|
| 9544 | #include <$ac_header> | 
|---|
| 9545 | _ACEOF | 
|---|
| 9546 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 9547 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 9548 |   ac_status=$? | 
|---|
| 9549 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9550 |   rm -f conftest.er1 | 
|---|
| 9551 |   cat conftest.err >&5 | 
|---|
| 9552 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9553 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 9554 |   if test -s conftest.err; then | 
|---|
| 9555 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 9556 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 9557 |   else | 
|---|
| 9558 |     ac_cpp_err= | 
|---|
| 9559 |   fi | 
|---|
| 9560 | else | 
|---|
| 9561 |   ac_cpp_err=yes | 
|---|
| 9562 | fi | 
|---|
| 9563 | if test -z "$ac_cpp_err"; then | 
|---|
| 9564 |   ac_header_preproc=yes | 
|---|
| 9565 | else | 
|---|
| 9566 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9567 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9568 |  | 
|---|
| 9569 |   ac_header_preproc=no | 
|---|
| 9570 | fi | 
|---|
| 9571 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 9572 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 9573 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 9574 |  | 
|---|
| 9575 | # So?  What about this header? | 
|---|
| 9576 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 9577 |   yes:no: ) | 
|---|
| 9578 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 9579 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 9580 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 9581 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 9582 |     ac_header_preproc=yes | 
|---|
| 9583 |     ;; | 
|---|
| 9584 |   no:yes:* ) | 
|---|
| 9585 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 9586 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 9587 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 9588 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 9589 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 9590 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 9591 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 9592 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 9593 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 9594 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 9595 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 9596 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 9597 |     ( | 
|---|
| 9598 |       cat <<\_ASBOX | 
|---|
| 9599 | ## ---------------------------------------------- ## | 
|---|
| 9600 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 9601 | ## ---------------------------------------------- ## | 
|---|
| 9602 | _ASBOX | 
|---|
| 9603 |     ) | | 
|---|
| 9604 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 9605 |     ;; | 
|---|
| 9606 | esac | 
|---|
| 9607 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 9608 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 9609 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 9610 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9611 | else | 
|---|
| 9612 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 9613 | fi | 
|---|
| 9614 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 9615 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 9616 |  | 
|---|
| 9617 | fi | 
|---|
| 9618 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 9619 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 9620 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 9621 | _ACEOF | 
|---|
| 9622 |  curlHeader=yes | 
|---|
| 9623 | else | 
|---|
| 9624 |   curlHeader=no | 
|---|
| 9625 | fi | 
|---|
| 9626 |  | 
|---|
| 9627 | done | 
|---|
| 9628 |  | 
|---|
| 9629 |  echo "$as_me:$LINENO: checking for main in -lcurl" >&5 | 
|---|
| 9630 | echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 | 
|---|
| 9631 | if test "${ac_cv_lib_curl_main+set}" = set; then | 
|---|
| 9632 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9633 | else | 
|---|
| 9634 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9635 | LIBS="-lcurl  $LIBS" | 
|---|
| 9636 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9637 | /* confdefs.h.  */ | 
|---|
| 9638 | _ACEOF | 
|---|
| 9639 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9640 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9641 | /* end confdefs.h.  */ | 
|---|
| 9642 |  | 
|---|
| 9643 |  | 
|---|
| 9644 | int | 
|---|
| 9645 | main () | 
|---|
| 9646 | { | 
|---|
| 9647 | main (); | 
|---|
| 9648 |   ; | 
|---|
| 9649 |   return 0; | 
|---|
| 9650 | } | 
|---|
| 9651 | _ACEOF | 
|---|
| 9652 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9653 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9654 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9655 |   ac_status=$? | 
|---|
| 9656 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9657 |   rm -f conftest.er1 | 
|---|
| 9658 |   cat conftest.err >&5 | 
|---|
| 9659 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9660 |   (exit $ac_status); } && | 
|---|
| 9661 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9662 |                          || test ! -s conftest.err' | 
|---|
| 9663 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9664 |   (eval $ac_try) 2>&5 | 
|---|
| 9665 |   ac_status=$? | 
|---|
| 9666 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9667 |   (exit $ac_status); }; } && | 
|---|
| 9668 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9669 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9670 |   (eval $ac_try) 2>&5 | 
|---|
| 9671 |   ac_status=$? | 
|---|
| 9672 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9673 |   (exit $ac_status); }; }; then | 
|---|
| 9674 |   ac_cv_lib_curl_main=yes | 
|---|
| 9675 | else | 
|---|
| 9676 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9677 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9678 |  | 
|---|
| 9679 | ac_cv_lib_curl_main=no | 
|---|
| 9680 | fi | 
|---|
| 9681 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9682 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9683 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9684 | fi | 
|---|
| 9685 | echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 | 
|---|
| 9686 | echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 | 
|---|
| 9687 | if test $ac_cv_lib_curl_main = yes; then | 
|---|
| 9688 |   FOUND_curl=yes | 
|---|
| 9689 | fi | 
|---|
| 9690 |  | 
|---|
| 9691 |  if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then | 
|---|
| 9692 |   have_curl=yes | 
|---|
| 9693 |   CURL_LIBS=`curl-config --libs` | 
|---|
| 9694 |   CURLCFLAGS=`curl-config --cflags` | 
|---|
| 9695 |  | 
|---|
| 9696 | cat >>confdefs.h <<_ACEOF | 
|---|
| 9697 | #define HAVE_CURL 1 | 
|---|
| 9698 | _ACEOF | 
|---|
| 9699 |  | 
|---|
| 9700 |  else | 
|---|
| 9701 |   have_curl=no | 
|---|
| 9702 |  fi | 
|---|
| 9703 |  | 
|---|
| 9704 | fi | 
|---|
| 9705 |  | 
|---|
| 9706 |  | 
|---|
| 9707 |  | 
|---|
| 9708 |  | 
|---|
| 9709 | if test x$have_curl = xyes; then | 
|---|
| 9710 |   HAVE_CURL_TRUE= | 
|---|
| 9711 |   HAVE_CURL_FALSE='#' | 
|---|
| 9712 | else | 
|---|
| 9713 |   HAVE_CURL_TRUE='#' | 
|---|
| 9714 |   HAVE_CURL_FALSE= | 
|---|
| 9715 | fi | 
|---|
| 9716 |  | 
|---|
| 9717 |  | 
|---|
| 9718 | #--------# | 
|---|
| 9719 | # efence # | 
|---|
| 9720 | #--------# | 
|---|
| 9721 | if test x$def_efence = xyes ; then | 
|---|
| 9722 |   echo "$as_me:$LINENO: checking for main in -lefence" >&5 | 
|---|
| 9723 | echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 | 
|---|
| 9724 | if test "${ac_cv_lib_efence_main+set}" = set; then | 
|---|
| 9725 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9726 | else | 
|---|
| 9727 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9728 | LIBS="-lefence  $LIBS" | 
|---|
| 9729 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9730 | /* confdefs.h.  */ | 
|---|
| 9731 | _ACEOF | 
|---|
| 9732 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9733 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9734 | /* end confdefs.h.  */ | 
|---|
| 9735 |  | 
|---|
| 9736 |  | 
|---|
| 9737 | int | 
|---|
| 9738 | main () | 
|---|
| 9739 | { | 
|---|
| 9740 | main (); | 
|---|
| 9741 |   ; | 
|---|
| 9742 |   return 0; | 
|---|
| 9743 | } | 
|---|
| 9744 | _ACEOF | 
|---|
| 9745 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9746 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9747 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9748 |   ac_status=$? | 
|---|
| 9749 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9750 |   rm -f conftest.er1 | 
|---|
| 9751 |   cat conftest.err >&5 | 
|---|
| 9752 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9753 |   (exit $ac_status); } && | 
|---|
| 9754 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9755 |                          || test ! -s conftest.err' | 
|---|
| 9756 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9757 |   (eval $ac_try) 2>&5 | 
|---|
| 9758 |   ac_status=$? | 
|---|
| 9759 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9760 |   (exit $ac_status); }; } && | 
|---|
| 9761 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9762 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9763 |   (eval $ac_try) 2>&5 | 
|---|
| 9764 |   ac_status=$? | 
|---|
| 9765 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9766 |   (exit $ac_status); }; }; then | 
|---|
| 9767 |   ac_cv_lib_efence_main=yes | 
|---|
| 9768 | else | 
|---|
| 9769 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9770 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9771 |  | 
|---|
| 9772 | ac_cv_lib_efence_main=no | 
|---|
| 9773 | fi | 
|---|
| 9774 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9775 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9776 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9777 | fi | 
|---|
| 9778 | echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 | 
|---|
| 9779 | echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 | 
|---|
| 9780 | if test $ac_cv_lib_efence_main = yes; then | 
|---|
| 9781 |   FOUND_efence=yes; LIBS="$LIBS -lefence" | 
|---|
| 9782 | fi | 
|---|
| 9783 |  | 
|---|
| 9784 |    if test x$FOUND_efence != xyes ; then | 
|---|
| 9785 |      echo "efence was requested, but is not installed!! going on" | 
|---|
| 9786 |    fi | 
|---|
| 9787 |  | 
|---|
| 9788 | fi | 
|---|
| 9789 |  | 
|---|
| 9790 | #-----# | 
|---|
| 9791 | # GTK # | 
|---|
| 9792 | #-----# | 
|---|
| 9793 | if test x$def_gtk = xyes; then | 
|---|
| 9794 | #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
| 9795 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| 9796 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| 9797 |         if `$PKG_CONFIG --exists gtk+-2.0`; then | 
|---|
| 9798 |                 echo "yes" | 
|---|
| 9799 |                 have_gtk2=yes | 
|---|
| 9800 |                 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0` | 
|---|
| 9801 |                 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 
|---|
| 9802 |  | 
|---|
| 9803 | cat >>confdefs.h <<_ACEOF | 
|---|
| 9804 | #define HAVE_GTK2 1 | 
|---|
| 9805 | _ACEOF | 
|---|
| 9806 |  | 
|---|
| 9807 |                 if test $DEBUG -ge 3; then | 
|---|
| 9808 |                  echo "cflags: $GTK2_CFLAGS" | 
|---|
| 9809 |                  echo "libs: $GTK2_LIBS" | 
|---|
| 9810 |                 fi | 
|---|
| 9811 |         else | 
|---|
| 9812 |                 echo "no" | 
|---|
| 9813 |         fi | 
|---|
| 9814 |  | 
|---|
| 9815 | fi | 
|---|
| 9816 |  | 
|---|
| 9817 |  | 
|---|
| 9818 |  | 
|---|
| 9819 |  | 
|---|
| 9820 | if test x$have_gtk2 = xyes; then | 
|---|
| 9821 |   HAVE_GTK2_TRUE= | 
|---|
| 9822 |   HAVE_GTK2_FALSE='#' | 
|---|
| 9823 | else | 
|---|
| 9824 |   HAVE_GTK2_TRUE='#' | 
|---|
| 9825 |   HAVE_GTK2_FALSE= | 
|---|
| 9826 | fi | 
|---|
| 9827 |  | 
|---|
| 9828 |  | 
|---|
| 9829 |  | 
|---|
| 9830 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
| 9831 |  | 
|---|
| 9832 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
| 9833 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
| 9834 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
| 9835 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9836 | else | 
|---|
| 9837 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 9838 | LIBS="-lm  $LIBS" | 
|---|
| 9839 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9840 | /* confdefs.h.  */ | 
|---|
| 9841 | _ACEOF | 
|---|
| 9842 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9843 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9844 | /* end confdefs.h.  */ | 
|---|
| 9845 |  | 
|---|
| 9846 |  | 
|---|
| 9847 | int | 
|---|
| 9848 | main () | 
|---|
| 9849 | { | 
|---|
| 9850 | main (); | 
|---|
| 9851 |   ; | 
|---|
| 9852 |   return 0; | 
|---|
| 9853 | } | 
|---|
| 9854 | _ACEOF | 
|---|
| 9855 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 9856 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 9857 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 9858 |   ac_status=$? | 
|---|
| 9859 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9860 |   rm -f conftest.er1 | 
|---|
| 9861 |   cat conftest.err >&5 | 
|---|
| 9862 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9863 |   (exit $ac_status); } && | 
|---|
| 9864 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9865 |                          || test ! -s conftest.err' | 
|---|
| 9866 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9867 |   (eval $ac_try) 2>&5 | 
|---|
| 9868 |   ac_status=$? | 
|---|
| 9869 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9870 |   (exit $ac_status); }; } && | 
|---|
| 9871 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 9872 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9873 |   (eval $ac_try) 2>&5 | 
|---|
| 9874 |   ac_status=$? | 
|---|
| 9875 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9876 |   (exit $ac_status); }; }; then | 
|---|
| 9877 |   ac_cv_lib_m_main=yes | 
|---|
| 9878 | else | 
|---|
| 9879 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9880 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9881 |  | 
|---|
| 9882 | ac_cv_lib_m_main=no | 
|---|
| 9883 | fi | 
|---|
| 9884 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 9885 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 9886 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 9887 | fi | 
|---|
| 9888 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
| 9889 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
| 9890 | if test $ac_cv_lib_m_main = yes; then | 
|---|
| 9891 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 9892 | #define HAVE_LIBM 1 | 
|---|
| 9893 | _ACEOF | 
|---|
| 9894 |  | 
|---|
| 9895 |   LIBS="-lm $LIBS" | 
|---|
| 9896 |  | 
|---|
| 9897 | fi | 
|---|
| 9898 |  | 
|---|
| 9899 |  | 
|---|
| 9900 |  | 
|---|
| 9901 | # Checks for header files. | 
|---|
| 9902 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 9903 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 9904 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 9905 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 9906 | else | 
|---|
| 9907 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9908 | /* confdefs.h.  */ | 
|---|
| 9909 | _ACEOF | 
|---|
| 9910 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9911 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9912 | /* end confdefs.h.  */ | 
|---|
| 9913 | #include <stdlib.h> | 
|---|
| 9914 | #include <stdarg.h> | 
|---|
| 9915 | #include <string.h> | 
|---|
| 9916 | #include <float.h> | 
|---|
| 9917 |  | 
|---|
| 9918 | int | 
|---|
| 9919 | main () | 
|---|
| 9920 | { | 
|---|
| 9921 |  | 
|---|
| 9922 |   ; | 
|---|
| 9923 |   return 0; | 
|---|
| 9924 | } | 
|---|
| 9925 | _ACEOF | 
|---|
| 9926 | rm -f conftest.$ac_objext | 
|---|
| 9927 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 9928 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 9929 |   ac_status=$? | 
|---|
| 9930 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 9931 |   rm -f conftest.er1 | 
|---|
| 9932 |   cat conftest.err >&5 | 
|---|
| 9933 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9934 |   (exit $ac_status); } && | 
|---|
| 9935 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 9936 |                          || test ! -s conftest.err' | 
|---|
| 9937 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9938 |   (eval $ac_try) 2>&5 | 
|---|
| 9939 |   ac_status=$? | 
|---|
| 9940 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9941 |   (exit $ac_status); }; } && | 
|---|
| 9942 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 9943 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 9944 |   (eval $ac_try) 2>&5 | 
|---|
| 9945 |   ac_status=$? | 
|---|
| 9946 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 9947 |   (exit $ac_status); }; }; then | 
|---|
| 9948 |   ac_cv_header_stdc=yes | 
|---|
| 9949 | else | 
|---|
| 9950 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 9951 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 9952 |  | 
|---|
| 9953 | ac_cv_header_stdc=no | 
|---|
| 9954 | fi | 
|---|
| 9955 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 9956 |  | 
|---|
| 9957 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 9958 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 9959 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9960 | /* confdefs.h.  */ | 
|---|
| 9961 | _ACEOF | 
|---|
| 9962 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9963 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9964 | /* end confdefs.h.  */ | 
|---|
| 9965 | #include <string.h> | 
|---|
| 9966 |  | 
|---|
| 9967 | _ACEOF | 
|---|
| 9968 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 9969 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 9970 |   : | 
|---|
| 9971 | else | 
|---|
| 9972 |   ac_cv_header_stdc=no | 
|---|
| 9973 | fi | 
|---|
| 9974 | rm -f conftest* | 
|---|
| 9975 |  | 
|---|
| 9976 | fi | 
|---|
| 9977 |  | 
|---|
| 9978 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 9979 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 9980 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 9981 | /* confdefs.h.  */ | 
|---|
| 9982 | _ACEOF | 
|---|
| 9983 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 9984 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 9985 | /* end confdefs.h.  */ | 
|---|
| 9986 | #include <stdlib.h> | 
|---|
| 9987 |  | 
|---|
| 9988 | _ACEOF | 
|---|
| 9989 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 9990 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 9991 |   : | 
|---|
| 9992 | else | 
|---|
| 9993 |   ac_cv_header_stdc=no | 
|---|
| 9994 | fi | 
|---|
| 9995 | rm -f conftest* | 
|---|
| 9996 |  | 
|---|
| 9997 | fi | 
|---|
| 9998 |  | 
|---|
| 9999 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 10000 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 10001 |   if test "$cross_compiling" = yes; then | 
|---|
| 10002 |   : | 
|---|
| 10003 | else | 
|---|
| 10004 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10005 | /* confdefs.h.  */ | 
|---|
| 10006 | _ACEOF | 
|---|
| 10007 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10008 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10009 | /* end confdefs.h.  */ | 
|---|
| 10010 | #include <ctype.h> | 
|---|
| 10011 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 10012 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 10013 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 10014 | #else | 
|---|
| 10015 | # define ISLOWER(c) \ | 
|---|
| 10016 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 10017 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 10018 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 10019 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 10020 | #endif | 
|---|
| 10021 |  | 
|---|
| 10022 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 10023 | int | 
|---|
| 10024 | main () | 
|---|
| 10025 | { | 
|---|
| 10026 |   int i; | 
|---|
| 10027 |   for (i = 0; i < 256; i++) | 
|---|
| 10028 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 10029 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 10030 |       exit(2); | 
|---|
| 10031 |   exit (0); | 
|---|
| 10032 | } | 
|---|
| 10033 | _ACEOF | 
|---|
| 10034 | rm -f conftest$ac_exeext | 
|---|
| 10035 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 10036 |   (eval $ac_link) 2>&5 | 
|---|
| 10037 |   ac_status=$? | 
|---|
| 10038 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10039 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 10040 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10041 |   (eval $ac_try) 2>&5 | 
|---|
| 10042 |   ac_status=$? | 
|---|
| 10043 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10044 |   (exit $ac_status); }; }; then | 
|---|
| 10045 |   : | 
|---|
| 10046 | else | 
|---|
| 10047 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 10048 | echo "$as_me: failed program was:" >&5 | 
|---|
| 10049 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10050 |  | 
|---|
| 10051 | ( exit $ac_status ) | 
|---|
| 10052 | ac_cv_header_stdc=no | 
|---|
| 10053 | fi | 
|---|
| 10054 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10055 | fi | 
|---|
| 10056 | fi | 
|---|
| 10057 | fi | 
|---|
| 10058 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 10059 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 10060 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 10061 |  | 
|---|
| 10062 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 10063 | #define STDC_HEADERS 1 | 
|---|
| 10064 | _ACEOF | 
|---|
| 10065 |  | 
|---|
| 10066 | fi | 
|---|
| 10067 |  | 
|---|
| 10068 |  | 
|---|
| 10069 |  | 
|---|
| 10070 | for ac_header in stdlib.h string.h | 
|---|
| 10071 | do | 
|---|
| 10072 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 10073 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10074 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 10075 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 10076 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10077 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10078 | fi | 
|---|
| 10079 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 10080 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 10081 | else | 
|---|
| 10082 |   # Is the header compilable? | 
|---|
| 10083 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 10084 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 10085 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10086 | /* confdefs.h.  */ | 
|---|
| 10087 | _ACEOF | 
|---|
| 10088 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10089 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10090 | /* end confdefs.h.  */ | 
|---|
| 10091 | $ac_includes_default | 
|---|
| 10092 | #include <$ac_header> | 
|---|
| 10093 | _ACEOF | 
|---|
| 10094 | rm -f conftest.$ac_objext | 
|---|
| 10095 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 10096 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 10097 |   ac_status=$? | 
|---|
| 10098 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10099 |   rm -f conftest.er1 | 
|---|
| 10100 |   cat conftest.err >&5 | 
|---|
| 10101 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10102 |   (exit $ac_status); } && | 
|---|
| 10103 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 10104 |                          || test ! -s conftest.err' | 
|---|
| 10105 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10106 |   (eval $ac_try) 2>&5 | 
|---|
| 10107 |   ac_status=$? | 
|---|
| 10108 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10109 |   (exit $ac_status); }; } && | 
|---|
| 10110 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 10111 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10112 |   (eval $ac_try) 2>&5 | 
|---|
| 10113 |   ac_status=$? | 
|---|
| 10114 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10115 |   (exit $ac_status); }; }; then | 
|---|
| 10116 |   ac_header_compiler=yes | 
|---|
| 10117 | else | 
|---|
| 10118 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10119 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10120 |  | 
|---|
| 10121 | ac_header_compiler=no | 
|---|
| 10122 | fi | 
|---|
| 10123 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10124 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 10125 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 10126 |  | 
|---|
| 10127 | # Is the header present? | 
|---|
| 10128 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 10129 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 10130 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10131 | /* confdefs.h.  */ | 
|---|
| 10132 | _ACEOF | 
|---|
| 10133 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10134 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10135 | /* end confdefs.h.  */ | 
|---|
| 10136 | #include <$ac_header> | 
|---|
| 10137 | _ACEOF | 
|---|
| 10138 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 10139 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 10140 |   ac_status=$? | 
|---|
| 10141 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10142 |   rm -f conftest.er1 | 
|---|
| 10143 |   cat conftest.err >&5 | 
|---|
| 10144 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10145 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 10146 |   if test -s conftest.err; then | 
|---|
| 10147 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 10148 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 10149 |   else | 
|---|
| 10150 |     ac_cpp_err= | 
|---|
| 10151 |   fi | 
|---|
| 10152 | else | 
|---|
| 10153 |   ac_cpp_err=yes | 
|---|
| 10154 | fi | 
|---|
| 10155 | if test -z "$ac_cpp_err"; then | 
|---|
| 10156 |   ac_header_preproc=yes | 
|---|
| 10157 | else | 
|---|
| 10158 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10159 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10160 |  | 
|---|
| 10161 |   ac_header_preproc=no | 
|---|
| 10162 | fi | 
|---|
| 10163 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 10164 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 10165 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 10166 |  | 
|---|
| 10167 | # So?  What about this header? | 
|---|
| 10168 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 10169 |   yes:no: ) | 
|---|
| 10170 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 10171 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 10172 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 10173 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 10174 |     ac_header_preproc=yes | 
|---|
| 10175 |     ;; | 
|---|
| 10176 |   no:yes:* ) | 
|---|
| 10177 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 10178 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 10179 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 10180 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 10181 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 10182 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 10183 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 10184 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 10185 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 10186 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 10187 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 10188 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 10189 |     ( | 
|---|
| 10190 |       cat <<\_ASBOX | 
|---|
| 10191 | ## ---------------------------------------------- ## | 
|---|
| 10192 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 10193 | ## ---------------------------------------------- ## | 
|---|
| 10194 | _ASBOX | 
|---|
| 10195 |     ) | | 
|---|
| 10196 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 10197 |     ;; | 
|---|
| 10198 | esac | 
|---|
| 10199 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 10200 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 10201 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10202 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10203 | else | 
|---|
| 10204 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 10205 | fi | 
|---|
| 10206 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 10207 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 10208 |  | 
|---|
| 10209 | fi | 
|---|
| 10210 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 10211 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 10212 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 10213 | _ACEOF | 
|---|
| 10214 |  | 
|---|
| 10215 | fi | 
|---|
| 10216 |  | 
|---|
| 10217 | done | 
|---|
| 10218 |  | 
|---|
| 10219 |  | 
|---|
| 10220 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 10221 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 10222 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
| 10223 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
| 10224 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10225 | else | 
|---|
| 10226 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10227 | /* confdefs.h.  */ | 
|---|
| 10228 | _ACEOF | 
|---|
| 10229 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10230 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10231 | /* end confdefs.h.  */ | 
|---|
| 10232 |  | 
|---|
| 10233 | #include <stdbool.h> | 
|---|
| 10234 | #ifndef bool | 
|---|
| 10235 | # error bool is not defined | 
|---|
| 10236 | #endif | 
|---|
| 10237 | #ifndef false | 
|---|
| 10238 | # error false is not defined | 
|---|
| 10239 | #endif | 
|---|
| 10240 | #if false | 
|---|
| 10241 | # error false is not 0 | 
|---|
| 10242 | #endif | 
|---|
| 10243 | #ifndef true | 
|---|
| 10244 | # error true is not defined | 
|---|
| 10245 | #endif | 
|---|
| 10246 | #if true != 1 | 
|---|
| 10247 | # error true is not 1 | 
|---|
| 10248 | #endif | 
|---|
| 10249 | #ifndef __bool_true_false_are_defined | 
|---|
| 10250 | # error __bool_true_false_are_defined is not defined | 
|---|
| 10251 | #endif | 
|---|
| 10252 |  | 
|---|
| 10253 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 10254 |  | 
|---|
| 10255 |         char a[true == 1 ? 1 : -1]; | 
|---|
| 10256 |         char b[false == 0 ? 1 : -1]; | 
|---|
| 10257 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 10258 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
| 10259 |         bool e = &s; | 
|---|
| 10260 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
| 10261 |         char g[true]; | 
|---|
| 10262 |         char h[sizeof (_Bool)]; | 
|---|
| 10263 |         char i[sizeof s.t]; | 
|---|
| 10264 |  | 
|---|
| 10265 | int | 
|---|
| 10266 | main () | 
|---|
| 10267 | { | 
|---|
| 10268 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
| 10269 |   ; | 
|---|
| 10270 |   return 0; | 
|---|
| 10271 | } | 
|---|
| 10272 | _ACEOF | 
|---|
| 10273 | rm -f conftest.$ac_objext | 
|---|
| 10274 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 10275 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 10276 |   ac_status=$? | 
|---|
| 10277 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10278 |   rm -f conftest.er1 | 
|---|
| 10279 |   cat conftest.err >&5 | 
|---|
| 10280 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10281 |   (exit $ac_status); } && | 
|---|
| 10282 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 10283 |                          || test ! -s conftest.err' | 
|---|
| 10284 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10285 |   (eval $ac_try) 2>&5 | 
|---|
| 10286 |   ac_status=$? | 
|---|
| 10287 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10288 |   (exit $ac_status); }; } && | 
|---|
| 10289 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 10290 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10291 |   (eval $ac_try) 2>&5 | 
|---|
| 10292 |   ac_status=$? | 
|---|
| 10293 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10294 |   (exit $ac_status); }; }; then | 
|---|
| 10295 |   ac_cv_header_stdbool_h=yes | 
|---|
| 10296 | else | 
|---|
| 10297 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10298 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10299 |  | 
|---|
| 10300 | ac_cv_header_stdbool_h=no | 
|---|
| 10301 | fi | 
|---|
| 10302 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10303 | fi | 
|---|
| 10304 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 10305 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
| 10306 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
| 10307 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
| 10308 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
| 10309 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10310 | else | 
|---|
| 10311 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10312 | /* confdefs.h.  */ | 
|---|
| 10313 | _ACEOF | 
|---|
| 10314 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10315 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10316 | /* end confdefs.h.  */ | 
|---|
| 10317 | $ac_includes_default | 
|---|
| 10318 | int | 
|---|
| 10319 | main () | 
|---|
| 10320 | { | 
|---|
| 10321 | if ((_Bool *) 0) | 
|---|
| 10322 |   return 0; | 
|---|
| 10323 | if (sizeof (_Bool)) | 
|---|
| 10324 |   return 0; | 
|---|
| 10325 |   ; | 
|---|
| 10326 |   return 0; | 
|---|
| 10327 | } | 
|---|
| 10328 | _ACEOF | 
|---|
| 10329 | rm -f conftest.$ac_objext | 
|---|
| 10330 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 10331 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 10332 |   ac_status=$? | 
|---|
| 10333 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10334 |   rm -f conftest.er1 | 
|---|
| 10335 |   cat conftest.err >&5 | 
|---|
| 10336 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10337 |   (exit $ac_status); } && | 
|---|
| 10338 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 10339 |                          || test ! -s conftest.err' | 
|---|
| 10340 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10341 |   (eval $ac_try) 2>&5 | 
|---|
| 10342 |   ac_status=$? | 
|---|
| 10343 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10344 |   (exit $ac_status); }; } && | 
|---|
| 10345 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 10346 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10347 |   (eval $ac_try) 2>&5 | 
|---|
| 10348 |   ac_status=$? | 
|---|
| 10349 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10350 |   (exit $ac_status); }; }; then | 
|---|
| 10351 |   ac_cv_type__Bool=yes | 
|---|
| 10352 | else | 
|---|
| 10353 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10354 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10355 |  | 
|---|
| 10356 | ac_cv_type__Bool=no | 
|---|
| 10357 | fi | 
|---|
| 10358 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10359 | fi | 
|---|
| 10360 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
| 10361 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
| 10362 | if test $ac_cv_type__Bool = yes; then | 
|---|
| 10363 |  | 
|---|
| 10364 | cat >>confdefs.h <<_ACEOF | 
|---|
| 10365 | #define HAVE__BOOL 1 | 
|---|
| 10366 | _ACEOF | 
|---|
| 10367 |  | 
|---|
| 10368 |  | 
|---|
| 10369 | fi | 
|---|
| 10370 |  | 
|---|
| 10371 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 10372 |  | 
|---|
| 10373 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 10374 | #define HAVE_STDBOOL_H 1 | 
|---|
| 10375 | _ACEOF | 
|---|
| 10376 |  | 
|---|
| 10377 | fi | 
|---|
| 10378 |  | 
|---|
| 10379 |  | 
|---|
| 10380 | # Checks for library functions. | 
|---|
| 10381 |  | 
|---|
| 10382 | for ac_header in stdlib.h | 
|---|
| 10383 | do | 
|---|
| 10384 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 10385 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10386 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 10387 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 10388 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10389 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10390 | fi | 
|---|
| 10391 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 10392 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 10393 | else | 
|---|
| 10394 |   # Is the header compilable? | 
|---|
| 10395 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 10396 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 10397 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10398 | /* confdefs.h.  */ | 
|---|
| 10399 | _ACEOF | 
|---|
| 10400 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10401 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10402 | /* end confdefs.h.  */ | 
|---|
| 10403 | $ac_includes_default | 
|---|
| 10404 | #include <$ac_header> | 
|---|
| 10405 | _ACEOF | 
|---|
| 10406 | rm -f conftest.$ac_objext | 
|---|
| 10407 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 10408 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 10409 |   ac_status=$? | 
|---|
| 10410 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10411 |   rm -f conftest.er1 | 
|---|
| 10412 |   cat conftest.err >&5 | 
|---|
| 10413 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10414 |   (exit $ac_status); } && | 
|---|
| 10415 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 10416 |                          || test ! -s conftest.err' | 
|---|
| 10417 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10418 |   (eval $ac_try) 2>&5 | 
|---|
| 10419 |   ac_status=$? | 
|---|
| 10420 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10421 |   (exit $ac_status); }; } && | 
|---|
| 10422 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 10423 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10424 |   (eval $ac_try) 2>&5 | 
|---|
| 10425 |   ac_status=$? | 
|---|
| 10426 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10427 |   (exit $ac_status); }; }; then | 
|---|
| 10428 |   ac_header_compiler=yes | 
|---|
| 10429 | else | 
|---|
| 10430 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10431 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10432 |  | 
|---|
| 10433 | ac_header_compiler=no | 
|---|
| 10434 | fi | 
|---|
| 10435 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10436 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 10437 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 10438 |  | 
|---|
| 10439 | # Is the header present? | 
|---|
| 10440 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 10441 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 10442 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10443 | /* confdefs.h.  */ | 
|---|
| 10444 | _ACEOF | 
|---|
| 10445 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10446 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10447 | /* end confdefs.h.  */ | 
|---|
| 10448 | #include <$ac_header> | 
|---|
| 10449 | _ACEOF | 
|---|
| 10450 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 10451 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 10452 |   ac_status=$? | 
|---|
| 10453 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10454 |   rm -f conftest.er1 | 
|---|
| 10455 |   cat conftest.err >&5 | 
|---|
| 10456 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10457 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 10458 |   if test -s conftest.err; then | 
|---|
| 10459 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 10460 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 10461 |   else | 
|---|
| 10462 |     ac_cpp_err= | 
|---|
| 10463 |   fi | 
|---|
| 10464 | else | 
|---|
| 10465 |   ac_cpp_err=yes | 
|---|
| 10466 | fi | 
|---|
| 10467 | if test -z "$ac_cpp_err"; then | 
|---|
| 10468 |   ac_header_preproc=yes | 
|---|
| 10469 | else | 
|---|
| 10470 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10471 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10472 |  | 
|---|
| 10473 |   ac_header_preproc=no | 
|---|
| 10474 | fi | 
|---|
| 10475 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 10476 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 10477 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 10478 |  | 
|---|
| 10479 | # So?  What about this header? | 
|---|
| 10480 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 10481 |   yes:no: ) | 
|---|
| 10482 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 10483 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 10484 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 10485 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 10486 |     ac_header_preproc=yes | 
|---|
| 10487 |     ;; | 
|---|
| 10488 |   no:yes:* ) | 
|---|
| 10489 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 10490 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 10491 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 10492 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 10493 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 10494 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 10495 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 10496 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 10497 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 10498 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 10499 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 10500 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 10501 |     ( | 
|---|
| 10502 |       cat <<\_ASBOX | 
|---|
| 10503 | ## ---------------------------------------------- ## | 
|---|
| 10504 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 10505 | ## ---------------------------------------------- ## | 
|---|
| 10506 | _ASBOX | 
|---|
| 10507 |     ) | | 
|---|
| 10508 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 10509 |     ;; | 
|---|
| 10510 | esac | 
|---|
| 10511 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 10512 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 10513 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 10514 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10515 | else | 
|---|
| 10516 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 10517 | fi | 
|---|
| 10518 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 10519 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 10520 |  | 
|---|
| 10521 | fi | 
|---|
| 10522 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 10523 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 10524 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 10525 | _ACEOF | 
|---|
| 10526 |  | 
|---|
| 10527 | fi | 
|---|
| 10528 |  | 
|---|
| 10529 | done | 
|---|
| 10530 |  | 
|---|
| 10531 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
| 10532 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
| 10533 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
| 10534 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10535 | else | 
|---|
| 10536 |   if test "$cross_compiling" = yes; then | 
|---|
| 10537 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
| 10538 | else | 
|---|
| 10539 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10540 | /* confdefs.h.  */ | 
|---|
| 10541 | _ACEOF | 
|---|
| 10542 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10543 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10544 | /* end confdefs.h.  */ | 
|---|
| 10545 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
| 10546 | # include <stdlib.h> | 
|---|
| 10547 | #else | 
|---|
| 10548 | char *malloc (); | 
|---|
| 10549 | #endif | 
|---|
| 10550 |  | 
|---|
| 10551 | int | 
|---|
| 10552 | main () | 
|---|
| 10553 | { | 
|---|
| 10554 | exit (malloc (0) ? 0 : 1); | 
|---|
| 10555 |   ; | 
|---|
| 10556 |   return 0; | 
|---|
| 10557 | } | 
|---|
| 10558 | _ACEOF | 
|---|
| 10559 | rm -f conftest$ac_exeext | 
|---|
| 10560 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 10561 |   (eval $ac_link) 2>&5 | 
|---|
| 10562 |   ac_status=$? | 
|---|
| 10563 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10564 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 10565 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10566 |   (eval $ac_try) 2>&5 | 
|---|
| 10567 |   ac_status=$? | 
|---|
| 10568 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10569 |   (exit $ac_status); }; }; then | 
|---|
| 10570 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
| 10571 | else | 
|---|
| 10572 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 10573 | echo "$as_me: failed program was:" >&5 | 
|---|
| 10574 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10575 |  | 
|---|
| 10576 | ( exit $ac_status ) | 
|---|
| 10577 | ac_cv_func_malloc_0_nonnull=no | 
|---|
| 10578 | fi | 
|---|
| 10579 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 10580 | fi | 
|---|
| 10581 | fi | 
|---|
| 10582 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
| 10583 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
| 10584 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
| 10585 |  | 
|---|
| 10586 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 10587 | #define HAVE_MALLOC 1 | 
|---|
| 10588 | _ACEOF | 
|---|
| 10589 |  | 
|---|
| 10590 | else | 
|---|
| 10591 |   cat >>confdefs.h <<\_ACEOF | 
|---|
| 10592 | #define HAVE_MALLOC 0 | 
|---|
| 10593 | _ACEOF | 
|---|
| 10594 |  | 
|---|
| 10595 |    case $LIBOBJS in | 
|---|
| 10596 |     "malloc.$ac_objext"   | \ | 
|---|
| 10597 |   *" malloc.$ac_objext"   | \ | 
|---|
| 10598 |     "malloc.$ac_objext "* | \ | 
|---|
| 10599 |   *" malloc.$ac_objext "* ) ;; | 
|---|
| 10600 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
| 10601 | esac | 
|---|
| 10602 |  | 
|---|
| 10603 |  | 
|---|
| 10604 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 10605 | #define malloc rpl_malloc | 
|---|
| 10606 | _ACEOF | 
|---|
| 10607 |  | 
|---|
| 10608 | fi | 
|---|
| 10609 |  | 
|---|
| 10610 |  | 
|---|
| 10611 |  | 
|---|
| 10612 |  | 
|---|
| 10613 |  | 
|---|
| 10614 | for ac_func in bzero sqrt | 
|---|
| 10615 | do | 
|---|
| 10616 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 10617 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
| 10618 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
| 10619 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
| 10620 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 10621 | else | 
|---|
| 10622 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 10623 | /* confdefs.h.  */ | 
|---|
| 10624 | _ACEOF | 
|---|
| 10625 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 10626 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 10627 | /* end confdefs.h.  */ | 
|---|
| 10628 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
| 10629 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 10630 | #define $ac_func innocuous_$ac_func | 
|---|
| 10631 |  | 
|---|
| 10632 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 10633 |     which can conflict with char $ac_func (); below. | 
|---|
| 10634 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 10635 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 10636 |  | 
|---|
| 10637 | #ifdef __STDC__ | 
|---|
| 10638 | # include <limits.h> | 
|---|
| 10639 | #else | 
|---|
| 10640 | # include <assert.h> | 
|---|
| 10641 | #endif | 
|---|
| 10642 |  | 
|---|
| 10643 | #undef $ac_func | 
|---|
| 10644 |  | 
|---|
| 10645 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 10646 | #ifdef __cplusplus | 
|---|
| 10647 | extern "C" | 
|---|
| 10648 | { | 
|---|
| 10649 | #endif | 
|---|
| 10650 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 10651 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 10652 | char $ac_func (); | 
|---|
| 10653 | /* The GNU C library defines this for functions which it implements | 
|---|
| 10654 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 10655 |     something starting with __ and the normal name is an alias.  */ | 
|---|
| 10656 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
| 10657 | choke me | 
|---|
| 10658 | #else | 
|---|
| 10659 | char (*f) () = $ac_func; | 
|---|
| 10660 | #endif | 
|---|
| 10661 | #ifdef __cplusplus | 
|---|
| 10662 | } | 
|---|
| 10663 | #endif | 
|---|
| 10664 |  | 
|---|
| 10665 | int | 
|---|
| 10666 | main () | 
|---|
| 10667 | { | 
|---|
| 10668 | return f != $ac_func; | 
|---|
| 10669 |   ; | 
|---|
| 10670 |   return 0; | 
|---|
| 10671 | } | 
|---|
| 10672 | _ACEOF | 
|---|
| 10673 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 10674 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 10675 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 10676 |   ac_status=$? | 
|---|
| 10677 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 10678 |   rm -f conftest.er1 | 
|---|
| 10679 |   cat conftest.err >&5 | 
|---|
| 10680 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10681 |   (exit $ac_status); } && | 
|---|
| 10682 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 10683 |                          || test ! -s conftest.err' | 
|---|
| 10684 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10685 |   (eval $ac_try) 2>&5 | 
|---|
| 10686 |   ac_status=$? | 
|---|
| 10687 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10688 |   (exit $ac_status); }; } && | 
|---|
| 10689 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 10690 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 10691 |   (eval $ac_try) 2>&5 | 
|---|
| 10692 |   ac_status=$? | 
|---|
| 10693 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 10694 |   (exit $ac_status); }; }; then | 
|---|
| 10695 |   eval "$as_ac_var=yes" | 
|---|
| 10696 | else | 
|---|
| 10697 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 10698 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 10699 |  | 
|---|
| 10700 | eval "$as_ac_var=no" | 
|---|
| 10701 | fi | 
|---|
| 10702 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 10703 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 10704 | fi | 
|---|
| 10705 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
| 10706 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
| 10707 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
| 10708 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 10709 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 10710 | _ACEOF | 
|---|
| 10711 |  | 
|---|
| 10712 | fi | 
|---|
| 10713 | done | 
|---|
| 10714 |  | 
|---|
| 10715 |  | 
|---|
| 10716 | ###################### | 
|---|
| 10717 | ## OUTPUT CONFIGURE ## | 
|---|
| 10718 | ###################### | 
|---|
| 10719 |                                                                                                                                                                                               ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/graphics/Makefile src/lib/graphics/importer/Makefile src/lib/graphics/spatial_separation/Makefile src/lib/sound/Makefile src/lib/event/Makefile src/lib/physics/Makefile src/lib/particles/Makefile src/lib/collision_detection/Makefile src/lib/shell/Makefile src/lib/gui/Makefile src/lib/tinyxml/Makefile src/subprojects/Makefile src/subprojects/testmain/Makefile src/subprojects/importer/Makefile src/subprojects/particles/Makefile src/subprojects/collision_detection/Makefile" | 
|---|
| 10720 |  | 
|---|
| 10721 |  | 
|---|
| 10722 | cat >confcache <<\_ACEOF | 
|---|
| 10723 | # This file is a shell script that caches the results of configure | 
|---|
| 10724 | # tests run on this system so they can be shared between configure | 
|---|
| 10725 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 10726 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 10727 | # want to keep, you may remove or edit it. | 
|---|
| 10728 | # | 
|---|
| 10729 | # config.status only pays attention to the cache file if you give it | 
|---|
| 10730 | # the --recheck option to rerun configure. | 
|---|
| 10731 | # | 
|---|
| 10732 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 10733 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 10734 | # following values. | 
|---|
| 10735 |  | 
|---|
| 10736 | _ACEOF | 
|---|
| 10737 |  | 
|---|
| 10738 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 10739 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 10740 | # So, don't put newlines in cache variables' values. | 
|---|
| 10741 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 10742 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 10743 | { | 
|---|
| 10744 |   (set) 2>&1 | | 
|---|
| 10745 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 10746 |     *ac_space=\ *) | 
|---|
| 10747 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
| 10748 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 10749 |       sed -n \ | 
|---|
| 10750 |         "s/'/'\\\\''/g; | 
|---|
| 10751 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 10752 |       ;; | 
|---|
| 10753 |     *) | 
|---|
| 10754 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 10755 |       sed -n \ | 
|---|
| 10756 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 10757 |       ;; | 
|---|
| 10758 |     esac; | 
|---|
| 10759 | } | | 
|---|
| 10760 |   sed ' | 
|---|
| 10761 |      t clear | 
|---|
| 10762 |      : clear | 
|---|
| 10763 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 10764 |      t end | 
|---|
| 10765 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 10766 |      : end' >>confcache | 
|---|
| 10767 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
| 10768 |   if test -w $cache_file; then | 
|---|
| 10769 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
| 10770 |     cat confcache >$cache_file | 
|---|
| 10771 |   else | 
|---|
| 10772 |     echo "not updating unwritable cache $cache_file" | 
|---|
| 10773 |   fi | 
|---|
| 10774 | fi | 
|---|
| 10775 | rm -f confcache | 
|---|
| 10776 |  | 
|---|
| 10777 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 10778 | # Let make expand exec_prefix. | 
|---|
| 10779 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 10780 |  | 
|---|
| 10781 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
| 10782 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
| 10783 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 10784 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 10785 | if test "x$srcdir" = x.; then | 
|---|
| 10786 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
| 10787 | s/:*\$(srcdir):*/:/; | 
|---|
| 10788 | s/:*\${srcdir}:*/:/; | 
|---|
| 10789 | s/:*@srcdir@:*/:/; | 
|---|
| 10790 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
| 10791 | s/:*$//; | 
|---|
| 10792 | s/^[^=]*=[       ]*$//; | 
|---|
| 10793 | }' | 
|---|
| 10794 | fi | 
|---|
| 10795 |  | 
|---|
| 10796 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 10797 |  | 
|---|
| 10798 | ac_libobjs= | 
|---|
| 10799 | ac_ltlibobjs= | 
|---|
| 10800 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 10801 |   # 1. Remove the extension, and $U if already installed. | 
|---|
| 10802 |   ac_i=`echo "$ac_i" | | 
|---|
| 10803 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
| 10804 |   # 2. Add them. | 
|---|
| 10805 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
| 10806 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
| 10807 | done | 
|---|
| 10808 | LIBOBJS=$ac_libobjs | 
|---|
| 10809 |  | 
|---|
| 10810 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 10811 |  | 
|---|
| 10812 |  | 
|---|
| 10813 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 10814 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
| 10815 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10816 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
| 10817 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10818 |    { (exit 1); exit 1; }; } | 
|---|
| 10819 | fi | 
|---|
| 10820 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 10821 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 10822 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10823 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 10824 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10825 |    { (exit 1); exit 1; }; } | 
|---|
| 10826 | fi | 
|---|
| 10827 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 10828 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 10829 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10830 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 10831 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10832 |    { (exit 1); exit 1; }; } | 
|---|
| 10833 | fi | 
|---|
| 10834 | if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then | 
|---|
| 10835 |   { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 10836 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10837 | echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 10838 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10839 |    { (exit 1); exit 1; }; } | 
|---|
| 10840 | fi | 
|---|
| 10841 | if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then | 
|---|
| 10842 |   { { echo "$as_me:$LINENO: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 10843 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10844 | echo "$as_me: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 10845 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10846 |    { (exit 1); exit 1; }; } | 
|---|
| 10847 | fi | 
|---|
| 10848 | if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then | 
|---|
| 10849 |   { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 10850 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10851 | echo "$as_me: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 10852 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10853 |    { (exit 1); exit 1; }; } | 
|---|
| 10854 | fi | 
|---|
| 10855 | if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then | 
|---|
| 10856 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 10857 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10858 | echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 10859 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10860 |    { (exit 1); exit 1; }; } | 
|---|
| 10861 | fi | 
|---|
| 10862 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
| 10863 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 10864 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 10865 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 10866 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 10867 |    { (exit 1); exit 1; }; } | 
|---|
| 10868 | fi | 
|---|
| 10869 |  | 
|---|
| 10870 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 10871 | ac_clean_files_save=$ac_clean_files | 
|---|
| 10872 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 10873 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
| 10874 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 10875 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
| 10876 | #! $SHELL | 
|---|
| 10877 | # Generated by $as_me. | 
|---|
| 10878 | # Run this file to recreate the current configuration. | 
|---|
| 10879 | # Compiler output produced by configure, useful for debugging | 
|---|
| 10880 | # configure, is in config.log if it exists. | 
|---|
| 10881 |  | 
|---|
| 10882 | debug=false | 
|---|
| 10883 | ac_cs_recheck=false | 
|---|
| 10884 | ac_cs_silent=false | 
|---|
| 10885 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 10886 | _ACEOF | 
|---|
| 10887 |  | 
|---|
| 10888 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 10889 | ## --------------------- ## | 
|---|
| 10890 | ## M4sh Initialization.  ## | 
|---|
| 10891 | ## --------------------- ## | 
|---|
| 10892 |  | 
|---|
| 10893 | # Be Bourne compatible | 
|---|
| 10894 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 10895 |   emulate sh | 
|---|
| 10896 |   NULLCMD=: | 
|---|
| 10897 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 10898 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 10899 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 10900 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 10901 |   set -o posix | 
|---|
| 10902 | fi | 
|---|
| 10903 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 10904 |  | 
|---|
| 10905 | # Support unset when possible. | 
|---|
| 10906 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 10907 |   as_unset=unset | 
|---|
| 10908 | else | 
|---|
| 10909 |   as_unset=false | 
|---|
| 10910 | fi | 
|---|
| 10911 |  | 
|---|
| 10912 |  | 
|---|
| 10913 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 10914 | $as_unset ENV MAIL MAILPATH | 
|---|
| 10915 | PS1='$ ' | 
|---|
| 10916 | PS2='> ' | 
|---|
| 10917 | PS4='+ ' | 
|---|
| 10918 |  | 
|---|
| 10919 | # NLS nuisances. | 
|---|
| 10920 | for as_var in \ | 
|---|
| 10921 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 10922 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 10923 |   LC_TELEPHONE LC_TIME | 
|---|
| 10924 | do | 
|---|
| 10925 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 10926 |     eval $as_var=C; export $as_var | 
|---|
| 10927 |   else | 
|---|
| 10928 |     $as_unset $as_var | 
|---|
| 10929 |   fi | 
|---|
| 10930 | done | 
|---|
| 10931 |  | 
|---|
| 10932 | # Required to use basename. | 
|---|
| 10933 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 10934 |   as_expr=expr | 
|---|
| 10935 | else | 
|---|
| 10936 |   as_expr=false | 
|---|
| 10937 | fi | 
|---|
| 10938 |  | 
|---|
| 10939 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 10940 |   as_basename=basename | 
|---|
| 10941 | else | 
|---|
| 10942 |   as_basename=false | 
|---|
| 10943 | fi | 
|---|
| 10944 |  | 
|---|
| 10945 |  | 
|---|
| 10946 | # Name of the executable. | 
|---|
| 10947 | as_me=`$as_basename "$0" || | 
|---|
| 10948 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 10949 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 10950 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 10951 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10952 | echo X/"$0" | | 
|---|
| 10953 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 10954 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10955 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 10956 |           s/.*/./; q'` | 
|---|
| 10957 |  | 
|---|
| 10958 |  | 
|---|
| 10959 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 10960 | # Avoid depending upon Character Ranges. | 
|---|
| 10961 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 10962 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 10963 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 10964 | as_cr_digits='0123456789' | 
|---|
| 10965 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 10966 |  | 
|---|
| 10967 | # The user is always right. | 
|---|
| 10968 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 10969 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 10970 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 10971 |   chmod +x conf$$.sh | 
|---|
| 10972 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 10973 |     PATH_SEPARATOR=';' | 
|---|
| 10974 |   else | 
|---|
| 10975 |     PATH_SEPARATOR=: | 
|---|
| 10976 |   fi | 
|---|
| 10977 |   rm -f conf$$.sh | 
|---|
| 10978 | fi | 
|---|
| 10979 |  | 
|---|
| 10980 |  | 
|---|
| 10981 |   as_lineno_1=$LINENO | 
|---|
| 10982 |   as_lineno_2=$LINENO | 
|---|
| 10983 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 10984 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 10985 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 10986 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 10987 |   # relative or not. | 
|---|
| 10988 |   case $0 in | 
|---|
| 10989 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 10990 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 10991 | for as_dir in $PATH | 
|---|
| 10992 | do | 
|---|
| 10993 |   IFS=$as_save_IFS | 
|---|
| 10994 |   test -z "$as_dir" && as_dir=. | 
|---|
| 10995 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 10996 | done | 
|---|
| 10997 |  | 
|---|
| 10998 |        ;; | 
|---|
| 10999 |   esac | 
|---|
| 11000 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 11001 |   # in which case we are not to be found in the path. | 
|---|
| 11002 |   if test "x$as_myself" = x; then | 
|---|
| 11003 |     as_myself=$0 | 
|---|
| 11004 |   fi | 
|---|
| 11005 |   if test ! -f "$as_myself"; then | 
|---|
| 11006 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
| 11007 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
| 11008 |    { (exit 1); exit 1; }; } | 
|---|
| 11009 |   fi | 
|---|
| 11010 |   case $CONFIG_SHELL in | 
|---|
| 11011 |   '') | 
|---|
| 11012 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 11013 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 11014 | do | 
|---|
| 11015 |   IFS=$as_save_IFS | 
|---|
| 11016 |   test -z "$as_dir" && as_dir=. | 
|---|
| 11017 |   for as_base in sh bash ksh sh5; do | 
|---|
| 11018 |          case $as_dir in | 
|---|
| 11019 |          /*) | 
|---|
| 11020 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 11021 |   as_lineno_1=$LINENO | 
|---|
| 11022 |   as_lineno_2=$LINENO | 
|---|
| 11023 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 11024 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 11025 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 11026 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 11027 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 11028 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 11029 |              export CONFIG_SHELL | 
|---|
| 11030 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 11031 |            fi;; | 
|---|
| 11032 |          esac | 
|---|
| 11033 |        done | 
|---|
| 11034 | done | 
|---|
| 11035 | ;; | 
|---|
| 11036 |   esac | 
|---|
| 11037 |  | 
|---|
| 11038 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 11039 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 11040 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 11041 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 11042 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 11043 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 11044 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 11045 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 11046 |   sed '=' <$as_myself | | 
|---|
| 11047 |     sed ' | 
|---|
| 11048 |       N | 
|---|
| 11049 |       s,$,-, | 
|---|
| 11050 |       : loop | 
|---|
| 11051 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 11052 |       t loop | 
|---|
| 11053 |       s,-$,, | 
|---|
| 11054 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 11055 |     ' >$as_me.lineno && | 
|---|
| 11056 |   chmod +x $as_me.lineno || | 
|---|
| 11057 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
| 11058 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
| 11059 |    { (exit 1); exit 1; }; } | 
|---|
| 11060 |  | 
|---|
| 11061 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 11062 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 11063 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 11064 |   . ./$as_me.lineno | 
|---|
| 11065 |   # Exit status is that of the last command. | 
|---|
| 11066 |   exit | 
|---|
| 11067 | } | 
|---|
| 11068 |  | 
|---|
| 11069 |  | 
|---|
| 11070 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 11071 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 11072 | ' ECHO_T='      ' ;; | 
|---|
| 11073 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 11074 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 11075 | esac | 
|---|
| 11076 |  | 
|---|
| 11077 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 11078 |   as_expr=expr | 
|---|
| 11079 | else | 
|---|
| 11080 |   as_expr=false | 
|---|
| 11081 | fi | 
|---|
| 11082 |  | 
|---|
| 11083 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 11084 | echo >conf$$.file | 
|---|
| 11085 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 11086 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 11087 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 11088 |   if test -f conf$$.exe; then | 
|---|
| 11089 |     # Don't use ln at all; we don't have any links | 
|---|
| 11090 |     as_ln_s='cp -p' | 
|---|
| 11091 |   else | 
|---|
| 11092 |     as_ln_s='ln -s' | 
|---|
| 11093 |   fi | 
|---|
| 11094 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 11095 |   as_ln_s=ln | 
|---|
| 11096 | else | 
|---|
| 11097 |   as_ln_s='cp -p' | 
|---|
| 11098 | fi | 
|---|
| 11099 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 11100 |  | 
|---|
| 11101 | if mkdir -p . 2>/dev/null; then | 
|---|
| 11102 |   as_mkdir_p=: | 
|---|
| 11103 | else | 
|---|
| 11104 |   test -d ./-p && rmdir ./-p | 
|---|
| 11105 |   as_mkdir_p=false | 
|---|
| 11106 | fi | 
|---|
| 11107 |  | 
|---|
| 11108 | as_executable_p="test -f" | 
|---|
| 11109 |  | 
|---|
| 11110 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 11111 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 11112 |  | 
|---|
| 11113 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 11114 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 11115 |  | 
|---|
| 11116 |  | 
|---|
| 11117 | # IFS | 
|---|
| 11118 | # We need space, tab and new line, in precisely that order. | 
|---|
| 11119 | as_nl=' | 
|---|
| 11120 | ' | 
|---|
| 11121 | IFS="   $as_nl" | 
|---|
| 11122 |  | 
|---|
| 11123 | # CDPATH. | 
|---|
| 11124 | $as_unset CDPATH | 
|---|
| 11125 |  | 
|---|
| 11126 | exec 6>&1 | 
|---|
| 11127 |  | 
|---|
| 11128 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
| 11129 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 11130 | # values after options handling.  Logging --version etc. is OK. | 
|---|
| 11131 | exec 5>>config.log | 
|---|
| 11132 | { | 
|---|
| 11133 |   echo | 
|---|
| 11134 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 11135 | ## Running $as_me. ## | 
|---|
| 11136 | _ASBOX | 
|---|
| 11137 | } >&5 | 
|---|
| 11138 | cat >&5 <<_CSEOF | 
|---|
| 11139 |  | 
|---|
| 11140 | This file was extended by orxonox $as_me 0.3.1_alpha, which was | 
|---|
| 11141 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 11142 |  | 
|---|
| 11143 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 11144 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 11145 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 11146 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 11147 |   $ $0 $@ | 
|---|
| 11148 |  | 
|---|
| 11149 | _CSEOF | 
|---|
| 11150 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
| 11151 | echo >&5 | 
|---|
| 11152 | _ACEOF | 
|---|
| 11153 |  | 
|---|
| 11154 | # Files that config.status was made for. | 
|---|
| 11155 | if test -n "$ac_config_files"; then | 
|---|
| 11156 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
| 11157 | fi | 
|---|
| 11158 |  | 
|---|
| 11159 | if test -n "$ac_config_headers"; then | 
|---|
| 11160 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
| 11161 | fi | 
|---|
| 11162 |  | 
|---|
| 11163 | if test -n "$ac_config_links"; then | 
|---|
| 11164 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
| 11165 | fi | 
|---|
| 11166 |  | 
|---|
| 11167 | if test -n "$ac_config_commands"; then | 
|---|
| 11168 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
| 11169 | fi | 
|---|
| 11170 |  | 
|---|
| 11171 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11172 |  | 
|---|
| 11173 | ac_cs_usage="\ | 
|---|
| 11174 | \`$as_me' instantiates files from templates according to the | 
|---|
| 11175 | current configuration. | 
|---|
| 11176 |  | 
|---|
| 11177 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
| 11178 |  | 
|---|
| 11179 |   -h, --help       print this help, then exit | 
|---|
| 11180 |   -V, --version    print version number, then exit | 
|---|
| 11181 |   -q, --quiet      do not print progress messages | 
|---|
| 11182 |   -d, --debug      don't remove temporary files | 
|---|
| 11183 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 11184 |   --file=FILE[:TEMPLATE] | 
|---|
| 11185 |                    instantiate the configuration file FILE | 
|---|
| 11186 |   --header=FILE[:TEMPLATE] | 
|---|
| 11187 |                    instantiate the configuration header FILE | 
|---|
| 11188 |  | 
|---|
| 11189 | Configuration files: | 
|---|
| 11190 | $config_files | 
|---|
| 11191 |  | 
|---|
| 11192 | Configuration headers: | 
|---|
| 11193 | $config_headers | 
|---|
| 11194 |  | 
|---|
| 11195 | Configuration commands: | 
|---|
| 11196 | $config_commands | 
|---|
| 11197 |  | 
|---|
| 11198 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
| 11199 | _ACEOF | 
|---|
| 11200 |  | 
|---|
| 11201 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 11202 | ac_cs_version="\\ | 
|---|
| 11203 | orxonox config.status 0.3.1_alpha | 
|---|
| 11204 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
| 11205 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
| 11206 |  | 
|---|
| 11207 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 11208 | This config.status script is free software; the Free Software Foundation | 
|---|
| 11209 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 11210 | srcdir=$srcdir | 
|---|
| 11211 | INSTALL="$INSTALL" | 
|---|
| 11212 | _ACEOF | 
|---|
| 11213 |  | 
|---|
| 11214 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11215 | # If no file are specified by the user, then we need to provide default | 
|---|
| 11216 | # value.  By we need to know if files were specified by the user. | 
|---|
| 11217 | ac_need_defaults=: | 
|---|
| 11218 | while test $# != 0 | 
|---|
| 11219 | do | 
|---|
| 11220 |   case $1 in | 
|---|
| 11221 |   --*=*) | 
|---|
| 11222 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
| 11223 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
| 11224 |     ac_shift=: | 
|---|
| 11225 |     ;; | 
|---|
| 11226 |   -*) | 
|---|
| 11227 |     ac_option=$1 | 
|---|
| 11228 |     ac_optarg=$2 | 
|---|
| 11229 |     ac_shift=shift | 
|---|
| 11230 |     ;; | 
|---|
| 11231 |   *) # This is not an option, so the user has probably given explicit | 
|---|
| 11232 |      # arguments. | 
|---|
| 11233 |      ac_option=$1 | 
|---|
| 11234 |      ac_need_defaults=false;; | 
|---|
| 11235 |   esac | 
|---|
| 11236 |  | 
|---|
| 11237 |   case $ac_option in | 
|---|
| 11238 |   # Handling of the options. | 
|---|
| 11239 | _ACEOF | 
|---|
| 11240 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11241 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 11242 |     ac_cs_recheck=: ;; | 
|---|
| 11243 |   --version | --vers* | -V ) | 
|---|
| 11244 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
| 11245 |   --he | --h) | 
|---|
| 11246 |     # Conflict between --help and --header | 
|---|
| 11247 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
| 11248 | Try \`$0 --help' for more information." >&5 | 
|---|
| 11249 | echo "$as_me: error: ambiguous option: $1 | 
|---|
| 11250 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 11251 |    { (exit 1); exit 1; }; };; | 
|---|
| 11252 |   --help | --hel | -h ) | 
|---|
| 11253 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
| 11254 |   --debug | --d* | -d ) | 
|---|
| 11255 |     debug=: ;; | 
|---|
| 11256 |   --file | --fil | --fi | --f ) | 
|---|
| 11257 |     $ac_shift | 
|---|
| 11258 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
| 11259 |     ac_need_defaults=false;; | 
|---|
| 11260 |   --header | --heade | --head | --hea ) | 
|---|
| 11261 |     $ac_shift | 
|---|
| 11262 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
| 11263 |     ac_need_defaults=false;; | 
|---|
| 11264 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 11265 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 11266 |     ac_cs_silent=: ;; | 
|---|
| 11267 |  | 
|---|
| 11268 |   # This is an error. | 
|---|
| 11269 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
| 11270 | Try \`$0 --help' for more information." >&5 | 
|---|
| 11271 | echo "$as_me: error: unrecognized option: $1 | 
|---|
| 11272 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 11273 |    { (exit 1); exit 1; }; } ;; | 
|---|
| 11274 |  | 
|---|
| 11275 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
| 11276 |  | 
|---|
| 11277 |   esac | 
|---|
| 11278 |   shift | 
|---|
| 11279 | done | 
|---|
| 11280 |  | 
|---|
| 11281 | ac_configure_extra_args= | 
|---|
| 11282 |  | 
|---|
| 11283 | if $ac_cs_silent; then | 
|---|
| 11284 |   exec 6>/dev/null | 
|---|
| 11285 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 11286 | fi | 
|---|
| 11287 |  | 
|---|
| 11288 | _ACEOF | 
|---|
| 11289 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 11290 | if \$ac_cs_recheck; then | 
|---|
| 11291 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
| 11292 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 11293 | fi | 
|---|
| 11294 |  | 
|---|
| 11295 | _ACEOF | 
|---|
| 11296 |  | 
|---|
| 11297 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 11298 | # | 
|---|
| 11299 | # INIT-COMMANDS section. | 
|---|
| 11300 | # | 
|---|
| 11301 |  | 
|---|
| 11302 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 11303 |  | 
|---|
| 11304 | _ACEOF | 
|---|
| 11305 |  | 
|---|
| 11306 |  | 
|---|
| 11307 |  | 
|---|
| 11308 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11309 | for ac_config_target in $ac_config_targets | 
|---|
| 11310 | do | 
|---|
| 11311 |   case "$ac_config_target" in | 
|---|
| 11312 |   # Handling of arguments. | 
|---|
| 11313 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 11314 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 11315 |   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | 
|---|
| 11316 |   "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;; | 
|---|
| 11317 |   "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;; | 
|---|
| 11318 |   "src/lib/graphics/spatial_separation/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/spatial_separation/Makefile" ;; | 
|---|
| 11319 |   "src/lib/sound/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sound/Makefile" ;; | 
|---|
| 11320 |   "src/lib/event/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/event/Makefile" ;; | 
|---|
| 11321 |   "src/lib/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/physics/Makefile" ;; | 
|---|
| 11322 |   "src/lib/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/particles/Makefile" ;; | 
|---|
| 11323 |   "src/lib/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/collision_detection/Makefile" ;; | 
|---|
| 11324 |   "src/lib/shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/shell/Makefile" ;; | 
|---|
| 11325 |   "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;; | 
|---|
| 11326 |   "src/lib/tinyxml/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/tinyxml/Makefile" ;; | 
|---|
| 11327 |   "src/subprojects/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/Makefile" ;; | 
|---|
| 11328 |   "src/subprojects/testmain/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/testmain/Makefile" ;; | 
|---|
| 11329 |   "src/subprojects/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/importer/Makefile" ;; | 
|---|
| 11330 |   "src/subprojects/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/particles/Makefile" ;; | 
|---|
| 11331 |   "src/subprojects/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/collision_detection/Makefile" ;; | 
|---|
| 11332 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 11333 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
| 11334 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
| 11335 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
| 11336 |    { (exit 1); exit 1; }; };; | 
|---|
| 11337 |   esac | 
|---|
| 11338 | done | 
|---|
| 11339 |  | 
|---|
| 11340 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 11341 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 11342 | # We use the long form for the default assignment because of an extremely | 
|---|
| 11343 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 11344 | if $ac_need_defaults; then | 
|---|
| 11345 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 11346 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 11347 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 11348 | fi | 
|---|
| 11349 |  | 
|---|
| 11350 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 11351 | # simply because there is no reason to put it here, and in addition, | 
|---|
| 11352 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 11353 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
| 11354 | $debug || | 
|---|
| 11355 | { | 
|---|
| 11356 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
| 11357 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
| 11358 | } | 
|---|
| 11359 |  | 
|---|
| 11360 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 11361 |  | 
|---|
| 11362 | { | 
|---|
| 11363 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
| 11364 |   test -n "$tmp" && test -d "$tmp" | 
|---|
| 11365 | }  || | 
|---|
| 11366 | { | 
|---|
| 11367 |   tmp=./confstat$$-$RANDOM | 
|---|
| 11368 |   (umask 077 && mkdir $tmp) | 
|---|
| 11369 | } || | 
|---|
| 11370 | { | 
|---|
| 11371 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
| 11372 |    { (exit 1); exit 1; } | 
|---|
| 11373 | } | 
|---|
| 11374 |  | 
|---|
| 11375 | _ACEOF | 
|---|
| 11376 |  | 
|---|
| 11377 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 11378 |  | 
|---|
| 11379 | # | 
|---|
| 11380 | # CONFIG_FILES section. | 
|---|
| 11381 | # | 
|---|
| 11382 |  | 
|---|
| 11383 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
| 11384 | # This happens for instance when ./config.status config.h | 
|---|
| 11385 | if test -n "\$CONFIG_FILES"; then | 
|---|
| 11386 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 11387 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
| 11388 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
| 11389 | s,@SHELL@,$SHELL,;t t | 
|---|
| 11390 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
| 11391 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
| 11392 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
| 11393 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
| 11394 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
| 11395 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
| 11396 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
| 11397 | s,@prefix@,$prefix,;t t | 
|---|
| 11398 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
| 11399 | s,@bindir@,$bindir,;t t | 
|---|
| 11400 | s,@sbindir@,$sbindir,;t t | 
|---|
| 11401 | s,@libexecdir@,$libexecdir,;t t | 
|---|
| 11402 | s,@datadir@,$datadir,;t t | 
|---|
| 11403 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
| 11404 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
| 11405 | s,@localstatedir@,$localstatedir,;t t | 
|---|
| 11406 | s,@libdir@,$libdir,;t t | 
|---|
| 11407 | s,@includedir@,$includedir,;t t | 
|---|
| 11408 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
| 11409 | s,@infodir@,$infodir,;t t | 
|---|
| 11410 | s,@mandir@,$mandir,;t t | 
|---|
| 11411 | s,@build_alias@,$build_alias,;t t | 
|---|
| 11412 | s,@host_alias@,$host_alias,;t t | 
|---|
| 11413 | s,@target_alias@,$target_alias,;t t | 
|---|
| 11414 | s,@DEFS@,$DEFS,;t t | 
|---|
| 11415 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
| 11416 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
| 11417 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
| 11418 | s,@LIBS@,$LIBS,;t t | 
|---|
| 11419 | s,@build@,$build,;t t | 
|---|
| 11420 | s,@build_cpu@,$build_cpu,;t t | 
|---|
| 11421 | s,@build_vendor@,$build_vendor,;t t | 
|---|
| 11422 | s,@build_os@,$build_os,;t t | 
|---|
| 11423 | s,@host@,$host,;t t | 
|---|
| 11424 | s,@host_cpu@,$host_cpu,;t t | 
|---|
| 11425 | s,@host_vendor@,$host_vendor,;t t | 
|---|
| 11426 | s,@host_os@,$host_os,;t t | 
|---|
| 11427 | s,@target@,$target,;t t | 
|---|
| 11428 | s,@target_cpu@,$target_cpu,;t t | 
|---|
| 11429 | s,@target_vendor@,$target_vendor,;t t | 
|---|
| 11430 | s,@target_os@,$target_os,;t t | 
|---|
| 11431 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
| 11432 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
| 11433 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
| 11434 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
| 11435 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
| 11436 | s,@VERSION@,$VERSION,;t t | 
|---|
| 11437 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
| 11438 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
| 11439 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
| 11440 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
| 11441 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
| 11442 | s,@AMTAR@,$AMTAR,;t t | 
|---|
| 11443 | s,@install_sh@,$install_sh,;t t | 
|---|
| 11444 | s,@STRIP@,$STRIP,;t t | 
|---|
| 11445 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
| 11446 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| 11447 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| 11448 | s,@AWK@,$AWK,;t t | 
|---|
| 11449 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
| 11450 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
| 11451 | s,@CXX@,$CXX,;t t | 
|---|
| 11452 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
| 11453 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
| 11454 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
| 11455 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
| 11456 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
| 11457 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
| 11458 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
| 11459 | s,@am__include@,$am__include,;t t | 
|---|
| 11460 | s,@am__quote@,$am__quote,;t t | 
|---|
| 11461 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
| 11462 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
| 11463 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
| 11464 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
| 11465 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
| 11466 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
| 11467 | s,@RANLIB@,$RANLIB,;t t | 
|---|
| 11468 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
|---|
| 11469 | s,@CC@,$CC,;t t | 
|---|
| 11470 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
| 11471 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
| 11472 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
| 11473 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
| 11474 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
| 11475 | s,@CPP@,$CPP,;t t | 
|---|
| 11476 | s,@EGREP@,$EGREP,;t t | 
|---|
| 11477 | s,@DEBUG@,$DEBUG,;t t | 
|---|
| 11478 | s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t | 
|---|
| 11479 | s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t | 
|---|
| 11480 | s,@DOCUMENTATION_TRUE@,$DOCUMENTATION_TRUE,;t t | 
|---|
| 11481 | s,@DOCUMENTATION_FALSE@,$DOCUMENTATION_FALSE,;t t | 
|---|
| 11482 | s,@DOXYGEN@,$DOXYGEN,;t t | 
|---|
| 11483 | s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t | 
|---|
| 11484 | s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t | 
|---|
| 11485 | s,@GPROF@,$GPROF,;t t | 
|---|
| 11486 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t | 
|---|
| 11487 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| 11488 | s,@CURL_LIBS@,$CURL_LIBS,;t t | 
|---|
| 11489 | s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t | 
|---|
| 11490 | s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t | 
|---|
| 11491 | s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t | 
|---|
| 11492 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| 11493 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
| 11494 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
| 11495 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| 11496 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
| 11497 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
| 11498 | CEOF | 
|---|
| 11499 |  | 
|---|
| 11500 | _ACEOF | 
|---|
| 11501 |  | 
|---|
| 11502 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11503 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 11504 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 11505 |   ac_max_sed_lines=48 | 
|---|
| 11506 |   ac_sed_frag=1 # Number of current file. | 
|---|
| 11507 |   ac_beg=1 # First line for current file. | 
|---|
| 11508 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
| 11509 |   ac_more_lines=: | 
|---|
| 11510 |   ac_sed_cmds= | 
|---|
| 11511 |   while $ac_more_lines; do | 
|---|
| 11512 |     if test $ac_beg -gt 1; then | 
|---|
| 11513 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 11514 |     else | 
|---|
| 11515 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 11516 |     fi | 
|---|
| 11517 |     if test ! -s $tmp/subs.frag; then | 
|---|
| 11518 |       ac_more_lines=false | 
|---|
| 11519 |     else | 
|---|
| 11520 |       # The purpose of the label and of the branching condition is to | 
|---|
| 11521 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
| 11522 |       # is no need to browse any of the substitutions). | 
|---|
| 11523 |       # These are the two extra sed commands mentioned above. | 
|---|
| 11524 |       (echo ':t | 
|---|
| 11525 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
| 11526 |       if test -z "$ac_sed_cmds"; then | 
|---|
| 11527 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 11528 |       else | 
|---|
| 11529 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 11530 |       fi | 
|---|
| 11531 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
| 11532 |       ac_beg=$ac_end | 
|---|
| 11533 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
| 11534 |     fi | 
|---|
| 11535 |   done | 
|---|
| 11536 |   if test -z "$ac_sed_cmds"; then | 
|---|
| 11537 |     ac_sed_cmds=cat | 
|---|
| 11538 |   fi | 
|---|
| 11539 | fi # test -n "$CONFIG_FILES" | 
|---|
| 11540 |  | 
|---|
| 11541 | _ACEOF | 
|---|
| 11542 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11543 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
| 11544 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 11545 |   case $ac_file in | 
|---|
| 11546 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 11547 |         cat >$tmp/stdin | 
|---|
| 11548 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 11549 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 11550 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 11551 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 11552 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 11553 |   esac | 
|---|
| 11554 |  | 
|---|
| 11555 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
| 11556 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 11557 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11558 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 11559 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 11560 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 11561 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11562 | echo X"$ac_file" | | 
|---|
| 11563 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11564 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11565 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11566 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 11567 |           s/.*/./; q'` | 
|---|
| 11568 |   { if $as_mkdir_p; then | 
|---|
| 11569 |     mkdir -p "$ac_dir" | 
|---|
| 11570 |   else | 
|---|
| 11571 |     as_dir="$ac_dir" | 
|---|
| 11572 |     as_dirs= | 
|---|
| 11573 |     while test ! -d "$as_dir"; do | 
|---|
| 11574 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 11575 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 11576 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11577 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 11578 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 11579 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 11580 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11581 | echo X"$as_dir" | | 
|---|
| 11582 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11583 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11584 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11585 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 11586 |           s/.*/./; q'` | 
|---|
| 11587 |     done | 
|---|
| 11588 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 11589 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 11590 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 11591 |    { (exit 1); exit 1; }; }; } | 
|---|
| 11592 |  | 
|---|
| 11593 |   ac_builddir=. | 
|---|
| 11594 |  | 
|---|
| 11595 | if test "$ac_dir" != .; then | 
|---|
| 11596 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 11597 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 11598 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 11599 | else | 
|---|
| 11600 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 11601 | fi | 
|---|
| 11602 |  | 
|---|
| 11603 | case $srcdir in | 
|---|
| 11604 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 11605 |     ac_srcdir=. | 
|---|
| 11606 |     if test -z "$ac_top_builddir"; then | 
|---|
| 11607 |        ac_top_srcdir=. | 
|---|
| 11608 |     else | 
|---|
| 11609 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 11610 |     fi ;; | 
|---|
| 11611 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 11612 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 11613 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 11614 |   *) # Relative path. | 
|---|
| 11615 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 11616 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 11617 | esac | 
|---|
| 11618 |  | 
|---|
| 11619 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 11620 | # the directories may not exist. | 
|---|
| 11621 | case `pwd` in | 
|---|
| 11622 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 11623 | *) | 
|---|
| 11624 |   case "$ac_dir" in | 
|---|
| 11625 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 11626 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 11627 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 11628 |   esac;; | 
|---|
| 11629 | esac | 
|---|
| 11630 | case $ac_abs_builddir in | 
|---|
| 11631 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 11632 | *) | 
|---|
| 11633 |   case ${ac_top_builddir}. in | 
|---|
| 11634 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 11635 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 11636 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 11637 |   esac;; | 
|---|
| 11638 | esac | 
|---|
| 11639 | case $ac_abs_builddir in | 
|---|
| 11640 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 11641 | *) | 
|---|
| 11642 |   case $ac_srcdir in | 
|---|
| 11643 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 11644 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 11645 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 11646 |   esac;; | 
|---|
| 11647 | esac | 
|---|
| 11648 | case $ac_abs_builddir in | 
|---|
| 11649 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 11650 | *) | 
|---|
| 11651 |   case $ac_top_srcdir in | 
|---|
| 11652 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 11653 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 11654 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 11655 |   esac;; | 
|---|
| 11656 | esac | 
|---|
| 11657 |  | 
|---|
| 11658 |  | 
|---|
| 11659 |   case $INSTALL in | 
|---|
| 11660 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 11661 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
| 11662 |   esac | 
|---|
| 11663 |  | 
|---|
| 11664 |   if test x"$ac_file" != x-; then | 
|---|
| 11665 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 11666 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 11667 |     rm -f "$ac_file" | 
|---|
| 11668 |   fi | 
|---|
| 11669 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 11670 |   # use $as_me), people would be surprised to read: | 
|---|
| 11671 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 11672 |   if test x"$ac_file" = x-; then | 
|---|
| 11673 |     configure_input= | 
|---|
| 11674 |   else | 
|---|
| 11675 |     configure_input="$ac_file.  " | 
|---|
| 11676 |   fi | 
|---|
| 11677 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
| 11678 |                                      sed 's,.*/,,'` by configure." | 
|---|
| 11679 |  | 
|---|
| 11680 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 11681 |   # src tree. | 
|---|
| 11682 |   ac_file_inputs=`IFS=: | 
|---|
| 11683 |     for f in $ac_file_in; do | 
|---|
| 11684 |       case $f in | 
|---|
| 11685 |       -) echo $tmp/stdin ;; | 
|---|
| 11686 |       [\\/$]*) | 
|---|
| 11687 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 11688 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 11689 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 11690 |    { (exit 1); exit 1; }; } | 
|---|
| 11691 |          echo "$f";; | 
|---|
| 11692 |       *) # Relative | 
|---|
| 11693 |          if test -f "$f"; then | 
|---|
| 11694 |            # Build tree | 
|---|
| 11695 |            echo "$f" | 
|---|
| 11696 |          elif test -f "$srcdir/$f"; then | 
|---|
| 11697 |            # Source tree | 
|---|
| 11698 |            echo "$srcdir/$f" | 
|---|
| 11699 |          else | 
|---|
| 11700 |            # /dev/null tree | 
|---|
| 11701 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 11702 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 11703 |    { (exit 1); exit 1; }; } | 
|---|
| 11704 |          fi;; | 
|---|
| 11705 |       esac | 
|---|
| 11706 |     done` || { (exit 1); exit 1; } | 
|---|
| 11707 | _ACEOF | 
|---|
| 11708 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 11709 |   sed "$ac_vpsub | 
|---|
| 11710 | $extrasub | 
|---|
| 11711 | _ACEOF | 
|---|
| 11712 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11713 | :t | 
|---|
| 11714 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 11715 | s,@configure_input@,$configure_input,;t t | 
|---|
| 11716 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
| 11717 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
| 11718 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
| 11719 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
| 11720 | s,@builddir@,$ac_builddir,;t t | 
|---|
| 11721 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
| 11722 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
| 11723 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
| 11724 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
| 11725 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
| 11726 |   rm -f $tmp/stdin | 
|---|
| 11727 |   if test x"$ac_file" != x-; then | 
|---|
| 11728 |     mv $tmp/out $ac_file | 
|---|
| 11729 |   else | 
|---|
| 11730 |     cat $tmp/out | 
|---|
| 11731 |     rm -f $tmp/out | 
|---|
| 11732 |   fi | 
|---|
| 11733 |  | 
|---|
| 11734 | done | 
|---|
| 11735 | _ACEOF | 
|---|
| 11736 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11737 |  | 
|---|
| 11738 | # | 
|---|
| 11739 | # CONFIG_HEADER section. | 
|---|
| 11740 | # | 
|---|
| 11741 |  | 
|---|
| 11742 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
| 11743 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
| 11744 | # | 
|---|
| 11745 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
| 11746 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
| 11747 | ac_dB='[         ].*$,\1#\2' | 
|---|
| 11748 | ac_dC=' ' | 
|---|
| 11749 | ac_dD=',;t' | 
|---|
| 11750 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
| 11751 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
| 11752 | ac_uB='$,\1#\2define\3' | 
|---|
| 11753 | ac_uC=' ' | 
|---|
| 11754 | ac_uD=',;t' | 
|---|
| 11755 |  | 
|---|
| 11756 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
| 11757 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 11758 |   case $ac_file in | 
|---|
| 11759 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 11760 |         cat >$tmp/stdin | 
|---|
| 11761 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 11762 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 11763 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 11764 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 11765 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 11766 |   esac | 
|---|
| 11767 |  | 
|---|
| 11768 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 11769 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 11770 |  | 
|---|
| 11771 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 11772 |   # src tree. | 
|---|
| 11773 |   ac_file_inputs=`IFS=: | 
|---|
| 11774 |     for f in $ac_file_in; do | 
|---|
| 11775 |       case $f in | 
|---|
| 11776 |       -) echo $tmp/stdin ;; | 
|---|
| 11777 |       [\\/$]*) | 
|---|
| 11778 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 11779 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 11780 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 11781 |    { (exit 1); exit 1; }; } | 
|---|
| 11782 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
| 11783 |          echo "$f";; | 
|---|
| 11784 |       *) # Relative | 
|---|
| 11785 |          if test -f "$f"; then | 
|---|
| 11786 |            # Build tree | 
|---|
| 11787 |            echo "$f" | 
|---|
| 11788 |          elif test -f "$srcdir/$f"; then | 
|---|
| 11789 |            # Source tree | 
|---|
| 11790 |            echo "$srcdir/$f" | 
|---|
| 11791 |          else | 
|---|
| 11792 |            # /dev/null tree | 
|---|
| 11793 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 11794 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 11795 |    { (exit 1); exit 1; }; } | 
|---|
| 11796 |          fi;; | 
|---|
| 11797 |       esac | 
|---|
| 11798 |     done` || { (exit 1); exit 1; } | 
|---|
| 11799 |   # Remove the trailing spaces. | 
|---|
| 11800 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
| 11801 |  | 
|---|
| 11802 | _ACEOF | 
|---|
| 11803 |  | 
|---|
| 11804 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
| 11805 | # `conftest.undefs', that substitutes the proper values into | 
|---|
| 11806 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
| 11807 | # templates, and the second `#undef' templates. | 
|---|
| 11808 | # And first: Protect against being on the right side of a sed subst in | 
|---|
| 11809 | # config.status.  Protect against being in an unquoted here document | 
|---|
| 11810 | # in config.status. | 
|---|
| 11811 | rm -f conftest.defines conftest.undefs | 
|---|
| 11812 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
| 11813 | # Putting comments in sed scripts is not portable. | 
|---|
| 11814 | # | 
|---|
| 11815 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
| 11816 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
| 11817 | # See the Autoconf documentation for `clear'. | 
|---|
| 11818 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
| 11819 | s/[\\&,]/\\&/g | 
|---|
| 11820 | s,[\\$`],\\&,g | 
|---|
| 11821 | t clear | 
|---|
| 11822 | : clear | 
|---|
| 11823 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
| 11824 | t end | 
|---|
| 11825 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
| 11826 | : end | 
|---|
| 11827 | _ACEOF | 
|---|
| 11828 | # If some macros were called several times there might be several times | 
|---|
| 11829 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
| 11830 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
| 11831 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
| 11832 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
| 11833 | rm -f confdef2sed.sed | 
|---|
| 11834 |  | 
|---|
| 11835 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
| 11836 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 11837 | # on some systems where configure will not decide to define it. | 
|---|
| 11838 | cat >>conftest.undefs <<\_ACEOF | 
|---|
| 11839 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
| 11840 | _ACEOF | 
|---|
| 11841 |  | 
|---|
| 11842 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
| 11843 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 11844 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
| 11845 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
| 11846 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
| 11847 | echo '  :' >>$CONFIG_STATUS | 
|---|
| 11848 | rm -f conftest.tail | 
|---|
| 11849 | while grep . conftest.defines >/dev/null | 
|---|
| 11850 | do | 
|---|
| 11851 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
| 11852 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 11853 |   # Speed up: don't consider the non `#define' lines. | 
|---|
| 11854 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
| 11855 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 11856 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 11857 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 11858 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
| 11859 |   echo 'CEOF | 
|---|
| 11860 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
| 11861 |   rm -f $tmp/in | 
|---|
| 11862 |   mv $tmp/out $tmp/in | 
|---|
| 11863 | ' >>$CONFIG_STATUS | 
|---|
| 11864 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
| 11865 |   rm -f conftest.defines | 
|---|
| 11866 |   mv conftest.tail conftest.defines | 
|---|
| 11867 | done | 
|---|
| 11868 | rm -f conftest.defines | 
|---|
| 11869 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
| 11870 | echo >>$CONFIG_STATUS | 
|---|
| 11871 |  | 
|---|
| 11872 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
| 11873 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 11874 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
| 11875 | rm -f conftest.tail | 
|---|
| 11876 | while grep . conftest.undefs >/dev/null | 
|---|
| 11877 | do | 
|---|
| 11878 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
| 11879 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 11880 |   # Speed up: don't consider the non `#undef' | 
|---|
| 11881 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
| 11882 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 11883 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 11884 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 11885 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
| 11886 |   echo 'CEOF | 
|---|
| 11887 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
| 11888 |   rm -f $tmp/in | 
|---|
| 11889 |   mv $tmp/out $tmp/in | 
|---|
| 11890 | ' >>$CONFIG_STATUS | 
|---|
| 11891 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
| 11892 |   rm -f conftest.undefs | 
|---|
| 11893 |   mv conftest.tail conftest.undefs | 
|---|
| 11894 | done | 
|---|
| 11895 | rm -f conftest.undefs | 
|---|
| 11896 |  | 
|---|
| 11897 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11898 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 11899 |   # use $as_me), people would be surprised to read: | 
|---|
| 11900 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 11901 |   if test x"$ac_file" = x-; then | 
|---|
| 11902 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
| 11903 |   else | 
|---|
| 11904 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
| 11905 |   fi | 
|---|
| 11906 |   cat $tmp/in >>$tmp/config.h | 
|---|
| 11907 |   rm -f $tmp/in | 
|---|
| 11908 |   if test x"$ac_file" != x-; then | 
|---|
| 11909 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
| 11910 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
| 11911 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 11912 |     else | 
|---|
| 11913 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 11914 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11915 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 11916 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 11917 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 11918 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11919 | echo X"$ac_file" | | 
|---|
| 11920 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11921 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11922 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11923 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 11924 |           s/.*/./; q'` | 
|---|
| 11925 |       { if $as_mkdir_p; then | 
|---|
| 11926 |     mkdir -p "$ac_dir" | 
|---|
| 11927 |   else | 
|---|
| 11928 |     as_dir="$ac_dir" | 
|---|
| 11929 |     as_dirs= | 
|---|
| 11930 |     while test ! -d "$as_dir"; do | 
|---|
| 11931 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 11932 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 11933 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11934 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 11935 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 11936 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 11937 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11938 | echo X"$as_dir" | | 
|---|
| 11939 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11940 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11941 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11942 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 11943 |           s/.*/./; q'` | 
|---|
| 11944 |     done | 
|---|
| 11945 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 11946 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 11947 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 11948 |    { (exit 1); exit 1; }; }; } | 
|---|
| 11949 |  | 
|---|
| 11950 |       rm -f $ac_file | 
|---|
| 11951 |       mv $tmp/config.h $ac_file | 
|---|
| 11952 |     fi | 
|---|
| 11953 |   else | 
|---|
| 11954 |     cat $tmp/config.h | 
|---|
| 11955 |     rm -f $tmp/config.h | 
|---|
| 11956 |   fi | 
|---|
| 11957 | # Compute $ac_file's index in $config_headers. | 
|---|
| 11958 | _am_stamp_count=1 | 
|---|
| 11959 | for _am_header in $config_headers :; do | 
|---|
| 11960 |   case $_am_header in | 
|---|
| 11961 |     $ac_file | $ac_file:* ) | 
|---|
| 11962 |       break ;; | 
|---|
| 11963 |     * ) | 
|---|
| 11964 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 11965 |   esac | 
|---|
| 11966 | done | 
|---|
| 11967 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
| 11968 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11969 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
| 11970 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
| 11971 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
| 11972 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11973 | echo X$ac_file | | 
|---|
| 11974 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11975 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11976 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11977 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 11978 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 11979 | done | 
|---|
| 11980 | _ACEOF | 
|---|
| 11981 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 11982 |  | 
|---|
| 11983 | # | 
|---|
| 11984 | # CONFIG_COMMANDS section. | 
|---|
| 11985 | # | 
|---|
| 11986 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
| 11987 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
| 11988 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 11989 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
| 11990 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 11991 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
| 11992 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
| 11993 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
| 11994 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 11995 | echo X"$ac_dest" | | 
|---|
| 11996 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 11997 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 11998 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 11999 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 12000 |           s/.*/./; q'` | 
|---|
| 12001 |   { if $as_mkdir_p; then | 
|---|
| 12002 |     mkdir -p "$ac_dir" | 
|---|
| 12003 |   else | 
|---|
| 12004 |     as_dir="$ac_dir" | 
|---|
| 12005 |     as_dirs= | 
|---|
| 12006 |     while test ! -d "$as_dir"; do | 
|---|
| 12007 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 12008 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 12009 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 12010 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 12011 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 12012 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 12013 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 12014 | echo X"$as_dir" | | 
|---|
| 12015 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 12016 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 12017 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 12018 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 12019 |           s/.*/./; q'` | 
|---|
| 12020 |     done | 
|---|
| 12021 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 12022 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 12023 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 12024 |    { (exit 1); exit 1; }; }; } | 
|---|
| 12025 |  | 
|---|
| 12026 |   ac_builddir=. | 
|---|
| 12027 |  | 
|---|
| 12028 | if test "$ac_dir" != .; then | 
|---|
| 12029 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 12030 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 12031 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 12032 | else | 
|---|
| 12033 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 12034 | fi | 
|---|
| 12035 |  | 
|---|
| 12036 | case $srcdir in | 
|---|
| 12037 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 12038 |     ac_srcdir=. | 
|---|
| 12039 |     if test -z "$ac_top_builddir"; then | 
|---|
| 12040 |        ac_top_srcdir=. | 
|---|
| 12041 |     else | 
|---|
| 12042 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 12043 |     fi ;; | 
|---|
| 12044 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 12045 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 12046 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 12047 |   *) # Relative path. | 
|---|
| 12048 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 12049 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 12050 | esac | 
|---|
| 12051 |  | 
|---|
| 12052 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 12053 | # the directories may not exist. | 
|---|
| 12054 | case `pwd` in | 
|---|
| 12055 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 12056 | *) | 
|---|
| 12057 |   case "$ac_dir" in | 
|---|
| 12058 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 12059 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 12060 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 12061 |   esac;; | 
|---|
| 12062 | esac | 
|---|
| 12063 | case $ac_abs_builddir in | 
|---|
| 12064 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 12065 | *) | 
|---|
| 12066 |   case ${ac_top_builddir}. in | 
|---|
| 12067 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 12068 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 12069 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 12070 |   esac;; | 
|---|
| 12071 | esac | 
|---|
| 12072 | case $ac_abs_builddir in | 
|---|
| 12073 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 12074 | *) | 
|---|
| 12075 |   case $ac_srcdir in | 
|---|
| 12076 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 12077 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 12078 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 12079 |   esac;; | 
|---|
| 12080 | esac | 
|---|
| 12081 | case $ac_abs_builddir in | 
|---|
| 12082 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 12083 | *) | 
|---|
| 12084 |   case $ac_top_srcdir in | 
|---|
| 12085 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 12086 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 12087 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 12088 |   esac;; | 
|---|
| 12089 | esac | 
|---|
| 12090 |  | 
|---|
| 12091 |  | 
|---|
| 12092 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
| 12093 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
| 12094 |   case $ac_dest in | 
|---|
| 12095 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
| 12096 |   # Strip MF so we end up with the name of the file. | 
|---|
| 12097 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 12098 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
| 12099 |   # We used to match only the files named `Makefile.in', but | 
|---|
| 12100 |   # some people rename them; so instead we look at the file content. | 
|---|
| 12101 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
| 12102 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 12103 |   # So let's grep whole file. | 
|---|
| 12104 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
| 12105 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
| 12106 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 12107 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 12108 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 12109 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
| 12110 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 12111 | echo X"$mf" | | 
|---|
| 12112 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 12113 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 12114 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 12115 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 12116 |           s/.*/./; q'` | 
|---|
| 12117 |   else | 
|---|
| 12118 |     continue | 
|---|
| 12119 |   fi | 
|---|
| 12120 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
| 12121 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
| 12122 |   # running `make'. | 
|---|
| 12123 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| 12124 |   test -z "$DEPDIR" && continue | 
|---|
| 12125 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| 12126 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| 12127 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
| 12128 |   # We invoke sed twice because it is the simplest approach to | 
|---|
| 12129 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| 12130 |   for file in `sed -n ' | 
|---|
| 12131 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
| 12132 |       s/^DEP_FILES = // | 
|---|
| 12133 |       :loop | 
|---|
| 12134 |         s/\\\\$// | 
|---|
| 12135 |         p | 
|---|
| 12136 |         n | 
|---|
| 12137 |         /\\\\$/ b loop | 
|---|
| 12138 |       p | 
|---|
| 12139 |     } | 
|---|
| 12140 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
| 12141 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
| 12142 |     # Make sure the directory exists. | 
|---|
| 12143 |     test -f "$dirpart/$file" && continue | 
|---|
| 12144 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
| 12145 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 12146 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 12147 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
| 12148 |          X"$file" : 'X\(/\)' \| \ | 
|---|
| 12149 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 12150 | echo X"$file" | | 
|---|
| 12151 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 12152 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 12153 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 12154 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 12155 |           s/.*/./; q'` | 
|---|
| 12156 |     { if $as_mkdir_p; then | 
|---|
| 12157 |     mkdir -p $dirpart/$fdir | 
|---|
| 12158 |   else | 
|---|
| 12159 |     as_dir=$dirpart/$fdir | 
|---|
| 12160 |     as_dirs= | 
|---|
| 12161 |     while test ! -d "$as_dir"; do | 
|---|
| 12162 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 12163 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 12164 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 12165 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 12166 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 12167 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 12168 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 12169 | echo X"$as_dir" | | 
|---|
| 12170 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 12171 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 12172 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 12173 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 12174 |           s/.*/./; q'` | 
|---|
| 12175 |     done | 
|---|
| 12176 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 12177 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
| 12178 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
| 12179 |    { (exit 1); exit 1; }; }; } | 
|---|
| 12180 |  | 
|---|
| 12181 |     # echo "creating $dirpart/$file" | 
|---|
| 12182 |     echo '# dummy' > "$dirpart/$file" | 
|---|
| 12183 |   done | 
|---|
| 12184 | done | 
|---|
| 12185 |  ;; | 
|---|
| 12186 |   esac | 
|---|
| 12187 | done | 
|---|
| 12188 | _ACEOF | 
|---|
| 12189 |  | 
|---|
| 12190 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 12191 |  | 
|---|
| 12192 | { (exit 0); exit 0; } | 
|---|
| 12193 | _ACEOF | 
|---|
| 12194 | chmod +x $CONFIG_STATUS | 
|---|
| 12195 | ac_clean_files=$ac_clean_files_save | 
|---|
| 12196 |  | 
|---|
| 12197 |  | 
|---|
| 12198 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 12199 | # config.status does its own redirection, appending to config.log. | 
|---|
| 12200 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 12201 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 12202 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 12203 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 12204 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 12205 | # need to make the FD available again. | 
|---|
| 12206 | if test "$no_create" != yes; then | 
|---|
| 12207 |   ac_cs_success=: | 
|---|
| 12208 |   ac_config_status_args= | 
|---|
| 12209 |   test "$silent" = yes && | 
|---|
| 12210 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 12211 |   exec 5>/dev/null | 
|---|
| 12212 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 12213 |   exec 5>>config.log | 
|---|
| 12214 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 12215 |   # would make configure fail if this is the last instruction. | 
|---|
| 12216 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
| 12217 | fi | 
|---|
| 12218 |  | 
|---|