| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.3.0_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.0_alpha' | 
|---|
| 273 | PACKAGE_STRING='orxonox 0.3.0_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 GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE CURL_LIBS CURL_CFLAGS HAVE_CURL_TRUE HAVE_CURL_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.0_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.0_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-sub-projects     also builds the subProjects while make from srcdir | 
|---|
| 882 |  | 
|---|
| 883 | Some influential environment variables: | 
|---|
| 884 |   CXX         C++ compiler command | 
|---|
| 885 |   CXXFLAGS    C++ compiler flags | 
|---|
| 886 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 887 |               nonstandard directory <lib dir> | 
|---|
| 888 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
| 889 |               headers in a nonstandard directory <include dir> | 
|---|
| 890 |   CC          C compiler command | 
|---|
| 891 |   CFLAGS      C compiler flags | 
|---|
| 892 |   CPP         C preprocessor | 
|---|
| 893 |  | 
|---|
| 894 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 895 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 896 |  | 
|---|
| 897 | Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| 898 | _ACEOF | 
|---|
| 899 | fi | 
|---|
| 900 |  | 
|---|
| 901 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 902 |   # If there are subdirs, report their specific --help. | 
|---|
| 903 |   ac_popdir=`pwd` | 
|---|
| 904 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 905 |     test -d $ac_dir || continue | 
|---|
| 906 |     ac_builddir=. | 
|---|
| 907 |  | 
|---|
| 908 | if test "$ac_dir" != .; then | 
|---|
| 909 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 910 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 911 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 912 | else | 
|---|
| 913 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 914 | fi | 
|---|
| 915 |  | 
|---|
| 916 | case $srcdir in | 
|---|
| 917 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 918 |     ac_srcdir=. | 
|---|
| 919 |     if test -z "$ac_top_builddir"; then | 
|---|
| 920 |        ac_top_srcdir=. | 
|---|
| 921 |     else | 
|---|
| 922 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 923 |     fi ;; | 
|---|
| 924 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 925 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 926 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 927 |   *) # Relative path. | 
|---|
| 928 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 929 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 930 | esac | 
|---|
| 931 |  | 
|---|
| 932 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 933 | # the directories may not exist. | 
|---|
| 934 | case `pwd` in | 
|---|
| 935 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 936 | *) | 
|---|
| 937 |   case "$ac_dir" in | 
|---|
| 938 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 939 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 940 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 941 |   esac;; | 
|---|
| 942 | esac | 
|---|
| 943 | case $ac_abs_builddir in | 
|---|
| 944 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 945 | *) | 
|---|
| 946 |   case ${ac_top_builddir}. in | 
|---|
| 947 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 948 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 949 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 950 |   esac;; | 
|---|
| 951 | esac | 
|---|
| 952 | case $ac_abs_builddir in | 
|---|
| 953 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 954 | *) | 
|---|
| 955 |   case $ac_srcdir in | 
|---|
| 956 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 957 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 958 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 959 |   esac;; | 
|---|
| 960 | esac | 
|---|
| 961 | case $ac_abs_builddir in | 
|---|
| 962 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 963 | *) | 
|---|
| 964 |   case $ac_top_srcdir in | 
|---|
| 965 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 966 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 967 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 968 |   esac;; | 
|---|
| 969 | esac | 
|---|
| 970 |  | 
|---|
| 971 |     cd $ac_dir | 
|---|
| 972 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
| 973 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
| 974 |       echo | 
|---|
| 975 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
| 976 |     elif test -f $ac_srcdir/configure; then | 
|---|
| 977 |       echo | 
|---|
| 978 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
| 979 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
| 980 |            test -f $ac_srcdir/configure.in; then | 
|---|
| 981 |       echo | 
|---|
| 982 |       $ac_configure --help | 
|---|
| 983 |     else | 
|---|
| 984 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 985 |     fi | 
|---|
| 986 |     cd $ac_popdir | 
|---|
| 987 |   done | 
|---|
| 988 | fi | 
|---|
| 989 |  | 
|---|
| 990 | test -n "$ac_init_help" && exit 0 | 
|---|
| 991 | if $ac_init_version; then | 
|---|
| 992 |   cat <<\_ACEOF | 
|---|
| 993 | orxonox configure 0.3.0_alpha | 
|---|
| 994 | generated by GNU Autoconf 2.59 | 
|---|
| 995 |  | 
|---|
| 996 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 997 | This configure script is free software; the Free Software Foundation | 
|---|
| 998 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 999 | _ACEOF | 
|---|
| 1000 |   exit 0 | 
|---|
| 1001 | fi | 
|---|
| 1002 | exec 5>config.log | 
|---|
| 1003 | cat >&5 <<_ACEOF | 
|---|
| 1004 | This file contains any messages produced by compilers while | 
|---|
| 1005 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 1006 |  | 
|---|
| 1007 | It was created by orxonox $as_me 0.3.0_alpha, which was | 
|---|
| 1008 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 1009 |  | 
|---|
| 1010 |   $ $0 $@ | 
|---|
| 1011 |  | 
|---|
| 1012 | _ACEOF | 
|---|
| 1013 | { | 
|---|
| 1014 | cat <<_ASUNAME | 
|---|
| 1015 | ## --------- ## | 
|---|
| 1016 | ## Platform. ## | 
|---|
| 1017 | ## --------- ## | 
|---|
| 1018 |  | 
|---|
| 1019 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1020 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1021 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1022 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1023 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1024 |  | 
|---|
| 1025 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1026 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1027 |  | 
|---|
| 1028 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1029 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1030 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1031 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
| 1032 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1033 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1034 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1035 |  | 
|---|
| 1036 | _ASUNAME | 
|---|
| 1037 |  | 
|---|
| 1038 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1039 | for as_dir in $PATH | 
|---|
| 1040 | do | 
|---|
| 1041 |   IFS=$as_save_IFS | 
|---|
| 1042 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1043 |   echo "PATH: $as_dir" | 
|---|
| 1044 | done | 
|---|
| 1045 |  | 
|---|
| 1046 | } >&5 | 
|---|
| 1047 |  | 
|---|
| 1048 | cat >&5 <<_ACEOF | 
|---|
| 1049 |  | 
|---|
| 1050 |  | 
|---|
| 1051 | ## ----------- ## | 
|---|
| 1052 | ## Core tests. ## | 
|---|
| 1053 | ## ----------- ## | 
|---|
| 1054 |  | 
|---|
| 1055 | _ACEOF | 
|---|
| 1056 |  | 
|---|
| 1057 |  | 
|---|
| 1058 | # Keep a trace of the command line. | 
|---|
| 1059 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1060 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1061 | # Also quote any args containing shell meta-characters. | 
|---|
| 1062 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1063 | ac_configure_args= | 
|---|
| 1064 | ac_configure_args0= | 
|---|
| 1065 | ac_configure_args1= | 
|---|
| 1066 | ac_sep= | 
|---|
| 1067 | ac_must_keep_next=false | 
|---|
| 1068 | for ac_pass in 1 2 | 
|---|
| 1069 | do | 
|---|
| 1070 |   for ac_arg | 
|---|
| 1071 |   do | 
|---|
| 1072 |     case $ac_arg in | 
|---|
| 1073 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1074 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1075 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1076 |       continue ;; | 
|---|
| 1077 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1078 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1079 |     esac | 
|---|
| 1080 |     case $ac_pass in | 
|---|
| 1081 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
| 1082 |     2) | 
|---|
| 1083 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
| 1084 |       if test $ac_must_keep_next = true; then | 
|---|
| 1085 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1086 |       else | 
|---|
| 1087 |         case $ac_arg in | 
|---|
| 1088 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1089 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1090 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1091 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1092 |             case "$ac_configure_args0 " in | 
|---|
| 1093 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1094 |             esac | 
|---|
| 1095 |             ;; | 
|---|
| 1096 |           -* ) ac_must_keep_next=true ;; | 
|---|
| 1097 |         esac | 
|---|
| 1098 |       fi | 
|---|
| 1099 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
| 1100 |       # Get rid of the leading space. | 
|---|
| 1101 |       ac_sep=" " | 
|---|
| 1102 |       ;; | 
|---|
| 1103 |     esac | 
|---|
| 1104 |   done | 
|---|
| 1105 | done | 
|---|
| 1106 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
| 1107 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
| 1108 |  | 
|---|
| 1109 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1110 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1111 | # would cause problems or look ugly. | 
|---|
| 1112 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
| 1113 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
| 1114 | trap 'exit_status=$? | 
|---|
| 1115 |   # Save into config.log some information that might help in debugging. | 
|---|
| 1116 |   { | 
|---|
| 1117 |     echo | 
|---|
| 1118 |  | 
|---|
| 1119 |     cat <<\_ASBOX | 
|---|
| 1120 | ## ---------------- ## | 
|---|
| 1121 | ## Cache variables. ## | 
|---|
| 1122 | ## ---------------- ## | 
|---|
| 1123 | _ASBOX | 
|---|
| 1124 |     echo | 
|---|
| 1125 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1126 | { | 
|---|
| 1127 |   (set) 2>&1 | | 
|---|
| 1128 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
| 1129 |     *ac_space=\ *) | 
|---|
| 1130 |       sed -n \ | 
|---|
| 1131 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
| 1132 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
| 1133 |       ;; | 
|---|
| 1134 |     *) | 
|---|
| 1135 |       sed -n \ | 
|---|
| 1136 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 1137 |       ;; | 
|---|
| 1138 |     esac; | 
|---|
| 1139 | } | 
|---|
| 1140 |     echo | 
|---|
| 1141 |  | 
|---|
| 1142 |     cat <<\_ASBOX | 
|---|
| 1143 | ## ----------------- ## | 
|---|
| 1144 | ## Output variables. ## | 
|---|
| 1145 | ## ----------------- ## | 
|---|
| 1146 | _ASBOX | 
|---|
| 1147 |     echo | 
|---|
| 1148 |     for ac_var in $ac_subst_vars | 
|---|
| 1149 |     do | 
|---|
| 1150 |       eval ac_val=$`echo $ac_var` | 
|---|
| 1151 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1152 |     done | sort | 
|---|
| 1153 |     echo | 
|---|
| 1154 |  | 
|---|
| 1155 |     if test -n "$ac_subst_files"; then | 
|---|
| 1156 |       cat <<\_ASBOX | 
|---|
| 1157 | ## ------------- ## | 
|---|
| 1158 | ## Output files. ## | 
|---|
| 1159 | ## ------------- ## | 
|---|
| 1160 | _ASBOX | 
|---|
| 1161 |       echo | 
|---|
| 1162 |       for ac_var in $ac_subst_files | 
|---|
| 1163 |       do | 
|---|
| 1164 |         eval ac_val=$`echo $ac_var` | 
|---|
| 1165 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1166 |       done | sort | 
|---|
| 1167 |       echo | 
|---|
| 1168 |     fi | 
|---|
| 1169 |  | 
|---|
| 1170 |     if test -s confdefs.h; then | 
|---|
| 1171 |       cat <<\_ASBOX | 
|---|
| 1172 | ## ----------- ## | 
|---|
| 1173 | ## confdefs.h. ## | 
|---|
| 1174 | ## ----------- ## | 
|---|
| 1175 | _ASBOX | 
|---|
| 1176 |       echo | 
|---|
| 1177 |       sed "/^$/d" confdefs.h | sort | 
|---|
| 1178 |       echo | 
|---|
| 1179 |     fi | 
|---|
| 1180 |     test "$ac_signal" != 0 && | 
|---|
| 1181 |       echo "$as_me: caught signal $ac_signal" | 
|---|
| 1182 |     echo "$as_me: exit $exit_status" | 
|---|
| 1183 |   } >&5 | 
|---|
| 1184 |   rm -f core *.core && | 
|---|
| 1185 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1186 |     exit $exit_status | 
|---|
| 1187 |      ' 0 | 
|---|
| 1188 | for ac_signal in 1 2 13 15; do | 
|---|
| 1189 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
| 1190 | done | 
|---|
| 1191 | ac_signal=0 | 
|---|
| 1192 |  | 
|---|
| 1193 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1194 | rm -rf conftest* confdefs.h | 
|---|
| 1195 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
| 1196 | echo >confdefs.h | 
|---|
| 1197 |  | 
|---|
| 1198 | # Predefined preprocessor variables. | 
|---|
| 1199 |  | 
|---|
| 1200 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1201 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1202 | _ACEOF | 
|---|
| 1203 |  | 
|---|
| 1204 |  | 
|---|
| 1205 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1206 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1207 | _ACEOF | 
|---|
| 1208 |  | 
|---|
| 1209 |  | 
|---|
| 1210 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1211 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1212 | _ACEOF | 
|---|
| 1213 |  | 
|---|
| 1214 |  | 
|---|
| 1215 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1216 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1217 | _ACEOF | 
|---|
| 1218 |  | 
|---|
| 1219 |  | 
|---|
| 1220 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1221 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1222 | _ACEOF | 
|---|
| 1223 |  | 
|---|
| 1224 |  | 
|---|
| 1225 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1226 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
| 1227 | if test -z "$CONFIG_SITE"; then | 
|---|
| 1228 |   if test "x$prefix" != xNONE; then | 
|---|
| 1229 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
| 1230 |   else | 
|---|
| 1231 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
| 1232 |   fi | 
|---|
| 1233 | fi | 
|---|
| 1234 | for ac_site_file in $CONFIG_SITE; do | 
|---|
| 1235 |   if test -r "$ac_site_file"; then | 
|---|
| 1236 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
| 1237 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1238 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1239 |     . "$ac_site_file" | 
|---|
| 1240 |   fi | 
|---|
| 1241 | done | 
|---|
| 1242 |  | 
|---|
| 1243 | if test -r "$cache_file"; then | 
|---|
| 1244 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
| 1245 |   # files actually), so we avoid doing that. | 
|---|
| 1246 |   if test -f "$cache_file"; then | 
|---|
| 1247 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
| 1248 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1249 |     case $cache_file in | 
|---|
| 1250 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
| 1251 |       *)                      . ./$cache_file;; | 
|---|
| 1252 |     esac | 
|---|
| 1253 |   fi | 
|---|
| 1254 | else | 
|---|
| 1255 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
| 1256 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1257 |   >$cache_file | 
|---|
| 1258 | fi | 
|---|
| 1259 |  | 
|---|
| 1260 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1261 | # value. | 
|---|
| 1262 | ac_cache_corrupted=false | 
|---|
| 1263 | for ac_var in `(set) 2>&1 | | 
|---|
| 1264 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
| 1265 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1266 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1267 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
| 1268 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
| 1269 |   case $ac_old_set,$ac_new_set in | 
|---|
| 1270 |     set,) | 
|---|
| 1271 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1272 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1273 |       ac_cache_corrupted=: ;; | 
|---|
| 1274 |     ,set) | 
|---|
| 1275 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1276 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1277 |       ac_cache_corrupted=: ;; | 
|---|
| 1278 |     ,);; | 
|---|
| 1279 |     *) | 
|---|
| 1280 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1281 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1282 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1283 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
| 1284 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
| 1285 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
| 1286 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
| 1287 |         ac_cache_corrupted=: | 
|---|
| 1288 |       fi;; | 
|---|
| 1289 |   esac | 
|---|
| 1290 |   # Pass precious variables to config.status. | 
|---|
| 1291 |   if test "$ac_new_set" = set; then | 
|---|
| 1292 |     case $ac_new_val in | 
|---|
| 1293 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1294 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1295 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1296 |     esac | 
|---|
| 1297 |     case " $ac_configure_args " in | 
|---|
| 1298 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1299 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
| 1300 |     esac | 
|---|
| 1301 |   fi | 
|---|
| 1302 | done | 
|---|
| 1303 | if $ac_cache_corrupted; then | 
|---|
| 1304 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1305 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1306 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
| 1307 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
| 1308 |    { (exit 1); exit 1; }; } | 
|---|
| 1309 | fi | 
|---|
| 1310 |  | 
|---|
| 1311 | ac_ext=c | 
|---|
| 1312 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1313 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1314 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1315 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1316 |  | 
|---|
| 1317 |  | 
|---|
| 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 | ## Detect the canonical host and target build environment. | 
|---|
| 1345 | ac_aux_dir= | 
|---|
| 1346 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
| 1347 |   if test -f $ac_dir/install-sh; then | 
|---|
| 1348 |     ac_aux_dir=$ac_dir | 
|---|
| 1349 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 1350 |     break | 
|---|
| 1351 |   elif test -f $ac_dir/install.sh; then | 
|---|
| 1352 |     ac_aux_dir=$ac_dir | 
|---|
| 1353 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 1354 |     break | 
|---|
| 1355 |   elif test -f $ac_dir/shtool; then | 
|---|
| 1356 |     ac_aux_dir=$ac_dir | 
|---|
| 1357 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 1358 |     break | 
|---|
| 1359 |   fi | 
|---|
| 1360 | done | 
|---|
| 1361 | if test -z "$ac_aux_dir"; then | 
|---|
| 1362 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
| 1363 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
| 1364 |    { (exit 1); exit 1; }; } | 
|---|
| 1365 | fi | 
|---|
| 1366 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
| 1367 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
| 1368 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
| 1369 |  | 
|---|
| 1370 | # Make sure we can run config.sub. | 
|---|
| 1371 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
| 1372 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
| 1373 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
| 1374 |    { (exit 1); exit 1; }; } | 
|---|
| 1375 |  | 
|---|
| 1376 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
| 1377 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
| 1378 | if test "${ac_cv_build+set}" = set; then | 
|---|
| 1379 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1380 | else | 
|---|
| 1381 |   ac_cv_build_alias=$build_alias | 
|---|
| 1382 | test -z "$ac_cv_build_alias" && | 
|---|
| 1383 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
| 1384 | test -z "$ac_cv_build_alias" && | 
|---|
| 1385 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
| 1386 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
| 1387 |    { (exit 1); exit 1; }; } | 
|---|
| 1388 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
| 1389 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
| 1390 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
| 1391 |    { (exit 1); exit 1; }; } | 
|---|
| 1392 |  | 
|---|
| 1393 | fi | 
|---|
| 1394 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
| 1395 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
| 1396 | build=$ac_cv_build | 
|---|
| 1397 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1398 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1399 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1400 |  | 
|---|
| 1401 |  | 
|---|
| 1402 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
| 1403 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
| 1404 | if test "${ac_cv_host+set}" = set; then | 
|---|
| 1405 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1406 | else | 
|---|
| 1407 |   ac_cv_host_alias=$host_alias | 
|---|
| 1408 | test -z "$ac_cv_host_alias" && | 
|---|
| 1409 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
| 1410 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
| 1411 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
| 1412 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
| 1413 |    { (exit 1); exit 1; }; } | 
|---|
| 1414 |  | 
|---|
| 1415 | fi | 
|---|
| 1416 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
| 1417 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
| 1418 | host=$ac_cv_host | 
|---|
| 1419 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1420 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1421 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1422 |  | 
|---|
| 1423 |  | 
|---|
| 1424 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
| 1425 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
| 1426 | if test "${ac_cv_target+set}" = set; then | 
|---|
| 1427 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1428 | else | 
|---|
| 1429 |   ac_cv_target_alias=$target_alias | 
|---|
| 1430 | test "x$ac_cv_target_alias" = "x" && | 
|---|
| 1431 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
| 1432 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
| 1433 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
| 1434 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
| 1435 |    { (exit 1); exit 1; }; } | 
|---|
| 1436 |  | 
|---|
| 1437 | fi | 
|---|
| 1438 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
| 1439 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
| 1440 | target=$ac_cv_target | 
|---|
| 1441 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1442 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1443 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1444 |  | 
|---|
| 1445 |  | 
|---|
| 1446 | # The aliases save the names the user supplied, while $host etc. | 
|---|
| 1447 | # will get canonicalized. | 
|---|
| 1448 | test -n "$target_alias" && | 
|---|
| 1449 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
| 1450 |     NONENONEs,x,x, && | 
|---|
| 1451 |   program_prefix=${target_alias}- | 
|---|
| 1452 |  | 
|---|
| 1453 | am__api_version="1.8" | 
|---|
| 1454 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1455 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1456 | # incompatible versions: | 
|---|
| 1457 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1458 | # SunOS /usr/etc/install | 
|---|
| 1459 | # IRIX /sbin/install | 
|---|
| 1460 | # AIX /bin/install | 
|---|
| 1461 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 1462 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1463 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1464 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1465 | # OS/2's system install, which has a completely different semantic | 
|---|
| 1466 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1467 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
| 1468 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
| 1469 | if test -z "$INSTALL"; then | 
|---|
| 1470 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1471 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1472 | else | 
|---|
| 1473 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1474 | for as_dir in $PATH | 
|---|
| 1475 | do | 
|---|
| 1476 |   IFS=$as_save_IFS | 
|---|
| 1477 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1478 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1479 | case $as_dir/ in | 
|---|
| 1480 |   ./ | .// | /cC/* | \ | 
|---|
| 1481 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 1482 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
| 1483 |   /usr/ucb/* ) ;; | 
|---|
| 1484 |   *) | 
|---|
| 1485 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1486 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1487 |     # by default. | 
|---|
| 1488 |     for ac_prog in ginstall scoinst install; do | 
|---|
| 1489 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1490 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 1491 |           if test $ac_prog = install && | 
|---|
| 1492 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1493 |             # AIX install.  It has an incompatible calling convention. | 
|---|
| 1494 |             : | 
|---|
| 1495 |           elif test $ac_prog = install && | 
|---|
| 1496 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1497 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
| 1498 |             : | 
|---|
| 1499 |           else | 
|---|
| 1500 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 1501 |             break 3 | 
|---|
| 1502 |           fi | 
|---|
| 1503 |         fi | 
|---|
| 1504 |       done | 
|---|
| 1505 |     done | 
|---|
| 1506 |     ;; | 
|---|
| 1507 | esac | 
|---|
| 1508 | done | 
|---|
| 1509 |  | 
|---|
| 1510 |  | 
|---|
| 1511 | fi | 
|---|
| 1512 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1513 |     INSTALL=$ac_cv_path_install | 
|---|
| 1514 |   else | 
|---|
| 1515 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1516 |     # path for INSTALL within a source directory, because that will | 
|---|
| 1517 |     # break other packages using the cache if that directory is | 
|---|
| 1518 |     # removed, or if the path is relative. | 
|---|
| 1519 |     INSTALL=$ac_install_sh | 
|---|
| 1520 |   fi | 
|---|
| 1521 | fi | 
|---|
| 1522 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
| 1523 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
| 1524 |  | 
|---|
| 1525 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1526 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1527 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1528 |  | 
|---|
| 1529 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 1530 |  | 
|---|
| 1531 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1532 |  | 
|---|
| 1533 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
| 1534 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
| 1535 | # Just in case | 
|---|
| 1536 | sleep 1 | 
|---|
| 1537 | echo timestamp > conftest.file | 
|---|
| 1538 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 1539 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 1540 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 1541 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 1542 | # directory). | 
|---|
| 1543 | if ( | 
|---|
| 1544 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
| 1545 |    if test "$*" = "X"; then | 
|---|
| 1546 |       # -L didn't work. | 
|---|
| 1547 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
| 1548 |    fi | 
|---|
| 1549 |    rm -f conftest.file | 
|---|
| 1550 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 1551 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 1552 |  | 
|---|
| 1553 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 1554 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 1555 |       # broken ls alias from the environment.  This has actually | 
|---|
| 1556 |       # happened.  Such a system could not be considered "sane". | 
|---|
| 1557 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1558 | alias in your environment" >&5 | 
|---|
| 1559 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1560 | alias in your environment" >&2;} | 
|---|
| 1561 |    { (exit 1); exit 1; }; } | 
|---|
| 1562 |    fi | 
|---|
| 1563 |  | 
|---|
| 1564 |    test "$2" = conftest.file | 
|---|
| 1565 |    ) | 
|---|
| 1566 | then | 
|---|
| 1567 |    # Ok. | 
|---|
| 1568 |    : | 
|---|
| 1569 | else | 
|---|
| 1570 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
| 1571 | Check your system clock" >&5 | 
|---|
| 1572 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
| 1573 | Check your system clock" >&2;} | 
|---|
| 1574 |    { (exit 1); exit 1; }; } | 
|---|
| 1575 | fi | 
|---|
| 1576 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1577 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1578 | test "$program_prefix" != NONE && | 
|---|
| 1579 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
| 1580 | # Use a double $ so make ignores it. | 
|---|
| 1581 | test "$program_suffix" != NONE && | 
|---|
| 1582 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
| 1583 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 1584 | # By default was `s,x,x', remove it if useless. | 
|---|
| 1585 | cat <<\_ACEOF >conftest.sed | 
|---|
| 1586 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
| 1587 | _ACEOF | 
|---|
| 1588 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
| 1589 | rm conftest.sed | 
|---|
| 1590 |  | 
|---|
| 1591 | # expand $ac_aux_dir to an absolute path | 
|---|
| 1592 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 1593 |  | 
|---|
| 1594 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
| 1595 | # Use eval to expand $SHELL | 
|---|
| 1596 | if eval "$MISSING --run true"; then | 
|---|
| 1597 |   am_missing_run="$MISSING --run " | 
|---|
| 1598 | else | 
|---|
| 1599 |   am_missing_run= | 
|---|
| 1600 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
| 1601 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
| 1602 | fi | 
|---|
| 1603 |  | 
|---|
| 1604 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| 1605 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
| 1606 |   # argument.  Indeed, we sometimes output rules like | 
|---|
| 1607 |   #   $(mkdir_p) $(somedir) | 
|---|
| 1608 |   # where $(somedir) is conditionally defined. | 
|---|
| 1609 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
| 1610 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
| 1611 |   mkdir_p='mkdir -p -- .' | 
|---|
| 1612 | else | 
|---|
| 1613 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
| 1614 |   # recognize any option.  It will interpret all options as | 
|---|
| 1615 |   # directories to create, and then abort because `.' already | 
|---|
| 1616 |   # exists. | 
|---|
| 1617 |   for d in ./-p ./--version; | 
|---|
| 1618 |   do | 
|---|
| 1619 |     test -d $d && rmdir $d | 
|---|
| 1620 |   done | 
|---|
| 1621 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
| 1622 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
| 1623 |     mkdir_p='$(mkinstalldirs)' | 
|---|
| 1624 |   else | 
|---|
| 1625 |     mkdir_p='$(install_sh) -d' | 
|---|
| 1626 |   fi | 
|---|
| 1627 | fi | 
|---|
| 1628 |  | 
|---|
| 1629 | for ac_prog in gawk mawk nawk awk | 
|---|
| 1630 | do | 
|---|
| 1631 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1632 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1635 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
| 1636 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1637 | else | 
|---|
| 1638 |   if test -n "$AWK"; then | 
|---|
| 1639 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 1640 | else | 
|---|
| 1641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1642 | for as_dir in $PATH | 
|---|
| 1643 | do | 
|---|
| 1644 |   IFS=$as_save_IFS | 
|---|
| 1645 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1646 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1647 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1648 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
| 1649 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1650 |     break 2 | 
|---|
| 1651 |   fi | 
|---|
| 1652 | done | 
|---|
| 1653 | done | 
|---|
| 1654 |  | 
|---|
| 1655 | fi | 
|---|
| 1656 | fi | 
|---|
| 1657 | AWK=$ac_cv_prog_AWK | 
|---|
| 1658 | if test -n "$AWK"; then | 
|---|
| 1659 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
| 1660 | echo "${ECHO_T}$AWK" >&6 | 
|---|
| 1661 | else | 
|---|
| 1662 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1663 | echo "${ECHO_T}no" >&6 | 
|---|
| 1664 | fi | 
|---|
| 1665 |  | 
|---|
| 1666 |   test -n "$AWK" && break | 
|---|
| 1667 | done | 
|---|
| 1668 |  | 
|---|
| 1669 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 1670 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
| 1671 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
| 1672 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
| 1673 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1674 | else | 
|---|
| 1675 |   cat >conftest.make <<\_ACEOF | 
|---|
| 1676 | all: | 
|---|
| 1677 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
| 1678 | _ACEOF | 
|---|
| 1679 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 1680 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
| 1681 | if test -n "$ac_maketemp"; then | 
|---|
| 1682 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 1683 | else | 
|---|
| 1684 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 1685 | fi | 
|---|
| 1686 | rm -f conftest.make | 
|---|
| 1687 | fi | 
|---|
| 1688 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 1689 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1690 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1691 |   SET_MAKE= | 
|---|
| 1692 | else | 
|---|
| 1693 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1694 | echo "${ECHO_T}no" >&6 | 
|---|
| 1695 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 1696 | fi | 
|---|
| 1697 |  | 
|---|
| 1698 | rm -rf .tst 2>/dev/null | 
|---|
| 1699 | mkdir .tst 2>/dev/null | 
|---|
| 1700 | if test -d .tst; then | 
|---|
| 1701 |   am__leading_dot=. | 
|---|
| 1702 | else | 
|---|
| 1703 |   am__leading_dot=_ | 
|---|
| 1704 | fi | 
|---|
| 1705 | rmdir .tst 2>/dev/null | 
|---|
| 1706 |  | 
|---|
| 1707 | # test to see if srcdir already configured | 
|---|
| 1708 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
| 1709 |    test -f $srcdir/config.status; then | 
|---|
| 1710 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
| 1711 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
| 1712 |    { (exit 1); exit 1; }; } | 
|---|
| 1713 | fi | 
|---|
| 1714 |  | 
|---|
| 1715 | # test whether we have cygpath | 
|---|
| 1716 | if test -z "$CYGPATH_W"; then | 
|---|
| 1717 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 1718 |     CYGPATH_W='cygpath -w' | 
|---|
| 1719 |   else | 
|---|
| 1720 |     CYGPATH_W=echo | 
|---|
| 1721 |   fi | 
|---|
| 1722 | fi | 
|---|
| 1723 |  | 
|---|
| 1724 |  | 
|---|
| 1725 | # Define the identity of the package. | 
|---|
| 1726 |  PACKAGE='orxonox' | 
|---|
| 1727 |  VERSION='0.3.0_alpha' | 
|---|
| 1728 |  | 
|---|
| 1729 |  | 
|---|
| 1730 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1731 | #define PACKAGE "$PACKAGE" | 
|---|
| 1732 | _ACEOF | 
|---|
| 1733 |  | 
|---|
| 1734 |  | 
|---|
| 1735 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1736 | #define VERSION "$VERSION" | 
|---|
| 1737 | _ACEOF | 
|---|
| 1738 |  | 
|---|
| 1739 | # Some tools Automake needs. | 
|---|
| 1740 |  | 
|---|
| 1741 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 1742 |  | 
|---|
| 1743 |  | 
|---|
| 1744 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 1745 |  | 
|---|
| 1746 |  | 
|---|
| 1747 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 1748 |  | 
|---|
| 1749 |  | 
|---|
| 1750 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 1751 |  | 
|---|
| 1752 |  | 
|---|
| 1753 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 1754 |  | 
|---|
| 1755 |  | 
|---|
| 1756 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
| 1757 |  | 
|---|
| 1758 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
| 1759 |  | 
|---|
| 1760 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
| 1761 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
| 1762 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 1763 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
| 1764 | if test "$cross_compiling" != no; then | 
|---|
| 1765 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 1766 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 1767 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 1768 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1769 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1770 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
| 1771 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1772 | else | 
|---|
| 1773 |   if test -n "$STRIP"; then | 
|---|
| 1774 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 1775 | else | 
|---|
| 1776 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1777 | for as_dir in $PATH | 
|---|
| 1778 | do | 
|---|
| 1779 |   IFS=$as_save_IFS | 
|---|
| 1780 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1781 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1782 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1783 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 1784 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1785 |     break 2 | 
|---|
| 1786 |   fi | 
|---|
| 1787 | done | 
|---|
| 1788 | done | 
|---|
| 1789 |  | 
|---|
| 1790 | fi | 
|---|
| 1791 | fi | 
|---|
| 1792 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 1793 | if test -n "$STRIP"; then | 
|---|
| 1794 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
| 1795 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
| 1796 | else | 
|---|
| 1797 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1798 | echo "${ECHO_T}no" >&6 | 
|---|
| 1799 | fi | 
|---|
| 1800 |  | 
|---|
| 1801 | fi | 
|---|
| 1802 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 1803 |   ac_ct_STRIP=$STRIP | 
|---|
| 1804 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 1805 | set dummy strip; ac_word=$2 | 
|---|
| 1806 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1807 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1808 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
| 1809 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1810 | else | 
|---|
| 1811 |   if test -n "$ac_ct_STRIP"; then | 
|---|
| 1812 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 1813 | else | 
|---|
| 1814 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1815 | for as_dir in $PATH | 
|---|
| 1816 | do | 
|---|
| 1817 |   IFS=$as_save_IFS | 
|---|
| 1818 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1819 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1820 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1821 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 1822 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1823 |     break 2 | 
|---|
| 1824 |   fi | 
|---|
| 1825 | done | 
|---|
| 1826 | done | 
|---|
| 1827 |  | 
|---|
| 1828 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
| 1829 | fi | 
|---|
| 1830 | fi | 
|---|
| 1831 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 1832 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 1833 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
| 1834 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
| 1835 | else | 
|---|
| 1836 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1837 | echo "${ECHO_T}no" >&6 | 
|---|
| 1838 | fi | 
|---|
| 1839 |  | 
|---|
| 1840 |   STRIP=$ac_ct_STRIP | 
|---|
| 1841 | else | 
|---|
| 1842 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
| 1843 | fi | 
|---|
| 1844 |  | 
|---|
| 1845 | fi | 
|---|
| 1846 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
| 1847 |  | 
|---|
| 1848 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
| 1849 | # some platforms. | 
|---|
| 1850 |  | 
|---|
| 1851 |  | 
|---|
| 1852 |  | 
|---|
| 1853 |  | 
|---|
| 1854 |  | 
|---|
| 1855 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
| 1856 |  | 
|---|
| 1857 |  | 
|---|
| 1858 | ######################### | 
|---|
| 1859 | ## Checks for programs ## | 
|---|
| 1860 | ######################### | 
|---|
| 1861 | ac_ext=cc | 
|---|
| 1862 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 1863 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1864 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1865 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 1866 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1867 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1868 |   do | 
|---|
| 1869 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 1870 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 1871 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1872 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1873 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
| 1874 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1875 | else | 
|---|
| 1876 |   if test -n "$CXX"; then | 
|---|
| 1877 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1878 | else | 
|---|
| 1879 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1880 | for as_dir in $PATH | 
|---|
| 1881 | do | 
|---|
| 1882 |   IFS=$as_save_IFS | 
|---|
| 1883 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1884 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1885 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1886 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 1887 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1888 |     break 2 | 
|---|
| 1889 |   fi | 
|---|
| 1890 | done | 
|---|
| 1891 | done | 
|---|
| 1892 |  | 
|---|
| 1893 | fi | 
|---|
| 1894 | fi | 
|---|
| 1895 | CXX=$ac_cv_prog_CXX | 
|---|
| 1896 | if test -n "$CXX"; then | 
|---|
| 1897 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
| 1898 | echo "${ECHO_T}$CXX" >&6 | 
|---|
| 1899 | else | 
|---|
| 1900 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1901 | echo "${ECHO_T}no" >&6 | 
|---|
| 1902 | fi | 
|---|
| 1903 |  | 
|---|
| 1904 |     test -n "$CXX" && break | 
|---|
| 1905 |   done | 
|---|
| 1906 | fi | 
|---|
| 1907 | if test -z "$CXX"; then | 
|---|
| 1908 |   ac_ct_CXX=$CXX | 
|---|
| 1909 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1910 | do | 
|---|
| 1911 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1912 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1913 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1914 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1915 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
| 1916 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1917 | else | 
|---|
| 1918 |   if test -n "$ac_ct_CXX"; then | 
|---|
| 1919 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 1920 | else | 
|---|
| 1921 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1922 | for as_dir in $PATH | 
|---|
| 1923 | do | 
|---|
| 1924 |   IFS=$as_save_IFS | 
|---|
| 1925 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1926 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1927 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1928 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 1929 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1930 |     break 2 | 
|---|
| 1931 |   fi | 
|---|
| 1932 | done | 
|---|
| 1933 | done | 
|---|
| 1934 |  | 
|---|
| 1935 | fi | 
|---|
| 1936 | fi | 
|---|
| 1937 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 1938 | if test -n "$ac_ct_CXX"; then | 
|---|
| 1939 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
| 1940 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
| 1941 | else | 
|---|
| 1942 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1943 | echo "${ECHO_T}no" >&6 | 
|---|
| 1944 | fi | 
|---|
| 1945 |  | 
|---|
| 1946 |   test -n "$ac_ct_CXX" && break | 
|---|
| 1947 | done | 
|---|
| 1948 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
| 1949 |  | 
|---|
| 1950 |   CXX=$ac_ct_CXX | 
|---|
| 1951 | fi | 
|---|
| 1952 |  | 
|---|
| 1953 |  | 
|---|
| 1954 | # Provide some information about the compiler. | 
|---|
| 1955 | echo "$as_me:$LINENO:" \ | 
|---|
| 1956 |      "checking for C++ compiler version" >&5 | 
|---|
| 1957 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 1958 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 1959 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 1960 |   ac_status=$? | 
|---|
| 1961 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1962 |   (exit $ac_status); } | 
|---|
| 1963 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 1964 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 1965 |   ac_status=$? | 
|---|
| 1966 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1967 |   (exit $ac_status); } | 
|---|
| 1968 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 1969 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 1970 |   ac_status=$? | 
|---|
| 1971 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1972 |   (exit $ac_status); } | 
|---|
| 1973 |  | 
|---|
| 1974 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1975 | /* confdefs.h.  */ | 
|---|
| 1976 | _ACEOF | 
|---|
| 1977 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 1978 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 1979 | /* end confdefs.h.  */ | 
|---|
| 1980 |  | 
|---|
| 1981 | int | 
|---|
| 1982 | main () | 
|---|
| 1983 | { | 
|---|
| 1984 |  | 
|---|
| 1985 |   ; | 
|---|
| 1986 |   return 0; | 
|---|
| 1987 | } | 
|---|
| 1988 | _ACEOF | 
|---|
| 1989 | ac_clean_files_save=$ac_clean_files | 
|---|
| 1990 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
| 1991 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 1992 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 1993 | # of exeext. | 
|---|
| 1994 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
| 1995 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
| 1996 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 1997 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
| 1998 |   (eval $ac_link_default) 2>&5 | 
|---|
| 1999 |   ac_status=$? | 
|---|
| 2000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2001 |   (exit $ac_status); }; then | 
|---|
| 2002 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
| 2003 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
| 2004 | # resort. | 
|---|
| 2005 |  | 
|---|
| 2006 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
| 2007 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
| 2008 | ac_cv_exeext= | 
|---|
| 2009 | # b.out is created by i960 compilers. | 
|---|
| 2010 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
| 2011 | do | 
|---|
| 2012 |   test -f "$ac_file" || continue | 
|---|
| 2013 |   case $ac_file in | 
|---|
| 2014 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
| 2015 |         ;; | 
|---|
| 2016 |     conftest.$ac_ext ) | 
|---|
| 2017 |         # This is the source file. | 
|---|
| 2018 |         ;; | 
|---|
| 2019 |     [ab].out ) | 
|---|
| 2020 |         # We found the default executable, but exeext='' is most | 
|---|
| 2021 |         # certainly right. | 
|---|
| 2022 |         break;; | 
|---|
| 2023 |     *.* ) | 
|---|
| 2024 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2025 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
| 2026 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
| 2027 |         # maintain Libtool? --akim. | 
|---|
| 2028 |         export ac_cv_exeext | 
|---|
| 2029 |         break;; | 
|---|
| 2030 |     * ) | 
|---|
| 2031 |         break;; | 
|---|
| 2032 |   esac | 
|---|
| 2033 | done | 
|---|
| 2034 | else | 
|---|
| 2035 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2036 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2037 |  | 
|---|
| 2038 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
| 2039 | See \`config.log' for more details." >&5 | 
|---|
| 2040 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
| 2041 | See \`config.log' for more details." >&2;} | 
|---|
| 2042 |    { (exit 77); exit 77; }; } | 
|---|
| 2043 | fi | 
|---|
| 2044 |  | 
|---|
| 2045 | ac_exeext=$ac_cv_exeext | 
|---|
| 2046 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
| 2047 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
| 2048 |  | 
|---|
| 2049 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2050 | # the compiler is broken, or we cross compile. | 
|---|
| 2051 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
| 2052 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
| 2053 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
| 2054 | # If not cross compiling, check that we can run a simple program. | 
|---|
| 2055 | if test "$cross_compiling" != yes; then | 
|---|
| 2056 |   if { ac_try='./$ac_file' | 
|---|
| 2057 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2058 |   (eval $ac_try) 2>&5 | 
|---|
| 2059 |   ac_status=$? | 
|---|
| 2060 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2061 |   (exit $ac_status); }; }; then | 
|---|
| 2062 |     cross_compiling=no | 
|---|
| 2063 |   else | 
|---|
| 2064 |     if test "$cross_compiling" = maybe; then | 
|---|
| 2065 |         cross_compiling=yes | 
|---|
| 2066 |     else | 
|---|
| 2067 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
| 2068 | If you meant to cross compile, use \`--host'. | 
|---|
| 2069 | See \`config.log' for more details." >&5 | 
|---|
| 2070 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
| 2071 | If you meant to cross compile, use \`--host'. | 
|---|
| 2072 | See \`config.log' for more details." >&2;} | 
|---|
| 2073 |    { (exit 1); exit 1; }; } | 
|---|
| 2074 |     fi | 
|---|
| 2075 |   fi | 
|---|
| 2076 | fi | 
|---|
| 2077 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 2078 | echo "${ECHO_T}yes" >&6 | 
|---|
| 2079 |  | 
|---|
| 2080 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
| 2081 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2082 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2083 | # the compiler is broken, or we cross compile. | 
|---|
| 2084 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
| 2085 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
| 2086 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
| 2087 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
| 2088 |  | 
|---|
| 2089 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
| 2090 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
| 2091 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 2092 |   (eval $ac_link) 2>&5 | 
|---|
| 2093 |   ac_status=$? | 
|---|
| 2094 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2095 |   (exit $ac_status); }; then | 
|---|
| 2096 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 2097 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 2098 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 2099 | # `rm'. | 
|---|
| 2100 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 2101 |   test -f "$ac_file" || continue | 
|---|
| 2102 |   case $ac_file in | 
|---|
| 2103 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
| 2104 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2105 |           export ac_cv_exeext | 
|---|
| 2106 |           break;; | 
|---|
| 2107 |     * ) break;; | 
|---|
| 2108 |   esac | 
|---|
| 2109 | done | 
|---|
| 2110 | else | 
|---|
| 2111 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2112 | See \`config.log' for more details." >&5 | 
|---|
| 2113 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2114 | See \`config.log' for more details." >&2;} | 
|---|
| 2115 |    { (exit 1); exit 1; }; } | 
|---|
| 2116 | fi | 
|---|
| 2117 |  | 
|---|
| 2118 | rm -f conftest$ac_cv_exeext | 
|---|
| 2119 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
| 2120 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
| 2121 |  | 
|---|
| 2122 | rm -f conftest.$ac_ext | 
|---|
| 2123 | EXEEXT=$ac_cv_exeext | 
|---|
| 2124 | ac_exeext=$EXEEXT | 
|---|
| 2125 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
| 2126 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
| 2127 | if test "${ac_cv_objext+set}" = set; then | 
|---|
| 2128 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2129 | else | 
|---|
| 2130 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2131 | /* confdefs.h.  */ | 
|---|
| 2132 | _ACEOF | 
|---|
| 2133 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2134 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2135 | /* end confdefs.h.  */ | 
|---|
| 2136 |  | 
|---|
| 2137 | int | 
|---|
| 2138 | main () | 
|---|
| 2139 | { | 
|---|
| 2140 |  | 
|---|
| 2141 |   ; | 
|---|
| 2142 |   return 0; | 
|---|
| 2143 | } | 
|---|
| 2144 | _ACEOF | 
|---|
| 2145 | rm -f conftest.o conftest.obj | 
|---|
| 2146 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2147 |   (eval $ac_compile) 2>&5 | 
|---|
| 2148 |   ac_status=$? | 
|---|
| 2149 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2150 |   (exit $ac_status); }; then | 
|---|
| 2151 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
| 2152 |   case $ac_file in | 
|---|
| 2153 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
| 2154 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2155 |        break;; | 
|---|
| 2156 |   esac | 
|---|
| 2157 | done | 
|---|
| 2158 | else | 
|---|
| 2159 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2160 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2161 |  | 
|---|
| 2162 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2163 | See \`config.log' for more details." >&5 | 
|---|
| 2164 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2165 | See \`config.log' for more details." >&2;} | 
|---|
| 2166 |    { (exit 1); exit 1; }; } | 
|---|
| 2167 | fi | 
|---|
| 2168 |  | 
|---|
| 2169 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2170 | fi | 
|---|
| 2171 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
| 2172 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
| 2173 | OBJEXT=$ac_cv_objext | 
|---|
| 2174 | ac_objext=$OBJEXT | 
|---|
| 2175 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 2176 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
| 2177 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
| 2178 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2179 | else | 
|---|
| 2180 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2181 | /* confdefs.h.  */ | 
|---|
| 2182 | _ACEOF | 
|---|
| 2183 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2184 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2185 | /* end confdefs.h.  */ | 
|---|
| 2186 |  | 
|---|
| 2187 | int | 
|---|
| 2188 | main () | 
|---|
| 2189 | { | 
|---|
| 2190 | #ifndef __GNUC__ | 
|---|
| 2191 |        choke me | 
|---|
| 2192 | #endif | 
|---|
| 2193 |  | 
|---|
| 2194 |   ; | 
|---|
| 2195 |   return 0; | 
|---|
| 2196 | } | 
|---|
| 2197 | _ACEOF | 
|---|
| 2198 | rm -f conftest.$ac_objext | 
|---|
| 2199 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2200 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2201 |   ac_status=$? | 
|---|
| 2202 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2203 |   rm -f conftest.er1 | 
|---|
| 2204 |   cat conftest.err >&5 | 
|---|
| 2205 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2206 |   (exit $ac_status); } && | 
|---|
| 2207 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2208 |                          || test ! -s conftest.err' | 
|---|
| 2209 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2210 |   (eval $ac_try) 2>&5 | 
|---|
| 2211 |   ac_status=$? | 
|---|
| 2212 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2213 |   (exit $ac_status); }; } && | 
|---|
| 2214 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2215 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2216 |   (eval $ac_try) 2>&5 | 
|---|
| 2217 |   ac_status=$? | 
|---|
| 2218 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2219 |   (exit $ac_status); }; }; then | 
|---|
| 2220 |   ac_compiler_gnu=yes | 
|---|
| 2221 | else | 
|---|
| 2222 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2223 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2224 |  | 
|---|
| 2225 | ac_compiler_gnu=no | 
|---|
| 2226 | fi | 
|---|
| 2227 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2228 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2229 |  | 
|---|
| 2230 | fi | 
|---|
| 2231 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 2232 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
| 2233 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2234 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 2235 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 2236 | CXXFLAGS="-g" | 
|---|
| 2237 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
| 2238 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
| 2239 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
| 2240 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2241 | else | 
|---|
| 2242 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2243 | /* confdefs.h.  */ | 
|---|
| 2244 | _ACEOF | 
|---|
| 2245 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2246 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2247 | /* end confdefs.h.  */ | 
|---|
| 2248 |  | 
|---|
| 2249 | int | 
|---|
| 2250 | main () | 
|---|
| 2251 | { | 
|---|
| 2252 |  | 
|---|
| 2253 |   ; | 
|---|
| 2254 |   return 0; | 
|---|
| 2255 | } | 
|---|
| 2256 | _ACEOF | 
|---|
| 2257 | rm -f conftest.$ac_objext | 
|---|
| 2258 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2259 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2260 |   ac_status=$? | 
|---|
| 2261 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2262 |   rm -f conftest.er1 | 
|---|
| 2263 |   cat conftest.err >&5 | 
|---|
| 2264 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2265 |   (exit $ac_status); } && | 
|---|
| 2266 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2267 |                          || test ! -s conftest.err' | 
|---|
| 2268 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2269 |   (eval $ac_try) 2>&5 | 
|---|
| 2270 |   ac_status=$? | 
|---|
| 2271 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2272 |   (exit $ac_status); }; } && | 
|---|
| 2273 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2274 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2275 |   (eval $ac_try) 2>&5 | 
|---|
| 2276 |   ac_status=$? | 
|---|
| 2277 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2278 |   (exit $ac_status); }; }; then | 
|---|
| 2279 |   ac_cv_prog_cxx_g=yes | 
|---|
| 2280 | else | 
|---|
| 2281 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2282 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2283 |  | 
|---|
| 2284 | ac_cv_prog_cxx_g=no | 
|---|
| 2285 | fi | 
|---|
| 2286 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2287 | fi | 
|---|
| 2288 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 2289 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
| 2290 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 2291 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 2292 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 2293 |   if test "$GXX" = yes; then | 
|---|
| 2294 |     CXXFLAGS="-g -O2" | 
|---|
| 2295 |   else | 
|---|
| 2296 |     CXXFLAGS="-g" | 
|---|
| 2297 |   fi | 
|---|
| 2298 | else | 
|---|
| 2299 |   if test "$GXX" = yes; then | 
|---|
| 2300 |     CXXFLAGS="-O2" | 
|---|
| 2301 |   else | 
|---|
| 2302 |     CXXFLAGS= | 
|---|
| 2303 |   fi | 
|---|
| 2304 | fi | 
|---|
| 2305 | for ac_declaration in \ | 
|---|
| 2306 |    '' \ | 
|---|
| 2307 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 2308 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 2309 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 2310 |    'extern "C" void exit (int);' \ | 
|---|
| 2311 |    'void exit (int);' | 
|---|
| 2312 | do | 
|---|
| 2313 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2314 | /* confdefs.h.  */ | 
|---|
| 2315 | _ACEOF | 
|---|
| 2316 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2317 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2318 | /* end confdefs.h.  */ | 
|---|
| 2319 | $ac_declaration | 
|---|
| 2320 | #include <stdlib.h> | 
|---|
| 2321 | int | 
|---|
| 2322 | main () | 
|---|
| 2323 | { | 
|---|
| 2324 | exit (42); | 
|---|
| 2325 |   ; | 
|---|
| 2326 |   return 0; | 
|---|
| 2327 | } | 
|---|
| 2328 | _ACEOF | 
|---|
| 2329 | rm -f conftest.$ac_objext | 
|---|
| 2330 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2331 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2332 |   ac_status=$? | 
|---|
| 2333 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2334 |   rm -f conftest.er1 | 
|---|
| 2335 |   cat conftest.err >&5 | 
|---|
| 2336 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2337 |   (exit $ac_status); } && | 
|---|
| 2338 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2339 |                          || test ! -s conftest.err' | 
|---|
| 2340 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2341 |   (eval $ac_try) 2>&5 | 
|---|
| 2342 |   ac_status=$? | 
|---|
| 2343 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2344 |   (exit $ac_status); }; } && | 
|---|
| 2345 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2346 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2347 |   (eval $ac_try) 2>&5 | 
|---|
| 2348 |   ac_status=$? | 
|---|
| 2349 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2350 |   (exit $ac_status); }; }; then | 
|---|
| 2351 |   : | 
|---|
| 2352 | else | 
|---|
| 2353 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2354 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2355 |  | 
|---|
| 2356 | continue | 
|---|
| 2357 | fi | 
|---|
| 2358 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2359 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2360 | /* confdefs.h.  */ | 
|---|
| 2361 | _ACEOF | 
|---|
| 2362 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2363 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2364 | /* end confdefs.h.  */ | 
|---|
| 2365 | $ac_declaration | 
|---|
| 2366 | int | 
|---|
| 2367 | main () | 
|---|
| 2368 | { | 
|---|
| 2369 | exit (42); | 
|---|
| 2370 |   ; | 
|---|
| 2371 |   return 0; | 
|---|
| 2372 | } | 
|---|
| 2373 | _ACEOF | 
|---|
| 2374 | rm -f conftest.$ac_objext | 
|---|
| 2375 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2376 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2377 |   ac_status=$? | 
|---|
| 2378 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2379 |   rm -f conftest.er1 | 
|---|
| 2380 |   cat conftest.err >&5 | 
|---|
| 2381 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2382 |   (exit $ac_status); } && | 
|---|
| 2383 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2384 |                          || test ! -s conftest.err' | 
|---|
| 2385 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2386 |   (eval $ac_try) 2>&5 | 
|---|
| 2387 |   ac_status=$? | 
|---|
| 2388 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2389 |   (exit $ac_status); }; } && | 
|---|
| 2390 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2391 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2392 |   (eval $ac_try) 2>&5 | 
|---|
| 2393 |   ac_status=$? | 
|---|
| 2394 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2395 |   (exit $ac_status); }; }; then | 
|---|
| 2396 |   break | 
|---|
| 2397 | else | 
|---|
| 2398 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2399 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2400 |  | 
|---|
| 2401 | fi | 
|---|
| 2402 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2403 | done | 
|---|
| 2404 | rm -f conftest* | 
|---|
| 2405 | if test -n "$ac_declaration"; then | 
|---|
| 2406 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 2407 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 2408 |   echo '#endif'             >>confdefs.h | 
|---|
| 2409 | fi | 
|---|
| 2410 |  | 
|---|
| 2411 | ac_ext=c | 
|---|
| 2412 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2413 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2414 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2415 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2416 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 2417 |  | 
|---|
| 2418 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 2419 |  | 
|---|
| 2420 |  | 
|---|
| 2421 | am_make=${MAKE-make} | 
|---|
| 2422 | cat > confinc << 'END' | 
|---|
| 2423 | am__doit: | 
|---|
| 2424 |         @echo done | 
|---|
| 2425 | .PHONY: am__doit | 
|---|
| 2426 | END | 
|---|
| 2427 | # If we don't find an include directive, just comment out the code. | 
|---|
| 2428 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
| 2429 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
| 2430 | am__include="#" | 
|---|
| 2431 | am__quote= | 
|---|
| 2432 | _am_result=none | 
|---|
| 2433 | # First try GNU make style include. | 
|---|
| 2434 | echo "include confinc" > confmf | 
|---|
| 2435 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
| 2436 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
| 2437 | # In particular we don't look at `^make:' because GNU make might | 
|---|
| 2438 | # be invoked under some other name (usually "gmake"), in which | 
|---|
| 2439 | # case it prints its new name instead of `make'. | 
|---|
| 2440 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
| 2441 |    am__include=include | 
|---|
| 2442 |    am__quote= | 
|---|
| 2443 |    _am_result=GNU | 
|---|
| 2444 | fi | 
|---|
| 2445 | # Now try BSD make style include. | 
|---|
| 2446 | if test "$am__include" = "#"; then | 
|---|
| 2447 |    echo '.include "confinc"' > confmf | 
|---|
| 2448 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
| 2449 |       am__include=.include | 
|---|
| 2450 |       am__quote="\"" | 
|---|
| 2451 |       _am_result=BSD | 
|---|
| 2452 |    fi | 
|---|
| 2453 | fi | 
|---|
| 2454 |  | 
|---|
| 2455 |  | 
|---|
| 2456 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
| 2457 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
| 2458 | rm -f confinc confmf | 
|---|
| 2459 |  | 
|---|
| 2460 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
| 2461 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
| 2462 |   enableval="$enable_dependency_tracking" | 
|---|
| 2463 |  | 
|---|
| 2464 | fi; | 
|---|
| 2465 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2466 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 2467 |   AMDEPBACKSLASH='\' | 
|---|
| 2468 | fi | 
|---|
| 2469 |  | 
|---|
| 2470 |  | 
|---|
| 2471 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2472 |   AMDEP_TRUE= | 
|---|
| 2473 |   AMDEP_FALSE='#' | 
|---|
| 2474 | else | 
|---|
| 2475 |   AMDEP_TRUE='#' | 
|---|
| 2476 |   AMDEP_FALSE= | 
|---|
| 2477 | fi | 
|---|
| 2478 |  | 
|---|
| 2479 |  | 
|---|
| 2480 |  | 
|---|
| 2481 |  | 
|---|
| 2482 | depcc="$CXX"  am_compiler_list= | 
|---|
| 2483 |  | 
|---|
| 2484 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 2485 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 2486 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
| 2487 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2488 | else | 
|---|
| 2489 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 2490 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 2491 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 2492 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 2493 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 2494 |   # in D'. | 
|---|
| 2495 |   mkdir conftest.dir | 
|---|
| 2496 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 2497 |   # using a relative directory. | 
|---|
| 2498 |   cp "$am_depcomp" conftest.dir | 
|---|
| 2499 |   cd conftest.dir | 
|---|
| 2500 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 2501 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 2502 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 2503 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 2504 |   # the current directory while Tru64 will put them in the object | 
|---|
| 2505 |   # directory. | 
|---|
| 2506 |   mkdir sub | 
|---|
| 2507 |  | 
|---|
| 2508 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2509 |   if test "$am_compiler_list" = ""; then | 
|---|
| 2510 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 2511 |   fi | 
|---|
| 2512 |   for depmode in $am_compiler_list; do | 
|---|
| 2513 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 2514 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 2515 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 2516 |     # | 
|---|
| 2517 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 2518 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 2519 |     # This happens at least with the AIX C compiler. | 
|---|
| 2520 |     : > sub/conftest.c | 
|---|
| 2521 |     for i in 1 2 3 4 5 6; do | 
|---|
| 2522 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 2523 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 2524 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 2525 |       touch sub/conftst$i.h | 
|---|
| 2526 |     done | 
|---|
| 2527 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 2528 |  | 
|---|
| 2529 |     case $depmode in | 
|---|
| 2530 |     nosideeffect) | 
|---|
| 2531 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 2532 |       # only be used when explicitly requested | 
|---|
| 2533 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 2534 |         continue | 
|---|
| 2535 |       else | 
|---|
| 2536 |         break | 
|---|
| 2537 |       fi | 
|---|
| 2538 |       ;; | 
|---|
| 2539 |     none) break ;; | 
|---|
| 2540 |     esac | 
|---|
| 2541 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 2542 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 2543 |     # handle `-M -o', and we need to detect this. | 
|---|
| 2544 |     if depmode=$depmode \ | 
|---|
| 2545 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 2546 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 2547 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 2548 |          >/dev/null 2>conftest.err && | 
|---|
| 2549 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2550 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2551 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 2552 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 2553 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 2554 |       # that says an option was ignored or not supported. | 
|---|
| 2555 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 2556 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 2557 |       # The diagnosis changed in icc 8.0: | 
|---|
| 2558 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 2559 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 2560 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 2561 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 2562 |         break | 
|---|
| 2563 |       fi | 
|---|
| 2564 |     fi | 
|---|
| 2565 |   done | 
|---|
| 2566 |  | 
|---|
| 2567 |   cd .. | 
|---|
| 2568 |   rm -rf conftest.dir | 
|---|
| 2569 | else | 
|---|
| 2570 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2571 | fi | 
|---|
| 2572 |  | 
|---|
| 2573 | fi | 
|---|
| 2574 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 2575 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
| 2576 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 2577 |  | 
|---|
| 2578 |  | 
|---|
| 2579 |  | 
|---|
| 2580 | if | 
|---|
| 2581 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 2582 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 2583 |   am__fastdepCXX_TRUE= | 
|---|
| 2584 |   am__fastdepCXX_FALSE='#' | 
|---|
| 2585 | else | 
|---|
| 2586 |   am__fastdepCXX_TRUE='#' | 
|---|
| 2587 |   am__fastdepCXX_FALSE= | 
|---|
| 2588 | fi | 
|---|
| 2589 |  | 
|---|
| 2590 |  | 
|---|
| 2591 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2592 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
| 2593 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
| 2594 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2595 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2596 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
|---|
| 2597 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2598 | else | 
|---|
| 2599 |   if test -n "$RANLIB"; then | 
|---|
| 2600 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 2601 | else | 
|---|
| 2602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2603 | for as_dir in $PATH | 
|---|
| 2604 | do | 
|---|
| 2605 |   IFS=$as_save_IFS | 
|---|
| 2606 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2607 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2608 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2609 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
| 2610 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2611 |     break 2 | 
|---|
| 2612 |   fi | 
|---|
| 2613 | done | 
|---|
| 2614 | done | 
|---|
| 2615 |  | 
|---|
| 2616 | fi | 
|---|
| 2617 | fi | 
|---|
| 2618 | RANLIB=$ac_cv_prog_RANLIB | 
|---|
| 2619 | if test -n "$RANLIB"; then | 
|---|
| 2620 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
|---|
| 2621 | echo "${ECHO_T}$RANLIB" >&6 | 
|---|
| 2622 | else | 
|---|
| 2623 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2624 | echo "${ECHO_T}no" >&6 | 
|---|
| 2625 | fi | 
|---|
| 2626 |  | 
|---|
| 2627 | fi | 
|---|
| 2628 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
| 2629 |   ac_ct_RANLIB=$RANLIB | 
|---|
| 2630 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
| 2631 | set dummy ranlib; ac_word=$2 | 
|---|
| 2632 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2633 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2634 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
|---|
| 2635 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2636 | else | 
|---|
| 2637 |   if test -n "$ac_ct_RANLIB"; then | 
|---|
| 2638 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|---|
| 2639 | else | 
|---|
| 2640 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2641 | for as_dir in $PATH | 
|---|
| 2642 | do | 
|---|
| 2643 |   IFS=$as_save_IFS | 
|---|
| 2644 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2645 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2646 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2647 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|---|
| 2648 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2649 |     break 2 | 
|---|
| 2650 |   fi | 
|---|
| 2651 | done | 
|---|
| 2652 | done | 
|---|
| 2653 |  | 
|---|
| 2654 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
|---|
| 2655 | fi | 
|---|
| 2656 | fi | 
|---|
| 2657 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|---|
| 2658 | if test -n "$ac_ct_RANLIB"; then | 
|---|
| 2659 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
|---|
| 2660 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
|---|
| 2661 | else | 
|---|
| 2662 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2663 | echo "${ECHO_T}no" >&6 | 
|---|
| 2664 | fi | 
|---|
| 2665 |  | 
|---|
| 2666 |   RANLIB=$ac_ct_RANLIB | 
|---|
| 2667 | else | 
|---|
| 2668 |   RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 2669 | fi | 
|---|
| 2670 |  | 
|---|
| 2671 | ac_ext=c | 
|---|
| 2672 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2673 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2674 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2675 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2676 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2677 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2678 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2679 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2680 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2681 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2682 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2683 | else | 
|---|
| 2684 |   if test -n "$CC"; then | 
|---|
| 2685 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2686 | else | 
|---|
| 2687 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2688 | for as_dir in $PATH | 
|---|
| 2689 | do | 
|---|
| 2690 |   IFS=$as_save_IFS | 
|---|
| 2691 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2692 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2693 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2694 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2695 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2696 |     break 2 | 
|---|
| 2697 |   fi | 
|---|
| 2698 | done | 
|---|
| 2699 | done | 
|---|
| 2700 |  | 
|---|
| 2701 | fi | 
|---|
| 2702 | fi | 
|---|
| 2703 | CC=$ac_cv_prog_CC | 
|---|
| 2704 | if test -n "$CC"; then | 
|---|
| 2705 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2706 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2707 | else | 
|---|
| 2708 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2709 | echo "${ECHO_T}no" >&6 | 
|---|
| 2710 | fi | 
|---|
| 2711 |  | 
|---|
| 2712 | fi | 
|---|
| 2713 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2714 |   ac_ct_CC=$CC | 
|---|
| 2715 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2716 | set dummy gcc; ac_word=$2 | 
|---|
| 2717 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2718 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2719 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2720 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2721 | else | 
|---|
| 2722 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2723 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2724 | else | 
|---|
| 2725 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2726 | for as_dir in $PATH | 
|---|
| 2727 | do | 
|---|
| 2728 |   IFS=$as_save_IFS | 
|---|
| 2729 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2730 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2731 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2732 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 2733 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2734 |     break 2 | 
|---|
| 2735 |   fi | 
|---|
| 2736 | done | 
|---|
| 2737 | done | 
|---|
| 2738 |  | 
|---|
| 2739 | fi | 
|---|
| 2740 | fi | 
|---|
| 2741 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2742 | if test -n "$ac_ct_CC"; then | 
|---|
| 2743 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2744 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2745 | else | 
|---|
| 2746 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2747 | echo "${ECHO_T}no" >&6 | 
|---|
| 2748 | fi | 
|---|
| 2749 |  | 
|---|
| 2750 |   CC=$ac_ct_CC | 
|---|
| 2751 | else | 
|---|
| 2752 |   CC="$ac_cv_prog_CC" | 
|---|
| 2753 | fi | 
|---|
| 2754 |  | 
|---|
| 2755 | if test -z "$CC"; then | 
|---|
| 2756 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2757 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2758 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2759 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2760 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2761 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2762 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2763 | else | 
|---|
| 2764 |   if test -n "$CC"; then | 
|---|
| 2765 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2766 | else | 
|---|
| 2767 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2768 | for as_dir in $PATH | 
|---|
| 2769 | do | 
|---|
| 2770 |   IFS=$as_save_IFS | 
|---|
| 2771 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2772 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2773 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2774 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2775 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2776 |     break 2 | 
|---|
| 2777 |   fi | 
|---|
| 2778 | done | 
|---|
| 2779 | done | 
|---|
| 2780 |  | 
|---|
| 2781 | fi | 
|---|
| 2782 | fi | 
|---|
| 2783 | CC=$ac_cv_prog_CC | 
|---|
| 2784 | if test -n "$CC"; then | 
|---|
| 2785 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2786 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2787 | else | 
|---|
| 2788 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2789 | echo "${ECHO_T}no" >&6 | 
|---|
| 2790 | fi | 
|---|
| 2791 |  | 
|---|
| 2792 | fi | 
|---|
| 2793 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2794 |   ac_ct_CC=$CC | 
|---|
| 2795 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2796 | set dummy cc; ac_word=$2 | 
|---|
| 2797 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2798 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2799 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2800 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2801 | else | 
|---|
| 2802 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2803 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2804 | else | 
|---|
| 2805 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2806 | for as_dir in $PATH | 
|---|
| 2807 | do | 
|---|
| 2808 |   IFS=$as_save_IFS | 
|---|
| 2809 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2810 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2811 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2812 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
| 2813 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2814 |     break 2 | 
|---|
| 2815 |   fi | 
|---|
| 2816 | done | 
|---|
| 2817 | done | 
|---|
| 2818 |  | 
|---|
| 2819 | fi | 
|---|
| 2820 | fi | 
|---|
| 2821 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2822 | if test -n "$ac_ct_CC"; then | 
|---|
| 2823 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2824 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2825 | else | 
|---|
| 2826 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2827 | echo "${ECHO_T}no" >&6 | 
|---|
| 2828 | fi | 
|---|
| 2829 |  | 
|---|
| 2830 |   CC=$ac_ct_CC | 
|---|
| 2831 | else | 
|---|
| 2832 |   CC="$ac_cv_prog_CC" | 
|---|
| 2833 | fi | 
|---|
| 2834 |  | 
|---|
| 2835 | fi | 
|---|
| 2836 | if test -z "$CC"; then | 
|---|
| 2837 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2838 | set dummy cc; ac_word=$2 | 
|---|
| 2839 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2840 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2841 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2842 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2843 | else | 
|---|
| 2844 |   if test -n "$CC"; then | 
|---|
| 2845 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2846 | else | 
|---|
| 2847 |   ac_prog_rejected=no | 
|---|
| 2848 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2849 | for as_dir in $PATH | 
|---|
| 2850 | do | 
|---|
| 2851 |   IFS=$as_save_IFS | 
|---|
| 2852 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2853 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2854 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2855 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2856 |        ac_prog_rejected=yes | 
|---|
| 2857 |        continue | 
|---|
| 2858 |      fi | 
|---|
| 2859 |     ac_cv_prog_CC="cc" | 
|---|
| 2860 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2861 |     break 2 | 
|---|
| 2862 |   fi | 
|---|
| 2863 | done | 
|---|
| 2864 | done | 
|---|
| 2865 |  | 
|---|
| 2866 | if test $ac_prog_rejected = yes; then | 
|---|
| 2867 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2868 |   set dummy $ac_cv_prog_CC | 
|---|
| 2869 |   shift | 
|---|
| 2870 |   if test $# != 0; then | 
|---|
| 2871 |     # We chose a different compiler from the bogus one. | 
|---|
| 2872 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2873 |     # first if we set CC to just the basename; use the full file name. | 
|---|
| 2874 |     shift | 
|---|
| 2875 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2876 |   fi | 
|---|
| 2877 | fi | 
|---|
| 2878 | fi | 
|---|
| 2879 | fi | 
|---|
| 2880 | CC=$ac_cv_prog_CC | 
|---|
| 2881 | if test -n "$CC"; then | 
|---|
| 2882 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2883 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2884 | else | 
|---|
| 2885 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2886 | echo "${ECHO_T}no" >&6 | 
|---|
| 2887 | fi | 
|---|
| 2888 |  | 
|---|
| 2889 | fi | 
|---|
| 2890 | if test -z "$CC"; then | 
|---|
| 2891 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2892 |   for ac_prog in cl | 
|---|
| 2893 |   do | 
|---|
| 2894 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2895 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2896 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2897 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2898 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2899 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2900 | else | 
|---|
| 2901 |   if test -n "$CC"; then | 
|---|
| 2902 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2903 | else | 
|---|
| 2904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2905 | for as_dir in $PATH | 
|---|
| 2906 | do | 
|---|
| 2907 |   IFS=$as_save_IFS | 
|---|
| 2908 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2909 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2910 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2911 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2912 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2913 |     break 2 | 
|---|
| 2914 |   fi | 
|---|
| 2915 | done | 
|---|
| 2916 | done | 
|---|
| 2917 |  | 
|---|
| 2918 | fi | 
|---|
| 2919 | fi | 
|---|
| 2920 | CC=$ac_cv_prog_CC | 
|---|
| 2921 | if test -n "$CC"; then | 
|---|
| 2922 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2923 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2924 | else | 
|---|
| 2925 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2926 | echo "${ECHO_T}no" >&6 | 
|---|
| 2927 | fi | 
|---|
| 2928 |  | 
|---|
| 2929 |     test -n "$CC" && break | 
|---|
| 2930 |   done | 
|---|
| 2931 | fi | 
|---|
| 2932 | if test -z "$CC"; then | 
|---|
| 2933 |   ac_ct_CC=$CC | 
|---|
| 2934 |   for ac_prog in cl | 
|---|
| 2935 | do | 
|---|
| 2936 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2937 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2938 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2939 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2940 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2941 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2942 | else | 
|---|
| 2943 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2944 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2945 | else | 
|---|
| 2946 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2947 | for as_dir in $PATH | 
|---|
| 2948 | do | 
|---|
| 2949 |   IFS=$as_save_IFS | 
|---|
| 2950 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2951 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2952 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2953 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2954 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2955 |     break 2 | 
|---|
| 2956 |   fi | 
|---|
| 2957 | done | 
|---|
| 2958 | done | 
|---|
| 2959 |  | 
|---|
| 2960 | fi | 
|---|
| 2961 | fi | 
|---|
| 2962 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2963 | if test -n "$ac_ct_CC"; then | 
|---|
| 2964 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2965 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2966 | else | 
|---|
| 2967 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2968 | echo "${ECHO_T}no" >&6 | 
|---|
| 2969 | fi | 
|---|
| 2970 |  | 
|---|
| 2971 |   test -n "$ac_ct_CC" && break | 
|---|
| 2972 | done | 
|---|
| 2973 |  | 
|---|
| 2974 |   CC=$ac_ct_CC | 
|---|
| 2975 | fi | 
|---|
| 2976 |  | 
|---|
| 2977 | fi | 
|---|
| 2978 |  | 
|---|
| 2979 |  | 
|---|
| 2980 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
| 2981 | See \`config.log' for more details." >&5 | 
|---|
| 2982 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
| 2983 | See \`config.log' for more details." >&2;} | 
|---|
| 2984 |    { (exit 1); exit 1; }; } | 
|---|
| 2985 |  | 
|---|
| 2986 | # Provide some information about the compiler. | 
|---|
| 2987 | echo "$as_me:$LINENO:" \ | 
|---|
| 2988 |      "checking for C compiler version" >&5 | 
|---|
| 2989 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 2990 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 2991 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 2992 |   ac_status=$? | 
|---|
| 2993 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2994 |   (exit $ac_status); } | 
|---|
| 2995 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 2996 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 2997 |   ac_status=$? | 
|---|
| 2998 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2999 |   (exit $ac_status); } | 
|---|
| 3000 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 3001 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 3002 |   ac_status=$? | 
|---|
| 3003 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3004 |   (exit $ac_status); } | 
|---|
| 3005 |  | 
|---|
| 3006 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 3007 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
| 3008 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
| 3009 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3010 | else | 
|---|
| 3011 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3012 | /* confdefs.h.  */ | 
|---|
| 3013 | _ACEOF | 
|---|
| 3014 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3015 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3016 | /* end confdefs.h.  */ | 
|---|
| 3017 |  | 
|---|
| 3018 | int | 
|---|
| 3019 | main () | 
|---|
| 3020 | { | 
|---|
| 3021 | #ifndef __GNUC__ | 
|---|
| 3022 |        choke me | 
|---|
| 3023 | #endif | 
|---|
| 3024 |  | 
|---|
| 3025 |   ; | 
|---|
| 3026 |   return 0; | 
|---|
| 3027 | } | 
|---|
| 3028 | _ACEOF | 
|---|
| 3029 | rm -f conftest.$ac_objext | 
|---|
| 3030 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3031 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3032 |   ac_status=$? | 
|---|
| 3033 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3034 |   rm -f conftest.er1 | 
|---|
| 3035 |   cat conftest.err >&5 | 
|---|
| 3036 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3037 |   (exit $ac_status); } && | 
|---|
| 3038 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3039 |                          || test ! -s conftest.err' | 
|---|
| 3040 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3041 |   (eval $ac_try) 2>&5 | 
|---|
| 3042 |   ac_status=$? | 
|---|
| 3043 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3044 |   (exit $ac_status); }; } && | 
|---|
| 3045 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3046 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3047 |   (eval $ac_try) 2>&5 | 
|---|
| 3048 |   ac_status=$? | 
|---|
| 3049 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3050 |   (exit $ac_status); }; }; then | 
|---|
| 3051 |   ac_compiler_gnu=yes | 
|---|
| 3052 | else | 
|---|
| 3053 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3054 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3055 |  | 
|---|
| 3056 | ac_compiler_gnu=no | 
|---|
| 3057 | fi | 
|---|
| 3058 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3059 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 3060 |  | 
|---|
| 3061 | fi | 
|---|
| 3062 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 3063 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
| 3064 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 3065 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 3066 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 3067 | CFLAGS="-g" | 
|---|
| 3068 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
| 3069 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
| 3070 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
| 3071 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3072 | else | 
|---|
| 3073 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3074 | /* confdefs.h.  */ | 
|---|
| 3075 | _ACEOF | 
|---|
| 3076 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3077 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3078 | /* end confdefs.h.  */ | 
|---|
| 3079 |  | 
|---|
| 3080 | int | 
|---|
| 3081 | main () | 
|---|
| 3082 | { | 
|---|
| 3083 |  | 
|---|
| 3084 |   ; | 
|---|
| 3085 |   return 0; | 
|---|
| 3086 | } | 
|---|
| 3087 | _ACEOF | 
|---|
| 3088 | rm -f conftest.$ac_objext | 
|---|
| 3089 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3090 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3091 |   ac_status=$? | 
|---|
| 3092 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3093 |   rm -f conftest.er1 | 
|---|
| 3094 |   cat conftest.err >&5 | 
|---|
| 3095 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3096 |   (exit $ac_status); } && | 
|---|
| 3097 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3098 |                          || test ! -s conftest.err' | 
|---|
| 3099 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3100 |   (eval $ac_try) 2>&5 | 
|---|
| 3101 |   ac_status=$? | 
|---|
| 3102 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3103 |   (exit $ac_status); }; } && | 
|---|
| 3104 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3105 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3106 |   (eval $ac_try) 2>&5 | 
|---|
| 3107 |   ac_status=$? | 
|---|
| 3108 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3109 |   (exit $ac_status); }; }; then | 
|---|
| 3110 |   ac_cv_prog_cc_g=yes | 
|---|
| 3111 | else | 
|---|
| 3112 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3113 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3114 |  | 
|---|
| 3115 | ac_cv_prog_cc_g=no | 
|---|
| 3116 | fi | 
|---|
| 3117 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3118 | fi | 
|---|
| 3119 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 3120 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
| 3121 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 3122 |   CFLAGS=$ac_save_CFLAGS | 
|---|
| 3123 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 3124 |   if test "$GCC" = yes; then | 
|---|
| 3125 |     CFLAGS="-g -O2" | 
|---|
| 3126 |   else | 
|---|
| 3127 |     CFLAGS="-g" | 
|---|
| 3128 |   fi | 
|---|
| 3129 | else | 
|---|
| 3130 |   if test "$GCC" = yes; then | 
|---|
| 3131 |     CFLAGS="-O2" | 
|---|
| 3132 |   else | 
|---|
| 3133 |     CFLAGS= | 
|---|
| 3134 |   fi | 
|---|
| 3135 | fi | 
|---|
| 3136 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
| 3137 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
| 3138 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
| 3139 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3140 | else | 
|---|
| 3141 |   ac_cv_prog_cc_stdc=no | 
|---|
| 3142 | ac_save_CC=$CC | 
|---|
| 3143 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3144 | /* confdefs.h.  */ | 
|---|
| 3145 | _ACEOF | 
|---|
| 3146 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3147 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3148 | /* end confdefs.h.  */ | 
|---|
| 3149 | #include <stdarg.h> | 
|---|
| 3150 | #include <stdio.h> | 
|---|
| 3151 | #include <sys/types.h> | 
|---|
| 3152 | #include <sys/stat.h> | 
|---|
| 3153 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 3154 | struct buf { int x; }; | 
|---|
| 3155 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 3156 | static char *e (p, i) | 
|---|
| 3157 |      char **p; | 
|---|
| 3158 |      int i; | 
|---|
| 3159 | { | 
|---|
| 3160 |   return p[i]; | 
|---|
| 3161 | } | 
|---|
| 3162 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 3163 | { | 
|---|
| 3164 |   char *s; | 
|---|
| 3165 |   va_list v; | 
|---|
| 3166 |   va_start (v,p); | 
|---|
| 3167 |   s = g (p, va_arg (v,int)); | 
|---|
| 3168 |   va_end (v); | 
|---|
| 3169 |   return s; | 
|---|
| 3170 | } | 
|---|
| 3171 |  | 
|---|
| 3172 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 3173 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 3174 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 3175 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
| 3176 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 3177 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 3178 |    that's true only with -std1.  */ | 
|---|
| 3179 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 3180 |  | 
|---|
| 3181 | int test (int i, double x); | 
|---|
| 3182 | struct s1 {int (*f) (int a);}; | 
|---|
| 3183 | struct s2 {int (*f) (double a);}; | 
|---|
| 3184 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 3185 | int argc; | 
|---|
| 3186 | char **argv; | 
|---|
| 3187 | int | 
|---|
| 3188 | main () | 
|---|
| 3189 | { | 
|---|
| 3190 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 3191 |   ; | 
|---|
| 3192 |   return 0; | 
|---|
| 3193 | } | 
|---|
| 3194 | _ACEOF | 
|---|
| 3195 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
| 3196 | # breaks some systems' header files. | 
|---|
| 3197 | # AIX                   -qlanglvl=ansi | 
|---|
| 3198 | # Ultrix and OSF/1      -std1 | 
|---|
| 3199 | # HP-UX 10.20 and later -Ae | 
|---|
| 3200 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
| 3201 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
| 3202 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 3203 | do | 
|---|
| 3204 |   CC="$ac_save_CC $ac_arg" | 
|---|
| 3205 |   rm -f conftest.$ac_objext | 
|---|
| 3206 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3207 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3208 |   ac_status=$? | 
|---|
| 3209 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3210 |   rm -f conftest.er1 | 
|---|
| 3211 |   cat conftest.err >&5 | 
|---|
| 3212 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3213 |   (exit $ac_status); } && | 
|---|
| 3214 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3215 |                          || test ! -s conftest.err' | 
|---|
| 3216 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3217 |   (eval $ac_try) 2>&5 | 
|---|
| 3218 |   ac_status=$? | 
|---|
| 3219 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3220 |   (exit $ac_status); }; } && | 
|---|
| 3221 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3222 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3223 |   (eval $ac_try) 2>&5 | 
|---|
| 3224 |   ac_status=$? | 
|---|
| 3225 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3226 |   (exit $ac_status); }; }; then | 
|---|
| 3227 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
| 3228 | break | 
|---|
| 3229 | else | 
|---|
| 3230 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3231 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3232 |  | 
|---|
| 3233 | fi | 
|---|
| 3234 | rm -f conftest.err conftest.$ac_objext | 
|---|
| 3235 | done | 
|---|
| 3236 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
| 3237 | CC=$ac_save_CC | 
|---|
| 3238 |  | 
|---|
| 3239 | fi | 
|---|
| 3240 |  | 
|---|
| 3241 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
| 3242 |   x|xno) | 
|---|
| 3243 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
| 3244 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
| 3245 |   *) | 
|---|
| 3246 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
| 3247 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
| 3248 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
| 3249 | esac | 
|---|
| 3250 |  | 
|---|
| 3251 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
| 3252 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
| 3253 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
| 3254 | # the declaration of exit, since it's the most demanding environment. | 
|---|
| 3255 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3256 | #ifndef __cplusplus | 
|---|
| 3257 |   choke me | 
|---|
| 3258 | #endif | 
|---|
| 3259 | _ACEOF | 
|---|
| 3260 | rm -f conftest.$ac_objext | 
|---|
| 3261 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3262 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3263 |   ac_status=$? | 
|---|
| 3264 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3265 |   rm -f conftest.er1 | 
|---|
| 3266 |   cat conftest.err >&5 | 
|---|
| 3267 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3268 |   (exit $ac_status); } && | 
|---|
| 3269 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3270 |                          || test ! -s conftest.err' | 
|---|
| 3271 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3272 |   (eval $ac_try) 2>&5 | 
|---|
| 3273 |   ac_status=$? | 
|---|
| 3274 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3275 |   (exit $ac_status); }; } && | 
|---|
| 3276 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3277 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3278 |   (eval $ac_try) 2>&5 | 
|---|
| 3279 |   ac_status=$? | 
|---|
| 3280 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3281 |   (exit $ac_status); }; }; then | 
|---|
| 3282 |   for ac_declaration in \ | 
|---|
| 3283 |    '' \ | 
|---|
| 3284 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 3285 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 3286 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 3287 |    'extern "C" void exit (int);' \ | 
|---|
| 3288 |    'void exit (int);' | 
|---|
| 3289 | do | 
|---|
| 3290 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3291 | /* confdefs.h.  */ | 
|---|
| 3292 | _ACEOF | 
|---|
| 3293 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3294 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3295 | /* end confdefs.h.  */ | 
|---|
| 3296 | $ac_declaration | 
|---|
| 3297 | #include <stdlib.h> | 
|---|
| 3298 | int | 
|---|
| 3299 | main () | 
|---|
| 3300 | { | 
|---|
| 3301 | exit (42); | 
|---|
| 3302 |   ; | 
|---|
| 3303 |   return 0; | 
|---|
| 3304 | } | 
|---|
| 3305 | _ACEOF | 
|---|
| 3306 | rm -f conftest.$ac_objext | 
|---|
| 3307 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3308 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3309 |   ac_status=$? | 
|---|
| 3310 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3311 |   rm -f conftest.er1 | 
|---|
| 3312 |   cat conftest.err >&5 | 
|---|
| 3313 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3314 |   (exit $ac_status); } && | 
|---|
| 3315 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3316 |                          || test ! -s conftest.err' | 
|---|
| 3317 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3318 |   (eval $ac_try) 2>&5 | 
|---|
| 3319 |   ac_status=$? | 
|---|
| 3320 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3321 |   (exit $ac_status); }; } && | 
|---|
| 3322 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3323 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3324 |   (eval $ac_try) 2>&5 | 
|---|
| 3325 |   ac_status=$? | 
|---|
| 3326 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3327 |   (exit $ac_status); }; }; then | 
|---|
| 3328 |   : | 
|---|
| 3329 | else | 
|---|
| 3330 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3331 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3332 |  | 
|---|
| 3333 | continue | 
|---|
| 3334 | fi | 
|---|
| 3335 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3336 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3337 | /* confdefs.h.  */ | 
|---|
| 3338 | _ACEOF | 
|---|
| 3339 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3340 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3341 | /* end confdefs.h.  */ | 
|---|
| 3342 | $ac_declaration | 
|---|
| 3343 | int | 
|---|
| 3344 | main () | 
|---|
| 3345 | { | 
|---|
| 3346 | exit (42); | 
|---|
| 3347 |   ; | 
|---|
| 3348 |   return 0; | 
|---|
| 3349 | } | 
|---|
| 3350 | _ACEOF | 
|---|
| 3351 | rm -f conftest.$ac_objext | 
|---|
| 3352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3353 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3354 |   ac_status=$? | 
|---|
| 3355 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3356 |   rm -f conftest.er1 | 
|---|
| 3357 |   cat conftest.err >&5 | 
|---|
| 3358 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3359 |   (exit $ac_status); } && | 
|---|
| 3360 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3361 |                          || test ! -s conftest.err' | 
|---|
| 3362 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3363 |   (eval $ac_try) 2>&5 | 
|---|
| 3364 |   ac_status=$? | 
|---|
| 3365 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3366 |   (exit $ac_status); }; } && | 
|---|
| 3367 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3368 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3369 |   (eval $ac_try) 2>&5 | 
|---|
| 3370 |   ac_status=$? | 
|---|
| 3371 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3372 |   (exit $ac_status); }; }; then | 
|---|
| 3373 |   break | 
|---|
| 3374 | else | 
|---|
| 3375 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3376 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3377 |  | 
|---|
| 3378 | fi | 
|---|
| 3379 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3380 | done | 
|---|
| 3381 | rm -f conftest* | 
|---|
| 3382 | if test -n "$ac_declaration"; then | 
|---|
| 3383 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 3384 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 3385 |   echo '#endif'             >>confdefs.h | 
|---|
| 3386 | fi | 
|---|
| 3387 |  | 
|---|
| 3388 | else | 
|---|
| 3389 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3390 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3391 |  | 
|---|
| 3392 | fi | 
|---|
| 3393 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3394 | ac_ext=c | 
|---|
| 3395 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3396 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3397 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3398 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3399 |  | 
|---|
| 3400 | depcc="$CC"   am_compiler_list= | 
|---|
| 3401 |  | 
|---|
| 3402 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 3403 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 3404 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
| 3405 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3406 | else | 
|---|
| 3407 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 3408 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 3409 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 3410 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 3411 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 3412 |   # in D'. | 
|---|
| 3413 |   mkdir conftest.dir | 
|---|
| 3414 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 3415 |   # using a relative directory. | 
|---|
| 3416 |   cp "$am_depcomp" conftest.dir | 
|---|
| 3417 |   cd conftest.dir | 
|---|
| 3418 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 3419 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 3420 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 3421 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 3422 |   # the current directory while Tru64 will put them in the object | 
|---|
| 3423 |   # directory. | 
|---|
| 3424 |   mkdir sub | 
|---|
| 3425 |  | 
|---|
| 3426 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3427 |   if test "$am_compiler_list" = ""; then | 
|---|
| 3428 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 3429 |   fi | 
|---|
| 3430 |   for depmode in $am_compiler_list; do | 
|---|
| 3431 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 3432 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 3433 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 3434 |     # | 
|---|
| 3435 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 3436 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 3437 |     # This happens at least with the AIX C compiler. | 
|---|
| 3438 |     : > sub/conftest.c | 
|---|
| 3439 |     for i in 1 2 3 4 5 6; do | 
|---|
| 3440 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 3441 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 3442 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 3443 |       touch sub/conftst$i.h | 
|---|
| 3444 |     done | 
|---|
| 3445 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 3446 |  | 
|---|
| 3447 |     case $depmode in | 
|---|
| 3448 |     nosideeffect) | 
|---|
| 3449 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 3450 |       # only be used when explicitly requested | 
|---|
| 3451 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 3452 |         continue | 
|---|
| 3453 |       else | 
|---|
| 3454 |         break | 
|---|
| 3455 |       fi | 
|---|
| 3456 |       ;; | 
|---|
| 3457 |     none) break ;; | 
|---|
| 3458 |     esac | 
|---|
| 3459 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 3460 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 3461 |     # handle `-M -o', and we need to detect this. | 
|---|
| 3462 |     if depmode=$depmode \ | 
|---|
| 3463 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 3464 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 3465 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 3466 |          >/dev/null 2>conftest.err && | 
|---|
| 3467 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3468 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3469 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 3470 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 3471 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 3472 |       # that says an option was ignored or not supported. | 
|---|
| 3473 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 3474 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 3475 |       # The diagnosis changed in icc 8.0: | 
|---|
| 3476 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 3477 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 3478 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 3479 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 3480 |         break | 
|---|
| 3481 |       fi | 
|---|
| 3482 |     fi | 
|---|
| 3483 |   done | 
|---|
| 3484 |  | 
|---|
| 3485 |   cd .. | 
|---|
| 3486 |   rm -rf conftest.dir | 
|---|
| 3487 | else | 
|---|
| 3488 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3489 | fi | 
|---|
| 3490 |  | 
|---|
| 3491 | fi | 
|---|
| 3492 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 3493 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
| 3494 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 3495 |  | 
|---|
| 3496 |  | 
|---|
| 3497 |  | 
|---|
| 3498 | if | 
|---|
| 3499 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 3500 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 3501 |   am__fastdepCC_TRUE= | 
|---|
| 3502 |   am__fastdepCC_FALSE='#' | 
|---|
| 3503 | else | 
|---|
| 3504 |   am__fastdepCC_TRUE='#' | 
|---|
| 3505 |   am__fastdepCC_FALSE= | 
|---|
| 3506 | fi | 
|---|
| 3507 |  | 
|---|
| 3508 |  | 
|---|
| 3509 |  | 
|---|
| 3510 | ac_ext=c | 
|---|
| 3511 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3512 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3513 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3514 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3515 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
| 3516 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
| 3517 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3518 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3519 |   CPP= | 
|---|
| 3520 | fi | 
|---|
| 3521 | if test -z "$CPP"; then | 
|---|
| 3522 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| 3523 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3524 | else | 
|---|
| 3525 |       # Double quotes because CPP needs to be expanded | 
|---|
| 3526 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3527 |     do | 
|---|
| 3528 |       ac_preproc_ok=false | 
|---|
| 3529 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3530 | do | 
|---|
| 3531 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3532 |   # with a fresh cross-compiler works. | 
|---|
| 3533 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3534 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3535 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3536 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3537 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3538 | /* confdefs.h.  */ | 
|---|
| 3539 | _ACEOF | 
|---|
| 3540 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3541 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3542 | /* end confdefs.h.  */ | 
|---|
| 3543 | #ifdef __STDC__ | 
|---|
| 3544 | # include <limits.h> | 
|---|
| 3545 | #else | 
|---|
| 3546 | # include <assert.h> | 
|---|
| 3547 | #endif | 
|---|
| 3548 |                      Syntax error | 
|---|
| 3549 | _ACEOF | 
|---|
| 3550 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3551 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3552 |   ac_status=$? | 
|---|
| 3553 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3554 |   rm -f conftest.er1 | 
|---|
| 3555 |   cat conftest.err >&5 | 
|---|
| 3556 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3557 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3558 |   if test -s conftest.err; then | 
|---|
| 3559 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3560 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3561 |   else | 
|---|
| 3562 |     ac_cpp_err= | 
|---|
| 3563 |   fi | 
|---|
| 3564 | else | 
|---|
| 3565 |   ac_cpp_err=yes | 
|---|
| 3566 | fi | 
|---|
| 3567 | if test -z "$ac_cpp_err"; then | 
|---|
| 3568 |   : | 
|---|
| 3569 | else | 
|---|
| 3570 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3571 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3572 |  | 
|---|
| 3573 |   # Broken: fails on valid input. | 
|---|
| 3574 | continue | 
|---|
| 3575 | fi | 
|---|
| 3576 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3577 |  | 
|---|
| 3578 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3579 |   # can be detected and how. | 
|---|
| 3580 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3581 | /* confdefs.h.  */ | 
|---|
| 3582 | _ACEOF | 
|---|
| 3583 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3584 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3585 | /* end confdefs.h.  */ | 
|---|
| 3586 | #include <ac_nonexistent.h> | 
|---|
| 3587 | _ACEOF | 
|---|
| 3588 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3589 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3590 |   ac_status=$? | 
|---|
| 3591 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3592 |   rm -f conftest.er1 | 
|---|
| 3593 |   cat conftest.err >&5 | 
|---|
| 3594 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3595 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3596 |   if test -s conftest.err; then | 
|---|
| 3597 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3598 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3599 |   else | 
|---|
| 3600 |     ac_cpp_err= | 
|---|
| 3601 |   fi | 
|---|
| 3602 | else | 
|---|
| 3603 |   ac_cpp_err=yes | 
|---|
| 3604 | fi | 
|---|
| 3605 | if test -z "$ac_cpp_err"; then | 
|---|
| 3606 |   # Broken: success on invalid input. | 
|---|
| 3607 | continue | 
|---|
| 3608 | else | 
|---|
| 3609 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3610 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3611 |  | 
|---|
| 3612 |   # Passes both tests. | 
|---|
| 3613 | ac_preproc_ok=: | 
|---|
| 3614 | break | 
|---|
| 3615 | fi | 
|---|
| 3616 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3617 |  | 
|---|
| 3618 | done | 
|---|
| 3619 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3620 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3621 | if $ac_preproc_ok; then | 
|---|
| 3622 |   break | 
|---|
| 3623 | fi | 
|---|
| 3624 |  | 
|---|
| 3625 |     done | 
|---|
| 3626 |     ac_cv_prog_CPP=$CPP | 
|---|
| 3627 |  | 
|---|
| 3628 | fi | 
|---|
| 3629 |   CPP=$ac_cv_prog_CPP | 
|---|
| 3630 | else | 
|---|
| 3631 |   ac_cv_prog_CPP=$CPP | 
|---|
| 3632 | fi | 
|---|
| 3633 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
| 3634 | echo "${ECHO_T}$CPP" >&6 | 
|---|
| 3635 | ac_preproc_ok=false | 
|---|
| 3636 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3637 | do | 
|---|
| 3638 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3639 |   # with a fresh cross-compiler works. | 
|---|
| 3640 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3641 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3642 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3643 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3644 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3645 | /* confdefs.h.  */ | 
|---|
| 3646 | _ACEOF | 
|---|
| 3647 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3648 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3649 | /* end confdefs.h.  */ | 
|---|
| 3650 | #ifdef __STDC__ | 
|---|
| 3651 | # include <limits.h> | 
|---|
| 3652 | #else | 
|---|
| 3653 | # include <assert.h> | 
|---|
| 3654 | #endif | 
|---|
| 3655 |                      Syntax error | 
|---|
| 3656 | _ACEOF | 
|---|
| 3657 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3658 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3659 |   ac_status=$? | 
|---|
| 3660 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3661 |   rm -f conftest.er1 | 
|---|
| 3662 |   cat conftest.err >&5 | 
|---|
| 3663 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3664 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3665 |   if test -s conftest.err; then | 
|---|
| 3666 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3667 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3668 |   else | 
|---|
| 3669 |     ac_cpp_err= | 
|---|
| 3670 |   fi | 
|---|
| 3671 | else | 
|---|
| 3672 |   ac_cpp_err=yes | 
|---|
| 3673 | fi | 
|---|
| 3674 | if test -z "$ac_cpp_err"; then | 
|---|
| 3675 |   : | 
|---|
| 3676 | else | 
|---|
| 3677 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3678 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3679 |  | 
|---|
| 3680 |   # Broken: fails on valid input. | 
|---|
| 3681 | continue | 
|---|
| 3682 | fi | 
|---|
| 3683 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3684 |  | 
|---|
| 3685 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3686 |   # can be detected and how. | 
|---|
| 3687 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3688 | /* confdefs.h.  */ | 
|---|
| 3689 | _ACEOF | 
|---|
| 3690 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3691 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3692 | /* end confdefs.h.  */ | 
|---|
| 3693 | #include <ac_nonexistent.h> | 
|---|
| 3694 | _ACEOF | 
|---|
| 3695 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3696 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3697 |   ac_status=$? | 
|---|
| 3698 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3699 |   rm -f conftest.er1 | 
|---|
| 3700 |   cat conftest.err >&5 | 
|---|
| 3701 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3702 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3703 |   if test -s conftest.err; then | 
|---|
| 3704 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3705 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3706 |   else | 
|---|
| 3707 |     ac_cpp_err= | 
|---|
| 3708 |   fi | 
|---|
| 3709 | else | 
|---|
| 3710 |   ac_cpp_err=yes | 
|---|
| 3711 | fi | 
|---|
| 3712 | if test -z "$ac_cpp_err"; then | 
|---|
| 3713 |   # Broken: success on invalid input. | 
|---|
| 3714 | continue | 
|---|
| 3715 | else | 
|---|
| 3716 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3717 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3718 |  | 
|---|
| 3719 |   # Passes both tests. | 
|---|
| 3720 | ac_preproc_ok=: | 
|---|
| 3721 | break | 
|---|
| 3722 | fi | 
|---|
| 3723 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3724 |  | 
|---|
| 3725 | done | 
|---|
| 3726 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3727 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3728 | if $ac_preproc_ok; then | 
|---|
| 3729 |   : | 
|---|
| 3730 | else | 
|---|
| 3731 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3732 | See \`config.log' for more details." >&5 | 
|---|
| 3733 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3734 | See \`config.log' for more details." >&2;} | 
|---|
| 3735 |    { (exit 1); exit 1; }; } | 
|---|
| 3736 | fi | 
|---|
| 3737 |  | 
|---|
| 3738 | ac_ext=c | 
|---|
| 3739 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3740 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3741 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3742 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3743 |  | 
|---|
| 3744 |  | 
|---|
| 3745 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
| 3746 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
| 3747 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
| 3748 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3749 | else | 
|---|
| 3750 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
| 3751 |     then ac_cv_prog_egrep='grep -E' | 
|---|
| 3752 |     else ac_cv_prog_egrep='egrep' | 
|---|
| 3753 |     fi | 
|---|
| 3754 | fi | 
|---|
| 3755 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
| 3756 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
| 3757 |  EGREP=$ac_cv_prog_egrep | 
|---|
| 3758 |  | 
|---|
| 3759 |  | 
|---|
| 3760 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 3761 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 3762 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 3763 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3764 | else | 
|---|
| 3765 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3766 | /* confdefs.h.  */ | 
|---|
| 3767 | _ACEOF | 
|---|
| 3768 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3769 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3770 | /* end confdefs.h.  */ | 
|---|
| 3771 | #include <stdlib.h> | 
|---|
| 3772 | #include <stdarg.h> | 
|---|
| 3773 | #include <string.h> | 
|---|
| 3774 | #include <float.h> | 
|---|
| 3775 |  | 
|---|
| 3776 | int | 
|---|
| 3777 | main () | 
|---|
| 3778 | { | 
|---|
| 3779 |  | 
|---|
| 3780 |   ; | 
|---|
| 3781 |   return 0; | 
|---|
| 3782 | } | 
|---|
| 3783 | _ACEOF | 
|---|
| 3784 | rm -f conftest.$ac_objext | 
|---|
| 3785 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3786 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3787 |   ac_status=$? | 
|---|
| 3788 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3789 |   rm -f conftest.er1 | 
|---|
| 3790 |   cat conftest.err >&5 | 
|---|
| 3791 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3792 |   (exit $ac_status); } && | 
|---|
| 3793 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3794 |                          || test ! -s conftest.err' | 
|---|
| 3795 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3796 |   (eval $ac_try) 2>&5 | 
|---|
| 3797 |   ac_status=$? | 
|---|
| 3798 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3799 |   (exit $ac_status); }; } && | 
|---|
| 3800 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3801 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3802 |   (eval $ac_try) 2>&5 | 
|---|
| 3803 |   ac_status=$? | 
|---|
| 3804 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3805 |   (exit $ac_status); }; }; then | 
|---|
| 3806 |   ac_cv_header_stdc=yes | 
|---|
| 3807 | else | 
|---|
| 3808 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3809 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3810 |  | 
|---|
| 3811 | ac_cv_header_stdc=no | 
|---|
| 3812 | fi | 
|---|
| 3813 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3814 |  | 
|---|
| 3815 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3816 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 3817 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3818 | /* confdefs.h.  */ | 
|---|
| 3819 | _ACEOF | 
|---|
| 3820 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3821 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3822 | /* end confdefs.h.  */ | 
|---|
| 3823 | #include <string.h> | 
|---|
| 3824 |  | 
|---|
| 3825 | _ACEOF | 
|---|
| 3826 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3827 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 3828 |   : | 
|---|
| 3829 | else | 
|---|
| 3830 |   ac_cv_header_stdc=no | 
|---|
| 3831 | fi | 
|---|
| 3832 | rm -f conftest* | 
|---|
| 3833 |  | 
|---|
| 3834 | fi | 
|---|
| 3835 |  | 
|---|
| 3836 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3837 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 3838 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3839 | /* confdefs.h.  */ | 
|---|
| 3840 | _ACEOF | 
|---|
| 3841 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3842 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3843 | /* end confdefs.h.  */ | 
|---|
| 3844 | #include <stdlib.h> | 
|---|
| 3845 |  | 
|---|
| 3846 | _ACEOF | 
|---|
| 3847 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3848 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 3849 |   : | 
|---|
| 3850 | else | 
|---|
| 3851 |   ac_cv_header_stdc=no | 
|---|
| 3852 | fi | 
|---|
| 3853 | rm -f conftest* | 
|---|
| 3854 |  | 
|---|
| 3855 | fi | 
|---|
| 3856 |  | 
|---|
| 3857 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3858 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 3859 |   if test "$cross_compiling" = yes; then | 
|---|
| 3860 |   : | 
|---|
| 3861 | else | 
|---|
| 3862 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3863 | /* confdefs.h.  */ | 
|---|
| 3864 | _ACEOF | 
|---|
| 3865 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3866 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3867 | /* end confdefs.h.  */ | 
|---|
| 3868 | #include <ctype.h> | 
|---|
| 3869 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 3870 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 3871 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 3872 | #else | 
|---|
| 3873 | # define ISLOWER(c) \ | 
|---|
| 3874 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 3875 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 3876 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 3877 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 3878 | #endif | 
|---|
| 3879 |  | 
|---|
| 3880 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 3881 | int | 
|---|
| 3882 | main () | 
|---|
| 3883 | { | 
|---|
| 3884 |   int i; | 
|---|
| 3885 |   for (i = 0; i < 256; i++) | 
|---|
| 3886 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 3887 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 3888 |       exit(2); | 
|---|
| 3889 |   exit (0); | 
|---|
| 3890 | } | 
|---|
| 3891 | _ACEOF | 
|---|
| 3892 | rm -f conftest$ac_exeext | 
|---|
| 3893 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3894 |   (eval $ac_link) 2>&5 | 
|---|
| 3895 |   ac_status=$? | 
|---|
| 3896 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3897 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 3898 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3899 |   (eval $ac_try) 2>&5 | 
|---|
| 3900 |   ac_status=$? | 
|---|
| 3901 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3902 |   (exit $ac_status); }; }; then | 
|---|
| 3903 |   : | 
|---|
| 3904 | else | 
|---|
| 3905 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 3906 | echo "$as_me: failed program was:" >&5 | 
|---|
| 3907 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3908 |  | 
|---|
| 3909 | ( exit $ac_status ) | 
|---|
| 3910 | ac_cv_header_stdc=no | 
|---|
| 3911 | fi | 
|---|
| 3912 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3913 | fi | 
|---|
| 3914 | fi | 
|---|
| 3915 | fi | 
|---|
| 3916 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 3917 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 3918 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3919 |  | 
|---|
| 3920 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 3921 | #define STDC_HEADERS 1 | 
|---|
| 3922 | _ACEOF | 
|---|
| 3923 |  | 
|---|
| 3924 | fi | 
|---|
| 3925 |  | 
|---|
| 3926 |  | 
|---|
| 3927 | ## THIS IS OUR DEFAULT-DATA-DIRECTORY | 
|---|
| 3928 |  | 
|---|
| 3929 | ################################## | 
|---|
| 3930 | ## CHECKING  OPTIONAL ARGUMENTS ## | 
|---|
| 3931 | ################################## | 
|---|
| 3932 | #----------------# | 
|---|
| 3933 | # Data-Directory # | 
|---|
| 3934 | #----------------# | 
|---|
| 3935 | DATA_DIR=$datadir | 
|---|
| 3936 | echo \$\{prefix\} | 
|---|
| 3937 | if test $DATA_DIR = \$\{prefix\}/share ; then | 
|---|
| 3938 |         echo "not given" | 
|---|
| 3939 |         DATA_DIR=/usr/share | 
|---|
| 3940 | else | 
|---|
| 3941 |         echo "given: $DATA_DIR" | 
|---|
| 3942 | fi | 
|---|
| 3943 |  | 
|---|
| 3944 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3945 | #define DATADIR "$DATA_DIR" | 
|---|
| 3946 | _ACEOF | 
|---|
| 3947 |  | 
|---|
| 3948 |  | 
|---|
| 3949 | #-----------------# | 
|---|
| 3950 | # DEBUG-statement # | 
|---|
| 3951 | #-----------------# | 
|---|
| 3952 | DEBUG=no | 
|---|
| 3953 | echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 | 
|---|
| 3954 | echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 | 
|---|
| 3955 | # Check whether --enable-debug or --disable-debug was given. | 
|---|
| 3956 | if test "${enable_debug+set}" = set; then | 
|---|
| 3957 |   enableval="$enable_debug" | 
|---|
| 3958 |   DEBUG=$enableval | 
|---|
| 3959 | fi; | 
|---|
| 3960 |  | 
|---|
| 3961 | if test x$DEBUG = xno; then | 
|---|
| 3962 |         echo "no" | 
|---|
| 3963 |         echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed." | 
|---|
| 3964 |         DEBUG=4 | 
|---|
| 3965 | elif test x$DEBUG = xyes; then | 
|---|
| 3966 |         echo "yes" | 
|---|
| 3967 |         echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." | 
|---|
| 3968 |         DEBUG=4 | 
|---|
| 3969 | else | 
|---|
| 3970 |         echo "yes: setting debuglevel to to $DEBUG" | 
|---|
| 3971 | fi | 
|---|
| 3972 |  | 
|---|
| 3973 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3974 | #define DEBUG $DEBUG | 
|---|
| 3975 | _ACEOF | 
|---|
| 3976 |  | 
|---|
| 3977 |  | 
|---|
| 3978 |  | 
|---|
| 3979 |  | 
|---|
| 3980 | #---------------# | 
|---|
| 3981 | # Modular Debug # | 
|---|
| 3982 | #---------------# | 
|---|
| 3983 | MODULAR_DEBUG=yes | 
|---|
| 3984 | echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&5 | 
|---|
| 3985 | echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&6 | 
|---|
| 3986 | # Check whether --enable-modular-debug or --disable-modular-debug was given. | 
|---|
| 3987 | if test "${enable_modular_debug+set}" = set; then | 
|---|
| 3988 |   enableval="$enable_modular_debug" | 
|---|
| 3989 |   MODULAR_DEBUG=$enableval | 
|---|
| 3990 | fi; | 
|---|
| 3991 |  | 
|---|
| 3992 | if test x$MODULAR_DEBUG = xno; then | 
|---|
| 3993 |         echo "no" | 
|---|
| 3994 | elif test x$MODULAR_DEBUG = xyes; then | 
|---|
| 3995 |         echo "yes" | 
|---|
| 3996 |  | 
|---|
| 3997 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3998 | #define MODULAR_DEBUG 1 | 
|---|
| 3999 | _ACEOF | 
|---|
| 4000 |  | 
|---|
| 4001 | fi | 
|---|
| 4002 |  | 
|---|
| 4003 | #--------------# | 
|---|
| 4004 | # GTK-disabled # | 
|---|
| 4005 | #--------------# | 
|---|
| 4006 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
| 4007 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
| 4008 | # Check whether --enable-gtk or --disable-gtk was given. | 
|---|
| 4009 | if test "${enable_gtk+set}" = set; then | 
|---|
| 4010 |   enableval="$enable_gtk" | 
|---|
| 4011 |   def_gtk=no | 
|---|
| 4012 | else | 
|---|
| 4013 |   def_gtk=yes | 
|---|
| 4014 | fi; | 
|---|
| 4015 | if test x$def_gtk = xyes; then | 
|---|
| 4016 |   echo "yes" | 
|---|
| 4017 | fi | 
|---|
| 4018 | if test x$def_gtk = xno; then | 
|---|
| 4019 |   echo "no" | 
|---|
| 4020 | fi | 
|---|
| 4021 |  | 
|---|
| 4022 | #------------------# | 
|---|
| 4023 | # libCurl-disabled # | 
|---|
| 4024 | #------------------# | 
|---|
| 4025 | echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 | 
|---|
| 4026 | echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 | 
|---|
| 4027 | # Check whether --enable-curl or --disable-curl was given. | 
|---|
| 4028 | if test "${enable_curl+set}" = set; then | 
|---|
| 4029 |   enableval="$enable_curl" | 
|---|
| 4030 |   def_curl=no | 
|---|
| 4031 | else | 
|---|
| 4032 |   def_curl=yes | 
|---|
| 4033 | fi; | 
|---|
| 4034 | if test x$def_curl = xyes; then | 
|---|
| 4035 |   echo "yes" | 
|---|
| 4036 | fi | 
|---|
| 4037 | if test x$def_curl = xno; then | 
|---|
| 4038 |   echo "no" | 
|---|
| 4039 | fi | 
|---|
| 4040 |  | 
|---|
| 4041 | #-------------------# | 
|---|
| 4042 | # SubProject-enable # | 
|---|
| 4043 | #-------------------# | 
|---|
| 4044 | def_sub_projects=no | 
|---|
| 4045 | echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 | 
|---|
| 4046 | echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 | 
|---|
| 4047 |  | 
|---|
| 4048 | # Check whether --with-sub-projects or --without-sub-projects was given. | 
|---|
| 4049 | if test "${with_sub_projects+set}" = set; then | 
|---|
| 4050 |   withval="$with_sub_projects" | 
|---|
| 4051 |   def_sub_projects=yes | 
|---|
| 4052 | fi; | 
|---|
| 4053 | if test x$def_sub_projects = xyes; then | 
|---|
| 4054 |   echo "yes" | 
|---|
| 4055 | fi | 
|---|
| 4056 | if test x$def_sub_projects = xno; then | 
|---|
| 4057 |   echo "no" | 
|---|
| 4058 | fi | 
|---|
| 4059 |  | 
|---|
| 4060 |  | 
|---|
| 4061 | if test x$def_sub_projects = xyes; then | 
|---|
| 4062 |   SUB_PROJECTS_TRUE= | 
|---|
| 4063 |   SUB_PROJECTS_FALSE='#' | 
|---|
| 4064 | else | 
|---|
| 4065 |   SUB_PROJECTS_TRUE='#' | 
|---|
| 4066 |   SUB_PROJECTS_FALSE= | 
|---|
| 4067 | fi | 
|---|
| 4068 |  | 
|---|
| 4069 |  | 
|---|
| 4070 | #-------------------# | 
|---|
| 4071 | # Profiling Enabled # | 
|---|
| 4072 | #-------------------# | 
|---|
| 4073 | def_profiling=no | 
|---|
| 4074 | echo "$as_me:$LINENO: checking if Profiling should be enabled" >&5 | 
|---|
| 4075 | echo $ECHO_N "checking if Profiling should be enabled... $ECHO_C" >&6 | 
|---|
| 4076 | # Check whether --enable-profile or --disable-profile was given. | 
|---|
| 4077 | if test "${enable_profile+set}" = set; then | 
|---|
| 4078 |   enableval="$enable_profile" | 
|---|
| 4079 |   def_profiling=yes | 
|---|
| 4080 | fi; | 
|---|
| 4081 | if test x$def_profiling = xyes; then | 
|---|
| 4082 |   echo "yes" | 
|---|
| 4083 |   CXXFLAGS="$CXXFLAGS -pg" | 
|---|
| 4084 | fi | 
|---|
| 4085 | if test x$def_profiling = xno; then | 
|---|
| 4086 |   echo "no" | 
|---|
| 4087 | fi | 
|---|
| 4088 |  | 
|---|
| 4089 | #----------------# | 
|---|
| 4090 | # efence Enabled # | 
|---|
| 4091 | #----------------# | 
|---|
| 4092 | def_efence=no | 
|---|
| 4093 | echo "$as_me:$LINENO: checking if efence should be enabled" >&5 | 
|---|
| 4094 | echo $ECHO_N "checking if efence should be enabled... $ECHO_C" >&6 | 
|---|
| 4095 | # Check whether --enable-efence or --disable-efence was given. | 
|---|
| 4096 | if test "${enable_efence+set}" = set; then | 
|---|
| 4097 |   enableval="$enable_efence" | 
|---|
| 4098 |   def_efence=yes | 
|---|
| 4099 | fi; | 
|---|
| 4100 | if test x$def_efence = xyes; then | 
|---|
| 4101 |   echo "yes" | 
|---|
| 4102 | fi | 
|---|
| 4103 | if test x$def_efence = xno; then | 
|---|
| 4104 |   echo "no" | 
|---|
| 4105 | fi | 
|---|
| 4106 |  | 
|---|
| 4107 | #----------------------# | 
|---|
| 4108 | # Documentation-enable # | 
|---|
| 4109 | #----------------------# | 
|---|
| 4110 | def_documentation=no | 
|---|
| 4111 | echo "$as_me:$LINENO: checking if the Documentation should be build by default" >&5 | 
|---|
| 4112 | echo $ECHO_N "checking if the Documentation should be build by default... $ECHO_C" >&6 | 
|---|
| 4113 | # Check whether --enable-documentation or --disable-documentation was given. | 
|---|
| 4114 | if test "${enable_documentation+set}" = set; then | 
|---|
| 4115 |   enableval="$enable_documentation" | 
|---|
| 4116 |   def_documentation=yes | 
|---|
| 4117 | fi; | 
|---|
| 4118 | if test x$def_documentation = xyes; then | 
|---|
| 4119 |   echo "yes" | 
|---|
| 4120 | fi | 
|---|
| 4121 | if test x$def_documentation = xno; then | 
|---|
| 4122 |   echo "no" | 
|---|
| 4123 | fi | 
|---|
| 4124 |  | 
|---|
| 4125 |  | 
|---|
| 4126 | if test x$def_documentation = xyes; then | 
|---|
| 4127 |   DOCUMENTATION_TRUE= | 
|---|
| 4128 |   DOCUMENTATION_FALSE='#' | 
|---|
| 4129 | else | 
|---|
| 4130 |   DOCUMENTATION_TRUE='#' | 
|---|
| 4131 |   DOCUMENTATION_FALSE= | 
|---|
| 4132 | fi | 
|---|
| 4133 |  | 
|---|
| 4134 |  | 
|---|
| 4135 | ####################### | 
|---|
| 4136 | ## PROGRAMM CHECKING ## | 
|---|
| 4137 | ## 3. party Programs ## | 
|---|
| 4138 | ####################### | 
|---|
| 4139 |  | 
|---|
| 4140 | #----------------------# | 
|---|
| 4141 | # checking for Doxygen # | 
|---|
| 4142 | #----------------------# | 
|---|
| 4143 | # Extract the first word of "doxygen", so it can be a program name with args. | 
|---|
| 4144 | set dummy doxygen; ac_word=$2 | 
|---|
| 4145 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4146 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4147 | if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
|---|
| 4148 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4149 | else | 
|---|
| 4150 |   case $DOXYGEN in | 
|---|
| 4151 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4152 |   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
|---|
| 4153 |   ;; | 
|---|
| 4154 |   *) | 
|---|
| 4155 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4156 | for as_dir in $PATH | 
|---|
| 4157 | do | 
|---|
| 4158 |   IFS=$as_save_IFS | 
|---|
| 4159 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4160 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4161 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4162 |     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4163 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4164 |     break 2 | 
|---|
| 4165 |   fi | 
|---|
| 4166 | done | 
|---|
| 4167 | done | 
|---|
| 4168 |  | 
|---|
| 4169 |   ;; | 
|---|
| 4170 | esac | 
|---|
| 4171 | fi | 
|---|
| 4172 | DOXYGEN=$ac_cv_path_DOXYGEN | 
|---|
| 4173 |  | 
|---|
| 4174 | if test -n "$DOXYGEN"; then | 
|---|
| 4175 |   echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
|---|
| 4176 | echo "${ECHO_T}$DOXYGEN" >&6 | 
|---|
| 4177 | else | 
|---|
| 4178 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4179 | echo "${ECHO_T}no" >&6 | 
|---|
| 4180 | fi | 
|---|
| 4181 |  | 
|---|
| 4182 |  | 
|---|
| 4183 |  | 
|---|
| 4184 | if test $DOXYGEN; then | 
|---|
| 4185 |   DOXYGEN_TRUE= | 
|---|
| 4186 |   DOXYGEN_FALSE='#' | 
|---|
| 4187 | else | 
|---|
| 4188 |   DOXYGEN_TRUE='#' | 
|---|
| 4189 |   DOXYGEN_FALSE= | 
|---|
| 4190 | fi | 
|---|
| 4191 |  | 
|---|
| 4192 |  | 
|---|
| 4193 | #--------------------# | 
|---|
| 4194 | # checking for gprof # | 
|---|
| 4195 | #--------------------# | 
|---|
| 4196 | # Extract the first word of "gprof", so it can be a program name with args. | 
|---|
| 4197 | set dummy gprof; ac_word=$2 | 
|---|
| 4198 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4199 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4200 | if test "${ac_cv_path_GPROF+set}" = set; then | 
|---|
| 4201 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4202 | else | 
|---|
| 4203 |   case $GPROF in | 
|---|
| 4204 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4205 |   ac_cv_path_GPROF="$GPROF" # Let the user override the test with a path. | 
|---|
| 4206 |   ;; | 
|---|
| 4207 |   *) | 
|---|
| 4208 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4209 | for as_dir in $PATH | 
|---|
| 4210 | do | 
|---|
| 4211 |   IFS=$as_save_IFS | 
|---|
| 4212 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4213 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4214 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4215 |     ac_cv_path_GPROF="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4216 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4217 |     break 2 | 
|---|
| 4218 |   fi | 
|---|
| 4219 | done | 
|---|
| 4220 | done | 
|---|
| 4221 |  | 
|---|
| 4222 |   ;; | 
|---|
| 4223 | esac | 
|---|
| 4224 | fi | 
|---|
| 4225 | GPROF=$ac_cv_path_GPROF | 
|---|
| 4226 |  | 
|---|
| 4227 | if test -n "$GPROF"; then | 
|---|
| 4228 |   echo "$as_me:$LINENO: result: $GPROF" >&5 | 
|---|
| 4229 | echo "${ECHO_T}$GPROF" >&6 | 
|---|
| 4230 | else | 
|---|
| 4231 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4232 | echo "${ECHO_T}no" >&6 | 
|---|
| 4233 | fi | 
|---|
| 4234 |  | 
|---|
| 4235 |  | 
|---|
| 4236 | #-------------------------# | 
|---|
| 4237 | # checking for pkg-config # | 
|---|
| 4238 | #-------------------------# | 
|---|
| 4239 | if test x$def_gtk = xyes; then | 
|---|
| 4240 |  # Extract the first word of "pkg-config", so it can be a program name with args. | 
|---|
| 4241 | set dummy pkg-config; ac_word=$2 | 
|---|
| 4242 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4243 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4244 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 
|---|
| 4245 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4246 | else | 
|---|
| 4247 |   case $PKG_CONFIG in | 
|---|
| 4248 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4249 |   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 
|---|
| 4250 |   ;; | 
|---|
| 4251 |   *) | 
|---|
| 4252 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4253 | for as_dir in $PATH | 
|---|
| 4254 | do | 
|---|
| 4255 |   IFS=$as_save_IFS | 
|---|
| 4256 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4257 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4258 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4259 |     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4260 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4261 |     break 2 | 
|---|
| 4262 |   fi | 
|---|
| 4263 | done | 
|---|
| 4264 | done | 
|---|
| 4265 |  | 
|---|
| 4266 |   ;; | 
|---|
| 4267 | esac | 
|---|
| 4268 | fi | 
|---|
| 4269 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 
|---|
| 4270 |  | 
|---|
| 4271 | if test -n "$PKG_CONFIG"; then | 
|---|
| 4272 |   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 
|---|
| 4273 | echo "${ECHO_T}$PKG_CONFIG" >&6 | 
|---|
| 4274 | else | 
|---|
| 4275 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4276 | echo "${ECHO_T}no" >&6 | 
|---|
| 4277 | fi | 
|---|
| 4278 |  | 
|---|
| 4279 | fi | 
|---|
| 4280 |  | 
|---|
| 4281 |  | 
|---|
| 4282 | ######################### | 
|---|
| 4283 | ## CHECKING FOR SYSTEM ## | 
|---|
| 4284 | ######################### | 
|---|
| 4285 | ## here the system is checked, and openGL is included | 
|---|
| 4286 | ## also checking for SDL on differen Systems | 
|---|
| 4287 |  | 
|---|
| 4288 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
| 4289 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| 4290 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
| 4291 | case "$target" in | 
|---|
| 4292 | #---------# | 
|---|
| 4293 | # WINDOWS # | 
|---|
| 4294 | #---------# | 
|---|
| 4295 |   *-*-mingw32*) | 
|---|
| 4296 | echo "mingw-WINDOWS detected" | 
|---|
| 4297 |  | 
|---|
| 4298 | CPPFLAGS="-I/usr/include -I/mingw/include" | 
|---|
| 4299 |  | 
|---|
| 4300 |     mingw="yes" | 
|---|
| 4301 |     MSBITFIELDS="-mms-bitfields" | 
|---|
| 4302 |     MWINDOWS="-mwindows" | 
|---|
| 4303 |  | 
|---|
| 4304 |  | 
|---|
| 4305 |  | 
|---|
| 4306 | # checking for mingw32 | 
|---|
| 4307 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
| 4308 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
| 4309 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| 4310 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4311 | else | 
|---|
| 4312 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4313 | LIBS="-lmingw32  $LIBS" | 
|---|
| 4314 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4315 | /* confdefs.h.  */ | 
|---|
| 4316 | _ACEOF | 
|---|
| 4317 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4318 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4319 | /* end confdefs.h.  */ | 
|---|
| 4320 |  | 
|---|
| 4321 |  | 
|---|
| 4322 | int | 
|---|
| 4323 | main () | 
|---|
| 4324 | { | 
|---|
| 4325 | main (); | 
|---|
| 4326 |   ; | 
|---|
| 4327 |   return 0; | 
|---|
| 4328 | } | 
|---|
| 4329 | _ACEOF | 
|---|
| 4330 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4331 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4332 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4333 |   ac_status=$? | 
|---|
| 4334 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4335 |   rm -f conftest.er1 | 
|---|
| 4336 |   cat conftest.err >&5 | 
|---|
| 4337 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4338 |   (exit $ac_status); } && | 
|---|
| 4339 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4340 |                          || test ! -s conftest.err' | 
|---|
| 4341 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4342 |   (eval $ac_try) 2>&5 | 
|---|
| 4343 |   ac_status=$? | 
|---|
| 4344 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4345 |   (exit $ac_status); }; } && | 
|---|
| 4346 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4347 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4348 |   (eval $ac_try) 2>&5 | 
|---|
| 4349 |   ac_status=$? | 
|---|
| 4350 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4351 |   (exit $ac_status); }; }; then | 
|---|
| 4352 |   ac_cv_lib_mingw32_main=yes | 
|---|
| 4353 | else | 
|---|
| 4354 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4355 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4356 |  | 
|---|
| 4357 | ac_cv_lib_mingw32_main=no | 
|---|
| 4358 | fi | 
|---|
| 4359 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4360 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4361 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4362 | fi | 
|---|
| 4363 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
| 4364 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
| 4365 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
| 4366 |   FOUND_mingw32=yes | 
|---|
| 4367 | fi | 
|---|
| 4368 |  | 
|---|
| 4369 |     if test x$FOUND_mingw32 = xyes; then | 
|---|
| 4370 |         LIBS="$LIBS -lmingw32" | 
|---|
| 4371 |     fi | 
|---|
| 4372 |  | 
|---|
| 4373 | #-----------# | 
|---|
| 4374 | # SDL (win) # | 
|---|
| 4375 | #-----------# | 
|---|
| 4376 | # checking for SDL-headers | 
|---|
| 4377 |     # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 4378 |  | 
|---|
| 4379 |  | 
|---|
| 4380 |  | 
|---|
| 4381 |  | 
|---|
| 4382 |  | 
|---|
| 4383 |  | 
|---|
| 4384 |  | 
|---|
| 4385 |  | 
|---|
| 4386 |  | 
|---|
| 4387 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 4388 |                   inttypes.h stdint.h unistd.h | 
|---|
| 4389 | do | 
|---|
| 4390 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4391 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4392 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4393 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4394 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4395 | else | 
|---|
| 4396 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4397 | /* confdefs.h.  */ | 
|---|
| 4398 | _ACEOF | 
|---|
| 4399 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4400 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4401 | /* end confdefs.h.  */ | 
|---|
| 4402 | $ac_includes_default | 
|---|
| 4403 |  | 
|---|
| 4404 | #include <$ac_header> | 
|---|
| 4405 | _ACEOF | 
|---|
| 4406 | rm -f conftest.$ac_objext | 
|---|
| 4407 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4408 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4409 |   ac_status=$? | 
|---|
| 4410 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4411 |   rm -f conftest.er1 | 
|---|
| 4412 |   cat conftest.err >&5 | 
|---|
| 4413 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4414 |   (exit $ac_status); } && | 
|---|
| 4415 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4416 |                          || test ! -s conftest.err' | 
|---|
| 4417 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4418 |   (eval $ac_try) 2>&5 | 
|---|
| 4419 |   ac_status=$? | 
|---|
| 4420 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4421 |   (exit $ac_status); }; } && | 
|---|
| 4422 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4423 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4424 |   (eval $ac_try) 2>&5 | 
|---|
| 4425 |   ac_status=$? | 
|---|
| 4426 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4427 |   (exit $ac_status); }; }; then | 
|---|
| 4428 |   eval "$as_ac_Header=yes" | 
|---|
| 4429 | else | 
|---|
| 4430 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4431 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4432 |  | 
|---|
| 4433 | eval "$as_ac_Header=no" | 
|---|
| 4434 | fi | 
|---|
| 4435 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4436 | fi | 
|---|
| 4437 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4438 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4439 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4440 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4441 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4442 | _ACEOF | 
|---|
| 4443 |  | 
|---|
| 4444 | fi | 
|---|
| 4445 |  | 
|---|
| 4446 | done | 
|---|
| 4447 |  | 
|---|
| 4448 |  | 
|---|
| 4449 |  | 
|---|
| 4450 | for ac_header in SDL/SDL.h | 
|---|
| 4451 | do | 
|---|
| 4452 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4453 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4454 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4455 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4456 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4457 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4458 | fi | 
|---|
| 4459 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4460 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4461 | else | 
|---|
| 4462 |   # Is the header compilable? | 
|---|
| 4463 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4464 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4465 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4466 | /* confdefs.h.  */ | 
|---|
| 4467 | _ACEOF | 
|---|
| 4468 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4469 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4470 | /* end confdefs.h.  */ | 
|---|
| 4471 | $ac_includes_default | 
|---|
| 4472 | #include <$ac_header> | 
|---|
| 4473 | _ACEOF | 
|---|
| 4474 | rm -f conftest.$ac_objext | 
|---|
| 4475 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4476 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4477 |   ac_status=$? | 
|---|
| 4478 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4479 |   rm -f conftest.er1 | 
|---|
| 4480 |   cat conftest.err >&5 | 
|---|
| 4481 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4482 |   (exit $ac_status); } && | 
|---|
| 4483 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4484 |                          || test ! -s conftest.err' | 
|---|
| 4485 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4486 |   (eval $ac_try) 2>&5 | 
|---|
| 4487 |   ac_status=$? | 
|---|
| 4488 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4489 |   (exit $ac_status); }; } && | 
|---|
| 4490 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4491 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4492 |   (eval $ac_try) 2>&5 | 
|---|
| 4493 |   ac_status=$? | 
|---|
| 4494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4495 |   (exit $ac_status); }; }; then | 
|---|
| 4496 |   ac_header_compiler=yes | 
|---|
| 4497 | else | 
|---|
| 4498 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4499 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4500 |  | 
|---|
| 4501 | ac_header_compiler=no | 
|---|
| 4502 | fi | 
|---|
| 4503 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4504 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4505 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4506 |  | 
|---|
| 4507 | # Is the header present? | 
|---|
| 4508 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4509 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4510 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4511 | /* confdefs.h.  */ | 
|---|
| 4512 | _ACEOF | 
|---|
| 4513 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4514 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4515 | /* end confdefs.h.  */ | 
|---|
| 4516 | #include <$ac_header> | 
|---|
| 4517 | _ACEOF | 
|---|
| 4518 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4519 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4520 |   ac_status=$? | 
|---|
| 4521 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4522 |   rm -f conftest.er1 | 
|---|
| 4523 |   cat conftest.err >&5 | 
|---|
| 4524 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4525 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4526 |   if test -s conftest.err; then | 
|---|
| 4527 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4528 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4529 |   else | 
|---|
| 4530 |     ac_cpp_err= | 
|---|
| 4531 |   fi | 
|---|
| 4532 | else | 
|---|
| 4533 |   ac_cpp_err=yes | 
|---|
| 4534 | fi | 
|---|
| 4535 | if test -z "$ac_cpp_err"; then | 
|---|
| 4536 |   ac_header_preproc=yes | 
|---|
| 4537 | else | 
|---|
| 4538 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4539 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4540 |  | 
|---|
| 4541 |   ac_header_preproc=no | 
|---|
| 4542 | fi | 
|---|
| 4543 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4544 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4545 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4546 |  | 
|---|
| 4547 | # So?  What about this header? | 
|---|
| 4548 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4549 |   yes:no: ) | 
|---|
| 4550 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4551 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4553 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4554 |     ac_header_preproc=yes | 
|---|
| 4555 |     ;; | 
|---|
| 4556 |   no:yes:* ) | 
|---|
| 4557 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4558 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4559 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4560 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4561 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4562 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4563 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4564 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4565 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4566 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4567 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4568 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4569 |     ( | 
|---|
| 4570 |       cat <<\_ASBOX | 
|---|
| 4571 | ## ---------------------------------------------- ## | 
|---|
| 4572 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4573 | ## ---------------------------------------------- ## | 
|---|
| 4574 | _ASBOX | 
|---|
| 4575 |     ) | | 
|---|
| 4576 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4577 |     ;; | 
|---|
| 4578 | esac | 
|---|
| 4579 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4580 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4581 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4582 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4583 | else | 
|---|
| 4584 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4585 | fi | 
|---|
| 4586 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4587 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4588 |  | 
|---|
| 4589 | fi | 
|---|
| 4590 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4591 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4592 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4593 | _ACEOF | 
|---|
| 4594 |  | 
|---|
| 4595 | else | 
|---|
| 4596 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 4597 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 4598 |    { (exit 1); exit 1; }; } | 
|---|
| 4599 | fi | 
|---|
| 4600 |  | 
|---|
| 4601 | done | 
|---|
| 4602 |  | 
|---|
| 4603 |  | 
|---|
| 4604 | #checking for libSDL | 
|---|
| 4605 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
| 4606 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
| 4607 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
| 4608 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4609 | else | 
|---|
| 4610 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4611 | LIBS="-lsdlmain  $LIBS" | 
|---|
| 4612 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4613 | /* confdefs.h.  */ | 
|---|
| 4614 | _ACEOF | 
|---|
| 4615 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4616 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4617 | /* end confdefs.h.  */ | 
|---|
| 4618 |  | 
|---|
| 4619 |  | 
|---|
| 4620 | int | 
|---|
| 4621 | main () | 
|---|
| 4622 | { | 
|---|
| 4623 | main (); | 
|---|
| 4624 |   ; | 
|---|
| 4625 |   return 0; | 
|---|
| 4626 | } | 
|---|
| 4627 | _ACEOF | 
|---|
| 4628 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4629 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4630 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4631 |   ac_status=$? | 
|---|
| 4632 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4633 |   rm -f conftest.er1 | 
|---|
| 4634 |   cat conftest.err >&5 | 
|---|
| 4635 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4636 |   (exit $ac_status); } && | 
|---|
| 4637 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4638 |                          || test ! -s conftest.err' | 
|---|
| 4639 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4640 |   (eval $ac_try) 2>&5 | 
|---|
| 4641 |   ac_status=$? | 
|---|
| 4642 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4643 |   (exit $ac_status); }; } && | 
|---|
| 4644 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4645 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4646 |   (eval $ac_try) 2>&5 | 
|---|
| 4647 |   ac_status=$? | 
|---|
| 4648 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4649 |   (exit $ac_status); }; }; then | 
|---|
| 4650 |   ac_cv_lib_sdlmain_main=yes | 
|---|
| 4651 | else | 
|---|
| 4652 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4653 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4654 |  | 
|---|
| 4655 | ac_cv_lib_sdlmain_main=no | 
|---|
| 4656 | fi | 
|---|
| 4657 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4658 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4659 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4660 | fi | 
|---|
| 4661 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
| 4662 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
| 4663 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
| 4664 |   FOUND_sdlmain=yes | 
|---|
| 4665 | fi | 
|---|
| 4666 |  | 
|---|
| 4667 |     if test x$FOUND_sdlmain = xyes ; then | 
|---|
| 4668 |        LIBS="$LIBS -lsdlmain" | 
|---|
| 4669 |     else | 
|---|
| 4670 |         echo "------------------" | 
|---|
| 4671 |         echo "SDL library not found." | 
|---|
| 4672 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 4673 |         echo "------------------" | 
|---|
| 4674 |         exit 1 | 
|---|
| 4675 |     fi | 
|---|
| 4676 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
| 4677 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
| 4678 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
| 4679 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4680 | else | 
|---|
| 4681 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4682 | LIBS="-lsdl  $LIBS" | 
|---|
| 4683 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4684 | /* confdefs.h.  */ | 
|---|
| 4685 | _ACEOF | 
|---|
| 4686 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4687 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4688 | /* end confdefs.h.  */ | 
|---|
| 4689 |  | 
|---|
| 4690 |  | 
|---|
| 4691 | int | 
|---|
| 4692 | main () | 
|---|
| 4693 | { | 
|---|
| 4694 | main (); | 
|---|
| 4695 |   ; | 
|---|
| 4696 |   return 0; | 
|---|
| 4697 | } | 
|---|
| 4698 | _ACEOF | 
|---|
| 4699 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4701 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4702 |   ac_status=$? | 
|---|
| 4703 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4704 |   rm -f conftest.er1 | 
|---|
| 4705 |   cat conftest.err >&5 | 
|---|
| 4706 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4707 |   (exit $ac_status); } && | 
|---|
| 4708 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4709 |                          || test ! -s conftest.err' | 
|---|
| 4710 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4711 |   (eval $ac_try) 2>&5 | 
|---|
| 4712 |   ac_status=$? | 
|---|
| 4713 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4714 |   (exit $ac_status); }; } && | 
|---|
| 4715 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4716 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4717 |   (eval $ac_try) 2>&5 | 
|---|
| 4718 |   ac_status=$? | 
|---|
| 4719 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4720 |   (exit $ac_status); }; }; then | 
|---|
| 4721 |   ac_cv_lib_sdl_main=yes | 
|---|
| 4722 | else | 
|---|
| 4723 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4724 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4725 |  | 
|---|
| 4726 | ac_cv_lib_sdl_main=no | 
|---|
| 4727 | fi | 
|---|
| 4728 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4729 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4730 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4731 | fi | 
|---|
| 4732 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
| 4733 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
| 4734 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
| 4735 |   FOUND_sdl=yes | 
|---|
| 4736 | fi | 
|---|
| 4737 |  | 
|---|
| 4738 |     if test x$FOUND_sdl = xyes ; then | 
|---|
| 4739 |        LIBS="$LIBS -lsdl" | 
|---|
| 4740 |     else | 
|---|
| 4741 |         echo "------------------" | 
|---|
| 4742 |         echo "SDL library not found." | 
|---|
| 4743 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 4744 |         echo "------------------" | 
|---|
| 4745 |         exit -1 | 
|---|
| 4746 |     fi | 
|---|
| 4747 |  | 
|---|
| 4748 | #---------------# | 
|---|
| 4749 | # open-GL (win) # | 
|---|
| 4750 | #---------------# | 
|---|
| 4751 | # checking gl header | 
|---|
| 4752 |  | 
|---|
| 4753 | for ac_header in GL/gl.h | 
|---|
| 4754 | do | 
|---|
| 4755 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4756 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4757 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4758 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4759 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4760 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4761 | fi | 
|---|
| 4762 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4763 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4764 | else | 
|---|
| 4765 |   # Is the header compilable? | 
|---|
| 4766 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4767 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4768 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4769 | /* confdefs.h.  */ | 
|---|
| 4770 | _ACEOF | 
|---|
| 4771 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4772 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4773 | /* end confdefs.h.  */ | 
|---|
| 4774 | $ac_includes_default | 
|---|
| 4775 | #include <$ac_header> | 
|---|
| 4776 | _ACEOF | 
|---|
| 4777 | rm -f conftest.$ac_objext | 
|---|
| 4778 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4779 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4780 |   ac_status=$? | 
|---|
| 4781 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4782 |   rm -f conftest.er1 | 
|---|
| 4783 |   cat conftest.err >&5 | 
|---|
| 4784 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4785 |   (exit $ac_status); } && | 
|---|
| 4786 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4787 |                          || test ! -s conftest.err' | 
|---|
| 4788 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4789 |   (eval $ac_try) 2>&5 | 
|---|
| 4790 |   ac_status=$? | 
|---|
| 4791 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4792 |   (exit $ac_status); }; } && | 
|---|
| 4793 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4794 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4795 |   (eval $ac_try) 2>&5 | 
|---|
| 4796 |   ac_status=$? | 
|---|
| 4797 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4798 |   (exit $ac_status); }; }; then | 
|---|
| 4799 |   ac_header_compiler=yes | 
|---|
| 4800 | else | 
|---|
| 4801 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4802 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4803 |  | 
|---|
| 4804 | ac_header_compiler=no | 
|---|
| 4805 | fi | 
|---|
| 4806 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4807 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4808 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4809 |  | 
|---|
| 4810 | # Is the header present? | 
|---|
| 4811 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4812 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4813 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4814 | /* confdefs.h.  */ | 
|---|
| 4815 | _ACEOF | 
|---|
| 4816 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4817 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4818 | /* end confdefs.h.  */ | 
|---|
| 4819 | #include <$ac_header> | 
|---|
| 4820 | _ACEOF | 
|---|
| 4821 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4822 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4823 |   ac_status=$? | 
|---|
| 4824 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4825 |   rm -f conftest.er1 | 
|---|
| 4826 |   cat conftest.err >&5 | 
|---|
| 4827 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4828 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4829 |   if test -s conftest.err; then | 
|---|
| 4830 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4831 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4832 |   else | 
|---|
| 4833 |     ac_cpp_err= | 
|---|
| 4834 |   fi | 
|---|
| 4835 | else | 
|---|
| 4836 |   ac_cpp_err=yes | 
|---|
| 4837 | fi | 
|---|
| 4838 | if test -z "$ac_cpp_err"; then | 
|---|
| 4839 |   ac_header_preproc=yes | 
|---|
| 4840 | else | 
|---|
| 4841 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4842 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4843 |  | 
|---|
| 4844 |   ac_header_preproc=no | 
|---|
| 4845 | fi | 
|---|
| 4846 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4847 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4848 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4849 |  | 
|---|
| 4850 | # So?  What about this header? | 
|---|
| 4851 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4852 |   yes:no: ) | 
|---|
| 4853 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4854 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4855 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4856 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4857 |     ac_header_preproc=yes | 
|---|
| 4858 |     ;; | 
|---|
| 4859 |   no:yes:* ) | 
|---|
| 4860 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4861 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4862 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4863 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4864 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4865 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4866 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4867 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4868 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4869 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4870 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4871 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4872 |     ( | 
|---|
| 4873 |       cat <<\_ASBOX | 
|---|
| 4874 | ## ---------------------------------------------- ## | 
|---|
| 4875 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4876 | ## ---------------------------------------------- ## | 
|---|
| 4877 | _ASBOX | 
|---|
| 4878 |     ) | | 
|---|
| 4879 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4880 |     ;; | 
|---|
| 4881 | esac | 
|---|
| 4882 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4883 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4884 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4885 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4886 | else | 
|---|
| 4887 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4888 | fi | 
|---|
| 4889 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4890 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4891 |  | 
|---|
| 4892 | fi | 
|---|
| 4893 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4894 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4895 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4896 | _ACEOF | 
|---|
| 4897 |  | 
|---|
| 4898 | else | 
|---|
| 4899 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4900 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4901 |    { (exit 1); exit 1; }; } | 
|---|
| 4902 | fi | 
|---|
| 4903 |  | 
|---|
| 4904 | done | 
|---|
| 4905 |  | 
|---|
| 4906 | #   checking for Windows openGl library | 
|---|
| 4907 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
| 4908 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
| 4909 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| 4910 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4911 | else | 
|---|
| 4912 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4913 | LIBS="-lopengl32  $LIBS" | 
|---|
| 4914 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4915 | /* confdefs.h.  */ | 
|---|
| 4916 | _ACEOF | 
|---|
| 4917 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4918 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4919 | /* end confdefs.h.  */ | 
|---|
| 4920 |  | 
|---|
| 4921 |  | 
|---|
| 4922 | int | 
|---|
| 4923 | main () | 
|---|
| 4924 | { | 
|---|
| 4925 | main (); | 
|---|
| 4926 |   ; | 
|---|
| 4927 |   return 0; | 
|---|
| 4928 | } | 
|---|
| 4929 | _ACEOF | 
|---|
| 4930 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4931 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4932 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4933 |   ac_status=$? | 
|---|
| 4934 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4935 |   rm -f conftest.er1 | 
|---|
| 4936 |   cat conftest.err >&5 | 
|---|
| 4937 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4938 |   (exit $ac_status); } && | 
|---|
| 4939 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4940 |                          || test ! -s conftest.err' | 
|---|
| 4941 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4942 |   (eval $ac_try) 2>&5 | 
|---|
| 4943 |   ac_status=$? | 
|---|
| 4944 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4945 |   (exit $ac_status); }; } && | 
|---|
| 4946 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4947 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4948 |   (eval $ac_try) 2>&5 | 
|---|
| 4949 |   ac_status=$? | 
|---|
| 4950 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4951 |   (exit $ac_status); }; }; then | 
|---|
| 4952 |   ac_cv_lib_opengl32_main=yes | 
|---|
| 4953 | else | 
|---|
| 4954 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4955 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4956 |  | 
|---|
| 4957 | ac_cv_lib_opengl32_main=no | 
|---|
| 4958 | fi | 
|---|
| 4959 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4960 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4961 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4962 | fi | 
|---|
| 4963 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
| 4964 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
| 4965 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
| 4966 |   FOUND_opengl32=yes | 
|---|
| 4967 | else | 
|---|
| 4968 |   "gl/gl.h" | 
|---|
| 4969 | fi | 
|---|
| 4970 |  | 
|---|
| 4971 |     if test x$FOUND_opengl32 = xyes ; then | 
|---|
| 4972 |         LIBS="$LIBS -lopengl32" | 
|---|
| 4973 |     else | 
|---|
| 4974 |          echo "------------------" | 
|---|
| 4975 |          echo "opengl not found." | 
|---|
| 4976 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 4977 |          echo "------------------" | 
|---|
| 4978 |          exit -1 | 
|---|
| 4979 |     fi | 
|---|
| 4980 |  | 
|---|
| 4981 | # cheking for GLU-header | 
|---|
| 4982 |  | 
|---|
| 4983 | for ac_header in GL/glu.h | 
|---|
| 4984 | do | 
|---|
| 4985 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4986 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4987 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4988 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4989 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4990 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4991 | fi | 
|---|
| 4992 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4993 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4994 | else | 
|---|
| 4995 |   # Is the header compilable? | 
|---|
| 4996 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4997 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4998 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4999 | /* confdefs.h.  */ | 
|---|
| 5000 | _ACEOF | 
|---|
| 5001 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5002 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5003 | /* end confdefs.h.  */ | 
|---|
| 5004 | $ac_includes_default | 
|---|
| 5005 | #include <$ac_header> | 
|---|
| 5006 | _ACEOF | 
|---|
| 5007 | rm -f conftest.$ac_objext | 
|---|
| 5008 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5009 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5010 |   ac_status=$? | 
|---|
| 5011 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5012 |   rm -f conftest.er1 | 
|---|
| 5013 |   cat conftest.err >&5 | 
|---|
| 5014 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5015 |   (exit $ac_status); } && | 
|---|
| 5016 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5017 |                          || test ! -s conftest.err' | 
|---|
| 5018 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5019 |   (eval $ac_try) 2>&5 | 
|---|
| 5020 |   ac_status=$? | 
|---|
| 5021 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5022 |   (exit $ac_status); }; } && | 
|---|
| 5023 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5024 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5025 |   (eval $ac_try) 2>&5 | 
|---|
| 5026 |   ac_status=$? | 
|---|
| 5027 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5028 |   (exit $ac_status); }; }; then | 
|---|
| 5029 |   ac_header_compiler=yes | 
|---|
| 5030 | else | 
|---|
| 5031 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5032 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5033 |  | 
|---|
| 5034 | ac_header_compiler=no | 
|---|
| 5035 | fi | 
|---|
| 5036 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5037 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5038 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5039 |  | 
|---|
| 5040 | # Is the header present? | 
|---|
| 5041 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5042 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5043 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5044 | /* confdefs.h.  */ | 
|---|
| 5045 | _ACEOF | 
|---|
| 5046 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5047 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5048 | /* end confdefs.h.  */ | 
|---|
| 5049 | #include <$ac_header> | 
|---|
| 5050 | _ACEOF | 
|---|
| 5051 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5052 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5053 |   ac_status=$? | 
|---|
| 5054 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5055 |   rm -f conftest.er1 | 
|---|
| 5056 |   cat conftest.err >&5 | 
|---|
| 5057 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5058 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5059 |   if test -s conftest.err; then | 
|---|
| 5060 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5061 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5062 |   else | 
|---|
| 5063 |     ac_cpp_err= | 
|---|
| 5064 |   fi | 
|---|
| 5065 | else | 
|---|
| 5066 |   ac_cpp_err=yes | 
|---|
| 5067 | fi | 
|---|
| 5068 | if test -z "$ac_cpp_err"; then | 
|---|
| 5069 |   ac_header_preproc=yes | 
|---|
| 5070 | else | 
|---|
| 5071 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5072 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5073 |  | 
|---|
| 5074 |   ac_header_preproc=no | 
|---|
| 5075 | fi | 
|---|
| 5076 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5077 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5078 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5079 |  | 
|---|
| 5080 | # So?  What about this header? | 
|---|
| 5081 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5082 |   yes:no: ) | 
|---|
| 5083 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5084 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5085 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5086 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5087 |     ac_header_preproc=yes | 
|---|
| 5088 |     ;; | 
|---|
| 5089 |   no:yes:* ) | 
|---|
| 5090 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5091 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5092 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5093 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5094 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5095 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5096 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5097 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5098 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5099 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5100 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5101 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5102 |     ( | 
|---|
| 5103 |       cat <<\_ASBOX | 
|---|
| 5104 | ## ---------------------------------------------- ## | 
|---|
| 5105 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5106 | ## ---------------------------------------------- ## | 
|---|
| 5107 | _ASBOX | 
|---|
| 5108 |     ) | | 
|---|
| 5109 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5110 |     ;; | 
|---|
| 5111 | esac | 
|---|
| 5112 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5113 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5114 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5115 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5116 | else | 
|---|
| 5117 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5118 | fi | 
|---|
| 5119 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5120 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5121 |  | 
|---|
| 5122 | fi | 
|---|
| 5123 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5124 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5125 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5126 | _ACEOF | 
|---|
| 5127 |  | 
|---|
| 5128 | else | 
|---|
| 5129 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5130 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5131 |    { (exit 1); exit 1; }; } | 
|---|
| 5132 | fi | 
|---|
| 5133 |  | 
|---|
| 5134 | done | 
|---|
| 5135 |  | 
|---|
| 5136 |  | 
|---|
| 5137 | # checking for libGLU | 
|---|
| 5138 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
| 5139 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
| 5140 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| 5141 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5142 | else | 
|---|
| 5143 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5144 | LIBS="-lglu32  $LIBS" | 
|---|
| 5145 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5146 | /* confdefs.h.  */ | 
|---|
| 5147 | _ACEOF | 
|---|
| 5148 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5149 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5150 | /* end confdefs.h.  */ | 
|---|
| 5151 |  | 
|---|
| 5152 |  | 
|---|
| 5153 | int | 
|---|
| 5154 | main () | 
|---|
| 5155 | { | 
|---|
| 5156 | main (); | 
|---|
| 5157 |   ; | 
|---|
| 5158 |   return 0; | 
|---|
| 5159 | } | 
|---|
| 5160 | _ACEOF | 
|---|
| 5161 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5162 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5163 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5164 |   ac_status=$? | 
|---|
| 5165 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5166 |   rm -f conftest.er1 | 
|---|
| 5167 |   cat conftest.err >&5 | 
|---|
| 5168 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5169 |   (exit $ac_status); } && | 
|---|
| 5170 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5171 |                          || test ! -s conftest.err' | 
|---|
| 5172 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5173 |   (eval $ac_try) 2>&5 | 
|---|
| 5174 |   ac_status=$? | 
|---|
| 5175 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5176 |   (exit $ac_status); }; } && | 
|---|
| 5177 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5178 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5179 |   (eval $ac_try) 2>&5 | 
|---|
| 5180 |   ac_status=$? | 
|---|
| 5181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5182 |   (exit $ac_status); }; }; then | 
|---|
| 5183 |   ac_cv_lib_glu32_main=yes | 
|---|
| 5184 | else | 
|---|
| 5185 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5186 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5187 |  | 
|---|
| 5188 | ac_cv_lib_glu32_main=no | 
|---|
| 5189 | fi | 
|---|
| 5190 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5191 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5192 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5193 | fi | 
|---|
| 5194 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
| 5195 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
| 5196 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
| 5197 |   FOUND_glu32=yes | 
|---|
| 5198 | fi | 
|---|
| 5199 |  | 
|---|
| 5200 |     if test x$FOUND_glu32 = xyes ; then | 
|---|
| 5201 |         LIBS="$LIBS -lGLU32" | 
|---|
| 5202 |     else | 
|---|
| 5203 |          echo "------------------" | 
|---|
| 5204 |          echo "GLU library not found." | 
|---|
| 5205 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 5206 |          echo "------------------" | 
|---|
| 5207 |          exit -1 | 
|---|
| 5208 |     fi | 
|---|
| 5209 |  | 
|---|
| 5210 | #--------# | 
|---|
| 5211 | # openAL # | 
|---|
| 5212 | #--------# | 
|---|
| 5213 | # checking for openAL-headers | 
|---|
| 5214 |  | 
|---|
| 5215 | for ac_header in AL/al.h | 
|---|
| 5216 | do | 
|---|
| 5217 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5218 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5219 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5220 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5221 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5222 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5223 | fi | 
|---|
| 5224 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5225 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5226 | else | 
|---|
| 5227 |   # Is the header compilable? | 
|---|
| 5228 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5229 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5230 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5231 | /* confdefs.h.  */ | 
|---|
| 5232 | _ACEOF | 
|---|
| 5233 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5234 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5235 | /* end confdefs.h.  */ | 
|---|
| 5236 | $ac_includes_default | 
|---|
| 5237 | #include <$ac_header> | 
|---|
| 5238 | _ACEOF | 
|---|
| 5239 | rm -f conftest.$ac_objext | 
|---|
| 5240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5241 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5242 |   ac_status=$? | 
|---|
| 5243 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5244 |   rm -f conftest.er1 | 
|---|
| 5245 |   cat conftest.err >&5 | 
|---|
| 5246 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5247 |   (exit $ac_status); } && | 
|---|
| 5248 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5249 |                          || test ! -s conftest.err' | 
|---|
| 5250 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5251 |   (eval $ac_try) 2>&5 | 
|---|
| 5252 |   ac_status=$? | 
|---|
| 5253 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5254 |   (exit $ac_status); }; } && | 
|---|
| 5255 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5256 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5257 |   (eval $ac_try) 2>&5 | 
|---|
| 5258 |   ac_status=$? | 
|---|
| 5259 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5260 |   (exit $ac_status); }; }; then | 
|---|
| 5261 |   ac_header_compiler=yes | 
|---|
| 5262 | else | 
|---|
| 5263 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5264 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5265 |  | 
|---|
| 5266 | ac_header_compiler=no | 
|---|
| 5267 | fi | 
|---|
| 5268 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5269 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5270 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5271 |  | 
|---|
| 5272 | # Is the header present? | 
|---|
| 5273 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5274 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5275 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5276 | /* confdefs.h.  */ | 
|---|
| 5277 | _ACEOF | 
|---|
| 5278 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5279 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5280 | /* end confdefs.h.  */ | 
|---|
| 5281 | #include <$ac_header> | 
|---|
| 5282 | _ACEOF | 
|---|
| 5283 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5284 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5285 |   ac_status=$? | 
|---|
| 5286 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5287 |   rm -f conftest.er1 | 
|---|
| 5288 |   cat conftest.err >&5 | 
|---|
| 5289 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5290 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5291 |   if test -s conftest.err; then | 
|---|
| 5292 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5293 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5294 |   else | 
|---|
| 5295 |     ac_cpp_err= | 
|---|
| 5296 |   fi | 
|---|
| 5297 | else | 
|---|
| 5298 |   ac_cpp_err=yes | 
|---|
| 5299 | fi | 
|---|
| 5300 | if test -z "$ac_cpp_err"; then | 
|---|
| 5301 |   ac_header_preproc=yes | 
|---|
| 5302 | else | 
|---|
| 5303 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5304 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5305 |  | 
|---|
| 5306 |   ac_header_preproc=no | 
|---|
| 5307 | fi | 
|---|
| 5308 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5309 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5310 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5311 |  | 
|---|
| 5312 | # So?  What about this header? | 
|---|
| 5313 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5314 |   yes:no: ) | 
|---|
| 5315 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5316 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5317 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5318 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5319 |     ac_header_preproc=yes | 
|---|
| 5320 |     ;; | 
|---|
| 5321 |   no:yes:* ) | 
|---|
| 5322 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5323 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5324 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5325 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5326 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5327 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5328 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5329 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5330 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5331 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5332 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5333 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5334 |     ( | 
|---|
| 5335 |       cat <<\_ASBOX | 
|---|
| 5336 | ## ---------------------------------------------- ## | 
|---|
| 5337 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5338 | ## ---------------------------------------------- ## | 
|---|
| 5339 | _ASBOX | 
|---|
| 5340 |     ) | | 
|---|
| 5341 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5342 |     ;; | 
|---|
| 5343 | esac | 
|---|
| 5344 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5346 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5347 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5348 | else | 
|---|
| 5349 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5350 | fi | 
|---|
| 5351 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5352 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5353 |  | 
|---|
| 5354 | fi | 
|---|
| 5355 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5356 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5357 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5358 | _ACEOF | 
|---|
| 5359 |  | 
|---|
| 5360 | else | 
|---|
| 5361 |   { { echo "$as_me:$LINENO: error: cannot find openAL header." >&5 | 
|---|
| 5362 | echo "$as_me: error: cannot find openAL header." >&2;} | 
|---|
| 5363 |    { (exit 1); exit 1; }; } | 
|---|
| 5364 | fi | 
|---|
| 5365 |  | 
|---|
| 5366 | done | 
|---|
| 5367 |  | 
|---|
| 5368 | # checking for openAL-lib | 
|---|
| 5369 |   echo "$as_me:$LINENO: checking for main in -lOpenAL32" >&5 | 
|---|
| 5370 | echo $ECHO_N "checking for main in -lOpenAL32... $ECHO_C" >&6 | 
|---|
| 5371 | if test "${ac_cv_lib_OpenAL32_main+set}" = set; then | 
|---|
| 5372 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5373 | else | 
|---|
| 5374 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5375 | LIBS="-lOpenAL32  $LIBS" | 
|---|
| 5376 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5377 | /* confdefs.h.  */ | 
|---|
| 5378 | _ACEOF | 
|---|
| 5379 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5380 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5381 | /* end confdefs.h.  */ | 
|---|
| 5382 |  | 
|---|
| 5383 |  | 
|---|
| 5384 | int | 
|---|
| 5385 | main () | 
|---|
| 5386 | { | 
|---|
| 5387 | main (); | 
|---|
| 5388 |   ; | 
|---|
| 5389 |   return 0; | 
|---|
| 5390 | } | 
|---|
| 5391 | _ACEOF | 
|---|
| 5392 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5394 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5395 |   ac_status=$? | 
|---|
| 5396 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5397 |   rm -f conftest.er1 | 
|---|
| 5398 |   cat conftest.err >&5 | 
|---|
| 5399 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5400 |   (exit $ac_status); } && | 
|---|
| 5401 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5402 |                          || test ! -s conftest.err' | 
|---|
| 5403 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5404 |   (eval $ac_try) 2>&5 | 
|---|
| 5405 |   ac_status=$? | 
|---|
| 5406 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5407 |   (exit $ac_status); }; } && | 
|---|
| 5408 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5409 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5410 |   (eval $ac_try) 2>&5 | 
|---|
| 5411 |   ac_status=$? | 
|---|
| 5412 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5413 |   (exit $ac_status); }; }; then | 
|---|
| 5414 |   ac_cv_lib_OpenAL32_main=yes | 
|---|
| 5415 | else | 
|---|
| 5416 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5417 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5418 |  | 
|---|
| 5419 | ac_cv_lib_OpenAL32_main=no | 
|---|
| 5420 | fi | 
|---|
| 5421 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5422 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5423 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5424 | fi | 
|---|
| 5425 | echo "$as_me:$LINENO: result: $ac_cv_lib_OpenAL32_main" >&5 | 
|---|
| 5426 | echo "${ECHO_T}$ac_cv_lib_OpenAL32_main" >&6 | 
|---|
| 5427 | if test $ac_cv_lib_OpenAL32_main = yes; then | 
|---|
| 5428 |   FOUND_openal=yes | 
|---|
| 5429 | fi | 
|---|
| 5430 |  | 
|---|
| 5431 |   echo "$as_me:$LINENO: checking for main in -lALut" >&5 | 
|---|
| 5432 | echo $ECHO_N "checking for main in -lALut... $ECHO_C" >&6 | 
|---|
| 5433 | if test "${ac_cv_lib_ALut_main+set}" = set; then | 
|---|
| 5434 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5435 | else | 
|---|
| 5436 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5437 | LIBS="-lALut  $LIBS" | 
|---|
| 5438 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5439 | /* confdefs.h.  */ | 
|---|
| 5440 | _ACEOF | 
|---|
| 5441 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5442 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5443 | /* end confdefs.h.  */ | 
|---|
| 5444 |  | 
|---|
| 5445 |  | 
|---|
| 5446 | int | 
|---|
| 5447 | main () | 
|---|
| 5448 | { | 
|---|
| 5449 | main (); | 
|---|
| 5450 |   ; | 
|---|
| 5451 |   return 0; | 
|---|
| 5452 | } | 
|---|
| 5453 | _ACEOF | 
|---|
| 5454 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5455 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5456 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5457 |   ac_status=$? | 
|---|
| 5458 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5459 |   rm -f conftest.er1 | 
|---|
| 5460 |   cat conftest.err >&5 | 
|---|
| 5461 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5462 |   (exit $ac_status); } && | 
|---|
| 5463 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5464 |                          || test ! -s conftest.err' | 
|---|
| 5465 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5466 |   (eval $ac_try) 2>&5 | 
|---|
| 5467 |   ac_status=$? | 
|---|
| 5468 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5469 |   (exit $ac_status); }; } && | 
|---|
| 5470 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5471 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5472 |   (eval $ac_try) 2>&5 | 
|---|
| 5473 |   ac_status=$? | 
|---|
| 5474 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5475 |   (exit $ac_status); }; }; then | 
|---|
| 5476 |   ac_cv_lib_ALut_main=yes | 
|---|
| 5477 | else | 
|---|
| 5478 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5479 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5480 |  | 
|---|
| 5481 | ac_cv_lib_ALut_main=no | 
|---|
| 5482 | fi | 
|---|
| 5483 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5484 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5485 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5486 | fi | 
|---|
| 5487 | echo "$as_me:$LINENO: result: $ac_cv_lib_ALut_main" >&5 | 
|---|
| 5488 | echo "${ECHO_T}$ac_cv_lib_ALut_main" >&6 | 
|---|
| 5489 | if test $ac_cv_lib_ALut_main = yes; then | 
|---|
| 5490 |   FOUND_ALut=yes | 
|---|
| 5491 | fi | 
|---|
| 5492 |  | 
|---|
| 5493 |      if test x$FOUND_openal = xyes ; then | 
|---|
| 5494 |       if test x$FOUND_ALut = xyes ; then | 
|---|
| 5495 |        LIBS="$LIBS -lALut -lOpenAL32" | 
|---|
| 5496 |      else | 
|---|
| 5497 |         echo "------------------" | 
|---|
| 5498 |         echo "openal library not found." | 
|---|
| 5499 |         echo "please install the openal library, which can be found at http://www.openal.org" | 
|---|
| 5500 |         echo "------------------" | 
|---|
| 5501 |         exit -1 | 
|---|
| 5502 |       fi | 
|---|
| 5503 |      fi | 
|---|
| 5504 |     ;; | 
|---|
| 5505 | #-------# | 
|---|
| 5506 | # LINUX # | 
|---|
| 5507 | #-------# | 
|---|
| 5508 |  *-*-linux*) | 
|---|
| 5509 | echo "Linux detected" | 
|---|
| 5510 |  | 
|---|
| 5511 |  Linux="yes" | 
|---|
| 5512 |  | 
|---|
| 5513 | CPPFLAGS="-I/usr/X11R6/include -I/usr/include" | 
|---|
| 5514 | LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" | 
|---|
| 5515 | # checking gl header | 
|---|
| 5516 |  | 
|---|
| 5517 | for ac_header in GL/gl.h | 
|---|
| 5518 | do | 
|---|
| 5519 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5520 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5521 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5522 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5523 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5524 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5525 | fi | 
|---|
| 5526 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5527 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5528 | else | 
|---|
| 5529 |   # Is the header compilable? | 
|---|
| 5530 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5531 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5532 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5533 | /* confdefs.h.  */ | 
|---|
| 5534 | _ACEOF | 
|---|
| 5535 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5536 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5537 | /* end confdefs.h.  */ | 
|---|
| 5538 | $ac_includes_default | 
|---|
| 5539 | #include <$ac_header> | 
|---|
| 5540 | _ACEOF | 
|---|
| 5541 | rm -f conftest.$ac_objext | 
|---|
| 5542 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5543 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5544 |   ac_status=$? | 
|---|
| 5545 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5546 |   rm -f conftest.er1 | 
|---|
| 5547 |   cat conftest.err >&5 | 
|---|
| 5548 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5549 |   (exit $ac_status); } && | 
|---|
| 5550 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5551 |                          || test ! -s conftest.err' | 
|---|
| 5552 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5553 |   (eval $ac_try) 2>&5 | 
|---|
| 5554 |   ac_status=$? | 
|---|
| 5555 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5556 |   (exit $ac_status); }; } && | 
|---|
| 5557 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5558 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5559 |   (eval $ac_try) 2>&5 | 
|---|
| 5560 |   ac_status=$? | 
|---|
| 5561 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5562 |   (exit $ac_status); }; }; then | 
|---|
| 5563 |   ac_header_compiler=yes | 
|---|
| 5564 | else | 
|---|
| 5565 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5566 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5567 |  | 
|---|
| 5568 | ac_header_compiler=no | 
|---|
| 5569 | fi | 
|---|
| 5570 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5571 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5572 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5573 |  | 
|---|
| 5574 | # Is the header present? | 
|---|
| 5575 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5576 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5577 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5578 | /* confdefs.h.  */ | 
|---|
| 5579 | _ACEOF | 
|---|
| 5580 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5581 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5582 | /* end confdefs.h.  */ | 
|---|
| 5583 | #include <$ac_header> | 
|---|
| 5584 | _ACEOF | 
|---|
| 5585 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5586 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5587 |   ac_status=$? | 
|---|
| 5588 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5589 |   rm -f conftest.er1 | 
|---|
| 5590 |   cat conftest.err >&5 | 
|---|
| 5591 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5592 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5593 |   if test -s conftest.err; then | 
|---|
| 5594 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5595 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5596 |   else | 
|---|
| 5597 |     ac_cpp_err= | 
|---|
| 5598 |   fi | 
|---|
| 5599 | else | 
|---|
| 5600 |   ac_cpp_err=yes | 
|---|
| 5601 | fi | 
|---|
| 5602 | if test -z "$ac_cpp_err"; then | 
|---|
| 5603 |   ac_header_preproc=yes | 
|---|
| 5604 | else | 
|---|
| 5605 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5606 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5607 |  | 
|---|
| 5608 |   ac_header_preproc=no | 
|---|
| 5609 | fi | 
|---|
| 5610 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5611 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5612 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5613 |  | 
|---|
| 5614 | # So?  What about this header? | 
|---|
| 5615 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5616 |   yes:no: ) | 
|---|
| 5617 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5618 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5619 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5620 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5621 |     ac_header_preproc=yes | 
|---|
| 5622 |     ;; | 
|---|
| 5623 |   no:yes:* ) | 
|---|
| 5624 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5625 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5626 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5627 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5628 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5629 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5630 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5631 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5632 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5633 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5634 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5635 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5636 |     ( | 
|---|
| 5637 |       cat <<\_ASBOX | 
|---|
| 5638 | ## ---------------------------------------------- ## | 
|---|
| 5639 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5640 | ## ---------------------------------------------- ## | 
|---|
| 5641 | _ASBOX | 
|---|
| 5642 |     ) | | 
|---|
| 5643 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5644 |     ;; | 
|---|
| 5645 | esac | 
|---|
| 5646 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5647 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5648 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5649 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5650 | else | 
|---|
| 5651 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5652 | fi | 
|---|
| 5653 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5654 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5655 |  | 
|---|
| 5656 | fi | 
|---|
| 5657 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5658 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5659 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5660 | _ACEOF | 
|---|
| 5661 |  | 
|---|
| 5662 | else | 
|---|
| 5663 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5664 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5665 |    { (exit 1); exit 1; }; } | 
|---|
| 5666 | fi | 
|---|
| 5667 |  | 
|---|
| 5668 | done | 
|---|
| 5669 |  | 
|---|
| 5670 |  | 
|---|
| 5671 | #  checking for Unix GL | 
|---|
| 5672 |    echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5 | 
|---|
| 5673 | echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6 | 
|---|
| 5674 | if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then | 
|---|
| 5675 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5676 | else | 
|---|
| 5677 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5678 | LIBS="-lGL  $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 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 5687 | #ifdef __cplusplus | 
|---|
| 5688 | extern "C" | 
|---|
| 5689 | #endif | 
|---|
| 5690 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 5691 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 5692 | char glLoadIdentity (); | 
|---|
| 5693 | int | 
|---|
| 5694 | main () | 
|---|
| 5695 | { | 
|---|
| 5696 | glLoadIdentity (); | 
|---|
| 5697 |   ; | 
|---|
| 5698 |   return 0; | 
|---|
| 5699 | } | 
|---|
| 5700 | _ACEOF | 
|---|
| 5701 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5702 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5703 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5704 |   ac_status=$? | 
|---|
| 5705 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5706 |   rm -f conftest.er1 | 
|---|
| 5707 |   cat conftest.err >&5 | 
|---|
| 5708 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5709 |   (exit $ac_status); } && | 
|---|
| 5710 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5711 |                          || test ! -s conftest.err' | 
|---|
| 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); }; } && | 
|---|
| 5717 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5718 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5719 |   (eval $ac_try) 2>&5 | 
|---|
| 5720 |   ac_status=$? | 
|---|
| 5721 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5722 |   (exit $ac_status); }; }; then | 
|---|
| 5723 |   ac_cv_lib_GL_glLoadIdentity=yes | 
|---|
| 5724 | else | 
|---|
| 5725 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5726 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5727 |  | 
|---|
| 5728 | ac_cv_lib_GL_glLoadIdentity=no | 
|---|
| 5729 | fi | 
|---|
| 5730 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5731 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5732 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5733 | fi | 
|---|
| 5734 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5 | 
|---|
| 5735 | echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6 | 
|---|
| 5736 | if test $ac_cv_lib_GL_glLoadIdentity = yes; then | 
|---|
| 5737 |   FOUND_GL=yes | 
|---|
| 5738 | fi | 
|---|
| 5739 |  | 
|---|
| 5740 |    if test x$FOUND_GL = xyes ; then | 
|---|
| 5741 |      LIBS="$LIBS -lGL" | 
|---|
| 5742 |    else | 
|---|
| 5743 |          echo "------------------" | 
|---|
| 5744 |          echo "opengl not found." | 
|---|
| 5745 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 5746 |          echo "------------------" | 
|---|
| 5747 |          exit -1 | 
|---|
| 5748 |    fi | 
|---|
| 5749 |  | 
|---|
| 5750 | # cheking for GLU-header | 
|---|
| 5751 |  | 
|---|
| 5752 | for ac_header in GL/glu.h | 
|---|
| 5753 | do | 
|---|
| 5754 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5755 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5756 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5757 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5758 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5759 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5760 | fi | 
|---|
| 5761 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5762 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5763 | else | 
|---|
| 5764 |   # Is the header compilable? | 
|---|
| 5765 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5766 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5767 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5768 | /* confdefs.h.  */ | 
|---|
| 5769 | _ACEOF | 
|---|
| 5770 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5771 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5772 | /* end confdefs.h.  */ | 
|---|
| 5773 | $ac_includes_default | 
|---|
| 5774 | #include <$ac_header> | 
|---|
| 5775 | _ACEOF | 
|---|
| 5776 | rm -f conftest.$ac_objext | 
|---|
| 5777 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5778 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5779 |   ac_status=$? | 
|---|
| 5780 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5781 |   rm -f conftest.er1 | 
|---|
| 5782 |   cat conftest.err >&5 | 
|---|
| 5783 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5784 |   (exit $ac_status); } && | 
|---|
| 5785 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5786 |                          || test ! -s conftest.err' | 
|---|
| 5787 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5788 |   (eval $ac_try) 2>&5 | 
|---|
| 5789 |   ac_status=$? | 
|---|
| 5790 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5791 |   (exit $ac_status); }; } && | 
|---|
| 5792 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5793 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5794 |   (eval $ac_try) 2>&5 | 
|---|
| 5795 |   ac_status=$? | 
|---|
| 5796 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5797 |   (exit $ac_status); }; }; then | 
|---|
| 5798 |   ac_header_compiler=yes | 
|---|
| 5799 | else | 
|---|
| 5800 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5801 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5802 |  | 
|---|
| 5803 | ac_header_compiler=no | 
|---|
| 5804 | fi | 
|---|
| 5805 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5806 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5807 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5808 |  | 
|---|
| 5809 | # Is the header present? | 
|---|
| 5810 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5811 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5812 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5813 | /* confdefs.h.  */ | 
|---|
| 5814 | _ACEOF | 
|---|
| 5815 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5816 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5817 | /* end confdefs.h.  */ | 
|---|
| 5818 | #include <$ac_header> | 
|---|
| 5819 | _ACEOF | 
|---|
| 5820 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5821 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5822 |   ac_status=$? | 
|---|
| 5823 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5824 |   rm -f conftest.er1 | 
|---|
| 5825 |   cat conftest.err >&5 | 
|---|
| 5826 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5827 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5828 |   if test -s conftest.err; then | 
|---|
| 5829 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5830 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5831 |   else | 
|---|
| 5832 |     ac_cpp_err= | 
|---|
| 5833 |   fi | 
|---|
| 5834 | else | 
|---|
| 5835 |   ac_cpp_err=yes | 
|---|
| 5836 | fi | 
|---|
| 5837 | if test -z "$ac_cpp_err"; then | 
|---|
| 5838 |   ac_header_preproc=yes | 
|---|
| 5839 | else | 
|---|
| 5840 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5841 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5842 |  | 
|---|
| 5843 |   ac_header_preproc=no | 
|---|
| 5844 | fi | 
|---|
| 5845 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5846 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5847 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5848 |  | 
|---|
| 5849 | # So?  What about this header? | 
|---|
| 5850 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5851 |   yes:no: ) | 
|---|
| 5852 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5853 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5854 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5855 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5856 |     ac_header_preproc=yes | 
|---|
| 5857 |     ;; | 
|---|
| 5858 |   no:yes:* ) | 
|---|
| 5859 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5860 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5861 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5862 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5863 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5864 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5865 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5866 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5867 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5868 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5869 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5870 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5871 |     ( | 
|---|
| 5872 |       cat <<\_ASBOX | 
|---|
| 5873 | ## ---------------------------------------------- ## | 
|---|
| 5874 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5875 | ## ---------------------------------------------- ## | 
|---|
| 5876 | _ASBOX | 
|---|
| 5877 |     ) | | 
|---|
| 5878 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5879 |     ;; | 
|---|
| 5880 | esac | 
|---|
| 5881 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5882 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5883 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5884 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5885 | else | 
|---|
| 5886 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5887 | fi | 
|---|
| 5888 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5889 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5890 |  | 
|---|
| 5891 | fi | 
|---|
| 5892 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5893 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5894 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5895 | _ACEOF | 
|---|
| 5896 |  | 
|---|
| 5897 | else | 
|---|
| 5898 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5899 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5900 |    { (exit 1); exit 1; }; } | 
|---|
| 5901 | fi | 
|---|
| 5902 |  | 
|---|
| 5903 | done | 
|---|
| 5904 |  | 
|---|
| 5905 |  | 
|---|
| 5906 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
| 5907 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
| 5908 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
| 5909 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5910 | else | 
|---|
| 5911 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5912 | LIBS="-lGLU  $LIBS" | 
|---|
| 5913 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5914 | /* confdefs.h.  */ | 
|---|
| 5915 | _ACEOF | 
|---|
| 5916 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5917 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5918 | /* end confdefs.h.  */ | 
|---|
| 5919 |  | 
|---|
| 5920 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 5921 | #ifdef __cplusplus | 
|---|
| 5922 | extern "C" | 
|---|
| 5923 | #endif | 
|---|
| 5924 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 5925 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 5926 | char gluProject (); | 
|---|
| 5927 | int | 
|---|
| 5928 | main () | 
|---|
| 5929 | { | 
|---|
| 5930 | gluProject (); | 
|---|
| 5931 |   ; | 
|---|
| 5932 |   return 0; | 
|---|
| 5933 | } | 
|---|
| 5934 | _ACEOF | 
|---|
| 5935 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5936 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5937 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5938 |   ac_status=$? | 
|---|
| 5939 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5940 |   rm -f conftest.er1 | 
|---|
| 5941 |   cat conftest.err >&5 | 
|---|
| 5942 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5943 |   (exit $ac_status); } && | 
|---|
| 5944 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5945 |                          || test ! -s conftest.err' | 
|---|
| 5946 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5947 |   (eval $ac_try) 2>&5 | 
|---|
| 5948 |   ac_status=$? | 
|---|
| 5949 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5950 |   (exit $ac_status); }; } && | 
|---|
| 5951 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5952 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5953 |   (eval $ac_try) 2>&5 | 
|---|
| 5954 |   ac_status=$? | 
|---|
| 5955 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5956 |   (exit $ac_status); }; }; then | 
|---|
| 5957 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| 5958 | else | 
|---|
| 5959 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5960 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5961 |  | 
|---|
| 5962 | ac_cv_lib_GLU_gluProject=no | 
|---|
| 5963 | fi | 
|---|
| 5964 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5965 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5966 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5967 | fi | 
|---|
| 5968 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
| 5969 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
| 5970 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
| 5971 |   FOUND_GLU=yes | 
|---|
| 5972 | fi | 
|---|
| 5973 |  | 
|---|
| 5974 |     if test x$FOUND_GLU = xyes ; then | 
|---|
| 5975 |       LIBS="$LIBS -lGLU" | 
|---|
| 5976 |     else | 
|---|
| 5977 |          echo "------------------" | 
|---|
| 5978 |          echo "GLU library not found." | 
|---|
| 5979 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 5980 |          echo "------------------" | 
|---|
| 5981 |          exit -1 | 
|---|
| 5982 |     fi | 
|---|
| 5983 |  | 
|---|
| 5984 | #--------# | 
|---|
| 5985 | # openAL # | 
|---|
| 5986 | #--------# | 
|---|
| 5987 | # checking for openAL-headers | 
|---|
| 5988 |  | 
|---|
| 5989 | for ac_header in AL/al.h | 
|---|
| 5990 | do | 
|---|
| 5991 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5992 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5993 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5994 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5995 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5996 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5997 | fi | 
|---|
| 5998 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5999 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6000 | else | 
|---|
| 6001 |   # Is the header compilable? | 
|---|
| 6002 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6003 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6004 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6005 | /* confdefs.h.  */ | 
|---|
| 6006 | _ACEOF | 
|---|
| 6007 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6008 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6009 | /* end confdefs.h.  */ | 
|---|
| 6010 | $ac_includes_default | 
|---|
| 6011 | #include <$ac_header> | 
|---|
| 6012 | _ACEOF | 
|---|
| 6013 | rm -f conftest.$ac_objext | 
|---|
| 6014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6015 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6016 |   ac_status=$? | 
|---|
| 6017 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6018 |   rm -f conftest.er1 | 
|---|
| 6019 |   cat conftest.err >&5 | 
|---|
| 6020 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6021 |   (exit $ac_status); } && | 
|---|
| 6022 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6023 |                          || test ! -s conftest.err' | 
|---|
| 6024 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6025 |   (eval $ac_try) 2>&5 | 
|---|
| 6026 |   ac_status=$? | 
|---|
| 6027 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6028 |   (exit $ac_status); }; } && | 
|---|
| 6029 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6030 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6031 |   (eval $ac_try) 2>&5 | 
|---|
| 6032 |   ac_status=$? | 
|---|
| 6033 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6034 |   (exit $ac_status); }; }; then | 
|---|
| 6035 |   ac_header_compiler=yes | 
|---|
| 6036 | else | 
|---|
| 6037 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6038 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6039 |  | 
|---|
| 6040 | ac_header_compiler=no | 
|---|
| 6041 | fi | 
|---|
| 6042 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6043 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6044 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6045 |  | 
|---|
| 6046 | # Is the header present? | 
|---|
| 6047 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6048 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6049 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6050 | /* confdefs.h.  */ | 
|---|
| 6051 | _ACEOF | 
|---|
| 6052 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6053 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6054 | /* end confdefs.h.  */ | 
|---|
| 6055 | #include <$ac_header> | 
|---|
| 6056 | _ACEOF | 
|---|
| 6057 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6058 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6059 |   ac_status=$? | 
|---|
| 6060 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6061 |   rm -f conftest.er1 | 
|---|
| 6062 |   cat conftest.err >&5 | 
|---|
| 6063 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6064 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6065 |   if test -s conftest.err; then | 
|---|
| 6066 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6067 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6068 |   else | 
|---|
| 6069 |     ac_cpp_err= | 
|---|
| 6070 |   fi | 
|---|
| 6071 | else | 
|---|
| 6072 |   ac_cpp_err=yes | 
|---|
| 6073 | fi | 
|---|
| 6074 | if test -z "$ac_cpp_err"; then | 
|---|
| 6075 |   ac_header_preproc=yes | 
|---|
| 6076 | else | 
|---|
| 6077 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6078 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6079 |  | 
|---|
| 6080 |   ac_header_preproc=no | 
|---|
| 6081 | fi | 
|---|
| 6082 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6083 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6084 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6085 |  | 
|---|
| 6086 | # So?  What about this header? | 
|---|
| 6087 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6088 |   yes:no: ) | 
|---|
| 6089 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6090 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6091 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6092 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6093 |     ac_header_preproc=yes | 
|---|
| 6094 |     ;; | 
|---|
| 6095 |   no:yes:* ) | 
|---|
| 6096 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6097 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6098 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6099 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6100 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6101 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6102 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6103 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6104 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6105 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6106 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6107 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6108 |     ( | 
|---|
| 6109 |       cat <<\_ASBOX | 
|---|
| 6110 | ## ---------------------------------------------- ## | 
|---|
| 6111 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6112 | ## ---------------------------------------------- ## | 
|---|
| 6113 | _ASBOX | 
|---|
| 6114 |     ) | | 
|---|
| 6115 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6116 |     ;; | 
|---|
| 6117 | esac | 
|---|
| 6118 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6119 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6120 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6121 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6122 | else | 
|---|
| 6123 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6124 | fi | 
|---|
| 6125 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6126 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6127 |  | 
|---|
| 6128 | fi | 
|---|
| 6129 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6130 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6131 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6132 | _ACEOF | 
|---|
| 6133 |  | 
|---|
| 6134 | else | 
|---|
| 6135 |   { { echo "$as_me:$LINENO: error: cannot find openAL header." >&5 | 
|---|
| 6136 | echo "$as_me: error: cannot find openAL header." >&2;} | 
|---|
| 6137 |    { (exit 1); exit 1; }; } | 
|---|
| 6138 | fi | 
|---|
| 6139 |  | 
|---|
| 6140 | done | 
|---|
| 6141 |  | 
|---|
| 6142 | # checking for openAL-lib | 
|---|
| 6143 |   echo "$as_me:$LINENO: checking for main in -lopenal" >&5 | 
|---|
| 6144 | echo $ECHO_N "checking for main in -lopenal... $ECHO_C" >&6 | 
|---|
| 6145 | if test "${ac_cv_lib_openal_main+set}" = set; then | 
|---|
| 6146 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6147 | else | 
|---|
| 6148 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6149 | LIBS="-lopenal  $LIBS" | 
|---|
| 6150 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6151 | /* confdefs.h.  */ | 
|---|
| 6152 | _ACEOF | 
|---|
| 6153 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6154 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6155 | /* end confdefs.h.  */ | 
|---|
| 6156 |  | 
|---|
| 6157 |  | 
|---|
| 6158 | int | 
|---|
| 6159 | main () | 
|---|
| 6160 | { | 
|---|
| 6161 | main (); | 
|---|
| 6162 |   ; | 
|---|
| 6163 |   return 0; | 
|---|
| 6164 | } | 
|---|
| 6165 | _ACEOF | 
|---|
| 6166 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6167 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6168 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6169 |   ac_status=$? | 
|---|
| 6170 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6171 |   rm -f conftest.er1 | 
|---|
| 6172 |   cat conftest.err >&5 | 
|---|
| 6173 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6174 |   (exit $ac_status); } && | 
|---|
| 6175 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6176 |                          || test ! -s conftest.err' | 
|---|
| 6177 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6178 |   (eval $ac_try) 2>&5 | 
|---|
| 6179 |   ac_status=$? | 
|---|
| 6180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6181 |   (exit $ac_status); }; } && | 
|---|
| 6182 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6183 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6184 |   (eval $ac_try) 2>&5 | 
|---|
| 6185 |   ac_status=$? | 
|---|
| 6186 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6187 |   (exit $ac_status); }; }; then | 
|---|
| 6188 |   ac_cv_lib_openal_main=yes | 
|---|
| 6189 | else | 
|---|
| 6190 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6191 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6192 |  | 
|---|
| 6193 | ac_cv_lib_openal_main=no | 
|---|
| 6194 | fi | 
|---|
| 6195 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6196 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6197 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6198 | fi | 
|---|
| 6199 | echo "$as_me:$LINENO: result: $ac_cv_lib_openal_main" >&5 | 
|---|
| 6200 | echo "${ECHO_T}$ac_cv_lib_openal_main" >&6 | 
|---|
| 6201 | if test $ac_cv_lib_openal_main = yes; then | 
|---|
| 6202 |   FOUND_openal=yes | 
|---|
| 6203 | fi | 
|---|
| 6204 |  | 
|---|
| 6205 |      if test x$FOUND_openal = xyes ; then | 
|---|
| 6206 |        LIBS="$LIBS -lopenal" | 
|---|
| 6207 |      else | 
|---|
| 6208 |         echo "------------------" | 
|---|
| 6209 |         echo "openal library not found." | 
|---|
| 6210 |         echo "please install the openal library, which can be found at http://www.openal.org" | 
|---|
| 6211 |         echo "------------------" | 
|---|
| 6212 |         exit -1 | 
|---|
| 6213 |      fi | 
|---|
| 6214 |  | 
|---|
| 6215 | # checking for SDL | 
|---|
| 6216 |   echo "$as_me:$LINENO: checking for SDL-version" >&5 | 
|---|
| 6217 | echo $ECHO_N "checking for SDL-version... $ECHO_C" >&6 | 
|---|
| 6218 |   SDL_VERSION=`sdl-config --version` | 
|---|
| 6219 |   echo $SDL_VERSION | 
|---|
| 6220 |  | 
|---|
| 6221 |    CPPFLAGS="`sdl-config --cflags` $CPPFLAGS" | 
|---|
| 6222 |  | 
|---|
| 6223 | for ac_header in SDL.h | 
|---|
| 6224 | do | 
|---|
| 6225 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6226 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6227 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6228 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6229 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6230 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6231 | fi | 
|---|
| 6232 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6233 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6234 | else | 
|---|
| 6235 |   # Is the header compilable? | 
|---|
| 6236 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6237 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6238 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6239 | /* confdefs.h.  */ | 
|---|
| 6240 | _ACEOF | 
|---|
| 6241 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6242 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6243 | /* end confdefs.h.  */ | 
|---|
| 6244 | $ac_includes_default | 
|---|
| 6245 | #include <$ac_header> | 
|---|
| 6246 | _ACEOF | 
|---|
| 6247 | rm -f conftest.$ac_objext | 
|---|
| 6248 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6249 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6250 |   ac_status=$? | 
|---|
| 6251 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6252 |   rm -f conftest.er1 | 
|---|
| 6253 |   cat conftest.err >&5 | 
|---|
| 6254 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6255 |   (exit $ac_status); } && | 
|---|
| 6256 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6257 |                          || test ! -s conftest.err' | 
|---|
| 6258 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6259 |   (eval $ac_try) 2>&5 | 
|---|
| 6260 |   ac_status=$? | 
|---|
| 6261 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6262 |   (exit $ac_status); }; } && | 
|---|
| 6263 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6264 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6265 |   (eval $ac_try) 2>&5 | 
|---|
| 6266 |   ac_status=$? | 
|---|
| 6267 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6268 |   (exit $ac_status); }; }; then | 
|---|
| 6269 |   ac_header_compiler=yes | 
|---|
| 6270 | else | 
|---|
| 6271 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6272 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6273 |  | 
|---|
| 6274 | ac_header_compiler=no | 
|---|
| 6275 | fi | 
|---|
| 6276 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6277 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6278 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6279 |  | 
|---|
| 6280 | # Is the header present? | 
|---|
| 6281 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6282 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6283 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6284 | /* confdefs.h.  */ | 
|---|
| 6285 | _ACEOF | 
|---|
| 6286 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6287 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6288 | /* end confdefs.h.  */ | 
|---|
| 6289 | #include <$ac_header> | 
|---|
| 6290 | _ACEOF | 
|---|
| 6291 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6292 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6293 |   ac_status=$? | 
|---|
| 6294 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6295 |   rm -f conftest.er1 | 
|---|
| 6296 |   cat conftest.err >&5 | 
|---|
| 6297 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6298 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6299 |   if test -s conftest.err; then | 
|---|
| 6300 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6301 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6302 |   else | 
|---|
| 6303 |     ac_cpp_err= | 
|---|
| 6304 |   fi | 
|---|
| 6305 | else | 
|---|
| 6306 |   ac_cpp_err=yes | 
|---|
| 6307 | fi | 
|---|
| 6308 | if test -z "$ac_cpp_err"; then | 
|---|
| 6309 |   ac_header_preproc=yes | 
|---|
| 6310 | else | 
|---|
| 6311 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6312 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6313 |  | 
|---|
| 6314 |   ac_header_preproc=no | 
|---|
| 6315 | fi | 
|---|
| 6316 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6317 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6318 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6319 |  | 
|---|
| 6320 | # So?  What about this header? | 
|---|
| 6321 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6322 |   yes:no: ) | 
|---|
| 6323 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6324 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6325 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6326 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6327 |     ac_header_preproc=yes | 
|---|
| 6328 |     ;; | 
|---|
| 6329 |   no:yes:* ) | 
|---|
| 6330 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6331 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6332 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6333 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6334 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6335 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6336 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6337 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6338 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6339 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6340 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6341 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6342 |     ( | 
|---|
| 6343 |       cat <<\_ASBOX | 
|---|
| 6344 | ## ---------------------------------------------- ## | 
|---|
| 6345 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6346 | ## ---------------------------------------------- ## | 
|---|
| 6347 | _ASBOX | 
|---|
| 6348 |     ) | | 
|---|
| 6349 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6350 |     ;; | 
|---|
| 6351 | esac | 
|---|
| 6352 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6353 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6354 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6355 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6356 | else | 
|---|
| 6357 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6358 | fi | 
|---|
| 6359 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6360 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6361 |  | 
|---|
| 6362 | fi | 
|---|
| 6363 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6364 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6365 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6366 | _ACEOF | 
|---|
| 6367 |  | 
|---|
| 6368 | else | 
|---|
| 6369 |  | 
|---|
| 6370 | for ac_header in SDL/SDL.h | 
|---|
| 6371 | do | 
|---|
| 6372 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6373 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6374 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6375 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6376 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6377 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6378 | fi | 
|---|
| 6379 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6380 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6381 | else | 
|---|
| 6382 |   # Is the header compilable? | 
|---|
| 6383 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6384 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6385 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6386 | /* confdefs.h.  */ | 
|---|
| 6387 | _ACEOF | 
|---|
| 6388 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6389 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6390 | /* end confdefs.h.  */ | 
|---|
| 6391 | $ac_includes_default | 
|---|
| 6392 | #include <$ac_header> | 
|---|
| 6393 | _ACEOF | 
|---|
| 6394 | rm -f conftest.$ac_objext | 
|---|
| 6395 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6396 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6397 |   ac_status=$? | 
|---|
| 6398 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6399 |   rm -f conftest.er1 | 
|---|
| 6400 |   cat conftest.err >&5 | 
|---|
| 6401 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6402 |   (exit $ac_status); } && | 
|---|
| 6403 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6404 |                          || test ! -s conftest.err' | 
|---|
| 6405 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6406 |   (eval $ac_try) 2>&5 | 
|---|
| 6407 |   ac_status=$? | 
|---|
| 6408 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6409 |   (exit $ac_status); }; } && | 
|---|
| 6410 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6411 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6412 |   (eval $ac_try) 2>&5 | 
|---|
| 6413 |   ac_status=$? | 
|---|
| 6414 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6415 |   (exit $ac_status); }; }; then | 
|---|
| 6416 |   ac_header_compiler=yes | 
|---|
| 6417 | else | 
|---|
| 6418 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6419 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6420 |  | 
|---|
| 6421 | ac_header_compiler=no | 
|---|
| 6422 | fi | 
|---|
| 6423 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6424 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6425 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6426 |  | 
|---|
| 6427 | # Is the header present? | 
|---|
| 6428 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6429 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6430 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6431 | /* confdefs.h.  */ | 
|---|
| 6432 | _ACEOF | 
|---|
| 6433 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6434 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6435 | /* end confdefs.h.  */ | 
|---|
| 6436 | #include <$ac_header> | 
|---|
| 6437 | _ACEOF | 
|---|
| 6438 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6439 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6440 |   ac_status=$? | 
|---|
| 6441 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6442 |   rm -f conftest.er1 | 
|---|
| 6443 |   cat conftest.err >&5 | 
|---|
| 6444 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6445 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6446 |   if test -s conftest.err; then | 
|---|
| 6447 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6448 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6449 |   else | 
|---|
| 6450 |     ac_cpp_err= | 
|---|
| 6451 |   fi | 
|---|
| 6452 | else | 
|---|
| 6453 |   ac_cpp_err=yes | 
|---|
| 6454 | fi | 
|---|
| 6455 | if test -z "$ac_cpp_err"; then | 
|---|
| 6456 |   ac_header_preproc=yes | 
|---|
| 6457 | else | 
|---|
| 6458 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6459 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6460 |  | 
|---|
| 6461 |   ac_header_preproc=no | 
|---|
| 6462 | fi | 
|---|
| 6463 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6464 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6465 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6466 |  | 
|---|
| 6467 | # So?  What about this header? | 
|---|
| 6468 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6469 |   yes:no: ) | 
|---|
| 6470 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6471 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6472 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6473 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6474 |     ac_header_preproc=yes | 
|---|
| 6475 |     ;; | 
|---|
| 6476 |   no:yes:* ) | 
|---|
| 6477 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6478 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6479 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6480 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6481 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6482 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6483 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6484 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6485 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6486 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6487 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6488 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6489 |     ( | 
|---|
| 6490 |       cat <<\_ASBOX | 
|---|
| 6491 | ## ---------------------------------------------- ## | 
|---|
| 6492 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6493 | ## ---------------------------------------------- ## | 
|---|
| 6494 | _ASBOX | 
|---|
| 6495 |     ) | | 
|---|
| 6496 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6497 |     ;; | 
|---|
| 6498 | esac | 
|---|
| 6499 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6500 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6501 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6502 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6503 | else | 
|---|
| 6504 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6505 | fi | 
|---|
| 6506 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6507 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6508 |  | 
|---|
| 6509 | fi | 
|---|
| 6510 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6511 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6512 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6513 | _ACEOF | 
|---|
| 6514 |  | 
|---|
| 6515 | else | 
|---|
| 6516 |   { { echo "$as_me:$LINENO: error: cannot find SDL header. please download from libsdl.org" >&5 | 
|---|
| 6517 | echo "$as_me: error: cannot find SDL header. please download from libsdl.org" >&2;} | 
|---|
| 6518 |    { (exit 1); exit 1; }; } | 
|---|
| 6519 | fi | 
|---|
| 6520 |  | 
|---|
| 6521 | done | 
|---|
| 6522 |  | 
|---|
| 6523 | fi | 
|---|
| 6524 |  | 
|---|
| 6525 | done | 
|---|
| 6526 |  | 
|---|
| 6527 |  | 
|---|
| 6528 |    LIBS="`sdl-config --libs` $LIBS" | 
|---|
| 6529 |     ;; | 
|---|
| 6530 |  | 
|---|
| 6531 | #-----------# | 
|---|
| 6532 | # MAC -OS X # | 
|---|
| 6533 | #-----------# | 
|---|
| 6534 |  *darwin*) | 
|---|
| 6535 |  echo "OS X detected" | 
|---|
| 6536 |  | 
|---|
| 6537 |  osX="yes" | 
|---|
| 6538 |  | 
|---|
| 6539 |  CPPFLAGS="-I/sw/include -I/sw/include $CPPFLAGS" | 
|---|
| 6540 | # checking gl header | 
|---|
| 6541 |  | 
|---|
| 6542 | for ac_header in OpenGL/gl.h | 
|---|
| 6543 | do | 
|---|
| 6544 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6545 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6546 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6547 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6548 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6549 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6550 | fi | 
|---|
| 6551 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6552 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6553 | else | 
|---|
| 6554 |   # Is the header compilable? | 
|---|
| 6555 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6556 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6557 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6558 | /* confdefs.h.  */ | 
|---|
| 6559 | _ACEOF | 
|---|
| 6560 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6561 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6562 | /* end confdefs.h.  */ | 
|---|
| 6563 | $ac_includes_default | 
|---|
| 6564 | #include <$ac_header> | 
|---|
| 6565 | _ACEOF | 
|---|
| 6566 | rm -f conftest.$ac_objext | 
|---|
| 6567 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6568 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6569 |   ac_status=$? | 
|---|
| 6570 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6571 |   rm -f conftest.er1 | 
|---|
| 6572 |   cat conftest.err >&5 | 
|---|
| 6573 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6574 |   (exit $ac_status); } && | 
|---|
| 6575 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6576 |                          || test ! -s conftest.err' | 
|---|
| 6577 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6578 |   (eval $ac_try) 2>&5 | 
|---|
| 6579 |   ac_status=$? | 
|---|
| 6580 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6581 |   (exit $ac_status); }; } && | 
|---|
| 6582 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6583 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6584 |   (eval $ac_try) 2>&5 | 
|---|
| 6585 |   ac_status=$? | 
|---|
| 6586 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6587 |   (exit $ac_status); }; }; then | 
|---|
| 6588 |   ac_header_compiler=yes | 
|---|
| 6589 | else | 
|---|
| 6590 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6591 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6592 |  | 
|---|
| 6593 | ac_header_compiler=no | 
|---|
| 6594 | fi | 
|---|
| 6595 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6596 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6597 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6598 |  | 
|---|
| 6599 | # Is the header present? | 
|---|
| 6600 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6601 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6602 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6603 | /* confdefs.h.  */ | 
|---|
| 6604 | _ACEOF | 
|---|
| 6605 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6606 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6607 | /* end confdefs.h.  */ | 
|---|
| 6608 | #include <$ac_header> | 
|---|
| 6609 | _ACEOF | 
|---|
| 6610 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6611 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6612 |   ac_status=$? | 
|---|
| 6613 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6614 |   rm -f conftest.er1 | 
|---|
| 6615 |   cat conftest.err >&5 | 
|---|
| 6616 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6617 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6618 |   if test -s conftest.err; then | 
|---|
| 6619 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6620 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6621 |   else | 
|---|
| 6622 |     ac_cpp_err= | 
|---|
| 6623 |   fi | 
|---|
| 6624 | else | 
|---|
| 6625 |   ac_cpp_err=yes | 
|---|
| 6626 | fi | 
|---|
| 6627 | if test -z "$ac_cpp_err"; then | 
|---|
| 6628 |   ac_header_preproc=yes | 
|---|
| 6629 | else | 
|---|
| 6630 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6631 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6632 |  | 
|---|
| 6633 |   ac_header_preproc=no | 
|---|
| 6634 | fi | 
|---|
| 6635 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6636 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6637 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6638 |  | 
|---|
| 6639 | # So?  What about this header? | 
|---|
| 6640 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6641 |   yes:no: ) | 
|---|
| 6642 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6643 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6644 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6645 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6646 |     ac_header_preproc=yes | 
|---|
| 6647 |     ;; | 
|---|
| 6648 |   no:yes:* ) | 
|---|
| 6649 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6650 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6651 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6652 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6653 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6654 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6655 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6656 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6657 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6658 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6659 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6660 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6661 |     ( | 
|---|
| 6662 |       cat <<\_ASBOX | 
|---|
| 6663 | ## ---------------------------------------------- ## | 
|---|
| 6664 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6665 | ## ---------------------------------------------- ## | 
|---|
| 6666 | _ASBOX | 
|---|
| 6667 |     ) | | 
|---|
| 6668 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6669 |     ;; | 
|---|
| 6670 | esac | 
|---|
| 6671 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6672 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6673 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6674 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6675 | else | 
|---|
| 6676 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6677 | fi | 
|---|
| 6678 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6679 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6680 |  | 
|---|
| 6681 | fi | 
|---|
| 6682 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6683 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6684 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6685 | _ACEOF | 
|---|
| 6686 |  | 
|---|
| 6687 | else | 
|---|
| 6688 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 6689 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 6690 |    { (exit 1); exit 1; }; } | 
|---|
| 6691 | fi | 
|---|
| 6692 |  | 
|---|
| 6693 | done | 
|---|
| 6694 |  | 
|---|
| 6695 | # cheking for GLU-header | 
|---|
| 6696 |  | 
|---|
| 6697 | for ac_header in OpenGL/glu.h | 
|---|
| 6698 | do | 
|---|
| 6699 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6700 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6701 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6702 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6703 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6704 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6705 | fi | 
|---|
| 6706 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6707 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6708 | else | 
|---|
| 6709 |   # Is the header compilable? | 
|---|
| 6710 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6711 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6712 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6713 | /* confdefs.h.  */ | 
|---|
| 6714 | _ACEOF | 
|---|
| 6715 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6716 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6717 | /* end confdefs.h.  */ | 
|---|
| 6718 | $ac_includes_default | 
|---|
| 6719 | #include <$ac_header> | 
|---|
| 6720 | _ACEOF | 
|---|
| 6721 | rm -f conftest.$ac_objext | 
|---|
| 6722 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6723 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6724 |   ac_status=$? | 
|---|
| 6725 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6726 |   rm -f conftest.er1 | 
|---|
| 6727 |   cat conftest.err >&5 | 
|---|
| 6728 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6729 |   (exit $ac_status); } && | 
|---|
| 6730 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6731 |                          || test ! -s conftest.err' | 
|---|
| 6732 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6733 |   (eval $ac_try) 2>&5 | 
|---|
| 6734 |   ac_status=$? | 
|---|
| 6735 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6736 |   (exit $ac_status); }; } && | 
|---|
| 6737 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6738 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6739 |   (eval $ac_try) 2>&5 | 
|---|
| 6740 |   ac_status=$? | 
|---|
| 6741 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6742 |   (exit $ac_status); }; }; then | 
|---|
| 6743 |   ac_header_compiler=yes | 
|---|
| 6744 | else | 
|---|
| 6745 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6746 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6747 |  | 
|---|
| 6748 | ac_header_compiler=no | 
|---|
| 6749 | fi | 
|---|
| 6750 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6751 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6752 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6753 |  | 
|---|
| 6754 | # Is the header present? | 
|---|
| 6755 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6756 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6757 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6758 | /* confdefs.h.  */ | 
|---|
| 6759 | _ACEOF | 
|---|
| 6760 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6761 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6762 | /* end confdefs.h.  */ | 
|---|
| 6763 | #include <$ac_header> | 
|---|
| 6764 | _ACEOF | 
|---|
| 6765 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6766 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6767 |   ac_status=$? | 
|---|
| 6768 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6769 |   rm -f conftest.er1 | 
|---|
| 6770 |   cat conftest.err >&5 | 
|---|
| 6771 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6772 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6773 |   if test -s conftest.err; then | 
|---|
| 6774 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6775 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6776 |   else | 
|---|
| 6777 |     ac_cpp_err= | 
|---|
| 6778 |   fi | 
|---|
| 6779 | else | 
|---|
| 6780 |   ac_cpp_err=yes | 
|---|
| 6781 | fi | 
|---|
| 6782 | if test -z "$ac_cpp_err"; then | 
|---|
| 6783 |   ac_header_preproc=yes | 
|---|
| 6784 | else | 
|---|
| 6785 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6786 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6787 |  | 
|---|
| 6788 |   ac_header_preproc=no | 
|---|
| 6789 | fi | 
|---|
| 6790 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6791 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6792 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6793 |  | 
|---|
| 6794 | # So?  What about this header? | 
|---|
| 6795 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6796 |   yes:no: ) | 
|---|
| 6797 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6798 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6799 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6800 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6801 |     ac_header_preproc=yes | 
|---|
| 6802 |     ;; | 
|---|
| 6803 |   no:yes:* ) | 
|---|
| 6804 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6805 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6806 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6807 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6808 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6809 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6810 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6811 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6812 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6813 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6814 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6815 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6816 |     ( | 
|---|
| 6817 |       cat <<\_ASBOX | 
|---|
| 6818 | ## ---------------------------------------------- ## | 
|---|
| 6819 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6820 | ## ---------------------------------------------- ## | 
|---|
| 6821 | _ASBOX | 
|---|
| 6822 |     ) | | 
|---|
| 6823 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6824 |     ;; | 
|---|
| 6825 | esac | 
|---|
| 6826 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6827 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6828 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6829 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6830 | else | 
|---|
| 6831 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6832 | fi | 
|---|
| 6833 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6834 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6835 |  | 
|---|
| 6836 | fi | 
|---|
| 6837 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6838 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6839 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6840 | _ACEOF | 
|---|
| 6841 |  | 
|---|
| 6842 | else | 
|---|
| 6843 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 6844 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 6845 |    { (exit 1); exit 1; }; } | 
|---|
| 6846 | fi | 
|---|
| 6847 |  | 
|---|
| 6848 | done | 
|---|
| 6849 |  | 
|---|
| 6850 |  | 
|---|
| 6851 |    LIBS="$LIBS -framework OpenGL" | 
|---|
| 6852 |  | 
|---|
| 6853 |  | 
|---|
| 6854 | ## SDL-check | 
|---|
| 6855 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
| 6856 |        SDL_LIBS=`sdl-config --libs` | 
|---|
| 6857 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 6858 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
| 6859 |  | 
|---|
| 6860 |  | 
|---|
| 6861 | # checking for SDL-headers | 
|---|
| 6862 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
| 6863 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| 6864 |  | 
|---|
| 6865 | ## checking for SDL | 
|---|
| 6866 | #    SDL_VERSION=1.2.7 | 
|---|
| 6867 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 6868 | #      :, | 
|---|
| 6869 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 6870 | #      ) | 
|---|
| 6871 |  | 
|---|
| 6872 |  | 
|---|
| 6873 |     ;; | 
|---|
| 6874 |  | 
|---|
| 6875 |   *) | 
|---|
| 6876 |     ;; | 
|---|
| 6877 | esac | 
|---|
| 6878 |  | 
|---|
| 6879 |  | 
|---|
| 6880 |  | 
|---|
| 6881 | ################################### | 
|---|
| 6882 | ## CHECKING FOR HEADERS AND LIBS ## | 
|---|
| 6883 | ################################### | 
|---|
| 6884 |  | 
|---|
| 6885 | #---------# | 
|---|
| 6886 | # SDL_ttf # | 
|---|
| 6887 | #---------# | 
|---|
| 6888 | # checking for SDL_ttf-headers | 
|---|
| 6889 |  | 
|---|
| 6890 | for ac_header in SDL_ttf.h | 
|---|
| 6891 | do | 
|---|
| 6892 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6894 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6895 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6896 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6897 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6898 | fi | 
|---|
| 6899 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6900 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6901 | else | 
|---|
| 6902 |   # Is the header compilable? | 
|---|
| 6903 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6904 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6905 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6906 | /* confdefs.h.  */ | 
|---|
| 6907 | _ACEOF | 
|---|
| 6908 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6909 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6910 | /* end confdefs.h.  */ | 
|---|
| 6911 | $ac_includes_default | 
|---|
| 6912 | #include <$ac_header> | 
|---|
| 6913 | _ACEOF | 
|---|
| 6914 | rm -f conftest.$ac_objext | 
|---|
| 6915 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6916 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6917 |   ac_status=$? | 
|---|
| 6918 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6919 |   rm -f conftest.er1 | 
|---|
| 6920 |   cat conftest.err >&5 | 
|---|
| 6921 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6922 |   (exit $ac_status); } && | 
|---|
| 6923 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6924 |                          || test ! -s conftest.err' | 
|---|
| 6925 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6926 |   (eval $ac_try) 2>&5 | 
|---|
| 6927 |   ac_status=$? | 
|---|
| 6928 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6929 |   (exit $ac_status); }; } && | 
|---|
| 6930 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6931 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6932 |   (eval $ac_try) 2>&5 | 
|---|
| 6933 |   ac_status=$? | 
|---|
| 6934 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6935 |   (exit $ac_status); }; }; then | 
|---|
| 6936 |   ac_header_compiler=yes | 
|---|
| 6937 | else | 
|---|
| 6938 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6939 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6940 |  | 
|---|
| 6941 | ac_header_compiler=no | 
|---|
| 6942 | fi | 
|---|
| 6943 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6944 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6945 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6946 |  | 
|---|
| 6947 | # Is the header present? | 
|---|
| 6948 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6949 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6950 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6951 | /* confdefs.h.  */ | 
|---|
| 6952 | _ACEOF | 
|---|
| 6953 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6954 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6955 | /* end confdefs.h.  */ | 
|---|
| 6956 | #include <$ac_header> | 
|---|
| 6957 | _ACEOF | 
|---|
| 6958 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6959 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6960 |   ac_status=$? | 
|---|
| 6961 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6962 |   rm -f conftest.er1 | 
|---|
| 6963 |   cat conftest.err >&5 | 
|---|
| 6964 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6965 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6966 |   if test -s conftest.err; then | 
|---|
| 6967 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6968 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6969 |   else | 
|---|
| 6970 |     ac_cpp_err= | 
|---|
| 6971 |   fi | 
|---|
| 6972 | else | 
|---|
| 6973 |   ac_cpp_err=yes | 
|---|
| 6974 | fi | 
|---|
| 6975 | if test -z "$ac_cpp_err"; then | 
|---|
| 6976 |   ac_header_preproc=yes | 
|---|
| 6977 | else | 
|---|
| 6978 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6979 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6980 |  | 
|---|
| 6981 |   ac_header_preproc=no | 
|---|
| 6982 | fi | 
|---|
| 6983 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6984 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6985 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6986 |  | 
|---|
| 6987 | # So?  What about this header? | 
|---|
| 6988 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6989 |   yes:no: ) | 
|---|
| 6990 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6991 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6992 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6993 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6994 |     ac_header_preproc=yes | 
|---|
| 6995 |     ;; | 
|---|
| 6996 |   no:yes:* ) | 
|---|
| 6997 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6998 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6999 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7000 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7001 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7002 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7003 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7004 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7005 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7006 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7007 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7008 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7009 |     ( | 
|---|
| 7010 |       cat <<\_ASBOX | 
|---|
| 7011 | ## ---------------------------------------------- ## | 
|---|
| 7012 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7013 | ## ---------------------------------------------- ## | 
|---|
| 7014 | _ASBOX | 
|---|
| 7015 |     ) | | 
|---|
| 7016 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7017 |     ;; | 
|---|
| 7018 | esac | 
|---|
| 7019 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7020 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7021 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7022 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7023 | else | 
|---|
| 7024 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7025 | fi | 
|---|
| 7026 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7027 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7028 |  | 
|---|
| 7029 | fi | 
|---|
| 7030 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7031 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7032 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7033 | _ACEOF | 
|---|
| 7034 |  | 
|---|
| 7035 | else | 
|---|
| 7036 |  | 
|---|
| 7037 | for ac_header in SDL/SDL_ttf.h | 
|---|
| 7038 | do | 
|---|
| 7039 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7040 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7041 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7042 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7043 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7044 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7045 | fi | 
|---|
| 7046 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7047 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7048 | else | 
|---|
| 7049 |   # Is the header compilable? | 
|---|
| 7050 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7051 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7052 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7053 | /* confdefs.h.  */ | 
|---|
| 7054 | _ACEOF | 
|---|
| 7055 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7056 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7057 | /* end confdefs.h.  */ | 
|---|
| 7058 | $ac_includes_default | 
|---|
| 7059 | #include <$ac_header> | 
|---|
| 7060 | _ACEOF | 
|---|
| 7061 | rm -f conftest.$ac_objext | 
|---|
| 7062 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7063 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7064 |   ac_status=$? | 
|---|
| 7065 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7066 |   rm -f conftest.er1 | 
|---|
| 7067 |   cat conftest.err >&5 | 
|---|
| 7068 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7069 |   (exit $ac_status); } && | 
|---|
| 7070 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7071 |                          || test ! -s conftest.err' | 
|---|
| 7072 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7073 |   (eval $ac_try) 2>&5 | 
|---|
| 7074 |   ac_status=$? | 
|---|
| 7075 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7076 |   (exit $ac_status); }; } && | 
|---|
| 7077 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7078 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7079 |   (eval $ac_try) 2>&5 | 
|---|
| 7080 |   ac_status=$? | 
|---|
| 7081 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7082 |   (exit $ac_status); }; }; then | 
|---|
| 7083 |   ac_header_compiler=yes | 
|---|
| 7084 | else | 
|---|
| 7085 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7086 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7087 |  | 
|---|
| 7088 | ac_header_compiler=no | 
|---|
| 7089 | fi | 
|---|
| 7090 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7091 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7092 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7093 |  | 
|---|
| 7094 | # Is the header present? | 
|---|
| 7095 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7096 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7097 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7098 | /* confdefs.h.  */ | 
|---|
| 7099 | _ACEOF | 
|---|
| 7100 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7101 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7102 | /* end confdefs.h.  */ | 
|---|
| 7103 | #include <$ac_header> | 
|---|
| 7104 | _ACEOF | 
|---|
| 7105 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7106 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7107 |   ac_status=$? | 
|---|
| 7108 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7109 |   rm -f conftest.er1 | 
|---|
| 7110 |   cat conftest.err >&5 | 
|---|
| 7111 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7112 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7113 |   if test -s conftest.err; then | 
|---|
| 7114 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7115 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7116 |   else | 
|---|
| 7117 |     ac_cpp_err= | 
|---|
| 7118 |   fi | 
|---|
| 7119 | else | 
|---|
| 7120 |   ac_cpp_err=yes | 
|---|
| 7121 | fi | 
|---|
| 7122 | if test -z "$ac_cpp_err"; then | 
|---|
| 7123 |   ac_header_preproc=yes | 
|---|
| 7124 | else | 
|---|
| 7125 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7126 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7127 |  | 
|---|
| 7128 |   ac_header_preproc=no | 
|---|
| 7129 | fi | 
|---|
| 7130 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7131 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7132 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7133 |  | 
|---|
| 7134 | # So?  What about this header? | 
|---|
| 7135 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7136 |   yes:no: ) | 
|---|
| 7137 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7138 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7139 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7140 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7141 |     ac_header_preproc=yes | 
|---|
| 7142 |     ;; | 
|---|
| 7143 |   no:yes:* ) | 
|---|
| 7144 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7145 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7146 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7147 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7148 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7149 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7150 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7151 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7152 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7153 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7154 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7155 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7156 |     ( | 
|---|
| 7157 |       cat <<\_ASBOX | 
|---|
| 7158 | ## ---------------------------------------------- ## | 
|---|
| 7159 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7160 | ## ---------------------------------------------- ## | 
|---|
| 7161 | _ASBOX | 
|---|
| 7162 |     ) | | 
|---|
| 7163 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7164 |     ;; | 
|---|
| 7165 | esac | 
|---|
| 7166 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7167 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7168 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7169 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7170 | else | 
|---|
| 7171 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7172 | fi | 
|---|
| 7173 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7174 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7175 |  | 
|---|
| 7176 | fi | 
|---|
| 7177 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7178 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7179 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7180 | _ACEOF | 
|---|
| 7181 |  | 
|---|
| 7182 | else | 
|---|
| 7183 |   { { echo "$as_me:$LINENO: error: cannot find SDL_ttf header." >&5 | 
|---|
| 7184 | echo "$as_me: error: cannot find SDL_ttf header." >&2;} | 
|---|
| 7185 |    { (exit 1); exit 1; }; } | 
|---|
| 7186 | fi | 
|---|
| 7187 |  | 
|---|
| 7188 | done | 
|---|
| 7189 |  | 
|---|
| 7190 | fi | 
|---|
| 7191 |  | 
|---|
| 7192 | done | 
|---|
| 7193 |  | 
|---|
| 7194 | # checking for SDL_ttf-lib | 
|---|
| 7195 |   echo "$as_me:$LINENO: checking for TTF_OpenFont in -lSDL_ttf" >&5 | 
|---|
| 7196 | echo $ECHO_N "checking for TTF_OpenFont in -lSDL_ttf... $ECHO_C" >&6 | 
|---|
| 7197 | if test "${ac_cv_lib_SDL_ttf_TTF_OpenFont+set}" = set; then | 
|---|
| 7198 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7199 | else | 
|---|
| 7200 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7201 | LIBS="-lSDL_ttf  $LIBS" | 
|---|
| 7202 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7203 | /* confdefs.h.  */ | 
|---|
| 7204 | _ACEOF | 
|---|
| 7205 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7206 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7207 | /* end confdefs.h.  */ | 
|---|
| 7208 |  | 
|---|
| 7209 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 7210 | #ifdef __cplusplus | 
|---|
| 7211 | extern "C" | 
|---|
| 7212 | #endif | 
|---|
| 7213 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 7214 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 7215 | char TTF_OpenFont (); | 
|---|
| 7216 | int | 
|---|
| 7217 | main () | 
|---|
| 7218 | { | 
|---|
| 7219 | TTF_OpenFont (); | 
|---|
| 7220 |   ; | 
|---|
| 7221 |   return 0; | 
|---|
| 7222 | } | 
|---|
| 7223 | _ACEOF | 
|---|
| 7224 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7225 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7226 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7227 |   ac_status=$? | 
|---|
| 7228 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7229 |   rm -f conftest.er1 | 
|---|
| 7230 |   cat conftest.err >&5 | 
|---|
| 7231 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7232 |   (exit $ac_status); } && | 
|---|
| 7233 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7234 |                          || test ! -s conftest.err' | 
|---|
| 7235 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7236 |   (eval $ac_try) 2>&5 | 
|---|
| 7237 |   ac_status=$? | 
|---|
| 7238 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7239 |   (exit $ac_status); }; } && | 
|---|
| 7240 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7241 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7242 |   (eval $ac_try) 2>&5 | 
|---|
| 7243 |   ac_status=$? | 
|---|
| 7244 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7245 |   (exit $ac_status); }; }; then | 
|---|
| 7246 |   ac_cv_lib_SDL_ttf_TTF_OpenFont=yes | 
|---|
| 7247 | else | 
|---|
| 7248 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7249 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7250 |  | 
|---|
| 7251 | ac_cv_lib_SDL_ttf_TTF_OpenFont=no | 
|---|
| 7252 | fi | 
|---|
| 7253 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7254 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7255 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7256 | fi | 
|---|
| 7257 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_TTF_OpenFont" >&5 | 
|---|
| 7258 | echo "${ECHO_T}$ac_cv_lib_SDL_ttf_TTF_OpenFont" >&6 | 
|---|
| 7259 | if test $ac_cv_lib_SDL_ttf_TTF_OpenFont = yes; then | 
|---|
| 7260 |   FOUND_SDL_ttf=yes | 
|---|
| 7261 | fi | 
|---|
| 7262 |  | 
|---|
| 7263 |      if test x$FOUND_SDL_ttf = xyes ; then | 
|---|
| 7264 |        LIBS="$LIBS -lSDL_ttf" | 
|---|
| 7265 |      else | 
|---|
| 7266 |         echo "------------------" | 
|---|
| 7267 |         echo "SDL_ttf library not found." | 
|---|
| 7268 |         echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/" | 
|---|
| 7269 |         echo "------------------" | 
|---|
| 7270 |         exit -1 | 
|---|
| 7271 |      fi | 
|---|
| 7272 |  | 
|---|
| 7273 |  | 
|---|
| 7274 | #-----------# | 
|---|
| 7275 | # SDL_Image # | 
|---|
| 7276 | #-----------# | 
|---|
| 7277 | # checking for SDL_image-headers | 
|---|
| 7278 |  | 
|---|
| 7279 | for ac_header in SDL_image.h | 
|---|
| 7280 | do | 
|---|
| 7281 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7282 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7283 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7284 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7285 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7286 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7287 | fi | 
|---|
| 7288 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7289 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7290 | else | 
|---|
| 7291 |   # Is the header compilable? | 
|---|
| 7292 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7293 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7294 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7295 | /* confdefs.h.  */ | 
|---|
| 7296 | _ACEOF | 
|---|
| 7297 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7298 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7299 | /* end confdefs.h.  */ | 
|---|
| 7300 | $ac_includes_default | 
|---|
| 7301 | #include <$ac_header> | 
|---|
| 7302 | _ACEOF | 
|---|
| 7303 | rm -f conftest.$ac_objext | 
|---|
| 7304 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7305 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7306 |   ac_status=$? | 
|---|
| 7307 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7308 |   rm -f conftest.er1 | 
|---|
| 7309 |   cat conftest.err >&5 | 
|---|
| 7310 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7311 |   (exit $ac_status); } && | 
|---|
| 7312 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7313 |                          || test ! -s conftest.err' | 
|---|
| 7314 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7315 |   (eval $ac_try) 2>&5 | 
|---|
| 7316 |   ac_status=$? | 
|---|
| 7317 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7318 |   (exit $ac_status); }; } && | 
|---|
| 7319 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7320 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7321 |   (eval $ac_try) 2>&5 | 
|---|
| 7322 |   ac_status=$? | 
|---|
| 7323 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7324 |   (exit $ac_status); }; }; then | 
|---|
| 7325 |   ac_header_compiler=yes | 
|---|
| 7326 | else | 
|---|
| 7327 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7328 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7329 |  | 
|---|
| 7330 | ac_header_compiler=no | 
|---|
| 7331 | fi | 
|---|
| 7332 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7333 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7334 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7335 |  | 
|---|
| 7336 | # Is the header present? | 
|---|
| 7337 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7338 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7339 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7340 | /* confdefs.h.  */ | 
|---|
| 7341 | _ACEOF | 
|---|
| 7342 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7343 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7344 | /* end confdefs.h.  */ | 
|---|
| 7345 | #include <$ac_header> | 
|---|
| 7346 | _ACEOF | 
|---|
| 7347 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7348 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7349 |   ac_status=$? | 
|---|
| 7350 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7351 |   rm -f conftest.er1 | 
|---|
| 7352 |   cat conftest.err >&5 | 
|---|
| 7353 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7354 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7355 |   if test -s conftest.err; then | 
|---|
| 7356 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7357 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7358 |   else | 
|---|
| 7359 |     ac_cpp_err= | 
|---|
| 7360 |   fi | 
|---|
| 7361 | else | 
|---|
| 7362 |   ac_cpp_err=yes | 
|---|
| 7363 | fi | 
|---|
| 7364 | if test -z "$ac_cpp_err"; then | 
|---|
| 7365 |   ac_header_preproc=yes | 
|---|
| 7366 | else | 
|---|
| 7367 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7368 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7369 |  | 
|---|
| 7370 |   ac_header_preproc=no | 
|---|
| 7371 | fi | 
|---|
| 7372 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7373 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7374 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7375 |  | 
|---|
| 7376 | # So?  What about this header? | 
|---|
| 7377 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7378 |   yes:no: ) | 
|---|
| 7379 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7380 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7381 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7382 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7383 |     ac_header_preproc=yes | 
|---|
| 7384 |     ;; | 
|---|
| 7385 |   no:yes:* ) | 
|---|
| 7386 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7387 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7388 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7389 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7390 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7391 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7392 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7393 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7394 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7395 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7396 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7397 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7398 |     ( | 
|---|
| 7399 |       cat <<\_ASBOX | 
|---|
| 7400 | ## ---------------------------------------------- ## | 
|---|
| 7401 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7402 | ## ---------------------------------------------- ## | 
|---|
| 7403 | _ASBOX | 
|---|
| 7404 |     ) | | 
|---|
| 7405 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7406 |     ;; | 
|---|
| 7407 | esac | 
|---|
| 7408 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7409 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7410 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7411 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7412 | else | 
|---|
| 7413 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7414 | fi | 
|---|
| 7415 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7416 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7417 |  | 
|---|
| 7418 | fi | 
|---|
| 7419 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7420 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7421 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7422 | _ACEOF | 
|---|
| 7423 |  | 
|---|
| 7424 | else | 
|---|
| 7425 |  | 
|---|
| 7426 | for ac_header in SDL/SDL_image.h | 
|---|
| 7427 | do | 
|---|
| 7428 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7429 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7430 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7431 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7432 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7433 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7434 | fi | 
|---|
| 7435 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7436 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7437 | else | 
|---|
| 7438 |   # Is the header compilable? | 
|---|
| 7439 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7440 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7441 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7442 | /* confdefs.h.  */ | 
|---|
| 7443 | _ACEOF | 
|---|
| 7444 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7445 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7446 | /* end confdefs.h.  */ | 
|---|
| 7447 | $ac_includes_default | 
|---|
| 7448 | #include <$ac_header> | 
|---|
| 7449 | _ACEOF | 
|---|
| 7450 | rm -f conftest.$ac_objext | 
|---|
| 7451 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7452 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7453 |   ac_status=$? | 
|---|
| 7454 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7455 |   rm -f conftest.er1 | 
|---|
| 7456 |   cat conftest.err >&5 | 
|---|
| 7457 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7458 |   (exit $ac_status); } && | 
|---|
| 7459 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7460 |                          || test ! -s conftest.err' | 
|---|
| 7461 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7462 |   (eval $ac_try) 2>&5 | 
|---|
| 7463 |   ac_status=$? | 
|---|
| 7464 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7465 |   (exit $ac_status); }; } && | 
|---|
| 7466 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7467 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7468 |   (eval $ac_try) 2>&5 | 
|---|
| 7469 |   ac_status=$? | 
|---|
| 7470 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7471 |   (exit $ac_status); }; }; then | 
|---|
| 7472 |   ac_header_compiler=yes | 
|---|
| 7473 | else | 
|---|
| 7474 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7475 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7476 |  | 
|---|
| 7477 | ac_header_compiler=no | 
|---|
| 7478 | fi | 
|---|
| 7479 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7480 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7481 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7482 |  | 
|---|
| 7483 | # Is the header present? | 
|---|
| 7484 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7485 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7486 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7487 | /* confdefs.h.  */ | 
|---|
| 7488 | _ACEOF | 
|---|
| 7489 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7490 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7491 | /* end confdefs.h.  */ | 
|---|
| 7492 | #include <$ac_header> | 
|---|
| 7493 | _ACEOF | 
|---|
| 7494 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7495 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7496 |   ac_status=$? | 
|---|
| 7497 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7498 |   rm -f conftest.er1 | 
|---|
| 7499 |   cat conftest.err >&5 | 
|---|
| 7500 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7501 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7502 |   if test -s conftest.err; then | 
|---|
| 7503 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7504 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7505 |   else | 
|---|
| 7506 |     ac_cpp_err= | 
|---|
| 7507 |   fi | 
|---|
| 7508 | else | 
|---|
| 7509 |   ac_cpp_err=yes | 
|---|
| 7510 | fi | 
|---|
| 7511 | if test -z "$ac_cpp_err"; then | 
|---|
| 7512 |   ac_header_preproc=yes | 
|---|
| 7513 | else | 
|---|
| 7514 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7515 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7516 |  | 
|---|
| 7517 |   ac_header_preproc=no | 
|---|
| 7518 | fi | 
|---|
| 7519 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7520 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7521 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7522 |  | 
|---|
| 7523 | # So?  What about this header? | 
|---|
| 7524 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7525 |   yes:no: ) | 
|---|
| 7526 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7527 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7528 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7529 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7530 |     ac_header_preproc=yes | 
|---|
| 7531 |     ;; | 
|---|
| 7532 |   no:yes:* ) | 
|---|
| 7533 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7534 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7535 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7536 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7537 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7538 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7539 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7540 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7541 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7542 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7543 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7544 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7545 |     ( | 
|---|
| 7546 |       cat <<\_ASBOX | 
|---|
| 7547 | ## ---------------------------------------------- ## | 
|---|
| 7548 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7549 | ## ---------------------------------------------- ## | 
|---|
| 7550 | _ASBOX | 
|---|
| 7551 |     ) | | 
|---|
| 7552 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7553 |     ;; | 
|---|
| 7554 | esac | 
|---|
| 7555 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7556 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7557 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7558 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7559 | else | 
|---|
| 7560 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7561 | fi | 
|---|
| 7562 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7563 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7564 |  | 
|---|
| 7565 | fi | 
|---|
| 7566 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7567 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7568 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7569 | _ACEOF | 
|---|
| 7570 |  | 
|---|
| 7571 | else | 
|---|
| 7572 |   { { echo "$as_me:$LINENO: error: SDL_image header not found." >&5 | 
|---|
| 7573 | echo "$as_me: error: SDL_image header not found." >&2;} | 
|---|
| 7574 |    { (exit 1); exit 1; }; } | 
|---|
| 7575 | fi | 
|---|
| 7576 |  | 
|---|
| 7577 | done | 
|---|
| 7578 |  | 
|---|
| 7579 | fi | 
|---|
| 7580 |  | 
|---|
| 7581 | done | 
|---|
| 7582 |  | 
|---|
| 7583 | # checking for SDL_image-lib | 
|---|
| 7584 | echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | 
|---|
| 7585 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 | 
|---|
| 7586 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | 
|---|
| 7587 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7588 | else | 
|---|
| 7589 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7590 | LIBS="-lSDL_image  $LIBS" | 
|---|
| 7591 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7592 | /* confdefs.h.  */ | 
|---|
| 7593 | _ACEOF | 
|---|
| 7594 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7595 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7596 | /* end confdefs.h.  */ | 
|---|
| 7597 |  | 
|---|
| 7598 |  | 
|---|
| 7599 | int | 
|---|
| 7600 | main () | 
|---|
| 7601 | { | 
|---|
| 7602 | main (); | 
|---|
| 7603 |   ; | 
|---|
| 7604 |   return 0; | 
|---|
| 7605 | } | 
|---|
| 7606 | _ACEOF | 
|---|
| 7607 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7608 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7609 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7610 |   ac_status=$? | 
|---|
| 7611 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7612 |   rm -f conftest.er1 | 
|---|
| 7613 |   cat conftest.err >&5 | 
|---|
| 7614 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7615 |   (exit $ac_status); } && | 
|---|
| 7616 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7617 |                          || test ! -s conftest.err' | 
|---|
| 7618 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7619 |   (eval $ac_try) 2>&5 | 
|---|
| 7620 |   ac_status=$? | 
|---|
| 7621 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7622 |   (exit $ac_status); }; } && | 
|---|
| 7623 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7624 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7625 |   (eval $ac_try) 2>&5 | 
|---|
| 7626 |   ac_status=$? | 
|---|
| 7627 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7628 |   (exit $ac_status); }; }; then | 
|---|
| 7629 |   ac_cv_lib_SDL_image_main=yes | 
|---|
| 7630 | else | 
|---|
| 7631 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7632 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7633 |  | 
|---|
| 7634 | ac_cv_lib_SDL_image_main=no | 
|---|
| 7635 | fi | 
|---|
| 7636 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7637 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7638 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7639 | fi | 
|---|
| 7640 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | 
|---|
| 7641 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 | 
|---|
| 7642 | if test $ac_cv_lib_SDL_image_main = yes; then | 
|---|
| 7643 |   FOUND_SDL_image=yes | 
|---|
| 7644 | fi | 
|---|
| 7645 |  | 
|---|
| 7646 |    if test x$FOUND_SDL_image = xyes ; then | 
|---|
| 7647 |      LIBS="$LIBS -lSDL_image" | 
|---|
| 7648 |    else | 
|---|
| 7649 |       echo "------------------" | 
|---|
| 7650 |       echo "SDL_image library not found." | 
|---|
| 7651 |       echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" | 
|---|
| 7652 |       echo "------------------" | 
|---|
| 7653 |       exit -1 | 
|---|
| 7654 |    fi | 
|---|
| 7655 |  | 
|---|
| 7656 | #-----# | 
|---|
| 7657 | # ogg # | 
|---|
| 7658 | #-----# | 
|---|
| 7659 | ## checking for ogg-headers | 
|---|
| 7660 | #  AC_CHECK_HEADERS([ogg/ogg.h] ,, | 
|---|
| 7661 | #      [AC_MSG_ERROR([cannot find ogg header.])]) | 
|---|
| 7662 | ## checking for ogg-lib | 
|---|
| 7663 | #  AC_CHECK_LIB([ogg], [main], [FOUND_ogg=yes]) | 
|---|
| 7664 | #     if test x$FOUND_ogg = xyes ; then | 
|---|
| 7665 | #       LIBS="$LIBS -logg" | 
|---|
| 7666 | #     else | 
|---|
| 7667 | #        echo "------------------" | 
|---|
| 7668 | #        echo "ogg library not found." | 
|---|
| 7669 | #        echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 7670 | #        echo "------------------" | 
|---|
| 7671 | #        exit -1 | 
|---|
| 7672 | #     fi | 
|---|
| 7673 |  | 
|---|
| 7674 | #--------# | 
|---|
| 7675 | # vorbis # | 
|---|
| 7676 | #--------# | 
|---|
| 7677 | ## checking for vorbis-lib | 
|---|
| 7678 | #  AC_CHECK_LIB([vorbis], [main], [FOUND_vorbis=yes]) | 
|---|
| 7679 | #     if test x$FOUND_vorbis = xyes ; then | 
|---|
| 7680 | #       LIBS="$LIBS -lvorbis" | 
|---|
| 7681 | #     else | 
|---|
| 7682 | #        echo "------------------" | 
|---|
| 7683 | #        echo "vorbis library not found." | 
|---|
| 7684 | #        echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 7685 | #        echo "------------------" | 
|---|
| 7686 | #        exit -1 | 
|---|
| 7687 | #     fi | 
|---|
| 7688 |  | 
|---|
| 7689 | #------------# | 
|---|
| 7690 | # vorbisfile # | 
|---|
| 7691 | #------------# | 
|---|
| 7692 | ## checking for vorbis-headers | 
|---|
| 7693 | #  AC_CHECK_HEADERS([vorbis/vorbisfile.h] ,, | 
|---|
| 7694 | #      [AC_MSG_ERROR([cannot find vorbisfile header.])]) | 
|---|
| 7695 | ## checking for vorbisfile-lib | 
|---|
| 7696 | #  AC_CHECK_LIB([vorbisfile], [main], [FOUND_vorbisfile=yes]) | 
|---|
| 7697 | #     if test x$FOUND_vorbisfile = xyes ; then | 
|---|
| 7698 | #       LIBS="$LIBS -lvorbisfile" | 
|---|
| 7699 | #     else | 
|---|
| 7700 | #        echo "------------------" | 
|---|
| 7701 | #        echo "vorbisfile library not found." | 
|---|
| 7702 | #        echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html" | 
|---|
| 7703 | #        echo "------------------" | 
|---|
| 7704 | #        exit -1 | 
|---|
| 7705 | #     fi | 
|---|
| 7706 |  | 
|---|
| 7707 | #-----# | 
|---|
| 7708 | # GTK # | 
|---|
| 7709 | #-----# | 
|---|
| 7710 | if test x$def_gtk = xyes; then | 
|---|
| 7711 |         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
| 7712 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| 7713 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| 7714 |         if `$PKG_CONFIG --exists gtk+-2.0`; then | 
|---|
| 7715 |                 echo "yes" | 
|---|
| 7716 |                 have_gtk2=yes | 
|---|
| 7717 |                 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0` | 
|---|
| 7718 |                 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 
|---|
| 7719 |  | 
|---|
| 7720 | cat >>confdefs.h <<_ACEOF | 
|---|
| 7721 | #define HAVE_GTK2 1 | 
|---|
| 7722 | _ACEOF | 
|---|
| 7723 |  | 
|---|
| 7724 |                 if test $DEBUG -ge 3; then | 
|---|
| 7725 |                  echo "cflags: $GTK2_CFLAGS" | 
|---|
| 7726 |                  echo "libs: $GTK2_LIBS" | 
|---|
| 7727 |                 fi | 
|---|
| 7728 |         else | 
|---|
| 7729 |                 echo "no" | 
|---|
| 7730 |         fi | 
|---|
| 7731 |  | 
|---|
| 7732 | fi | 
|---|
| 7733 |  | 
|---|
| 7734 |  | 
|---|
| 7735 |  | 
|---|
| 7736 |  | 
|---|
| 7737 | if test x$have_gtk2 = xyes; then | 
|---|
| 7738 |   HAVE_GTK2_TRUE= | 
|---|
| 7739 |   HAVE_GTK2_FALSE='#' | 
|---|
| 7740 | else | 
|---|
| 7741 |   HAVE_GTK2_TRUE='#' | 
|---|
| 7742 |   HAVE_GTK2_FALSE= | 
|---|
| 7743 | fi | 
|---|
| 7744 |  | 
|---|
| 7745 |  | 
|---|
| 7746 | #---------# | 
|---|
| 7747 | # libcURL # | 
|---|
| 7748 | #---------# | 
|---|
| 7749 | if test x$def_curl = xyes; then | 
|---|
| 7750 |  | 
|---|
| 7751 |  | 
|---|
| 7752 | for ac_header in curl/curl.h | 
|---|
| 7753 | do | 
|---|
| 7754 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7755 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7756 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7757 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7758 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7759 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7760 | fi | 
|---|
| 7761 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7762 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7763 | else | 
|---|
| 7764 |   # Is the header compilable? | 
|---|
| 7765 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7766 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7767 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7768 | /* confdefs.h.  */ | 
|---|
| 7769 | _ACEOF | 
|---|
| 7770 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7771 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7772 | /* end confdefs.h.  */ | 
|---|
| 7773 | $ac_includes_default | 
|---|
| 7774 | #include <$ac_header> | 
|---|
| 7775 | _ACEOF | 
|---|
| 7776 | rm -f conftest.$ac_objext | 
|---|
| 7777 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7778 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7779 |   ac_status=$? | 
|---|
| 7780 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7781 |   rm -f conftest.er1 | 
|---|
| 7782 |   cat conftest.err >&5 | 
|---|
| 7783 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7784 |   (exit $ac_status); } && | 
|---|
| 7785 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7786 |                          || test ! -s conftest.err' | 
|---|
| 7787 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7788 |   (eval $ac_try) 2>&5 | 
|---|
| 7789 |   ac_status=$? | 
|---|
| 7790 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7791 |   (exit $ac_status); }; } && | 
|---|
| 7792 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 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); }; }; then | 
|---|
| 7798 |   ac_header_compiler=yes | 
|---|
| 7799 | else | 
|---|
| 7800 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7801 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7802 |  | 
|---|
| 7803 | ac_header_compiler=no | 
|---|
| 7804 | fi | 
|---|
| 7805 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7806 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7807 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7808 |  | 
|---|
| 7809 | # Is the header present? | 
|---|
| 7810 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7811 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7812 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7813 | /* confdefs.h.  */ | 
|---|
| 7814 | _ACEOF | 
|---|
| 7815 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7816 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7817 | /* end confdefs.h.  */ | 
|---|
| 7818 | #include <$ac_header> | 
|---|
| 7819 | _ACEOF | 
|---|
| 7820 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7821 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7822 |   ac_status=$? | 
|---|
| 7823 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7824 |   rm -f conftest.er1 | 
|---|
| 7825 |   cat conftest.err >&5 | 
|---|
| 7826 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7827 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7828 |   if test -s conftest.err; then | 
|---|
| 7829 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7830 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7831 |   else | 
|---|
| 7832 |     ac_cpp_err= | 
|---|
| 7833 |   fi | 
|---|
| 7834 | else | 
|---|
| 7835 |   ac_cpp_err=yes | 
|---|
| 7836 | fi | 
|---|
| 7837 | if test -z "$ac_cpp_err"; then | 
|---|
| 7838 |   ac_header_preproc=yes | 
|---|
| 7839 | else | 
|---|
| 7840 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7841 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7842 |  | 
|---|
| 7843 |   ac_header_preproc=no | 
|---|
| 7844 | fi | 
|---|
| 7845 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7846 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7847 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7848 |  | 
|---|
| 7849 | # So?  What about this header? | 
|---|
| 7850 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7851 |   yes:no: ) | 
|---|
| 7852 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7853 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7854 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7855 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7856 |     ac_header_preproc=yes | 
|---|
| 7857 |     ;; | 
|---|
| 7858 |   no:yes:* ) | 
|---|
| 7859 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7860 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7861 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7862 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7863 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7864 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7865 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7866 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7867 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7868 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7869 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7870 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7871 |     ( | 
|---|
| 7872 |       cat <<\_ASBOX | 
|---|
| 7873 | ## ---------------------------------------------- ## | 
|---|
| 7874 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7875 | ## ---------------------------------------------- ## | 
|---|
| 7876 | _ASBOX | 
|---|
| 7877 |     ) | | 
|---|
| 7878 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7879 |     ;; | 
|---|
| 7880 | esac | 
|---|
| 7881 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7882 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7883 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7884 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7885 | else | 
|---|
| 7886 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7887 | fi | 
|---|
| 7888 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7889 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7890 |  | 
|---|
| 7891 | fi | 
|---|
| 7892 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7893 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7894 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7895 | _ACEOF | 
|---|
| 7896 |  curlHeader="yes" | 
|---|
| 7897 | else | 
|---|
| 7898 |   curlHeader="no" | 
|---|
| 7899 | fi | 
|---|
| 7900 |  | 
|---|
| 7901 | done | 
|---|
| 7902 |  | 
|---|
| 7903 |  echo "$as_me:$LINENO: checking for main in -lcurl" >&5 | 
|---|
| 7904 | echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 | 
|---|
| 7905 | if test "${ac_cv_lib_curl_main+set}" = set; then | 
|---|
| 7906 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7907 | else | 
|---|
| 7908 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7909 | LIBS="-lcurl  $LIBS" | 
|---|
| 7910 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7911 | /* confdefs.h.  */ | 
|---|
| 7912 | _ACEOF | 
|---|
| 7913 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7914 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7915 | /* end confdefs.h.  */ | 
|---|
| 7916 |  | 
|---|
| 7917 |  | 
|---|
| 7918 | int | 
|---|
| 7919 | main () | 
|---|
| 7920 | { | 
|---|
| 7921 | main (); | 
|---|
| 7922 |   ; | 
|---|
| 7923 |   return 0; | 
|---|
| 7924 | } | 
|---|
| 7925 | _ACEOF | 
|---|
| 7926 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7927 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7928 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7929 |   ac_status=$? | 
|---|
| 7930 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7931 |   rm -f conftest.er1 | 
|---|
| 7932 |   cat conftest.err >&5 | 
|---|
| 7933 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7934 |   (exit $ac_status); } && | 
|---|
| 7935 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7936 |                          || test ! -s conftest.err' | 
|---|
| 7937 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7938 |   (eval $ac_try) 2>&5 | 
|---|
| 7939 |   ac_status=$? | 
|---|
| 7940 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7941 |   (exit $ac_status); }; } && | 
|---|
| 7942 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7943 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7944 |   (eval $ac_try) 2>&5 | 
|---|
| 7945 |   ac_status=$? | 
|---|
| 7946 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7947 |   (exit $ac_status); }; }; then | 
|---|
| 7948 |   ac_cv_lib_curl_main=yes | 
|---|
| 7949 | else | 
|---|
| 7950 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7951 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7952 |  | 
|---|
| 7953 | ac_cv_lib_curl_main=no | 
|---|
| 7954 | fi | 
|---|
| 7955 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7956 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7957 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7958 | fi | 
|---|
| 7959 | echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 | 
|---|
| 7960 | echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 | 
|---|
| 7961 | if test $ac_cv_lib_curl_main = yes; then | 
|---|
| 7962 |   FOUND_curl=yes | 
|---|
| 7963 | fi | 
|---|
| 7964 |  | 
|---|
| 7965 |  if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then | 
|---|
| 7966 |   have_curl=yes | 
|---|
| 7967 |   CURL_LIBS=`curl-config --libs` | 
|---|
| 7968 |   CURLCFLAGS=`curl-config --cflags` | 
|---|
| 7969 |  | 
|---|
| 7970 | cat >>confdefs.h <<_ACEOF | 
|---|
| 7971 | #define HAVE_CURL 1 | 
|---|
| 7972 | _ACEOF | 
|---|
| 7973 |  | 
|---|
| 7974 |  else | 
|---|
| 7975 |   have_curl=no | 
|---|
| 7976 |  fi | 
|---|
| 7977 |  | 
|---|
| 7978 | fi | 
|---|
| 7979 |  | 
|---|
| 7980 |  | 
|---|
| 7981 |  | 
|---|
| 7982 |  | 
|---|
| 7983 | if test x$have_curl = xyes; then | 
|---|
| 7984 |   HAVE_CURL_TRUE= | 
|---|
| 7985 |   HAVE_CURL_FALSE='#' | 
|---|
| 7986 | else | 
|---|
| 7987 |   HAVE_CURL_TRUE='#' | 
|---|
| 7988 |   HAVE_CURL_FALSE= | 
|---|
| 7989 | fi | 
|---|
| 7990 |  | 
|---|
| 7991 |  | 
|---|
| 7992 | #--------# | 
|---|
| 7993 | # efence # | 
|---|
| 7994 | #--------# | 
|---|
| 7995 | if test x$def_efence = xyes ; then | 
|---|
| 7996 |   echo "$as_me:$LINENO: checking for main in -lefence" >&5 | 
|---|
| 7997 | echo $ECHO_N "checking for main in -lefence... $ECHO_C" >&6 | 
|---|
| 7998 | if test "${ac_cv_lib_efence_main+set}" = set; then | 
|---|
| 7999 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8000 | else | 
|---|
| 8001 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 8002 | LIBS="-lefence  $LIBS" | 
|---|
| 8003 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8004 | /* confdefs.h.  */ | 
|---|
| 8005 | _ACEOF | 
|---|
| 8006 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8007 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8008 | /* end confdefs.h.  */ | 
|---|
| 8009 |  | 
|---|
| 8010 |  | 
|---|
| 8011 | int | 
|---|
| 8012 | main () | 
|---|
| 8013 | { | 
|---|
| 8014 | main (); | 
|---|
| 8015 |   ; | 
|---|
| 8016 |   return 0; | 
|---|
| 8017 | } | 
|---|
| 8018 | _ACEOF | 
|---|
| 8019 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8020 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8021 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8022 |   ac_status=$? | 
|---|
| 8023 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8024 |   rm -f conftest.er1 | 
|---|
| 8025 |   cat conftest.err >&5 | 
|---|
| 8026 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8027 |   (exit $ac_status); } && | 
|---|
| 8028 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8029 |                          || test ! -s conftest.err' | 
|---|
| 8030 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8031 |   (eval $ac_try) 2>&5 | 
|---|
| 8032 |   ac_status=$? | 
|---|
| 8033 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8034 |   (exit $ac_status); }; } && | 
|---|
| 8035 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8036 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8037 |   (eval $ac_try) 2>&5 | 
|---|
| 8038 |   ac_status=$? | 
|---|
| 8039 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8040 |   (exit $ac_status); }; }; then | 
|---|
| 8041 |   ac_cv_lib_efence_main=yes | 
|---|
| 8042 | else | 
|---|
| 8043 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8044 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8045 |  | 
|---|
| 8046 | ac_cv_lib_efence_main=no | 
|---|
| 8047 | fi | 
|---|
| 8048 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8049 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8050 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 8051 | fi | 
|---|
| 8052 | echo "$as_me:$LINENO: result: $ac_cv_lib_efence_main" >&5 | 
|---|
| 8053 | echo "${ECHO_T}$ac_cv_lib_efence_main" >&6 | 
|---|
| 8054 | if test $ac_cv_lib_efence_main = yes; then | 
|---|
| 8055 |   FOUND_efence=yes | 
|---|
| 8056 | fi | 
|---|
| 8057 |  | 
|---|
| 8058 |    if test x$FOUND_efence = xyes ; then | 
|---|
| 8059 |       LIBS="$LIBS -lefence" | 
|---|
| 8060 |    fi | 
|---|
| 8061 |  | 
|---|
| 8062 | fi | 
|---|
| 8063 |  | 
|---|
| 8064 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
| 8065 |  | 
|---|
| 8066 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
| 8067 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
| 8068 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
| 8069 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8070 | else | 
|---|
| 8071 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 8072 | LIBS="-lm  $LIBS" | 
|---|
| 8073 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8074 | /* confdefs.h.  */ | 
|---|
| 8075 | _ACEOF | 
|---|
| 8076 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8077 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8078 | /* end confdefs.h.  */ | 
|---|
| 8079 |  | 
|---|
| 8080 |  | 
|---|
| 8081 | int | 
|---|
| 8082 | main () | 
|---|
| 8083 | { | 
|---|
| 8084 | main (); | 
|---|
| 8085 |   ; | 
|---|
| 8086 |   return 0; | 
|---|
| 8087 | } | 
|---|
| 8088 | _ACEOF | 
|---|
| 8089 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8090 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8091 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8092 |   ac_status=$? | 
|---|
| 8093 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8094 |   rm -f conftest.er1 | 
|---|
| 8095 |   cat conftest.err >&5 | 
|---|
| 8096 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8097 |   (exit $ac_status); } && | 
|---|
| 8098 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8099 |                          || test ! -s conftest.err' | 
|---|
| 8100 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8101 |   (eval $ac_try) 2>&5 | 
|---|
| 8102 |   ac_status=$? | 
|---|
| 8103 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8104 |   (exit $ac_status); }; } && | 
|---|
| 8105 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8106 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8107 |   (eval $ac_try) 2>&5 | 
|---|
| 8108 |   ac_status=$? | 
|---|
| 8109 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8110 |   (exit $ac_status); }; }; then | 
|---|
| 8111 |   ac_cv_lib_m_main=yes | 
|---|
| 8112 | else | 
|---|
| 8113 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8114 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8115 |  | 
|---|
| 8116 | ac_cv_lib_m_main=no | 
|---|
| 8117 | fi | 
|---|
| 8118 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8119 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8120 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 8121 | fi | 
|---|
| 8122 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
| 8123 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
| 8124 | if test $ac_cv_lib_m_main = yes; then | 
|---|
| 8125 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8126 | #define HAVE_LIBM 1 | 
|---|
| 8127 | _ACEOF | 
|---|
| 8128 |  | 
|---|
| 8129 |   LIBS="-lm $LIBS" | 
|---|
| 8130 |  | 
|---|
| 8131 | fi | 
|---|
| 8132 |  | 
|---|
| 8133 |  | 
|---|
| 8134 |  | 
|---|
| 8135 | # Checks for header files. | 
|---|
| 8136 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 8137 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 8138 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 8139 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8140 | else | 
|---|
| 8141 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8142 | /* confdefs.h.  */ | 
|---|
| 8143 | _ACEOF | 
|---|
| 8144 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8145 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8146 | /* end confdefs.h.  */ | 
|---|
| 8147 | #include <stdlib.h> | 
|---|
| 8148 | #include <stdarg.h> | 
|---|
| 8149 | #include <string.h> | 
|---|
| 8150 | #include <float.h> | 
|---|
| 8151 |  | 
|---|
| 8152 | int | 
|---|
| 8153 | main () | 
|---|
| 8154 | { | 
|---|
| 8155 |  | 
|---|
| 8156 |   ; | 
|---|
| 8157 |   return 0; | 
|---|
| 8158 | } | 
|---|
| 8159 | _ACEOF | 
|---|
| 8160 | rm -f conftest.$ac_objext | 
|---|
| 8161 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8162 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8163 |   ac_status=$? | 
|---|
| 8164 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8165 |   rm -f conftest.er1 | 
|---|
| 8166 |   cat conftest.err >&5 | 
|---|
| 8167 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8168 |   (exit $ac_status); } && | 
|---|
| 8169 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8170 |                          || test ! -s conftest.err' | 
|---|
| 8171 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8172 |   (eval $ac_try) 2>&5 | 
|---|
| 8173 |   ac_status=$? | 
|---|
| 8174 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8175 |   (exit $ac_status); }; } && | 
|---|
| 8176 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8177 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8178 |   (eval $ac_try) 2>&5 | 
|---|
| 8179 |   ac_status=$? | 
|---|
| 8180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8181 |   (exit $ac_status); }; }; then | 
|---|
| 8182 |   ac_cv_header_stdc=yes | 
|---|
| 8183 | else | 
|---|
| 8184 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8185 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8186 |  | 
|---|
| 8187 | ac_cv_header_stdc=no | 
|---|
| 8188 | fi | 
|---|
| 8189 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8190 |  | 
|---|
| 8191 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 8192 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 8193 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8194 | /* confdefs.h.  */ | 
|---|
| 8195 | _ACEOF | 
|---|
| 8196 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8197 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8198 | /* end confdefs.h.  */ | 
|---|
| 8199 | #include <string.h> | 
|---|
| 8200 |  | 
|---|
| 8201 | _ACEOF | 
|---|
| 8202 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 8203 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 8204 |   : | 
|---|
| 8205 | else | 
|---|
| 8206 |   ac_cv_header_stdc=no | 
|---|
| 8207 | fi | 
|---|
| 8208 | rm -f conftest* | 
|---|
| 8209 |  | 
|---|
| 8210 | fi | 
|---|
| 8211 |  | 
|---|
| 8212 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 8213 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 8214 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8215 | /* confdefs.h.  */ | 
|---|
| 8216 | _ACEOF | 
|---|
| 8217 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8218 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8219 | /* end confdefs.h.  */ | 
|---|
| 8220 | #include <stdlib.h> | 
|---|
| 8221 |  | 
|---|
| 8222 | _ACEOF | 
|---|
| 8223 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 8224 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 8225 |   : | 
|---|
| 8226 | else | 
|---|
| 8227 |   ac_cv_header_stdc=no | 
|---|
| 8228 | fi | 
|---|
| 8229 | rm -f conftest* | 
|---|
| 8230 |  | 
|---|
| 8231 | fi | 
|---|
| 8232 |  | 
|---|
| 8233 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 8234 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 8235 |   if test "$cross_compiling" = yes; then | 
|---|
| 8236 |   : | 
|---|
| 8237 | else | 
|---|
| 8238 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8239 | /* confdefs.h.  */ | 
|---|
| 8240 | _ACEOF | 
|---|
| 8241 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8242 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8243 | /* end confdefs.h.  */ | 
|---|
| 8244 | #include <ctype.h> | 
|---|
| 8245 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 8246 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 8247 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 8248 | #else | 
|---|
| 8249 | # define ISLOWER(c) \ | 
|---|
| 8250 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 8251 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 8252 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 8253 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 8254 | #endif | 
|---|
| 8255 |  | 
|---|
| 8256 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 8257 | int | 
|---|
| 8258 | main () | 
|---|
| 8259 | { | 
|---|
| 8260 |   int i; | 
|---|
| 8261 |   for (i = 0; i < 256; i++) | 
|---|
| 8262 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 8263 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 8264 |       exit(2); | 
|---|
| 8265 |   exit (0); | 
|---|
| 8266 | } | 
|---|
| 8267 | _ACEOF | 
|---|
| 8268 | rm -f conftest$ac_exeext | 
|---|
| 8269 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8270 |   (eval $ac_link) 2>&5 | 
|---|
| 8271 |   ac_status=$? | 
|---|
| 8272 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8273 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 8274 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8275 |   (eval $ac_try) 2>&5 | 
|---|
| 8276 |   ac_status=$? | 
|---|
| 8277 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8278 |   (exit $ac_status); }; }; then | 
|---|
| 8279 |   : | 
|---|
| 8280 | else | 
|---|
| 8281 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 8282 | echo "$as_me: failed program was:" >&5 | 
|---|
| 8283 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8284 |  | 
|---|
| 8285 | ( exit $ac_status ) | 
|---|
| 8286 | ac_cv_header_stdc=no | 
|---|
| 8287 | fi | 
|---|
| 8288 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8289 | fi | 
|---|
| 8290 | fi | 
|---|
| 8291 | fi | 
|---|
| 8292 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 8293 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 8294 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 8295 |  | 
|---|
| 8296 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8297 | #define STDC_HEADERS 1 | 
|---|
| 8298 | _ACEOF | 
|---|
| 8299 |  | 
|---|
| 8300 | fi | 
|---|
| 8301 |  | 
|---|
| 8302 |  | 
|---|
| 8303 |  | 
|---|
| 8304 | for ac_header in stdlib.h string.h | 
|---|
| 8305 | do | 
|---|
| 8306 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8307 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 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 | fi | 
|---|
| 8313 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8314 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8315 | else | 
|---|
| 8316 |   # Is the header compilable? | 
|---|
| 8317 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8318 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8319 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8320 | /* confdefs.h.  */ | 
|---|
| 8321 | _ACEOF | 
|---|
| 8322 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8323 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8324 | /* end confdefs.h.  */ | 
|---|
| 8325 | $ac_includes_default | 
|---|
| 8326 | #include <$ac_header> | 
|---|
| 8327 | _ACEOF | 
|---|
| 8328 | rm -f conftest.$ac_objext | 
|---|
| 8329 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8330 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8331 |   ac_status=$? | 
|---|
| 8332 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8333 |   rm -f conftest.er1 | 
|---|
| 8334 |   cat conftest.err >&5 | 
|---|
| 8335 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8336 |   (exit $ac_status); } && | 
|---|
| 8337 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8338 |                          || test ! -s conftest.err' | 
|---|
| 8339 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8340 |   (eval $ac_try) 2>&5 | 
|---|
| 8341 |   ac_status=$? | 
|---|
| 8342 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8343 |   (exit $ac_status); }; } && | 
|---|
| 8344 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8345 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8346 |   (eval $ac_try) 2>&5 | 
|---|
| 8347 |   ac_status=$? | 
|---|
| 8348 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8349 |   (exit $ac_status); }; }; then | 
|---|
| 8350 |   ac_header_compiler=yes | 
|---|
| 8351 | else | 
|---|
| 8352 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8353 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8354 |  | 
|---|
| 8355 | ac_header_compiler=no | 
|---|
| 8356 | fi | 
|---|
| 8357 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8358 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8359 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8360 |  | 
|---|
| 8361 | # Is the header present? | 
|---|
| 8362 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8363 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8364 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8365 | /* confdefs.h.  */ | 
|---|
| 8366 | _ACEOF | 
|---|
| 8367 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8368 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8369 | /* end confdefs.h.  */ | 
|---|
| 8370 | #include <$ac_header> | 
|---|
| 8371 | _ACEOF | 
|---|
| 8372 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8373 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8374 |   ac_status=$? | 
|---|
| 8375 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8376 |   rm -f conftest.er1 | 
|---|
| 8377 |   cat conftest.err >&5 | 
|---|
| 8378 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8379 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8380 |   if test -s conftest.err; then | 
|---|
| 8381 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8382 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8383 |   else | 
|---|
| 8384 |     ac_cpp_err= | 
|---|
| 8385 |   fi | 
|---|
| 8386 | else | 
|---|
| 8387 |   ac_cpp_err=yes | 
|---|
| 8388 | fi | 
|---|
| 8389 | if test -z "$ac_cpp_err"; then | 
|---|
| 8390 |   ac_header_preproc=yes | 
|---|
| 8391 | else | 
|---|
| 8392 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8393 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8394 |  | 
|---|
| 8395 |   ac_header_preproc=no | 
|---|
| 8396 | fi | 
|---|
| 8397 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8398 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8399 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8400 |  | 
|---|
| 8401 | # So?  What about this header? | 
|---|
| 8402 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8403 |   yes:no: ) | 
|---|
| 8404 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8405 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8406 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8407 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8408 |     ac_header_preproc=yes | 
|---|
| 8409 |     ;; | 
|---|
| 8410 |   no:yes:* ) | 
|---|
| 8411 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8412 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8413 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8414 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8415 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8416 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8417 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8418 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8419 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8420 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8421 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8422 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8423 |     ( | 
|---|
| 8424 |       cat <<\_ASBOX | 
|---|
| 8425 | ## ---------------------------------------------- ## | 
|---|
| 8426 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8427 | ## ---------------------------------------------- ## | 
|---|
| 8428 | _ASBOX | 
|---|
| 8429 |     ) | | 
|---|
| 8430 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8431 |     ;; | 
|---|
| 8432 | esac | 
|---|
| 8433 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8434 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8435 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8436 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8437 | else | 
|---|
| 8438 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8439 | fi | 
|---|
| 8440 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8441 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8442 |  | 
|---|
| 8443 | fi | 
|---|
| 8444 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8445 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8446 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8447 | _ACEOF | 
|---|
| 8448 |  | 
|---|
| 8449 | fi | 
|---|
| 8450 |  | 
|---|
| 8451 | done | 
|---|
| 8452 |  | 
|---|
| 8453 |  | 
|---|
| 8454 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 8455 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 8456 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
| 8457 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
| 8458 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8459 | else | 
|---|
| 8460 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8461 | /* confdefs.h.  */ | 
|---|
| 8462 | _ACEOF | 
|---|
| 8463 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8464 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8465 | /* end confdefs.h.  */ | 
|---|
| 8466 |  | 
|---|
| 8467 | #include <stdbool.h> | 
|---|
| 8468 | #ifndef bool | 
|---|
| 8469 | # error bool is not defined | 
|---|
| 8470 | #endif | 
|---|
| 8471 | #ifndef false | 
|---|
| 8472 | # error false is not defined | 
|---|
| 8473 | #endif | 
|---|
| 8474 | #if false | 
|---|
| 8475 | # error false is not 0 | 
|---|
| 8476 | #endif | 
|---|
| 8477 | #ifndef true | 
|---|
| 8478 | # error true is not defined | 
|---|
| 8479 | #endif | 
|---|
| 8480 | #if true != 1 | 
|---|
| 8481 | # error true is not 1 | 
|---|
| 8482 | #endif | 
|---|
| 8483 | #ifndef __bool_true_false_are_defined | 
|---|
| 8484 | # error __bool_true_false_are_defined is not defined | 
|---|
| 8485 | #endif | 
|---|
| 8486 |  | 
|---|
| 8487 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 8488 |  | 
|---|
| 8489 |         char a[true == 1 ? 1 : -1]; | 
|---|
| 8490 |         char b[false == 0 ? 1 : -1]; | 
|---|
| 8491 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 8492 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
| 8493 |         bool e = &s; | 
|---|
| 8494 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
| 8495 |         char g[true]; | 
|---|
| 8496 |         char h[sizeof (_Bool)]; | 
|---|
| 8497 |         char i[sizeof s.t]; | 
|---|
| 8498 |  | 
|---|
| 8499 | int | 
|---|
| 8500 | main () | 
|---|
| 8501 | { | 
|---|
| 8502 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
| 8503 |   ; | 
|---|
| 8504 |   return 0; | 
|---|
| 8505 | } | 
|---|
| 8506 | _ACEOF | 
|---|
| 8507 | rm -f conftest.$ac_objext | 
|---|
| 8508 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8509 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8510 |   ac_status=$? | 
|---|
| 8511 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8512 |   rm -f conftest.er1 | 
|---|
| 8513 |   cat conftest.err >&5 | 
|---|
| 8514 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8515 |   (exit $ac_status); } && | 
|---|
| 8516 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8517 |                          || test ! -s conftest.err' | 
|---|
| 8518 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8519 |   (eval $ac_try) 2>&5 | 
|---|
| 8520 |   ac_status=$? | 
|---|
| 8521 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8522 |   (exit $ac_status); }; } && | 
|---|
| 8523 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 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); }; }; then | 
|---|
| 8529 |   ac_cv_header_stdbool_h=yes | 
|---|
| 8530 | else | 
|---|
| 8531 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8532 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8533 |  | 
|---|
| 8534 | ac_cv_header_stdbool_h=no | 
|---|
| 8535 | fi | 
|---|
| 8536 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8537 | fi | 
|---|
| 8538 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 8539 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
| 8540 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
| 8541 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
| 8542 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
| 8543 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8544 | else | 
|---|
| 8545 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8546 | /* confdefs.h.  */ | 
|---|
| 8547 | _ACEOF | 
|---|
| 8548 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8549 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8550 | /* end confdefs.h.  */ | 
|---|
| 8551 | $ac_includes_default | 
|---|
| 8552 | int | 
|---|
| 8553 | main () | 
|---|
| 8554 | { | 
|---|
| 8555 | if ((_Bool *) 0) | 
|---|
| 8556 |   return 0; | 
|---|
| 8557 | if (sizeof (_Bool)) | 
|---|
| 8558 |   return 0; | 
|---|
| 8559 |   ; | 
|---|
| 8560 |   return 0; | 
|---|
| 8561 | } | 
|---|
| 8562 | _ACEOF | 
|---|
| 8563 | rm -f conftest.$ac_objext | 
|---|
| 8564 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8565 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8566 |   ac_status=$? | 
|---|
| 8567 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8568 |   rm -f conftest.er1 | 
|---|
| 8569 |   cat conftest.err >&5 | 
|---|
| 8570 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8571 |   (exit $ac_status); } && | 
|---|
| 8572 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8573 |                          || test ! -s conftest.err' | 
|---|
| 8574 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8575 |   (eval $ac_try) 2>&5 | 
|---|
| 8576 |   ac_status=$? | 
|---|
| 8577 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8578 |   (exit $ac_status); }; } && | 
|---|
| 8579 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8580 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8581 |   (eval $ac_try) 2>&5 | 
|---|
| 8582 |   ac_status=$? | 
|---|
| 8583 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8584 |   (exit $ac_status); }; }; then | 
|---|
| 8585 |   ac_cv_type__Bool=yes | 
|---|
| 8586 | else | 
|---|
| 8587 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8588 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8589 |  | 
|---|
| 8590 | ac_cv_type__Bool=no | 
|---|
| 8591 | fi | 
|---|
| 8592 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8593 | fi | 
|---|
| 8594 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
| 8595 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
| 8596 | if test $ac_cv_type__Bool = yes; then | 
|---|
| 8597 |  | 
|---|
| 8598 | cat >>confdefs.h <<_ACEOF | 
|---|
| 8599 | #define HAVE__BOOL 1 | 
|---|
| 8600 | _ACEOF | 
|---|
| 8601 |  | 
|---|
| 8602 |  | 
|---|
| 8603 | fi | 
|---|
| 8604 |  | 
|---|
| 8605 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 8606 |  | 
|---|
| 8607 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8608 | #define HAVE_STDBOOL_H 1 | 
|---|
| 8609 | _ACEOF | 
|---|
| 8610 |  | 
|---|
| 8611 | fi | 
|---|
| 8612 |  | 
|---|
| 8613 |  | 
|---|
| 8614 | # Checks for library functions. | 
|---|
| 8615 |  | 
|---|
| 8616 | for ac_header in stdlib.h | 
|---|
| 8617 | do | 
|---|
| 8618 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8619 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8620 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8621 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8622 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8623 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8624 | fi | 
|---|
| 8625 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8626 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8627 | else | 
|---|
| 8628 |   # Is the header compilable? | 
|---|
| 8629 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8630 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8631 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8632 | /* confdefs.h.  */ | 
|---|
| 8633 | _ACEOF | 
|---|
| 8634 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8635 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8636 | /* end confdefs.h.  */ | 
|---|
| 8637 | $ac_includes_default | 
|---|
| 8638 | #include <$ac_header> | 
|---|
| 8639 | _ACEOF | 
|---|
| 8640 | rm -f conftest.$ac_objext | 
|---|
| 8641 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8642 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8643 |   ac_status=$? | 
|---|
| 8644 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8645 |   rm -f conftest.er1 | 
|---|
| 8646 |   cat conftest.err >&5 | 
|---|
| 8647 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8648 |   (exit $ac_status); } && | 
|---|
| 8649 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8650 |                          || test ! -s conftest.err' | 
|---|
| 8651 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8652 |   (eval $ac_try) 2>&5 | 
|---|
| 8653 |   ac_status=$? | 
|---|
| 8654 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8655 |   (exit $ac_status); }; } && | 
|---|
| 8656 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8657 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8658 |   (eval $ac_try) 2>&5 | 
|---|
| 8659 |   ac_status=$? | 
|---|
| 8660 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8661 |   (exit $ac_status); }; }; then | 
|---|
| 8662 |   ac_header_compiler=yes | 
|---|
| 8663 | else | 
|---|
| 8664 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8665 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8666 |  | 
|---|
| 8667 | ac_header_compiler=no | 
|---|
| 8668 | fi | 
|---|
| 8669 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8670 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8671 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8672 |  | 
|---|
| 8673 | # Is the header present? | 
|---|
| 8674 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8675 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8676 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8677 | /* confdefs.h.  */ | 
|---|
| 8678 | _ACEOF | 
|---|
| 8679 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8680 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8681 | /* end confdefs.h.  */ | 
|---|
| 8682 | #include <$ac_header> | 
|---|
| 8683 | _ACEOF | 
|---|
| 8684 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8685 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8686 |   ac_status=$? | 
|---|
| 8687 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8688 |   rm -f conftest.er1 | 
|---|
| 8689 |   cat conftest.err >&5 | 
|---|
| 8690 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8691 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8692 |   if test -s conftest.err; then | 
|---|
| 8693 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8694 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8695 |   else | 
|---|
| 8696 |     ac_cpp_err= | 
|---|
| 8697 |   fi | 
|---|
| 8698 | else | 
|---|
| 8699 |   ac_cpp_err=yes | 
|---|
| 8700 | fi | 
|---|
| 8701 | if test -z "$ac_cpp_err"; then | 
|---|
| 8702 |   ac_header_preproc=yes | 
|---|
| 8703 | else | 
|---|
| 8704 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8705 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8706 |  | 
|---|
| 8707 |   ac_header_preproc=no | 
|---|
| 8708 | fi | 
|---|
| 8709 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8710 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8711 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8712 |  | 
|---|
| 8713 | # So?  What about this header? | 
|---|
| 8714 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8715 |   yes:no: ) | 
|---|
| 8716 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8717 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8718 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8719 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8720 |     ac_header_preproc=yes | 
|---|
| 8721 |     ;; | 
|---|
| 8722 |   no:yes:* ) | 
|---|
| 8723 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8724 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8725 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8726 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8727 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8728 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8729 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8730 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8731 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8732 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8733 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8734 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8735 |     ( | 
|---|
| 8736 |       cat <<\_ASBOX | 
|---|
| 8737 | ## ---------------------------------------------- ## | 
|---|
| 8738 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8739 | ## ---------------------------------------------- ## | 
|---|
| 8740 | _ASBOX | 
|---|
| 8741 |     ) | | 
|---|
| 8742 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8743 |     ;; | 
|---|
| 8744 | esac | 
|---|
| 8745 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8746 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8747 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8748 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8749 | else | 
|---|
| 8750 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8751 | fi | 
|---|
| 8752 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8753 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8754 |  | 
|---|
| 8755 | fi | 
|---|
| 8756 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8757 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8758 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8759 | _ACEOF | 
|---|
| 8760 |  | 
|---|
| 8761 | fi | 
|---|
| 8762 |  | 
|---|
| 8763 | done | 
|---|
| 8764 |  | 
|---|
| 8765 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
| 8766 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
| 8767 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
| 8768 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8769 | else | 
|---|
| 8770 |   if test "$cross_compiling" = yes; then | 
|---|
| 8771 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
| 8772 | else | 
|---|
| 8773 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8774 | /* confdefs.h.  */ | 
|---|
| 8775 | _ACEOF | 
|---|
| 8776 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8777 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8778 | /* end confdefs.h.  */ | 
|---|
| 8779 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
| 8780 | # include <stdlib.h> | 
|---|
| 8781 | #else | 
|---|
| 8782 | char *malloc (); | 
|---|
| 8783 | #endif | 
|---|
| 8784 |  | 
|---|
| 8785 | int | 
|---|
| 8786 | main () | 
|---|
| 8787 | { | 
|---|
| 8788 | exit (malloc (0) ? 0 : 1); | 
|---|
| 8789 |   ; | 
|---|
| 8790 |   return 0; | 
|---|
| 8791 | } | 
|---|
| 8792 | _ACEOF | 
|---|
| 8793 | rm -f conftest$ac_exeext | 
|---|
| 8794 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8795 |   (eval $ac_link) 2>&5 | 
|---|
| 8796 |   ac_status=$? | 
|---|
| 8797 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8798 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 8799 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8800 |   (eval $ac_try) 2>&5 | 
|---|
| 8801 |   ac_status=$? | 
|---|
| 8802 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8803 |   (exit $ac_status); }; }; then | 
|---|
| 8804 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
| 8805 | else | 
|---|
| 8806 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 8807 | echo "$as_me: failed program was:" >&5 | 
|---|
| 8808 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8809 |  | 
|---|
| 8810 | ( exit $ac_status ) | 
|---|
| 8811 | ac_cv_func_malloc_0_nonnull=no | 
|---|
| 8812 | fi | 
|---|
| 8813 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8814 | fi | 
|---|
| 8815 | fi | 
|---|
| 8816 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
| 8817 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
| 8818 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
| 8819 |  | 
|---|
| 8820 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8821 | #define HAVE_MALLOC 1 | 
|---|
| 8822 | _ACEOF | 
|---|
| 8823 |  | 
|---|
| 8824 | else | 
|---|
| 8825 |   cat >>confdefs.h <<\_ACEOF | 
|---|
| 8826 | #define HAVE_MALLOC 0 | 
|---|
| 8827 | _ACEOF | 
|---|
| 8828 |  | 
|---|
| 8829 |    case $LIBOBJS in | 
|---|
| 8830 |     "malloc.$ac_objext"   | \ | 
|---|
| 8831 |   *" malloc.$ac_objext"   | \ | 
|---|
| 8832 |     "malloc.$ac_objext "* | \ | 
|---|
| 8833 |   *" malloc.$ac_objext "* ) ;; | 
|---|
| 8834 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
| 8835 | esac | 
|---|
| 8836 |  | 
|---|
| 8837 |  | 
|---|
| 8838 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8839 | #define malloc rpl_malloc | 
|---|
| 8840 | _ACEOF | 
|---|
| 8841 |  | 
|---|
| 8842 | fi | 
|---|
| 8843 |  | 
|---|
| 8844 |  | 
|---|
| 8845 |  | 
|---|
| 8846 |  | 
|---|
| 8847 |  | 
|---|
| 8848 | for ac_func in bzero sqrt | 
|---|
| 8849 | do | 
|---|
| 8850 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 8851 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
| 8852 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
| 8853 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
| 8854 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8855 | else | 
|---|
| 8856 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8857 | /* confdefs.h.  */ | 
|---|
| 8858 | _ACEOF | 
|---|
| 8859 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8860 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8861 | /* end confdefs.h.  */ | 
|---|
| 8862 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
| 8863 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 8864 | #define $ac_func innocuous_$ac_func | 
|---|
| 8865 |  | 
|---|
| 8866 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 8867 |     which can conflict with char $ac_func (); below. | 
|---|
| 8868 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 8869 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 8870 |  | 
|---|
| 8871 | #ifdef __STDC__ | 
|---|
| 8872 | # include <limits.h> | 
|---|
| 8873 | #else | 
|---|
| 8874 | # include <assert.h> | 
|---|
| 8875 | #endif | 
|---|
| 8876 |  | 
|---|
| 8877 | #undef $ac_func | 
|---|
| 8878 |  | 
|---|
| 8879 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 8880 | #ifdef __cplusplus | 
|---|
| 8881 | extern "C" | 
|---|
| 8882 | { | 
|---|
| 8883 | #endif | 
|---|
| 8884 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 8885 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 8886 | char $ac_func (); | 
|---|
| 8887 | /* The GNU C library defines this for functions which it implements | 
|---|
| 8888 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 8889 |     something starting with __ and the normal name is an alias.  */ | 
|---|
| 8890 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
| 8891 | choke me | 
|---|
| 8892 | #else | 
|---|
| 8893 | char (*f) () = $ac_func; | 
|---|
| 8894 | #endif | 
|---|
| 8895 | #ifdef __cplusplus | 
|---|
| 8896 | } | 
|---|
| 8897 | #endif | 
|---|
| 8898 |  | 
|---|
| 8899 | int | 
|---|
| 8900 | main () | 
|---|
| 8901 | { | 
|---|
| 8902 | return f != $ac_func; | 
|---|
| 8903 |   ; | 
|---|
| 8904 |   return 0; | 
|---|
| 8905 | } | 
|---|
| 8906 | _ACEOF | 
|---|
| 8907 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8908 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8909 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8910 |   ac_status=$? | 
|---|
| 8911 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8912 |   rm -f conftest.er1 | 
|---|
| 8913 |   cat conftest.err >&5 | 
|---|
| 8914 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8915 |   (exit $ac_status); } && | 
|---|
| 8916 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8917 |                          || test ! -s conftest.err' | 
|---|
| 8918 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8919 |   (eval $ac_try) 2>&5 | 
|---|
| 8920 |   ac_status=$? | 
|---|
| 8921 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8922 |   (exit $ac_status); }; } && | 
|---|
| 8923 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8924 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8925 |   (eval $ac_try) 2>&5 | 
|---|
| 8926 |   ac_status=$? | 
|---|
| 8927 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8928 |   (exit $ac_status); }; }; then | 
|---|
| 8929 |   eval "$as_ac_var=yes" | 
|---|
| 8930 | else | 
|---|
| 8931 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8932 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8933 |  | 
|---|
| 8934 | eval "$as_ac_var=no" | 
|---|
| 8935 | fi | 
|---|
| 8936 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8937 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8938 | fi | 
|---|
| 8939 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
| 8940 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
| 8941 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
| 8942 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8943 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 8944 | _ACEOF | 
|---|
| 8945 |  | 
|---|
| 8946 | fi | 
|---|
| 8947 | done | 
|---|
| 8948 |  | 
|---|
| 8949 |  | 
|---|
| 8950 | ###################### | 
|---|
| 8951 | ## OUTPUT CONFIGURE ## | 
|---|
| 8952 | ###################### | 
|---|
| 8953 |                                                                                                                                                                                               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/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 src/subprojects/gui/Makefile" | 
|---|
| 8954 |  | 
|---|
| 8955 |  | 
|---|
| 8956 | cat >confcache <<\_ACEOF | 
|---|
| 8957 | # This file is a shell script that caches the results of configure | 
|---|
| 8958 | # tests run on this system so they can be shared between configure | 
|---|
| 8959 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 8960 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 8961 | # want to keep, you may remove or edit it. | 
|---|
| 8962 | # | 
|---|
| 8963 | # config.status only pays attention to the cache file if you give it | 
|---|
| 8964 | # the --recheck option to rerun configure. | 
|---|
| 8965 | # | 
|---|
| 8966 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 8967 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 8968 | # following values. | 
|---|
| 8969 |  | 
|---|
| 8970 | _ACEOF | 
|---|
| 8971 |  | 
|---|
| 8972 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 8973 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 8974 | # So, don't put newlines in cache variables' values. | 
|---|
| 8975 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 8976 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 8977 | { | 
|---|
| 8978 |   (set) 2>&1 | | 
|---|
| 8979 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 8980 |     *ac_space=\ *) | 
|---|
| 8981 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
| 8982 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 8983 |       sed -n \ | 
|---|
| 8984 |         "s/'/'\\\\''/g; | 
|---|
| 8985 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 8986 |       ;; | 
|---|
| 8987 |     *) | 
|---|
| 8988 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 8989 |       sed -n \ | 
|---|
| 8990 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 8991 |       ;; | 
|---|
| 8992 |     esac; | 
|---|
| 8993 | } | | 
|---|
| 8994 |   sed ' | 
|---|
| 8995 |      t clear | 
|---|
| 8996 |      : clear | 
|---|
| 8997 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 8998 |      t end | 
|---|
| 8999 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 9000 |      : end' >>confcache | 
|---|
| 9001 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
| 9002 |   if test -w $cache_file; then | 
|---|
| 9003 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
| 9004 |     cat confcache >$cache_file | 
|---|
| 9005 |   else | 
|---|
| 9006 |     echo "not updating unwritable cache $cache_file" | 
|---|
| 9007 |   fi | 
|---|
| 9008 | fi | 
|---|
| 9009 | rm -f confcache | 
|---|
| 9010 |  | 
|---|
| 9011 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 9012 | # Let make expand exec_prefix. | 
|---|
| 9013 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 9014 |  | 
|---|
| 9015 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
| 9016 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
| 9017 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 9018 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 9019 | if test "x$srcdir" = x.; then | 
|---|
| 9020 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
| 9021 | s/:*\$(srcdir):*/:/; | 
|---|
| 9022 | s/:*\${srcdir}:*/:/; | 
|---|
| 9023 | s/:*@srcdir@:*/:/; | 
|---|
| 9024 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
| 9025 | s/:*$//; | 
|---|
| 9026 | s/^[^=]*=[       ]*$//; | 
|---|
| 9027 | }' | 
|---|
| 9028 | fi | 
|---|
| 9029 |  | 
|---|
| 9030 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 9031 |  | 
|---|
| 9032 | ac_libobjs= | 
|---|
| 9033 | ac_ltlibobjs= | 
|---|
| 9034 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 9035 |   # 1. Remove the extension, and $U if already installed. | 
|---|
| 9036 |   ac_i=`echo "$ac_i" | | 
|---|
| 9037 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
| 9038 |   # 2. Add them. | 
|---|
| 9039 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
| 9040 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
| 9041 | done | 
|---|
| 9042 | LIBOBJS=$ac_libobjs | 
|---|
| 9043 |  | 
|---|
| 9044 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 9045 |  | 
|---|
| 9046 |  | 
|---|
| 9047 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 9048 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
| 9049 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9050 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
| 9051 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9052 |    { (exit 1); exit 1; }; } | 
|---|
| 9053 | fi | 
|---|
| 9054 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 9055 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 9056 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9057 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 9058 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9059 |    { (exit 1); exit 1; }; } | 
|---|
| 9060 | fi | 
|---|
| 9061 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 9062 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 9063 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9064 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 9065 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9066 |    { (exit 1); exit 1; }; } | 
|---|
| 9067 | fi | 
|---|
| 9068 | if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then | 
|---|
| 9069 |   { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 9070 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9071 | echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 9072 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9073 |    { (exit 1); exit 1; }; } | 
|---|
| 9074 | fi | 
|---|
| 9075 | if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then | 
|---|
| 9076 |   { { echo "$as_me:$LINENO: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 9077 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9078 | echo "$as_me: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 9079 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9080 |    { (exit 1); exit 1; }; } | 
|---|
| 9081 | fi | 
|---|
| 9082 | if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then | 
|---|
| 9083 |   { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 9084 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9085 | echo "$as_me: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 9086 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9087 |    { (exit 1); exit 1; }; } | 
|---|
| 9088 | fi | 
|---|
| 9089 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
| 9090 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 9091 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9092 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 9093 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9094 |    { (exit 1); exit 1; }; } | 
|---|
| 9095 | fi | 
|---|
| 9096 | if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then | 
|---|
| 9097 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 9098 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 9099 | echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 9100 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 9101 |    { (exit 1); exit 1; }; } | 
|---|
| 9102 | fi | 
|---|
| 9103 |  | 
|---|
| 9104 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 9105 | ac_clean_files_save=$ac_clean_files | 
|---|
| 9106 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 9107 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
| 9108 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 9109 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
| 9110 | #! $SHELL | 
|---|
| 9111 | # Generated by $as_me. | 
|---|
| 9112 | # Run this file to recreate the current configuration. | 
|---|
| 9113 | # Compiler output produced by configure, useful for debugging | 
|---|
| 9114 | # configure, is in config.log if it exists. | 
|---|
| 9115 |  | 
|---|
| 9116 | debug=false | 
|---|
| 9117 | ac_cs_recheck=false | 
|---|
| 9118 | ac_cs_silent=false | 
|---|
| 9119 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 9120 | _ACEOF | 
|---|
| 9121 |  | 
|---|
| 9122 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9123 | ## --------------------- ## | 
|---|
| 9124 | ## M4sh Initialization.  ## | 
|---|
| 9125 | ## --------------------- ## | 
|---|
| 9126 |  | 
|---|
| 9127 | # Be Bourne compatible | 
|---|
| 9128 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 9129 |   emulate sh | 
|---|
| 9130 |   NULLCMD=: | 
|---|
| 9131 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 9132 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 9133 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 9134 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 9135 |   set -o posix | 
|---|
| 9136 | fi | 
|---|
| 9137 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 9138 |  | 
|---|
| 9139 | # Support unset when possible. | 
|---|
| 9140 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 9141 |   as_unset=unset | 
|---|
| 9142 | else | 
|---|
| 9143 |   as_unset=false | 
|---|
| 9144 | fi | 
|---|
| 9145 |  | 
|---|
| 9146 |  | 
|---|
| 9147 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 9148 | $as_unset ENV MAIL MAILPATH | 
|---|
| 9149 | PS1='$ ' | 
|---|
| 9150 | PS2='> ' | 
|---|
| 9151 | PS4='+ ' | 
|---|
| 9152 |  | 
|---|
| 9153 | # NLS nuisances. | 
|---|
| 9154 | for as_var in \ | 
|---|
| 9155 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 9156 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 9157 |   LC_TELEPHONE LC_TIME | 
|---|
| 9158 | do | 
|---|
| 9159 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 9160 |     eval $as_var=C; export $as_var | 
|---|
| 9161 |   else | 
|---|
| 9162 |     $as_unset $as_var | 
|---|
| 9163 |   fi | 
|---|
| 9164 | done | 
|---|
| 9165 |  | 
|---|
| 9166 | # Required to use basename. | 
|---|
| 9167 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 9168 |   as_expr=expr | 
|---|
| 9169 | else | 
|---|
| 9170 |   as_expr=false | 
|---|
| 9171 | fi | 
|---|
| 9172 |  | 
|---|
| 9173 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 9174 |   as_basename=basename | 
|---|
| 9175 | else | 
|---|
| 9176 |   as_basename=false | 
|---|
| 9177 | fi | 
|---|
| 9178 |  | 
|---|
| 9179 |  | 
|---|
| 9180 | # Name of the executable. | 
|---|
| 9181 | as_me=`$as_basename "$0" || | 
|---|
| 9182 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 9183 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 9184 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 9185 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9186 | echo X/"$0" | | 
|---|
| 9187 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 9188 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9189 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 9190 |           s/.*/./; q'` | 
|---|
| 9191 |  | 
|---|
| 9192 |  | 
|---|
| 9193 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 9194 | # Avoid depending upon Character Ranges. | 
|---|
| 9195 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 9196 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 9197 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 9198 | as_cr_digits='0123456789' | 
|---|
| 9199 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 9200 |  | 
|---|
| 9201 | # The user is always right. | 
|---|
| 9202 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 9203 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 9204 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 9205 |   chmod +x conf$$.sh | 
|---|
| 9206 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 9207 |     PATH_SEPARATOR=';' | 
|---|
| 9208 |   else | 
|---|
| 9209 |     PATH_SEPARATOR=: | 
|---|
| 9210 |   fi | 
|---|
| 9211 |   rm -f conf$$.sh | 
|---|
| 9212 | fi | 
|---|
| 9213 |  | 
|---|
| 9214 |  | 
|---|
| 9215 |   as_lineno_1=$LINENO | 
|---|
| 9216 |   as_lineno_2=$LINENO | 
|---|
| 9217 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 9218 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 9219 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 9220 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 9221 |   # relative or not. | 
|---|
| 9222 |   case $0 in | 
|---|
| 9223 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 9224 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 9225 | for as_dir in $PATH | 
|---|
| 9226 | do | 
|---|
| 9227 |   IFS=$as_save_IFS | 
|---|
| 9228 |   test -z "$as_dir" && as_dir=. | 
|---|
| 9229 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 9230 | done | 
|---|
| 9231 |  | 
|---|
| 9232 |        ;; | 
|---|
| 9233 |   esac | 
|---|
| 9234 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 9235 |   # in which case we are not to be found in the path. | 
|---|
| 9236 |   if test "x$as_myself" = x; then | 
|---|
| 9237 |     as_myself=$0 | 
|---|
| 9238 |   fi | 
|---|
| 9239 |   if test ! -f "$as_myself"; then | 
|---|
| 9240 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
| 9241 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
| 9242 |    { (exit 1); exit 1; }; } | 
|---|
| 9243 |   fi | 
|---|
| 9244 |   case $CONFIG_SHELL in | 
|---|
| 9245 |   '') | 
|---|
| 9246 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 9247 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 9248 | do | 
|---|
| 9249 |   IFS=$as_save_IFS | 
|---|
| 9250 |   test -z "$as_dir" && as_dir=. | 
|---|
| 9251 |   for as_base in sh bash ksh sh5; do | 
|---|
| 9252 |          case $as_dir in | 
|---|
| 9253 |          /*) | 
|---|
| 9254 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 9255 |   as_lineno_1=$LINENO | 
|---|
| 9256 |   as_lineno_2=$LINENO | 
|---|
| 9257 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 9258 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 9259 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 9260 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 9261 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 9262 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 9263 |              export CONFIG_SHELL | 
|---|
| 9264 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 9265 |            fi;; | 
|---|
| 9266 |          esac | 
|---|
| 9267 |        done | 
|---|
| 9268 | done | 
|---|
| 9269 | ;; | 
|---|
| 9270 |   esac | 
|---|
| 9271 |  | 
|---|
| 9272 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 9273 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 9274 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 9275 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 9276 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 9277 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 9278 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 9279 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 9280 |   sed '=' <$as_myself | | 
|---|
| 9281 |     sed ' | 
|---|
| 9282 |       N | 
|---|
| 9283 |       s,$,-, | 
|---|
| 9284 |       : loop | 
|---|
| 9285 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 9286 |       t loop | 
|---|
| 9287 |       s,-$,, | 
|---|
| 9288 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 9289 |     ' >$as_me.lineno && | 
|---|
| 9290 |   chmod +x $as_me.lineno || | 
|---|
| 9291 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
| 9292 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
| 9293 |    { (exit 1); exit 1; }; } | 
|---|
| 9294 |  | 
|---|
| 9295 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 9296 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 9297 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 9298 |   . ./$as_me.lineno | 
|---|
| 9299 |   # Exit status is that of the last command. | 
|---|
| 9300 |   exit | 
|---|
| 9301 | } | 
|---|
| 9302 |  | 
|---|
| 9303 |  | 
|---|
| 9304 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 9305 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 9306 | ' ECHO_T='      ' ;; | 
|---|
| 9307 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 9308 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 9309 | esac | 
|---|
| 9310 |  | 
|---|
| 9311 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 9312 |   as_expr=expr | 
|---|
| 9313 | else | 
|---|
| 9314 |   as_expr=false | 
|---|
| 9315 | fi | 
|---|
| 9316 |  | 
|---|
| 9317 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 9318 | echo >conf$$.file | 
|---|
| 9319 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 9320 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 9321 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 9322 |   if test -f conf$$.exe; then | 
|---|
| 9323 |     # Don't use ln at all; we don't have any links | 
|---|
| 9324 |     as_ln_s='cp -p' | 
|---|
| 9325 |   else | 
|---|
| 9326 |     as_ln_s='ln -s' | 
|---|
| 9327 |   fi | 
|---|
| 9328 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 9329 |   as_ln_s=ln | 
|---|
| 9330 | else | 
|---|
| 9331 |   as_ln_s='cp -p' | 
|---|
| 9332 | fi | 
|---|
| 9333 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 9334 |  | 
|---|
| 9335 | if mkdir -p . 2>/dev/null; then | 
|---|
| 9336 |   as_mkdir_p=: | 
|---|
| 9337 | else | 
|---|
| 9338 |   test -d ./-p && rmdir ./-p | 
|---|
| 9339 |   as_mkdir_p=false | 
|---|
| 9340 | fi | 
|---|
| 9341 |  | 
|---|
| 9342 | as_executable_p="test -f" | 
|---|
| 9343 |  | 
|---|
| 9344 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 9345 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 9346 |  | 
|---|
| 9347 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 9348 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 9349 |  | 
|---|
| 9350 |  | 
|---|
| 9351 | # IFS | 
|---|
| 9352 | # We need space, tab and new line, in precisely that order. | 
|---|
| 9353 | as_nl=' | 
|---|
| 9354 | ' | 
|---|
| 9355 | IFS="   $as_nl" | 
|---|
| 9356 |  | 
|---|
| 9357 | # CDPATH. | 
|---|
| 9358 | $as_unset CDPATH | 
|---|
| 9359 |  | 
|---|
| 9360 | exec 6>&1 | 
|---|
| 9361 |  | 
|---|
| 9362 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
| 9363 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 9364 | # values after options handling.  Logging --version etc. is OK. | 
|---|
| 9365 | exec 5>>config.log | 
|---|
| 9366 | { | 
|---|
| 9367 |   echo | 
|---|
| 9368 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 9369 | ## Running $as_me. ## | 
|---|
| 9370 | _ASBOX | 
|---|
| 9371 | } >&5 | 
|---|
| 9372 | cat >&5 <<_CSEOF | 
|---|
| 9373 |  | 
|---|
| 9374 | This file was extended by orxonox $as_me 0.3.0_alpha, which was | 
|---|
| 9375 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 9376 |  | 
|---|
| 9377 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 9378 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 9379 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 9380 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 9381 |   $ $0 $@ | 
|---|
| 9382 |  | 
|---|
| 9383 | _CSEOF | 
|---|
| 9384 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
| 9385 | echo >&5 | 
|---|
| 9386 | _ACEOF | 
|---|
| 9387 |  | 
|---|
| 9388 | # Files that config.status was made for. | 
|---|
| 9389 | if test -n "$ac_config_files"; then | 
|---|
| 9390 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
| 9391 | fi | 
|---|
| 9392 |  | 
|---|
| 9393 | if test -n "$ac_config_headers"; then | 
|---|
| 9394 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
| 9395 | fi | 
|---|
| 9396 |  | 
|---|
| 9397 | if test -n "$ac_config_links"; then | 
|---|
| 9398 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
| 9399 | fi | 
|---|
| 9400 |  | 
|---|
| 9401 | if test -n "$ac_config_commands"; then | 
|---|
| 9402 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
| 9403 | fi | 
|---|
| 9404 |  | 
|---|
| 9405 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9406 |  | 
|---|
| 9407 | ac_cs_usage="\ | 
|---|
| 9408 | \`$as_me' instantiates files from templates according to the | 
|---|
| 9409 | current configuration. | 
|---|
| 9410 |  | 
|---|
| 9411 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
| 9412 |  | 
|---|
| 9413 |   -h, --help       print this help, then exit | 
|---|
| 9414 |   -V, --version    print version number, then exit | 
|---|
| 9415 |   -q, --quiet      do not print progress messages | 
|---|
| 9416 |   -d, --debug      don't remove temporary files | 
|---|
| 9417 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 9418 |   --file=FILE[:TEMPLATE] | 
|---|
| 9419 |                    instantiate the configuration file FILE | 
|---|
| 9420 |   --header=FILE[:TEMPLATE] | 
|---|
| 9421 |                    instantiate the configuration header FILE | 
|---|
| 9422 |  | 
|---|
| 9423 | Configuration files: | 
|---|
| 9424 | $config_files | 
|---|
| 9425 |  | 
|---|
| 9426 | Configuration headers: | 
|---|
| 9427 | $config_headers | 
|---|
| 9428 |  | 
|---|
| 9429 | Configuration commands: | 
|---|
| 9430 | $config_commands | 
|---|
| 9431 |  | 
|---|
| 9432 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
| 9433 | _ACEOF | 
|---|
| 9434 |  | 
|---|
| 9435 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9436 | ac_cs_version="\\ | 
|---|
| 9437 | orxonox config.status 0.3.0_alpha | 
|---|
| 9438 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
| 9439 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
| 9440 |  | 
|---|
| 9441 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 9442 | This config.status script is free software; the Free Software Foundation | 
|---|
| 9443 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 9444 | srcdir=$srcdir | 
|---|
| 9445 | INSTALL="$INSTALL" | 
|---|
| 9446 | _ACEOF | 
|---|
| 9447 |  | 
|---|
| 9448 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9449 | # If no file are specified by the user, then we need to provide default | 
|---|
| 9450 | # value.  By we need to know if files were specified by the user. | 
|---|
| 9451 | ac_need_defaults=: | 
|---|
| 9452 | while test $# != 0 | 
|---|
| 9453 | do | 
|---|
| 9454 |   case $1 in | 
|---|
| 9455 |   --*=*) | 
|---|
| 9456 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
| 9457 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
| 9458 |     ac_shift=: | 
|---|
| 9459 |     ;; | 
|---|
| 9460 |   -*) | 
|---|
| 9461 |     ac_option=$1 | 
|---|
| 9462 |     ac_optarg=$2 | 
|---|
| 9463 |     ac_shift=shift | 
|---|
| 9464 |     ;; | 
|---|
| 9465 |   *) # This is not an option, so the user has probably given explicit | 
|---|
| 9466 |      # arguments. | 
|---|
| 9467 |      ac_option=$1 | 
|---|
| 9468 |      ac_need_defaults=false;; | 
|---|
| 9469 |   esac | 
|---|
| 9470 |  | 
|---|
| 9471 |   case $ac_option in | 
|---|
| 9472 |   # Handling of the options. | 
|---|
| 9473 | _ACEOF | 
|---|
| 9474 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9475 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 9476 |     ac_cs_recheck=: ;; | 
|---|
| 9477 |   --version | --vers* | -V ) | 
|---|
| 9478 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
| 9479 |   --he | --h) | 
|---|
| 9480 |     # Conflict between --help and --header | 
|---|
| 9481 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
| 9482 | Try \`$0 --help' for more information." >&5 | 
|---|
| 9483 | echo "$as_me: error: ambiguous option: $1 | 
|---|
| 9484 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 9485 |    { (exit 1); exit 1; }; };; | 
|---|
| 9486 |   --help | --hel | -h ) | 
|---|
| 9487 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
| 9488 |   --debug | --d* | -d ) | 
|---|
| 9489 |     debug=: ;; | 
|---|
| 9490 |   --file | --fil | --fi | --f ) | 
|---|
| 9491 |     $ac_shift | 
|---|
| 9492 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
| 9493 |     ac_need_defaults=false;; | 
|---|
| 9494 |   --header | --heade | --head | --hea ) | 
|---|
| 9495 |     $ac_shift | 
|---|
| 9496 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
| 9497 |     ac_need_defaults=false;; | 
|---|
| 9498 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 9499 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 9500 |     ac_cs_silent=: ;; | 
|---|
| 9501 |  | 
|---|
| 9502 |   # This is an error. | 
|---|
| 9503 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
| 9504 | Try \`$0 --help' for more information." >&5 | 
|---|
| 9505 | echo "$as_me: error: unrecognized option: $1 | 
|---|
| 9506 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 9507 |    { (exit 1); exit 1; }; } ;; | 
|---|
| 9508 |  | 
|---|
| 9509 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
| 9510 |  | 
|---|
| 9511 |   esac | 
|---|
| 9512 |   shift | 
|---|
| 9513 | done | 
|---|
| 9514 |  | 
|---|
| 9515 | ac_configure_extra_args= | 
|---|
| 9516 |  | 
|---|
| 9517 | if $ac_cs_silent; then | 
|---|
| 9518 |   exec 6>/dev/null | 
|---|
| 9519 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 9520 | fi | 
|---|
| 9521 |  | 
|---|
| 9522 | _ACEOF | 
|---|
| 9523 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9524 | if \$ac_cs_recheck; then | 
|---|
| 9525 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
| 9526 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 9527 | fi | 
|---|
| 9528 |  | 
|---|
| 9529 | _ACEOF | 
|---|
| 9530 |  | 
|---|
| 9531 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9532 | # | 
|---|
| 9533 | # INIT-COMMANDS section. | 
|---|
| 9534 | # | 
|---|
| 9535 |  | 
|---|
| 9536 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 9537 |  | 
|---|
| 9538 | _ACEOF | 
|---|
| 9539 |  | 
|---|
| 9540 |  | 
|---|
| 9541 |  | 
|---|
| 9542 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9543 | for ac_config_target in $ac_config_targets | 
|---|
| 9544 | do | 
|---|
| 9545 |   case "$ac_config_target" in | 
|---|
| 9546 |   # Handling of arguments. | 
|---|
| 9547 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 9548 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 9549 |   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | 
|---|
| 9550 |   "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;; | 
|---|
| 9551 |   "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;; | 
|---|
| 9552 |   "src/lib/graphics/spatial_separation/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/spatial_separation/Makefile" ;; | 
|---|
| 9553 |   "src/lib/sound/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sound/Makefile" ;; | 
|---|
| 9554 |   "src/lib/event/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/event/Makefile" ;; | 
|---|
| 9555 |   "src/lib/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/physics/Makefile" ;; | 
|---|
| 9556 |   "src/lib/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/particles/Makefile" ;; | 
|---|
| 9557 |   "src/lib/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/collision_detection/Makefile" ;; | 
|---|
| 9558 |   "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;; | 
|---|
| 9559 |   "src/lib/tinyxml/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/tinyxml/Makefile" ;; | 
|---|
| 9560 |   "src/subprojects/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/Makefile" ;; | 
|---|
| 9561 |   "src/subprojects/testmain/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/testmain/Makefile" ;; | 
|---|
| 9562 |   "src/subprojects/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/importer/Makefile" ;; | 
|---|
| 9563 |   "src/subprojects/particles/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/particles/Makefile" ;; | 
|---|
| 9564 |   "src/subprojects/collision_detection/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/collision_detection/Makefile" ;; | 
|---|
| 9565 |   "src/subprojects/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/gui/Makefile" ;; | 
|---|
| 9566 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 9567 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
| 9568 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
| 9569 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
| 9570 |    { (exit 1); exit 1; }; };; | 
|---|
| 9571 |   esac | 
|---|
| 9572 | done | 
|---|
| 9573 |  | 
|---|
| 9574 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 9575 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 9576 | # We use the long form for the default assignment because of an extremely | 
|---|
| 9577 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 9578 | if $ac_need_defaults; then | 
|---|
| 9579 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 9580 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 9581 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 9582 | fi | 
|---|
| 9583 |  | 
|---|
| 9584 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 9585 | # simply because there is no reason to put it here, and in addition, | 
|---|
| 9586 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 9587 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
| 9588 | $debug || | 
|---|
| 9589 | { | 
|---|
| 9590 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
| 9591 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
| 9592 | } | 
|---|
| 9593 |  | 
|---|
| 9594 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 9595 |  | 
|---|
| 9596 | { | 
|---|
| 9597 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
| 9598 |   test -n "$tmp" && test -d "$tmp" | 
|---|
| 9599 | }  || | 
|---|
| 9600 | { | 
|---|
| 9601 |   tmp=./confstat$$-$RANDOM | 
|---|
| 9602 |   (umask 077 && mkdir $tmp) | 
|---|
| 9603 | } || | 
|---|
| 9604 | { | 
|---|
| 9605 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
| 9606 |    { (exit 1); exit 1; } | 
|---|
| 9607 | } | 
|---|
| 9608 |  | 
|---|
| 9609 | _ACEOF | 
|---|
| 9610 |  | 
|---|
| 9611 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9612 |  | 
|---|
| 9613 | # | 
|---|
| 9614 | # CONFIG_FILES section. | 
|---|
| 9615 | # | 
|---|
| 9616 |  | 
|---|
| 9617 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
| 9618 | # This happens for instance when ./config.status config.h | 
|---|
| 9619 | if test -n "\$CONFIG_FILES"; then | 
|---|
| 9620 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 9621 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
| 9622 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
| 9623 | s,@SHELL@,$SHELL,;t t | 
|---|
| 9624 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
| 9625 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
| 9626 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
| 9627 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
| 9628 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
| 9629 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
| 9630 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
| 9631 | s,@prefix@,$prefix,;t t | 
|---|
| 9632 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
| 9633 | s,@bindir@,$bindir,;t t | 
|---|
| 9634 | s,@sbindir@,$sbindir,;t t | 
|---|
| 9635 | s,@libexecdir@,$libexecdir,;t t | 
|---|
| 9636 | s,@datadir@,$datadir,;t t | 
|---|
| 9637 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
| 9638 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
| 9639 | s,@localstatedir@,$localstatedir,;t t | 
|---|
| 9640 | s,@libdir@,$libdir,;t t | 
|---|
| 9641 | s,@includedir@,$includedir,;t t | 
|---|
| 9642 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
| 9643 | s,@infodir@,$infodir,;t t | 
|---|
| 9644 | s,@mandir@,$mandir,;t t | 
|---|
| 9645 | s,@build_alias@,$build_alias,;t t | 
|---|
| 9646 | s,@host_alias@,$host_alias,;t t | 
|---|
| 9647 | s,@target_alias@,$target_alias,;t t | 
|---|
| 9648 | s,@DEFS@,$DEFS,;t t | 
|---|
| 9649 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
| 9650 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
| 9651 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
| 9652 | s,@LIBS@,$LIBS,;t t | 
|---|
| 9653 | s,@build@,$build,;t t | 
|---|
| 9654 | s,@build_cpu@,$build_cpu,;t t | 
|---|
| 9655 | s,@build_vendor@,$build_vendor,;t t | 
|---|
| 9656 | s,@build_os@,$build_os,;t t | 
|---|
| 9657 | s,@host@,$host,;t t | 
|---|
| 9658 | s,@host_cpu@,$host_cpu,;t t | 
|---|
| 9659 | s,@host_vendor@,$host_vendor,;t t | 
|---|
| 9660 | s,@host_os@,$host_os,;t t | 
|---|
| 9661 | s,@target@,$target,;t t | 
|---|
| 9662 | s,@target_cpu@,$target_cpu,;t t | 
|---|
| 9663 | s,@target_vendor@,$target_vendor,;t t | 
|---|
| 9664 | s,@target_os@,$target_os,;t t | 
|---|
| 9665 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
| 9666 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
| 9667 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
| 9668 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
| 9669 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
| 9670 | s,@VERSION@,$VERSION,;t t | 
|---|
| 9671 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
| 9672 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
| 9673 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
| 9674 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
| 9675 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
| 9676 | s,@AMTAR@,$AMTAR,;t t | 
|---|
| 9677 | s,@install_sh@,$install_sh,;t t | 
|---|
| 9678 | s,@STRIP@,$STRIP,;t t | 
|---|
| 9679 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
| 9680 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| 9681 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| 9682 | s,@AWK@,$AWK,;t t | 
|---|
| 9683 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
| 9684 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
| 9685 | s,@CXX@,$CXX,;t t | 
|---|
| 9686 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
| 9687 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
| 9688 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
| 9689 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
| 9690 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
| 9691 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
| 9692 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
| 9693 | s,@am__include@,$am__include,;t t | 
|---|
| 9694 | s,@am__quote@,$am__quote,;t t | 
|---|
| 9695 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
| 9696 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
| 9697 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
| 9698 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
| 9699 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
| 9700 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
| 9701 | s,@RANLIB@,$RANLIB,;t t | 
|---|
| 9702 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
|---|
| 9703 | s,@CC@,$CC,;t t | 
|---|
| 9704 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
| 9705 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
| 9706 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
| 9707 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
| 9708 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
| 9709 | s,@CPP@,$CPP,;t t | 
|---|
| 9710 | s,@EGREP@,$EGREP,;t t | 
|---|
| 9711 | s,@DEBUG@,$DEBUG,;t t | 
|---|
| 9712 | s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t | 
|---|
| 9713 | s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t | 
|---|
| 9714 | s,@DOCUMENTATION_TRUE@,$DOCUMENTATION_TRUE,;t t | 
|---|
| 9715 | s,@DOCUMENTATION_FALSE@,$DOCUMENTATION_FALSE,;t t | 
|---|
| 9716 | s,@DOXYGEN@,$DOXYGEN,;t t | 
|---|
| 9717 | s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t | 
|---|
| 9718 | s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t | 
|---|
| 9719 | s,@GPROF@,$GPROF,;t t | 
|---|
| 9720 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t | 
|---|
| 9721 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| 9722 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| 9723 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
| 9724 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
| 9725 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| 9726 | s,@CURL_LIBS@,$CURL_LIBS,;t t | 
|---|
| 9727 | s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t | 
|---|
| 9728 | s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t | 
|---|
| 9729 | s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t | 
|---|
| 9730 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
| 9731 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
| 9732 | CEOF | 
|---|
| 9733 |  | 
|---|
| 9734 | _ACEOF | 
|---|
| 9735 |  | 
|---|
| 9736 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9737 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 9738 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 9739 |   ac_max_sed_lines=48 | 
|---|
| 9740 |   ac_sed_frag=1 # Number of current file. | 
|---|
| 9741 |   ac_beg=1 # First line for current file. | 
|---|
| 9742 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
| 9743 |   ac_more_lines=: | 
|---|
| 9744 |   ac_sed_cmds= | 
|---|
| 9745 |   while $ac_more_lines; do | 
|---|
| 9746 |     if test $ac_beg -gt 1; then | 
|---|
| 9747 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 9748 |     else | 
|---|
| 9749 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 9750 |     fi | 
|---|
| 9751 |     if test ! -s $tmp/subs.frag; then | 
|---|
| 9752 |       ac_more_lines=false | 
|---|
| 9753 |     else | 
|---|
| 9754 |       # The purpose of the label and of the branching condition is to | 
|---|
| 9755 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
| 9756 |       # is no need to browse any of the substitutions). | 
|---|
| 9757 |       # These are the two extra sed commands mentioned above. | 
|---|
| 9758 |       (echo ':t | 
|---|
| 9759 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
| 9760 |       if test -z "$ac_sed_cmds"; then | 
|---|
| 9761 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 9762 |       else | 
|---|
| 9763 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 9764 |       fi | 
|---|
| 9765 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
| 9766 |       ac_beg=$ac_end | 
|---|
| 9767 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
| 9768 |     fi | 
|---|
| 9769 |   done | 
|---|
| 9770 |   if test -z "$ac_sed_cmds"; then | 
|---|
| 9771 |     ac_sed_cmds=cat | 
|---|
| 9772 |   fi | 
|---|
| 9773 | fi # test -n "$CONFIG_FILES" | 
|---|
| 9774 |  | 
|---|
| 9775 | _ACEOF | 
|---|
| 9776 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9777 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
| 9778 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 9779 |   case $ac_file in | 
|---|
| 9780 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 9781 |         cat >$tmp/stdin | 
|---|
| 9782 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9783 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9784 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9785 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9786 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 9787 |   esac | 
|---|
| 9788 |  | 
|---|
| 9789 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
| 9790 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 9791 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9792 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 9793 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 9794 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 9795 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9796 | echo X"$ac_file" | | 
|---|
| 9797 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9798 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9799 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9800 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9801 |           s/.*/./; q'` | 
|---|
| 9802 |   { if $as_mkdir_p; then | 
|---|
| 9803 |     mkdir -p "$ac_dir" | 
|---|
| 9804 |   else | 
|---|
| 9805 |     as_dir="$ac_dir" | 
|---|
| 9806 |     as_dirs= | 
|---|
| 9807 |     while test ! -d "$as_dir"; do | 
|---|
| 9808 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 9809 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 9810 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9811 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 9812 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 9813 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 9814 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9815 | echo X"$as_dir" | | 
|---|
| 9816 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9817 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9818 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9819 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9820 |           s/.*/./; q'` | 
|---|
| 9821 |     done | 
|---|
| 9822 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 9823 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 9824 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 9825 |    { (exit 1); exit 1; }; }; } | 
|---|
| 9826 |  | 
|---|
| 9827 |   ac_builddir=. | 
|---|
| 9828 |  | 
|---|
| 9829 | if test "$ac_dir" != .; then | 
|---|
| 9830 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 9831 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 9832 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 9833 | else | 
|---|
| 9834 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 9835 | fi | 
|---|
| 9836 |  | 
|---|
| 9837 | case $srcdir in | 
|---|
| 9838 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 9839 |     ac_srcdir=. | 
|---|
| 9840 |     if test -z "$ac_top_builddir"; then | 
|---|
| 9841 |        ac_top_srcdir=. | 
|---|
| 9842 |     else | 
|---|
| 9843 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 9844 |     fi ;; | 
|---|
| 9845 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 9846 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 9847 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 9848 |   *) # Relative path. | 
|---|
| 9849 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 9850 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 9851 | esac | 
|---|
| 9852 |  | 
|---|
| 9853 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 9854 | # the directories may not exist. | 
|---|
| 9855 | case `pwd` in | 
|---|
| 9856 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 9857 | *) | 
|---|
| 9858 |   case "$ac_dir" in | 
|---|
| 9859 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 9860 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 9861 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 9862 |   esac;; | 
|---|
| 9863 | esac | 
|---|
| 9864 | case $ac_abs_builddir in | 
|---|
| 9865 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9866 | *) | 
|---|
| 9867 |   case ${ac_top_builddir}. in | 
|---|
| 9868 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 9869 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9870 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 9871 |   esac;; | 
|---|
| 9872 | esac | 
|---|
| 9873 | case $ac_abs_builddir in | 
|---|
| 9874 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9875 | *) | 
|---|
| 9876 |   case $ac_srcdir in | 
|---|
| 9877 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 9878 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9879 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 9880 |   esac;; | 
|---|
| 9881 | esac | 
|---|
| 9882 | case $ac_abs_builddir in | 
|---|
| 9883 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9884 | *) | 
|---|
| 9885 |   case $ac_top_srcdir in | 
|---|
| 9886 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 9887 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9888 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 9889 |   esac;; | 
|---|
| 9890 | esac | 
|---|
| 9891 |  | 
|---|
| 9892 |  | 
|---|
| 9893 |   case $INSTALL in | 
|---|
| 9894 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 9895 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
| 9896 |   esac | 
|---|
| 9897 |  | 
|---|
| 9898 |   if test x"$ac_file" != x-; then | 
|---|
| 9899 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 9900 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 9901 |     rm -f "$ac_file" | 
|---|
| 9902 |   fi | 
|---|
| 9903 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 9904 |   # use $as_me), people would be surprised to read: | 
|---|
| 9905 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 9906 |   if test x"$ac_file" = x-; then | 
|---|
| 9907 |     configure_input= | 
|---|
| 9908 |   else | 
|---|
| 9909 |     configure_input="$ac_file.  " | 
|---|
| 9910 |   fi | 
|---|
| 9911 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
| 9912 |                                      sed 's,.*/,,'` by configure." | 
|---|
| 9913 |  | 
|---|
| 9914 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 9915 |   # src tree. | 
|---|
| 9916 |   ac_file_inputs=`IFS=: | 
|---|
| 9917 |     for f in $ac_file_in; do | 
|---|
| 9918 |       case $f in | 
|---|
| 9919 |       -) echo $tmp/stdin ;; | 
|---|
| 9920 |       [\\/$]*) | 
|---|
| 9921 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 9922 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9923 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9924 |    { (exit 1); exit 1; }; } | 
|---|
| 9925 |          echo "$f";; | 
|---|
| 9926 |       *) # Relative | 
|---|
| 9927 |          if test -f "$f"; then | 
|---|
| 9928 |            # Build tree | 
|---|
| 9929 |            echo "$f" | 
|---|
| 9930 |          elif test -f "$srcdir/$f"; then | 
|---|
| 9931 |            # Source tree | 
|---|
| 9932 |            echo "$srcdir/$f" | 
|---|
| 9933 |          else | 
|---|
| 9934 |            # /dev/null tree | 
|---|
| 9935 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9936 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9937 |    { (exit 1); exit 1; }; } | 
|---|
| 9938 |          fi;; | 
|---|
| 9939 |       esac | 
|---|
| 9940 |     done` || { (exit 1); exit 1; } | 
|---|
| 9941 | _ACEOF | 
|---|
| 9942 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9943 |   sed "$ac_vpsub | 
|---|
| 9944 | $extrasub | 
|---|
| 9945 | _ACEOF | 
|---|
| 9946 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9947 | :t | 
|---|
| 9948 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 9949 | s,@configure_input@,$configure_input,;t t | 
|---|
| 9950 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
| 9951 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
| 9952 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
| 9953 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
| 9954 | s,@builddir@,$ac_builddir,;t t | 
|---|
| 9955 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
| 9956 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
| 9957 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
| 9958 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
| 9959 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
| 9960 |   rm -f $tmp/stdin | 
|---|
| 9961 |   if test x"$ac_file" != x-; then | 
|---|
| 9962 |     mv $tmp/out $ac_file | 
|---|
| 9963 |   else | 
|---|
| 9964 |     cat $tmp/out | 
|---|
| 9965 |     rm -f $tmp/out | 
|---|
| 9966 |   fi | 
|---|
| 9967 |  | 
|---|
| 9968 | done | 
|---|
| 9969 | _ACEOF | 
|---|
| 9970 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9971 |  | 
|---|
| 9972 | # | 
|---|
| 9973 | # CONFIG_HEADER section. | 
|---|
| 9974 | # | 
|---|
| 9975 |  | 
|---|
| 9976 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
| 9977 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
| 9978 | # | 
|---|
| 9979 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
| 9980 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
| 9981 | ac_dB='[         ].*$,\1#\2' | 
|---|
| 9982 | ac_dC=' ' | 
|---|
| 9983 | ac_dD=',;t' | 
|---|
| 9984 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
| 9985 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
| 9986 | ac_uB='$,\1#\2define\3' | 
|---|
| 9987 | ac_uC=' ' | 
|---|
| 9988 | ac_uD=',;t' | 
|---|
| 9989 |  | 
|---|
| 9990 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
| 9991 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 9992 |   case $ac_file in | 
|---|
| 9993 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 9994 |         cat >$tmp/stdin | 
|---|
| 9995 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9996 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9997 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9998 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9999 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 10000 |   esac | 
|---|
| 10001 |  | 
|---|
| 10002 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 10003 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 10004 |  | 
|---|
| 10005 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 10006 |   # src tree. | 
|---|
| 10007 |   ac_file_inputs=`IFS=: | 
|---|
| 10008 |     for f in $ac_file_in; do | 
|---|
| 10009 |       case $f in | 
|---|
| 10010 |       -) echo $tmp/stdin ;; | 
|---|
| 10011 |       [\\/$]*) | 
|---|
| 10012 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 10013 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 10014 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 10015 |    { (exit 1); exit 1; }; } | 
|---|
| 10016 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
| 10017 |          echo "$f";; | 
|---|
| 10018 |       *) # Relative | 
|---|
| 10019 |          if test -f "$f"; then | 
|---|
| 10020 |            # Build tree | 
|---|
| 10021 |            echo "$f" | 
|---|
| 10022 |          elif test -f "$srcdir/$f"; then | 
|---|
| 10023 |            # Source tree | 
|---|
| 10024 |            echo "$srcdir/$f" | 
|---|
| 10025 |          else | 
|---|
| 10026 |            # /dev/null tree | 
|---|
| 10027 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 10028 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 10029 |    { (exit 1); exit 1; }; } | 
|---|
| 10030 |          fi;; | 
|---|
| 10031 |       esac | 
|---|
| 10032 |     done` || { (exit 1); exit 1; } | 
|---|
| 10033 |   # Remove the trailing spaces. | 
|---|
| 10034 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
| 10035 |  | 
|---|
| 10036 | _ACEOF | 
|---|
| 10037 |  | 
|---|
| 10038 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
| 10039 | # `conftest.undefs', that substitutes the proper values into | 
|---|
| 10040 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
| 10041 | # templates, and the second `#undef' templates. | 
|---|
| 10042 | # And first: Protect against being on the right side of a sed subst in | 
|---|
| 10043 | # config.status.  Protect against being in an unquoted here document | 
|---|
| 10044 | # in config.status. | 
|---|
| 10045 | rm -f conftest.defines conftest.undefs | 
|---|
| 10046 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
| 10047 | # Putting comments in sed scripts is not portable. | 
|---|
| 10048 | # | 
|---|
| 10049 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
| 10050 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
| 10051 | # See the Autoconf documentation for `clear'. | 
|---|
| 10052 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
| 10053 | s/[\\&,]/\\&/g | 
|---|
| 10054 | s,[\\$`],\\&,g | 
|---|
| 10055 | t clear | 
|---|
| 10056 | : clear | 
|---|
| 10057 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
| 10058 | t end | 
|---|
| 10059 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
| 10060 | : end | 
|---|
| 10061 | _ACEOF | 
|---|
| 10062 | # If some macros were called several times there might be several times | 
|---|
| 10063 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
| 10064 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
| 10065 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
| 10066 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
| 10067 | rm -f confdef2sed.sed | 
|---|
| 10068 |  | 
|---|
| 10069 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
| 10070 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 10071 | # on some systems where configure will not decide to define it. | 
|---|
| 10072 | cat >>conftest.undefs <<\_ACEOF | 
|---|
| 10073 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
| 10074 | _ACEOF | 
|---|
| 10075 |  | 
|---|
| 10076 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
| 10077 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 10078 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
| 10079 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
| 10080 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
| 10081 | echo '  :' >>$CONFIG_STATUS | 
|---|
| 10082 | rm -f conftest.tail | 
|---|
| 10083 | while grep . conftest.defines >/dev/null | 
|---|
| 10084 | do | 
|---|
| 10085 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
| 10086 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 10087 |   # Speed up: don't consider the non `#define' lines. | 
|---|
| 10088 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
| 10089 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 10090 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 10091 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 10092 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
| 10093 |   echo 'CEOF | 
|---|
| 10094 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
| 10095 |   rm -f $tmp/in | 
|---|
| 10096 |   mv $tmp/out $tmp/in | 
|---|
| 10097 | ' >>$CONFIG_STATUS | 
|---|
| 10098 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
| 10099 |   rm -f conftest.defines | 
|---|
| 10100 |   mv conftest.tail conftest.defines | 
|---|
| 10101 | done | 
|---|
| 10102 | rm -f conftest.defines | 
|---|
| 10103 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
| 10104 | echo >>$CONFIG_STATUS | 
|---|
| 10105 |  | 
|---|
| 10106 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
| 10107 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 10108 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
| 10109 | rm -f conftest.tail | 
|---|
| 10110 | while grep . conftest.undefs >/dev/null | 
|---|
| 10111 | do | 
|---|
| 10112 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
| 10113 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 10114 |   # Speed up: don't consider the non `#undef' | 
|---|
| 10115 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
| 10116 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 10117 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 10118 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 10119 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
| 10120 |   echo 'CEOF | 
|---|
| 10121 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
| 10122 |   rm -f $tmp/in | 
|---|
| 10123 |   mv $tmp/out $tmp/in | 
|---|
| 10124 | ' >>$CONFIG_STATUS | 
|---|
| 10125 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
| 10126 |   rm -f conftest.undefs | 
|---|
| 10127 |   mv conftest.tail conftest.undefs | 
|---|
| 10128 | done | 
|---|
| 10129 | rm -f conftest.undefs | 
|---|
| 10130 |  | 
|---|
| 10131 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 10132 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 10133 |   # use $as_me), people would be surprised to read: | 
|---|
| 10134 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 10135 |   if test x"$ac_file" = x-; then | 
|---|
| 10136 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
| 10137 |   else | 
|---|
| 10138 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
| 10139 |   fi | 
|---|
| 10140 |   cat $tmp/in >>$tmp/config.h | 
|---|
| 10141 |   rm -f $tmp/in | 
|---|
| 10142 |   if test x"$ac_file" != x-; then | 
|---|
| 10143 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
| 10144 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
| 10145 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 10146 |     else | 
|---|
| 10147 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 10148 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10149 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 10150 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 10151 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 10152 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10153 | echo X"$ac_file" | | 
|---|
| 10154 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10155 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10156 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10157 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10158 |           s/.*/./; q'` | 
|---|
| 10159 |       { if $as_mkdir_p; then | 
|---|
| 10160 |     mkdir -p "$ac_dir" | 
|---|
| 10161 |   else | 
|---|
| 10162 |     as_dir="$ac_dir" | 
|---|
| 10163 |     as_dirs= | 
|---|
| 10164 |     while test ! -d "$as_dir"; do | 
|---|
| 10165 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 10166 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 10167 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10168 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 10169 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 10170 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 10171 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10172 | echo X"$as_dir" | | 
|---|
| 10173 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10174 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10175 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10176 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10177 |           s/.*/./; q'` | 
|---|
| 10178 |     done | 
|---|
| 10179 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 10180 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 10181 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 10182 |    { (exit 1); exit 1; }; }; } | 
|---|
| 10183 |  | 
|---|
| 10184 |       rm -f $ac_file | 
|---|
| 10185 |       mv $tmp/config.h $ac_file | 
|---|
| 10186 |     fi | 
|---|
| 10187 |   else | 
|---|
| 10188 |     cat $tmp/config.h | 
|---|
| 10189 |     rm -f $tmp/config.h | 
|---|
| 10190 |   fi | 
|---|
| 10191 | # Compute $ac_file's index in $config_headers. | 
|---|
| 10192 | _am_stamp_count=1 | 
|---|
| 10193 | for _am_header in $config_headers :; do | 
|---|
| 10194 |   case $_am_header in | 
|---|
| 10195 |     $ac_file | $ac_file:* ) | 
|---|
| 10196 |       break ;; | 
|---|
| 10197 |     * ) | 
|---|
| 10198 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 10199 |   esac | 
|---|
| 10200 | done | 
|---|
| 10201 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
| 10202 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10203 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
| 10204 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
| 10205 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
| 10206 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10207 | echo X$ac_file | | 
|---|
| 10208 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10209 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10210 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10211 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10212 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 10213 | done | 
|---|
| 10214 | _ACEOF | 
|---|
| 10215 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 10216 |  | 
|---|
| 10217 | # | 
|---|
| 10218 | # CONFIG_COMMANDS section. | 
|---|
| 10219 | # | 
|---|
| 10220 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
| 10221 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
| 10222 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 10223 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
| 10224 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10225 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
| 10226 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
| 10227 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
| 10228 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10229 | echo X"$ac_dest" | | 
|---|
| 10230 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10231 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10232 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10233 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10234 |           s/.*/./; q'` | 
|---|
| 10235 |   { if $as_mkdir_p; then | 
|---|
| 10236 |     mkdir -p "$ac_dir" | 
|---|
| 10237 |   else | 
|---|
| 10238 |     as_dir="$ac_dir" | 
|---|
| 10239 |     as_dirs= | 
|---|
| 10240 |     while test ! -d "$as_dir"; do | 
|---|
| 10241 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 10242 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 10243 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10244 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 10245 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 10246 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 10247 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10248 | echo X"$as_dir" | | 
|---|
| 10249 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10250 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10251 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10252 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10253 |           s/.*/./; q'` | 
|---|
| 10254 |     done | 
|---|
| 10255 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 10256 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 10257 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 10258 |    { (exit 1); exit 1; }; }; } | 
|---|
| 10259 |  | 
|---|
| 10260 |   ac_builddir=. | 
|---|
| 10261 |  | 
|---|
| 10262 | if test "$ac_dir" != .; then | 
|---|
| 10263 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 10264 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 10265 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 10266 | else | 
|---|
| 10267 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 10268 | fi | 
|---|
| 10269 |  | 
|---|
| 10270 | case $srcdir in | 
|---|
| 10271 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 10272 |     ac_srcdir=. | 
|---|
| 10273 |     if test -z "$ac_top_builddir"; then | 
|---|
| 10274 |        ac_top_srcdir=. | 
|---|
| 10275 |     else | 
|---|
| 10276 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 10277 |     fi ;; | 
|---|
| 10278 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 10279 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 10280 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 10281 |   *) # Relative path. | 
|---|
| 10282 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 10283 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 10284 | esac | 
|---|
| 10285 |  | 
|---|
| 10286 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 10287 | # the directories may not exist. | 
|---|
| 10288 | case `pwd` in | 
|---|
| 10289 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 10290 | *) | 
|---|
| 10291 |   case "$ac_dir" in | 
|---|
| 10292 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 10293 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 10294 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 10295 |   esac;; | 
|---|
| 10296 | esac | 
|---|
| 10297 | case $ac_abs_builddir in | 
|---|
| 10298 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 10299 | *) | 
|---|
| 10300 |   case ${ac_top_builddir}. in | 
|---|
| 10301 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 10302 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 10303 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 10304 |   esac;; | 
|---|
| 10305 | esac | 
|---|
| 10306 | case $ac_abs_builddir in | 
|---|
| 10307 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 10308 | *) | 
|---|
| 10309 |   case $ac_srcdir in | 
|---|
| 10310 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 10311 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 10312 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 10313 |   esac;; | 
|---|
| 10314 | esac | 
|---|
| 10315 | case $ac_abs_builddir in | 
|---|
| 10316 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 10317 | *) | 
|---|
| 10318 |   case $ac_top_srcdir in | 
|---|
| 10319 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 10320 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 10321 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 10322 |   esac;; | 
|---|
| 10323 | esac | 
|---|
| 10324 |  | 
|---|
| 10325 |  | 
|---|
| 10326 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
| 10327 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
| 10328 |   case $ac_dest in | 
|---|
| 10329 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
| 10330 |   # Strip MF so we end up with the name of the file. | 
|---|
| 10331 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 10332 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
| 10333 |   # We used to match only the files named `Makefile.in', but | 
|---|
| 10334 |   # some people rename them; so instead we look at the file content. | 
|---|
| 10335 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
| 10336 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 10337 |   # So let's grep whole file. | 
|---|
| 10338 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
| 10339 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
| 10340 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10341 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 10342 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 10343 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
| 10344 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10345 | echo X"$mf" | | 
|---|
| 10346 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10347 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10348 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10349 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10350 |           s/.*/./; q'` | 
|---|
| 10351 |   else | 
|---|
| 10352 |     continue | 
|---|
| 10353 |   fi | 
|---|
| 10354 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
| 10355 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
| 10356 |   # running `make'. | 
|---|
| 10357 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| 10358 |   test -z "$DEPDIR" && continue | 
|---|
| 10359 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| 10360 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| 10361 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
| 10362 |   # We invoke sed twice because it is the simplest approach to | 
|---|
| 10363 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| 10364 |   for file in `sed -n ' | 
|---|
| 10365 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
| 10366 |       s/^DEP_FILES = // | 
|---|
| 10367 |       :loop | 
|---|
| 10368 |         s/\\\\$// | 
|---|
| 10369 |         p | 
|---|
| 10370 |         n | 
|---|
| 10371 |         /\\\\$/ b loop | 
|---|
| 10372 |       p | 
|---|
| 10373 |     } | 
|---|
| 10374 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
| 10375 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
| 10376 |     # Make sure the directory exists. | 
|---|
| 10377 |     test -f "$dirpart/$file" && continue | 
|---|
| 10378 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
| 10379 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10380 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 10381 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
| 10382 |          X"$file" : 'X\(/\)' \| \ | 
|---|
| 10383 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10384 | echo X"$file" | | 
|---|
| 10385 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10386 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10387 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10388 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10389 |           s/.*/./; q'` | 
|---|
| 10390 |     { if $as_mkdir_p; then | 
|---|
| 10391 |     mkdir -p $dirpart/$fdir | 
|---|
| 10392 |   else | 
|---|
| 10393 |     as_dir=$dirpart/$fdir | 
|---|
| 10394 |     as_dirs= | 
|---|
| 10395 |     while test ! -d "$as_dir"; do | 
|---|
| 10396 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 10397 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 10398 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 10399 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 10400 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 10401 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 10402 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10403 | echo X"$as_dir" | | 
|---|
| 10404 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10405 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10406 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10407 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10408 |           s/.*/./; q'` | 
|---|
| 10409 |     done | 
|---|
| 10410 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 10411 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
| 10412 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
| 10413 |    { (exit 1); exit 1; }; }; } | 
|---|
| 10414 |  | 
|---|
| 10415 |     # echo "creating $dirpart/$file" | 
|---|
| 10416 |     echo '# dummy' > "$dirpart/$file" | 
|---|
| 10417 |   done | 
|---|
| 10418 | done | 
|---|
| 10419 |  ;; | 
|---|
| 10420 |   esac | 
|---|
| 10421 | done | 
|---|
| 10422 | _ACEOF | 
|---|
| 10423 |  | 
|---|
| 10424 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 10425 |  | 
|---|
| 10426 | { (exit 0); exit 0; } | 
|---|
| 10427 | _ACEOF | 
|---|
| 10428 | chmod +x $CONFIG_STATUS | 
|---|
| 10429 | ac_clean_files=$ac_clean_files_save | 
|---|
| 10430 |  | 
|---|
| 10431 |  | 
|---|
| 10432 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 10433 | # config.status does its own redirection, appending to config.log. | 
|---|
| 10434 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 10435 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 10436 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 10437 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 10438 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 10439 | # need to make the FD available again. | 
|---|
| 10440 | if test "$no_create" != yes; then | 
|---|
| 10441 |   ac_cs_success=: | 
|---|
| 10442 |   ac_config_status_args= | 
|---|
| 10443 |   test "$silent" = yes && | 
|---|
| 10444 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 10445 |   exec 5>/dev/null | 
|---|
| 10446 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 10447 |   exec 5>>config.log | 
|---|
| 10448 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 10449 |   # would make configure fail if this is the last instruction. | 
|---|
| 10450 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
| 10451 | fi | 
|---|
| 10452 |  | 
|---|