| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.2.2-pre-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.2.2-pre-alpha' | 
|---|
| 273 | PACKAGE_STRING='orxonox 0.2.2-pre-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 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 MSBITFIELDS GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE GTHREAD_LIBS GTHREAD_CFLAGS HAVE_GTHREAD_TRUE HAVE_GTHREAD_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.2.2-pre-alpha to adapt to many kinds of systems. | 
|---|
| 792 |  | 
|---|
| 793 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
| 794 |  | 
|---|
| 795 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
| 796 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
| 797 |  | 
|---|
| 798 | Defaults for the options are specified in brackets. | 
|---|
| 799 |  | 
|---|
| 800 | Configuration: | 
|---|
| 801 |   -h, --help              display this help and exit | 
|---|
| 802 |       --help=short        display options specific to this package | 
|---|
| 803 |       --help=recursive    display the short help of all the included packages | 
|---|
| 804 |   -V, --version           display version information and exit | 
|---|
| 805 |   -q, --quiet, --silent   do not print \`checking...' messages | 
|---|
| 806 |       --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
| 807 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
| 808 |   -n, --no-create         do not create output files | 
|---|
| 809 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
| 810 |  | 
|---|
| 811 | _ACEOF | 
|---|
| 812 |  | 
|---|
| 813 |   cat <<_ACEOF | 
|---|
| 814 | Installation directories: | 
|---|
| 815 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
| 816 |                           [$ac_default_prefix] | 
|---|
| 817 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
| 818 |                           [PREFIX] | 
|---|
| 819 |  | 
|---|
| 820 | By default, \`make install' will install all the files in | 
|---|
| 821 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
| 822 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
| 823 | for instance \`--prefix=\$HOME'. | 
|---|
| 824 |  | 
|---|
| 825 | For better control, use the options below. | 
|---|
| 826 |  | 
|---|
| 827 | Fine tuning of the installation directories: | 
|---|
| 828 |   --bindir=DIR           user executables [EPREFIX/bin] | 
|---|
| 829 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
|---|
| 830 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
|---|
| 831 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
|---|
| 832 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
|---|
| 833 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
|---|
| 834 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
|---|
| 835 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
|---|
| 836 |   --includedir=DIR       C header files [PREFIX/include] | 
|---|
| 837 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
|---|
| 838 |   --infodir=DIR          info documentation [PREFIX/info] | 
|---|
| 839 |   --mandir=DIR           man documentation [PREFIX/man] | 
|---|
| 840 | _ACEOF | 
|---|
| 841 |  | 
|---|
| 842 |   cat <<\_ACEOF | 
|---|
| 843 |  | 
|---|
| 844 | Program names: | 
|---|
| 845 |   --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|---|
| 846 |   --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|---|
| 847 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|---|
| 848 |  | 
|---|
| 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.2.2-pre-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 |   --enable-sub-projects   also builds the subProjects while make from srcdir | 
|---|
| 872 |   --enable-profile        builds orxonox with profiling support | 
|---|
| 873 |   --enable-documentation  also builds the sDocumentation while make from | 
|---|
| 874 |                           srcdir | 
|---|
| 875 |  | 
|---|
| 876 | Optional Packages: | 
|---|
| 877 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
| 878 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| 879 |   --without-gtk           Prevents GTK from being loaded | 
|---|
| 880 |   --without-gthread       Prevents gThread from being loaded | 
|---|
| 881 |   --without-pthread       Prevents pthread from being loaded | 
|---|
| 882 |   --without-curl          Prevents libcURL from being loaded | 
|---|
| 883 |   --without-sdl-image     Prevents SDL_image from being loaded | 
|---|
| 884 |  | 
|---|
| 885 | Some influential environment variables: | 
|---|
| 886 |   CXX         C++ compiler command | 
|---|
| 887 |   CXXFLAGS    C++ compiler flags | 
|---|
| 888 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 889 |               nonstandard directory <lib dir> | 
|---|
| 890 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
| 891 |               headers in a nonstandard directory <include dir> | 
|---|
| 892 |   CC          C compiler command | 
|---|
| 893 |   CFLAGS      C compiler flags | 
|---|
| 894 |   CPP         C preprocessor | 
|---|
| 895 |  | 
|---|
| 896 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 897 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 898 |  | 
|---|
| 899 | Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| 900 | _ACEOF | 
|---|
| 901 | fi | 
|---|
| 902 |  | 
|---|
| 903 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 904 |   # If there are subdirs, report their specific --help. | 
|---|
| 905 |   ac_popdir=`pwd` | 
|---|
| 906 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 907 |     test -d $ac_dir || continue | 
|---|
| 908 |     ac_builddir=. | 
|---|
| 909 |  | 
|---|
| 910 | if test "$ac_dir" != .; then | 
|---|
| 911 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 912 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 913 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 914 | else | 
|---|
| 915 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 916 | fi | 
|---|
| 917 |  | 
|---|
| 918 | case $srcdir in | 
|---|
| 919 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 920 |     ac_srcdir=. | 
|---|
| 921 |     if test -z "$ac_top_builddir"; then | 
|---|
| 922 |        ac_top_srcdir=. | 
|---|
| 923 |     else | 
|---|
| 924 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 925 |     fi ;; | 
|---|
| 926 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 927 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 928 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 929 |   *) # Relative path. | 
|---|
| 930 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 931 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 932 | esac | 
|---|
| 933 |  | 
|---|
| 934 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 935 | # the directories may not exist. | 
|---|
| 936 | case `pwd` in | 
|---|
| 937 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 938 | *) | 
|---|
| 939 |   case "$ac_dir" in | 
|---|
| 940 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 941 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 942 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 943 |   esac;; | 
|---|
| 944 | esac | 
|---|
| 945 | case $ac_abs_builddir in | 
|---|
| 946 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 947 | *) | 
|---|
| 948 |   case ${ac_top_builddir}. in | 
|---|
| 949 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 950 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 951 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 952 |   esac;; | 
|---|
| 953 | esac | 
|---|
| 954 | case $ac_abs_builddir in | 
|---|
| 955 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 956 | *) | 
|---|
| 957 |   case $ac_srcdir in | 
|---|
| 958 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 959 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 960 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 961 |   esac;; | 
|---|
| 962 | esac | 
|---|
| 963 | case $ac_abs_builddir in | 
|---|
| 964 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 965 | *) | 
|---|
| 966 |   case $ac_top_srcdir in | 
|---|
| 967 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 968 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 969 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 970 |   esac;; | 
|---|
| 971 | esac | 
|---|
| 972 |  | 
|---|
| 973 |     cd $ac_dir | 
|---|
| 974 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
| 975 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
| 976 |       echo | 
|---|
| 977 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
| 978 |     elif test -f $ac_srcdir/configure; then | 
|---|
| 979 |       echo | 
|---|
| 980 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
| 981 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
| 982 |            test -f $ac_srcdir/configure.in; then | 
|---|
| 983 |       echo | 
|---|
| 984 |       $ac_configure --help | 
|---|
| 985 |     else | 
|---|
| 986 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 987 |     fi | 
|---|
| 988 |     cd $ac_popdir | 
|---|
| 989 |   done | 
|---|
| 990 | fi | 
|---|
| 991 |  | 
|---|
| 992 | test -n "$ac_init_help" && exit 0 | 
|---|
| 993 | if $ac_init_version; then | 
|---|
| 994 |   cat <<\_ACEOF | 
|---|
| 995 | orxonox configure 0.2.2-pre-alpha | 
|---|
| 996 | generated by GNU Autoconf 2.59 | 
|---|
| 997 |  | 
|---|
| 998 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 999 | This configure script is free software; the Free Software Foundation | 
|---|
| 1000 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 1001 | _ACEOF | 
|---|
| 1002 |   exit 0 | 
|---|
| 1003 | fi | 
|---|
| 1004 | exec 5>config.log | 
|---|
| 1005 | cat >&5 <<_ACEOF | 
|---|
| 1006 | This file contains any messages produced by compilers while | 
|---|
| 1007 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 1008 |  | 
|---|
| 1009 | It was created by orxonox $as_me 0.2.2-pre-alpha, which was | 
|---|
| 1010 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 1011 |  | 
|---|
| 1012 |   $ $0 $@ | 
|---|
| 1013 |  | 
|---|
| 1014 | _ACEOF | 
|---|
| 1015 | { | 
|---|
| 1016 | cat <<_ASUNAME | 
|---|
| 1017 | ## --------- ## | 
|---|
| 1018 | ## Platform. ## | 
|---|
| 1019 | ## --------- ## | 
|---|
| 1020 |  | 
|---|
| 1021 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1022 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1023 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1024 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1025 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1026 |  | 
|---|
| 1027 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1028 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1029 |  | 
|---|
| 1030 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1031 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1032 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1033 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
| 1034 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1035 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1036 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1037 |  | 
|---|
| 1038 | _ASUNAME | 
|---|
| 1039 |  | 
|---|
| 1040 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1041 | for as_dir in $PATH | 
|---|
| 1042 | do | 
|---|
| 1043 |   IFS=$as_save_IFS | 
|---|
| 1044 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1045 |   echo "PATH: $as_dir" | 
|---|
| 1046 | done | 
|---|
| 1047 |  | 
|---|
| 1048 | } >&5 | 
|---|
| 1049 |  | 
|---|
| 1050 | cat >&5 <<_ACEOF | 
|---|
| 1051 |  | 
|---|
| 1052 |  | 
|---|
| 1053 | ## ----------- ## | 
|---|
| 1054 | ## Core tests. ## | 
|---|
| 1055 | ## ----------- ## | 
|---|
| 1056 |  | 
|---|
| 1057 | _ACEOF | 
|---|
| 1058 |  | 
|---|
| 1059 |  | 
|---|
| 1060 | # Keep a trace of the command line. | 
|---|
| 1061 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1062 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1063 | # Also quote any args containing shell meta-characters. | 
|---|
| 1064 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1065 | ac_configure_args= | 
|---|
| 1066 | ac_configure_args0= | 
|---|
| 1067 | ac_configure_args1= | 
|---|
| 1068 | ac_sep= | 
|---|
| 1069 | ac_must_keep_next=false | 
|---|
| 1070 | for ac_pass in 1 2 | 
|---|
| 1071 | do | 
|---|
| 1072 |   for ac_arg | 
|---|
| 1073 |   do | 
|---|
| 1074 |     case $ac_arg in | 
|---|
| 1075 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1076 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1077 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1078 |       continue ;; | 
|---|
| 1079 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1080 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1081 |     esac | 
|---|
| 1082 |     case $ac_pass in | 
|---|
| 1083 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
| 1084 |     2) | 
|---|
| 1085 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
| 1086 |       if test $ac_must_keep_next = true; then | 
|---|
| 1087 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1088 |       else | 
|---|
| 1089 |         case $ac_arg in | 
|---|
| 1090 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1091 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1092 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1093 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1094 |             case "$ac_configure_args0 " in | 
|---|
| 1095 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1096 |             esac | 
|---|
| 1097 |             ;; | 
|---|
| 1098 |           -* ) ac_must_keep_next=true ;; | 
|---|
| 1099 |         esac | 
|---|
| 1100 |       fi | 
|---|
| 1101 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
| 1102 |       # Get rid of the leading space. | 
|---|
| 1103 |       ac_sep=" " | 
|---|
| 1104 |       ;; | 
|---|
| 1105 |     esac | 
|---|
| 1106 |   done | 
|---|
| 1107 | done | 
|---|
| 1108 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
| 1109 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
| 1110 |  | 
|---|
| 1111 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1112 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1113 | # would cause problems or look ugly. | 
|---|
| 1114 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
| 1115 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
| 1116 | trap 'exit_status=$? | 
|---|
| 1117 |   # Save into config.log some information that might help in debugging. | 
|---|
| 1118 |   { | 
|---|
| 1119 |     echo | 
|---|
| 1120 |  | 
|---|
| 1121 |     cat <<\_ASBOX | 
|---|
| 1122 | ## ---------------- ## | 
|---|
| 1123 | ## Cache variables. ## | 
|---|
| 1124 | ## ---------------- ## | 
|---|
| 1125 | _ASBOX | 
|---|
| 1126 |     echo | 
|---|
| 1127 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1128 | { | 
|---|
| 1129 |   (set) 2>&1 | | 
|---|
| 1130 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
| 1131 |     *ac_space=\ *) | 
|---|
| 1132 |       sed -n \ | 
|---|
| 1133 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
| 1134 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
| 1135 |       ;; | 
|---|
| 1136 |     *) | 
|---|
| 1137 |       sed -n \ | 
|---|
| 1138 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 1139 |       ;; | 
|---|
| 1140 |     esac; | 
|---|
| 1141 | } | 
|---|
| 1142 |     echo | 
|---|
| 1143 |  | 
|---|
| 1144 |     cat <<\_ASBOX | 
|---|
| 1145 | ## ----------------- ## | 
|---|
| 1146 | ## Output variables. ## | 
|---|
| 1147 | ## ----------------- ## | 
|---|
| 1148 | _ASBOX | 
|---|
| 1149 |     echo | 
|---|
| 1150 |     for ac_var in $ac_subst_vars | 
|---|
| 1151 |     do | 
|---|
| 1152 |       eval ac_val=$`echo $ac_var` | 
|---|
| 1153 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1154 |     done | sort | 
|---|
| 1155 |     echo | 
|---|
| 1156 |  | 
|---|
| 1157 |     if test -n "$ac_subst_files"; then | 
|---|
| 1158 |       cat <<\_ASBOX | 
|---|
| 1159 | ## ------------- ## | 
|---|
| 1160 | ## Output files. ## | 
|---|
| 1161 | ## ------------- ## | 
|---|
| 1162 | _ASBOX | 
|---|
| 1163 |       echo | 
|---|
| 1164 |       for ac_var in $ac_subst_files | 
|---|
| 1165 |       do | 
|---|
| 1166 |         eval ac_val=$`echo $ac_var` | 
|---|
| 1167 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1168 |       done | sort | 
|---|
| 1169 |       echo | 
|---|
| 1170 |     fi | 
|---|
| 1171 |  | 
|---|
| 1172 |     if test -s confdefs.h; then | 
|---|
| 1173 |       cat <<\_ASBOX | 
|---|
| 1174 | ## ----------- ## | 
|---|
| 1175 | ## confdefs.h. ## | 
|---|
| 1176 | ## ----------- ## | 
|---|
| 1177 | _ASBOX | 
|---|
| 1178 |       echo | 
|---|
| 1179 |       sed "/^$/d" confdefs.h | sort | 
|---|
| 1180 |       echo | 
|---|
| 1181 |     fi | 
|---|
| 1182 |     test "$ac_signal" != 0 && | 
|---|
| 1183 |       echo "$as_me: caught signal $ac_signal" | 
|---|
| 1184 |     echo "$as_me: exit $exit_status" | 
|---|
| 1185 |   } >&5 | 
|---|
| 1186 |   rm -f core *.core && | 
|---|
| 1187 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1188 |     exit $exit_status | 
|---|
| 1189 |      ' 0 | 
|---|
| 1190 | for ac_signal in 1 2 13 15; do | 
|---|
| 1191 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
| 1192 | done | 
|---|
| 1193 | ac_signal=0 | 
|---|
| 1194 |  | 
|---|
| 1195 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1196 | rm -rf conftest* confdefs.h | 
|---|
| 1197 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
| 1198 | echo >confdefs.h | 
|---|
| 1199 |  | 
|---|
| 1200 | # Predefined preprocessor variables. | 
|---|
| 1201 |  | 
|---|
| 1202 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1203 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1204 | _ACEOF | 
|---|
| 1205 |  | 
|---|
| 1206 |  | 
|---|
| 1207 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1208 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1209 | _ACEOF | 
|---|
| 1210 |  | 
|---|
| 1211 |  | 
|---|
| 1212 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1213 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1214 | _ACEOF | 
|---|
| 1215 |  | 
|---|
| 1216 |  | 
|---|
| 1217 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1218 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1219 | _ACEOF | 
|---|
| 1220 |  | 
|---|
| 1221 |  | 
|---|
| 1222 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1223 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1224 | _ACEOF | 
|---|
| 1225 |  | 
|---|
| 1226 |  | 
|---|
| 1227 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1228 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
| 1229 | if test -z "$CONFIG_SITE"; then | 
|---|
| 1230 |   if test "x$prefix" != xNONE; then | 
|---|
| 1231 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
| 1232 |   else | 
|---|
| 1233 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
| 1234 |   fi | 
|---|
| 1235 | fi | 
|---|
| 1236 | for ac_site_file in $CONFIG_SITE; do | 
|---|
| 1237 |   if test -r "$ac_site_file"; then | 
|---|
| 1238 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
| 1239 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1240 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1241 |     . "$ac_site_file" | 
|---|
| 1242 |   fi | 
|---|
| 1243 | done | 
|---|
| 1244 |  | 
|---|
| 1245 | if test -r "$cache_file"; then | 
|---|
| 1246 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
| 1247 |   # files actually), so we avoid doing that. | 
|---|
| 1248 |   if test -f "$cache_file"; then | 
|---|
| 1249 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
| 1250 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1251 |     case $cache_file in | 
|---|
| 1252 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
| 1253 |       *)                      . ./$cache_file;; | 
|---|
| 1254 |     esac | 
|---|
| 1255 |   fi | 
|---|
| 1256 | else | 
|---|
| 1257 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
| 1258 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1259 |   >$cache_file | 
|---|
| 1260 | fi | 
|---|
| 1261 |  | 
|---|
| 1262 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1263 | # value. | 
|---|
| 1264 | ac_cache_corrupted=false | 
|---|
| 1265 | for ac_var in `(set) 2>&1 | | 
|---|
| 1266 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
| 1267 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1268 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1269 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
| 1270 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
| 1271 |   case $ac_old_set,$ac_new_set in | 
|---|
| 1272 |     set,) | 
|---|
| 1273 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1274 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1275 |       ac_cache_corrupted=: ;; | 
|---|
| 1276 |     ,set) | 
|---|
| 1277 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1278 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1279 |       ac_cache_corrupted=: ;; | 
|---|
| 1280 |     ,);; | 
|---|
| 1281 |     *) | 
|---|
| 1282 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1283 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1284 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1285 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
| 1286 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
| 1287 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
| 1288 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
| 1289 |         ac_cache_corrupted=: | 
|---|
| 1290 |       fi;; | 
|---|
| 1291 |   esac | 
|---|
| 1292 |   # Pass precious variables to config.status. | 
|---|
| 1293 |   if test "$ac_new_set" = set; then | 
|---|
| 1294 |     case $ac_new_val in | 
|---|
| 1295 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1296 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1297 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1298 |     esac | 
|---|
| 1299 |     case " $ac_configure_args " in | 
|---|
| 1300 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1301 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
| 1302 |     esac | 
|---|
| 1303 |   fi | 
|---|
| 1304 | done | 
|---|
| 1305 | if $ac_cache_corrupted; then | 
|---|
| 1306 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1307 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1308 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
| 1309 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
| 1310 |    { (exit 1); exit 1; }; } | 
|---|
| 1311 | fi | 
|---|
| 1312 |  | 
|---|
| 1313 | ac_ext=c | 
|---|
| 1314 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1315 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1316 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1317 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1318 |  | 
|---|
| 1319 |  | 
|---|
| 1320 |  | 
|---|
| 1321 |  | 
|---|
| 1322 |  | 
|---|
| 1323 |  | 
|---|
| 1324 |  | 
|---|
| 1325 |  | 
|---|
| 1326 |  | 
|---|
| 1327 |  | 
|---|
| 1328 |  | 
|---|
| 1329 |  | 
|---|
| 1330 |  | 
|---|
| 1331 |  | 
|---|
| 1332 |  | 
|---|
| 1333 |  | 
|---|
| 1334 |  | 
|---|
| 1335 |  | 
|---|
| 1336 |  | 
|---|
| 1337 |  | 
|---|
| 1338 |  | 
|---|
| 1339 |  | 
|---|
| 1340 |  | 
|---|
| 1341 |  | 
|---|
| 1342 |  | 
|---|
| 1343 |  | 
|---|
| 1344 |  | 
|---|
| 1345 |  | 
|---|
| 1346 | ## Detect the canonical host and target build environment. | 
|---|
| 1347 | ac_aux_dir= | 
|---|
| 1348 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
| 1349 |   if test -f $ac_dir/install-sh; then | 
|---|
| 1350 |     ac_aux_dir=$ac_dir | 
|---|
| 1351 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 1352 |     break | 
|---|
| 1353 |   elif test -f $ac_dir/install.sh; then | 
|---|
| 1354 |     ac_aux_dir=$ac_dir | 
|---|
| 1355 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 1356 |     break | 
|---|
| 1357 |   elif test -f $ac_dir/shtool; then | 
|---|
| 1358 |     ac_aux_dir=$ac_dir | 
|---|
| 1359 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 1360 |     break | 
|---|
| 1361 |   fi | 
|---|
| 1362 | done | 
|---|
| 1363 | if test -z "$ac_aux_dir"; then | 
|---|
| 1364 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
| 1365 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
| 1366 |    { (exit 1); exit 1; }; } | 
|---|
| 1367 | fi | 
|---|
| 1368 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
| 1369 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
| 1370 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
| 1371 |  | 
|---|
| 1372 | # Make sure we can run config.sub. | 
|---|
| 1373 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
| 1374 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
| 1375 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
| 1376 |    { (exit 1); exit 1; }; } | 
|---|
| 1377 |  | 
|---|
| 1378 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
| 1379 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
| 1380 | if test "${ac_cv_build+set}" = set; then | 
|---|
| 1381 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1382 | else | 
|---|
| 1383 |   ac_cv_build_alias=$build_alias | 
|---|
| 1384 | test -z "$ac_cv_build_alias" && | 
|---|
| 1385 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
| 1386 | test -z "$ac_cv_build_alias" && | 
|---|
| 1387 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
| 1388 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
| 1389 |    { (exit 1); exit 1; }; } | 
|---|
| 1390 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
| 1391 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
| 1392 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
| 1393 |    { (exit 1); exit 1; }; } | 
|---|
| 1394 |  | 
|---|
| 1395 | fi | 
|---|
| 1396 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
| 1397 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
| 1398 | build=$ac_cv_build | 
|---|
| 1399 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1400 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1401 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1402 |  | 
|---|
| 1403 |  | 
|---|
| 1404 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
| 1405 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
| 1406 | if test "${ac_cv_host+set}" = set; then | 
|---|
| 1407 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1408 | else | 
|---|
| 1409 |   ac_cv_host_alias=$host_alias | 
|---|
| 1410 | test -z "$ac_cv_host_alias" && | 
|---|
| 1411 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
| 1412 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
| 1413 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
| 1414 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
| 1415 |    { (exit 1); exit 1; }; } | 
|---|
| 1416 |  | 
|---|
| 1417 | fi | 
|---|
| 1418 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
| 1419 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
| 1420 | host=$ac_cv_host | 
|---|
| 1421 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1422 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1423 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1424 |  | 
|---|
| 1425 |  | 
|---|
| 1426 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
| 1427 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
| 1428 | if test "${ac_cv_target+set}" = set; then | 
|---|
| 1429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1430 | else | 
|---|
| 1431 |   ac_cv_target_alias=$target_alias | 
|---|
| 1432 | test "x$ac_cv_target_alias" = "x" && | 
|---|
| 1433 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
| 1434 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
| 1435 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
| 1436 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
| 1437 |    { (exit 1); exit 1; }; } | 
|---|
| 1438 |  | 
|---|
| 1439 | fi | 
|---|
| 1440 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
| 1441 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
| 1442 | target=$ac_cv_target | 
|---|
| 1443 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1444 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1445 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1446 |  | 
|---|
| 1447 |  | 
|---|
| 1448 | # The aliases save the names the user supplied, while $host etc. | 
|---|
| 1449 | # will get canonicalized. | 
|---|
| 1450 | test -n "$target_alias" && | 
|---|
| 1451 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
| 1452 |     NONENONEs,x,x, && | 
|---|
| 1453 |   program_prefix=${target_alias}- | 
|---|
| 1454 |  | 
|---|
| 1455 | am__api_version="1.8" | 
|---|
| 1456 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1457 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1458 | # incompatible versions: | 
|---|
| 1459 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1460 | # SunOS /usr/etc/install | 
|---|
| 1461 | # IRIX /sbin/install | 
|---|
| 1462 | # AIX /bin/install | 
|---|
| 1463 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 1464 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1465 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1466 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1467 | # OS/2's system install, which has a completely different semantic | 
|---|
| 1468 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1469 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
| 1470 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
| 1471 | if test -z "$INSTALL"; then | 
|---|
| 1472 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1473 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1474 | else | 
|---|
| 1475 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1476 | for as_dir in $PATH | 
|---|
| 1477 | do | 
|---|
| 1478 |   IFS=$as_save_IFS | 
|---|
| 1479 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1480 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1481 | case $as_dir/ in | 
|---|
| 1482 |   ./ | .// | /cC/* | \ | 
|---|
| 1483 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 1484 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
| 1485 |   /usr/ucb/* ) ;; | 
|---|
| 1486 |   *) | 
|---|
| 1487 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1488 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1489 |     # by default. | 
|---|
| 1490 |     for ac_prog in ginstall scoinst install; do | 
|---|
| 1491 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1492 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 1493 |           if test $ac_prog = install && | 
|---|
| 1494 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1495 |             # AIX install.  It has an incompatible calling convention. | 
|---|
| 1496 |             : | 
|---|
| 1497 |           elif test $ac_prog = install && | 
|---|
| 1498 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1499 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
| 1500 |             : | 
|---|
| 1501 |           else | 
|---|
| 1502 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 1503 |             break 3 | 
|---|
| 1504 |           fi | 
|---|
| 1505 |         fi | 
|---|
| 1506 |       done | 
|---|
| 1507 |     done | 
|---|
| 1508 |     ;; | 
|---|
| 1509 | esac | 
|---|
| 1510 | done | 
|---|
| 1511 |  | 
|---|
| 1512 |  | 
|---|
| 1513 | fi | 
|---|
| 1514 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1515 |     INSTALL=$ac_cv_path_install | 
|---|
| 1516 |   else | 
|---|
| 1517 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1518 |     # path for INSTALL within a source directory, because that will | 
|---|
| 1519 |     # break other packages using the cache if that directory is | 
|---|
| 1520 |     # removed, or if the path is relative. | 
|---|
| 1521 |     INSTALL=$ac_install_sh | 
|---|
| 1522 |   fi | 
|---|
| 1523 | fi | 
|---|
| 1524 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
| 1525 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
| 1526 |  | 
|---|
| 1527 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1528 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1529 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1530 |  | 
|---|
| 1531 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 1532 |  | 
|---|
| 1533 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1534 |  | 
|---|
| 1535 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
| 1536 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
| 1537 | # Just in case | 
|---|
| 1538 | sleep 1 | 
|---|
| 1539 | echo timestamp > conftest.file | 
|---|
| 1540 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 1541 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 1542 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 1543 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 1544 | # directory). | 
|---|
| 1545 | if ( | 
|---|
| 1546 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
| 1547 |    if test "$*" = "X"; then | 
|---|
| 1548 |       # -L didn't work. | 
|---|
| 1549 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
| 1550 |    fi | 
|---|
| 1551 |    rm -f conftest.file | 
|---|
| 1552 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 1553 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 1554 |  | 
|---|
| 1555 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 1556 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 1557 |       # broken ls alias from the environment.  This has actually | 
|---|
| 1558 |       # happened.  Such a system could not be considered "sane". | 
|---|
| 1559 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1560 | alias in your environment" >&5 | 
|---|
| 1561 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1562 | alias in your environment" >&2;} | 
|---|
| 1563 |    { (exit 1); exit 1; }; } | 
|---|
| 1564 |    fi | 
|---|
| 1565 |  | 
|---|
| 1566 |    test "$2" = conftest.file | 
|---|
| 1567 |    ) | 
|---|
| 1568 | then | 
|---|
| 1569 |    # Ok. | 
|---|
| 1570 |    : | 
|---|
| 1571 | else | 
|---|
| 1572 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
| 1573 | Check your system clock" >&5 | 
|---|
| 1574 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
| 1575 | Check your system clock" >&2;} | 
|---|
| 1576 |    { (exit 1); exit 1; }; } | 
|---|
| 1577 | fi | 
|---|
| 1578 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1579 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1580 | test "$program_prefix" != NONE && | 
|---|
| 1581 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
| 1582 | # Use a double $ so make ignores it. | 
|---|
| 1583 | test "$program_suffix" != NONE && | 
|---|
| 1584 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
| 1585 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 1586 | # By default was `s,x,x', remove it if useless. | 
|---|
| 1587 | cat <<\_ACEOF >conftest.sed | 
|---|
| 1588 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
| 1589 | _ACEOF | 
|---|
| 1590 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
| 1591 | rm conftest.sed | 
|---|
| 1592 |  | 
|---|
| 1593 | # expand $ac_aux_dir to an absolute path | 
|---|
| 1594 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 1595 |  | 
|---|
| 1596 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
| 1597 | # Use eval to expand $SHELL | 
|---|
| 1598 | if eval "$MISSING --run true"; then | 
|---|
| 1599 |   am_missing_run="$MISSING --run " | 
|---|
| 1600 | else | 
|---|
| 1601 |   am_missing_run= | 
|---|
| 1602 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
| 1603 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
| 1604 | fi | 
|---|
| 1605 |  | 
|---|
| 1606 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| 1607 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
| 1608 |   # argument.  Indeed, we sometimes output rules like | 
|---|
| 1609 |   #   $(mkdir_p) $(somedir) | 
|---|
| 1610 |   # where $(somedir) is conditionally defined. | 
|---|
| 1611 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
| 1612 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
| 1613 |   mkdir_p='mkdir -p -- .' | 
|---|
| 1614 | else | 
|---|
| 1615 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
| 1616 |   # recognize any option.  It will interpret all options as | 
|---|
| 1617 |   # directories to create, and then abort because `.' already | 
|---|
| 1618 |   # exists. | 
|---|
| 1619 |   for d in ./-p ./--version; | 
|---|
| 1620 |   do | 
|---|
| 1621 |     test -d $d && rmdir $d | 
|---|
| 1622 |   done | 
|---|
| 1623 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
| 1624 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
| 1625 |     mkdir_p='$(mkinstalldirs)' | 
|---|
| 1626 |   else | 
|---|
| 1627 |     mkdir_p='$(install_sh) -d' | 
|---|
| 1628 |   fi | 
|---|
| 1629 | fi | 
|---|
| 1630 |  | 
|---|
| 1631 | for ac_prog in gawk mawk nawk awk | 
|---|
| 1632 | do | 
|---|
| 1633 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1634 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1635 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1636 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1637 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
| 1638 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1639 | else | 
|---|
| 1640 |   if test -n "$AWK"; then | 
|---|
| 1641 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 1642 | else | 
|---|
| 1643 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1644 | for as_dir in $PATH | 
|---|
| 1645 | do | 
|---|
| 1646 |   IFS=$as_save_IFS | 
|---|
| 1647 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1648 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1649 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1650 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
| 1651 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1652 |     break 2 | 
|---|
| 1653 |   fi | 
|---|
| 1654 | done | 
|---|
| 1655 | done | 
|---|
| 1656 |  | 
|---|
| 1657 | fi | 
|---|
| 1658 | fi | 
|---|
| 1659 | AWK=$ac_cv_prog_AWK | 
|---|
| 1660 | if test -n "$AWK"; then | 
|---|
| 1661 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
| 1662 | echo "${ECHO_T}$AWK" >&6 | 
|---|
| 1663 | else | 
|---|
| 1664 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1665 | echo "${ECHO_T}no" >&6 | 
|---|
| 1666 | fi | 
|---|
| 1667 |  | 
|---|
| 1668 |   test -n "$AWK" && break | 
|---|
| 1669 | done | 
|---|
| 1670 |  | 
|---|
| 1671 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 1672 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
| 1673 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
| 1674 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
| 1675 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1676 | else | 
|---|
| 1677 |   cat >conftest.make <<\_ACEOF | 
|---|
| 1678 | all: | 
|---|
| 1679 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
| 1680 | _ACEOF | 
|---|
| 1681 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 1682 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
| 1683 | if test -n "$ac_maketemp"; then | 
|---|
| 1684 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 1685 | else | 
|---|
| 1686 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 1687 | fi | 
|---|
| 1688 | rm -f conftest.make | 
|---|
| 1689 | fi | 
|---|
| 1690 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 1691 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1692 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1693 |   SET_MAKE= | 
|---|
| 1694 | else | 
|---|
| 1695 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1696 | echo "${ECHO_T}no" >&6 | 
|---|
| 1697 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 1698 | fi | 
|---|
| 1699 |  | 
|---|
| 1700 | rm -rf .tst 2>/dev/null | 
|---|
| 1701 | mkdir .tst 2>/dev/null | 
|---|
| 1702 | if test -d .tst; then | 
|---|
| 1703 |   am__leading_dot=. | 
|---|
| 1704 | else | 
|---|
| 1705 |   am__leading_dot=_ | 
|---|
| 1706 | fi | 
|---|
| 1707 | rmdir .tst 2>/dev/null | 
|---|
| 1708 |  | 
|---|
| 1709 | # test to see if srcdir already configured | 
|---|
| 1710 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
| 1711 |    test -f $srcdir/config.status; then | 
|---|
| 1712 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
| 1713 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
| 1714 |    { (exit 1); exit 1; }; } | 
|---|
| 1715 | fi | 
|---|
| 1716 |  | 
|---|
| 1717 | # test whether we have cygpath | 
|---|
| 1718 | if test -z "$CYGPATH_W"; then | 
|---|
| 1719 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 1720 |     CYGPATH_W='cygpath -w' | 
|---|
| 1721 |   else | 
|---|
| 1722 |     CYGPATH_W=echo | 
|---|
| 1723 |   fi | 
|---|
| 1724 | fi | 
|---|
| 1725 |  | 
|---|
| 1726 |  | 
|---|
| 1727 | # Define the identity of the package. | 
|---|
| 1728 |  PACKAGE='orxonox' | 
|---|
| 1729 |  VERSION='0.2.2-pre-alpha' | 
|---|
| 1730 |  | 
|---|
| 1731 |  | 
|---|
| 1732 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1733 | #define PACKAGE "$PACKAGE" | 
|---|
| 1734 | _ACEOF | 
|---|
| 1735 |  | 
|---|
| 1736 |  | 
|---|
| 1737 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1738 | #define VERSION "$VERSION" | 
|---|
| 1739 | _ACEOF | 
|---|
| 1740 |  | 
|---|
| 1741 | # Some tools Automake needs. | 
|---|
| 1742 |  | 
|---|
| 1743 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 1744 |  | 
|---|
| 1745 |  | 
|---|
| 1746 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 1747 |  | 
|---|
| 1748 |  | 
|---|
| 1749 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 1750 |  | 
|---|
| 1751 |  | 
|---|
| 1752 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 1753 |  | 
|---|
| 1754 |  | 
|---|
| 1755 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 1756 |  | 
|---|
| 1757 |  | 
|---|
| 1758 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
| 1759 |  | 
|---|
| 1760 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
| 1761 |  | 
|---|
| 1762 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
| 1763 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
| 1764 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 1765 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
| 1766 | if test "$cross_compiling" != no; then | 
|---|
| 1767 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 1768 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 1769 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 1770 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1771 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1772 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
| 1773 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1774 | else | 
|---|
| 1775 |   if test -n "$STRIP"; then | 
|---|
| 1776 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 1777 | else | 
|---|
| 1778 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1779 | for as_dir in $PATH | 
|---|
| 1780 | do | 
|---|
| 1781 |   IFS=$as_save_IFS | 
|---|
| 1782 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1783 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1784 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1785 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 1786 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1787 |     break 2 | 
|---|
| 1788 |   fi | 
|---|
| 1789 | done | 
|---|
| 1790 | done | 
|---|
| 1791 |  | 
|---|
| 1792 | fi | 
|---|
| 1793 | fi | 
|---|
| 1794 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 1795 | if test -n "$STRIP"; then | 
|---|
| 1796 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
| 1797 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
| 1798 | else | 
|---|
| 1799 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1800 | echo "${ECHO_T}no" >&6 | 
|---|
| 1801 | fi | 
|---|
| 1802 |  | 
|---|
| 1803 | fi | 
|---|
| 1804 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 1805 |   ac_ct_STRIP=$STRIP | 
|---|
| 1806 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 1807 | set dummy strip; ac_word=$2 | 
|---|
| 1808 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1809 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1810 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
| 1811 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1812 | else | 
|---|
| 1813 |   if test -n "$ac_ct_STRIP"; then | 
|---|
| 1814 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 1815 | else | 
|---|
| 1816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1817 | for as_dir in $PATH | 
|---|
| 1818 | do | 
|---|
| 1819 |   IFS=$as_save_IFS | 
|---|
| 1820 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1821 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1822 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1823 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 1824 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1825 |     break 2 | 
|---|
| 1826 |   fi | 
|---|
| 1827 | done | 
|---|
| 1828 | done | 
|---|
| 1829 |  | 
|---|
| 1830 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
| 1831 | fi | 
|---|
| 1832 | fi | 
|---|
| 1833 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 1834 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 1835 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
| 1836 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
| 1837 | else | 
|---|
| 1838 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1839 | echo "${ECHO_T}no" >&6 | 
|---|
| 1840 | fi | 
|---|
| 1841 |  | 
|---|
| 1842 |   STRIP=$ac_ct_STRIP | 
|---|
| 1843 | else | 
|---|
| 1844 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
| 1845 | fi | 
|---|
| 1846 |  | 
|---|
| 1847 | fi | 
|---|
| 1848 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
| 1849 |  | 
|---|
| 1850 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
| 1851 | # some platforms. | 
|---|
| 1852 |  | 
|---|
| 1853 |  | 
|---|
| 1854 |  | 
|---|
| 1855 |  | 
|---|
| 1856 |  | 
|---|
| 1857 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
| 1858 |  | 
|---|
| 1859 |  | 
|---|
| 1860 | ######################### | 
|---|
| 1861 | ## Checks for programs ## | 
|---|
| 1862 | ######################### | 
|---|
| 1863 | ac_ext=cc | 
|---|
| 1864 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 1865 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1866 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1867 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 1868 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1869 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1870 |   do | 
|---|
| 1871 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 1872 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 1873 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1874 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1875 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
| 1876 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1877 | else | 
|---|
| 1878 |   if test -n "$CXX"; then | 
|---|
| 1879 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1880 | else | 
|---|
| 1881 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1882 | for as_dir in $PATH | 
|---|
| 1883 | do | 
|---|
| 1884 |   IFS=$as_save_IFS | 
|---|
| 1885 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1886 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1887 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1888 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 1889 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1890 |     break 2 | 
|---|
| 1891 |   fi | 
|---|
| 1892 | done | 
|---|
| 1893 | done | 
|---|
| 1894 |  | 
|---|
| 1895 | fi | 
|---|
| 1896 | fi | 
|---|
| 1897 | CXX=$ac_cv_prog_CXX | 
|---|
| 1898 | if test -n "$CXX"; then | 
|---|
| 1899 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
| 1900 | echo "${ECHO_T}$CXX" >&6 | 
|---|
| 1901 | else | 
|---|
| 1902 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1903 | echo "${ECHO_T}no" >&6 | 
|---|
| 1904 | fi | 
|---|
| 1905 |  | 
|---|
| 1906 |     test -n "$CXX" && break | 
|---|
| 1907 |   done | 
|---|
| 1908 | fi | 
|---|
| 1909 | if test -z "$CXX"; then | 
|---|
| 1910 |   ac_ct_CXX=$CXX | 
|---|
| 1911 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1912 | do | 
|---|
| 1913 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1914 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1915 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1916 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1917 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
| 1918 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1919 | else | 
|---|
| 1920 |   if test -n "$ac_ct_CXX"; then | 
|---|
| 1921 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 1922 | else | 
|---|
| 1923 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1924 | for as_dir in $PATH | 
|---|
| 1925 | do | 
|---|
| 1926 |   IFS=$as_save_IFS | 
|---|
| 1927 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1928 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1929 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1930 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 1931 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1932 |     break 2 | 
|---|
| 1933 |   fi | 
|---|
| 1934 | done | 
|---|
| 1935 | done | 
|---|
| 1936 |  | 
|---|
| 1937 | fi | 
|---|
| 1938 | fi | 
|---|
| 1939 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 1940 | if test -n "$ac_ct_CXX"; then | 
|---|
| 1941 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
| 1942 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
| 1943 | else | 
|---|
| 1944 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1945 | echo "${ECHO_T}no" >&6 | 
|---|
| 1946 | fi | 
|---|
| 1947 |  | 
|---|
| 1948 |   test -n "$ac_ct_CXX" && break | 
|---|
| 1949 | done | 
|---|
| 1950 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
| 1951 |  | 
|---|
| 1952 |   CXX=$ac_ct_CXX | 
|---|
| 1953 | fi | 
|---|
| 1954 |  | 
|---|
| 1955 |  | 
|---|
| 1956 | # Provide some information about the compiler. | 
|---|
| 1957 | echo "$as_me:$LINENO:" \ | 
|---|
| 1958 |      "checking for C++ compiler version" >&5 | 
|---|
| 1959 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 1960 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 1961 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 1962 |   ac_status=$? | 
|---|
| 1963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1964 |   (exit $ac_status); } | 
|---|
| 1965 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 1966 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 1967 |   ac_status=$? | 
|---|
| 1968 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1969 |   (exit $ac_status); } | 
|---|
| 1970 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 1971 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 1972 |   ac_status=$? | 
|---|
| 1973 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1974 |   (exit $ac_status); } | 
|---|
| 1975 |  | 
|---|
| 1976 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1977 | /* confdefs.h.  */ | 
|---|
| 1978 | _ACEOF | 
|---|
| 1979 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 1980 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 1981 | /* end confdefs.h.  */ | 
|---|
| 1982 |  | 
|---|
| 1983 | int | 
|---|
| 1984 | main () | 
|---|
| 1985 | { | 
|---|
| 1986 |  | 
|---|
| 1987 |   ; | 
|---|
| 1988 |   return 0; | 
|---|
| 1989 | } | 
|---|
| 1990 | _ACEOF | 
|---|
| 1991 | ac_clean_files_save=$ac_clean_files | 
|---|
| 1992 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
| 1993 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 1994 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 1995 | # of exeext. | 
|---|
| 1996 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
| 1997 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
| 1998 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 1999 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
| 2000 |   (eval $ac_link_default) 2>&5 | 
|---|
| 2001 |   ac_status=$? | 
|---|
| 2002 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2003 |   (exit $ac_status); }; then | 
|---|
| 2004 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
| 2005 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
| 2006 | # resort. | 
|---|
| 2007 |  | 
|---|
| 2008 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
| 2009 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
| 2010 | ac_cv_exeext= | 
|---|
| 2011 | # b.out is created by i960 compilers. | 
|---|
| 2012 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
| 2013 | do | 
|---|
| 2014 |   test -f "$ac_file" || continue | 
|---|
| 2015 |   case $ac_file in | 
|---|
| 2016 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
| 2017 |         ;; | 
|---|
| 2018 |     conftest.$ac_ext ) | 
|---|
| 2019 |         # This is the source file. | 
|---|
| 2020 |         ;; | 
|---|
| 2021 |     [ab].out ) | 
|---|
| 2022 |         # We found the default executable, but exeext='' is most | 
|---|
| 2023 |         # certainly right. | 
|---|
| 2024 |         break;; | 
|---|
| 2025 |     *.* ) | 
|---|
| 2026 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2027 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
| 2028 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
| 2029 |         # maintain Libtool? --akim. | 
|---|
| 2030 |         export ac_cv_exeext | 
|---|
| 2031 |         break;; | 
|---|
| 2032 |     * ) | 
|---|
| 2033 |         break;; | 
|---|
| 2034 |   esac | 
|---|
| 2035 | done | 
|---|
| 2036 | else | 
|---|
| 2037 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2038 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2039 |  | 
|---|
| 2040 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
| 2041 | See \`config.log' for more details." >&5 | 
|---|
| 2042 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
| 2043 | See \`config.log' for more details." >&2;} | 
|---|
| 2044 |    { (exit 77); exit 77; }; } | 
|---|
| 2045 | fi | 
|---|
| 2046 |  | 
|---|
| 2047 | ac_exeext=$ac_cv_exeext | 
|---|
| 2048 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
| 2049 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
| 2050 |  | 
|---|
| 2051 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2052 | # the compiler is broken, or we cross compile. | 
|---|
| 2053 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
| 2054 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
| 2055 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
| 2056 | # If not cross compiling, check that we can run a simple program. | 
|---|
| 2057 | if test "$cross_compiling" != yes; then | 
|---|
| 2058 |   if { ac_try='./$ac_file' | 
|---|
| 2059 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2060 |   (eval $ac_try) 2>&5 | 
|---|
| 2061 |   ac_status=$? | 
|---|
| 2062 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2063 |   (exit $ac_status); }; }; then | 
|---|
| 2064 |     cross_compiling=no | 
|---|
| 2065 |   else | 
|---|
| 2066 |     if test "$cross_compiling" = maybe; then | 
|---|
| 2067 |         cross_compiling=yes | 
|---|
| 2068 |     else | 
|---|
| 2069 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
| 2070 | If you meant to cross compile, use \`--host'. | 
|---|
| 2071 | See \`config.log' for more details." >&5 | 
|---|
| 2072 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
| 2073 | If you meant to cross compile, use \`--host'. | 
|---|
| 2074 | See \`config.log' for more details." >&2;} | 
|---|
| 2075 |    { (exit 1); exit 1; }; } | 
|---|
| 2076 |     fi | 
|---|
| 2077 |   fi | 
|---|
| 2078 | fi | 
|---|
| 2079 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 2080 | echo "${ECHO_T}yes" >&6 | 
|---|
| 2081 |  | 
|---|
| 2082 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
| 2083 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2084 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2085 | # the compiler is broken, or we cross compile. | 
|---|
| 2086 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
| 2087 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
| 2088 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
| 2089 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
| 2090 |  | 
|---|
| 2091 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
| 2092 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
| 2093 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 2094 |   (eval $ac_link) 2>&5 | 
|---|
| 2095 |   ac_status=$? | 
|---|
| 2096 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2097 |   (exit $ac_status); }; then | 
|---|
| 2098 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 2099 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 2100 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 2101 | # `rm'. | 
|---|
| 2102 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 2103 |   test -f "$ac_file" || continue | 
|---|
| 2104 |   case $ac_file in | 
|---|
| 2105 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
| 2106 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2107 |           export ac_cv_exeext | 
|---|
| 2108 |           break;; | 
|---|
| 2109 |     * ) break;; | 
|---|
| 2110 |   esac | 
|---|
| 2111 | done | 
|---|
| 2112 | else | 
|---|
| 2113 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2114 | See \`config.log' for more details." >&5 | 
|---|
| 2115 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2116 | See \`config.log' for more details." >&2;} | 
|---|
| 2117 |    { (exit 1); exit 1; }; } | 
|---|
| 2118 | fi | 
|---|
| 2119 |  | 
|---|
| 2120 | rm -f conftest$ac_cv_exeext | 
|---|
| 2121 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
| 2122 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
| 2123 |  | 
|---|
| 2124 | rm -f conftest.$ac_ext | 
|---|
| 2125 | EXEEXT=$ac_cv_exeext | 
|---|
| 2126 | ac_exeext=$EXEEXT | 
|---|
| 2127 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
| 2128 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
| 2129 | if test "${ac_cv_objext+set}" = set; then | 
|---|
| 2130 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2131 | else | 
|---|
| 2132 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2133 | /* confdefs.h.  */ | 
|---|
| 2134 | _ACEOF | 
|---|
| 2135 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2136 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2137 | /* end confdefs.h.  */ | 
|---|
| 2138 |  | 
|---|
| 2139 | int | 
|---|
| 2140 | main () | 
|---|
| 2141 | { | 
|---|
| 2142 |  | 
|---|
| 2143 |   ; | 
|---|
| 2144 |   return 0; | 
|---|
| 2145 | } | 
|---|
| 2146 | _ACEOF | 
|---|
| 2147 | rm -f conftest.o conftest.obj | 
|---|
| 2148 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2149 |   (eval $ac_compile) 2>&5 | 
|---|
| 2150 |   ac_status=$? | 
|---|
| 2151 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2152 |   (exit $ac_status); }; then | 
|---|
| 2153 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
| 2154 |   case $ac_file in | 
|---|
| 2155 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
| 2156 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2157 |        break;; | 
|---|
| 2158 |   esac | 
|---|
| 2159 | done | 
|---|
| 2160 | else | 
|---|
| 2161 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2162 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2163 |  | 
|---|
| 2164 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2165 | See \`config.log' for more details." >&5 | 
|---|
| 2166 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2167 | See \`config.log' for more details." >&2;} | 
|---|
| 2168 |    { (exit 1); exit 1; }; } | 
|---|
| 2169 | fi | 
|---|
| 2170 |  | 
|---|
| 2171 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2172 | fi | 
|---|
| 2173 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
| 2174 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
| 2175 | OBJEXT=$ac_cv_objext | 
|---|
| 2176 | ac_objext=$OBJEXT | 
|---|
| 2177 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 2178 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
| 2179 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
| 2180 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2181 | else | 
|---|
| 2182 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2183 | /* confdefs.h.  */ | 
|---|
| 2184 | _ACEOF | 
|---|
| 2185 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2186 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2187 | /* end confdefs.h.  */ | 
|---|
| 2188 |  | 
|---|
| 2189 | int | 
|---|
| 2190 | main () | 
|---|
| 2191 | { | 
|---|
| 2192 | #ifndef __GNUC__ | 
|---|
| 2193 |        choke me | 
|---|
| 2194 | #endif | 
|---|
| 2195 |  | 
|---|
| 2196 |   ; | 
|---|
| 2197 |   return 0; | 
|---|
| 2198 | } | 
|---|
| 2199 | _ACEOF | 
|---|
| 2200 | rm -f conftest.$ac_objext | 
|---|
| 2201 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2202 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2203 |   ac_status=$? | 
|---|
| 2204 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2205 |   rm -f conftest.er1 | 
|---|
| 2206 |   cat conftest.err >&5 | 
|---|
| 2207 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2208 |   (exit $ac_status); } && | 
|---|
| 2209 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2210 |                          || test ! -s conftest.err' | 
|---|
| 2211 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2212 |   (eval $ac_try) 2>&5 | 
|---|
| 2213 |   ac_status=$? | 
|---|
| 2214 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2215 |   (exit $ac_status); }; } && | 
|---|
| 2216 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2217 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2218 |   (eval $ac_try) 2>&5 | 
|---|
| 2219 |   ac_status=$? | 
|---|
| 2220 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2221 |   (exit $ac_status); }; }; then | 
|---|
| 2222 |   ac_compiler_gnu=yes | 
|---|
| 2223 | else | 
|---|
| 2224 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2225 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2226 |  | 
|---|
| 2227 | ac_compiler_gnu=no | 
|---|
| 2228 | fi | 
|---|
| 2229 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2230 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2231 |  | 
|---|
| 2232 | fi | 
|---|
| 2233 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 2234 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
| 2235 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2236 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 2237 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 2238 | CXXFLAGS="-g" | 
|---|
| 2239 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
| 2240 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
| 2241 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
| 2242 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2243 | else | 
|---|
| 2244 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2245 | /* confdefs.h.  */ | 
|---|
| 2246 | _ACEOF | 
|---|
| 2247 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2248 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2249 | /* end confdefs.h.  */ | 
|---|
| 2250 |  | 
|---|
| 2251 | int | 
|---|
| 2252 | main () | 
|---|
| 2253 | { | 
|---|
| 2254 |  | 
|---|
| 2255 |   ; | 
|---|
| 2256 |   return 0; | 
|---|
| 2257 | } | 
|---|
| 2258 | _ACEOF | 
|---|
| 2259 | rm -f conftest.$ac_objext | 
|---|
| 2260 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2261 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2262 |   ac_status=$? | 
|---|
| 2263 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2264 |   rm -f conftest.er1 | 
|---|
| 2265 |   cat conftest.err >&5 | 
|---|
| 2266 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2267 |   (exit $ac_status); } && | 
|---|
| 2268 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2269 |                          || test ! -s conftest.err' | 
|---|
| 2270 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2271 |   (eval $ac_try) 2>&5 | 
|---|
| 2272 |   ac_status=$? | 
|---|
| 2273 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2274 |   (exit $ac_status); }; } && | 
|---|
| 2275 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2276 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2277 |   (eval $ac_try) 2>&5 | 
|---|
| 2278 |   ac_status=$? | 
|---|
| 2279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2280 |   (exit $ac_status); }; }; then | 
|---|
| 2281 |   ac_cv_prog_cxx_g=yes | 
|---|
| 2282 | else | 
|---|
| 2283 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2284 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2285 |  | 
|---|
| 2286 | ac_cv_prog_cxx_g=no | 
|---|
| 2287 | fi | 
|---|
| 2288 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2289 | fi | 
|---|
| 2290 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 2291 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
| 2292 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 2293 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 2294 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 2295 |   if test "$GXX" = yes; then | 
|---|
| 2296 |     CXXFLAGS="-g -O2" | 
|---|
| 2297 |   else | 
|---|
| 2298 |     CXXFLAGS="-g" | 
|---|
| 2299 |   fi | 
|---|
| 2300 | else | 
|---|
| 2301 |   if test "$GXX" = yes; then | 
|---|
| 2302 |     CXXFLAGS="-O2" | 
|---|
| 2303 |   else | 
|---|
| 2304 |     CXXFLAGS= | 
|---|
| 2305 |   fi | 
|---|
| 2306 | fi | 
|---|
| 2307 | for ac_declaration in \ | 
|---|
| 2308 |    '' \ | 
|---|
| 2309 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 2310 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 2311 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 2312 |    'extern "C" void exit (int);' \ | 
|---|
| 2313 |    'void exit (int);' | 
|---|
| 2314 | do | 
|---|
| 2315 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2316 | /* confdefs.h.  */ | 
|---|
| 2317 | _ACEOF | 
|---|
| 2318 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2319 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2320 | /* end confdefs.h.  */ | 
|---|
| 2321 | $ac_declaration | 
|---|
| 2322 | #include <stdlib.h> | 
|---|
| 2323 | int | 
|---|
| 2324 | main () | 
|---|
| 2325 | { | 
|---|
| 2326 | exit (42); | 
|---|
| 2327 |   ; | 
|---|
| 2328 |   return 0; | 
|---|
| 2329 | } | 
|---|
| 2330 | _ACEOF | 
|---|
| 2331 | rm -f conftest.$ac_objext | 
|---|
| 2332 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2333 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2334 |   ac_status=$? | 
|---|
| 2335 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2336 |   rm -f conftest.er1 | 
|---|
| 2337 |   cat conftest.err >&5 | 
|---|
| 2338 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2339 |   (exit $ac_status); } && | 
|---|
| 2340 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2341 |                          || test ! -s conftest.err' | 
|---|
| 2342 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2343 |   (eval $ac_try) 2>&5 | 
|---|
| 2344 |   ac_status=$? | 
|---|
| 2345 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2346 |   (exit $ac_status); }; } && | 
|---|
| 2347 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2348 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2349 |   (eval $ac_try) 2>&5 | 
|---|
| 2350 |   ac_status=$? | 
|---|
| 2351 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2352 |   (exit $ac_status); }; }; then | 
|---|
| 2353 |   : | 
|---|
| 2354 | else | 
|---|
| 2355 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2356 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2357 |  | 
|---|
| 2358 | continue | 
|---|
| 2359 | fi | 
|---|
| 2360 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2361 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2362 | /* confdefs.h.  */ | 
|---|
| 2363 | _ACEOF | 
|---|
| 2364 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2365 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2366 | /* end confdefs.h.  */ | 
|---|
| 2367 | $ac_declaration | 
|---|
| 2368 | int | 
|---|
| 2369 | main () | 
|---|
| 2370 | { | 
|---|
| 2371 | exit (42); | 
|---|
| 2372 |   ; | 
|---|
| 2373 |   return 0; | 
|---|
| 2374 | } | 
|---|
| 2375 | _ACEOF | 
|---|
| 2376 | rm -f conftest.$ac_objext | 
|---|
| 2377 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2378 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2379 |   ac_status=$? | 
|---|
| 2380 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2381 |   rm -f conftest.er1 | 
|---|
| 2382 |   cat conftest.err >&5 | 
|---|
| 2383 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2384 |   (exit $ac_status); } && | 
|---|
| 2385 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2386 |                          || test ! -s conftest.err' | 
|---|
| 2387 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2388 |   (eval $ac_try) 2>&5 | 
|---|
| 2389 |   ac_status=$? | 
|---|
| 2390 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2391 |   (exit $ac_status); }; } && | 
|---|
| 2392 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2393 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2394 |   (eval $ac_try) 2>&5 | 
|---|
| 2395 |   ac_status=$? | 
|---|
| 2396 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2397 |   (exit $ac_status); }; }; then | 
|---|
| 2398 |   break | 
|---|
| 2399 | else | 
|---|
| 2400 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2401 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2402 |  | 
|---|
| 2403 | fi | 
|---|
| 2404 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2405 | done | 
|---|
| 2406 | rm -f conftest* | 
|---|
| 2407 | if test -n "$ac_declaration"; then | 
|---|
| 2408 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 2409 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 2410 |   echo '#endif'             >>confdefs.h | 
|---|
| 2411 | fi | 
|---|
| 2412 |  | 
|---|
| 2413 | ac_ext=c | 
|---|
| 2414 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2415 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2416 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2417 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2418 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 2419 |  | 
|---|
| 2420 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 2421 |  | 
|---|
| 2422 |  | 
|---|
| 2423 | am_make=${MAKE-make} | 
|---|
| 2424 | cat > confinc << 'END' | 
|---|
| 2425 | am__doit: | 
|---|
| 2426 |         @echo done | 
|---|
| 2427 | .PHONY: am__doit | 
|---|
| 2428 | END | 
|---|
| 2429 | # If we don't find an include directive, just comment out the code. | 
|---|
| 2430 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
| 2431 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
| 2432 | am__include="#" | 
|---|
| 2433 | am__quote= | 
|---|
| 2434 | _am_result=none | 
|---|
| 2435 | # First try GNU make style include. | 
|---|
| 2436 | echo "include confinc" > confmf | 
|---|
| 2437 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
| 2438 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
| 2439 | # In particular we don't look at `^make:' because GNU make might | 
|---|
| 2440 | # be invoked under some other name (usually "gmake"), in which | 
|---|
| 2441 | # case it prints its new name instead of `make'. | 
|---|
| 2442 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
| 2443 |    am__include=include | 
|---|
| 2444 |    am__quote= | 
|---|
| 2445 |    _am_result=GNU | 
|---|
| 2446 | fi | 
|---|
| 2447 | # Now try BSD make style include. | 
|---|
| 2448 | if test "$am__include" = "#"; then | 
|---|
| 2449 |    echo '.include "confinc"' > confmf | 
|---|
| 2450 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
| 2451 |       am__include=.include | 
|---|
| 2452 |       am__quote="\"" | 
|---|
| 2453 |       _am_result=BSD | 
|---|
| 2454 |    fi | 
|---|
| 2455 | fi | 
|---|
| 2456 |  | 
|---|
| 2457 |  | 
|---|
| 2458 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
| 2459 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
| 2460 | rm -f confinc confmf | 
|---|
| 2461 |  | 
|---|
| 2462 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
| 2463 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
| 2464 |   enableval="$enable_dependency_tracking" | 
|---|
| 2465 |  | 
|---|
| 2466 | fi; | 
|---|
| 2467 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2468 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 2469 |   AMDEPBACKSLASH='\' | 
|---|
| 2470 | fi | 
|---|
| 2471 |  | 
|---|
| 2472 |  | 
|---|
| 2473 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2474 |   AMDEP_TRUE= | 
|---|
| 2475 |   AMDEP_FALSE='#' | 
|---|
| 2476 | else | 
|---|
| 2477 |   AMDEP_TRUE='#' | 
|---|
| 2478 |   AMDEP_FALSE= | 
|---|
| 2479 | fi | 
|---|
| 2480 |  | 
|---|
| 2481 |  | 
|---|
| 2482 |  | 
|---|
| 2483 |  | 
|---|
| 2484 | depcc="$CXX"  am_compiler_list= | 
|---|
| 2485 |  | 
|---|
| 2486 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 2487 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 2488 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
| 2489 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2490 | else | 
|---|
| 2491 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 2492 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 2493 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 2494 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 2495 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 2496 |   # in D'. | 
|---|
| 2497 |   mkdir conftest.dir | 
|---|
| 2498 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 2499 |   # using a relative directory. | 
|---|
| 2500 |   cp "$am_depcomp" conftest.dir | 
|---|
| 2501 |   cd conftest.dir | 
|---|
| 2502 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 2503 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 2504 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 2505 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 2506 |   # the current directory while Tru64 will put them in the object | 
|---|
| 2507 |   # directory. | 
|---|
| 2508 |   mkdir sub | 
|---|
| 2509 |  | 
|---|
| 2510 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2511 |   if test "$am_compiler_list" = ""; then | 
|---|
| 2512 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 2513 |   fi | 
|---|
| 2514 |   for depmode in $am_compiler_list; do | 
|---|
| 2515 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 2516 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 2517 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 2518 |     # | 
|---|
| 2519 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 2520 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 2521 |     # This happens at least with the AIX C compiler. | 
|---|
| 2522 |     : > sub/conftest.c | 
|---|
| 2523 |     for i in 1 2 3 4 5 6; do | 
|---|
| 2524 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 2525 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 2526 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 2527 |       touch sub/conftst$i.h | 
|---|
| 2528 |     done | 
|---|
| 2529 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 2530 |  | 
|---|
| 2531 |     case $depmode in | 
|---|
| 2532 |     nosideeffect) | 
|---|
| 2533 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 2534 |       # only be used when explicitly requested | 
|---|
| 2535 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 2536 |         continue | 
|---|
| 2537 |       else | 
|---|
| 2538 |         break | 
|---|
| 2539 |       fi | 
|---|
| 2540 |       ;; | 
|---|
| 2541 |     none) break ;; | 
|---|
| 2542 |     esac | 
|---|
| 2543 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 2544 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 2545 |     # handle `-M -o', and we need to detect this. | 
|---|
| 2546 |     if depmode=$depmode \ | 
|---|
| 2547 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 2548 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 2549 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 2550 |          >/dev/null 2>conftest.err && | 
|---|
| 2551 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2552 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2553 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 2554 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 2555 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 2556 |       # that says an option was ignored or not supported. | 
|---|
| 2557 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 2558 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 2559 |       # The diagnosis changed in icc 8.0: | 
|---|
| 2560 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 2561 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 2562 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 2563 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 2564 |         break | 
|---|
| 2565 |       fi | 
|---|
| 2566 |     fi | 
|---|
| 2567 |   done | 
|---|
| 2568 |  | 
|---|
| 2569 |   cd .. | 
|---|
| 2570 |   rm -rf conftest.dir | 
|---|
| 2571 | else | 
|---|
| 2572 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2573 | fi | 
|---|
| 2574 |  | 
|---|
| 2575 | fi | 
|---|
| 2576 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 2577 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
| 2578 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 2579 |  | 
|---|
| 2580 |  | 
|---|
| 2581 |  | 
|---|
| 2582 | if | 
|---|
| 2583 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 2584 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 2585 |   am__fastdepCXX_TRUE= | 
|---|
| 2586 |   am__fastdepCXX_FALSE='#' | 
|---|
| 2587 | else | 
|---|
| 2588 |   am__fastdepCXX_TRUE='#' | 
|---|
| 2589 |   am__fastdepCXX_FALSE= | 
|---|
| 2590 | fi | 
|---|
| 2591 |  | 
|---|
| 2592 |  | 
|---|
| 2593 | ac_ext=c | 
|---|
| 2594 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2595 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2596 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2597 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2598 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2599 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2600 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2601 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2602 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2603 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2604 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2605 | else | 
|---|
| 2606 |   if test -n "$CC"; then | 
|---|
| 2607 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2608 | else | 
|---|
| 2609 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2610 | for as_dir in $PATH | 
|---|
| 2611 | do | 
|---|
| 2612 |   IFS=$as_save_IFS | 
|---|
| 2613 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2614 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2615 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2616 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2617 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2618 |     break 2 | 
|---|
| 2619 |   fi | 
|---|
| 2620 | done | 
|---|
| 2621 | done | 
|---|
| 2622 |  | 
|---|
| 2623 | fi | 
|---|
| 2624 | fi | 
|---|
| 2625 | CC=$ac_cv_prog_CC | 
|---|
| 2626 | if test -n "$CC"; then | 
|---|
| 2627 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2628 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2629 | else | 
|---|
| 2630 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2631 | echo "${ECHO_T}no" >&6 | 
|---|
| 2632 | fi | 
|---|
| 2633 |  | 
|---|
| 2634 | fi | 
|---|
| 2635 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2636 |   ac_ct_CC=$CC | 
|---|
| 2637 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2638 | set dummy gcc; ac_word=$2 | 
|---|
| 2639 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2640 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2641 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2642 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2643 | else | 
|---|
| 2644 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2645 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2646 | else | 
|---|
| 2647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2648 | for as_dir in $PATH | 
|---|
| 2649 | do | 
|---|
| 2650 |   IFS=$as_save_IFS | 
|---|
| 2651 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2652 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2653 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2654 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 2655 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2656 |     break 2 | 
|---|
| 2657 |   fi | 
|---|
| 2658 | done | 
|---|
| 2659 | done | 
|---|
| 2660 |  | 
|---|
| 2661 | fi | 
|---|
| 2662 | fi | 
|---|
| 2663 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2664 | if test -n "$ac_ct_CC"; then | 
|---|
| 2665 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2666 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2667 | else | 
|---|
| 2668 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2669 | echo "${ECHO_T}no" >&6 | 
|---|
| 2670 | fi | 
|---|
| 2671 |  | 
|---|
| 2672 |   CC=$ac_ct_CC | 
|---|
| 2673 | else | 
|---|
| 2674 |   CC="$ac_cv_prog_CC" | 
|---|
| 2675 | fi | 
|---|
| 2676 |  | 
|---|
| 2677 | if test -z "$CC"; then | 
|---|
| 2678 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2679 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2680 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2681 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2682 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2683 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2684 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2685 | else | 
|---|
| 2686 |   if test -n "$CC"; then | 
|---|
| 2687 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2688 | else | 
|---|
| 2689 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2690 | for as_dir in $PATH | 
|---|
| 2691 | do | 
|---|
| 2692 |   IFS=$as_save_IFS | 
|---|
| 2693 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2694 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2695 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2696 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2697 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2698 |     break 2 | 
|---|
| 2699 |   fi | 
|---|
| 2700 | done | 
|---|
| 2701 | done | 
|---|
| 2702 |  | 
|---|
| 2703 | fi | 
|---|
| 2704 | fi | 
|---|
| 2705 | CC=$ac_cv_prog_CC | 
|---|
| 2706 | if test -n "$CC"; then | 
|---|
| 2707 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2708 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2709 | else | 
|---|
| 2710 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2711 | echo "${ECHO_T}no" >&6 | 
|---|
| 2712 | fi | 
|---|
| 2713 |  | 
|---|
| 2714 | fi | 
|---|
| 2715 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2716 |   ac_ct_CC=$CC | 
|---|
| 2717 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2718 | set dummy cc; ac_word=$2 | 
|---|
| 2719 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2720 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2721 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2722 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2723 | else | 
|---|
| 2724 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2725 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2726 | else | 
|---|
| 2727 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2728 | for as_dir in $PATH | 
|---|
| 2729 | do | 
|---|
| 2730 |   IFS=$as_save_IFS | 
|---|
| 2731 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2732 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2733 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2734 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
| 2735 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2736 |     break 2 | 
|---|
| 2737 |   fi | 
|---|
| 2738 | done | 
|---|
| 2739 | done | 
|---|
| 2740 |  | 
|---|
| 2741 | fi | 
|---|
| 2742 | fi | 
|---|
| 2743 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2744 | if test -n "$ac_ct_CC"; then | 
|---|
| 2745 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2746 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2747 | else | 
|---|
| 2748 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2749 | echo "${ECHO_T}no" >&6 | 
|---|
| 2750 | fi | 
|---|
| 2751 |  | 
|---|
| 2752 |   CC=$ac_ct_CC | 
|---|
| 2753 | else | 
|---|
| 2754 |   CC="$ac_cv_prog_CC" | 
|---|
| 2755 | fi | 
|---|
| 2756 |  | 
|---|
| 2757 | fi | 
|---|
| 2758 | if test -z "$CC"; then | 
|---|
| 2759 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2760 | set dummy cc; ac_word=$2 | 
|---|
| 2761 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2762 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2763 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2764 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2765 | else | 
|---|
| 2766 |   if test -n "$CC"; then | 
|---|
| 2767 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2768 | else | 
|---|
| 2769 |   ac_prog_rejected=no | 
|---|
| 2770 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2771 | for as_dir in $PATH | 
|---|
| 2772 | do | 
|---|
| 2773 |   IFS=$as_save_IFS | 
|---|
| 2774 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2775 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2776 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2777 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2778 |        ac_prog_rejected=yes | 
|---|
| 2779 |        continue | 
|---|
| 2780 |      fi | 
|---|
| 2781 |     ac_cv_prog_CC="cc" | 
|---|
| 2782 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2783 |     break 2 | 
|---|
| 2784 |   fi | 
|---|
| 2785 | done | 
|---|
| 2786 | done | 
|---|
| 2787 |  | 
|---|
| 2788 | if test $ac_prog_rejected = yes; then | 
|---|
| 2789 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2790 |   set dummy $ac_cv_prog_CC | 
|---|
| 2791 |   shift | 
|---|
| 2792 |   if test $# != 0; then | 
|---|
| 2793 |     # We chose a different compiler from the bogus one. | 
|---|
| 2794 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2795 |     # first if we set CC to just the basename; use the full file name. | 
|---|
| 2796 |     shift | 
|---|
| 2797 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2798 |   fi | 
|---|
| 2799 | fi | 
|---|
| 2800 | fi | 
|---|
| 2801 | fi | 
|---|
| 2802 | CC=$ac_cv_prog_CC | 
|---|
| 2803 | if test -n "$CC"; then | 
|---|
| 2804 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2805 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2806 | else | 
|---|
| 2807 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2808 | echo "${ECHO_T}no" >&6 | 
|---|
| 2809 | fi | 
|---|
| 2810 |  | 
|---|
| 2811 | fi | 
|---|
| 2812 | if test -z "$CC"; then | 
|---|
| 2813 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2814 |   for ac_prog in cl | 
|---|
| 2815 |   do | 
|---|
| 2816 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2817 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2818 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2819 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2820 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2821 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2822 | else | 
|---|
| 2823 |   if test -n "$CC"; then | 
|---|
| 2824 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2825 | else | 
|---|
| 2826 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2827 | for as_dir in $PATH | 
|---|
| 2828 | do | 
|---|
| 2829 |   IFS=$as_save_IFS | 
|---|
| 2830 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2831 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2832 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2833 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2834 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2835 |     break 2 | 
|---|
| 2836 |   fi | 
|---|
| 2837 | done | 
|---|
| 2838 | done | 
|---|
| 2839 |  | 
|---|
| 2840 | fi | 
|---|
| 2841 | fi | 
|---|
| 2842 | CC=$ac_cv_prog_CC | 
|---|
| 2843 | if test -n "$CC"; then | 
|---|
| 2844 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2845 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2846 | else | 
|---|
| 2847 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2848 | echo "${ECHO_T}no" >&6 | 
|---|
| 2849 | fi | 
|---|
| 2850 |  | 
|---|
| 2851 |     test -n "$CC" && break | 
|---|
| 2852 |   done | 
|---|
| 2853 | fi | 
|---|
| 2854 | if test -z "$CC"; then | 
|---|
| 2855 |   ac_ct_CC=$CC | 
|---|
| 2856 |   for ac_prog in cl | 
|---|
| 2857 | do | 
|---|
| 2858 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2859 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2860 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2861 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2862 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2863 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2864 | else | 
|---|
| 2865 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2866 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2867 | else | 
|---|
| 2868 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2869 | for as_dir in $PATH | 
|---|
| 2870 | do | 
|---|
| 2871 |   IFS=$as_save_IFS | 
|---|
| 2872 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2873 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2874 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2875 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2876 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2877 |     break 2 | 
|---|
| 2878 |   fi | 
|---|
| 2879 | done | 
|---|
| 2880 | done | 
|---|
| 2881 |  | 
|---|
| 2882 | fi | 
|---|
| 2883 | fi | 
|---|
| 2884 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2885 | if test -n "$ac_ct_CC"; then | 
|---|
| 2886 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2887 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2888 | else | 
|---|
| 2889 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2890 | echo "${ECHO_T}no" >&6 | 
|---|
| 2891 | fi | 
|---|
| 2892 |  | 
|---|
| 2893 |   test -n "$ac_ct_CC" && break | 
|---|
| 2894 | done | 
|---|
| 2895 |  | 
|---|
| 2896 |   CC=$ac_ct_CC | 
|---|
| 2897 | fi | 
|---|
| 2898 |  | 
|---|
| 2899 | fi | 
|---|
| 2900 |  | 
|---|
| 2901 |  | 
|---|
| 2902 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
| 2903 | See \`config.log' for more details." >&5 | 
|---|
| 2904 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
| 2905 | See \`config.log' for more details." >&2;} | 
|---|
| 2906 |    { (exit 1); exit 1; }; } | 
|---|
| 2907 |  | 
|---|
| 2908 | # Provide some information about the compiler. | 
|---|
| 2909 | echo "$as_me:$LINENO:" \ | 
|---|
| 2910 |      "checking for C compiler version" >&5 | 
|---|
| 2911 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 2912 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 2913 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 2914 |   ac_status=$? | 
|---|
| 2915 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2916 |   (exit $ac_status); } | 
|---|
| 2917 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 2918 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 2919 |   ac_status=$? | 
|---|
| 2920 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2921 |   (exit $ac_status); } | 
|---|
| 2922 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 2923 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 2924 |   ac_status=$? | 
|---|
| 2925 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2926 |   (exit $ac_status); } | 
|---|
| 2927 |  | 
|---|
| 2928 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 2929 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
| 2930 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
| 2931 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2932 | else | 
|---|
| 2933 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2934 | /* confdefs.h.  */ | 
|---|
| 2935 | _ACEOF | 
|---|
| 2936 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2937 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2938 | /* end confdefs.h.  */ | 
|---|
| 2939 |  | 
|---|
| 2940 | int | 
|---|
| 2941 | main () | 
|---|
| 2942 | { | 
|---|
| 2943 | #ifndef __GNUC__ | 
|---|
| 2944 |        choke me | 
|---|
| 2945 | #endif | 
|---|
| 2946 |  | 
|---|
| 2947 |   ; | 
|---|
| 2948 |   return 0; | 
|---|
| 2949 | } | 
|---|
| 2950 | _ACEOF | 
|---|
| 2951 | rm -f conftest.$ac_objext | 
|---|
| 2952 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2953 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2954 |   ac_status=$? | 
|---|
| 2955 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2956 |   rm -f conftest.er1 | 
|---|
| 2957 |   cat conftest.err >&5 | 
|---|
| 2958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2959 |   (exit $ac_status); } && | 
|---|
| 2960 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 2961 |                          || test ! -s conftest.err' | 
|---|
| 2962 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2963 |   (eval $ac_try) 2>&5 | 
|---|
| 2964 |   ac_status=$? | 
|---|
| 2965 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2966 |   (exit $ac_status); }; } && | 
|---|
| 2967 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2968 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2969 |   (eval $ac_try) 2>&5 | 
|---|
| 2970 |   ac_status=$? | 
|---|
| 2971 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2972 |   (exit $ac_status); }; }; then | 
|---|
| 2973 |   ac_compiler_gnu=yes | 
|---|
| 2974 | else | 
|---|
| 2975 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2976 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2977 |  | 
|---|
| 2978 | ac_compiler_gnu=no | 
|---|
| 2979 | fi | 
|---|
| 2980 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2981 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2982 |  | 
|---|
| 2983 | fi | 
|---|
| 2984 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 2985 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
| 2986 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2987 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 2988 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 2989 | CFLAGS="-g" | 
|---|
| 2990 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
| 2991 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
| 2992 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
| 2993 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2994 | else | 
|---|
| 2995 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2996 | /* confdefs.h.  */ | 
|---|
| 2997 | _ACEOF | 
|---|
| 2998 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2999 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3000 | /* end confdefs.h.  */ | 
|---|
| 3001 |  | 
|---|
| 3002 | int | 
|---|
| 3003 | main () | 
|---|
| 3004 | { | 
|---|
| 3005 |  | 
|---|
| 3006 |   ; | 
|---|
| 3007 |   return 0; | 
|---|
| 3008 | } | 
|---|
| 3009 | _ACEOF | 
|---|
| 3010 | rm -f conftest.$ac_objext | 
|---|
| 3011 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3012 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3013 |   ac_status=$? | 
|---|
| 3014 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3015 |   rm -f conftest.er1 | 
|---|
| 3016 |   cat conftest.err >&5 | 
|---|
| 3017 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3018 |   (exit $ac_status); } && | 
|---|
| 3019 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3020 |                          || test ! -s conftest.err' | 
|---|
| 3021 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3022 |   (eval $ac_try) 2>&5 | 
|---|
| 3023 |   ac_status=$? | 
|---|
| 3024 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3025 |   (exit $ac_status); }; } && | 
|---|
| 3026 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3027 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3028 |   (eval $ac_try) 2>&5 | 
|---|
| 3029 |   ac_status=$? | 
|---|
| 3030 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3031 |   (exit $ac_status); }; }; then | 
|---|
| 3032 |   ac_cv_prog_cc_g=yes | 
|---|
| 3033 | else | 
|---|
| 3034 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3035 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3036 |  | 
|---|
| 3037 | ac_cv_prog_cc_g=no | 
|---|
| 3038 | fi | 
|---|
| 3039 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3040 | fi | 
|---|
| 3041 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 3042 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
| 3043 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 3044 |   CFLAGS=$ac_save_CFLAGS | 
|---|
| 3045 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 3046 |   if test "$GCC" = yes; then | 
|---|
| 3047 |     CFLAGS="-g -O2" | 
|---|
| 3048 |   else | 
|---|
| 3049 |     CFLAGS="-g" | 
|---|
| 3050 |   fi | 
|---|
| 3051 | else | 
|---|
| 3052 |   if test "$GCC" = yes; then | 
|---|
| 3053 |     CFLAGS="-O2" | 
|---|
| 3054 |   else | 
|---|
| 3055 |     CFLAGS= | 
|---|
| 3056 |   fi | 
|---|
| 3057 | fi | 
|---|
| 3058 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
| 3059 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
| 3060 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
| 3061 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3062 | else | 
|---|
| 3063 |   ac_cv_prog_cc_stdc=no | 
|---|
| 3064 | ac_save_CC=$CC | 
|---|
| 3065 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3066 | /* confdefs.h.  */ | 
|---|
| 3067 | _ACEOF | 
|---|
| 3068 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3069 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3070 | /* end confdefs.h.  */ | 
|---|
| 3071 | #include <stdarg.h> | 
|---|
| 3072 | #include <stdio.h> | 
|---|
| 3073 | #include <sys/types.h> | 
|---|
| 3074 | #include <sys/stat.h> | 
|---|
| 3075 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 3076 | struct buf { int x; }; | 
|---|
| 3077 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 3078 | static char *e (p, i) | 
|---|
| 3079 |      char **p; | 
|---|
| 3080 |      int i; | 
|---|
| 3081 | { | 
|---|
| 3082 |   return p[i]; | 
|---|
| 3083 | } | 
|---|
| 3084 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 3085 | { | 
|---|
| 3086 |   char *s; | 
|---|
| 3087 |   va_list v; | 
|---|
| 3088 |   va_start (v,p); | 
|---|
| 3089 |   s = g (p, va_arg (v,int)); | 
|---|
| 3090 |   va_end (v); | 
|---|
| 3091 |   return s; | 
|---|
| 3092 | } | 
|---|
| 3093 |  | 
|---|
| 3094 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 3095 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 3096 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 3097 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
| 3098 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 3099 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 3100 |    that's true only with -std1.  */ | 
|---|
| 3101 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 3102 |  | 
|---|
| 3103 | int test (int i, double x); | 
|---|
| 3104 | struct s1 {int (*f) (int a);}; | 
|---|
| 3105 | struct s2 {int (*f) (double a);}; | 
|---|
| 3106 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 3107 | int argc; | 
|---|
| 3108 | char **argv; | 
|---|
| 3109 | int | 
|---|
| 3110 | main () | 
|---|
| 3111 | { | 
|---|
| 3112 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 3113 |   ; | 
|---|
| 3114 |   return 0; | 
|---|
| 3115 | } | 
|---|
| 3116 | _ACEOF | 
|---|
| 3117 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
| 3118 | # breaks some systems' header files. | 
|---|
| 3119 | # AIX                   -qlanglvl=ansi | 
|---|
| 3120 | # Ultrix and OSF/1      -std1 | 
|---|
| 3121 | # HP-UX 10.20 and later -Ae | 
|---|
| 3122 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
| 3123 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
| 3124 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 3125 | do | 
|---|
| 3126 |   CC="$ac_save_CC $ac_arg" | 
|---|
| 3127 |   rm -f conftest.$ac_objext | 
|---|
| 3128 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3129 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3130 |   ac_status=$? | 
|---|
| 3131 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3132 |   rm -f conftest.er1 | 
|---|
| 3133 |   cat conftest.err >&5 | 
|---|
| 3134 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3135 |   (exit $ac_status); } && | 
|---|
| 3136 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3137 |                          || test ! -s conftest.err' | 
|---|
| 3138 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3139 |   (eval $ac_try) 2>&5 | 
|---|
| 3140 |   ac_status=$? | 
|---|
| 3141 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3142 |   (exit $ac_status); }; } && | 
|---|
| 3143 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3144 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3145 |   (eval $ac_try) 2>&5 | 
|---|
| 3146 |   ac_status=$? | 
|---|
| 3147 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3148 |   (exit $ac_status); }; }; then | 
|---|
| 3149 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
| 3150 | break | 
|---|
| 3151 | else | 
|---|
| 3152 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3153 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3154 |  | 
|---|
| 3155 | fi | 
|---|
| 3156 | rm -f conftest.err conftest.$ac_objext | 
|---|
| 3157 | done | 
|---|
| 3158 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
| 3159 | CC=$ac_save_CC | 
|---|
| 3160 |  | 
|---|
| 3161 | fi | 
|---|
| 3162 |  | 
|---|
| 3163 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
| 3164 |   x|xno) | 
|---|
| 3165 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
| 3166 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
| 3167 |   *) | 
|---|
| 3168 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
| 3169 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
| 3170 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
| 3171 | esac | 
|---|
| 3172 |  | 
|---|
| 3173 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
| 3174 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
| 3175 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
| 3176 | # the declaration of exit, since it's the most demanding environment. | 
|---|
| 3177 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3178 | #ifndef __cplusplus | 
|---|
| 3179 |   choke me | 
|---|
| 3180 | #endif | 
|---|
| 3181 | _ACEOF | 
|---|
| 3182 | rm -f conftest.$ac_objext | 
|---|
| 3183 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3184 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3185 |   ac_status=$? | 
|---|
| 3186 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3187 |   rm -f conftest.er1 | 
|---|
| 3188 |   cat conftest.err >&5 | 
|---|
| 3189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3190 |   (exit $ac_status); } && | 
|---|
| 3191 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3192 |                          || test ! -s conftest.err' | 
|---|
| 3193 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3194 |   (eval $ac_try) 2>&5 | 
|---|
| 3195 |   ac_status=$? | 
|---|
| 3196 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3197 |   (exit $ac_status); }; } && | 
|---|
| 3198 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3199 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3200 |   (eval $ac_try) 2>&5 | 
|---|
| 3201 |   ac_status=$? | 
|---|
| 3202 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3203 |   (exit $ac_status); }; }; then | 
|---|
| 3204 |   for ac_declaration in \ | 
|---|
| 3205 |    '' \ | 
|---|
| 3206 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 3207 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 3208 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 3209 |    'extern "C" void exit (int);' \ | 
|---|
| 3210 |    'void exit (int);' | 
|---|
| 3211 | do | 
|---|
| 3212 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3213 | /* confdefs.h.  */ | 
|---|
| 3214 | _ACEOF | 
|---|
| 3215 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3216 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3217 | /* end confdefs.h.  */ | 
|---|
| 3218 | $ac_declaration | 
|---|
| 3219 | #include <stdlib.h> | 
|---|
| 3220 | int | 
|---|
| 3221 | main () | 
|---|
| 3222 | { | 
|---|
| 3223 | exit (42); | 
|---|
| 3224 |   ; | 
|---|
| 3225 |   return 0; | 
|---|
| 3226 | } | 
|---|
| 3227 | _ACEOF | 
|---|
| 3228 | rm -f conftest.$ac_objext | 
|---|
| 3229 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3230 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3231 |   ac_status=$? | 
|---|
| 3232 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3233 |   rm -f conftest.er1 | 
|---|
| 3234 |   cat conftest.err >&5 | 
|---|
| 3235 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3236 |   (exit $ac_status); } && | 
|---|
| 3237 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3238 |                          || test ! -s conftest.err' | 
|---|
| 3239 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3240 |   (eval $ac_try) 2>&5 | 
|---|
| 3241 |   ac_status=$? | 
|---|
| 3242 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3243 |   (exit $ac_status); }; } && | 
|---|
| 3244 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3245 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3246 |   (eval $ac_try) 2>&5 | 
|---|
| 3247 |   ac_status=$? | 
|---|
| 3248 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3249 |   (exit $ac_status); }; }; then | 
|---|
| 3250 |   : | 
|---|
| 3251 | else | 
|---|
| 3252 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3253 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3254 |  | 
|---|
| 3255 | continue | 
|---|
| 3256 | fi | 
|---|
| 3257 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3258 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3259 | /* confdefs.h.  */ | 
|---|
| 3260 | _ACEOF | 
|---|
| 3261 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3262 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3263 | /* end confdefs.h.  */ | 
|---|
| 3264 | $ac_declaration | 
|---|
| 3265 | int | 
|---|
| 3266 | main () | 
|---|
| 3267 | { | 
|---|
| 3268 | exit (42); | 
|---|
| 3269 |   ; | 
|---|
| 3270 |   return 0; | 
|---|
| 3271 | } | 
|---|
| 3272 | _ACEOF | 
|---|
| 3273 | rm -f conftest.$ac_objext | 
|---|
| 3274 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3275 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3276 |   ac_status=$? | 
|---|
| 3277 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3278 |   rm -f conftest.er1 | 
|---|
| 3279 |   cat conftest.err >&5 | 
|---|
| 3280 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3281 |   (exit $ac_status); } && | 
|---|
| 3282 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3283 |                          || test ! -s conftest.err' | 
|---|
| 3284 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3285 |   (eval $ac_try) 2>&5 | 
|---|
| 3286 |   ac_status=$? | 
|---|
| 3287 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3288 |   (exit $ac_status); }; } && | 
|---|
| 3289 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3290 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3291 |   (eval $ac_try) 2>&5 | 
|---|
| 3292 |   ac_status=$? | 
|---|
| 3293 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3294 |   (exit $ac_status); }; }; then | 
|---|
| 3295 |   break | 
|---|
| 3296 | else | 
|---|
| 3297 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3298 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3299 |  | 
|---|
| 3300 | fi | 
|---|
| 3301 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3302 | done | 
|---|
| 3303 | rm -f conftest* | 
|---|
| 3304 | if test -n "$ac_declaration"; then | 
|---|
| 3305 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 3306 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 3307 |   echo '#endif'             >>confdefs.h | 
|---|
| 3308 | fi | 
|---|
| 3309 |  | 
|---|
| 3310 | else | 
|---|
| 3311 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3312 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3313 |  | 
|---|
| 3314 | fi | 
|---|
| 3315 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3316 | ac_ext=c | 
|---|
| 3317 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3318 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3319 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3320 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3321 |  | 
|---|
| 3322 | depcc="$CC"   am_compiler_list= | 
|---|
| 3323 |  | 
|---|
| 3324 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 3325 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 3326 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
| 3327 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3328 | else | 
|---|
| 3329 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 3330 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 3331 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 3332 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 3333 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 3334 |   # in D'. | 
|---|
| 3335 |   mkdir conftest.dir | 
|---|
| 3336 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 3337 |   # using a relative directory. | 
|---|
| 3338 |   cp "$am_depcomp" conftest.dir | 
|---|
| 3339 |   cd conftest.dir | 
|---|
| 3340 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 3341 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 3342 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 3343 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 3344 |   # the current directory while Tru64 will put them in the object | 
|---|
| 3345 |   # directory. | 
|---|
| 3346 |   mkdir sub | 
|---|
| 3347 |  | 
|---|
| 3348 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3349 |   if test "$am_compiler_list" = ""; then | 
|---|
| 3350 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 3351 |   fi | 
|---|
| 3352 |   for depmode in $am_compiler_list; do | 
|---|
| 3353 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 3354 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 3355 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 3356 |     # | 
|---|
| 3357 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 3358 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 3359 |     # This happens at least with the AIX C compiler. | 
|---|
| 3360 |     : > sub/conftest.c | 
|---|
| 3361 |     for i in 1 2 3 4 5 6; do | 
|---|
| 3362 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 3363 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 3364 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 3365 |       touch sub/conftst$i.h | 
|---|
| 3366 |     done | 
|---|
| 3367 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 3368 |  | 
|---|
| 3369 |     case $depmode in | 
|---|
| 3370 |     nosideeffect) | 
|---|
| 3371 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 3372 |       # only be used when explicitly requested | 
|---|
| 3373 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 3374 |         continue | 
|---|
| 3375 |       else | 
|---|
| 3376 |         break | 
|---|
| 3377 |       fi | 
|---|
| 3378 |       ;; | 
|---|
| 3379 |     none) break ;; | 
|---|
| 3380 |     esac | 
|---|
| 3381 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 3382 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 3383 |     # handle `-M -o', and we need to detect this. | 
|---|
| 3384 |     if depmode=$depmode \ | 
|---|
| 3385 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 3386 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 3387 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 3388 |          >/dev/null 2>conftest.err && | 
|---|
| 3389 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3390 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3391 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 3392 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 3393 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 3394 |       # that says an option was ignored or not supported. | 
|---|
| 3395 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 3396 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 3397 |       # The diagnosis changed in icc 8.0: | 
|---|
| 3398 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 3399 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 3400 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 3401 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 3402 |         break | 
|---|
| 3403 |       fi | 
|---|
| 3404 |     fi | 
|---|
| 3405 |   done | 
|---|
| 3406 |  | 
|---|
| 3407 |   cd .. | 
|---|
| 3408 |   rm -rf conftest.dir | 
|---|
| 3409 | else | 
|---|
| 3410 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3411 | fi | 
|---|
| 3412 |  | 
|---|
| 3413 | fi | 
|---|
| 3414 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 3415 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
| 3416 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 3417 |  | 
|---|
| 3418 |  | 
|---|
| 3419 |  | 
|---|
| 3420 | if | 
|---|
| 3421 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 3422 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 3423 |   am__fastdepCC_TRUE= | 
|---|
| 3424 |   am__fastdepCC_FALSE='#' | 
|---|
| 3425 | else | 
|---|
| 3426 |   am__fastdepCC_TRUE='#' | 
|---|
| 3427 |   am__fastdepCC_FALSE= | 
|---|
| 3428 | fi | 
|---|
| 3429 |  | 
|---|
| 3430 |  | 
|---|
| 3431 |  | 
|---|
| 3432 | ac_ext=c | 
|---|
| 3433 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3434 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3435 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3436 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3437 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
| 3438 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
| 3439 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3440 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3441 |   CPP= | 
|---|
| 3442 | fi | 
|---|
| 3443 | if test -z "$CPP"; then | 
|---|
| 3444 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| 3445 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3446 | else | 
|---|
| 3447 |       # Double quotes because CPP needs to be expanded | 
|---|
| 3448 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3449 |     do | 
|---|
| 3450 |       ac_preproc_ok=false | 
|---|
| 3451 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3452 | do | 
|---|
| 3453 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3454 |   # with a fresh cross-compiler works. | 
|---|
| 3455 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3456 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3457 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3458 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3459 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3460 | /* confdefs.h.  */ | 
|---|
| 3461 | _ACEOF | 
|---|
| 3462 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3463 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3464 | /* end confdefs.h.  */ | 
|---|
| 3465 | #ifdef __STDC__ | 
|---|
| 3466 | # include <limits.h> | 
|---|
| 3467 | #else | 
|---|
| 3468 | # include <assert.h> | 
|---|
| 3469 | #endif | 
|---|
| 3470 |                      Syntax error | 
|---|
| 3471 | _ACEOF | 
|---|
| 3472 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3473 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3474 |   ac_status=$? | 
|---|
| 3475 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3476 |   rm -f conftest.er1 | 
|---|
| 3477 |   cat conftest.err >&5 | 
|---|
| 3478 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3479 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3480 |   if test -s conftest.err; then | 
|---|
| 3481 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3482 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3483 |   else | 
|---|
| 3484 |     ac_cpp_err= | 
|---|
| 3485 |   fi | 
|---|
| 3486 | else | 
|---|
| 3487 |   ac_cpp_err=yes | 
|---|
| 3488 | fi | 
|---|
| 3489 | if test -z "$ac_cpp_err"; then | 
|---|
| 3490 |   : | 
|---|
| 3491 | else | 
|---|
| 3492 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3493 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3494 |  | 
|---|
| 3495 |   # Broken: fails on valid input. | 
|---|
| 3496 | continue | 
|---|
| 3497 | fi | 
|---|
| 3498 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3499 |  | 
|---|
| 3500 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3501 |   # can be detected and how. | 
|---|
| 3502 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3503 | /* confdefs.h.  */ | 
|---|
| 3504 | _ACEOF | 
|---|
| 3505 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3506 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3507 | /* end confdefs.h.  */ | 
|---|
| 3508 | #include <ac_nonexistent.h> | 
|---|
| 3509 | _ACEOF | 
|---|
| 3510 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3511 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3512 |   ac_status=$? | 
|---|
| 3513 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3514 |   rm -f conftest.er1 | 
|---|
| 3515 |   cat conftest.err >&5 | 
|---|
| 3516 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3517 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3518 |   if test -s conftest.err; then | 
|---|
| 3519 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3520 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3521 |   else | 
|---|
| 3522 |     ac_cpp_err= | 
|---|
| 3523 |   fi | 
|---|
| 3524 | else | 
|---|
| 3525 |   ac_cpp_err=yes | 
|---|
| 3526 | fi | 
|---|
| 3527 | if test -z "$ac_cpp_err"; then | 
|---|
| 3528 |   # Broken: success on invalid input. | 
|---|
| 3529 | continue | 
|---|
| 3530 | else | 
|---|
| 3531 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3532 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3533 |  | 
|---|
| 3534 |   # Passes both tests. | 
|---|
| 3535 | ac_preproc_ok=: | 
|---|
| 3536 | break | 
|---|
| 3537 | fi | 
|---|
| 3538 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3539 |  | 
|---|
| 3540 | done | 
|---|
| 3541 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3542 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3543 | if $ac_preproc_ok; then | 
|---|
| 3544 |   break | 
|---|
| 3545 | fi | 
|---|
| 3546 |  | 
|---|
| 3547 |     done | 
|---|
| 3548 |     ac_cv_prog_CPP=$CPP | 
|---|
| 3549 |  | 
|---|
| 3550 | fi | 
|---|
| 3551 |   CPP=$ac_cv_prog_CPP | 
|---|
| 3552 | else | 
|---|
| 3553 |   ac_cv_prog_CPP=$CPP | 
|---|
| 3554 | fi | 
|---|
| 3555 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
| 3556 | echo "${ECHO_T}$CPP" >&6 | 
|---|
| 3557 | ac_preproc_ok=false | 
|---|
| 3558 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3559 | do | 
|---|
| 3560 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3561 |   # with a fresh cross-compiler works. | 
|---|
| 3562 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3563 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3564 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3565 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3566 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3567 | /* confdefs.h.  */ | 
|---|
| 3568 | _ACEOF | 
|---|
| 3569 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3570 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3571 | /* end confdefs.h.  */ | 
|---|
| 3572 | #ifdef __STDC__ | 
|---|
| 3573 | # include <limits.h> | 
|---|
| 3574 | #else | 
|---|
| 3575 | # include <assert.h> | 
|---|
| 3576 | #endif | 
|---|
| 3577 |                      Syntax error | 
|---|
| 3578 | _ACEOF | 
|---|
| 3579 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3580 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3581 |   ac_status=$? | 
|---|
| 3582 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3583 |   rm -f conftest.er1 | 
|---|
| 3584 |   cat conftest.err >&5 | 
|---|
| 3585 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3586 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3587 |   if test -s conftest.err; then | 
|---|
| 3588 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3589 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3590 |   else | 
|---|
| 3591 |     ac_cpp_err= | 
|---|
| 3592 |   fi | 
|---|
| 3593 | else | 
|---|
| 3594 |   ac_cpp_err=yes | 
|---|
| 3595 | fi | 
|---|
| 3596 | if test -z "$ac_cpp_err"; then | 
|---|
| 3597 |   : | 
|---|
| 3598 | else | 
|---|
| 3599 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3600 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3601 |  | 
|---|
| 3602 |   # Broken: fails on valid input. | 
|---|
| 3603 | continue | 
|---|
| 3604 | fi | 
|---|
| 3605 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3606 |  | 
|---|
| 3607 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3608 |   # can be detected and how. | 
|---|
| 3609 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3610 | /* confdefs.h.  */ | 
|---|
| 3611 | _ACEOF | 
|---|
| 3612 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3613 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3614 | /* end confdefs.h.  */ | 
|---|
| 3615 | #include <ac_nonexistent.h> | 
|---|
| 3616 | _ACEOF | 
|---|
| 3617 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3618 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3619 |   ac_status=$? | 
|---|
| 3620 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3621 |   rm -f conftest.er1 | 
|---|
| 3622 |   cat conftest.err >&5 | 
|---|
| 3623 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3624 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3625 |   if test -s conftest.err; then | 
|---|
| 3626 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3627 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3628 |   else | 
|---|
| 3629 |     ac_cpp_err= | 
|---|
| 3630 |   fi | 
|---|
| 3631 | else | 
|---|
| 3632 |   ac_cpp_err=yes | 
|---|
| 3633 | fi | 
|---|
| 3634 | if test -z "$ac_cpp_err"; then | 
|---|
| 3635 |   # Broken: success on invalid input. | 
|---|
| 3636 | continue | 
|---|
| 3637 | else | 
|---|
| 3638 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3639 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3640 |  | 
|---|
| 3641 |   # Passes both tests. | 
|---|
| 3642 | ac_preproc_ok=: | 
|---|
| 3643 | break | 
|---|
| 3644 | fi | 
|---|
| 3645 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3646 |  | 
|---|
| 3647 | done | 
|---|
| 3648 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3649 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3650 | if $ac_preproc_ok; then | 
|---|
| 3651 |   : | 
|---|
| 3652 | else | 
|---|
| 3653 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3654 | See \`config.log' for more details." >&5 | 
|---|
| 3655 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3656 | See \`config.log' for more details." >&2;} | 
|---|
| 3657 |    { (exit 1); exit 1; }; } | 
|---|
| 3658 | fi | 
|---|
| 3659 |  | 
|---|
| 3660 | ac_ext=c | 
|---|
| 3661 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3662 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3663 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3664 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3665 |  | 
|---|
| 3666 |  | 
|---|
| 3667 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
| 3668 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
| 3669 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
| 3670 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3671 | else | 
|---|
| 3672 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
| 3673 |     then ac_cv_prog_egrep='grep -E' | 
|---|
| 3674 |     else ac_cv_prog_egrep='egrep' | 
|---|
| 3675 |     fi | 
|---|
| 3676 | fi | 
|---|
| 3677 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
| 3678 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
| 3679 |  EGREP=$ac_cv_prog_egrep | 
|---|
| 3680 |  | 
|---|
| 3681 |  | 
|---|
| 3682 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 3683 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 3684 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 3685 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3686 | else | 
|---|
| 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 <stdlib.h> | 
|---|
| 3694 | #include <stdarg.h> | 
|---|
| 3695 | #include <string.h> | 
|---|
| 3696 | #include <float.h> | 
|---|
| 3697 |  | 
|---|
| 3698 | int | 
|---|
| 3699 | main () | 
|---|
| 3700 | { | 
|---|
| 3701 |  | 
|---|
| 3702 |   ; | 
|---|
| 3703 |   return 0; | 
|---|
| 3704 | } | 
|---|
| 3705 | _ACEOF | 
|---|
| 3706 | rm -f conftest.$ac_objext | 
|---|
| 3707 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3708 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3709 |   ac_status=$? | 
|---|
| 3710 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3711 |   rm -f conftest.er1 | 
|---|
| 3712 |   cat conftest.err >&5 | 
|---|
| 3713 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3714 |   (exit $ac_status); } && | 
|---|
| 3715 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3716 |                          || test ! -s conftest.err' | 
|---|
| 3717 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3718 |   (eval $ac_try) 2>&5 | 
|---|
| 3719 |   ac_status=$? | 
|---|
| 3720 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3721 |   (exit $ac_status); }; } && | 
|---|
| 3722 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3723 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3724 |   (eval $ac_try) 2>&5 | 
|---|
| 3725 |   ac_status=$? | 
|---|
| 3726 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3727 |   (exit $ac_status); }; }; then | 
|---|
| 3728 |   ac_cv_header_stdc=yes | 
|---|
| 3729 | else | 
|---|
| 3730 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3731 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3732 |  | 
|---|
| 3733 | ac_cv_header_stdc=no | 
|---|
| 3734 | fi | 
|---|
| 3735 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3736 |  | 
|---|
| 3737 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3738 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 3739 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3740 | /* confdefs.h.  */ | 
|---|
| 3741 | _ACEOF | 
|---|
| 3742 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3743 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3744 | /* end confdefs.h.  */ | 
|---|
| 3745 | #include <string.h> | 
|---|
| 3746 |  | 
|---|
| 3747 | _ACEOF | 
|---|
| 3748 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3749 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 3750 |   : | 
|---|
| 3751 | else | 
|---|
| 3752 |   ac_cv_header_stdc=no | 
|---|
| 3753 | fi | 
|---|
| 3754 | rm -f conftest* | 
|---|
| 3755 |  | 
|---|
| 3756 | fi | 
|---|
| 3757 |  | 
|---|
| 3758 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3759 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 3760 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3761 | /* confdefs.h.  */ | 
|---|
| 3762 | _ACEOF | 
|---|
| 3763 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3764 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3765 | /* end confdefs.h.  */ | 
|---|
| 3766 | #include <stdlib.h> | 
|---|
| 3767 |  | 
|---|
| 3768 | _ACEOF | 
|---|
| 3769 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3770 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 3771 |   : | 
|---|
| 3772 | else | 
|---|
| 3773 |   ac_cv_header_stdc=no | 
|---|
| 3774 | fi | 
|---|
| 3775 | rm -f conftest* | 
|---|
| 3776 |  | 
|---|
| 3777 | fi | 
|---|
| 3778 |  | 
|---|
| 3779 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3780 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 3781 |   if test "$cross_compiling" = yes; then | 
|---|
| 3782 |   : | 
|---|
| 3783 | else | 
|---|
| 3784 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3785 | /* confdefs.h.  */ | 
|---|
| 3786 | _ACEOF | 
|---|
| 3787 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3788 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3789 | /* end confdefs.h.  */ | 
|---|
| 3790 | #include <ctype.h> | 
|---|
| 3791 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 3792 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 3793 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 3794 | #else | 
|---|
| 3795 | # define ISLOWER(c) \ | 
|---|
| 3796 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 3797 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 3798 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 3799 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 3800 | #endif | 
|---|
| 3801 |  | 
|---|
| 3802 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 3803 | int | 
|---|
| 3804 | main () | 
|---|
| 3805 | { | 
|---|
| 3806 |   int i; | 
|---|
| 3807 |   for (i = 0; i < 256; i++) | 
|---|
| 3808 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 3809 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 3810 |       exit(2); | 
|---|
| 3811 |   exit (0); | 
|---|
| 3812 | } | 
|---|
| 3813 | _ACEOF | 
|---|
| 3814 | rm -f conftest$ac_exeext | 
|---|
| 3815 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3816 |   (eval $ac_link) 2>&5 | 
|---|
| 3817 |   ac_status=$? | 
|---|
| 3818 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3819 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 3820 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3821 |   (eval $ac_try) 2>&5 | 
|---|
| 3822 |   ac_status=$? | 
|---|
| 3823 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3824 |   (exit $ac_status); }; }; then | 
|---|
| 3825 |   : | 
|---|
| 3826 | else | 
|---|
| 3827 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 3828 | echo "$as_me: failed program was:" >&5 | 
|---|
| 3829 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3830 |  | 
|---|
| 3831 | ( exit $ac_status ) | 
|---|
| 3832 | ac_cv_header_stdc=no | 
|---|
| 3833 | fi | 
|---|
| 3834 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3835 | fi | 
|---|
| 3836 | fi | 
|---|
| 3837 | fi | 
|---|
| 3838 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 3839 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 3840 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3841 |  | 
|---|
| 3842 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 3843 | #define STDC_HEADERS 1 | 
|---|
| 3844 | _ACEOF | 
|---|
| 3845 |  | 
|---|
| 3846 | fi | 
|---|
| 3847 |  | 
|---|
| 3848 |  | 
|---|
| 3849 | ################################## | 
|---|
| 3850 | ## CHECKING  OPTIONAL ARGUMENTS ## | 
|---|
| 3851 | ################################## | 
|---|
| 3852 |  | 
|---|
| 3853 | #-----------------# | 
|---|
| 3854 | # DEBUG-statement # | 
|---|
| 3855 | #-----------------# | 
|---|
| 3856 | DEBUG=no | 
|---|
| 3857 | echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 | 
|---|
| 3858 | echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 | 
|---|
| 3859 | # Check whether --enable-debug or --disable-debug was given. | 
|---|
| 3860 | if test "${enable_debug+set}" = set; then | 
|---|
| 3861 |   enableval="$enable_debug" | 
|---|
| 3862 |   DEBUG=$enableval | 
|---|
| 3863 | fi; | 
|---|
| 3864 |  | 
|---|
| 3865 | if test x$DEBUG = xno; then | 
|---|
| 3866 |         echo "no" | 
|---|
| 3867 |         echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed." | 
|---|
| 3868 |         DEBUG=4 | 
|---|
| 3869 | elif test x$DEBUG = xyes; then | 
|---|
| 3870 |         echo "yes" | 
|---|
| 3871 |         echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." | 
|---|
| 3872 |         DEBUG=4 | 
|---|
| 3873 | else | 
|---|
| 3874 |         echo "yes: setting debuglevel to to $DEBUG" | 
|---|
| 3875 | fi | 
|---|
| 3876 |  | 
|---|
| 3877 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3878 | #define DEBUG $DEBUG | 
|---|
| 3879 | _ACEOF | 
|---|
| 3880 |  | 
|---|
| 3881 |  | 
|---|
| 3882 |  | 
|---|
| 3883 |  | 
|---|
| 3884 | #---------------# | 
|---|
| 3885 | # Modular Debug # | 
|---|
| 3886 | #---------------# | 
|---|
| 3887 | MODULAR_DEBUG=yes | 
|---|
| 3888 | echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&5 | 
|---|
| 3889 | echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&6 | 
|---|
| 3890 | # Check whether --enable-modular-debug or --disable-modular-debug was given. | 
|---|
| 3891 | if test "${enable_modular_debug+set}" = set; then | 
|---|
| 3892 |   enableval="$enable_modular_debug" | 
|---|
| 3893 |   MODULAR_DEBUG=$enableval | 
|---|
| 3894 | fi; | 
|---|
| 3895 |  | 
|---|
| 3896 | if test x$MODULAR_DEBUG = xno; then | 
|---|
| 3897 |         echo "no" | 
|---|
| 3898 | elif test x$MODULAR_DEBUG = xyes; then | 
|---|
| 3899 |         echo "yes" | 
|---|
| 3900 |  | 
|---|
| 3901 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3902 | #define MODULAR_DEBUG 1 | 
|---|
| 3903 | _ACEOF | 
|---|
| 3904 |  | 
|---|
| 3905 | fi | 
|---|
| 3906 |  | 
|---|
| 3907 | #--------------# | 
|---|
| 3908 | # GTK-disabled # | 
|---|
| 3909 | #--------------# | 
|---|
| 3910 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
| 3911 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
| 3912 |  | 
|---|
| 3913 | # Check whether --with-gtk or --without-gtk was given. | 
|---|
| 3914 | if test "${with_gtk+set}" = set; then | 
|---|
| 3915 |   withval="$with_gtk" | 
|---|
| 3916 |   def_gtk=no | 
|---|
| 3917 | else | 
|---|
| 3918 |   def_gtk=yes | 
|---|
| 3919 | fi; | 
|---|
| 3920 | if test x$def_gtk = xyes; then | 
|---|
| 3921 |   echo "yes" | 
|---|
| 3922 | fi | 
|---|
| 3923 | if test x$def_gtk = xno; then | 
|---|
| 3924 |   echo "no" | 
|---|
| 3925 | fi | 
|---|
| 3926 |  | 
|---|
| 3927 | #------------------# | 
|---|
| 3928 | # gThread-disabled # | 
|---|
| 3929 | #------------------# | 
|---|
| 3930 | echo "$as_me:$LINENO: checking if gThread should be enabled" >&5 | 
|---|
| 3931 | echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6 | 
|---|
| 3932 |  | 
|---|
| 3933 | # Check whether --with-gthread or --without-gthread was given. | 
|---|
| 3934 | if test "${with_gthread+set}" = set; then | 
|---|
| 3935 |   withval="$with_gthread" | 
|---|
| 3936 |   def_gthread=no | 
|---|
| 3937 | else | 
|---|
| 3938 |   def_gthread=yes | 
|---|
| 3939 | fi; | 
|---|
| 3940 | if test x$def_gthread = xyes; then | 
|---|
| 3941 |   echo "yes" | 
|---|
| 3942 | fi | 
|---|
| 3943 | if test x$def_gthread = xno; then | 
|---|
| 3944 |   echo "no" | 
|---|
| 3945 | fi | 
|---|
| 3946 |  | 
|---|
| 3947 | #------------------# | 
|---|
| 3948 | # pthread-disabled # | 
|---|
| 3949 | #------------------# | 
|---|
| 3950 | echo "$as_me:$LINENO: checking if pthread should be enabled" >&5 | 
|---|
| 3951 | echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6 | 
|---|
| 3952 |  | 
|---|
| 3953 | # Check whether --with-pthread or --without-pthread was given. | 
|---|
| 3954 | if test "${with_pthread+set}" = set; then | 
|---|
| 3955 |   withval="$with_pthread" | 
|---|
| 3956 |   def_pthread=no | 
|---|
| 3957 | else | 
|---|
| 3958 |   def_pthread=yes | 
|---|
| 3959 | fi; | 
|---|
| 3960 | if test x$def_pthread = xyes; then | 
|---|
| 3961 |   echo "yes" | 
|---|
| 3962 | fi | 
|---|
| 3963 | if test x$def_pthread = xno; then | 
|---|
| 3964 |   echo "no" | 
|---|
| 3965 | fi | 
|---|
| 3966 |  | 
|---|
| 3967 | #------------------# | 
|---|
| 3968 | # libCurl-disabled # | 
|---|
| 3969 | #------------------# | 
|---|
| 3970 | echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 | 
|---|
| 3971 | echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 | 
|---|
| 3972 |  | 
|---|
| 3973 | # Check whether --with-curl or --without-curl was given. | 
|---|
| 3974 | if test "${with_curl+set}" = set; then | 
|---|
| 3975 |   withval="$with_curl" | 
|---|
| 3976 |   def_curl=no | 
|---|
| 3977 | else | 
|---|
| 3978 |   def_curl=yes | 
|---|
| 3979 | fi; | 
|---|
| 3980 | if test x$def_curl = xyes; then | 
|---|
| 3981 |   echo "yes" | 
|---|
| 3982 | fi | 
|---|
| 3983 | if test x$def_curl = xno; then | 
|---|
| 3984 |   echo "no" | 
|---|
| 3985 | fi | 
|---|
| 3986 |  | 
|---|
| 3987 | #-------------------# | 
|---|
| 3988 | # SDL_image-disable # | 
|---|
| 3989 | #-------------------# | 
|---|
| 3990 | def_sdl_image=yes | 
|---|
| 3991 | echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 | 
|---|
| 3992 | echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6 | 
|---|
| 3993 |  | 
|---|
| 3994 | # Check whether --with-sdl_image or --without-sdl_image was given. | 
|---|
| 3995 | if test "${with_sdl_image+set}" = set; then | 
|---|
| 3996 |   withval="$with_sdl_image" | 
|---|
| 3997 |   def_sdl_image=no | 
|---|
| 3998 | fi; | 
|---|
| 3999 | if test x$def_sdl_image = xyes; then | 
|---|
| 4000 |   echo "yes" | 
|---|
| 4001 | fi | 
|---|
| 4002 | if test x$def_sdl_image = xno; then | 
|---|
| 4003 |   echo "no" | 
|---|
| 4004 | fi | 
|---|
| 4005 |  | 
|---|
| 4006 | #-------------------# | 
|---|
| 4007 | # SubProject-enable # | 
|---|
| 4008 | #-------------------# | 
|---|
| 4009 | def_sub_projects=no | 
|---|
| 4010 | echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 | 
|---|
| 4011 | echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 | 
|---|
| 4012 | # Check whether --enable-sub-projects or --disable-sub-projects was given. | 
|---|
| 4013 | if test "${enable_sub_projects+set}" = set; then | 
|---|
| 4014 |   enableval="$enable_sub_projects" | 
|---|
| 4015 |   def_sub_projects=yes | 
|---|
| 4016 | fi; | 
|---|
| 4017 | if test x$def_sub_projects = xyes; then | 
|---|
| 4018 |   echo "yes" | 
|---|
| 4019 | fi | 
|---|
| 4020 | if test x$def_sub_projects = xno; then | 
|---|
| 4021 |   echo "no" | 
|---|
| 4022 | fi | 
|---|
| 4023 |  | 
|---|
| 4024 |  | 
|---|
| 4025 | if test x$def_sub_projects = xyes; then | 
|---|
| 4026 |   SUB_PROJECTS_TRUE= | 
|---|
| 4027 |   SUB_PROJECTS_FALSE='#' | 
|---|
| 4028 | else | 
|---|
| 4029 |   SUB_PROJECTS_TRUE='#' | 
|---|
| 4030 |   SUB_PROJECTS_FALSE= | 
|---|
| 4031 | fi | 
|---|
| 4032 |  | 
|---|
| 4033 |  | 
|---|
| 4034 | #-------------------# | 
|---|
| 4035 | # Profiling Enabled # | 
|---|
| 4036 | #-------------------# | 
|---|
| 4037 | def_profiling=no | 
|---|
| 4038 | echo "$as_me:$LINENO: checking if Profiling should be enabled" >&5 | 
|---|
| 4039 | echo $ECHO_N "checking if Profiling should be enabled... $ECHO_C" >&6 | 
|---|
| 4040 | # Check whether --enable-profile or --disable-profile was given. | 
|---|
| 4041 | if test "${enable_profile+set}" = set; then | 
|---|
| 4042 |   enableval="$enable_profile" | 
|---|
| 4043 |   def_profiling=yes | 
|---|
| 4044 | fi; | 
|---|
| 4045 | if test x$def_profiling = xyes; then | 
|---|
| 4046 |  | 
|---|
| 4047 |  | 
|---|
| 4048 | if test x$def_sub_projects = xyes; then | 
|---|
| 4049 |   SUB_PROJECTS_TRUE= | 
|---|
| 4050 |   SUB_PROJECTS_FALSE='#' | 
|---|
| 4051 | else | 
|---|
| 4052 |   SUB_PROJECTS_TRUE='#' | 
|---|
| 4053 |   SUB_PROJECTS_FALSE= | 
|---|
| 4054 | fi | 
|---|
| 4055 |  | 
|---|
| 4056 |   echo "yes" | 
|---|
| 4057 |   CXXFLAGS="$CXXFLAGS -pg" | 
|---|
| 4058 | fi | 
|---|
| 4059 | if test x$def_profiling = xno; then | 
|---|
| 4060 |   echo "no" | 
|---|
| 4061 | fi | 
|---|
| 4062 |  | 
|---|
| 4063 | #----------------------# | 
|---|
| 4064 | # Documentation-enable # | 
|---|
| 4065 | #----------------------# | 
|---|
| 4066 | def_documentation=no | 
|---|
| 4067 | echo "$as_me:$LINENO: checking if the Documentation should be build by default" >&5 | 
|---|
| 4068 | echo $ECHO_N "checking if the Documentation should be build by default... $ECHO_C" >&6 | 
|---|
| 4069 | # Check whether --enable-documentation or --disable-documentation was given. | 
|---|
| 4070 | if test "${enable_documentation+set}" = set; then | 
|---|
| 4071 |   enableval="$enable_documentation" | 
|---|
| 4072 |   def_documentation=yes | 
|---|
| 4073 | fi; | 
|---|
| 4074 | if test x$def_documentation = xyes; then | 
|---|
| 4075 |   echo "yes" | 
|---|
| 4076 | fi | 
|---|
| 4077 | if test x$def_documentation = xno; then | 
|---|
| 4078 |   echo "no" | 
|---|
| 4079 | fi | 
|---|
| 4080 |  | 
|---|
| 4081 |  | 
|---|
| 4082 | if test x$def_documentation = xyes; then | 
|---|
| 4083 |   DOCUMENTATION_TRUE= | 
|---|
| 4084 |   DOCUMENTATION_FALSE='#' | 
|---|
| 4085 | else | 
|---|
| 4086 |   DOCUMENTATION_TRUE='#' | 
|---|
| 4087 |   DOCUMENTATION_FALSE= | 
|---|
| 4088 | fi | 
|---|
| 4089 |  | 
|---|
| 4090 | ####################### | 
|---|
| 4091 | ## PROGRAMM CHECKING ## | 
|---|
| 4092 | ## 3. party Programs ## | 
|---|
| 4093 | ####################### | 
|---|
| 4094 |  | 
|---|
| 4095 | #----------------------# | 
|---|
| 4096 | # checking for Doxygen # | 
|---|
| 4097 | #----------------------# | 
|---|
| 4098 | # Extract the first word of "doxygen", so it can be a program name with args. | 
|---|
| 4099 | set dummy doxygen; ac_word=$2 | 
|---|
| 4100 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4101 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4102 | if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
|---|
| 4103 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4104 | else | 
|---|
| 4105 |   case $DOXYGEN in | 
|---|
| 4106 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4107 |   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
|---|
| 4108 |   ;; | 
|---|
| 4109 |   *) | 
|---|
| 4110 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4111 | for as_dir in $PATH | 
|---|
| 4112 | do | 
|---|
| 4113 |   IFS=$as_save_IFS | 
|---|
| 4114 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4115 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4116 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4117 |     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4118 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4119 |     break 2 | 
|---|
| 4120 |   fi | 
|---|
| 4121 | done | 
|---|
| 4122 | done | 
|---|
| 4123 |  | 
|---|
| 4124 |   ;; | 
|---|
| 4125 | esac | 
|---|
| 4126 | fi | 
|---|
| 4127 | DOXYGEN=$ac_cv_path_DOXYGEN | 
|---|
| 4128 |  | 
|---|
| 4129 | if test -n "$DOXYGEN"; then | 
|---|
| 4130 |   echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
|---|
| 4131 | echo "${ECHO_T}$DOXYGEN" >&6 | 
|---|
| 4132 | else | 
|---|
| 4133 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4134 | echo "${ECHO_T}no" >&6 | 
|---|
| 4135 | fi | 
|---|
| 4136 |  | 
|---|
| 4137 |  | 
|---|
| 4138 |  | 
|---|
| 4139 | if test $DOXYGEN; then | 
|---|
| 4140 |   DOXYGEN_TRUE= | 
|---|
| 4141 |   DOXYGEN_FALSE='#' | 
|---|
| 4142 | else | 
|---|
| 4143 |   DOXYGEN_TRUE='#' | 
|---|
| 4144 |   DOXYGEN_FALSE= | 
|---|
| 4145 | fi | 
|---|
| 4146 |  | 
|---|
| 4147 |  | 
|---|
| 4148 | #--------------------# | 
|---|
| 4149 | # checking for gprof # | 
|---|
| 4150 | #--------------------# | 
|---|
| 4151 | # Extract the first word of "gprof", so it can be a program name with args. | 
|---|
| 4152 | set dummy gprof; ac_word=$2 | 
|---|
| 4153 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 4154 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 4155 | if test "${ac_cv_path_GPROF+set}" = set; then | 
|---|
| 4156 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4157 | else | 
|---|
| 4158 |   case $GPROF in | 
|---|
| 4159 |   [\\/]* | ?:[\\/]*) | 
|---|
| 4160 |   ac_cv_path_GPROF="$GPROF" # Let the user override the test with a path. | 
|---|
| 4161 |   ;; | 
|---|
| 4162 |   *) | 
|---|
| 4163 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4164 | for as_dir in $PATH | 
|---|
| 4165 | do | 
|---|
| 4166 |   IFS=$as_save_IFS | 
|---|
| 4167 |   test -z "$as_dir" && as_dir=. | 
|---|
| 4168 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 4169 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 4170 |     ac_cv_path_GPROF="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 4171 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 4172 |     break 2 | 
|---|
| 4173 |   fi | 
|---|
| 4174 | done | 
|---|
| 4175 | done | 
|---|
| 4176 |  | 
|---|
| 4177 |   ;; | 
|---|
| 4178 | esac | 
|---|
| 4179 | fi | 
|---|
| 4180 | GPROF=$ac_cv_path_GPROF | 
|---|
| 4181 |  | 
|---|
| 4182 | if test -n "$GPROF"; then | 
|---|
| 4183 |   echo "$as_me:$LINENO: result: $GPROF" >&5 | 
|---|
| 4184 | echo "${ECHO_T}$GPROF" >&6 | 
|---|
| 4185 | else | 
|---|
| 4186 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 4187 | echo "${ECHO_T}no" >&6 | 
|---|
| 4188 | fi | 
|---|
| 4189 |  | 
|---|
| 4190 |  | 
|---|
| 4191 | ######################### | 
|---|
| 4192 | ## CHECKING FOR SYSTEM ## | 
|---|
| 4193 | ######################### | 
|---|
| 4194 | ## here the system is checked, and openGL is included | 
|---|
| 4195 | ## also checking for SDL on differen Systems | 
|---|
| 4196 |  | 
|---|
| 4197 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
| 4198 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| 4199 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
| 4200 | case "$target" in | 
|---|
| 4201 | #---------# | 
|---|
| 4202 | # WINDOWS # | 
|---|
| 4203 | #---------# | 
|---|
| 4204 |   *-*-mingw32*) | 
|---|
| 4205 | echo "mingw-WINDOWS detected" | 
|---|
| 4206 |  | 
|---|
| 4207 | CPPFLAGS="-I/usr/include/SDL -I/mingw/include/SDL" | 
|---|
| 4208 |  | 
|---|
| 4209 |     mingw="yes" | 
|---|
| 4210 |     MSBITFIELDS="-mms-bitfields" | 
|---|
| 4211 |     MWINDOWS="-mwindows" | 
|---|
| 4212 |  | 
|---|
| 4213 | # checking gl header | 
|---|
| 4214 |         #done before loop | 
|---|
| 4215 |  | 
|---|
| 4216 | # checking gl header | 
|---|
| 4217 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 4218 |  | 
|---|
| 4219 |  | 
|---|
| 4220 |  | 
|---|
| 4221 |  | 
|---|
| 4222 |  | 
|---|
| 4223 |  | 
|---|
| 4224 |  | 
|---|
| 4225 |  | 
|---|
| 4226 |  | 
|---|
| 4227 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 4228 |                   inttypes.h stdint.h unistd.h | 
|---|
| 4229 | do | 
|---|
| 4230 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4231 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4232 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4233 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4234 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4235 | else | 
|---|
| 4236 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4237 | /* confdefs.h.  */ | 
|---|
| 4238 | _ACEOF | 
|---|
| 4239 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4240 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4241 | /* end confdefs.h.  */ | 
|---|
| 4242 | $ac_includes_default | 
|---|
| 4243 |  | 
|---|
| 4244 | #include <$ac_header> | 
|---|
| 4245 | _ACEOF | 
|---|
| 4246 | rm -f conftest.$ac_objext | 
|---|
| 4247 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4248 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4249 |   ac_status=$? | 
|---|
| 4250 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4251 |   rm -f conftest.er1 | 
|---|
| 4252 |   cat conftest.err >&5 | 
|---|
| 4253 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4254 |   (exit $ac_status); } && | 
|---|
| 4255 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4256 |                          || test ! -s conftest.err' | 
|---|
| 4257 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4258 |   (eval $ac_try) 2>&5 | 
|---|
| 4259 |   ac_status=$? | 
|---|
| 4260 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4261 |   (exit $ac_status); }; } && | 
|---|
| 4262 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4263 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4264 |   (eval $ac_try) 2>&5 | 
|---|
| 4265 |   ac_status=$? | 
|---|
| 4266 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4267 |   (exit $ac_status); }; }; then | 
|---|
| 4268 |   eval "$as_ac_Header=yes" | 
|---|
| 4269 | else | 
|---|
| 4270 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4271 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4272 |  | 
|---|
| 4273 | eval "$as_ac_Header=no" | 
|---|
| 4274 | fi | 
|---|
| 4275 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4276 | fi | 
|---|
| 4277 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4278 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4279 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4280 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4281 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4282 | _ACEOF | 
|---|
| 4283 |  | 
|---|
| 4284 | fi | 
|---|
| 4285 |  | 
|---|
| 4286 | done | 
|---|
| 4287 |  | 
|---|
| 4288 |  | 
|---|
| 4289 |  | 
|---|
| 4290 | for ac_header in GL/gl.h | 
|---|
| 4291 | do | 
|---|
| 4292 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4293 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4294 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4295 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4296 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4297 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4298 | fi | 
|---|
| 4299 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4300 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4301 | else | 
|---|
| 4302 |   # Is the header compilable? | 
|---|
| 4303 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4304 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4305 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4306 | /* confdefs.h.  */ | 
|---|
| 4307 | _ACEOF | 
|---|
| 4308 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4309 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4310 | /* end confdefs.h.  */ | 
|---|
| 4311 | $ac_includes_default | 
|---|
| 4312 | #include <$ac_header> | 
|---|
| 4313 | _ACEOF | 
|---|
| 4314 | rm -f conftest.$ac_objext | 
|---|
| 4315 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4316 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4317 |   ac_status=$? | 
|---|
| 4318 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4319 |   rm -f conftest.er1 | 
|---|
| 4320 |   cat conftest.err >&5 | 
|---|
| 4321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4322 |   (exit $ac_status); } && | 
|---|
| 4323 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4324 |                          || test ! -s conftest.err' | 
|---|
| 4325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4326 |   (eval $ac_try) 2>&5 | 
|---|
| 4327 |   ac_status=$? | 
|---|
| 4328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4329 |   (exit $ac_status); }; } && | 
|---|
| 4330 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4331 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4332 |   (eval $ac_try) 2>&5 | 
|---|
| 4333 |   ac_status=$? | 
|---|
| 4334 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4335 |   (exit $ac_status); }; }; then | 
|---|
| 4336 |   ac_header_compiler=yes | 
|---|
| 4337 | else | 
|---|
| 4338 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4339 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4340 |  | 
|---|
| 4341 | ac_header_compiler=no | 
|---|
| 4342 | fi | 
|---|
| 4343 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4344 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4345 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4346 |  | 
|---|
| 4347 | # Is the header present? | 
|---|
| 4348 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4349 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4350 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4351 | /* confdefs.h.  */ | 
|---|
| 4352 | _ACEOF | 
|---|
| 4353 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4354 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4355 | /* end confdefs.h.  */ | 
|---|
| 4356 | #include <$ac_header> | 
|---|
| 4357 | _ACEOF | 
|---|
| 4358 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4359 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4360 |   ac_status=$? | 
|---|
| 4361 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4362 |   rm -f conftest.er1 | 
|---|
| 4363 |   cat conftest.err >&5 | 
|---|
| 4364 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4365 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4366 |   if test -s conftest.err; then | 
|---|
| 4367 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4368 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4369 |   else | 
|---|
| 4370 |     ac_cpp_err= | 
|---|
| 4371 |   fi | 
|---|
| 4372 | else | 
|---|
| 4373 |   ac_cpp_err=yes | 
|---|
| 4374 | fi | 
|---|
| 4375 | if test -z "$ac_cpp_err"; then | 
|---|
| 4376 |   ac_header_preproc=yes | 
|---|
| 4377 | else | 
|---|
| 4378 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4379 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4380 |  | 
|---|
| 4381 |   ac_header_preproc=no | 
|---|
| 4382 | fi | 
|---|
| 4383 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4384 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4385 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4386 |  | 
|---|
| 4387 | # So?  What about this header? | 
|---|
| 4388 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4389 |   yes:no: ) | 
|---|
| 4390 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4391 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4392 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4393 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4394 |     ac_header_preproc=yes | 
|---|
| 4395 |     ;; | 
|---|
| 4396 |   no:yes:* ) | 
|---|
| 4397 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4398 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4399 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4400 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4401 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4402 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4403 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4404 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4405 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4406 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4407 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4408 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4409 |     ( | 
|---|
| 4410 |       cat <<\_ASBOX | 
|---|
| 4411 | ## ---------------------------------------------- ## | 
|---|
| 4412 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4413 | ## ---------------------------------------------- ## | 
|---|
| 4414 | _ASBOX | 
|---|
| 4415 |     ) | | 
|---|
| 4416 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4417 |     ;; | 
|---|
| 4418 | esac | 
|---|
| 4419 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4420 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4421 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4422 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4423 | else | 
|---|
| 4424 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4425 | fi | 
|---|
| 4426 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4427 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4428 |  | 
|---|
| 4429 | fi | 
|---|
| 4430 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4431 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4432 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4433 | _ACEOF | 
|---|
| 4434 |  | 
|---|
| 4435 | else | 
|---|
| 4436 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4437 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4438 |    { (exit 1); exit 1; }; } | 
|---|
| 4439 | fi | 
|---|
| 4440 |  | 
|---|
| 4441 | done | 
|---|
| 4442 |  | 
|---|
| 4443 | #   checking for Windows openGl library | 
|---|
| 4444 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
| 4445 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
| 4446 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| 4447 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4448 | else | 
|---|
| 4449 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4450 | LIBS="-lopengl32  $LIBS" | 
|---|
| 4451 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4452 | /* confdefs.h.  */ | 
|---|
| 4453 | _ACEOF | 
|---|
| 4454 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4455 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4456 | /* end confdefs.h.  */ | 
|---|
| 4457 |  | 
|---|
| 4458 |  | 
|---|
| 4459 | int | 
|---|
| 4460 | main () | 
|---|
| 4461 | { | 
|---|
| 4462 | main (); | 
|---|
| 4463 |   ; | 
|---|
| 4464 |   return 0; | 
|---|
| 4465 | } | 
|---|
| 4466 | _ACEOF | 
|---|
| 4467 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4468 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4469 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4470 |   ac_status=$? | 
|---|
| 4471 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4472 |   rm -f conftest.er1 | 
|---|
| 4473 |   cat conftest.err >&5 | 
|---|
| 4474 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4475 |   (exit $ac_status); } && | 
|---|
| 4476 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4477 |                          || test ! -s conftest.err' | 
|---|
| 4478 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4479 |   (eval $ac_try) 2>&5 | 
|---|
| 4480 |   ac_status=$? | 
|---|
| 4481 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4482 |   (exit $ac_status); }; } && | 
|---|
| 4483 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4484 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4485 |   (eval $ac_try) 2>&5 | 
|---|
| 4486 |   ac_status=$? | 
|---|
| 4487 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4488 |   (exit $ac_status); }; }; then | 
|---|
| 4489 |   ac_cv_lib_opengl32_main=yes | 
|---|
| 4490 | else | 
|---|
| 4491 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4492 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4493 |  | 
|---|
| 4494 | ac_cv_lib_opengl32_main=no | 
|---|
| 4495 | fi | 
|---|
| 4496 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4497 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4498 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4499 | fi | 
|---|
| 4500 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
| 4501 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
| 4502 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
| 4503 |   FOUND_opengl32=yes | 
|---|
| 4504 | else | 
|---|
| 4505 |   "gl/gl.h" | 
|---|
| 4506 | fi | 
|---|
| 4507 |  | 
|---|
| 4508 |     if test x$FOUND_opengl32 = xyes ; then | 
|---|
| 4509 |         LIBS="$LIBS -lopengl32" | 
|---|
| 4510 |     else | 
|---|
| 4511 |          echo "------------------" | 
|---|
| 4512 |          echo "opengl not found." | 
|---|
| 4513 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 4514 |          echo "------------------" | 
|---|
| 4515 |          exit -1 | 
|---|
| 4516 |     fi | 
|---|
| 4517 |  | 
|---|
| 4518 | # cheking for GLU-header | 
|---|
| 4519 |  | 
|---|
| 4520 | for ac_header in GL/glu.h | 
|---|
| 4521 | do | 
|---|
| 4522 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4523 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4524 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4525 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4526 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4527 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4528 | fi | 
|---|
| 4529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4530 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4531 | else | 
|---|
| 4532 |   # Is the header compilable? | 
|---|
| 4533 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4534 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4535 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4536 | /* confdefs.h.  */ | 
|---|
| 4537 | _ACEOF | 
|---|
| 4538 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4539 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4540 | /* end confdefs.h.  */ | 
|---|
| 4541 | $ac_includes_default | 
|---|
| 4542 | #include <$ac_header> | 
|---|
| 4543 | _ACEOF | 
|---|
| 4544 | rm -f conftest.$ac_objext | 
|---|
| 4545 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4546 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4547 |   ac_status=$? | 
|---|
| 4548 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4549 |   rm -f conftest.er1 | 
|---|
| 4550 |   cat conftest.err >&5 | 
|---|
| 4551 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4552 |   (exit $ac_status); } && | 
|---|
| 4553 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4554 |                          || test ! -s conftest.err' | 
|---|
| 4555 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4556 |   (eval $ac_try) 2>&5 | 
|---|
| 4557 |   ac_status=$? | 
|---|
| 4558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4559 |   (exit $ac_status); }; } && | 
|---|
| 4560 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4561 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4562 |   (eval $ac_try) 2>&5 | 
|---|
| 4563 |   ac_status=$? | 
|---|
| 4564 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4565 |   (exit $ac_status); }; }; then | 
|---|
| 4566 |   ac_header_compiler=yes | 
|---|
| 4567 | else | 
|---|
| 4568 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4569 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4570 |  | 
|---|
| 4571 | ac_header_compiler=no | 
|---|
| 4572 | fi | 
|---|
| 4573 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4574 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4575 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4576 |  | 
|---|
| 4577 | # Is the header present? | 
|---|
| 4578 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4579 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4580 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4581 | /* confdefs.h.  */ | 
|---|
| 4582 | _ACEOF | 
|---|
| 4583 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4584 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4585 | /* end confdefs.h.  */ | 
|---|
| 4586 | #include <$ac_header> | 
|---|
| 4587 | _ACEOF | 
|---|
| 4588 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4589 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4590 |   ac_status=$? | 
|---|
| 4591 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4592 |   rm -f conftest.er1 | 
|---|
| 4593 |   cat conftest.err >&5 | 
|---|
| 4594 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4595 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4596 |   if test -s conftest.err; then | 
|---|
| 4597 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4598 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4599 |   else | 
|---|
| 4600 |     ac_cpp_err= | 
|---|
| 4601 |   fi | 
|---|
| 4602 | else | 
|---|
| 4603 |   ac_cpp_err=yes | 
|---|
| 4604 | fi | 
|---|
| 4605 | if test -z "$ac_cpp_err"; then | 
|---|
| 4606 |   ac_header_preproc=yes | 
|---|
| 4607 | else | 
|---|
| 4608 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4609 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4610 |  | 
|---|
| 4611 |   ac_header_preproc=no | 
|---|
| 4612 | fi | 
|---|
| 4613 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4614 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4615 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4616 |  | 
|---|
| 4617 | # So?  What about this header? | 
|---|
| 4618 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4619 |   yes:no: ) | 
|---|
| 4620 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4621 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4622 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4623 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4624 |     ac_header_preproc=yes | 
|---|
| 4625 |     ;; | 
|---|
| 4626 |   no:yes:* ) | 
|---|
| 4627 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4628 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4629 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4630 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4631 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4632 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4633 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4634 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4635 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4636 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4637 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4638 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4639 |     ( | 
|---|
| 4640 |       cat <<\_ASBOX | 
|---|
| 4641 | ## ---------------------------------------------- ## | 
|---|
| 4642 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4643 | ## ---------------------------------------------- ## | 
|---|
| 4644 | _ASBOX | 
|---|
| 4645 |     ) | | 
|---|
| 4646 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4647 |     ;; | 
|---|
| 4648 | esac | 
|---|
| 4649 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4650 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4651 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4652 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4653 | else | 
|---|
| 4654 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4655 | fi | 
|---|
| 4656 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4657 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4658 |  | 
|---|
| 4659 | fi | 
|---|
| 4660 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4661 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4662 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4663 | _ACEOF | 
|---|
| 4664 |  | 
|---|
| 4665 | else | 
|---|
| 4666 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4667 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4668 |    { (exit 1); exit 1; }; } | 
|---|
| 4669 | fi | 
|---|
| 4670 |  | 
|---|
| 4671 | done | 
|---|
| 4672 |  | 
|---|
| 4673 |  | 
|---|
| 4674 | # checking for libGLU | 
|---|
| 4675 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
| 4676 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
| 4677 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| 4678 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4679 | else | 
|---|
| 4680 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4681 | LIBS="-lglu32  $LIBS" | 
|---|
| 4682 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4683 | /* confdefs.h.  */ | 
|---|
| 4684 | _ACEOF | 
|---|
| 4685 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4686 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4687 | /* end confdefs.h.  */ | 
|---|
| 4688 |  | 
|---|
| 4689 |  | 
|---|
| 4690 | int | 
|---|
| 4691 | main () | 
|---|
| 4692 | { | 
|---|
| 4693 | main (); | 
|---|
| 4694 |   ; | 
|---|
| 4695 |   return 0; | 
|---|
| 4696 | } | 
|---|
| 4697 | _ACEOF | 
|---|
| 4698 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4699 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4700 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4701 |   ac_status=$? | 
|---|
| 4702 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4703 |   rm -f conftest.er1 | 
|---|
| 4704 |   cat conftest.err >&5 | 
|---|
| 4705 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4706 |   (exit $ac_status); } && | 
|---|
| 4707 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4708 |                          || test ! -s conftest.err' | 
|---|
| 4709 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4710 |   (eval $ac_try) 2>&5 | 
|---|
| 4711 |   ac_status=$? | 
|---|
| 4712 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4713 |   (exit $ac_status); }; } && | 
|---|
| 4714 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4715 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4716 |   (eval $ac_try) 2>&5 | 
|---|
| 4717 |   ac_status=$? | 
|---|
| 4718 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4719 |   (exit $ac_status); }; }; then | 
|---|
| 4720 |   ac_cv_lib_glu32_main=yes | 
|---|
| 4721 | else | 
|---|
| 4722 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4723 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4724 |  | 
|---|
| 4725 | ac_cv_lib_glu32_main=no | 
|---|
| 4726 | fi | 
|---|
| 4727 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4728 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4729 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4730 | fi | 
|---|
| 4731 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
| 4732 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
| 4733 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
| 4734 |   FOUND_glu32=yes | 
|---|
| 4735 | fi | 
|---|
| 4736 |  | 
|---|
| 4737 |     if test x$FOUND_glu32 = xyes ; then | 
|---|
| 4738 |         LIBS="$LIBS -lGLU32" | 
|---|
| 4739 |     else | 
|---|
| 4740 |          echo "------------------" | 
|---|
| 4741 |          echo "GLU library not found." | 
|---|
| 4742 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 4743 |          echo "------------------" | 
|---|
| 4744 |          exit -1 | 
|---|
| 4745 |     fi | 
|---|
| 4746 |  | 
|---|
| 4747 | # checking for mingw32 | 
|---|
| 4748 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
| 4749 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
| 4750 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| 4751 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4752 | else | 
|---|
| 4753 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4754 | LIBS="-lmingw32  $LIBS" | 
|---|
| 4755 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4756 | /* confdefs.h.  */ | 
|---|
| 4757 | _ACEOF | 
|---|
| 4758 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4759 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4760 | /* end confdefs.h.  */ | 
|---|
| 4761 |  | 
|---|
| 4762 |  | 
|---|
| 4763 | int | 
|---|
| 4764 | main () | 
|---|
| 4765 | { | 
|---|
| 4766 | main (); | 
|---|
| 4767 |   ; | 
|---|
| 4768 |   return 0; | 
|---|
| 4769 | } | 
|---|
| 4770 | _ACEOF | 
|---|
| 4771 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4772 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4773 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4774 |   ac_status=$? | 
|---|
| 4775 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4776 |   rm -f conftest.er1 | 
|---|
| 4777 |   cat conftest.err >&5 | 
|---|
| 4778 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4779 |   (exit $ac_status); } && | 
|---|
| 4780 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4781 |                          || test ! -s conftest.err' | 
|---|
| 4782 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4783 |   (eval $ac_try) 2>&5 | 
|---|
| 4784 |   ac_status=$? | 
|---|
| 4785 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4786 |   (exit $ac_status); }; } && | 
|---|
| 4787 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 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); }; }; then | 
|---|
| 4793 |   ac_cv_lib_mingw32_main=yes | 
|---|
| 4794 | else | 
|---|
| 4795 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4796 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4797 |  | 
|---|
| 4798 | ac_cv_lib_mingw32_main=no | 
|---|
| 4799 | fi | 
|---|
| 4800 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4801 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4802 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4803 | fi | 
|---|
| 4804 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
| 4805 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
| 4806 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
| 4807 |   FOUND_mingw32=yes | 
|---|
| 4808 | fi | 
|---|
| 4809 |  | 
|---|
| 4810 |     if test x$FOUND_mingw32 = xyes; then | 
|---|
| 4811 |         LIBS="$LIBS -lmingw32" | 
|---|
| 4812 |     fi | 
|---|
| 4813 | # checking for SDL-headers | 
|---|
| 4814 |  | 
|---|
| 4815 | for ac_header in SDL.h | 
|---|
| 4816 | do | 
|---|
| 4817 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4818 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4819 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4820 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4821 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4822 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4823 | fi | 
|---|
| 4824 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4825 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4826 | else | 
|---|
| 4827 |   # Is the header compilable? | 
|---|
| 4828 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4829 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4830 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4831 | /* confdefs.h.  */ | 
|---|
| 4832 | _ACEOF | 
|---|
| 4833 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4834 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4835 | /* end confdefs.h.  */ | 
|---|
| 4836 | $ac_includes_default | 
|---|
| 4837 | #include <$ac_header> | 
|---|
| 4838 | _ACEOF | 
|---|
| 4839 | rm -f conftest.$ac_objext | 
|---|
| 4840 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4841 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4842 |   ac_status=$? | 
|---|
| 4843 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4844 |   rm -f conftest.er1 | 
|---|
| 4845 |   cat conftest.err >&5 | 
|---|
| 4846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4847 |   (exit $ac_status); } && | 
|---|
| 4848 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4849 |                          || test ! -s conftest.err' | 
|---|
| 4850 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4851 |   (eval $ac_try) 2>&5 | 
|---|
| 4852 |   ac_status=$? | 
|---|
| 4853 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4854 |   (exit $ac_status); }; } && | 
|---|
| 4855 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4856 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4857 |   (eval $ac_try) 2>&5 | 
|---|
| 4858 |   ac_status=$? | 
|---|
| 4859 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4860 |   (exit $ac_status); }; }; then | 
|---|
| 4861 |   ac_header_compiler=yes | 
|---|
| 4862 | else | 
|---|
| 4863 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4864 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4865 |  | 
|---|
| 4866 | ac_header_compiler=no | 
|---|
| 4867 | fi | 
|---|
| 4868 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4869 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4870 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4871 |  | 
|---|
| 4872 | # Is the header present? | 
|---|
| 4873 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4874 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4875 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4876 | /* confdefs.h.  */ | 
|---|
| 4877 | _ACEOF | 
|---|
| 4878 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4879 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4880 | /* end confdefs.h.  */ | 
|---|
| 4881 | #include <$ac_header> | 
|---|
| 4882 | _ACEOF | 
|---|
| 4883 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4884 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4885 |   ac_status=$? | 
|---|
| 4886 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4887 |   rm -f conftest.er1 | 
|---|
| 4888 |   cat conftest.err >&5 | 
|---|
| 4889 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4890 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4891 |   if test -s conftest.err; then | 
|---|
| 4892 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4893 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4894 |   else | 
|---|
| 4895 |     ac_cpp_err= | 
|---|
| 4896 |   fi | 
|---|
| 4897 | else | 
|---|
| 4898 |   ac_cpp_err=yes | 
|---|
| 4899 | fi | 
|---|
| 4900 | if test -z "$ac_cpp_err"; then | 
|---|
| 4901 |   ac_header_preproc=yes | 
|---|
| 4902 | else | 
|---|
| 4903 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4904 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4905 |  | 
|---|
| 4906 |   ac_header_preproc=no | 
|---|
| 4907 | fi | 
|---|
| 4908 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4909 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4910 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4911 |  | 
|---|
| 4912 | # So?  What about this header? | 
|---|
| 4913 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4914 |   yes:no: ) | 
|---|
| 4915 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4916 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4917 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4918 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4919 |     ac_header_preproc=yes | 
|---|
| 4920 |     ;; | 
|---|
| 4921 |   no:yes:* ) | 
|---|
| 4922 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4923 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4924 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4925 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4926 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4927 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4928 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4929 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4930 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4931 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4932 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4933 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4934 |     ( | 
|---|
| 4935 |       cat <<\_ASBOX | 
|---|
| 4936 | ## ---------------------------------------------- ## | 
|---|
| 4937 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 4938 | ## ---------------------------------------------- ## | 
|---|
| 4939 | _ASBOX | 
|---|
| 4940 |     ) | | 
|---|
| 4941 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4942 |     ;; | 
|---|
| 4943 | esac | 
|---|
| 4944 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4945 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4946 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4947 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4948 | else | 
|---|
| 4949 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4950 | fi | 
|---|
| 4951 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4952 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4953 |  | 
|---|
| 4954 | fi | 
|---|
| 4955 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4956 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4957 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4958 | _ACEOF | 
|---|
| 4959 |  | 
|---|
| 4960 | else | 
|---|
| 4961 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 4962 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 4963 |    { (exit 1); exit 1; }; } | 
|---|
| 4964 | fi | 
|---|
| 4965 |  | 
|---|
| 4966 | done | 
|---|
| 4967 |  | 
|---|
| 4968 |  | 
|---|
| 4969 | #checking for libSDL | 
|---|
| 4970 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
| 4971 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
| 4972 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
| 4973 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4974 | else | 
|---|
| 4975 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4976 | LIBS="-lsdlmain  $LIBS" | 
|---|
| 4977 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4978 | /* confdefs.h.  */ | 
|---|
| 4979 | _ACEOF | 
|---|
| 4980 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4981 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4982 | /* end confdefs.h.  */ | 
|---|
| 4983 |  | 
|---|
| 4984 |  | 
|---|
| 4985 | int | 
|---|
| 4986 | main () | 
|---|
| 4987 | { | 
|---|
| 4988 | main (); | 
|---|
| 4989 |   ; | 
|---|
| 4990 |   return 0; | 
|---|
| 4991 | } | 
|---|
| 4992 | _ACEOF | 
|---|
| 4993 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4994 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4995 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4996 |   ac_status=$? | 
|---|
| 4997 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4998 |   rm -f conftest.er1 | 
|---|
| 4999 |   cat conftest.err >&5 | 
|---|
| 5000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5001 |   (exit $ac_status); } && | 
|---|
| 5002 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5003 |                          || test ! -s conftest.err' | 
|---|
| 5004 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5005 |   (eval $ac_try) 2>&5 | 
|---|
| 5006 |   ac_status=$? | 
|---|
| 5007 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5008 |   (exit $ac_status); }; } && | 
|---|
| 5009 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5010 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5011 |   (eval $ac_try) 2>&5 | 
|---|
| 5012 |   ac_status=$? | 
|---|
| 5013 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5014 |   (exit $ac_status); }; }; then | 
|---|
| 5015 |   ac_cv_lib_sdlmain_main=yes | 
|---|
| 5016 | else | 
|---|
| 5017 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5018 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5019 |  | 
|---|
| 5020 | ac_cv_lib_sdlmain_main=no | 
|---|
| 5021 | fi | 
|---|
| 5022 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5023 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5024 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5025 | fi | 
|---|
| 5026 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
| 5027 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
| 5028 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
| 5029 |   FOUND_sdlmain=yes | 
|---|
| 5030 | fi | 
|---|
| 5031 |  | 
|---|
| 5032 |     if test x$FOUND_sdlmain = xyes ; then | 
|---|
| 5033 |        LIBS="$LIBS -lsdlmain" | 
|---|
| 5034 |     else | 
|---|
| 5035 |         echo "------------------" | 
|---|
| 5036 |         echo "SDL library not found." | 
|---|
| 5037 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5038 |         echo "------------------" | 
|---|
| 5039 |         exit 1 | 
|---|
| 5040 |     fi | 
|---|
| 5041 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
| 5042 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
| 5043 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
| 5044 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5045 | else | 
|---|
| 5046 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5047 | LIBS="-lsdl  $LIBS" | 
|---|
| 5048 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5049 | /* confdefs.h.  */ | 
|---|
| 5050 | _ACEOF | 
|---|
| 5051 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5052 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5053 | /* end confdefs.h.  */ | 
|---|
| 5054 |  | 
|---|
| 5055 |  | 
|---|
| 5056 | int | 
|---|
| 5057 | main () | 
|---|
| 5058 | { | 
|---|
| 5059 | main (); | 
|---|
| 5060 |   ; | 
|---|
| 5061 |   return 0; | 
|---|
| 5062 | } | 
|---|
| 5063 | _ACEOF | 
|---|
| 5064 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5065 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5066 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5067 |   ac_status=$? | 
|---|
| 5068 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5069 |   rm -f conftest.er1 | 
|---|
| 5070 |   cat conftest.err >&5 | 
|---|
| 5071 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5072 |   (exit $ac_status); } && | 
|---|
| 5073 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5074 |                          || test ! -s conftest.err' | 
|---|
| 5075 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5076 |   (eval $ac_try) 2>&5 | 
|---|
| 5077 |   ac_status=$? | 
|---|
| 5078 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5079 |   (exit $ac_status); }; } && | 
|---|
| 5080 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5081 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5082 |   (eval $ac_try) 2>&5 | 
|---|
| 5083 |   ac_status=$? | 
|---|
| 5084 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5085 |   (exit $ac_status); }; }; then | 
|---|
| 5086 |   ac_cv_lib_sdl_main=yes | 
|---|
| 5087 | else | 
|---|
| 5088 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5089 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5090 |  | 
|---|
| 5091 | ac_cv_lib_sdl_main=no | 
|---|
| 5092 | fi | 
|---|
| 5093 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5094 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5095 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5096 | fi | 
|---|
| 5097 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
| 5098 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
| 5099 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
| 5100 |   FOUND_sdl=yes | 
|---|
| 5101 | fi | 
|---|
| 5102 |  | 
|---|
| 5103 |     if test x$FOUND_sdl = xyes ; then | 
|---|
| 5104 |        LIBS="$LIBS -lsdl" | 
|---|
| 5105 |     else | 
|---|
| 5106 |         echo "------------------" | 
|---|
| 5107 |         echo "SDL library not found." | 
|---|
| 5108 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5109 |         echo "------------------" | 
|---|
| 5110 |         exit -1 | 
|---|
| 5111 |     fi | 
|---|
| 5112 |  | 
|---|
| 5113 |     ;; | 
|---|
| 5114 | #-------# | 
|---|
| 5115 | # LINUX # | 
|---|
| 5116 | #-------# | 
|---|
| 5117 |  *-*-linux*) | 
|---|
| 5118 | echo "Linux detected" | 
|---|
| 5119 |  | 
|---|
| 5120 |  Linux="yes" | 
|---|
| 5121 |  | 
|---|
| 5122 | CPPFLAGS="-I/usr/X11R6/include -I/usr/include/SDL" | 
|---|
| 5123 | LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" | 
|---|
| 5124 | # checking gl header | 
|---|
| 5125 |  | 
|---|
| 5126 | for ac_header in GL/gl.h | 
|---|
| 5127 | do | 
|---|
| 5128 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5129 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5130 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5131 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5132 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5133 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5134 | fi | 
|---|
| 5135 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5136 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5137 | else | 
|---|
| 5138 |   # Is the header compilable? | 
|---|
| 5139 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5140 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5141 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5142 | /* confdefs.h.  */ | 
|---|
| 5143 | _ACEOF | 
|---|
| 5144 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5145 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5146 | /* end confdefs.h.  */ | 
|---|
| 5147 | $ac_includes_default | 
|---|
| 5148 | #include <$ac_header> | 
|---|
| 5149 | _ACEOF | 
|---|
| 5150 | rm -f conftest.$ac_objext | 
|---|
| 5151 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5152 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5153 |   ac_status=$? | 
|---|
| 5154 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5155 |   rm -f conftest.er1 | 
|---|
| 5156 |   cat conftest.err >&5 | 
|---|
| 5157 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5158 |   (exit $ac_status); } && | 
|---|
| 5159 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5160 |                          || test ! -s conftest.err' | 
|---|
| 5161 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5162 |   (eval $ac_try) 2>&5 | 
|---|
| 5163 |   ac_status=$? | 
|---|
| 5164 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5165 |   (exit $ac_status); }; } && | 
|---|
| 5166 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5167 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5168 |   (eval $ac_try) 2>&5 | 
|---|
| 5169 |   ac_status=$? | 
|---|
| 5170 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5171 |   (exit $ac_status); }; }; then | 
|---|
| 5172 |   ac_header_compiler=yes | 
|---|
| 5173 | else | 
|---|
| 5174 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5175 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5176 |  | 
|---|
| 5177 | ac_header_compiler=no | 
|---|
| 5178 | fi | 
|---|
| 5179 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5180 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5181 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5182 |  | 
|---|
| 5183 | # Is the header present? | 
|---|
| 5184 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5185 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5186 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5187 | /* confdefs.h.  */ | 
|---|
| 5188 | _ACEOF | 
|---|
| 5189 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5190 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5191 | /* end confdefs.h.  */ | 
|---|
| 5192 | #include <$ac_header> | 
|---|
| 5193 | _ACEOF | 
|---|
| 5194 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5195 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5196 |   ac_status=$? | 
|---|
| 5197 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5198 |   rm -f conftest.er1 | 
|---|
| 5199 |   cat conftest.err >&5 | 
|---|
| 5200 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5201 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5202 |   if test -s conftest.err; then | 
|---|
| 5203 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5204 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5205 |   else | 
|---|
| 5206 |     ac_cpp_err= | 
|---|
| 5207 |   fi | 
|---|
| 5208 | else | 
|---|
| 5209 |   ac_cpp_err=yes | 
|---|
| 5210 | fi | 
|---|
| 5211 | if test -z "$ac_cpp_err"; then | 
|---|
| 5212 |   ac_header_preproc=yes | 
|---|
| 5213 | else | 
|---|
| 5214 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5215 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5216 |  | 
|---|
| 5217 |   ac_header_preproc=no | 
|---|
| 5218 | fi | 
|---|
| 5219 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5220 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5221 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5222 |  | 
|---|
| 5223 | # So?  What about this header? | 
|---|
| 5224 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5225 |   yes:no: ) | 
|---|
| 5226 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5227 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5228 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5229 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5230 |     ac_header_preproc=yes | 
|---|
| 5231 |     ;; | 
|---|
| 5232 |   no:yes:* ) | 
|---|
| 5233 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5234 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5235 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5236 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5237 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5238 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5239 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5240 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5241 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5242 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5243 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5244 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5245 |     ( | 
|---|
| 5246 |       cat <<\_ASBOX | 
|---|
| 5247 | ## ---------------------------------------------- ## | 
|---|
| 5248 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5249 | ## ---------------------------------------------- ## | 
|---|
| 5250 | _ASBOX | 
|---|
| 5251 |     ) | | 
|---|
| 5252 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5253 |     ;; | 
|---|
| 5254 | esac | 
|---|
| 5255 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5256 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5257 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5258 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5259 | else | 
|---|
| 5260 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5261 | fi | 
|---|
| 5262 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5263 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5264 |  | 
|---|
| 5265 | fi | 
|---|
| 5266 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5267 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5268 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5269 | _ACEOF | 
|---|
| 5270 |  | 
|---|
| 5271 | else | 
|---|
| 5272 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5273 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5274 |    { (exit 1); exit 1; }; } | 
|---|
| 5275 | fi | 
|---|
| 5276 |  | 
|---|
| 5277 | done | 
|---|
| 5278 |  | 
|---|
| 5279 |  | 
|---|
| 5280 | #  checking for Unix GL | 
|---|
| 5281 |    echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5 | 
|---|
| 5282 | echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6 | 
|---|
| 5283 | if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then | 
|---|
| 5284 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5285 | else | 
|---|
| 5286 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5287 | LIBS="-lGL  $LIBS" | 
|---|
| 5288 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5289 | /* confdefs.h.  */ | 
|---|
| 5290 | _ACEOF | 
|---|
| 5291 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5292 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5293 | /* end confdefs.h.  */ | 
|---|
| 5294 |  | 
|---|
| 5295 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 5296 | #ifdef __cplusplus | 
|---|
| 5297 | extern "C" | 
|---|
| 5298 | #endif | 
|---|
| 5299 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 5300 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 5301 | char glLoadIdentity (); | 
|---|
| 5302 | int | 
|---|
| 5303 | main () | 
|---|
| 5304 | { | 
|---|
| 5305 | glLoadIdentity (); | 
|---|
| 5306 |   ; | 
|---|
| 5307 |   return 0; | 
|---|
| 5308 | } | 
|---|
| 5309 | _ACEOF | 
|---|
| 5310 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5311 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5312 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5313 |   ac_status=$? | 
|---|
| 5314 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5315 |   rm -f conftest.er1 | 
|---|
| 5316 |   cat conftest.err >&5 | 
|---|
| 5317 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5318 |   (exit $ac_status); } && | 
|---|
| 5319 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5320 |                          || test ! -s conftest.err' | 
|---|
| 5321 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5322 |   (eval $ac_try) 2>&5 | 
|---|
| 5323 |   ac_status=$? | 
|---|
| 5324 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5325 |   (exit $ac_status); }; } && | 
|---|
| 5326 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5327 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5328 |   (eval $ac_try) 2>&5 | 
|---|
| 5329 |   ac_status=$? | 
|---|
| 5330 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5331 |   (exit $ac_status); }; }; then | 
|---|
| 5332 |   ac_cv_lib_GL_glLoadIdentity=yes | 
|---|
| 5333 | else | 
|---|
| 5334 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5335 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5336 |  | 
|---|
| 5337 | ac_cv_lib_GL_glLoadIdentity=no | 
|---|
| 5338 | fi | 
|---|
| 5339 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5340 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5341 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5342 | fi | 
|---|
| 5343 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5 | 
|---|
| 5344 | echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6 | 
|---|
| 5345 | if test $ac_cv_lib_GL_glLoadIdentity = yes; then | 
|---|
| 5346 |   FOUND_GL=yes | 
|---|
| 5347 | fi | 
|---|
| 5348 |  | 
|---|
| 5349 |    if test x$FOUND_GL = xyes ; then | 
|---|
| 5350 |      LIBS="$LIBS -lGL" | 
|---|
| 5351 |    else | 
|---|
| 5352 |          echo "------------------" | 
|---|
| 5353 |          echo "opengl not found." | 
|---|
| 5354 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 5355 |          echo "------------------" | 
|---|
| 5356 |          exit -1 | 
|---|
| 5357 |    fi | 
|---|
| 5358 |  | 
|---|
| 5359 | # cheking for GLU-header | 
|---|
| 5360 |  | 
|---|
| 5361 | for ac_header in GL/glu.h | 
|---|
| 5362 | do | 
|---|
| 5363 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5364 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5365 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5366 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5367 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5368 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5369 | fi | 
|---|
| 5370 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5371 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5372 | else | 
|---|
| 5373 |   # Is the header compilable? | 
|---|
| 5374 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5375 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 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 | $ac_includes_default | 
|---|
| 5383 | #include <$ac_header> | 
|---|
| 5384 | _ACEOF | 
|---|
| 5385 | rm -f conftest.$ac_objext | 
|---|
| 5386 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5387 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5388 |   ac_status=$? | 
|---|
| 5389 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5390 |   rm -f conftest.er1 | 
|---|
| 5391 |   cat conftest.err >&5 | 
|---|
| 5392 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5393 |   (exit $ac_status); } && | 
|---|
| 5394 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5395 |                          || test ! -s conftest.err' | 
|---|
| 5396 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5397 |   (eval $ac_try) 2>&5 | 
|---|
| 5398 |   ac_status=$? | 
|---|
| 5399 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5400 |   (exit $ac_status); }; } && | 
|---|
| 5401 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5402 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5403 |   (eval $ac_try) 2>&5 | 
|---|
| 5404 |   ac_status=$? | 
|---|
| 5405 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5406 |   (exit $ac_status); }; }; then | 
|---|
| 5407 |   ac_header_compiler=yes | 
|---|
| 5408 | else | 
|---|
| 5409 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5410 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5411 |  | 
|---|
| 5412 | ac_header_compiler=no | 
|---|
| 5413 | fi | 
|---|
| 5414 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5415 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5416 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5417 |  | 
|---|
| 5418 | # Is the header present? | 
|---|
| 5419 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5420 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5421 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5422 | /* confdefs.h.  */ | 
|---|
| 5423 | _ACEOF | 
|---|
| 5424 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5425 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5426 | /* end confdefs.h.  */ | 
|---|
| 5427 | #include <$ac_header> | 
|---|
| 5428 | _ACEOF | 
|---|
| 5429 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5430 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5431 |   ac_status=$? | 
|---|
| 5432 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5433 |   rm -f conftest.er1 | 
|---|
| 5434 |   cat conftest.err >&5 | 
|---|
| 5435 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5436 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5437 |   if test -s conftest.err; then | 
|---|
| 5438 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5439 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5440 |   else | 
|---|
| 5441 |     ac_cpp_err= | 
|---|
| 5442 |   fi | 
|---|
| 5443 | else | 
|---|
| 5444 |   ac_cpp_err=yes | 
|---|
| 5445 | fi | 
|---|
| 5446 | if test -z "$ac_cpp_err"; then | 
|---|
| 5447 |   ac_header_preproc=yes | 
|---|
| 5448 | else | 
|---|
| 5449 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5450 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5451 |  | 
|---|
| 5452 |   ac_header_preproc=no | 
|---|
| 5453 | fi | 
|---|
| 5454 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5455 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5456 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5457 |  | 
|---|
| 5458 | # So?  What about this header? | 
|---|
| 5459 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5460 |   yes:no: ) | 
|---|
| 5461 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5462 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5463 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5464 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5465 |     ac_header_preproc=yes | 
|---|
| 5466 |     ;; | 
|---|
| 5467 |   no:yes:* ) | 
|---|
| 5468 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5469 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5470 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5471 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5472 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5473 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5474 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5475 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5476 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5477 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5478 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5479 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5480 |     ( | 
|---|
| 5481 |       cat <<\_ASBOX | 
|---|
| 5482 | ## ---------------------------------------------- ## | 
|---|
| 5483 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5484 | ## ---------------------------------------------- ## | 
|---|
| 5485 | _ASBOX | 
|---|
| 5486 |     ) | | 
|---|
| 5487 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5488 |     ;; | 
|---|
| 5489 | esac | 
|---|
| 5490 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5491 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5492 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5493 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5494 | else | 
|---|
| 5495 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5496 | fi | 
|---|
| 5497 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5498 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5499 |  | 
|---|
| 5500 | fi | 
|---|
| 5501 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5502 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5503 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5504 | _ACEOF | 
|---|
| 5505 |  | 
|---|
| 5506 | else | 
|---|
| 5507 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5508 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5509 |    { (exit 1); exit 1; }; } | 
|---|
| 5510 | fi | 
|---|
| 5511 |  | 
|---|
| 5512 | done | 
|---|
| 5513 |  | 
|---|
| 5514 |  | 
|---|
| 5515 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
| 5516 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
| 5517 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
| 5518 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5519 | else | 
|---|
| 5520 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5521 | LIBS="-lGLU  $LIBS" | 
|---|
| 5522 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5523 | /* confdefs.h.  */ | 
|---|
| 5524 | _ACEOF | 
|---|
| 5525 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5526 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5527 | /* end confdefs.h.  */ | 
|---|
| 5528 |  | 
|---|
| 5529 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 5530 | #ifdef __cplusplus | 
|---|
| 5531 | extern "C" | 
|---|
| 5532 | #endif | 
|---|
| 5533 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 5534 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 5535 | char gluProject (); | 
|---|
| 5536 | int | 
|---|
| 5537 | main () | 
|---|
| 5538 | { | 
|---|
| 5539 | gluProject (); | 
|---|
| 5540 |   ; | 
|---|
| 5541 |   return 0; | 
|---|
| 5542 | } | 
|---|
| 5543 | _ACEOF | 
|---|
| 5544 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5545 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5546 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5547 |   ac_status=$? | 
|---|
| 5548 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5549 |   rm -f conftest.er1 | 
|---|
| 5550 |   cat conftest.err >&5 | 
|---|
| 5551 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5552 |   (exit $ac_status); } && | 
|---|
| 5553 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5554 |                          || test ! -s conftest.err' | 
|---|
| 5555 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5556 |   (eval $ac_try) 2>&5 | 
|---|
| 5557 |   ac_status=$? | 
|---|
| 5558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5559 |   (exit $ac_status); }; } && | 
|---|
| 5560 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5561 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5562 |   (eval $ac_try) 2>&5 | 
|---|
| 5563 |   ac_status=$? | 
|---|
| 5564 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5565 |   (exit $ac_status); }; }; then | 
|---|
| 5566 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| 5567 | else | 
|---|
| 5568 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5569 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5570 |  | 
|---|
| 5571 | ac_cv_lib_GLU_gluProject=no | 
|---|
| 5572 | fi | 
|---|
| 5573 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5574 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5575 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5576 | fi | 
|---|
| 5577 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
| 5578 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
| 5579 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
| 5580 |   FOUND_GLU=yes | 
|---|
| 5581 | fi | 
|---|
| 5582 |  | 
|---|
| 5583 |     if test x$FOUND_GLU = xyes ; then | 
|---|
| 5584 |       LIBS="$LIBS -lGLU" | 
|---|
| 5585 |     else | 
|---|
| 5586 |          echo "------------------" | 
|---|
| 5587 |          echo "GLU library not found." | 
|---|
| 5588 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 5589 |          echo "------------------" | 
|---|
| 5590 |          exit -1 | 
|---|
| 5591 |     fi | 
|---|
| 5592 |  | 
|---|
| 5593 | # checking for SDL-headers | 
|---|
| 5594 |  | 
|---|
| 5595 | for ac_header in SDL.h | 
|---|
| 5596 | do | 
|---|
| 5597 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5598 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5599 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5600 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5601 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5602 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5603 | fi | 
|---|
| 5604 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5605 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5606 | else | 
|---|
| 5607 |   # Is the header compilable? | 
|---|
| 5608 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5609 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5610 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5611 | /* confdefs.h.  */ | 
|---|
| 5612 | _ACEOF | 
|---|
| 5613 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5614 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5615 | /* end confdefs.h.  */ | 
|---|
| 5616 | $ac_includes_default | 
|---|
| 5617 | #include <$ac_header> | 
|---|
| 5618 | _ACEOF | 
|---|
| 5619 | rm -f conftest.$ac_objext | 
|---|
| 5620 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5621 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5622 |   ac_status=$? | 
|---|
| 5623 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5624 |   rm -f conftest.er1 | 
|---|
| 5625 |   cat conftest.err >&5 | 
|---|
| 5626 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5627 |   (exit $ac_status); } && | 
|---|
| 5628 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5629 |                          || test ! -s conftest.err' | 
|---|
| 5630 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5631 |   (eval $ac_try) 2>&5 | 
|---|
| 5632 |   ac_status=$? | 
|---|
| 5633 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5634 |   (exit $ac_status); }; } && | 
|---|
| 5635 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5636 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5637 |   (eval $ac_try) 2>&5 | 
|---|
| 5638 |   ac_status=$? | 
|---|
| 5639 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5640 |   (exit $ac_status); }; }; then | 
|---|
| 5641 |   ac_header_compiler=yes | 
|---|
| 5642 | else | 
|---|
| 5643 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5644 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5645 |  | 
|---|
| 5646 | ac_header_compiler=no | 
|---|
| 5647 | fi | 
|---|
| 5648 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5649 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5650 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5651 |  | 
|---|
| 5652 | # Is the header present? | 
|---|
| 5653 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5654 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5655 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5656 | /* confdefs.h.  */ | 
|---|
| 5657 | _ACEOF | 
|---|
| 5658 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5659 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5660 | /* end confdefs.h.  */ | 
|---|
| 5661 | #include <$ac_header> | 
|---|
| 5662 | _ACEOF | 
|---|
| 5663 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5664 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5665 |   ac_status=$? | 
|---|
| 5666 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5667 |   rm -f conftest.er1 | 
|---|
| 5668 |   cat conftest.err >&5 | 
|---|
| 5669 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5670 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5671 |   if test -s conftest.err; then | 
|---|
| 5672 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5673 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5674 |   else | 
|---|
| 5675 |     ac_cpp_err= | 
|---|
| 5676 |   fi | 
|---|
| 5677 | else | 
|---|
| 5678 |   ac_cpp_err=yes | 
|---|
| 5679 | fi | 
|---|
| 5680 | if test -z "$ac_cpp_err"; then | 
|---|
| 5681 |   ac_header_preproc=yes | 
|---|
| 5682 | else | 
|---|
| 5683 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5684 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5685 |  | 
|---|
| 5686 |   ac_header_preproc=no | 
|---|
| 5687 | fi | 
|---|
| 5688 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5689 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5690 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5691 |  | 
|---|
| 5692 | # So?  What about this header? | 
|---|
| 5693 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5694 |   yes:no: ) | 
|---|
| 5695 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5696 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5697 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5698 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5699 |     ac_header_preproc=yes | 
|---|
| 5700 |     ;; | 
|---|
| 5701 |   no:yes:* ) | 
|---|
| 5702 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5703 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5704 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5705 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5706 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5707 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5708 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5709 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5710 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5711 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5712 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5713 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5714 |     ( | 
|---|
| 5715 |       cat <<\_ASBOX | 
|---|
| 5716 | ## ---------------------------------------------- ## | 
|---|
| 5717 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5718 | ## ---------------------------------------------- ## | 
|---|
| 5719 | _ASBOX | 
|---|
| 5720 |     ) | | 
|---|
| 5721 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5722 |     ;; | 
|---|
| 5723 | esac | 
|---|
| 5724 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5725 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5726 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5727 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5728 | else | 
|---|
| 5729 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5730 | fi | 
|---|
| 5731 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5732 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5733 |  | 
|---|
| 5734 | fi | 
|---|
| 5735 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5736 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5737 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5738 | _ACEOF | 
|---|
| 5739 |  | 
|---|
| 5740 | else | 
|---|
| 5741 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 5742 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 5743 |    { (exit 1); exit 1; }; } | 
|---|
| 5744 | fi | 
|---|
| 5745 |  | 
|---|
| 5746 | done | 
|---|
| 5747 |  | 
|---|
| 5748 |  | 
|---|
| 5749 | # checking for SDL-lib | 
|---|
| 5750 |     echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
| 5751 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
| 5752 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
| 5753 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5754 | else | 
|---|
| 5755 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5756 | LIBS="-lSDL  $LIBS" | 
|---|
| 5757 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5758 | /* confdefs.h.  */ | 
|---|
| 5759 | _ACEOF | 
|---|
| 5760 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5761 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5762 | /* end confdefs.h.  */ | 
|---|
| 5763 |  | 
|---|
| 5764 |  | 
|---|
| 5765 | int | 
|---|
| 5766 | main () | 
|---|
| 5767 | { | 
|---|
| 5768 | main (); | 
|---|
| 5769 |   ; | 
|---|
| 5770 |   return 0; | 
|---|
| 5771 | } | 
|---|
| 5772 | _ACEOF | 
|---|
| 5773 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5774 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5775 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5776 |   ac_status=$? | 
|---|
| 5777 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5778 |   rm -f conftest.er1 | 
|---|
| 5779 |   cat conftest.err >&5 | 
|---|
| 5780 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5781 |   (exit $ac_status); } && | 
|---|
| 5782 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5783 |                          || test ! -s conftest.err' | 
|---|
| 5784 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5785 |   (eval $ac_try) 2>&5 | 
|---|
| 5786 |   ac_status=$? | 
|---|
| 5787 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5788 |   (exit $ac_status); }; } && | 
|---|
| 5789 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5790 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5791 |   (eval $ac_try) 2>&5 | 
|---|
| 5792 |   ac_status=$? | 
|---|
| 5793 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5794 |   (exit $ac_status); }; }; then | 
|---|
| 5795 |   ac_cv_lib_SDL_main=yes | 
|---|
| 5796 | else | 
|---|
| 5797 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5798 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5799 |  | 
|---|
| 5800 | ac_cv_lib_SDL_main=no | 
|---|
| 5801 | fi | 
|---|
| 5802 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5803 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5804 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5805 | fi | 
|---|
| 5806 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
| 5807 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
| 5808 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
| 5809 |   FOUND_SDL=yes | 
|---|
| 5810 | fi | 
|---|
| 5811 |  | 
|---|
| 5812 |      if test x$FOUND_SDL = xyes ; then | 
|---|
| 5813 |        LIBS="$LIBS -lSDL" | 
|---|
| 5814 |      else | 
|---|
| 5815 |         echo "------------------" | 
|---|
| 5816 |         echo "SDL library not found." | 
|---|
| 5817 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5818 |         echo "------------------" | 
|---|
| 5819 |         exit -1 | 
|---|
| 5820 |      fi | 
|---|
| 5821 |  | 
|---|
| 5822 |  | 
|---|
| 5823 | ## checking for SDL | 
|---|
| 5824 | #    SDL_VERSION=1.2.7 | 
|---|
| 5825 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 5826 | #      :, | 
|---|
| 5827 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 5828 | #      ) | 
|---|
| 5829 | #    CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 5830 | #    LIBS="$LIBS $SDL_LIBS" | 
|---|
| 5831 |     ;; | 
|---|
| 5832 | #-----------# | 
|---|
| 5833 | # MAC -OS X # | 
|---|
| 5834 | #-----------# | 
|---|
| 5835 |  *darwin*) | 
|---|
| 5836 |  echo "OS X detected" | 
|---|
| 5837 |  | 
|---|
| 5838 |  osX="yes" | 
|---|
| 5839 |  | 
|---|
| 5840 |  CPPFLAGS="-I/sw/include $CPPFLAGS" | 
|---|
| 5841 | # checking gl header | 
|---|
| 5842 |  | 
|---|
| 5843 | for ac_header in OpenGL/gl.h | 
|---|
| 5844 | do | 
|---|
| 5845 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5846 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5847 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5848 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5849 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5850 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5851 | fi | 
|---|
| 5852 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5853 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5854 | else | 
|---|
| 5855 |   # Is the header compilable? | 
|---|
| 5856 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5857 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5858 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5859 | /* confdefs.h.  */ | 
|---|
| 5860 | _ACEOF | 
|---|
| 5861 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5862 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5863 | /* end confdefs.h.  */ | 
|---|
| 5864 | $ac_includes_default | 
|---|
| 5865 | #include <$ac_header> | 
|---|
| 5866 | _ACEOF | 
|---|
| 5867 | rm -f conftest.$ac_objext | 
|---|
| 5868 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5869 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5870 |   ac_status=$? | 
|---|
| 5871 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5872 |   rm -f conftest.er1 | 
|---|
| 5873 |   cat conftest.err >&5 | 
|---|
| 5874 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5875 |   (exit $ac_status); } && | 
|---|
| 5876 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5877 |                          || test ! -s conftest.err' | 
|---|
| 5878 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5879 |   (eval $ac_try) 2>&5 | 
|---|
| 5880 |   ac_status=$? | 
|---|
| 5881 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5882 |   (exit $ac_status); }; } && | 
|---|
| 5883 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5884 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5885 |   (eval $ac_try) 2>&5 | 
|---|
| 5886 |   ac_status=$? | 
|---|
| 5887 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5888 |   (exit $ac_status); }; }; then | 
|---|
| 5889 |   ac_header_compiler=yes | 
|---|
| 5890 | else | 
|---|
| 5891 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5892 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5893 |  | 
|---|
| 5894 | ac_header_compiler=no | 
|---|
| 5895 | fi | 
|---|
| 5896 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5897 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5898 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5899 |  | 
|---|
| 5900 | # Is the header present? | 
|---|
| 5901 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5902 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5903 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5904 | /* confdefs.h.  */ | 
|---|
| 5905 | _ACEOF | 
|---|
| 5906 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5907 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5908 | /* end confdefs.h.  */ | 
|---|
| 5909 | #include <$ac_header> | 
|---|
| 5910 | _ACEOF | 
|---|
| 5911 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5912 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5913 |   ac_status=$? | 
|---|
| 5914 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5915 |   rm -f conftest.er1 | 
|---|
| 5916 |   cat conftest.err >&5 | 
|---|
| 5917 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5918 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5919 |   if test -s conftest.err; then | 
|---|
| 5920 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5921 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5922 |   else | 
|---|
| 5923 |     ac_cpp_err= | 
|---|
| 5924 |   fi | 
|---|
| 5925 | else | 
|---|
| 5926 |   ac_cpp_err=yes | 
|---|
| 5927 | fi | 
|---|
| 5928 | if test -z "$ac_cpp_err"; then | 
|---|
| 5929 |   ac_header_preproc=yes | 
|---|
| 5930 | else | 
|---|
| 5931 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5932 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5933 |  | 
|---|
| 5934 |   ac_header_preproc=no | 
|---|
| 5935 | fi | 
|---|
| 5936 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5937 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5938 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5939 |  | 
|---|
| 5940 | # So?  What about this header? | 
|---|
| 5941 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5942 |   yes:no: ) | 
|---|
| 5943 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5944 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5945 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5946 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5947 |     ac_header_preproc=yes | 
|---|
| 5948 |     ;; | 
|---|
| 5949 |   no:yes:* ) | 
|---|
| 5950 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5951 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5952 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5953 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5954 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5955 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5956 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5957 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5958 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5959 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5960 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5961 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5962 |     ( | 
|---|
| 5963 |       cat <<\_ASBOX | 
|---|
| 5964 | ## ---------------------------------------------- ## | 
|---|
| 5965 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 5966 | ## ---------------------------------------------- ## | 
|---|
| 5967 | _ASBOX | 
|---|
| 5968 |     ) | | 
|---|
| 5969 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5970 |     ;; | 
|---|
| 5971 | esac | 
|---|
| 5972 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5973 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5974 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5975 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5976 | else | 
|---|
| 5977 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5978 | fi | 
|---|
| 5979 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5980 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5981 |  | 
|---|
| 5982 | fi | 
|---|
| 5983 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5984 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5985 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5986 | _ACEOF | 
|---|
| 5987 |  | 
|---|
| 5988 | else | 
|---|
| 5989 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5990 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5991 |    { (exit 1); exit 1; }; } | 
|---|
| 5992 | fi | 
|---|
| 5993 |  | 
|---|
| 5994 | done | 
|---|
| 5995 |  | 
|---|
| 5996 | # cheking for GLU-header | 
|---|
| 5997 |  | 
|---|
| 5998 | for ac_header in OpenGL/glu.h | 
|---|
| 5999 | do | 
|---|
| 6000 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6001 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6002 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6003 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6004 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6005 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6006 | fi | 
|---|
| 6007 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6008 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6009 | else | 
|---|
| 6010 |   # Is the header compilable? | 
|---|
| 6011 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6012 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6013 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6014 | /* confdefs.h.  */ | 
|---|
| 6015 | _ACEOF | 
|---|
| 6016 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6017 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6018 | /* end confdefs.h.  */ | 
|---|
| 6019 | $ac_includes_default | 
|---|
| 6020 | #include <$ac_header> | 
|---|
| 6021 | _ACEOF | 
|---|
| 6022 | rm -f conftest.$ac_objext | 
|---|
| 6023 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6024 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6025 |   ac_status=$? | 
|---|
| 6026 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6027 |   rm -f conftest.er1 | 
|---|
| 6028 |   cat conftest.err >&5 | 
|---|
| 6029 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6030 |   (exit $ac_status); } && | 
|---|
| 6031 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6032 |                          || test ! -s conftest.err' | 
|---|
| 6033 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6034 |   (eval $ac_try) 2>&5 | 
|---|
| 6035 |   ac_status=$? | 
|---|
| 6036 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6037 |   (exit $ac_status); }; } && | 
|---|
| 6038 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6039 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6040 |   (eval $ac_try) 2>&5 | 
|---|
| 6041 |   ac_status=$? | 
|---|
| 6042 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6043 |   (exit $ac_status); }; }; then | 
|---|
| 6044 |   ac_header_compiler=yes | 
|---|
| 6045 | else | 
|---|
| 6046 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6047 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6048 |  | 
|---|
| 6049 | ac_header_compiler=no | 
|---|
| 6050 | fi | 
|---|
| 6051 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6052 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6053 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6054 |  | 
|---|
| 6055 | # Is the header present? | 
|---|
| 6056 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6057 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6058 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6059 | /* confdefs.h.  */ | 
|---|
| 6060 | _ACEOF | 
|---|
| 6061 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6062 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6063 | /* end confdefs.h.  */ | 
|---|
| 6064 | #include <$ac_header> | 
|---|
| 6065 | _ACEOF | 
|---|
| 6066 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6067 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6068 |   ac_status=$? | 
|---|
| 6069 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6070 |   rm -f conftest.er1 | 
|---|
| 6071 |   cat conftest.err >&5 | 
|---|
| 6072 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6073 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6074 |   if test -s conftest.err; then | 
|---|
| 6075 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6076 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6077 |   else | 
|---|
| 6078 |     ac_cpp_err= | 
|---|
| 6079 |   fi | 
|---|
| 6080 | else | 
|---|
| 6081 |   ac_cpp_err=yes | 
|---|
| 6082 | fi | 
|---|
| 6083 | if test -z "$ac_cpp_err"; then | 
|---|
| 6084 |   ac_header_preproc=yes | 
|---|
| 6085 | else | 
|---|
| 6086 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6087 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6088 |  | 
|---|
| 6089 |   ac_header_preproc=no | 
|---|
| 6090 | fi | 
|---|
| 6091 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6092 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6093 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6094 |  | 
|---|
| 6095 | # So?  What about this header? | 
|---|
| 6096 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6097 |   yes:no: ) | 
|---|
| 6098 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6099 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6100 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6101 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6102 |     ac_header_preproc=yes | 
|---|
| 6103 |     ;; | 
|---|
| 6104 |   no:yes:* ) | 
|---|
| 6105 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6106 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6107 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6108 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6109 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6110 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6111 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6112 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6113 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6114 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6115 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6116 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6117 |     ( | 
|---|
| 6118 |       cat <<\_ASBOX | 
|---|
| 6119 | ## ---------------------------------------------- ## | 
|---|
| 6120 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6121 | ## ---------------------------------------------- ## | 
|---|
| 6122 | _ASBOX | 
|---|
| 6123 |     ) | | 
|---|
| 6124 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6125 |     ;; | 
|---|
| 6126 | esac | 
|---|
| 6127 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6128 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6129 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6130 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6131 | else | 
|---|
| 6132 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6133 | fi | 
|---|
| 6134 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6135 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6136 |  | 
|---|
| 6137 | fi | 
|---|
| 6138 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6139 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6140 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6141 | _ACEOF | 
|---|
| 6142 |  | 
|---|
| 6143 | else | 
|---|
| 6144 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 6145 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 6146 |    { (exit 1); exit 1; }; } | 
|---|
| 6147 | fi | 
|---|
| 6148 |  | 
|---|
| 6149 | done | 
|---|
| 6150 |  | 
|---|
| 6151 |  | 
|---|
| 6152 |    LIBS="$LIBS -framework OpenGL" | 
|---|
| 6153 |  | 
|---|
| 6154 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
| 6155 |        SDL_LIBS=`sdl-config --libs` | 
|---|
| 6156 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 6157 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
| 6158 |  | 
|---|
| 6159 |  | 
|---|
| 6160 | # checking for SDL-headers | 
|---|
| 6161 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
| 6162 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| 6163 |  | 
|---|
| 6164 | ## checking for SDL | 
|---|
| 6165 | #    SDL_VERSION=1.2.7 | 
|---|
| 6166 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 6167 | #      :, | 
|---|
| 6168 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 6169 | #      ) | 
|---|
| 6170 |  | 
|---|
| 6171 |  | 
|---|
| 6172 |     ;; | 
|---|
| 6173 |  | 
|---|
| 6174 |   *) | 
|---|
| 6175 |     ;; | 
|---|
| 6176 | esac | 
|---|
| 6177 |  | 
|---|
| 6178 |  | 
|---|
| 6179 |  | 
|---|
| 6180 | ################################### | 
|---|
| 6181 | ## CHECKING FOR HEADERS AND LIBS ## | 
|---|
| 6182 | ################################### | 
|---|
| 6183 |  | 
|---|
| 6184 | #---------# | 
|---|
| 6185 | # SDL_ttf # | 
|---|
| 6186 | #---------# | 
|---|
| 6187 | # checking for SDL_ttf-headers | 
|---|
| 6188 |  | 
|---|
| 6189 | for ac_header in SDL_ttf.h | 
|---|
| 6190 | do | 
|---|
| 6191 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6192 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6193 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6194 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6195 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6196 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6197 | fi | 
|---|
| 6198 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6199 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6200 | else | 
|---|
| 6201 |   # Is the header compilable? | 
|---|
| 6202 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6203 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6204 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6205 | /* confdefs.h.  */ | 
|---|
| 6206 | _ACEOF | 
|---|
| 6207 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6208 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6209 | /* end confdefs.h.  */ | 
|---|
| 6210 | $ac_includes_default | 
|---|
| 6211 | #include <$ac_header> | 
|---|
| 6212 | _ACEOF | 
|---|
| 6213 | rm -f conftest.$ac_objext | 
|---|
| 6214 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6215 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6216 |   ac_status=$? | 
|---|
| 6217 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6218 |   rm -f conftest.er1 | 
|---|
| 6219 |   cat conftest.err >&5 | 
|---|
| 6220 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6221 |   (exit $ac_status); } && | 
|---|
| 6222 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6223 |                          || test ! -s conftest.err' | 
|---|
| 6224 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6225 |   (eval $ac_try) 2>&5 | 
|---|
| 6226 |   ac_status=$? | 
|---|
| 6227 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6228 |   (exit $ac_status); }; } && | 
|---|
| 6229 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6230 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6231 |   (eval $ac_try) 2>&5 | 
|---|
| 6232 |   ac_status=$? | 
|---|
| 6233 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6234 |   (exit $ac_status); }; }; then | 
|---|
| 6235 |   ac_header_compiler=yes | 
|---|
| 6236 | else | 
|---|
| 6237 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6238 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6239 |  | 
|---|
| 6240 | ac_header_compiler=no | 
|---|
| 6241 | fi | 
|---|
| 6242 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6243 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6244 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6245 |  | 
|---|
| 6246 | # Is the header present? | 
|---|
| 6247 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6248 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6249 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6250 | /* confdefs.h.  */ | 
|---|
| 6251 | _ACEOF | 
|---|
| 6252 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6253 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6254 | /* end confdefs.h.  */ | 
|---|
| 6255 | #include <$ac_header> | 
|---|
| 6256 | _ACEOF | 
|---|
| 6257 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6258 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6259 |   ac_status=$? | 
|---|
| 6260 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6261 |   rm -f conftest.er1 | 
|---|
| 6262 |   cat conftest.err >&5 | 
|---|
| 6263 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6264 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6265 |   if test -s conftest.err; then | 
|---|
| 6266 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6267 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6268 |   else | 
|---|
| 6269 |     ac_cpp_err= | 
|---|
| 6270 |   fi | 
|---|
| 6271 | else | 
|---|
| 6272 |   ac_cpp_err=yes | 
|---|
| 6273 | fi | 
|---|
| 6274 | if test -z "$ac_cpp_err"; then | 
|---|
| 6275 |   ac_header_preproc=yes | 
|---|
| 6276 | else | 
|---|
| 6277 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6278 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6279 |  | 
|---|
| 6280 |   ac_header_preproc=no | 
|---|
| 6281 | fi | 
|---|
| 6282 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6283 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6284 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6285 |  | 
|---|
| 6286 | # So?  What about this header? | 
|---|
| 6287 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6288 |   yes:no: ) | 
|---|
| 6289 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6290 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6291 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6292 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6293 |     ac_header_preproc=yes | 
|---|
| 6294 |     ;; | 
|---|
| 6295 |   no:yes:* ) | 
|---|
| 6296 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6297 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6298 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6299 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6300 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6301 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6302 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6303 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6304 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6305 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6306 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6307 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6308 |     ( | 
|---|
| 6309 |       cat <<\_ASBOX | 
|---|
| 6310 | ## ---------------------------------------------- ## | 
|---|
| 6311 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6312 | ## ---------------------------------------------- ## | 
|---|
| 6313 | _ASBOX | 
|---|
| 6314 |     ) | | 
|---|
| 6315 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6316 |     ;; | 
|---|
| 6317 | esac | 
|---|
| 6318 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6319 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6320 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6321 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6322 | else | 
|---|
| 6323 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6324 | fi | 
|---|
| 6325 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6326 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6327 |  | 
|---|
| 6328 | fi | 
|---|
| 6329 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6330 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6331 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6332 | _ACEOF | 
|---|
| 6333 |  | 
|---|
| 6334 | else | 
|---|
| 6335 |   { { echo "$as_me:$LINENO: error: cannot find SDL_ttf header." >&5 | 
|---|
| 6336 | echo "$as_me: error: cannot find SDL_ttf header." >&2;} | 
|---|
| 6337 |    { (exit 1); exit 1; }; } | 
|---|
| 6338 | fi | 
|---|
| 6339 |  | 
|---|
| 6340 | done | 
|---|
| 6341 |  | 
|---|
| 6342 | #fi | 
|---|
| 6343 | # checking for SDL_ttf-lib | 
|---|
| 6344 |   echo "$as_me:$LINENO: checking for main in -lSDL_ttf" >&5 | 
|---|
| 6345 | echo $ECHO_N "checking for main in -lSDL_ttf... $ECHO_C" >&6 | 
|---|
| 6346 | if test "${ac_cv_lib_SDL_ttf_main+set}" = set; then | 
|---|
| 6347 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6348 | else | 
|---|
| 6349 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6350 | LIBS="-lSDL_ttf  $LIBS" | 
|---|
| 6351 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6352 | /* confdefs.h.  */ | 
|---|
| 6353 | _ACEOF | 
|---|
| 6354 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6355 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6356 | /* end confdefs.h.  */ | 
|---|
| 6357 |  | 
|---|
| 6358 |  | 
|---|
| 6359 | int | 
|---|
| 6360 | main () | 
|---|
| 6361 | { | 
|---|
| 6362 | main (); | 
|---|
| 6363 |   ; | 
|---|
| 6364 |   return 0; | 
|---|
| 6365 | } | 
|---|
| 6366 | _ACEOF | 
|---|
| 6367 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6368 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6369 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6370 |   ac_status=$? | 
|---|
| 6371 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6372 |   rm -f conftest.er1 | 
|---|
| 6373 |   cat conftest.err >&5 | 
|---|
| 6374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6375 |   (exit $ac_status); } && | 
|---|
| 6376 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6377 |                          || test ! -s conftest.err' | 
|---|
| 6378 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6379 |   (eval $ac_try) 2>&5 | 
|---|
| 6380 |   ac_status=$? | 
|---|
| 6381 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6382 |   (exit $ac_status); }; } && | 
|---|
| 6383 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6384 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6385 |   (eval $ac_try) 2>&5 | 
|---|
| 6386 |   ac_status=$? | 
|---|
| 6387 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6388 |   (exit $ac_status); }; }; then | 
|---|
| 6389 |   ac_cv_lib_SDL_ttf_main=yes | 
|---|
| 6390 | else | 
|---|
| 6391 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6392 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6393 |  | 
|---|
| 6394 | ac_cv_lib_SDL_ttf_main=no | 
|---|
| 6395 | fi | 
|---|
| 6396 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6397 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6398 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6399 | fi | 
|---|
| 6400 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_main" >&5 | 
|---|
| 6401 | echo "${ECHO_T}$ac_cv_lib_SDL_ttf_main" >&6 | 
|---|
| 6402 | if test $ac_cv_lib_SDL_ttf_main = yes; then | 
|---|
| 6403 |   FOUND_SDL_ttf=yes | 
|---|
| 6404 | fi | 
|---|
| 6405 |  | 
|---|
| 6406 |      if test x$FOUND_SDL_ttf = xyes ; then | 
|---|
| 6407 |        LIBS="$LIBS -lSDL_ttf" | 
|---|
| 6408 |      else | 
|---|
| 6409 |         echo "------------------" | 
|---|
| 6410 |         echo "SDL_ttf library not found." | 
|---|
| 6411 |         echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/" | 
|---|
| 6412 |         echo "------------------" | 
|---|
| 6413 |         exit -1 | 
|---|
| 6414 |      fi | 
|---|
| 6415 |  | 
|---|
| 6416 | #-----------# | 
|---|
| 6417 | # SDL_Image # | 
|---|
| 6418 | #-----------# | 
|---|
| 6419 | if test x$def_sdl_image = xyes; then | 
|---|
| 6420 | # checking for SDL_image-headers | 
|---|
| 6421 |  | 
|---|
| 6422 | for ac_header in SDL_image.h | 
|---|
| 6423 | do | 
|---|
| 6424 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6425 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6426 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6427 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6428 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6430 | fi | 
|---|
| 6431 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6432 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6433 | else | 
|---|
| 6434 |   # Is the header compilable? | 
|---|
| 6435 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6436 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6437 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6438 | /* confdefs.h.  */ | 
|---|
| 6439 | _ACEOF | 
|---|
| 6440 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6441 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6442 | /* end confdefs.h.  */ | 
|---|
| 6443 | $ac_includes_default | 
|---|
| 6444 | #include <$ac_header> | 
|---|
| 6445 | _ACEOF | 
|---|
| 6446 | rm -f conftest.$ac_objext | 
|---|
| 6447 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6448 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6449 |   ac_status=$? | 
|---|
| 6450 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6451 |   rm -f conftest.er1 | 
|---|
| 6452 |   cat conftest.err >&5 | 
|---|
| 6453 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6454 |   (exit $ac_status); } && | 
|---|
| 6455 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6456 |                          || test ! -s conftest.err' | 
|---|
| 6457 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6458 |   (eval $ac_try) 2>&5 | 
|---|
| 6459 |   ac_status=$? | 
|---|
| 6460 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6461 |   (exit $ac_status); }; } && | 
|---|
| 6462 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6463 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6464 |   (eval $ac_try) 2>&5 | 
|---|
| 6465 |   ac_status=$? | 
|---|
| 6466 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6467 |   (exit $ac_status); }; }; then | 
|---|
| 6468 |   ac_header_compiler=yes | 
|---|
| 6469 | else | 
|---|
| 6470 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6471 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6472 |  | 
|---|
| 6473 | ac_header_compiler=no | 
|---|
| 6474 | fi | 
|---|
| 6475 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6476 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6477 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6478 |  | 
|---|
| 6479 | # Is the header present? | 
|---|
| 6480 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6481 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6482 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6483 | /* confdefs.h.  */ | 
|---|
| 6484 | _ACEOF | 
|---|
| 6485 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6486 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6487 | /* end confdefs.h.  */ | 
|---|
| 6488 | #include <$ac_header> | 
|---|
| 6489 | _ACEOF | 
|---|
| 6490 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6491 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6492 |   ac_status=$? | 
|---|
| 6493 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6494 |   rm -f conftest.er1 | 
|---|
| 6495 |   cat conftest.err >&5 | 
|---|
| 6496 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6497 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6498 |   if test -s conftest.err; then | 
|---|
| 6499 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6500 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6501 |   else | 
|---|
| 6502 |     ac_cpp_err= | 
|---|
| 6503 |   fi | 
|---|
| 6504 | else | 
|---|
| 6505 |   ac_cpp_err=yes | 
|---|
| 6506 | fi | 
|---|
| 6507 | if test -z "$ac_cpp_err"; then | 
|---|
| 6508 |   ac_header_preproc=yes | 
|---|
| 6509 | else | 
|---|
| 6510 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6511 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6512 |  | 
|---|
| 6513 |   ac_header_preproc=no | 
|---|
| 6514 | fi | 
|---|
| 6515 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6516 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6517 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6518 |  | 
|---|
| 6519 | # So?  What about this header? | 
|---|
| 6520 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6521 |   yes:no: ) | 
|---|
| 6522 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6523 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6524 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6525 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6526 |     ac_header_preproc=yes | 
|---|
| 6527 |     ;; | 
|---|
| 6528 |   no:yes:* ) | 
|---|
| 6529 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6530 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6531 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6532 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6533 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6534 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6535 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6536 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6537 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6538 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6539 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6540 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6541 |     ( | 
|---|
| 6542 |       cat <<\_ASBOX | 
|---|
| 6543 | ## ---------------------------------------------- ## | 
|---|
| 6544 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6545 | ## ---------------------------------------------- ## | 
|---|
| 6546 | _ASBOX | 
|---|
| 6547 |     ) | | 
|---|
| 6548 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6549 |     ;; | 
|---|
| 6550 | esac | 
|---|
| 6551 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6552 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6553 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6554 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6555 | else | 
|---|
| 6556 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6557 | fi | 
|---|
| 6558 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6559 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6560 |  | 
|---|
| 6561 | fi | 
|---|
| 6562 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6563 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6564 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6565 | _ACEOF | 
|---|
| 6566 |  | 
|---|
| 6567 | else | 
|---|
| 6568 |   echo "sdl_image not found. falling back to other options"; def_sdl_image=no | 
|---|
| 6569 | fi | 
|---|
| 6570 |  | 
|---|
| 6571 | done | 
|---|
| 6572 |  | 
|---|
| 6573 | fi | 
|---|
| 6574 | if test x$def_sdl_image = xyes; then | 
|---|
| 6575 | # checking for SDL_image-lib | 
|---|
| 6576 |   echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | 
|---|
| 6577 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 | 
|---|
| 6578 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | 
|---|
| 6579 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6580 | else | 
|---|
| 6581 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6582 | LIBS="-lSDL_image  $LIBS" | 
|---|
| 6583 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6584 | /* confdefs.h.  */ | 
|---|
| 6585 | _ACEOF | 
|---|
| 6586 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6587 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6588 | /* end confdefs.h.  */ | 
|---|
| 6589 |  | 
|---|
| 6590 |  | 
|---|
| 6591 | int | 
|---|
| 6592 | main () | 
|---|
| 6593 | { | 
|---|
| 6594 | main (); | 
|---|
| 6595 |   ; | 
|---|
| 6596 |   return 0; | 
|---|
| 6597 | } | 
|---|
| 6598 | _ACEOF | 
|---|
| 6599 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6600 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6601 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6602 |   ac_status=$? | 
|---|
| 6603 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6604 |   rm -f conftest.er1 | 
|---|
| 6605 |   cat conftest.err >&5 | 
|---|
| 6606 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6607 |   (exit $ac_status); } && | 
|---|
| 6608 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6609 |                          || test ! -s conftest.err' | 
|---|
| 6610 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6611 |   (eval $ac_try) 2>&5 | 
|---|
| 6612 |   ac_status=$? | 
|---|
| 6613 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6614 |   (exit $ac_status); }; } && | 
|---|
| 6615 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6616 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6617 |   (eval $ac_try) 2>&5 | 
|---|
| 6618 |   ac_status=$? | 
|---|
| 6619 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6620 |   (exit $ac_status); }; }; then | 
|---|
| 6621 |   ac_cv_lib_SDL_image_main=yes | 
|---|
| 6622 | else | 
|---|
| 6623 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6624 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6625 |  | 
|---|
| 6626 | ac_cv_lib_SDL_image_main=no | 
|---|
| 6627 | fi | 
|---|
| 6628 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6629 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6630 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6631 | fi | 
|---|
| 6632 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | 
|---|
| 6633 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 | 
|---|
| 6634 | if test $ac_cv_lib_SDL_image_main = yes; then | 
|---|
| 6635 |   FOUND_SDL_image=yes | 
|---|
| 6636 | fi | 
|---|
| 6637 |  | 
|---|
| 6638 |      if test x$FOUND_SDL_image = xyes ; then | 
|---|
| 6639 |        LIBS="$LIBS -lSDL_image" | 
|---|
| 6640 |      else | 
|---|
| 6641 |         echo "------------------" | 
|---|
| 6642 |         echo "SDL_image library not found." | 
|---|
| 6643 |         echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" | 
|---|
| 6644 |         echo "------------------" | 
|---|
| 6645 |         exit -1 | 
|---|
| 6646 |      fi | 
|---|
| 6647 | fi | 
|---|
| 6648 |  | 
|---|
| 6649 | ## case no SDL-image: | 
|---|
| 6650 | if test x$def_sdl_image = xno; then | 
|---|
| 6651 | #---------# | 
|---|
| 6652 | # libjpeg # | 
|---|
| 6653 | #---------# | 
|---|
| 6654 |  | 
|---|
| 6655 | for ac_header in jpeglib.h | 
|---|
| 6656 | do | 
|---|
| 6657 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6658 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6659 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6660 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6661 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6662 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6663 | fi | 
|---|
| 6664 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6665 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6666 | else | 
|---|
| 6667 |   # Is the header compilable? | 
|---|
| 6668 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6669 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6670 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6671 | /* confdefs.h.  */ | 
|---|
| 6672 | _ACEOF | 
|---|
| 6673 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6674 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6675 | /* end confdefs.h.  */ | 
|---|
| 6676 | $ac_includes_default | 
|---|
| 6677 | #include <$ac_header> | 
|---|
| 6678 | _ACEOF | 
|---|
| 6679 | rm -f conftest.$ac_objext | 
|---|
| 6680 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6681 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6682 |   ac_status=$? | 
|---|
| 6683 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6684 |   rm -f conftest.er1 | 
|---|
| 6685 |   cat conftest.err >&5 | 
|---|
| 6686 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6687 |   (exit $ac_status); } && | 
|---|
| 6688 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6689 |                          || test ! -s conftest.err' | 
|---|
| 6690 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6691 |   (eval $ac_try) 2>&5 | 
|---|
| 6692 |   ac_status=$? | 
|---|
| 6693 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6694 |   (exit $ac_status); }; } && | 
|---|
| 6695 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6696 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6697 |   (eval $ac_try) 2>&5 | 
|---|
| 6698 |   ac_status=$? | 
|---|
| 6699 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6700 |   (exit $ac_status); }; }; then | 
|---|
| 6701 |   ac_header_compiler=yes | 
|---|
| 6702 | else | 
|---|
| 6703 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6704 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6705 |  | 
|---|
| 6706 | ac_header_compiler=no | 
|---|
| 6707 | fi | 
|---|
| 6708 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6709 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6710 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6711 |  | 
|---|
| 6712 | # Is the header present? | 
|---|
| 6713 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6714 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6715 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6716 | /* confdefs.h.  */ | 
|---|
| 6717 | _ACEOF | 
|---|
| 6718 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6719 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6720 | /* end confdefs.h.  */ | 
|---|
| 6721 | #include <$ac_header> | 
|---|
| 6722 | _ACEOF | 
|---|
| 6723 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6724 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6725 |   ac_status=$? | 
|---|
| 6726 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6727 |   rm -f conftest.er1 | 
|---|
| 6728 |   cat conftest.err >&5 | 
|---|
| 6729 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6730 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6731 |   if test -s conftest.err; then | 
|---|
| 6732 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6733 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6734 |   else | 
|---|
| 6735 |     ac_cpp_err= | 
|---|
| 6736 |   fi | 
|---|
| 6737 | else | 
|---|
| 6738 |   ac_cpp_err=yes | 
|---|
| 6739 | fi | 
|---|
| 6740 | if test -z "$ac_cpp_err"; then | 
|---|
| 6741 |   ac_header_preproc=yes | 
|---|
| 6742 | else | 
|---|
| 6743 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6744 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6745 |  | 
|---|
| 6746 |   ac_header_preproc=no | 
|---|
| 6747 | fi | 
|---|
| 6748 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6749 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6750 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6751 |  | 
|---|
| 6752 | # So?  What about this header? | 
|---|
| 6753 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6754 |   yes:no: ) | 
|---|
| 6755 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6756 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6757 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6758 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6759 |     ac_header_preproc=yes | 
|---|
| 6760 |     ;; | 
|---|
| 6761 |   no:yes:* ) | 
|---|
| 6762 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6763 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6764 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6765 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6766 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6767 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6768 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6769 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6770 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6771 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6772 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6773 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6774 |     ( | 
|---|
| 6775 |       cat <<\_ASBOX | 
|---|
| 6776 | ## ---------------------------------------------- ## | 
|---|
| 6777 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 6778 | ## ---------------------------------------------- ## | 
|---|
| 6779 | _ASBOX | 
|---|
| 6780 |     ) | | 
|---|
| 6781 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6782 |     ;; | 
|---|
| 6783 | esac | 
|---|
| 6784 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6785 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6786 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6787 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6788 | else | 
|---|
| 6789 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6790 | fi | 
|---|
| 6791 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6792 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6793 |  | 
|---|
| 6794 | fi | 
|---|
| 6795 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6796 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6797 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6798 | _ACEOF | 
|---|
| 6799 |  jpegHeader="yes" | 
|---|
| 6800 | else | 
|---|
| 6801 |   jpegHeader="no" | 
|---|
| 6802 | fi | 
|---|
| 6803 |  | 
|---|
| 6804 | done | 
|---|
| 6805 |  | 
|---|
| 6806 |  if test x$jpegHeader = xno; then | 
|---|
| 6807 |         echo " not including jpeg." | 
|---|
| 6808 |  else | 
|---|
| 6809 |   echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 | 
|---|
| 6810 | echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 | 
|---|
| 6811 | if test "${ac_cv_lib_jpeg_main+set}" = set; then | 
|---|
| 6812 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6813 | else | 
|---|
| 6814 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 6815 | LIBS="-ljpeg  $LIBS" | 
|---|
| 6816 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6817 | /* confdefs.h.  */ | 
|---|
| 6818 | _ACEOF | 
|---|
| 6819 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6820 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6821 | /* end confdefs.h.  */ | 
|---|
| 6822 |  | 
|---|
| 6823 |  | 
|---|
| 6824 | int | 
|---|
| 6825 | main () | 
|---|
| 6826 | { | 
|---|
| 6827 | main (); | 
|---|
| 6828 |   ; | 
|---|
| 6829 |   return 0; | 
|---|
| 6830 | } | 
|---|
| 6831 | _ACEOF | 
|---|
| 6832 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6833 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6834 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6835 |   ac_status=$? | 
|---|
| 6836 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6837 |   rm -f conftest.er1 | 
|---|
| 6838 |   cat conftest.err >&5 | 
|---|
| 6839 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6840 |   (exit $ac_status); } && | 
|---|
| 6841 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6842 |                          || test ! -s conftest.err' | 
|---|
| 6843 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6844 |   (eval $ac_try) 2>&5 | 
|---|
| 6845 |   ac_status=$? | 
|---|
| 6846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6847 |   (exit $ac_status); }; } && | 
|---|
| 6848 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6849 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6850 |   (eval $ac_try) 2>&5 | 
|---|
| 6851 |   ac_status=$? | 
|---|
| 6852 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6853 |   (exit $ac_status); }; }; then | 
|---|
| 6854 |   ac_cv_lib_jpeg_main=yes | 
|---|
| 6855 | else | 
|---|
| 6856 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6857 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6858 |  | 
|---|
| 6859 | ac_cv_lib_jpeg_main=no | 
|---|
| 6860 | fi | 
|---|
| 6861 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6862 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6863 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6864 | fi | 
|---|
| 6865 | echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 | 
|---|
| 6866 | echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6 | 
|---|
| 6867 | if test $ac_cv_lib_jpeg_main = yes; then | 
|---|
| 6868 |   FOUND_jpeg=yes | 
|---|
| 6869 | fi | 
|---|
| 6870 |  | 
|---|
| 6871 |     if test x$FOUND_jpeg = xyes ; then | 
|---|
| 6872 |       LIBS="$LIBS -ljpeg" | 
|---|
| 6873 |     else | 
|---|
| 6874 |          echo "------------------" | 
|---|
| 6875 |          echo "jpeg library not found." | 
|---|
| 6876 |          echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org" | 
|---|
| 6877 |          echo "------------------" | 
|---|
| 6878 |          exit -1 | 
|---|
| 6879 |     fi | 
|---|
| 6880 |  fi | 
|---|
| 6881 |  | 
|---|
| 6882 | #--------# | 
|---|
| 6883 | # libpng # | 
|---|
| 6884 | #--------# | 
|---|
| 6885 |  | 
|---|
| 6886 | for ac_header in png.h | 
|---|
| 6887 | do | 
|---|
| 6888 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6889 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6890 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6891 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6892 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6893 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6894 | fi | 
|---|
| 6895 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6896 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6897 | else | 
|---|
| 6898 |   # Is the header compilable? | 
|---|
| 6899 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6900 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6901 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6902 | /* confdefs.h.  */ | 
|---|
| 6903 | _ACEOF | 
|---|
| 6904 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6905 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6906 | /* end confdefs.h.  */ | 
|---|
| 6907 | $ac_includes_default | 
|---|
| 6908 | #include <$ac_header> | 
|---|
| 6909 | _ACEOF | 
|---|
| 6910 | rm -f conftest.$ac_objext | 
|---|
| 6911 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6912 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6913 |   ac_status=$? | 
|---|
| 6914 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6915 |   rm -f conftest.er1 | 
|---|
| 6916 |   cat conftest.err >&5 | 
|---|
| 6917 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6918 |   (exit $ac_status); } && | 
|---|
| 6919 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6920 |                          || test ! -s conftest.err' | 
|---|
| 6921 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6922 |   (eval $ac_try) 2>&5 | 
|---|
| 6923 |   ac_status=$? | 
|---|
| 6924 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6925 |   (exit $ac_status); }; } && | 
|---|
| 6926 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6927 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6928 |   (eval $ac_try) 2>&5 | 
|---|
| 6929 |   ac_status=$? | 
|---|
| 6930 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6931 |   (exit $ac_status); }; }; then | 
|---|
| 6932 |   ac_header_compiler=yes | 
|---|
| 6933 | else | 
|---|
| 6934 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6935 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6936 |  | 
|---|
| 6937 | ac_header_compiler=no | 
|---|
| 6938 | fi | 
|---|
| 6939 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6940 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6941 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6942 |  | 
|---|
| 6943 | # Is the header present? | 
|---|
| 6944 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6945 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6946 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6947 | /* confdefs.h.  */ | 
|---|
| 6948 | _ACEOF | 
|---|
| 6949 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6950 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6951 | /* end confdefs.h.  */ | 
|---|
| 6952 | #include <$ac_header> | 
|---|
| 6953 | _ACEOF | 
|---|
| 6954 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6955 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6956 |   ac_status=$? | 
|---|
| 6957 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6958 |   rm -f conftest.er1 | 
|---|
| 6959 |   cat conftest.err >&5 | 
|---|
| 6960 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6961 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6962 |   if test -s conftest.err; then | 
|---|
| 6963 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6964 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6965 |   else | 
|---|
| 6966 |     ac_cpp_err= | 
|---|
| 6967 |   fi | 
|---|
| 6968 | else | 
|---|
| 6969 |   ac_cpp_err=yes | 
|---|
| 6970 | fi | 
|---|
| 6971 | if test -z "$ac_cpp_err"; then | 
|---|
| 6972 |   ac_header_preproc=yes | 
|---|
| 6973 | else | 
|---|
| 6974 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6975 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6976 |  | 
|---|
| 6977 |   ac_header_preproc=no | 
|---|
| 6978 | fi | 
|---|
| 6979 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6980 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6981 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6982 |  | 
|---|
| 6983 | # So?  What about this header? | 
|---|
| 6984 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6985 |   yes:no: ) | 
|---|
| 6986 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6987 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6988 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6989 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6990 |     ac_header_preproc=yes | 
|---|
| 6991 |     ;; | 
|---|
| 6992 |   no:yes:* ) | 
|---|
| 6993 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6994 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6995 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6996 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6997 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6998 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6999 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7000 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7001 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7002 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7003 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7004 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7005 |     ( | 
|---|
| 7006 |       cat <<\_ASBOX | 
|---|
| 7007 | ## ---------------------------------------------- ## | 
|---|
| 7008 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7009 | ## ---------------------------------------------- ## | 
|---|
| 7010 | _ASBOX | 
|---|
| 7011 |     ) | | 
|---|
| 7012 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7013 |     ;; | 
|---|
| 7014 | esac | 
|---|
| 7015 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7016 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7017 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7018 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7019 | else | 
|---|
| 7020 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7021 | fi | 
|---|
| 7022 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7023 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7024 |  | 
|---|
| 7025 | fi | 
|---|
| 7026 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7027 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7028 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7029 | _ACEOF | 
|---|
| 7030 |  pngHeader="yes" | 
|---|
| 7031 | else | 
|---|
| 7032 |   pngHeader="no" | 
|---|
| 7033 | fi | 
|---|
| 7034 |  | 
|---|
| 7035 | done | 
|---|
| 7036 |  | 
|---|
| 7037 |  if test x$pngHeader = xno; then | 
|---|
| 7038 |         echo " not including png." | 
|---|
| 7039 |  else | 
|---|
| 7040 |   echo "$as_me:$LINENO: checking for main in -lpng" >&5 | 
|---|
| 7041 | echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 | 
|---|
| 7042 | if test "${ac_cv_lib_png_main+set}" = set; then | 
|---|
| 7043 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7044 | else | 
|---|
| 7045 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7046 | LIBS="-lpng  $LIBS" | 
|---|
| 7047 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7048 | /* confdefs.h.  */ | 
|---|
| 7049 | _ACEOF | 
|---|
| 7050 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7051 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7052 | /* end confdefs.h.  */ | 
|---|
| 7053 |  | 
|---|
| 7054 |  | 
|---|
| 7055 | int | 
|---|
| 7056 | main () | 
|---|
| 7057 | { | 
|---|
| 7058 | main (); | 
|---|
| 7059 |   ; | 
|---|
| 7060 |   return 0; | 
|---|
| 7061 | } | 
|---|
| 7062 | _ACEOF | 
|---|
| 7063 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7064 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7065 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7066 |   ac_status=$? | 
|---|
| 7067 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7068 |   rm -f conftest.er1 | 
|---|
| 7069 |   cat conftest.err >&5 | 
|---|
| 7070 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7071 |   (exit $ac_status); } && | 
|---|
| 7072 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7073 |                          || test ! -s conftest.err' | 
|---|
| 7074 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7075 |   (eval $ac_try) 2>&5 | 
|---|
| 7076 |   ac_status=$? | 
|---|
| 7077 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7078 |   (exit $ac_status); }; } && | 
|---|
| 7079 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7080 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7081 |   (eval $ac_try) 2>&5 | 
|---|
| 7082 |   ac_status=$? | 
|---|
| 7083 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7084 |   (exit $ac_status); }; }; then | 
|---|
| 7085 |   ac_cv_lib_png_main=yes | 
|---|
| 7086 | else | 
|---|
| 7087 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7088 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7089 |  | 
|---|
| 7090 | ac_cv_lib_png_main=no | 
|---|
| 7091 | fi | 
|---|
| 7092 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7093 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7094 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7095 | fi | 
|---|
| 7096 | echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 | 
|---|
| 7097 | echo "${ECHO_T}$ac_cv_lib_png_main" >&6 | 
|---|
| 7098 | if test $ac_cv_lib_png_main = yes; then | 
|---|
| 7099 |   FOUND_png=yes | 
|---|
| 7100 | fi | 
|---|
| 7101 |  | 
|---|
| 7102 |     if test x$FOUND_png = xyes ; then | 
|---|
| 7103 |       LIBS="$LIBS -lpng" | 
|---|
| 7104 |     else | 
|---|
| 7105 |          echo "------------------" | 
|---|
| 7106 |          echo "png library not found." | 
|---|
| 7107 |          echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html" | 
|---|
| 7108 |          echo "------------------" | 
|---|
| 7109 |          exit -1 | 
|---|
| 7110 |     fi | 
|---|
| 7111 |  fi | 
|---|
| 7112 | fi | 
|---|
| 7113 |  | 
|---|
| 7114 | #-----# | 
|---|
| 7115 | # GTK # | 
|---|
| 7116 | #-----# | 
|---|
| 7117 | if test x$def_gtk = xyes; then | 
|---|
| 7118 |  | 
|---|
| 7119 |         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
| 7120 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| 7121 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| 7122 |         if `pkg-config --exists gtk+-2.0`; then | 
|---|
| 7123 |                 echo "yes" | 
|---|
| 7124 |                 have_gtk2=yes | 
|---|
| 7125 |                 GTK2_LIBS=`pkg-config --libs gtk+-2.0` | 
|---|
| 7126 |                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` | 
|---|
| 7127 |  | 
|---|
| 7128 | cat >>confdefs.h <<_ACEOF | 
|---|
| 7129 | #define HAVE_GTK2 1 | 
|---|
| 7130 | _ACEOF | 
|---|
| 7131 |  | 
|---|
| 7132 |         else | 
|---|
| 7133 |                 echo "no" | 
|---|
| 7134 |         fi | 
|---|
| 7135 |  | 
|---|
| 7136 | fi | 
|---|
| 7137 |  | 
|---|
| 7138 |  | 
|---|
| 7139 |  | 
|---|
| 7140 |  | 
|---|
| 7141 | if test x$have_gtk2 = xyes; then | 
|---|
| 7142 |   HAVE_GTK2_TRUE= | 
|---|
| 7143 |   HAVE_GTK2_FALSE='#' | 
|---|
| 7144 | else | 
|---|
| 7145 |   HAVE_GTK2_TRUE='#' | 
|---|
| 7146 |   HAVE_GTK2_FALSE= | 
|---|
| 7147 | fi | 
|---|
| 7148 |  | 
|---|
| 7149 |  | 
|---|
| 7150 | #---------# | 
|---|
| 7151 | # gThread # | 
|---|
| 7152 | #---------# | 
|---|
| 7153 | if test x$def_gthread = xyes; then | 
|---|
| 7154 |  | 
|---|
| 7155 |         echo "$as_me:$LINENO: checking for gthread" >&5 | 
|---|
| 7156 | echo $ECHO_N "checking for gthread... $ECHO_C" >&6 | 
|---|
| 7157 |         if `pkg-config --exists gthread-2.0`; then | 
|---|
| 7158 |                 echo "yes" | 
|---|
| 7159 |                 have_gthread=yes | 
|---|
| 7160 |                 GTHREAD_LIBS=`pkg-config --libs gthread-2.0` | 
|---|
| 7161 |                 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0` | 
|---|
| 7162 |  | 
|---|
| 7163 | cat >>confdefs.h <<_ACEOF | 
|---|
| 7164 | #define HAVE_GTHREAD 1 | 
|---|
| 7165 | _ACEOF | 
|---|
| 7166 |  | 
|---|
| 7167 |         else | 
|---|
| 7168 |                 echo "no" | 
|---|
| 7169 |         fi | 
|---|
| 7170 |  | 
|---|
| 7171 | fi | 
|---|
| 7172 |  | 
|---|
| 7173 |  | 
|---|
| 7174 |  | 
|---|
| 7175 |  | 
|---|
| 7176 | if test x$have_gthread = xyes; then | 
|---|
| 7177 |   HAVE_GTHREAD_TRUE= | 
|---|
| 7178 |   HAVE_GTHREAD_FALSE='#' | 
|---|
| 7179 | else | 
|---|
| 7180 |   HAVE_GTHREAD_TRUE='#' | 
|---|
| 7181 |   HAVE_GTHREAD_FALSE= | 
|---|
| 7182 | fi | 
|---|
| 7183 |  | 
|---|
| 7184 |  | 
|---|
| 7185 | #---------# | 
|---|
| 7186 | # libcURL # | 
|---|
| 7187 | #---------# | 
|---|
| 7188 | if test x$def_curl = xyes; then | 
|---|
| 7189 |  | 
|---|
| 7190 |  | 
|---|
| 7191 | for ac_header in curl/curl.h | 
|---|
| 7192 | do | 
|---|
| 7193 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7194 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7195 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7196 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7197 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7198 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7199 | fi | 
|---|
| 7200 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7201 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7202 | else | 
|---|
| 7203 |   # Is the header compilable? | 
|---|
| 7204 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7205 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7206 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7207 | /* confdefs.h.  */ | 
|---|
| 7208 | _ACEOF | 
|---|
| 7209 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7210 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7211 | /* end confdefs.h.  */ | 
|---|
| 7212 | $ac_includes_default | 
|---|
| 7213 | #include <$ac_header> | 
|---|
| 7214 | _ACEOF | 
|---|
| 7215 | rm -f conftest.$ac_objext | 
|---|
| 7216 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7217 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7218 |   ac_status=$? | 
|---|
| 7219 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7220 |   rm -f conftest.er1 | 
|---|
| 7221 |   cat conftest.err >&5 | 
|---|
| 7222 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7223 |   (exit $ac_status); } && | 
|---|
| 7224 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7225 |                          || test ! -s conftest.err' | 
|---|
| 7226 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7227 |   (eval $ac_try) 2>&5 | 
|---|
| 7228 |   ac_status=$? | 
|---|
| 7229 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7230 |   (exit $ac_status); }; } && | 
|---|
| 7231 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7232 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7233 |   (eval $ac_try) 2>&5 | 
|---|
| 7234 |   ac_status=$? | 
|---|
| 7235 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7236 |   (exit $ac_status); }; }; then | 
|---|
| 7237 |   ac_header_compiler=yes | 
|---|
| 7238 | else | 
|---|
| 7239 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7240 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7241 |  | 
|---|
| 7242 | ac_header_compiler=no | 
|---|
| 7243 | fi | 
|---|
| 7244 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7245 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7246 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7247 |  | 
|---|
| 7248 | # Is the header present? | 
|---|
| 7249 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7250 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7251 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7252 | /* confdefs.h.  */ | 
|---|
| 7253 | _ACEOF | 
|---|
| 7254 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7255 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7256 | /* end confdefs.h.  */ | 
|---|
| 7257 | #include <$ac_header> | 
|---|
| 7258 | _ACEOF | 
|---|
| 7259 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7260 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7261 |   ac_status=$? | 
|---|
| 7262 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7263 |   rm -f conftest.er1 | 
|---|
| 7264 |   cat conftest.err >&5 | 
|---|
| 7265 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7266 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7267 |   if test -s conftest.err; then | 
|---|
| 7268 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7269 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7270 |   else | 
|---|
| 7271 |     ac_cpp_err= | 
|---|
| 7272 |   fi | 
|---|
| 7273 | else | 
|---|
| 7274 |   ac_cpp_err=yes | 
|---|
| 7275 | fi | 
|---|
| 7276 | if test -z "$ac_cpp_err"; then | 
|---|
| 7277 |   ac_header_preproc=yes | 
|---|
| 7278 | else | 
|---|
| 7279 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7280 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7281 |  | 
|---|
| 7282 |   ac_header_preproc=no | 
|---|
| 7283 | fi | 
|---|
| 7284 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7285 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7286 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7287 |  | 
|---|
| 7288 | # So?  What about this header? | 
|---|
| 7289 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7290 |   yes:no: ) | 
|---|
| 7291 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7292 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7293 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7294 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7295 |     ac_header_preproc=yes | 
|---|
| 7296 |     ;; | 
|---|
| 7297 |   no:yes:* ) | 
|---|
| 7298 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7299 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7300 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7301 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7302 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7303 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7304 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7305 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7306 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7307 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7308 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7309 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7310 |     ( | 
|---|
| 7311 |       cat <<\_ASBOX | 
|---|
| 7312 | ## ---------------------------------------------- ## | 
|---|
| 7313 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7314 | ## ---------------------------------------------- ## | 
|---|
| 7315 | _ASBOX | 
|---|
| 7316 |     ) | | 
|---|
| 7317 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7318 |     ;; | 
|---|
| 7319 | esac | 
|---|
| 7320 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7321 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7322 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7323 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7324 | else | 
|---|
| 7325 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7326 | fi | 
|---|
| 7327 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7328 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7329 |  | 
|---|
| 7330 | fi | 
|---|
| 7331 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7332 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7333 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7334 | _ACEOF | 
|---|
| 7335 |  curlHeader="yes" | 
|---|
| 7336 | else | 
|---|
| 7337 |   curlHeader="no" | 
|---|
| 7338 | fi | 
|---|
| 7339 |  | 
|---|
| 7340 | done | 
|---|
| 7341 |  | 
|---|
| 7342 |  echo "$as_me:$LINENO: checking for main in -lcurl" >&5 | 
|---|
| 7343 | echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 | 
|---|
| 7344 | if test "${ac_cv_lib_curl_main+set}" = set; then | 
|---|
| 7345 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7346 | else | 
|---|
| 7347 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7348 | LIBS="-lcurl  $LIBS" | 
|---|
| 7349 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7350 | /* confdefs.h.  */ | 
|---|
| 7351 | _ACEOF | 
|---|
| 7352 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7353 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7354 | /* end confdefs.h.  */ | 
|---|
| 7355 |  | 
|---|
| 7356 |  | 
|---|
| 7357 | int | 
|---|
| 7358 | main () | 
|---|
| 7359 | { | 
|---|
| 7360 | main (); | 
|---|
| 7361 |   ; | 
|---|
| 7362 |   return 0; | 
|---|
| 7363 | } | 
|---|
| 7364 | _ACEOF | 
|---|
| 7365 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7366 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7367 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7368 |   ac_status=$? | 
|---|
| 7369 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7370 |   rm -f conftest.er1 | 
|---|
| 7371 |   cat conftest.err >&5 | 
|---|
| 7372 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7373 |   (exit $ac_status); } && | 
|---|
| 7374 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7375 |                          || test ! -s conftest.err' | 
|---|
| 7376 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7377 |   (eval $ac_try) 2>&5 | 
|---|
| 7378 |   ac_status=$? | 
|---|
| 7379 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7380 |   (exit $ac_status); }; } && | 
|---|
| 7381 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7382 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7383 |   (eval $ac_try) 2>&5 | 
|---|
| 7384 |   ac_status=$? | 
|---|
| 7385 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7386 |   (exit $ac_status); }; }; then | 
|---|
| 7387 |   ac_cv_lib_curl_main=yes | 
|---|
| 7388 | else | 
|---|
| 7389 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7390 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7391 |  | 
|---|
| 7392 | ac_cv_lib_curl_main=no | 
|---|
| 7393 | fi | 
|---|
| 7394 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7395 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7396 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7397 | fi | 
|---|
| 7398 | echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 | 
|---|
| 7399 | echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 | 
|---|
| 7400 | if test $ac_cv_lib_curl_main = yes; then | 
|---|
| 7401 |   FOUND_curl=yes | 
|---|
| 7402 | fi | 
|---|
| 7403 |  | 
|---|
| 7404 |  if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then | 
|---|
| 7405 |   have_curl=yes | 
|---|
| 7406 |   CURL_LIBS=`curl-config --libs` | 
|---|
| 7407 |   CURLCFLAGS=`curl-config --cflags` | 
|---|
| 7408 |  | 
|---|
| 7409 | cat >>confdefs.h <<_ACEOF | 
|---|
| 7410 | #define HAVE_CURL 1 | 
|---|
| 7411 | _ACEOF | 
|---|
| 7412 |  | 
|---|
| 7413 |  else | 
|---|
| 7414 |   have_curl=no | 
|---|
| 7415 |  fi | 
|---|
| 7416 |  | 
|---|
| 7417 | fi | 
|---|
| 7418 |  | 
|---|
| 7419 |  | 
|---|
| 7420 |  | 
|---|
| 7421 |  | 
|---|
| 7422 | if test x$have_curl = xyes; then | 
|---|
| 7423 |   HAVE_CURL_TRUE= | 
|---|
| 7424 |   HAVE_CURL_FALSE='#' | 
|---|
| 7425 | else | 
|---|
| 7426 |   HAVE_CURL_TRUE='#' | 
|---|
| 7427 |   HAVE_CURL_FALSE= | 
|---|
| 7428 | fi | 
|---|
| 7429 |  | 
|---|
| 7430 |  | 
|---|
| 7431 | #---------# | 
|---|
| 7432 | # pthread # | 
|---|
| 7433 | #---------# | 
|---|
| 7434 | if test x$def_pthread = xyes ; then | 
|---|
| 7435 |  if test x$have_gthread = xyes ; then | 
|---|
| 7436 |  | 
|---|
| 7437 | for ac_header in pthread.h | 
|---|
| 7438 | do | 
|---|
| 7439 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7440 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7441 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7442 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7443 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7444 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7445 | fi | 
|---|
| 7446 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7447 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7448 | else | 
|---|
| 7449 |   # Is the header compilable? | 
|---|
| 7450 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7451 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7452 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7453 | /* confdefs.h.  */ | 
|---|
| 7454 | _ACEOF | 
|---|
| 7455 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7456 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7457 | /* end confdefs.h.  */ | 
|---|
| 7458 | $ac_includes_default | 
|---|
| 7459 | #include <$ac_header> | 
|---|
| 7460 | _ACEOF | 
|---|
| 7461 | rm -f conftest.$ac_objext | 
|---|
| 7462 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7463 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7464 |   ac_status=$? | 
|---|
| 7465 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7466 |   rm -f conftest.er1 | 
|---|
| 7467 |   cat conftest.err >&5 | 
|---|
| 7468 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7469 |   (exit $ac_status); } && | 
|---|
| 7470 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7471 |                          || test ! -s conftest.err' | 
|---|
| 7472 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7473 |   (eval $ac_try) 2>&5 | 
|---|
| 7474 |   ac_status=$? | 
|---|
| 7475 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7476 |   (exit $ac_status); }; } && | 
|---|
| 7477 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7478 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7479 |   (eval $ac_try) 2>&5 | 
|---|
| 7480 |   ac_status=$? | 
|---|
| 7481 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7482 |   (exit $ac_status); }; }; then | 
|---|
| 7483 |   ac_header_compiler=yes | 
|---|
| 7484 | else | 
|---|
| 7485 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7486 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7487 |  | 
|---|
| 7488 | ac_header_compiler=no | 
|---|
| 7489 | fi | 
|---|
| 7490 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7491 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7492 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7493 |  | 
|---|
| 7494 | # Is the header present? | 
|---|
| 7495 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7496 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7497 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7498 | /* confdefs.h.  */ | 
|---|
| 7499 | _ACEOF | 
|---|
| 7500 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7501 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7502 | /* end confdefs.h.  */ | 
|---|
| 7503 | #include <$ac_header> | 
|---|
| 7504 | _ACEOF | 
|---|
| 7505 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7506 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7507 |   ac_status=$? | 
|---|
| 7508 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7509 |   rm -f conftest.er1 | 
|---|
| 7510 |   cat conftest.err >&5 | 
|---|
| 7511 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7512 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7513 |   if test -s conftest.err; then | 
|---|
| 7514 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7515 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7516 |   else | 
|---|
| 7517 |     ac_cpp_err= | 
|---|
| 7518 |   fi | 
|---|
| 7519 | else | 
|---|
| 7520 |   ac_cpp_err=yes | 
|---|
| 7521 | fi | 
|---|
| 7522 | if test -z "$ac_cpp_err"; then | 
|---|
| 7523 |   ac_header_preproc=yes | 
|---|
| 7524 | else | 
|---|
| 7525 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7526 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7527 |  | 
|---|
| 7528 |   ac_header_preproc=no | 
|---|
| 7529 | fi | 
|---|
| 7530 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7531 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7532 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7533 |  | 
|---|
| 7534 | # So?  What about this header? | 
|---|
| 7535 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7536 |   yes:no: ) | 
|---|
| 7537 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7538 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7539 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 7540 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 7541 |     ac_header_preproc=yes | 
|---|
| 7542 |     ;; | 
|---|
| 7543 |   no:yes:* ) | 
|---|
| 7544 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 7545 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 7546 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 7547 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 7548 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 7549 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 7550 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 7551 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 7552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 7553 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 7554 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 7555 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 7556 |     ( | 
|---|
| 7557 |       cat <<\_ASBOX | 
|---|
| 7558 | ## ---------------------------------------------- ## | 
|---|
| 7559 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 7560 | ## ---------------------------------------------- ## | 
|---|
| 7561 | _ASBOX | 
|---|
| 7562 |     ) | | 
|---|
| 7563 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 7564 |     ;; | 
|---|
| 7565 | esac | 
|---|
| 7566 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7567 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7568 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7569 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7570 | else | 
|---|
| 7571 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 7572 | fi | 
|---|
| 7573 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7574 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7575 |  | 
|---|
| 7576 | fi | 
|---|
| 7577 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 7578 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7579 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 7580 | _ACEOF | 
|---|
| 7581 |  pthreadHeader="yes" | 
|---|
| 7582 | else | 
|---|
| 7583 |   pthreadHeader="no" | 
|---|
| 7584 | fi | 
|---|
| 7585 |  | 
|---|
| 7586 | done | 
|---|
| 7587 |  | 
|---|
| 7588 |   echo "$as_me:$LINENO: checking for main in -lpthread" >&5 | 
|---|
| 7589 | echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 | 
|---|
| 7590 | if test "${ac_cv_lib_pthread_main+set}" = set; then | 
|---|
| 7591 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7592 | else | 
|---|
| 7593 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7594 | LIBS="-lpthread  $LIBS" | 
|---|
| 7595 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7596 | /* confdefs.h.  */ | 
|---|
| 7597 | _ACEOF | 
|---|
| 7598 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7599 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7600 | /* end confdefs.h.  */ | 
|---|
| 7601 |  | 
|---|
| 7602 |  | 
|---|
| 7603 | int | 
|---|
| 7604 | main () | 
|---|
| 7605 | { | 
|---|
| 7606 | main (); | 
|---|
| 7607 |   ; | 
|---|
| 7608 |   return 0; | 
|---|
| 7609 | } | 
|---|
| 7610 | _ACEOF | 
|---|
| 7611 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7612 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7613 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7614 |   ac_status=$? | 
|---|
| 7615 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7616 |   rm -f conftest.er1 | 
|---|
| 7617 |   cat conftest.err >&5 | 
|---|
| 7618 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7619 |   (exit $ac_status); } && | 
|---|
| 7620 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7621 |                          || test ! -s conftest.err' | 
|---|
| 7622 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7623 |   (eval $ac_try) 2>&5 | 
|---|
| 7624 |   ac_status=$? | 
|---|
| 7625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7626 |   (exit $ac_status); }; } && | 
|---|
| 7627 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7628 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7629 |   (eval $ac_try) 2>&5 | 
|---|
| 7630 |   ac_status=$? | 
|---|
| 7631 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7632 |   (exit $ac_status); }; }; then | 
|---|
| 7633 |   ac_cv_lib_pthread_main=yes | 
|---|
| 7634 | else | 
|---|
| 7635 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7636 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7637 |  | 
|---|
| 7638 | ac_cv_lib_pthread_main=no | 
|---|
| 7639 | fi | 
|---|
| 7640 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7641 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7642 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7643 | fi | 
|---|
| 7644 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 | 
|---|
| 7645 | echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 | 
|---|
| 7646 | if test $ac_cv_lib_pthread_main = yes; then | 
|---|
| 7647 |   FOUND_pthread=yes | 
|---|
| 7648 | fi | 
|---|
| 7649 |  | 
|---|
| 7650 |    if test x$FOUND_pthread = xyes ; then | 
|---|
| 7651 |       LIBS="$LIBS -lpthread" | 
|---|
| 7652 |    fi | 
|---|
| 7653 |  fi | 
|---|
| 7654 | fi | 
|---|
| 7655 |  | 
|---|
| 7656 |  | 
|---|
| 7657 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
| 7658 |  | 
|---|
| 7659 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
| 7660 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
| 7661 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
| 7662 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7663 | else | 
|---|
| 7664 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 7665 | LIBS="-lm  $LIBS" | 
|---|
| 7666 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7667 | /* confdefs.h.  */ | 
|---|
| 7668 | _ACEOF | 
|---|
| 7669 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7670 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7671 | /* end confdefs.h.  */ | 
|---|
| 7672 |  | 
|---|
| 7673 |  | 
|---|
| 7674 | int | 
|---|
| 7675 | main () | 
|---|
| 7676 | { | 
|---|
| 7677 | main (); | 
|---|
| 7678 |   ; | 
|---|
| 7679 |   return 0; | 
|---|
| 7680 | } | 
|---|
| 7681 | _ACEOF | 
|---|
| 7682 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 7683 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7684 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 7685 |   ac_status=$? | 
|---|
| 7686 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7687 |   rm -f conftest.er1 | 
|---|
| 7688 |   cat conftest.err >&5 | 
|---|
| 7689 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7690 |   (exit $ac_status); } && | 
|---|
| 7691 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7692 |                          || test ! -s conftest.err' | 
|---|
| 7693 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7694 |   (eval $ac_try) 2>&5 | 
|---|
| 7695 |   ac_status=$? | 
|---|
| 7696 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7697 |   (exit $ac_status); }; } && | 
|---|
| 7698 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 7699 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7700 |   (eval $ac_try) 2>&5 | 
|---|
| 7701 |   ac_status=$? | 
|---|
| 7702 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7703 |   (exit $ac_status); }; }; then | 
|---|
| 7704 |   ac_cv_lib_m_main=yes | 
|---|
| 7705 | else | 
|---|
| 7706 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7707 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7708 |  | 
|---|
| 7709 | ac_cv_lib_m_main=no | 
|---|
| 7710 | fi | 
|---|
| 7711 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 7712 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 7713 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 7714 | fi | 
|---|
| 7715 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
| 7716 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
| 7717 | if test $ac_cv_lib_m_main = yes; then | 
|---|
| 7718 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 7719 | #define HAVE_LIBM 1 | 
|---|
| 7720 | _ACEOF | 
|---|
| 7721 |  | 
|---|
| 7722 |   LIBS="-lm $LIBS" | 
|---|
| 7723 |  | 
|---|
| 7724 | fi | 
|---|
| 7725 |  | 
|---|
| 7726 |  | 
|---|
| 7727 |  | 
|---|
| 7728 | # Checks for header files. | 
|---|
| 7729 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 7730 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 7731 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 7732 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7733 | else | 
|---|
| 7734 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7735 | /* confdefs.h.  */ | 
|---|
| 7736 | _ACEOF | 
|---|
| 7737 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7738 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7739 | /* end confdefs.h.  */ | 
|---|
| 7740 | #include <stdlib.h> | 
|---|
| 7741 | #include <stdarg.h> | 
|---|
| 7742 | #include <string.h> | 
|---|
| 7743 | #include <float.h> | 
|---|
| 7744 |  | 
|---|
| 7745 | int | 
|---|
| 7746 | main () | 
|---|
| 7747 | { | 
|---|
| 7748 |  | 
|---|
| 7749 |   ; | 
|---|
| 7750 |   return 0; | 
|---|
| 7751 | } | 
|---|
| 7752 | _ACEOF | 
|---|
| 7753 | rm -f conftest.$ac_objext | 
|---|
| 7754 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7755 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7756 |   ac_status=$? | 
|---|
| 7757 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7758 |   rm -f conftest.er1 | 
|---|
| 7759 |   cat conftest.err >&5 | 
|---|
| 7760 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7761 |   (exit $ac_status); } && | 
|---|
| 7762 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7763 |                          || test ! -s conftest.err' | 
|---|
| 7764 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7765 |   (eval $ac_try) 2>&5 | 
|---|
| 7766 |   ac_status=$? | 
|---|
| 7767 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7768 |   (exit $ac_status); }; } && | 
|---|
| 7769 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7770 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7771 |   (eval $ac_try) 2>&5 | 
|---|
| 7772 |   ac_status=$? | 
|---|
| 7773 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7774 |   (exit $ac_status); }; }; then | 
|---|
| 7775 |   ac_cv_header_stdc=yes | 
|---|
| 7776 | else | 
|---|
| 7777 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7778 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7779 |  | 
|---|
| 7780 | ac_cv_header_stdc=no | 
|---|
| 7781 | fi | 
|---|
| 7782 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7783 |  | 
|---|
| 7784 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 7785 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 7786 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7787 | /* confdefs.h.  */ | 
|---|
| 7788 | _ACEOF | 
|---|
| 7789 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7790 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7791 | /* end confdefs.h.  */ | 
|---|
| 7792 | #include <string.h> | 
|---|
| 7793 |  | 
|---|
| 7794 | _ACEOF | 
|---|
| 7795 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 7796 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 7797 |   : | 
|---|
| 7798 | else | 
|---|
| 7799 |   ac_cv_header_stdc=no | 
|---|
| 7800 | fi | 
|---|
| 7801 | rm -f conftest* | 
|---|
| 7802 |  | 
|---|
| 7803 | fi | 
|---|
| 7804 |  | 
|---|
| 7805 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 7806 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 7807 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7808 | /* confdefs.h.  */ | 
|---|
| 7809 | _ACEOF | 
|---|
| 7810 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7811 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7812 | /* end confdefs.h.  */ | 
|---|
| 7813 | #include <stdlib.h> | 
|---|
| 7814 |  | 
|---|
| 7815 | _ACEOF | 
|---|
| 7816 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 7817 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 7818 |   : | 
|---|
| 7819 | else | 
|---|
| 7820 |   ac_cv_header_stdc=no | 
|---|
| 7821 | fi | 
|---|
| 7822 | rm -f conftest* | 
|---|
| 7823 |  | 
|---|
| 7824 | fi | 
|---|
| 7825 |  | 
|---|
| 7826 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 7827 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 7828 |   if test "$cross_compiling" = yes; then | 
|---|
| 7829 |   : | 
|---|
| 7830 | else | 
|---|
| 7831 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7832 | /* confdefs.h.  */ | 
|---|
| 7833 | _ACEOF | 
|---|
| 7834 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7835 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7836 | /* end confdefs.h.  */ | 
|---|
| 7837 | #include <ctype.h> | 
|---|
| 7838 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 7839 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 7840 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 7841 | #else | 
|---|
| 7842 | # define ISLOWER(c) \ | 
|---|
| 7843 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 7844 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 7845 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 7846 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 7847 | #endif | 
|---|
| 7848 |  | 
|---|
| 7849 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 7850 | int | 
|---|
| 7851 | main () | 
|---|
| 7852 | { | 
|---|
| 7853 |   int i; | 
|---|
| 7854 |   for (i = 0; i < 256; i++) | 
|---|
| 7855 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 7856 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 7857 |       exit(2); | 
|---|
| 7858 |   exit (0); | 
|---|
| 7859 | } | 
|---|
| 7860 | _ACEOF | 
|---|
| 7861 | rm -f conftest$ac_exeext | 
|---|
| 7862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 7863 |   (eval $ac_link) 2>&5 | 
|---|
| 7864 |   ac_status=$? | 
|---|
| 7865 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7866 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 7867 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7868 |   (eval $ac_try) 2>&5 | 
|---|
| 7869 |   ac_status=$? | 
|---|
| 7870 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7871 |   (exit $ac_status); }; }; then | 
|---|
| 7872 |   : | 
|---|
| 7873 | else | 
|---|
| 7874 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 7875 | echo "$as_me: failed program was:" >&5 | 
|---|
| 7876 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7877 |  | 
|---|
| 7878 | ( exit $ac_status ) | 
|---|
| 7879 | ac_cv_header_stdc=no | 
|---|
| 7880 | fi | 
|---|
| 7881 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7882 | fi | 
|---|
| 7883 | fi | 
|---|
| 7884 | fi | 
|---|
| 7885 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 7886 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 7887 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 7888 |  | 
|---|
| 7889 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 7890 | #define STDC_HEADERS 1 | 
|---|
| 7891 | _ACEOF | 
|---|
| 7892 |  | 
|---|
| 7893 | fi | 
|---|
| 7894 |  | 
|---|
| 7895 |  | 
|---|
| 7896 |  | 
|---|
| 7897 | for ac_header in stdlib.h string.h | 
|---|
| 7898 | do | 
|---|
| 7899 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 7900 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7901 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 7902 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 7903 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 7904 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 7905 | fi | 
|---|
| 7906 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 7907 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 7908 | else | 
|---|
| 7909 |   # Is the header compilable? | 
|---|
| 7910 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 7911 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 7912 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7913 | /* confdefs.h.  */ | 
|---|
| 7914 | _ACEOF | 
|---|
| 7915 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7916 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7917 | /* end confdefs.h.  */ | 
|---|
| 7918 | $ac_includes_default | 
|---|
| 7919 | #include <$ac_header> | 
|---|
| 7920 | _ACEOF | 
|---|
| 7921 | rm -f conftest.$ac_objext | 
|---|
| 7922 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 7923 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 7924 |   ac_status=$? | 
|---|
| 7925 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7926 |   rm -f conftest.er1 | 
|---|
| 7927 |   cat conftest.err >&5 | 
|---|
| 7928 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7929 |   (exit $ac_status); } && | 
|---|
| 7930 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 7931 |                          || test ! -s conftest.err' | 
|---|
| 7932 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7933 |   (eval $ac_try) 2>&5 | 
|---|
| 7934 |   ac_status=$? | 
|---|
| 7935 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7936 |   (exit $ac_status); }; } && | 
|---|
| 7937 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 7938 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 7939 |   (eval $ac_try) 2>&5 | 
|---|
| 7940 |   ac_status=$? | 
|---|
| 7941 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7942 |   (exit $ac_status); }; }; then | 
|---|
| 7943 |   ac_header_compiler=yes | 
|---|
| 7944 | else | 
|---|
| 7945 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7946 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7947 |  | 
|---|
| 7948 | ac_header_compiler=no | 
|---|
| 7949 | fi | 
|---|
| 7950 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 7951 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 7952 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 7953 |  | 
|---|
| 7954 | # Is the header present? | 
|---|
| 7955 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 7956 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 7957 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 7958 | /* confdefs.h.  */ | 
|---|
| 7959 | _ACEOF | 
|---|
| 7960 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 7961 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 7962 | /* end confdefs.h.  */ | 
|---|
| 7963 | #include <$ac_header> | 
|---|
| 7964 | _ACEOF | 
|---|
| 7965 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 7966 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 7967 |   ac_status=$? | 
|---|
| 7968 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 7969 |   rm -f conftest.er1 | 
|---|
| 7970 |   cat conftest.err >&5 | 
|---|
| 7971 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 7972 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 7973 |   if test -s conftest.err; then | 
|---|
| 7974 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 7975 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 7976 |   else | 
|---|
| 7977 |     ac_cpp_err= | 
|---|
| 7978 |   fi | 
|---|
| 7979 | else | 
|---|
| 7980 |   ac_cpp_err=yes | 
|---|
| 7981 | fi | 
|---|
| 7982 | if test -z "$ac_cpp_err"; then | 
|---|
| 7983 |   ac_header_preproc=yes | 
|---|
| 7984 | else | 
|---|
| 7985 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 7986 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 7987 |  | 
|---|
| 7988 |   ac_header_preproc=no | 
|---|
| 7989 | fi | 
|---|
| 7990 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 7991 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 7992 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 7993 |  | 
|---|
| 7994 | # So?  What about this header? | 
|---|
| 7995 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 7996 |   yes:no: ) | 
|---|
| 7997 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 7998 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 7999 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8000 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8001 |     ac_header_preproc=yes | 
|---|
| 8002 |     ;; | 
|---|
| 8003 |   no:yes:* ) | 
|---|
| 8004 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8005 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8006 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8007 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8008 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8009 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8010 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8011 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8012 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8013 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8014 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8015 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8016 |     ( | 
|---|
| 8017 |       cat <<\_ASBOX | 
|---|
| 8018 | ## ---------------------------------------------- ## | 
|---|
| 8019 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8020 | ## ---------------------------------------------- ## | 
|---|
| 8021 | _ASBOX | 
|---|
| 8022 |     ) | | 
|---|
| 8023 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8024 |     ;; | 
|---|
| 8025 | esac | 
|---|
| 8026 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8027 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8028 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8029 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8030 | else | 
|---|
| 8031 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8032 | fi | 
|---|
| 8033 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8034 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8035 |  | 
|---|
| 8036 | fi | 
|---|
| 8037 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8038 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8039 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8040 | _ACEOF | 
|---|
| 8041 |  | 
|---|
| 8042 | fi | 
|---|
| 8043 |  | 
|---|
| 8044 | done | 
|---|
| 8045 |  | 
|---|
| 8046 |  | 
|---|
| 8047 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 8048 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 8049 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
| 8050 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
| 8051 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8052 | else | 
|---|
| 8053 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8054 | /* confdefs.h.  */ | 
|---|
| 8055 | _ACEOF | 
|---|
| 8056 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8057 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8058 | /* end confdefs.h.  */ | 
|---|
| 8059 |  | 
|---|
| 8060 | #include <stdbool.h> | 
|---|
| 8061 | #ifndef bool | 
|---|
| 8062 | # error bool is not defined | 
|---|
| 8063 | #endif | 
|---|
| 8064 | #ifndef false | 
|---|
| 8065 | # error false is not defined | 
|---|
| 8066 | #endif | 
|---|
| 8067 | #if false | 
|---|
| 8068 | # error false is not 0 | 
|---|
| 8069 | #endif | 
|---|
| 8070 | #ifndef true | 
|---|
| 8071 | # error true is not defined | 
|---|
| 8072 | #endif | 
|---|
| 8073 | #if true != 1 | 
|---|
| 8074 | # error true is not 1 | 
|---|
| 8075 | #endif | 
|---|
| 8076 | #ifndef __bool_true_false_are_defined | 
|---|
| 8077 | # error __bool_true_false_are_defined is not defined | 
|---|
| 8078 | #endif | 
|---|
| 8079 |  | 
|---|
| 8080 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 8081 |  | 
|---|
| 8082 |         char a[true == 1 ? 1 : -1]; | 
|---|
| 8083 |         char b[false == 0 ? 1 : -1]; | 
|---|
| 8084 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 8085 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
| 8086 |         bool e = &s; | 
|---|
| 8087 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
| 8088 |         char g[true]; | 
|---|
| 8089 |         char h[sizeof (_Bool)]; | 
|---|
| 8090 |         char i[sizeof s.t]; | 
|---|
| 8091 |  | 
|---|
| 8092 | int | 
|---|
| 8093 | main () | 
|---|
| 8094 | { | 
|---|
| 8095 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
| 8096 |   ; | 
|---|
| 8097 |   return 0; | 
|---|
| 8098 | } | 
|---|
| 8099 | _ACEOF | 
|---|
| 8100 | rm -f conftest.$ac_objext | 
|---|
| 8101 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8102 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8103 |   ac_status=$? | 
|---|
| 8104 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8105 |   rm -f conftest.er1 | 
|---|
| 8106 |   cat conftest.err >&5 | 
|---|
| 8107 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8108 |   (exit $ac_status); } && | 
|---|
| 8109 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8110 |                          || test ! -s conftest.err' | 
|---|
| 8111 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8112 |   (eval $ac_try) 2>&5 | 
|---|
| 8113 |   ac_status=$? | 
|---|
| 8114 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8115 |   (exit $ac_status); }; } && | 
|---|
| 8116 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8117 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8118 |   (eval $ac_try) 2>&5 | 
|---|
| 8119 |   ac_status=$? | 
|---|
| 8120 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8121 |   (exit $ac_status); }; }; then | 
|---|
| 8122 |   ac_cv_header_stdbool_h=yes | 
|---|
| 8123 | else | 
|---|
| 8124 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8125 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8126 |  | 
|---|
| 8127 | ac_cv_header_stdbool_h=no | 
|---|
| 8128 | fi | 
|---|
| 8129 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8130 | fi | 
|---|
| 8131 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 8132 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
| 8133 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
| 8134 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
| 8135 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
| 8136 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8137 | else | 
|---|
| 8138 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8139 | /* confdefs.h.  */ | 
|---|
| 8140 | _ACEOF | 
|---|
| 8141 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8142 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8143 | /* end confdefs.h.  */ | 
|---|
| 8144 | $ac_includes_default | 
|---|
| 8145 | int | 
|---|
| 8146 | main () | 
|---|
| 8147 | { | 
|---|
| 8148 | if ((_Bool *) 0) | 
|---|
| 8149 |   return 0; | 
|---|
| 8150 | if (sizeof (_Bool)) | 
|---|
| 8151 |   return 0; | 
|---|
| 8152 |   ; | 
|---|
| 8153 |   return 0; | 
|---|
| 8154 | } | 
|---|
| 8155 | _ACEOF | 
|---|
| 8156 | rm -f conftest.$ac_objext | 
|---|
| 8157 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8158 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8159 |   ac_status=$? | 
|---|
| 8160 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8161 |   rm -f conftest.er1 | 
|---|
| 8162 |   cat conftest.err >&5 | 
|---|
| 8163 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8164 |   (exit $ac_status); } && | 
|---|
| 8165 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8166 |                          || test ! -s conftest.err' | 
|---|
| 8167 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8168 |   (eval $ac_try) 2>&5 | 
|---|
| 8169 |   ac_status=$? | 
|---|
| 8170 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8171 |   (exit $ac_status); }; } && | 
|---|
| 8172 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8173 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8174 |   (eval $ac_try) 2>&5 | 
|---|
| 8175 |   ac_status=$? | 
|---|
| 8176 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8177 |   (exit $ac_status); }; }; then | 
|---|
| 8178 |   ac_cv_type__Bool=yes | 
|---|
| 8179 | else | 
|---|
| 8180 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8181 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8182 |  | 
|---|
| 8183 | ac_cv_type__Bool=no | 
|---|
| 8184 | fi | 
|---|
| 8185 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8186 | fi | 
|---|
| 8187 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
| 8188 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
| 8189 | if test $ac_cv_type__Bool = yes; then | 
|---|
| 8190 |  | 
|---|
| 8191 | cat >>confdefs.h <<_ACEOF | 
|---|
| 8192 | #define HAVE__BOOL 1 | 
|---|
| 8193 | _ACEOF | 
|---|
| 8194 |  | 
|---|
| 8195 |  | 
|---|
| 8196 | fi | 
|---|
| 8197 |  | 
|---|
| 8198 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 8199 |  | 
|---|
| 8200 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8201 | #define HAVE_STDBOOL_H 1 | 
|---|
| 8202 | _ACEOF | 
|---|
| 8203 |  | 
|---|
| 8204 | fi | 
|---|
| 8205 |  | 
|---|
| 8206 |  | 
|---|
| 8207 | # Checks for library functions. | 
|---|
| 8208 |  | 
|---|
| 8209 | for ac_header in stdlib.h | 
|---|
| 8210 | do | 
|---|
| 8211 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 8212 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8213 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8214 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8215 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8216 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8217 | fi | 
|---|
| 8218 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8219 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8220 | else | 
|---|
| 8221 |   # Is the header compilable? | 
|---|
| 8222 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 8223 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 8224 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8225 | /* confdefs.h.  */ | 
|---|
| 8226 | _ACEOF | 
|---|
| 8227 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8228 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8229 | /* end confdefs.h.  */ | 
|---|
| 8230 | $ac_includes_default | 
|---|
| 8231 | #include <$ac_header> | 
|---|
| 8232 | _ACEOF | 
|---|
| 8233 | rm -f conftest.$ac_objext | 
|---|
| 8234 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 8235 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 8236 |   ac_status=$? | 
|---|
| 8237 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8238 |   rm -f conftest.er1 | 
|---|
| 8239 |   cat conftest.err >&5 | 
|---|
| 8240 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8241 |   (exit $ac_status); } && | 
|---|
| 8242 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8243 |                          || test ! -s conftest.err' | 
|---|
| 8244 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8245 |   (eval $ac_try) 2>&5 | 
|---|
| 8246 |   ac_status=$? | 
|---|
| 8247 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8248 |   (exit $ac_status); }; } && | 
|---|
| 8249 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 8250 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8251 |   (eval $ac_try) 2>&5 | 
|---|
| 8252 |   ac_status=$? | 
|---|
| 8253 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8254 |   (exit $ac_status); }; }; then | 
|---|
| 8255 |   ac_header_compiler=yes | 
|---|
| 8256 | else | 
|---|
| 8257 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8258 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8259 |  | 
|---|
| 8260 | ac_header_compiler=no | 
|---|
| 8261 | fi | 
|---|
| 8262 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8263 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 8264 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 8265 |  | 
|---|
| 8266 | # Is the header present? | 
|---|
| 8267 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 8268 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 8269 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8270 | /* confdefs.h.  */ | 
|---|
| 8271 | _ACEOF | 
|---|
| 8272 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8273 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8274 | /* end confdefs.h.  */ | 
|---|
| 8275 | #include <$ac_header> | 
|---|
| 8276 | _ACEOF | 
|---|
| 8277 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 8278 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 8279 |   ac_status=$? | 
|---|
| 8280 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8281 |   rm -f conftest.er1 | 
|---|
| 8282 |   cat conftest.err >&5 | 
|---|
| 8283 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8284 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 8285 |   if test -s conftest.err; then | 
|---|
| 8286 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 8287 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 8288 |   else | 
|---|
| 8289 |     ac_cpp_err= | 
|---|
| 8290 |   fi | 
|---|
| 8291 | else | 
|---|
| 8292 |   ac_cpp_err=yes | 
|---|
| 8293 | fi | 
|---|
| 8294 | if test -z "$ac_cpp_err"; then | 
|---|
| 8295 |   ac_header_preproc=yes | 
|---|
| 8296 | else | 
|---|
| 8297 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8298 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8299 |  | 
|---|
| 8300 |   ac_header_preproc=no | 
|---|
| 8301 | fi | 
|---|
| 8302 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 8303 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 8304 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 8305 |  | 
|---|
| 8306 | # So?  What about this header? | 
|---|
| 8307 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 8308 |   yes:no: ) | 
|---|
| 8309 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 8310 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 8311 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 8312 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 8313 |     ac_header_preproc=yes | 
|---|
| 8314 |     ;; | 
|---|
| 8315 |   no:yes:* ) | 
|---|
| 8316 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 8317 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 8318 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 8319 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 8320 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 8321 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 8322 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 8323 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 8324 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 8325 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 8326 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 8327 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 8328 |     ( | 
|---|
| 8329 |       cat <<\_ASBOX | 
|---|
| 8330 | ## ---------------------------------------------- ## | 
|---|
| 8331 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
| 8332 | ## ---------------------------------------------- ## | 
|---|
| 8333 | _ASBOX | 
|---|
| 8334 |     ) | | 
|---|
| 8335 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 8336 |     ;; | 
|---|
| 8337 | esac | 
|---|
| 8338 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 8339 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 8340 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 8341 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8342 | else | 
|---|
| 8343 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 8344 | fi | 
|---|
| 8345 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 8346 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 8347 |  | 
|---|
| 8348 | fi | 
|---|
| 8349 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 8350 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8351 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 8352 | _ACEOF | 
|---|
| 8353 |  | 
|---|
| 8354 | fi | 
|---|
| 8355 |  | 
|---|
| 8356 | done | 
|---|
| 8357 |  | 
|---|
| 8358 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
| 8359 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
| 8360 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
| 8361 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8362 | else | 
|---|
| 8363 |   if test "$cross_compiling" = yes; then | 
|---|
| 8364 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
| 8365 | else | 
|---|
| 8366 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8367 | /* confdefs.h.  */ | 
|---|
| 8368 | _ACEOF | 
|---|
| 8369 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8370 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8371 | /* end confdefs.h.  */ | 
|---|
| 8372 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
| 8373 | # include <stdlib.h> | 
|---|
| 8374 | #else | 
|---|
| 8375 | char *malloc (); | 
|---|
| 8376 | #endif | 
|---|
| 8377 |  | 
|---|
| 8378 | int | 
|---|
| 8379 | main () | 
|---|
| 8380 | { | 
|---|
| 8381 | exit (malloc (0) ? 0 : 1); | 
|---|
| 8382 |   ; | 
|---|
| 8383 |   return 0; | 
|---|
| 8384 | } | 
|---|
| 8385 | _ACEOF | 
|---|
| 8386 | rm -f conftest$ac_exeext | 
|---|
| 8387 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8388 |   (eval $ac_link) 2>&5 | 
|---|
| 8389 |   ac_status=$? | 
|---|
| 8390 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8391 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 8392 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8393 |   (eval $ac_try) 2>&5 | 
|---|
| 8394 |   ac_status=$? | 
|---|
| 8395 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8396 |   (exit $ac_status); }; }; then | 
|---|
| 8397 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
| 8398 | else | 
|---|
| 8399 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 8400 | echo "$as_me: failed program was:" >&5 | 
|---|
| 8401 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8402 |  | 
|---|
| 8403 | ( exit $ac_status ) | 
|---|
| 8404 | ac_cv_func_malloc_0_nonnull=no | 
|---|
| 8405 | fi | 
|---|
| 8406 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 8407 | fi | 
|---|
| 8408 | fi | 
|---|
| 8409 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
| 8410 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
| 8411 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
| 8412 |  | 
|---|
| 8413 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8414 | #define HAVE_MALLOC 1 | 
|---|
| 8415 | _ACEOF | 
|---|
| 8416 |  | 
|---|
| 8417 | else | 
|---|
| 8418 |   cat >>confdefs.h <<\_ACEOF | 
|---|
| 8419 | #define HAVE_MALLOC 0 | 
|---|
| 8420 | _ACEOF | 
|---|
| 8421 |  | 
|---|
| 8422 |    case $LIBOBJS in | 
|---|
| 8423 |     "malloc.$ac_objext"   | \ | 
|---|
| 8424 |   *" malloc.$ac_objext"   | \ | 
|---|
| 8425 |     "malloc.$ac_objext "* | \ | 
|---|
| 8426 |   *" malloc.$ac_objext "* ) ;; | 
|---|
| 8427 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
| 8428 | esac | 
|---|
| 8429 |  | 
|---|
| 8430 |  | 
|---|
| 8431 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 8432 | #define malloc rpl_malloc | 
|---|
| 8433 | _ACEOF | 
|---|
| 8434 |  | 
|---|
| 8435 | fi | 
|---|
| 8436 |  | 
|---|
| 8437 |  | 
|---|
| 8438 |  | 
|---|
| 8439 |  | 
|---|
| 8440 |  | 
|---|
| 8441 | for ac_func in bzero sqrt | 
|---|
| 8442 | do | 
|---|
| 8443 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 8444 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
| 8445 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
| 8446 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
| 8447 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 8448 | else | 
|---|
| 8449 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 8450 | /* confdefs.h.  */ | 
|---|
| 8451 | _ACEOF | 
|---|
| 8452 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 8453 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 8454 | /* end confdefs.h.  */ | 
|---|
| 8455 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
| 8456 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 8457 | #define $ac_func innocuous_$ac_func | 
|---|
| 8458 |  | 
|---|
| 8459 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 8460 |     which can conflict with char $ac_func (); below. | 
|---|
| 8461 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 8462 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 8463 |  | 
|---|
| 8464 | #ifdef __STDC__ | 
|---|
| 8465 | # include <limits.h> | 
|---|
| 8466 | #else | 
|---|
| 8467 | # include <assert.h> | 
|---|
| 8468 | #endif | 
|---|
| 8469 |  | 
|---|
| 8470 | #undef $ac_func | 
|---|
| 8471 |  | 
|---|
| 8472 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 8473 | #ifdef __cplusplus | 
|---|
| 8474 | extern "C" | 
|---|
| 8475 | { | 
|---|
| 8476 | #endif | 
|---|
| 8477 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 8478 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 8479 | char $ac_func (); | 
|---|
| 8480 | /* The GNU C library defines this for functions which it implements | 
|---|
| 8481 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 8482 |     something starting with __ and the normal name is an alias.  */ | 
|---|
| 8483 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
| 8484 | choke me | 
|---|
| 8485 | #else | 
|---|
| 8486 | char (*f) () = $ac_func; | 
|---|
| 8487 | #endif | 
|---|
| 8488 | #ifdef __cplusplus | 
|---|
| 8489 | } | 
|---|
| 8490 | #endif | 
|---|
| 8491 |  | 
|---|
| 8492 | int | 
|---|
| 8493 | main () | 
|---|
| 8494 | { | 
|---|
| 8495 | return f != $ac_func; | 
|---|
| 8496 |   ; | 
|---|
| 8497 |   return 0; | 
|---|
| 8498 | } | 
|---|
| 8499 | _ACEOF | 
|---|
| 8500 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 8501 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 8502 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 8503 |   ac_status=$? | 
|---|
| 8504 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 8505 |   rm -f conftest.er1 | 
|---|
| 8506 |   cat conftest.err >&5 | 
|---|
| 8507 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8508 |   (exit $ac_status); } && | 
|---|
| 8509 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 8510 |                          || test ! -s conftest.err' | 
|---|
| 8511 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8512 |   (eval $ac_try) 2>&5 | 
|---|
| 8513 |   ac_status=$? | 
|---|
| 8514 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8515 |   (exit $ac_status); }; } && | 
|---|
| 8516 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 8517 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 8518 |   (eval $ac_try) 2>&5 | 
|---|
| 8519 |   ac_status=$? | 
|---|
| 8520 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 8521 |   (exit $ac_status); }; }; then | 
|---|
| 8522 |   eval "$as_ac_var=yes" | 
|---|
| 8523 | else | 
|---|
| 8524 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 8525 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 8526 |  | 
|---|
| 8527 | eval "$as_ac_var=no" | 
|---|
| 8528 | fi | 
|---|
| 8529 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 8530 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 8531 | fi | 
|---|
| 8532 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
| 8533 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
| 8534 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
| 8535 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 8536 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 8537 | _ACEOF | 
|---|
| 8538 |  | 
|---|
| 8539 | fi | 
|---|
| 8540 | done | 
|---|
| 8541 |  | 
|---|
| 8542 |  | 
|---|
| 8543 | ###################### | 
|---|
| 8544 | ## OUTPUT CONFIGURE ## | 
|---|
| 8545 | ###################### | 
|---|
| 8546 |                                                                                                     ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/graphics/Makefile src/lib/graphics/importer/Makefile src/lib/gui/Makefile src/lib/gui/console/Makefile src/lib/gui/gui/Makefile src/subprojects/Makefile src/subprojects/testmain/Makefile" | 
|---|
| 8547 |  | 
|---|
| 8548 |  | 
|---|
| 8549 | cat >confcache <<\_ACEOF | 
|---|
| 8550 | # This file is a shell script that caches the results of configure | 
|---|
| 8551 | # tests run on this system so they can be shared between configure | 
|---|
| 8552 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 8553 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 8554 | # want to keep, you may remove or edit it. | 
|---|
| 8555 | # | 
|---|
| 8556 | # config.status only pays attention to the cache file if you give it | 
|---|
| 8557 | # the --recheck option to rerun configure. | 
|---|
| 8558 | # | 
|---|
| 8559 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 8560 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 8561 | # following values. | 
|---|
| 8562 |  | 
|---|
| 8563 | _ACEOF | 
|---|
| 8564 |  | 
|---|
| 8565 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 8566 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 8567 | # So, don't put newlines in cache variables' values. | 
|---|
| 8568 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 8569 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 8570 | { | 
|---|
| 8571 |   (set) 2>&1 | | 
|---|
| 8572 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 8573 |     *ac_space=\ *) | 
|---|
| 8574 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
| 8575 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 8576 |       sed -n \ | 
|---|
| 8577 |         "s/'/'\\\\''/g; | 
|---|
| 8578 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 8579 |       ;; | 
|---|
| 8580 |     *) | 
|---|
| 8581 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 8582 |       sed -n \ | 
|---|
| 8583 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 8584 |       ;; | 
|---|
| 8585 |     esac; | 
|---|
| 8586 | } | | 
|---|
| 8587 |   sed ' | 
|---|
| 8588 |      t clear | 
|---|
| 8589 |      : clear | 
|---|
| 8590 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 8591 |      t end | 
|---|
| 8592 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 8593 |      : end' >>confcache | 
|---|
| 8594 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
| 8595 |   if test -w $cache_file; then | 
|---|
| 8596 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
| 8597 |     cat confcache >$cache_file | 
|---|
| 8598 |   else | 
|---|
| 8599 |     echo "not updating unwritable cache $cache_file" | 
|---|
| 8600 |   fi | 
|---|
| 8601 | fi | 
|---|
| 8602 | rm -f confcache | 
|---|
| 8603 |  | 
|---|
| 8604 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 8605 | # Let make expand exec_prefix. | 
|---|
| 8606 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 8607 |  | 
|---|
| 8608 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
| 8609 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
| 8610 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 8611 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 8612 | if test "x$srcdir" = x.; then | 
|---|
| 8613 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
| 8614 | s/:*\$(srcdir):*/:/; | 
|---|
| 8615 | s/:*\${srcdir}:*/:/; | 
|---|
| 8616 | s/:*@srcdir@:*/:/; | 
|---|
| 8617 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
| 8618 | s/:*$//; | 
|---|
| 8619 | s/^[^=]*=[       ]*$//; | 
|---|
| 8620 | }' | 
|---|
| 8621 | fi | 
|---|
| 8622 |  | 
|---|
| 8623 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 8624 |  | 
|---|
| 8625 | ac_libobjs= | 
|---|
| 8626 | ac_ltlibobjs= | 
|---|
| 8627 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 8628 |   # 1. Remove the extension, and $U if already installed. | 
|---|
| 8629 |   ac_i=`echo "$ac_i" | | 
|---|
| 8630 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
| 8631 |   # 2. Add them. | 
|---|
| 8632 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
| 8633 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
| 8634 | done | 
|---|
| 8635 | LIBOBJS=$ac_libobjs | 
|---|
| 8636 |  | 
|---|
| 8637 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 8638 |  | 
|---|
| 8639 |  | 
|---|
| 8640 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 8641 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
| 8642 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8643 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
| 8644 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8645 |    { (exit 1); exit 1; }; } | 
|---|
| 8646 | fi | 
|---|
| 8647 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 8648 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 8649 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8650 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 8651 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8652 |    { (exit 1); exit 1; }; } | 
|---|
| 8653 | fi | 
|---|
| 8654 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 8655 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 8656 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8657 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 8658 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8659 |    { (exit 1); exit 1; }; } | 
|---|
| 8660 | fi | 
|---|
| 8661 | if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then | 
|---|
| 8662 |   { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 8663 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8664 | echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 8665 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8666 |    { (exit 1); exit 1; }; } | 
|---|
| 8667 | fi | 
|---|
| 8668 | if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then | 
|---|
| 8669 |   { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 8670 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8671 | echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
| 8672 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8673 |    { (exit 1); exit 1; }; } | 
|---|
| 8674 | fi | 
|---|
| 8675 | if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then | 
|---|
| 8676 |   { { echo "$as_me:$LINENO: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 8677 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8678 | echo "$as_me: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
| 8679 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8680 |    { (exit 1); exit 1; }; } | 
|---|
| 8681 | fi | 
|---|
| 8682 | if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then | 
|---|
| 8683 |   { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 8684 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8685 | echo "$as_me: error: conditional \"DOXYGEN\" was never defined. | 
|---|
| 8686 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8687 |    { (exit 1); exit 1; }; } | 
|---|
| 8688 | fi | 
|---|
| 8689 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
| 8690 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 8691 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8692 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 8693 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8694 |    { (exit 1); exit 1; }; } | 
|---|
| 8695 | fi | 
|---|
| 8696 | if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then | 
|---|
| 8697 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
| 8698 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8699 | echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
| 8700 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8701 |    { (exit 1); exit 1; }; } | 
|---|
| 8702 | fi | 
|---|
| 8703 | if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then | 
|---|
| 8704 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 8705 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 8706 | echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
| 8707 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 8708 |    { (exit 1); exit 1; }; } | 
|---|
| 8709 | fi | 
|---|
| 8710 |  | 
|---|
| 8711 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 8712 | ac_clean_files_save=$ac_clean_files | 
|---|
| 8713 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 8714 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
| 8715 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 8716 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
| 8717 | #! $SHELL | 
|---|
| 8718 | # Generated by $as_me. | 
|---|
| 8719 | # Run this file to recreate the current configuration. | 
|---|
| 8720 | # Compiler output produced by configure, useful for debugging | 
|---|
| 8721 | # configure, is in config.log if it exists. | 
|---|
| 8722 |  | 
|---|
| 8723 | debug=false | 
|---|
| 8724 | ac_cs_recheck=false | 
|---|
| 8725 | ac_cs_silent=false | 
|---|
| 8726 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 8727 | _ACEOF | 
|---|
| 8728 |  | 
|---|
| 8729 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 8730 | ## --------------------- ## | 
|---|
| 8731 | ## M4sh Initialization.  ## | 
|---|
| 8732 | ## --------------------- ## | 
|---|
| 8733 |  | 
|---|
| 8734 | # Be Bourne compatible | 
|---|
| 8735 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 8736 |   emulate sh | 
|---|
| 8737 |   NULLCMD=: | 
|---|
| 8738 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 8739 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 8740 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 8741 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 8742 |   set -o posix | 
|---|
| 8743 | fi | 
|---|
| 8744 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 8745 |  | 
|---|
| 8746 | # Support unset when possible. | 
|---|
| 8747 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 8748 |   as_unset=unset | 
|---|
| 8749 | else | 
|---|
| 8750 |   as_unset=false | 
|---|
| 8751 | fi | 
|---|
| 8752 |  | 
|---|
| 8753 |  | 
|---|
| 8754 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 8755 | $as_unset ENV MAIL MAILPATH | 
|---|
| 8756 | PS1='$ ' | 
|---|
| 8757 | PS2='> ' | 
|---|
| 8758 | PS4='+ ' | 
|---|
| 8759 |  | 
|---|
| 8760 | # NLS nuisances. | 
|---|
| 8761 | for as_var in \ | 
|---|
| 8762 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 8763 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 8764 |   LC_TELEPHONE LC_TIME | 
|---|
| 8765 | do | 
|---|
| 8766 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 8767 |     eval $as_var=C; export $as_var | 
|---|
| 8768 |   else | 
|---|
| 8769 |     $as_unset $as_var | 
|---|
| 8770 |   fi | 
|---|
| 8771 | done | 
|---|
| 8772 |  | 
|---|
| 8773 | # Required to use basename. | 
|---|
| 8774 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 8775 |   as_expr=expr | 
|---|
| 8776 | else | 
|---|
| 8777 |   as_expr=false | 
|---|
| 8778 | fi | 
|---|
| 8779 |  | 
|---|
| 8780 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 8781 |   as_basename=basename | 
|---|
| 8782 | else | 
|---|
| 8783 |   as_basename=false | 
|---|
| 8784 | fi | 
|---|
| 8785 |  | 
|---|
| 8786 |  | 
|---|
| 8787 | # Name of the executable. | 
|---|
| 8788 | as_me=`$as_basename "$0" || | 
|---|
| 8789 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 8790 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 8791 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 8792 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8793 | echo X/"$0" | | 
|---|
| 8794 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 8795 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8796 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 8797 |           s/.*/./; q'` | 
|---|
| 8798 |  | 
|---|
| 8799 |  | 
|---|
| 8800 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 8801 | # Avoid depending upon Character Ranges. | 
|---|
| 8802 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 8803 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 8804 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 8805 | as_cr_digits='0123456789' | 
|---|
| 8806 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 8807 |  | 
|---|
| 8808 | # The user is always right. | 
|---|
| 8809 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 8810 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 8811 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 8812 |   chmod +x conf$$.sh | 
|---|
| 8813 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 8814 |     PATH_SEPARATOR=';' | 
|---|
| 8815 |   else | 
|---|
| 8816 |     PATH_SEPARATOR=: | 
|---|
| 8817 |   fi | 
|---|
| 8818 |   rm -f conf$$.sh | 
|---|
| 8819 | fi | 
|---|
| 8820 |  | 
|---|
| 8821 |  | 
|---|
| 8822 |   as_lineno_1=$LINENO | 
|---|
| 8823 |   as_lineno_2=$LINENO | 
|---|
| 8824 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 8825 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 8826 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 8827 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 8828 |   # relative or not. | 
|---|
| 8829 |   case $0 in | 
|---|
| 8830 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 8831 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 8832 | for as_dir in $PATH | 
|---|
| 8833 | do | 
|---|
| 8834 |   IFS=$as_save_IFS | 
|---|
| 8835 |   test -z "$as_dir" && as_dir=. | 
|---|
| 8836 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 8837 | done | 
|---|
| 8838 |  | 
|---|
| 8839 |        ;; | 
|---|
| 8840 |   esac | 
|---|
| 8841 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 8842 |   # in which case we are not to be found in the path. | 
|---|
| 8843 |   if test "x$as_myself" = x; then | 
|---|
| 8844 |     as_myself=$0 | 
|---|
| 8845 |   fi | 
|---|
| 8846 |   if test ! -f "$as_myself"; then | 
|---|
| 8847 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
| 8848 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
| 8849 |    { (exit 1); exit 1; }; } | 
|---|
| 8850 |   fi | 
|---|
| 8851 |   case $CONFIG_SHELL in | 
|---|
| 8852 |   '') | 
|---|
| 8853 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 8854 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 8855 | do | 
|---|
| 8856 |   IFS=$as_save_IFS | 
|---|
| 8857 |   test -z "$as_dir" && as_dir=. | 
|---|
| 8858 |   for as_base in sh bash ksh sh5; do | 
|---|
| 8859 |          case $as_dir in | 
|---|
| 8860 |          /*) | 
|---|
| 8861 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 8862 |   as_lineno_1=$LINENO | 
|---|
| 8863 |   as_lineno_2=$LINENO | 
|---|
| 8864 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 8865 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 8866 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 8867 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 8868 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 8869 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 8870 |              export CONFIG_SHELL | 
|---|
| 8871 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 8872 |            fi;; | 
|---|
| 8873 |          esac | 
|---|
| 8874 |        done | 
|---|
| 8875 | done | 
|---|
| 8876 | ;; | 
|---|
| 8877 |   esac | 
|---|
| 8878 |  | 
|---|
| 8879 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 8880 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 8881 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 8882 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 8883 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 8884 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 8885 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 8886 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 8887 |   sed '=' <$as_myself | | 
|---|
| 8888 |     sed ' | 
|---|
| 8889 |       N | 
|---|
| 8890 |       s,$,-, | 
|---|
| 8891 |       : loop | 
|---|
| 8892 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 8893 |       t loop | 
|---|
| 8894 |       s,-$,, | 
|---|
| 8895 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 8896 |     ' >$as_me.lineno && | 
|---|
| 8897 |   chmod +x $as_me.lineno || | 
|---|
| 8898 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
| 8899 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
| 8900 |    { (exit 1); exit 1; }; } | 
|---|
| 8901 |  | 
|---|
| 8902 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 8903 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 8904 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 8905 |   . ./$as_me.lineno | 
|---|
| 8906 |   # Exit status is that of the last command. | 
|---|
| 8907 |   exit | 
|---|
| 8908 | } | 
|---|
| 8909 |  | 
|---|
| 8910 |  | 
|---|
| 8911 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 8912 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 8913 | ' ECHO_T='      ' ;; | 
|---|
| 8914 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 8915 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 8916 | esac | 
|---|
| 8917 |  | 
|---|
| 8918 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 8919 |   as_expr=expr | 
|---|
| 8920 | else | 
|---|
| 8921 |   as_expr=false | 
|---|
| 8922 | fi | 
|---|
| 8923 |  | 
|---|
| 8924 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 8925 | echo >conf$$.file | 
|---|
| 8926 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 8927 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 8928 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 8929 |   if test -f conf$$.exe; then | 
|---|
| 8930 |     # Don't use ln at all; we don't have any links | 
|---|
| 8931 |     as_ln_s='cp -p' | 
|---|
| 8932 |   else | 
|---|
| 8933 |     as_ln_s='ln -s' | 
|---|
| 8934 |   fi | 
|---|
| 8935 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 8936 |   as_ln_s=ln | 
|---|
| 8937 | else | 
|---|
| 8938 |   as_ln_s='cp -p' | 
|---|
| 8939 | fi | 
|---|
| 8940 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 8941 |  | 
|---|
| 8942 | if mkdir -p . 2>/dev/null; then | 
|---|
| 8943 |   as_mkdir_p=: | 
|---|
| 8944 | else | 
|---|
| 8945 |   test -d ./-p && rmdir ./-p | 
|---|
| 8946 |   as_mkdir_p=false | 
|---|
| 8947 | fi | 
|---|
| 8948 |  | 
|---|
| 8949 | as_executable_p="test -f" | 
|---|
| 8950 |  | 
|---|
| 8951 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 8952 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 8953 |  | 
|---|
| 8954 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 8955 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 8956 |  | 
|---|
| 8957 |  | 
|---|
| 8958 | # IFS | 
|---|
| 8959 | # We need space, tab and new line, in precisely that order. | 
|---|
| 8960 | as_nl=' | 
|---|
| 8961 | ' | 
|---|
| 8962 | IFS="   $as_nl" | 
|---|
| 8963 |  | 
|---|
| 8964 | # CDPATH. | 
|---|
| 8965 | $as_unset CDPATH | 
|---|
| 8966 |  | 
|---|
| 8967 | exec 6>&1 | 
|---|
| 8968 |  | 
|---|
| 8969 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
| 8970 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 8971 | # values after options handling.  Logging --version etc. is OK. | 
|---|
| 8972 | exec 5>>config.log | 
|---|
| 8973 | { | 
|---|
| 8974 |   echo | 
|---|
| 8975 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 8976 | ## Running $as_me. ## | 
|---|
| 8977 | _ASBOX | 
|---|
| 8978 | } >&5 | 
|---|
| 8979 | cat >&5 <<_CSEOF | 
|---|
| 8980 |  | 
|---|
| 8981 | This file was extended by orxonox $as_me 0.2.2-pre-alpha, which was | 
|---|
| 8982 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 8983 |  | 
|---|
| 8984 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 8985 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 8986 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 8987 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 8988 |   $ $0 $@ | 
|---|
| 8989 |  | 
|---|
| 8990 | _CSEOF | 
|---|
| 8991 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
| 8992 | echo >&5 | 
|---|
| 8993 | _ACEOF | 
|---|
| 8994 |  | 
|---|
| 8995 | # Files that config.status was made for. | 
|---|
| 8996 | if test -n "$ac_config_files"; then | 
|---|
| 8997 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
| 8998 | fi | 
|---|
| 8999 |  | 
|---|
| 9000 | if test -n "$ac_config_headers"; then | 
|---|
| 9001 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
| 9002 | fi | 
|---|
| 9003 |  | 
|---|
| 9004 | if test -n "$ac_config_links"; then | 
|---|
| 9005 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
| 9006 | fi | 
|---|
| 9007 |  | 
|---|
| 9008 | if test -n "$ac_config_commands"; then | 
|---|
| 9009 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
| 9010 | fi | 
|---|
| 9011 |  | 
|---|
| 9012 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9013 |  | 
|---|
| 9014 | ac_cs_usage="\ | 
|---|
| 9015 | \`$as_me' instantiates files from templates according to the | 
|---|
| 9016 | current configuration. | 
|---|
| 9017 |  | 
|---|
| 9018 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
| 9019 |  | 
|---|
| 9020 |   -h, --help       print this help, then exit | 
|---|
| 9021 |   -V, --version    print version number, then exit | 
|---|
| 9022 |   -q, --quiet      do not print progress messages | 
|---|
| 9023 |   -d, --debug      don't remove temporary files | 
|---|
| 9024 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 9025 |   --file=FILE[:TEMPLATE] | 
|---|
| 9026 |                    instantiate the configuration file FILE | 
|---|
| 9027 |   --header=FILE[:TEMPLATE] | 
|---|
| 9028 |                    instantiate the configuration header FILE | 
|---|
| 9029 |  | 
|---|
| 9030 | Configuration files: | 
|---|
| 9031 | $config_files | 
|---|
| 9032 |  | 
|---|
| 9033 | Configuration headers: | 
|---|
| 9034 | $config_headers | 
|---|
| 9035 |  | 
|---|
| 9036 | Configuration commands: | 
|---|
| 9037 | $config_commands | 
|---|
| 9038 |  | 
|---|
| 9039 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
| 9040 | _ACEOF | 
|---|
| 9041 |  | 
|---|
| 9042 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9043 | ac_cs_version="\\ | 
|---|
| 9044 | orxonox config.status 0.2.2-pre-alpha | 
|---|
| 9045 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
| 9046 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
| 9047 |  | 
|---|
| 9048 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 9049 | This config.status script is free software; the Free Software Foundation | 
|---|
| 9050 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 9051 | srcdir=$srcdir | 
|---|
| 9052 | INSTALL="$INSTALL" | 
|---|
| 9053 | _ACEOF | 
|---|
| 9054 |  | 
|---|
| 9055 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9056 | # If no file are specified by the user, then we need to provide default | 
|---|
| 9057 | # value.  By we need to know if files were specified by the user. | 
|---|
| 9058 | ac_need_defaults=: | 
|---|
| 9059 | while test $# != 0 | 
|---|
| 9060 | do | 
|---|
| 9061 |   case $1 in | 
|---|
| 9062 |   --*=*) | 
|---|
| 9063 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
| 9064 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
| 9065 |     ac_shift=: | 
|---|
| 9066 |     ;; | 
|---|
| 9067 |   -*) | 
|---|
| 9068 |     ac_option=$1 | 
|---|
| 9069 |     ac_optarg=$2 | 
|---|
| 9070 |     ac_shift=shift | 
|---|
| 9071 |     ;; | 
|---|
| 9072 |   *) # This is not an option, so the user has probably given explicit | 
|---|
| 9073 |      # arguments. | 
|---|
| 9074 |      ac_option=$1 | 
|---|
| 9075 |      ac_need_defaults=false;; | 
|---|
| 9076 |   esac | 
|---|
| 9077 |  | 
|---|
| 9078 |   case $ac_option in | 
|---|
| 9079 |   # Handling of the options. | 
|---|
| 9080 | _ACEOF | 
|---|
| 9081 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9082 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 9083 |     ac_cs_recheck=: ;; | 
|---|
| 9084 |   --version | --vers* | -V ) | 
|---|
| 9085 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
| 9086 |   --he | --h) | 
|---|
| 9087 |     # Conflict between --help and --header | 
|---|
| 9088 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
| 9089 | Try \`$0 --help' for more information." >&5 | 
|---|
| 9090 | echo "$as_me: error: ambiguous option: $1 | 
|---|
| 9091 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 9092 |    { (exit 1); exit 1; }; };; | 
|---|
| 9093 |   --help | --hel | -h ) | 
|---|
| 9094 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
| 9095 |   --debug | --d* | -d ) | 
|---|
| 9096 |     debug=: ;; | 
|---|
| 9097 |   --file | --fil | --fi | --f ) | 
|---|
| 9098 |     $ac_shift | 
|---|
| 9099 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
| 9100 |     ac_need_defaults=false;; | 
|---|
| 9101 |   --header | --heade | --head | --hea ) | 
|---|
| 9102 |     $ac_shift | 
|---|
| 9103 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
| 9104 |     ac_need_defaults=false;; | 
|---|
| 9105 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 9106 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 9107 |     ac_cs_silent=: ;; | 
|---|
| 9108 |  | 
|---|
| 9109 |   # This is an error. | 
|---|
| 9110 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
| 9111 | Try \`$0 --help' for more information." >&5 | 
|---|
| 9112 | echo "$as_me: error: unrecognized option: $1 | 
|---|
| 9113 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 9114 |    { (exit 1); exit 1; }; } ;; | 
|---|
| 9115 |  | 
|---|
| 9116 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
| 9117 |  | 
|---|
| 9118 |   esac | 
|---|
| 9119 |   shift | 
|---|
| 9120 | done | 
|---|
| 9121 |  | 
|---|
| 9122 | ac_configure_extra_args= | 
|---|
| 9123 |  | 
|---|
| 9124 | if $ac_cs_silent; then | 
|---|
| 9125 |   exec 6>/dev/null | 
|---|
| 9126 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 9127 | fi | 
|---|
| 9128 |  | 
|---|
| 9129 | _ACEOF | 
|---|
| 9130 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9131 | if \$ac_cs_recheck; then | 
|---|
| 9132 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
| 9133 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 9134 | fi | 
|---|
| 9135 |  | 
|---|
| 9136 | _ACEOF | 
|---|
| 9137 |  | 
|---|
| 9138 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9139 | # | 
|---|
| 9140 | # INIT-COMMANDS section. | 
|---|
| 9141 | # | 
|---|
| 9142 |  | 
|---|
| 9143 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 9144 |  | 
|---|
| 9145 | _ACEOF | 
|---|
| 9146 |  | 
|---|
| 9147 |  | 
|---|
| 9148 |  | 
|---|
| 9149 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9150 | for ac_config_target in $ac_config_targets | 
|---|
| 9151 | do | 
|---|
| 9152 |   case "$ac_config_target" in | 
|---|
| 9153 |   # Handling of arguments. | 
|---|
| 9154 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 9155 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 9156 |   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | 
|---|
| 9157 |   "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;; | 
|---|
| 9158 |   "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;; | 
|---|
| 9159 |   "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;; | 
|---|
| 9160 |   "src/lib/gui/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/console/Makefile" ;; | 
|---|
| 9161 |   "src/lib/gui/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/gui/Makefile" ;; | 
|---|
| 9162 |   "src/subprojects/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/Makefile" ;; | 
|---|
| 9163 |   "src/subprojects/testmain/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/testmain/Makefile" ;; | 
|---|
| 9164 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 9165 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
| 9166 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
| 9167 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
| 9168 |    { (exit 1); exit 1; }; };; | 
|---|
| 9169 |   esac | 
|---|
| 9170 | done | 
|---|
| 9171 |  | 
|---|
| 9172 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 9173 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 9174 | # We use the long form for the default assignment because of an extremely | 
|---|
| 9175 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 9176 | if $ac_need_defaults; then | 
|---|
| 9177 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 9178 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 9179 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 9180 | fi | 
|---|
| 9181 |  | 
|---|
| 9182 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 9183 | # simply because there is no reason to put it here, and in addition, | 
|---|
| 9184 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 9185 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
| 9186 | $debug || | 
|---|
| 9187 | { | 
|---|
| 9188 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
| 9189 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
| 9190 | } | 
|---|
| 9191 |  | 
|---|
| 9192 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 9193 |  | 
|---|
| 9194 | { | 
|---|
| 9195 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
| 9196 |   test -n "$tmp" && test -d "$tmp" | 
|---|
| 9197 | }  || | 
|---|
| 9198 | { | 
|---|
| 9199 |   tmp=./confstat$$-$RANDOM | 
|---|
| 9200 |   (umask 077 && mkdir $tmp) | 
|---|
| 9201 | } || | 
|---|
| 9202 | { | 
|---|
| 9203 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
| 9204 |    { (exit 1); exit 1; } | 
|---|
| 9205 | } | 
|---|
| 9206 |  | 
|---|
| 9207 | _ACEOF | 
|---|
| 9208 |  | 
|---|
| 9209 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9210 |  | 
|---|
| 9211 | # | 
|---|
| 9212 | # CONFIG_FILES section. | 
|---|
| 9213 | # | 
|---|
| 9214 |  | 
|---|
| 9215 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
| 9216 | # This happens for instance when ./config.status config.h | 
|---|
| 9217 | if test -n "\$CONFIG_FILES"; then | 
|---|
| 9218 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 9219 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
| 9220 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
| 9221 | s,@SHELL@,$SHELL,;t t | 
|---|
| 9222 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
| 9223 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
| 9224 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
| 9225 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
| 9226 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
| 9227 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
| 9228 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
| 9229 | s,@prefix@,$prefix,;t t | 
|---|
| 9230 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
| 9231 | s,@bindir@,$bindir,;t t | 
|---|
| 9232 | s,@sbindir@,$sbindir,;t t | 
|---|
| 9233 | s,@libexecdir@,$libexecdir,;t t | 
|---|
| 9234 | s,@datadir@,$datadir,;t t | 
|---|
| 9235 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
| 9236 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
| 9237 | s,@localstatedir@,$localstatedir,;t t | 
|---|
| 9238 | s,@libdir@,$libdir,;t t | 
|---|
| 9239 | s,@includedir@,$includedir,;t t | 
|---|
| 9240 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
| 9241 | s,@infodir@,$infodir,;t t | 
|---|
| 9242 | s,@mandir@,$mandir,;t t | 
|---|
| 9243 | s,@build_alias@,$build_alias,;t t | 
|---|
| 9244 | s,@host_alias@,$host_alias,;t t | 
|---|
| 9245 | s,@target_alias@,$target_alias,;t t | 
|---|
| 9246 | s,@DEFS@,$DEFS,;t t | 
|---|
| 9247 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
| 9248 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
| 9249 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
| 9250 | s,@LIBS@,$LIBS,;t t | 
|---|
| 9251 | s,@build@,$build,;t t | 
|---|
| 9252 | s,@build_cpu@,$build_cpu,;t t | 
|---|
| 9253 | s,@build_vendor@,$build_vendor,;t t | 
|---|
| 9254 | s,@build_os@,$build_os,;t t | 
|---|
| 9255 | s,@host@,$host,;t t | 
|---|
| 9256 | s,@host_cpu@,$host_cpu,;t t | 
|---|
| 9257 | s,@host_vendor@,$host_vendor,;t t | 
|---|
| 9258 | s,@host_os@,$host_os,;t t | 
|---|
| 9259 | s,@target@,$target,;t t | 
|---|
| 9260 | s,@target_cpu@,$target_cpu,;t t | 
|---|
| 9261 | s,@target_vendor@,$target_vendor,;t t | 
|---|
| 9262 | s,@target_os@,$target_os,;t t | 
|---|
| 9263 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
| 9264 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
| 9265 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
| 9266 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
| 9267 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
| 9268 | s,@VERSION@,$VERSION,;t t | 
|---|
| 9269 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
| 9270 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
| 9271 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
| 9272 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
| 9273 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
| 9274 | s,@AMTAR@,$AMTAR,;t t | 
|---|
| 9275 | s,@install_sh@,$install_sh,;t t | 
|---|
| 9276 | s,@STRIP@,$STRIP,;t t | 
|---|
| 9277 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
| 9278 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| 9279 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| 9280 | s,@AWK@,$AWK,;t t | 
|---|
| 9281 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
| 9282 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
| 9283 | s,@CXX@,$CXX,;t t | 
|---|
| 9284 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
| 9285 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
| 9286 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
| 9287 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
| 9288 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
| 9289 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
| 9290 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
| 9291 | s,@am__include@,$am__include,;t t | 
|---|
| 9292 | s,@am__quote@,$am__quote,;t t | 
|---|
| 9293 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
| 9294 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
| 9295 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
| 9296 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
| 9297 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
| 9298 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
| 9299 | s,@CC@,$CC,;t t | 
|---|
| 9300 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
| 9301 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
| 9302 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
| 9303 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
| 9304 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
| 9305 | s,@CPP@,$CPP,;t t | 
|---|
| 9306 | s,@EGREP@,$EGREP,;t t | 
|---|
| 9307 | s,@DEBUG@,$DEBUG,;t t | 
|---|
| 9308 | s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t | 
|---|
| 9309 | s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t | 
|---|
| 9310 | s,@DOCUMENTATION_TRUE@,$DOCUMENTATION_TRUE,;t t | 
|---|
| 9311 | s,@DOCUMENTATION_FALSE@,$DOCUMENTATION_FALSE,;t t | 
|---|
| 9312 | s,@DOXYGEN@,$DOXYGEN,;t t | 
|---|
| 9313 | s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t | 
|---|
| 9314 | s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t | 
|---|
| 9315 | s,@GPROF@,$GPROF,;t t | 
|---|
| 9316 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| 9317 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| 9318 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
| 9319 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
| 9320 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| 9321 | s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t | 
|---|
| 9322 | s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t | 
|---|
| 9323 | s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t | 
|---|
| 9324 | s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t | 
|---|
| 9325 | s,@CURL_LIBS@,$CURL_LIBS,;t t | 
|---|
| 9326 | s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t | 
|---|
| 9327 | s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t | 
|---|
| 9328 | s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t | 
|---|
| 9329 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
| 9330 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
| 9331 | CEOF | 
|---|
| 9332 |  | 
|---|
| 9333 | _ACEOF | 
|---|
| 9334 |  | 
|---|
| 9335 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9336 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 9337 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 9338 |   ac_max_sed_lines=48 | 
|---|
| 9339 |   ac_sed_frag=1 # Number of current file. | 
|---|
| 9340 |   ac_beg=1 # First line for current file. | 
|---|
| 9341 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
| 9342 |   ac_more_lines=: | 
|---|
| 9343 |   ac_sed_cmds= | 
|---|
| 9344 |   while $ac_more_lines; do | 
|---|
| 9345 |     if test $ac_beg -gt 1; then | 
|---|
| 9346 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 9347 |     else | 
|---|
| 9348 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 9349 |     fi | 
|---|
| 9350 |     if test ! -s $tmp/subs.frag; then | 
|---|
| 9351 |       ac_more_lines=false | 
|---|
| 9352 |     else | 
|---|
| 9353 |       # The purpose of the label and of the branching condition is to | 
|---|
| 9354 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
| 9355 |       # is no need to browse any of the substitutions). | 
|---|
| 9356 |       # These are the two extra sed commands mentioned above. | 
|---|
| 9357 |       (echo ':t | 
|---|
| 9358 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
| 9359 |       if test -z "$ac_sed_cmds"; then | 
|---|
| 9360 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 9361 |       else | 
|---|
| 9362 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 9363 |       fi | 
|---|
| 9364 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
| 9365 |       ac_beg=$ac_end | 
|---|
| 9366 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
| 9367 |     fi | 
|---|
| 9368 |   done | 
|---|
| 9369 |   if test -z "$ac_sed_cmds"; then | 
|---|
| 9370 |     ac_sed_cmds=cat | 
|---|
| 9371 |   fi | 
|---|
| 9372 | fi # test -n "$CONFIG_FILES" | 
|---|
| 9373 |  | 
|---|
| 9374 | _ACEOF | 
|---|
| 9375 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9376 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
| 9377 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 9378 |   case $ac_file in | 
|---|
| 9379 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 9380 |         cat >$tmp/stdin | 
|---|
| 9381 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9382 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9383 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9384 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9385 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 9386 |   esac | 
|---|
| 9387 |  | 
|---|
| 9388 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
| 9389 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 9390 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9391 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 9392 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 9393 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 9394 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9395 | echo X"$ac_file" | | 
|---|
| 9396 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9397 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9398 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9399 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9400 |           s/.*/./; q'` | 
|---|
| 9401 |   { if $as_mkdir_p; then | 
|---|
| 9402 |     mkdir -p "$ac_dir" | 
|---|
| 9403 |   else | 
|---|
| 9404 |     as_dir="$ac_dir" | 
|---|
| 9405 |     as_dirs= | 
|---|
| 9406 |     while test ! -d "$as_dir"; do | 
|---|
| 9407 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 9408 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 9409 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9410 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 9411 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 9412 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 9413 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9414 | echo X"$as_dir" | | 
|---|
| 9415 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9416 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9417 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9418 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9419 |           s/.*/./; q'` | 
|---|
| 9420 |     done | 
|---|
| 9421 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 9422 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 9423 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 9424 |    { (exit 1); exit 1; }; }; } | 
|---|
| 9425 |  | 
|---|
| 9426 |   ac_builddir=. | 
|---|
| 9427 |  | 
|---|
| 9428 | if test "$ac_dir" != .; then | 
|---|
| 9429 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 9430 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 9431 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 9432 | else | 
|---|
| 9433 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 9434 | fi | 
|---|
| 9435 |  | 
|---|
| 9436 | case $srcdir in | 
|---|
| 9437 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 9438 |     ac_srcdir=. | 
|---|
| 9439 |     if test -z "$ac_top_builddir"; then | 
|---|
| 9440 |        ac_top_srcdir=. | 
|---|
| 9441 |     else | 
|---|
| 9442 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 9443 |     fi ;; | 
|---|
| 9444 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 9445 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 9446 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 9447 |   *) # Relative path. | 
|---|
| 9448 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 9449 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 9450 | esac | 
|---|
| 9451 |  | 
|---|
| 9452 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 9453 | # the directories may not exist. | 
|---|
| 9454 | case `pwd` in | 
|---|
| 9455 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 9456 | *) | 
|---|
| 9457 |   case "$ac_dir" in | 
|---|
| 9458 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 9459 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 9460 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 9461 |   esac;; | 
|---|
| 9462 | esac | 
|---|
| 9463 | case $ac_abs_builddir in | 
|---|
| 9464 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9465 | *) | 
|---|
| 9466 |   case ${ac_top_builddir}. in | 
|---|
| 9467 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 9468 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9469 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 9470 |   esac;; | 
|---|
| 9471 | esac | 
|---|
| 9472 | case $ac_abs_builddir in | 
|---|
| 9473 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9474 | *) | 
|---|
| 9475 |   case $ac_srcdir in | 
|---|
| 9476 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 9477 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9478 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 9479 |   esac;; | 
|---|
| 9480 | esac | 
|---|
| 9481 | case $ac_abs_builddir in | 
|---|
| 9482 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9483 | *) | 
|---|
| 9484 |   case $ac_top_srcdir in | 
|---|
| 9485 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 9486 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9487 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 9488 |   esac;; | 
|---|
| 9489 | esac | 
|---|
| 9490 |  | 
|---|
| 9491 |  | 
|---|
| 9492 |   case $INSTALL in | 
|---|
| 9493 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 9494 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
| 9495 |   esac | 
|---|
| 9496 |  | 
|---|
| 9497 |   if test x"$ac_file" != x-; then | 
|---|
| 9498 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 9499 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 9500 |     rm -f "$ac_file" | 
|---|
| 9501 |   fi | 
|---|
| 9502 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 9503 |   # use $as_me), people would be surprised to read: | 
|---|
| 9504 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 9505 |   if test x"$ac_file" = x-; then | 
|---|
| 9506 |     configure_input= | 
|---|
| 9507 |   else | 
|---|
| 9508 |     configure_input="$ac_file.  " | 
|---|
| 9509 |   fi | 
|---|
| 9510 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
| 9511 |                                      sed 's,.*/,,'` by configure." | 
|---|
| 9512 |  | 
|---|
| 9513 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 9514 |   # src tree. | 
|---|
| 9515 |   ac_file_inputs=`IFS=: | 
|---|
| 9516 |     for f in $ac_file_in; do | 
|---|
| 9517 |       case $f in | 
|---|
| 9518 |       -) echo $tmp/stdin ;; | 
|---|
| 9519 |       [\\/$]*) | 
|---|
| 9520 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 9521 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9522 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9523 |    { (exit 1); exit 1; }; } | 
|---|
| 9524 |          echo "$f";; | 
|---|
| 9525 |       *) # Relative | 
|---|
| 9526 |          if test -f "$f"; then | 
|---|
| 9527 |            # Build tree | 
|---|
| 9528 |            echo "$f" | 
|---|
| 9529 |          elif test -f "$srcdir/$f"; then | 
|---|
| 9530 |            # Source tree | 
|---|
| 9531 |            echo "$srcdir/$f" | 
|---|
| 9532 |          else | 
|---|
| 9533 |            # /dev/null tree | 
|---|
| 9534 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9535 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9536 |    { (exit 1); exit 1; }; } | 
|---|
| 9537 |          fi;; | 
|---|
| 9538 |       esac | 
|---|
| 9539 |     done` || { (exit 1); exit 1; } | 
|---|
| 9540 | _ACEOF | 
|---|
| 9541 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 9542 |   sed "$ac_vpsub | 
|---|
| 9543 | $extrasub | 
|---|
| 9544 | _ACEOF | 
|---|
| 9545 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9546 | :t | 
|---|
| 9547 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 9548 | s,@configure_input@,$configure_input,;t t | 
|---|
| 9549 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
| 9550 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
| 9551 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
| 9552 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
| 9553 | s,@builddir@,$ac_builddir,;t t | 
|---|
| 9554 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
| 9555 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
| 9556 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
| 9557 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
| 9558 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
| 9559 |   rm -f $tmp/stdin | 
|---|
| 9560 |   if test x"$ac_file" != x-; then | 
|---|
| 9561 |     mv $tmp/out $ac_file | 
|---|
| 9562 |   else | 
|---|
| 9563 |     cat $tmp/out | 
|---|
| 9564 |     rm -f $tmp/out | 
|---|
| 9565 |   fi | 
|---|
| 9566 |  | 
|---|
| 9567 | done | 
|---|
| 9568 | _ACEOF | 
|---|
| 9569 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9570 |  | 
|---|
| 9571 | # | 
|---|
| 9572 | # CONFIG_HEADER section. | 
|---|
| 9573 | # | 
|---|
| 9574 |  | 
|---|
| 9575 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
| 9576 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
| 9577 | # | 
|---|
| 9578 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
| 9579 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
| 9580 | ac_dB='[         ].*$,\1#\2' | 
|---|
| 9581 | ac_dC=' ' | 
|---|
| 9582 | ac_dD=',;t' | 
|---|
| 9583 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
| 9584 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
| 9585 | ac_uB='$,\1#\2define\3' | 
|---|
| 9586 | ac_uC=' ' | 
|---|
| 9587 | ac_uD=',;t' | 
|---|
| 9588 |  | 
|---|
| 9589 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
| 9590 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 9591 |   case $ac_file in | 
|---|
| 9592 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 9593 |         cat >$tmp/stdin | 
|---|
| 9594 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9595 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9596 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9597 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 9598 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 9599 |   esac | 
|---|
| 9600 |  | 
|---|
| 9601 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 9602 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 9603 |  | 
|---|
| 9604 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 9605 |   # src tree. | 
|---|
| 9606 |   ac_file_inputs=`IFS=: | 
|---|
| 9607 |     for f in $ac_file_in; do | 
|---|
| 9608 |       case $f in | 
|---|
| 9609 |       -) echo $tmp/stdin ;; | 
|---|
| 9610 |       [\\/$]*) | 
|---|
| 9611 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 9612 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9613 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9614 |    { (exit 1); exit 1; }; } | 
|---|
| 9615 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
| 9616 |          echo "$f";; | 
|---|
| 9617 |       *) # Relative | 
|---|
| 9618 |          if test -f "$f"; then | 
|---|
| 9619 |            # Build tree | 
|---|
| 9620 |            echo "$f" | 
|---|
| 9621 |          elif test -f "$srcdir/$f"; then | 
|---|
| 9622 |            # Source tree | 
|---|
| 9623 |            echo "$srcdir/$f" | 
|---|
| 9624 |          else | 
|---|
| 9625 |            # /dev/null tree | 
|---|
| 9626 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 9627 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 9628 |    { (exit 1); exit 1; }; } | 
|---|
| 9629 |          fi;; | 
|---|
| 9630 |       esac | 
|---|
| 9631 |     done` || { (exit 1); exit 1; } | 
|---|
| 9632 |   # Remove the trailing spaces. | 
|---|
| 9633 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
| 9634 |  | 
|---|
| 9635 | _ACEOF | 
|---|
| 9636 |  | 
|---|
| 9637 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
| 9638 | # `conftest.undefs', that substitutes the proper values into | 
|---|
| 9639 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
| 9640 | # templates, and the second `#undef' templates. | 
|---|
| 9641 | # And first: Protect against being on the right side of a sed subst in | 
|---|
| 9642 | # config.status.  Protect against being in an unquoted here document | 
|---|
| 9643 | # in config.status. | 
|---|
| 9644 | rm -f conftest.defines conftest.undefs | 
|---|
| 9645 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
| 9646 | # Putting comments in sed scripts is not portable. | 
|---|
| 9647 | # | 
|---|
| 9648 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
| 9649 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
| 9650 | # See the Autoconf documentation for `clear'. | 
|---|
| 9651 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
| 9652 | s/[\\&,]/\\&/g | 
|---|
| 9653 | s,[\\$`],\\&,g | 
|---|
| 9654 | t clear | 
|---|
| 9655 | : clear | 
|---|
| 9656 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
| 9657 | t end | 
|---|
| 9658 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
| 9659 | : end | 
|---|
| 9660 | _ACEOF | 
|---|
| 9661 | # If some macros were called several times there might be several times | 
|---|
| 9662 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
| 9663 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
| 9664 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
| 9665 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
| 9666 | rm -f confdef2sed.sed | 
|---|
| 9667 |  | 
|---|
| 9668 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
| 9669 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 9670 | # on some systems where configure will not decide to define it. | 
|---|
| 9671 | cat >>conftest.undefs <<\_ACEOF | 
|---|
| 9672 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
| 9673 | _ACEOF | 
|---|
| 9674 |  | 
|---|
| 9675 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
| 9676 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 9677 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
| 9678 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
| 9679 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
| 9680 | echo '  :' >>$CONFIG_STATUS | 
|---|
| 9681 | rm -f conftest.tail | 
|---|
| 9682 | while grep . conftest.defines >/dev/null | 
|---|
| 9683 | do | 
|---|
| 9684 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
| 9685 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 9686 |   # Speed up: don't consider the non `#define' lines. | 
|---|
| 9687 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
| 9688 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 9689 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 9690 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 9691 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
| 9692 |   echo 'CEOF | 
|---|
| 9693 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
| 9694 |   rm -f $tmp/in | 
|---|
| 9695 |   mv $tmp/out $tmp/in | 
|---|
| 9696 | ' >>$CONFIG_STATUS | 
|---|
| 9697 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
| 9698 |   rm -f conftest.defines | 
|---|
| 9699 |   mv conftest.tail conftest.defines | 
|---|
| 9700 | done | 
|---|
| 9701 | rm -f conftest.defines | 
|---|
| 9702 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
| 9703 | echo >>$CONFIG_STATUS | 
|---|
| 9704 |  | 
|---|
| 9705 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
| 9706 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 9707 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
| 9708 | rm -f conftest.tail | 
|---|
| 9709 | while grep . conftest.undefs >/dev/null | 
|---|
| 9710 | do | 
|---|
| 9711 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
| 9712 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 9713 |   # Speed up: don't consider the non `#undef' | 
|---|
| 9714 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
| 9715 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 9716 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 9717 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 9718 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
| 9719 |   echo 'CEOF | 
|---|
| 9720 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
| 9721 |   rm -f $tmp/in | 
|---|
| 9722 |   mv $tmp/out $tmp/in | 
|---|
| 9723 | ' >>$CONFIG_STATUS | 
|---|
| 9724 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
| 9725 |   rm -f conftest.undefs | 
|---|
| 9726 |   mv conftest.tail conftest.undefs | 
|---|
| 9727 | done | 
|---|
| 9728 | rm -f conftest.undefs | 
|---|
| 9729 |  | 
|---|
| 9730 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9731 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 9732 |   # use $as_me), people would be surprised to read: | 
|---|
| 9733 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 9734 |   if test x"$ac_file" = x-; then | 
|---|
| 9735 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
| 9736 |   else | 
|---|
| 9737 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
| 9738 |   fi | 
|---|
| 9739 |   cat $tmp/in >>$tmp/config.h | 
|---|
| 9740 |   rm -f $tmp/in | 
|---|
| 9741 |   if test x"$ac_file" != x-; then | 
|---|
| 9742 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
| 9743 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
| 9744 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 9745 |     else | 
|---|
| 9746 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 9747 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9748 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 9749 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 9750 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 9751 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9752 | echo X"$ac_file" | | 
|---|
| 9753 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9754 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9755 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9756 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9757 |           s/.*/./; q'` | 
|---|
| 9758 |       { if $as_mkdir_p; then | 
|---|
| 9759 |     mkdir -p "$ac_dir" | 
|---|
| 9760 |   else | 
|---|
| 9761 |     as_dir="$ac_dir" | 
|---|
| 9762 |     as_dirs= | 
|---|
| 9763 |     while test ! -d "$as_dir"; do | 
|---|
| 9764 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 9765 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 9766 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9767 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 9768 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 9769 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 9770 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9771 | echo X"$as_dir" | | 
|---|
| 9772 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9773 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9774 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9775 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9776 |           s/.*/./; q'` | 
|---|
| 9777 |     done | 
|---|
| 9778 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 9779 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 9780 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 9781 |    { (exit 1); exit 1; }; }; } | 
|---|
| 9782 |  | 
|---|
| 9783 |       rm -f $ac_file | 
|---|
| 9784 |       mv $tmp/config.h $ac_file | 
|---|
| 9785 |     fi | 
|---|
| 9786 |   else | 
|---|
| 9787 |     cat $tmp/config.h | 
|---|
| 9788 |     rm -f $tmp/config.h | 
|---|
| 9789 |   fi | 
|---|
| 9790 | # Compute $ac_file's index in $config_headers. | 
|---|
| 9791 | _am_stamp_count=1 | 
|---|
| 9792 | for _am_header in $config_headers :; do | 
|---|
| 9793 |   case $_am_header in | 
|---|
| 9794 |     $ac_file | $ac_file:* ) | 
|---|
| 9795 |       break ;; | 
|---|
| 9796 |     * ) | 
|---|
| 9797 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 9798 |   esac | 
|---|
| 9799 | done | 
|---|
| 9800 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
| 9801 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9802 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
| 9803 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
| 9804 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
| 9805 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9806 | echo X$ac_file | | 
|---|
| 9807 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9808 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9809 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9810 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9811 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 9812 | done | 
|---|
| 9813 | _ACEOF | 
|---|
| 9814 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 9815 |  | 
|---|
| 9816 | # | 
|---|
| 9817 | # CONFIG_COMMANDS section. | 
|---|
| 9818 | # | 
|---|
| 9819 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
| 9820 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
| 9821 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 9822 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
| 9823 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9824 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
| 9825 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
| 9826 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
| 9827 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9828 | echo X"$ac_dest" | | 
|---|
| 9829 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9830 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9831 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9832 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9833 |           s/.*/./; q'` | 
|---|
| 9834 |   { if $as_mkdir_p; then | 
|---|
| 9835 |     mkdir -p "$ac_dir" | 
|---|
| 9836 |   else | 
|---|
| 9837 |     as_dir="$ac_dir" | 
|---|
| 9838 |     as_dirs= | 
|---|
| 9839 |     while test ! -d "$as_dir"; do | 
|---|
| 9840 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 9841 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 9842 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9843 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 9844 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 9845 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 9846 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9847 | echo X"$as_dir" | | 
|---|
| 9848 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9849 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9850 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9851 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9852 |           s/.*/./; q'` | 
|---|
| 9853 |     done | 
|---|
| 9854 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 9855 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 9856 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 9857 |    { (exit 1); exit 1; }; }; } | 
|---|
| 9858 |  | 
|---|
| 9859 |   ac_builddir=. | 
|---|
| 9860 |  | 
|---|
| 9861 | if test "$ac_dir" != .; then | 
|---|
| 9862 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 9863 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 9864 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 9865 | else | 
|---|
| 9866 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 9867 | fi | 
|---|
| 9868 |  | 
|---|
| 9869 | case $srcdir in | 
|---|
| 9870 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 9871 |     ac_srcdir=. | 
|---|
| 9872 |     if test -z "$ac_top_builddir"; then | 
|---|
| 9873 |        ac_top_srcdir=. | 
|---|
| 9874 |     else | 
|---|
| 9875 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 9876 |     fi ;; | 
|---|
| 9877 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 9878 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 9879 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 9880 |   *) # Relative path. | 
|---|
| 9881 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 9882 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 9883 | esac | 
|---|
| 9884 |  | 
|---|
| 9885 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 9886 | # the directories may not exist. | 
|---|
| 9887 | case `pwd` in | 
|---|
| 9888 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 9889 | *) | 
|---|
| 9890 |   case "$ac_dir" in | 
|---|
| 9891 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 9892 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 9893 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 9894 |   esac;; | 
|---|
| 9895 | esac | 
|---|
| 9896 | case $ac_abs_builddir in | 
|---|
| 9897 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9898 | *) | 
|---|
| 9899 |   case ${ac_top_builddir}. in | 
|---|
| 9900 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 9901 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 9902 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 9903 |   esac;; | 
|---|
| 9904 | esac | 
|---|
| 9905 | case $ac_abs_builddir in | 
|---|
| 9906 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9907 | *) | 
|---|
| 9908 |   case $ac_srcdir in | 
|---|
| 9909 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 9910 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 9911 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 9912 |   esac;; | 
|---|
| 9913 | esac | 
|---|
| 9914 | case $ac_abs_builddir in | 
|---|
| 9915 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9916 | *) | 
|---|
| 9917 |   case $ac_top_srcdir in | 
|---|
| 9918 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 9919 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 9920 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 9921 |   esac;; | 
|---|
| 9922 | esac | 
|---|
| 9923 |  | 
|---|
| 9924 |  | 
|---|
| 9925 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
| 9926 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
| 9927 |   case $ac_dest in | 
|---|
| 9928 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
| 9929 |   # Strip MF so we end up with the name of the file. | 
|---|
| 9930 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 9931 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
| 9932 |   # We used to match only the files named `Makefile.in', but | 
|---|
| 9933 |   # some people rename them; so instead we look at the file content. | 
|---|
| 9934 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
| 9935 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 9936 |   # So let's grep whole file. | 
|---|
| 9937 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
| 9938 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
| 9939 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9940 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 9941 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 9942 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
| 9943 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9944 | echo X"$mf" | | 
|---|
| 9945 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9946 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9947 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9948 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9949 |           s/.*/./; q'` | 
|---|
| 9950 |   else | 
|---|
| 9951 |     continue | 
|---|
| 9952 |   fi | 
|---|
| 9953 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
| 9954 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
| 9955 |   # running `make'. | 
|---|
| 9956 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| 9957 |   test -z "$DEPDIR" && continue | 
|---|
| 9958 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| 9959 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| 9960 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
| 9961 |   # We invoke sed twice because it is the simplest approach to | 
|---|
| 9962 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| 9963 |   for file in `sed -n ' | 
|---|
| 9964 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
| 9965 |       s/^DEP_FILES = // | 
|---|
| 9966 |       :loop | 
|---|
| 9967 |         s/\\\\$// | 
|---|
| 9968 |         p | 
|---|
| 9969 |         n | 
|---|
| 9970 |         /\\\\$/ b loop | 
|---|
| 9971 |       p | 
|---|
| 9972 |     } | 
|---|
| 9973 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
| 9974 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
| 9975 |     # Make sure the directory exists. | 
|---|
| 9976 |     test -f "$dirpart/$file" && continue | 
|---|
| 9977 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
| 9978 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9979 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 9980 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
| 9981 |          X"$file" : 'X\(/\)' \| \ | 
|---|
| 9982 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 9983 | echo X"$file" | | 
|---|
| 9984 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 9985 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 9986 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 9987 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 9988 |           s/.*/./; q'` | 
|---|
| 9989 |     { if $as_mkdir_p; then | 
|---|
| 9990 |     mkdir -p $dirpart/$fdir | 
|---|
| 9991 |   else | 
|---|
| 9992 |     as_dir=$dirpart/$fdir | 
|---|
| 9993 |     as_dirs= | 
|---|
| 9994 |     while test ! -d "$as_dir"; do | 
|---|
| 9995 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 9996 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 9997 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 9998 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 9999 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 10000 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 10001 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 10002 | echo X"$as_dir" | | 
|---|
| 10003 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 10004 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 10005 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 10006 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 10007 |           s/.*/./; q'` | 
|---|
| 10008 |     done | 
|---|
| 10009 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 10010 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
| 10011 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
| 10012 |    { (exit 1); exit 1; }; }; } | 
|---|
| 10013 |  | 
|---|
| 10014 |     # echo "creating $dirpart/$file" | 
|---|
| 10015 |     echo '# dummy' > "$dirpart/$file" | 
|---|
| 10016 |   done | 
|---|
| 10017 | done | 
|---|
| 10018 |  ;; | 
|---|
| 10019 |   esac | 
|---|
| 10020 | done | 
|---|
| 10021 | _ACEOF | 
|---|
| 10022 |  | 
|---|
| 10023 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 10024 |  | 
|---|
| 10025 | { (exit 0); exit 0; } | 
|---|
| 10026 | _ACEOF | 
|---|
| 10027 | chmod +x $CONFIG_STATUS | 
|---|
| 10028 | ac_clean_files=$ac_clean_files_save | 
|---|
| 10029 |  | 
|---|
| 10030 |  | 
|---|
| 10031 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 10032 | # config.status does its own redirection, appending to config.log. | 
|---|
| 10033 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 10034 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 10035 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 10036 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 10037 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 10038 | # need to make the FD available again. | 
|---|
| 10039 | if test "$no_create" != yes; then | 
|---|
| 10040 |   ac_cs_success=: | 
|---|
| 10041 |   ac_config_status_args= | 
|---|
| 10042 |   test "$silent" = yes && | 
|---|
| 10043 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 10044 |   exec 5>/dev/null | 
|---|
| 10045 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 10046 |   exec 5>>config.log | 
|---|
| 10047 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 10048 |   # would make configure fail if this is the last instruction. | 
|---|
| 10049 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
| 10050 | fi | 
|---|
| 10051 |  | 
|---|