| [1956] | 1 | #! /bin/sh | 
|---|
 | 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| [3243] | 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.2.1-pre-alpha. | 
|---|
| [1956] | 4 | # | 
|---|
| [3240] | 5 | # Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| [1956] | 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 | ## --------------------- ## | 
|---|
| [1853] | 13 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 25 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 32 |  | 
|---|
 | 33 |  | 
|---|
| [1956] | 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
 | 35 | $as_unset ENV MAIL MAILPATH | 
|---|
 | 36 | PS1='$ ' | 
|---|
 | 37 | PS2='> ' | 
|---|
 | 38 | PS4='+ ' | 
|---|
| [1853] | 39 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 52 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 59 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 65 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 198 | else | 
|---|
| [1956] | 199 |   as_expr=false | 
|---|
| [1853] | 200 | fi | 
|---|
 | 201 |  | 
|---|
| [1956] | 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' | 
|---|
| [1853] | 217 | fi | 
|---|
| [1956] | 218 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| [1853] | 219 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 226 |  | 
|---|
| [1956] | 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' | 
|---|
| [3243] | 272 | PACKAGE_VERSION='0.2.1-pre-alpha' | 
|---|
 | 273 | PACKAGE_STRING='orxonox 0.2.1-pre-alpha' | 
|---|
| [3240] | 274 | PACKAGE_BUGREPORT='orxonox-dev at mail.datacore.ch' | 
|---|
| [1956] | 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 |  | 
|---|
| [3271] | 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 DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE 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' | 
|---|
| [1956] | 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; }; } | 
|---|
| [1853] | 658 | fi | 
|---|
 | 659 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 670 |  | 
|---|
| [1956] | 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 | 
|---|
| [1853] | 699 | fi | 
|---|
 | 700 |  | 
|---|
| [1956] | 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 | 
|---|
| [3243] | 791 | \`configure' configures orxonox 0.2.1-pre-alpha to adapt to many kinds of systems. | 
|---|
| [1956] | 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 | 
|---|
| [2980] | 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] | 
|---|
| [1956] | 853 | _ACEOF | 
|---|
 | 854 | fi | 
|---|
 | 855 |  | 
|---|
 | 856 | if test -n "$ac_init_help"; then | 
|---|
 | 857 |   case $ac_init_help in | 
|---|
| [3243] | 858 |      short | recursive ) echo "Configuration of orxonox 0.2.1-pre-alpha:";; | 
|---|
| [1956] | 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] | 
|---|
| [2706] | 865 |   --disable-dependency-tracking  speeds up one-time build | 
|---|
 | 866 |   --enable-dependency-tracking   do not reject slow dependency extractors | 
|---|
| [3205] | 867 |   --enable-debug          compiles in debug mode. Lots of debug info about the | 
|---|
 | 868 |                           game. | 
|---|
| [1956] | 869 |  | 
|---|
| [3173] | 870 | Optional Packages: | 
|---|
 | 871 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
 | 872 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| [3181] | 873 |   --without-gtk           Prevents GTK from being loaded | 
|---|
| [3271] | 874 |   --without-gthread       Prevents gThread from being loaded | 
|---|
| [3283] | 875 |   --without-pthread       Prevents pthread from being loaded | 
|---|
| [3243] | 876 |   --without-curl          Prevents libcURL from being loaded | 
|---|
| [3181] | 877 |   --without-sdl-image     Prevents SDL_image from being loaded | 
|---|
| [3173] | 878 |  | 
|---|
| [1956] | 879 | Some influential environment variables: | 
|---|
 | 880 |   CXX         C++ compiler command | 
|---|
 | 881 |   CXXFLAGS    C++ compiler flags | 
|---|
 | 882 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
 | 883 |               nonstandard directory <lib dir> | 
|---|
 | 884 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
 | 885 |               headers in a nonstandard directory <include dir> | 
|---|
 | 886 |   CC          C compiler command | 
|---|
 | 887 |   CFLAGS      C compiler flags | 
|---|
 | 888 |   CPP         C preprocessor | 
|---|
 | 889 |  | 
|---|
 | 890 | Use these variables to override the choices made by `configure' or to help | 
|---|
 | 891 | it to find libraries and programs with nonstandard names/locations. | 
|---|
 | 892 |  | 
|---|
| [3240] | 893 | Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| [1956] | 894 | _ACEOF | 
|---|
 | 895 | fi | 
|---|
 | 896 |  | 
|---|
 | 897 | if test "$ac_init_help" = "recursive"; then | 
|---|
 | 898 |   # If there are subdirs, report their specific --help. | 
|---|
 | 899 |   ac_popdir=`pwd` | 
|---|
 | 900 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
 | 901 |     test -d $ac_dir || continue | 
|---|
 | 902 |     ac_builddir=. | 
|---|
 | 903 |  | 
|---|
 | 904 | if test "$ac_dir" != .; then | 
|---|
 | 905 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 906 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 907 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 908 | else | 
|---|
 | 909 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 910 | fi | 
|---|
 | 911 |  | 
|---|
 | 912 | case $srcdir in | 
|---|
 | 913 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 914 |     ac_srcdir=. | 
|---|
 | 915 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 916 |        ac_top_srcdir=. | 
|---|
 | 917 |     else | 
|---|
 | 918 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 919 |     fi ;; | 
|---|
 | 920 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 921 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 922 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 923 |   *) # Relative path. | 
|---|
 | 924 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 925 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 926 | esac | 
|---|
 | 927 |  | 
|---|
 | 928 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 929 | # the directories may not exist. | 
|---|
 | 930 | case `pwd` in | 
|---|
 | 931 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 932 | *) | 
|---|
 | 933 |   case "$ac_dir" in | 
|---|
 | 934 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 935 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 936 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 937 |   esac;; | 
|---|
 | 938 | esac | 
|---|
 | 939 | case $ac_abs_builddir in | 
|---|
 | 940 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 941 | *) | 
|---|
 | 942 |   case ${ac_top_builddir}. in | 
|---|
 | 943 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 944 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 945 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 946 |   esac;; | 
|---|
 | 947 | esac | 
|---|
 | 948 | case $ac_abs_builddir in | 
|---|
 | 949 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 950 | *) | 
|---|
 | 951 |   case $ac_srcdir in | 
|---|
 | 952 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 953 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 954 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 955 |   esac;; | 
|---|
 | 956 | esac | 
|---|
 | 957 | case $ac_abs_builddir in | 
|---|
 | 958 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 959 | *) | 
|---|
 | 960 |   case $ac_top_srcdir in | 
|---|
 | 961 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 962 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 963 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 964 |   esac;; | 
|---|
 | 965 | esac | 
|---|
 | 966 |  | 
|---|
 | 967 |     cd $ac_dir | 
|---|
 | 968 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
 | 969 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
 | 970 |       echo | 
|---|
 | 971 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
 | 972 |     elif test -f $ac_srcdir/configure; then | 
|---|
 | 973 |       echo | 
|---|
 | 974 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
 | 975 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
 | 976 |            test -f $ac_srcdir/configure.in; then | 
|---|
 | 977 |       echo | 
|---|
 | 978 |       $ac_configure --help | 
|---|
 | 979 |     else | 
|---|
 | 980 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
 | 981 |     fi | 
|---|
 | 982 |     cd $ac_popdir | 
|---|
 | 983 |   done | 
|---|
 | 984 | fi | 
|---|
 | 985 |  | 
|---|
 | 986 | test -n "$ac_init_help" && exit 0 | 
|---|
 | 987 | if $ac_init_version; then | 
|---|
 | 988 |   cat <<\_ACEOF | 
|---|
| [3243] | 989 | orxonox configure 0.2.1-pre-alpha | 
|---|
| [1956] | 990 | generated by GNU Autoconf 2.59 | 
|---|
 | 991 |  | 
|---|
 | 992 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 993 | This configure script is free software; the Free Software Foundation | 
|---|
 | 994 | gives unlimited permission to copy, distribute and modify it. | 
|---|
 | 995 | _ACEOF | 
|---|
 | 996 |   exit 0 | 
|---|
 | 997 | fi | 
|---|
 | 998 | exec 5>config.log | 
|---|
 | 999 | cat >&5 <<_ACEOF | 
|---|
 | 1000 | This file contains any messages produced by compilers while | 
|---|
 | 1001 | running configure, to aid debugging if configure makes a mistake. | 
|---|
 | 1002 |  | 
|---|
| [3243] | 1003 | It was created by orxonox $as_me 0.2.1-pre-alpha, which was | 
|---|
| [1956] | 1004 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 1005 |  | 
|---|
 | 1006 |   $ $0 $@ | 
|---|
 | 1007 |  | 
|---|
 | 1008 | _ACEOF | 
|---|
 | 1009 | { | 
|---|
 | 1010 | cat <<_ASUNAME | 
|---|
 | 1011 | ## --------- ## | 
|---|
 | 1012 | ## Platform. ## | 
|---|
 | 1013 | ## --------- ## | 
|---|
 | 1014 |  | 
|---|
 | 1015 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
 | 1016 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
 | 1017 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
 | 1018 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
 | 1019 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
 | 1020 |  | 
|---|
 | 1021 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
 | 1022 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
 | 1023 |  | 
|---|
 | 1024 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
 | 1025 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
 | 1026 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
 | 1027 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
 | 1028 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
 | 1029 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
 | 1030 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
 | 1031 |  | 
|---|
 | 1032 | _ASUNAME | 
|---|
 | 1033 |  | 
|---|
 | 1034 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1035 | for as_dir in $PATH | 
|---|
 | 1036 | do | 
|---|
 | 1037 |   IFS=$as_save_IFS | 
|---|
 | 1038 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1039 |   echo "PATH: $as_dir" | 
|---|
 | 1040 | done | 
|---|
 | 1041 |  | 
|---|
 | 1042 | } >&5 | 
|---|
 | 1043 |  | 
|---|
 | 1044 | cat >&5 <<_ACEOF | 
|---|
 | 1045 |  | 
|---|
 | 1046 |  | 
|---|
 | 1047 | ## ----------- ## | 
|---|
 | 1048 | ## Core tests. ## | 
|---|
 | 1049 | ## ----------- ## | 
|---|
 | 1050 |  | 
|---|
 | 1051 | _ACEOF | 
|---|
 | 1052 |  | 
|---|
 | 1053 |  | 
|---|
 | 1054 | # Keep a trace of the command line. | 
|---|
 | 1055 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
 | 1056 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
 | 1057 | # Also quote any args containing shell meta-characters. | 
|---|
 | 1058 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
 | 1059 | ac_configure_args= | 
|---|
 | 1060 | ac_configure_args0= | 
|---|
 | 1061 | ac_configure_args1= | 
|---|
 | 1062 | ac_sep= | 
|---|
 | 1063 | ac_must_keep_next=false | 
|---|
 | 1064 | for ac_pass in 1 2 | 
|---|
 | 1065 | do | 
|---|
 | 1066 |   for ac_arg | 
|---|
 | 1067 |   do | 
|---|
 | 1068 |     case $ac_arg in | 
|---|
 | 1069 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
 | 1070 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 1071 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
 | 1072 |       continue ;; | 
|---|
 | 1073 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1074 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1075 |     esac | 
|---|
 | 1076 |     case $ac_pass in | 
|---|
 | 1077 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
 | 1078 |     2) | 
|---|
 | 1079 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
 | 1080 |       if test $ac_must_keep_next = true; then | 
|---|
 | 1081 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
 | 1082 |       else | 
|---|
 | 1083 |         case $ac_arg in | 
|---|
 | 1084 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
 | 1085 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
 | 1086 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
 | 1087 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
 | 1088 |             case "$ac_configure_args0 " in | 
|---|
 | 1089 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
 | 1090 |             esac | 
|---|
 | 1091 |             ;; | 
|---|
 | 1092 |           -* ) ac_must_keep_next=true ;; | 
|---|
 | 1093 |         esac | 
|---|
 | 1094 |       fi | 
|---|
 | 1095 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
 | 1096 |       # Get rid of the leading space. | 
|---|
 | 1097 |       ac_sep=" " | 
|---|
 | 1098 |       ;; | 
|---|
 | 1099 |     esac | 
|---|
 | 1100 |   done | 
|---|
 | 1101 | done | 
|---|
 | 1102 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
 | 1103 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
 | 1104 |  | 
|---|
 | 1105 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
 | 1106 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
 | 1107 | # would cause problems or look ugly. | 
|---|
 | 1108 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
 | 1109 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
 | 1110 | trap 'exit_status=$? | 
|---|
 | 1111 |   # Save into config.log some information that might help in debugging. | 
|---|
 | 1112 |   { | 
|---|
 | 1113 |     echo | 
|---|
 | 1114 |  | 
|---|
 | 1115 |     cat <<\_ASBOX | 
|---|
 | 1116 | ## ---------------- ## | 
|---|
 | 1117 | ## Cache variables. ## | 
|---|
 | 1118 | ## ---------------- ## | 
|---|
 | 1119 | _ASBOX | 
|---|
 | 1120 |     echo | 
|---|
 | 1121 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 1122 | { | 
|---|
 | 1123 |   (set) 2>&1 | | 
|---|
 | 1124 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
 | 1125 |     *ac_space=\ *) | 
|---|
 | 1126 |       sed -n \ | 
|---|
 | 1127 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
 | 1128 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
 | 1129 |       ;; | 
|---|
 | 1130 |     *) | 
|---|
 | 1131 |       sed -n \ | 
|---|
 | 1132 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 1133 |       ;; | 
|---|
 | 1134 |     esac; | 
|---|
 | 1135 | } | 
|---|
 | 1136 |     echo | 
|---|
 | 1137 |  | 
|---|
 | 1138 |     cat <<\_ASBOX | 
|---|
 | 1139 | ## ----------------- ## | 
|---|
 | 1140 | ## Output variables. ## | 
|---|
 | 1141 | ## ----------------- ## | 
|---|
 | 1142 | _ASBOX | 
|---|
 | 1143 |     echo | 
|---|
 | 1144 |     for ac_var in $ac_subst_vars | 
|---|
 | 1145 |     do | 
|---|
 | 1146 |       eval ac_val=$`echo $ac_var` | 
|---|
 | 1147 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1148 |     done | sort | 
|---|
 | 1149 |     echo | 
|---|
 | 1150 |  | 
|---|
 | 1151 |     if test -n "$ac_subst_files"; then | 
|---|
 | 1152 |       cat <<\_ASBOX | 
|---|
 | 1153 | ## ------------- ## | 
|---|
 | 1154 | ## Output files. ## | 
|---|
 | 1155 | ## ------------- ## | 
|---|
 | 1156 | _ASBOX | 
|---|
 | 1157 |       echo | 
|---|
 | 1158 |       for ac_var in $ac_subst_files | 
|---|
 | 1159 |       do | 
|---|
 | 1160 |         eval ac_val=$`echo $ac_var` | 
|---|
 | 1161 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1162 |       done | sort | 
|---|
 | 1163 |       echo | 
|---|
 | 1164 |     fi | 
|---|
 | 1165 |  | 
|---|
 | 1166 |     if test -s confdefs.h; then | 
|---|
 | 1167 |       cat <<\_ASBOX | 
|---|
 | 1168 | ## ----------- ## | 
|---|
 | 1169 | ## confdefs.h. ## | 
|---|
 | 1170 | ## ----------- ## | 
|---|
 | 1171 | _ASBOX | 
|---|
 | 1172 |       echo | 
|---|
 | 1173 |       sed "/^$/d" confdefs.h | sort | 
|---|
 | 1174 |       echo | 
|---|
 | 1175 |     fi | 
|---|
 | 1176 |     test "$ac_signal" != 0 && | 
|---|
 | 1177 |       echo "$as_me: caught signal $ac_signal" | 
|---|
 | 1178 |     echo "$as_me: exit $exit_status" | 
|---|
 | 1179 |   } >&5 | 
|---|
 | 1180 |   rm -f core *.core && | 
|---|
 | 1181 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
 | 1182 |     exit $exit_status | 
|---|
 | 1183 |      ' 0 | 
|---|
 | 1184 | for ac_signal in 1 2 13 15; do | 
|---|
 | 1185 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
 | 1186 | done | 
|---|
 | 1187 | ac_signal=0 | 
|---|
 | 1188 |  | 
|---|
 | 1189 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
 | 1190 | rm -rf conftest* confdefs.h | 
|---|
 | 1191 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
 | 1192 | echo >confdefs.h | 
|---|
 | 1193 |  | 
|---|
 | 1194 | # Predefined preprocessor variables. | 
|---|
 | 1195 |  | 
|---|
 | 1196 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1197 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
 | 1198 | _ACEOF | 
|---|
 | 1199 |  | 
|---|
 | 1200 |  | 
|---|
 | 1201 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1202 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
 | 1203 | _ACEOF | 
|---|
 | 1204 |  | 
|---|
 | 1205 |  | 
|---|
 | 1206 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1207 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
 | 1208 | _ACEOF | 
|---|
 | 1209 |  | 
|---|
 | 1210 |  | 
|---|
 | 1211 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1212 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
 | 1213 | _ACEOF | 
|---|
 | 1214 |  | 
|---|
 | 1215 |  | 
|---|
 | 1216 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1217 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
 | 1218 | _ACEOF | 
|---|
 | 1219 |  | 
|---|
 | 1220 |  | 
|---|
 | 1221 | # Let the site file select an alternate cache file if it wants to. | 
|---|
 | 1222 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
 | 1223 | if test -z "$CONFIG_SITE"; then | 
|---|
 | 1224 |   if test "x$prefix" != xNONE; then | 
|---|
 | 1225 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
 | 1226 |   else | 
|---|
 | 1227 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
 | 1228 |   fi | 
|---|
 | 1229 | fi | 
|---|
 | 1230 | for ac_site_file in $CONFIG_SITE; do | 
|---|
 | 1231 |   if test -r "$ac_site_file"; then | 
|---|
 | 1232 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
 | 1233 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
 | 1234 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
 | 1235 |     . "$ac_site_file" | 
|---|
 | 1236 |   fi | 
|---|
 | 1237 | done | 
|---|
 | 1238 |  | 
|---|
 | 1239 | if test -r "$cache_file"; then | 
|---|
 | 1240 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
 | 1241 |   # files actually), so we avoid doing that. | 
|---|
 | 1242 |   if test -f "$cache_file"; then | 
|---|
 | 1243 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
 | 1244 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
 | 1245 |     case $cache_file in | 
|---|
 | 1246 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
 | 1247 |       *)                      . ./$cache_file;; | 
|---|
 | 1248 |     esac | 
|---|
 | 1249 |   fi | 
|---|
 | 1250 | else | 
|---|
 | 1251 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
 | 1252 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
 | 1253 |   >$cache_file | 
|---|
 | 1254 | fi | 
|---|
 | 1255 |  | 
|---|
 | 1256 | # Check that the precious variables saved in the cache have kept the same | 
|---|
 | 1257 | # value. | 
|---|
 | 1258 | ac_cache_corrupted=false | 
|---|
 | 1259 | for ac_var in `(set) 2>&1 | | 
|---|
 | 1260 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
 | 1261 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
 | 1262 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
 | 1263 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
 | 1264 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
 | 1265 |   case $ac_old_set,$ac_new_set in | 
|---|
 | 1266 |     set,) | 
|---|
 | 1267 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
 | 1268 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
 | 1269 |       ac_cache_corrupted=: ;; | 
|---|
 | 1270 |     ,set) | 
|---|
 | 1271 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
 | 1272 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
 | 1273 |       ac_cache_corrupted=: ;; | 
|---|
 | 1274 |     ,);; | 
|---|
 | 1275 |     *) | 
|---|
 | 1276 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
 | 1277 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
 | 1278 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
 | 1279 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
 | 1280 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
 | 1281 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
 | 1282 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
 | 1283 |         ac_cache_corrupted=: | 
|---|
 | 1284 |       fi;; | 
|---|
 | 1285 |   esac | 
|---|
 | 1286 |   # Pass precious variables to config.status. | 
|---|
 | 1287 |   if test "$ac_new_set" = set; then | 
|---|
 | 1288 |     case $ac_new_val in | 
|---|
 | 1289 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1290 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1291 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
 | 1292 |     esac | 
|---|
 | 1293 |     case " $ac_configure_args " in | 
|---|
 | 1294 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
 | 1295 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
 | 1296 |     esac | 
|---|
 | 1297 |   fi | 
|---|
 | 1298 | done | 
|---|
 | 1299 | if $ac_cache_corrupted; then | 
|---|
 | 1300 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
 | 1301 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
 | 1302 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
 | 1303 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
 | 1304 |    { (exit 1); exit 1; }; } | 
|---|
 | 1305 | fi | 
|---|
 | 1306 |  | 
|---|
 | 1307 | ac_ext=c | 
|---|
 | 1308 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 1309 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1310 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1311 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 1312 |  | 
|---|
 | 1313 |  | 
|---|
 | 1314 |  | 
|---|
 | 1315 |  | 
|---|
 | 1316 |  | 
|---|
 | 1317 |  | 
|---|
 | 1318 |  | 
|---|
 | 1319 |  | 
|---|
 | 1320 |  | 
|---|
 | 1321 |  | 
|---|
 | 1322 |  | 
|---|
 | 1323 |  | 
|---|
 | 1324 |  | 
|---|
 | 1325 |  | 
|---|
 | 1326 |  | 
|---|
 | 1327 |  | 
|---|
 | 1328 |  | 
|---|
 | 1329 |  | 
|---|
 | 1330 |  | 
|---|
 | 1331 |  | 
|---|
 | 1332 |  | 
|---|
 | 1333 |  | 
|---|
 | 1334 |  | 
|---|
 | 1335 |  | 
|---|
 | 1336 |  | 
|---|
 | 1337 |  | 
|---|
 | 1338 |  | 
|---|
| [2980] | 1339 |  | 
|---|
 | 1340 | # Detect the canonical host and target build environment. | 
|---|
| [1956] | 1341 | ac_aux_dir= | 
|---|
 | 1342 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
 | 1343 |   if test -f $ac_dir/install-sh; then | 
|---|
 | 1344 |     ac_aux_dir=$ac_dir | 
|---|
 | 1345 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
 | 1346 |     break | 
|---|
 | 1347 |   elif test -f $ac_dir/install.sh; then | 
|---|
 | 1348 |     ac_aux_dir=$ac_dir | 
|---|
 | 1349 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
 | 1350 |     break | 
|---|
 | 1351 |   elif test -f $ac_dir/shtool; then | 
|---|
 | 1352 |     ac_aux_dir=$ac_dir | 
|---|
 | 1353 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
 | 1354 |     break | 
|---|
 | 1355 |   fi | 
|---|
 | 1356 | done | 
|---|
 | 1357 | if test -z "$ac_aux_dir"; then | 
|---|
 | 1358 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
 | 1359 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
 | 1360 |    { (exit 1); exit 1; }; } | 
|---|
 | 1361 | fi | 
|---|
 | 1362 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
 | 1363 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
 | 1364 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
 | 1365 |  | 
|---|
| [2980] | 1366 | # Make sure we can run config.sub. | 
|---|
 | 1367 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
 | 1368 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
 | 1369 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
 | 1370 |    { (exit 1); exit 1; }; } | 
|---|
 | 1371 |  | 
|---|
 | 1372 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
 | 1373 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
 | 1374 | if test "${ac_cv_build+set}" = set; then | 
|---|
 | 1375 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1376 | else | 
|---|
 | 1377 |   ac_cv_build_alias=$build_alias | 
|---|
 | 1378 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1379 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
 | 1380 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1381 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
 | 1382 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
 | 1383 |    { (exit 1); exit 1; }; } | 
|---|
 | 1384 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
 | 1385 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
 | 1386 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
 | 1387 |    { (exit 1); exit 1; }; } | 
|---|
 | 1388 |  | 
|---|
 | 1389 | fi | 
|---|
 | 1390 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
 | 1391 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
 | 1392 | build=$ac_cv_build | 
|---|
 | 1393 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1394 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1395 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1396 |  | 
|---|
 | 1397 |  | 
|---|
 | 1398 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
 | 1399 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
 | 1400 | if test "${ac_cv_host+set}" = set; then | 
|---|
 | 1401 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1402 | else | 
|---|
 | 1403 |   ac_cv_host_alias=$host_alias | 
|---|
 | 1404 | test -z "$ac_cv_host_alias" && | 
|---|
 | 1405 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
 | 1406 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
 | 1407 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
 | 1408 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
 | 1409 |    { (exit 1); exit 1; }; } | 
|---|
 | 1410 |  | 
|---|
 | 1411 | fi | 
|---|
 | 1412 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
 | 1413 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
 | 1414 | host=$ac_cv_host | 
|---|
 | 1415 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1416 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1417 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1418 |  | 
|---|
 | 1419 |  | 
|---|
 | 1420 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
 | 1421 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
 | 1422 | if test "${ac_cv_target+set}" = set; then | 
|---|
 | 1423 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1424 | else | 
|---|
 | 1425 |   ac_cv_target_alias=$target_alias | 
|---|
 | 1426 | test "x$ac_cv_target_alias" = "x" && | 
|---|
 | 1427 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
 | 1428 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
 | 1429 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
 | 1430 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
 | 1431 |    { (exit 1); exit 1; }; } | 
|---|
 | 1432 |  | 
|---|
 | 1433 | fi | 
|---|
 | 1434 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
 | 1435 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
 | 1436 | target=$ac_cv_target | 
|---|
 | 1437 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1438 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1439 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1440 |  | 
|---|
 | 1441 |  | 
|---|
 | 1442 | # The aliases save the names the user supplied, while $host etc. | 
|---|
 | 1443 | # will get canonicalized. | 
|---|
 | 1444 | test -n "$target_alias" && | 
|---|
 | 1445 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
 | 1446 |     NONENONEs,x,x, && | 
|---|
 | 1447 |   program_prefix=${target_alias}- | 
|---|
 | 1448 |  | 
|---|
 | 1449 |  | 
|---|
 | 1450 | am__api_version="1.8" | 
|---|
| [1956] | 1451 | # Find a good install program.  We prefer a C program (faster), | 
|---|
 | 1452 | # so one script is as good as another.  But avoid the broken or | 
|---|
 | 1453 | # incompatible versions: | 
|---|
 | 1454 | # SysV /etc/install, /usr/sbin/install | 
|---|
 | 1455 | # SunOS /usr/etc/install | 
|---|
 | 1456 | # IRIX /sbin/install | 
|---|
 | 1457 | # AIX /bin/install | 
|---|
 | 1458 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
 | 1459 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
 | 1460 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
 | 1461 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
 | 1462 | # OS/2's system install, which has a completely different semantic | 
|---|
 | 1463 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
 | 1464 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
 | 1465 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
 | 1466 | if test -z "$INSTALL"; then | 
|---|
 | 1467 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1468 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1469 | else | 
|---|
 | 1470 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1471 | for as_dir in $PATH | 
|---|
 | 1472 | do | 
|---|
 | 1473 |   IFS=$as_save_IFS | 
|---|
 | 1474 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1475 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
 | 1476 | case $as_dir/ in | 
|---|
 | 1477 |   ./ | .// | /cC/* | \ | 
|---|
 | 1478 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
 | 1479 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
 | 1480 |   /usr/ucb/* ) ;; | 
|---|
 | 1481 |   *) | 
|---|
 | 1482 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
 | 1483 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
 | 1484 |     # by default. | 
|---|
 | 1485 |     for ac_prog in ginstall scoinst install; do | 
|---|
 | 1486 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1487 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
 | 1488 |           if test $ac_prog = install && | 
|---|
 | 1489 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1490 |             # AIX install.  It has an incompatible calling convention. | 
|---|
 | 1491 |             : | 
|---|
 | 1492 |           elif test $ac_prog = install && | 
|---|
 | 1493 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1494 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
 | 1495 |             : | 
|---|
 | 1496 |           else | 
|---|
 | 1497 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
 | 1498 |             break 3 | 
|---|
 | 1499 |           fi | 
|---|
| [1853] | 1500 |         fi | 
|---|
| [1956] | 1501 |       done | 
|---|
 | 1502 |     done | 
|---|
 | 1503 |     ;; | 
|---|
 | 1504 | esac | 
|---|
 | 1505 | done | 
|---|
 | 1506 |  | 
|---|
 | 1507 |  | 
|---|
| [1853] | 1508 | fi | 
|---|
| [1956] | 1509 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1510 |     INSTALL=$ac_cv_path_install | 
|---|
 | 1511 |   else | 
|---|
 | 1512 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
 | 1513 |     # path for INSTALL within a source directory, because that will | 
|---|
 | 1514 |     # break other packages using the cache if that directory is | 
|---|
 | 1515 |     # removed, or if the path is relative. | 
|---|
 | 1516 |     INSTALL=$ac_install_sh | 
|---|
 | 1517 |   fi | 
|---|
 | 1518 | fi | 
|---|
 | 1519 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
 | 1520 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
 | 1521 |  | 
|---|
 | 1522 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
 | 1523 | # It thinks the first close brace ends the variable substitution. | 
|---|
 | 1524 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
 | 1525 |  | 
|---|
 | 1526 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
 | 1527 |  | 
|---|
 | 1528 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
 | 1529 |  | 
|---|
 | 1530 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
 | 1531 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
 | 1532 | # Just in case | 
|---|
 | 1533 | sleep 1 | 
|---|
 | 1534 | echo timestamp > conftest.file | 
|---|
 | 1535 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
 | 1536 | # arguments.  Must try -L first in case configure is actually a | 
|---|
 | 1537 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
 | 1538 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
 | 1539 | # directory). | 
|---|
 | 1540 | if ( | 
|---|
 | 1541 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
 | 1542 |    if test "$*" = "X"; then | 
|---|
 | 1543 |       # -L didn't work. | 
|---|
 | 1544 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
 | 1545 |    fi | 
|---|
 | 1546 |    rm -f conftest.file | 
|---|
 | 1547 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
 | 1548 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
 | 1549 |  | 
|---|
 | 1550 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
 | 1551 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
 | 1552 |       # broken ls alias from the environment.  This has actually | 
|---|
 | 1553 |       # happened.  Such a system could not be considered "sane". | 
|---|
 | 1554 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1555 | alias in your environment" >&5 | 
|---|
 | 1556 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1557 | alias in your environment" >&2;} | 
|---|
 | 1558 |    { (exit 1); exit 1; }; } | 
|---|
 | 1559 |    fi | 
|---|
 | 1560 |  | 
|---|
 | 1561 |    test "$2" = conftest.file | 
|---|
 | 1562 |    ) | 
|---|
 | 1563 | then | 
|---|
 | 1564 |    # Ok. | 
|---|
 | 1565 |    : | 
|---|
| [1853] | 1566 | else | 
|---|
| [1956] | 1567 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
 | 1568 | Check your system clock" >&5 | 
|---|
 | 1569 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
 | 1570 | Check your system clock" >&2;} | 
|---|
 | 1571 |    { (exit 1); exit 1; }; } | 
|---|
| [1853] | 1572 | fi | 
|---|
| [1956] | 1573 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1574 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1575 | test "$program_prefix" != NONE && | 
|---|
 | 1576 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
 | 1577 | # Use a double $ so make ignores it. | 
|---|
 | 1578 | test "$program_suffix" != NONE && | 
|---|
 | 1579 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
 | 1580 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
 | 1581 | # By default was `s,x,x', remove it if useless. | 
|---|
 | 1582 | cat <<\_ACEOF >conftest.sed | 
|---|
 | 1583 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
 | 1584 | _ACEOF | 
|---|
 | 1585 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
 | 1586 | rm conftest.sed | 
|---|
| [1853] | 1587 |  | 
|---|
| [1956] | 1588 | # expand $ac_aux_dir to an absolute path | 
|---|
 | 1589 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
 | 1590 |  | 
|---|
 | 1591 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
 | 1592 | # Use eval to expand $SHELL | 
|---|
 | 1593 | if eval "$MISSING --run true"; then | 
|---|
 | 1594 |   am_missing_run="$MISSING --run " | 
|---|
 | 1595 | else | 
|---|
 | 1596 |   am_missing_run= | 
|---|
 | 1597 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
 | 1598 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
 | 1599 | fi | 
|---|
 | 1600 |  | 
|---|
| [2819] | 1601 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| [2706] | 1602 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
 | 1603 |   # argument.  Indeed, we sometimes output rules like | 
|---|
 | 1604 |   #   $(mkdir_p) $(somedir) | 
|---|
 | 1605 |   # where $(somedir) is conditionally defined. | 
|---|
 | 1606 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
 | 1607 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
 | 1608 |   mkdir_p='mkdir -p -- .' | 
|---|
 | 1609 | else | 
|---|
 | 1610 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
 | 1611 |   # recognize any option.  It will interpret all options as | 
|---|
 | 1612 |   # directories to create, and then abort because `.' already | 
|---|
 | 1613 |   # exists. | 
|---|
| [2819] | 1614 |   for d in ./-p ./--version; | 
|---|
| [2706] | 1615 |   do | 
|---|
 | 1616 |     test -d $d && rmdir $d | 
|---|
 | 1617 |   done | 
|---|
 | 1618 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
 | 1619 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
 | 1620 |     mkdir_p='$(mkinstalldirs)' | 
|---|
 | 1621 |   else | 
|---|
 | 1622 |     mkdir_p='$(install_sh) -d' | 
|---|
 | 1623 |   fi | 
|---|
 | 1624 | fi | 
|---|
 | 1625 |  | 
|---|
| [1956] | 1626 | for ac_prog in gawk mawk nawk awk | 
|---|
 | 1627 | do | 
|---|
 | 1628 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1629 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1630 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1631 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1632 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
 | 1633 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1634 | else | 
|---|
 | 1635 |   if test -n "$AWK"; then | 
|---|
 | 1636 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
 | 1637 | else | 
|---|
 | 1638 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1639 | for as_dir in $PATH | 
|---|
 | 1640 | do | 
|---|
 | 1641 |   IFS=$as_save_IFS | 
|---|
 | 1642 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1643 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1644 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1645 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
 | 1646 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1647 |     break 2 | 
|---|
 | 1648 |   fi | 
|---|
 | 1649 | done | 
|---|
 | 1650 | done | 
|---|
 | 1651 |  | 
|---|
 | 1652 | fi | 
|---|
 | 1653 | fi | 
|---|
 | 1654 | AWK=$ac_cv_prog_AWK | 
|---|
 | 1655 | if test -n "$AWK"; then | 
|---|
 | 1656 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
 | 1657 | echo "${ECHO_T}$AWK" >&6 | 
|---|
 | 1658 | else | 
|---|
 | 1659 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1660 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1661 | fi | 
|---|
 | 1662 |  | 
|---|
 | 1663 |   test -n "$AWK" && break | 
|---|
 | 1664 | done | 
|---|
 | 1665 |  | 
|---|
 | 1666 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
 | 1667 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
 | 1668 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
 | 1669 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
 | 1670 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1671 | else | 
|---|
 | 1672 |   cat >conftest.make <<\_ACEOF | 
|---|
 | 1673 | all: | 
|---|
 | 1674 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
 | 1675 | _ACEOF | 
|---|
 | 1676 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
 | 1677 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
 | 1678 | if test -n "$ac_maketemp"; then | 
|---|
 | 1679 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
 | 1680 | else | 
|---|
 | 1681 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
 | 1682 | fi | 
|---|
 | 1683 | rm -f conftest.make | 
|---|
 | 1684 | fi | 
|---|
 | 1685 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
 | 1686 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1687 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1688 |   SET_MAKE= | 
|---|
 | 1689 | else | 
|---|
 | 1690 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1691 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1692 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
 | 1693 | fi | 
|---|
 | 1694 |  | 
|---|
 | 1695 | rm -rf .tst 2>/dev/null | 
|---|
 | 1696 | mkdir .tst 2>/dev/null | 
|---|
 | 1697 | if test -d .tst; then | 
|---|
 | 1698 |   am__leading_dot=. | 
|---|
 | 1699 | else | 
|---|
 | 1700 |   am__leading_dot=_ | 
|---|
 | 1701 | fi | 
|---|
 | 1702 | rmdir .tst 2>/dev/null | 
|---|
 | 1703 |  | 
|---|
| [2706] | 1704 | # test to see if srcdir already configured | 
|---|
| [1956] | 1705 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
 | 1706 |    test -f $srcdir/config.status; then | 
|---|
 | 1707 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
 | 1708 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
 | 1709 |    { (exit 1); exit 1; }; } | 
|---|
 | 1710 | fi | 
|---|
 | 1711 |  | 
|---|
 | 1712 | # test whether we have cygpath | 
|---|
 | 1713 | if test -z "$CYGPATH_W"; then | 
|---|
 | 1714 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
 | 1715 |     CYGPATH_W='cygpath -w' | 
|---|
 | 1716 |   else | 
|---|
 | 1717 |     CYGPATH_W=echo | 
|---|
 | 1718 |   fi | 
|---|
 | 1719 | fi | 
|---|
 | 1720 |  | 
|---|
 | 1721 |  | 
|---|
 | 1722 | # Define the identity of the package. | 
|---|
 | 1723 |  PACKAGE='orxonox' | 
|---|
| [3243] | 1724 |  VERSION='0.2.1-pre-alpha' | 
|---|
| [1956] | 1725 |  | 
|---|
 | 1726 |  | 
|---|
 | 1727 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1728 | #define PACKAGE "$PACKAGE" | 
|---|
 | 1729 | _ACEOF | 
|---|
 | 1730 |  | 
|---|
 | 1731 |  | 
|---|
 | 1732 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1733 | #define VERSION "$VERSION" | 
|---|
 | 1734 | _ACEOF | 
|---|
 | 1735 |  | 
|---|
 | 1736 | # Some tools Automake needs. | 
|---|
 | 1737 |  | 
|---|
 | 1738 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
 | 1739 |  | 
|---|
 | 1740 |  | 
|---|
 | 1741 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
 | 1742 |  | 
|---|
 | 1743 |  | 
|---|
 | 1744 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
 | 1745 |  | 
|---|
 | 1746 |  | 
|---|
 | 1747 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
 | 1748 |  | 
|---|
 | 1749 |  | 
|---|
 | 1750 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
 | 1751 |  | 
|---|
 | 1752 |  | 
|---|
 | 1753 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
 | 1754 |  | 
|---|
 | 1755 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
 | 1756 |  | 
|---|
 | 1757 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
 | 1758 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
 | 1759 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
 | 1760 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
 | 1761 | if test "$cross_compiling" != no; then | 
|---|
 | 1762 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 1763 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
 | 1764 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
 | 1765 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1766 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1767 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
 | 1768 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1769 | else | 
|---|
 | 1770 |   if test -n "$STRIP"; then | 
|---|
 | 1771 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
 | 1772 | else | 
|---|
 | 1773 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1774 | for as_dir in $PATH | 
|---|
 | 1775 | do | 
|---|
 | 1776 |   IFS=$as_save_IFS | 
|---|
 | 1777 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1778 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1779 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1780 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
 | 1781 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1782 |     break 2 | 
|---|
 | 1783 |   fi | 
|---|
 | 1784 | done | 
|---|
 | 1785 | done | 
|---|
 | 1786 |  | 
|---|
 | 1787 | fi | 
|---|
 | 1788 | fi | 
|---|
 | 1789 | STRIP=$ac_cv_prog_STRIP | 
|---|
 | 1790 | if test -n "$STRIP"; then | 
|---|
 | 1791 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
 | 1792 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
 | 1793 | else | 
|---|
 | 1794 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1795 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1796 | fi | 
|---|
 | 1797 |  | 
|---|
 | 1798 | fi | 
|---|
 | 1799 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
 | 1800 |   ac_ct_STRIP=$STRIP | 
|---|
 | 1801 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
 | 1802 | set dummy strip; ac_word=$2 | 
|---|
 | 1803 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1804 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1805 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
 | 1806 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1807 | else | 
|---|
 | 1808 |   if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1809 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
 | 1810 | else | 
|---|
 | 1811 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1812 | for as_dir in $PATH | 
|---|
 | 1813 | do | 
|---|
 | 1814 |   IFS=$as_save_IFS | 
|---|
 | 1815 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1816 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1817 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1818 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
 | 1819 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1820 |     break 2 | 
|---|
 | 1821 |   fi | 
|---|
 | 1822 | done | 
|---|
 | 1823 | done | 
|---|
 | 1824 |  | 
|---|
 | 1825 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
 | 1826 | fi | 
|---|
 | 1827 | fi | 
|---|
 | 1828 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
 | 1829 | if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1830 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
 | 1831 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
 | 1832 | else | 
|---|
 | 1833 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1834 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1835 | fi | 
|---|
 | 1836 |  | 
|---|
 | 1837 |   STRIP=$ac_ct_STRIP | 
|---|
 | 1838 | else | 
|---|
 | 1839 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
 | 1840 | fi | 
|---|
 | 1841 |  | 
|---|
 | 1842 | fi | 
|---|
 | 1843 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
 | 1844 |  | 
|---|
 | 1845 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
 | 1846 | # some platforms. | 
|---|
 | 1847 |  | 
|---|
 | 1848 |  | 
|---|
 | 1849 |  | 
|---|
 | 1850 |  | 
|---|
| [2627] | 1851 |  | 
|---|
| [1959] | 1852 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
 | 1853 |  | 
|---|
 | 1854 |  | 
|---|
| [2018] | 1855 |  | 
|---|
| [1956] | 1856 | # Checks for programs. | 
|---|
 | 1857 | ac_ext=cc | 
|---|
 | 1858 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
 | 1859 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1860 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1861 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
 | 1862 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 1863 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1864 |   do | 
|---|
 | 1865 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 1866 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 1867 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1868 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1869 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
 | 1870 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1871 | else | 
|---|
 | 1872 |   if test -n "$CXX"; then | 
|---|
 | 1873 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
 | 1874 | else | 
|---|
 | 1875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1876 | for as_dir in $PATH | 
|---|
 | 1877 | do | 
|---|
 | 1878 |   IFS=$as_save_IFS | 
|---|
 | 1879 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1880 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1881 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1882 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
 | 1883 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1884 |     break 2 | 
|---|
 | 1885 |   fi | 
|---|
 | 1886 | done | 
|---|
 | 1887 | done | 
|---|
 | 1888 |  | 
|---|
 | 1889 | fi | 
|---|
 | 1890 | fi | 
|---|
 | 1891 | CXX=$ac_cv_prog_CXX | 
|---|
 | 1892 | if test -n "$CXX"; then | 
|---|
 | 1893 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
 | 1894 | echo "${ECHO_T}$CXX" >&6 | 
|---|
 | 1895 | else | 
|---|
 | 1896 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1897 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1898 | fi | 
|---|
 | 1899 |  | 
|---|
 | 1900 |     test -n "$CXX" && break | 
|---|
 | 1901 |   done | 
|---|
 | 1902 | fi | 
|---|
 | 1903 | if test -z "$CXX"; then | 
|---|
 | 1904 |   ac_ct_CXX=$CXX | 
|---|
 | 1905 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1906 | do | 
|---|
 | 1907 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1908 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1909 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1910 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1911 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
 | 1912 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1913 | else | 
|---|
 | 1914 |   if test -n "$ac_ct_CXX"; then | 
|---|
 | 1915 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
 | 1916 | else | 
|---|
 | 1917 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1918 | for as_dir in $PATH | 
|---|
 | 1919 | do | 
|---|
 | 1920 |   IFS=$as_save_IFS | 
|---|
 | 1921 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1922 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1923 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1924 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
 | 1925 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1926 |     break 2 | 
|---|
 | 1927 |   fi | 
|---|
 | 1928 | done | 
|---|
 | 1929 | done | 
|---|
 | 1930 |  | 
|---|
 | 1931 | fi | 
|---|
 | 1932 | fi | 
|---|
 | 1933 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
 | 1934 | if test -n "$ac_ct_CXX"; then | 
|---|
 | 1935 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
 | 1936 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
 | 1937 | else | 
|---|
 | 1938 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1939 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1940 | fi | 
|---|
 | 1941 |  | 
|---|
 | 1942 |   test -n "$ac_ct_CXX" && break | 
|---|
 | 1943 | done | 
|---|
 | 1944 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
 | 1945 |  | 
|---|
 | 1946 |   CXX=$ac_ct_CXX | 
|---|
 | 1947 | fi | 
|---|
 | 1948 |  | 
|---|
 | 1949 |  | 
|---|
 | 1950 | # Provide some information about the compiler. | 
|---|
 | 1951 | echo "$as_me:$LINENO:" \ | 
|---|
 | 1952 |      "checking for C++ compiler version" >&5 | 
|---|
 | 1953 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 1954 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 1955 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
 | 1956 |   ac_status=$? | 
|---|
 | 1957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1958 |   (exit $ac_status); } | 
|---|
 | 1959 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
 | 1960 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
 | 1961 |   ac_status=$? | 
|---|
 | 1962 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1963 |   (exit $ac_status); } | 
|---|
 | 1964 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 1965 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 1966 |   ac_status=$? | 
|---|
 | 1967 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1968 |   (exit $ac_status); } | 
|---|
 | 1969 |  | 
|---|
 | 1970 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 1971 | /* confdefs.h.  */ | 
|---|
 | 1972 | _ACEOF | 
|---|
 | 1973 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 1974 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 1975 | /* end confdefs.h.  */ | 
|---|
 | 1976 |  | 
|---|
 | 1977 | int | 
|---|
 | 1978 | main () | 
|---|
 | 1979 | { | 
|---|
 | 1980 |  | 
|---|
 | 1981 |   ; | 
|---|
 | 1982 |   return 0; | 
|---|
 | 1983 | } | 
|---|
 | 1984 | _ACEOF | 
|---|
 | 1985 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 1986 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
 | 1987 | # Try to create an executable without -o first, disregard a.out. | 
|---|
 | 1988 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
 | 1989 | # of exeext. | 
|---|
 | 1990 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
 | 1991 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
 | 1992 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
 | 1993 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
 | 1994 |   (eval $ac_link_default) 2>&5 | 
|---|
 | 1995 |   ac_status=$? | 
|---|
 | 1996 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1997 |   (exit $ac_status); }; then | 
|---|
 | 1998 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
 | 1999 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
 | 2000 | # resort. | 
|---|
 | 2001 |  | 
|---|
 | 2002 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
 | 2003 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
 | 2004 | ac_cv_exeext= | 
|---|
 | 2005 | # b.out is created by i960 compilers. | 
|---|
 | 2006 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
 | 2007 | do | 
|---|
 | 2008 |   test -f "$ac_file" || continue | 
|---|
 | 2009 |   case $ac_file in | 
|---|
 | 2010 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
 | 2011 |         ;; | 
|---|
 | 2012 |     conftest.$ac_ext ) | 
|---|
 | 2013 |         # This is the source file. | 
|---|
 | 2014 |         ;; | 
|---|
 | 2015 |     [ab].out ) | 
|---|
 | 2016 |         # We found the default executable, but exeext='' is most | 
|---|
 | 2017 |         # certainly right. | 
|---|
 | 2018 |         break;; | 
|---|
 | 2019 |     *.* ) | 
|---|
 | 2020 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2021 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
 | 2022 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
 | 2023 |         # maintain Libtool? --akim. | 
|---|
 | 2024 |         export ac_cv_exeext | 
|---|
 | 2025 |         break;; | 
|---|
 | 2026 |     * ) | 
|---|
 | 2027 |         break;; | 
|---|
 | 2028 |   esac | 
|---|
 | 2029 | done | 
|---|
 | 2030 | else | 
|---|
 | 2031 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2032 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2033 |  | 
|---|
 | 2034 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
 | 2035 | See \`config.log' for more details." >&5 | 
|---|
 | 2036 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
 | 2037 | See \`config.log' for more details." >&2;} | 
|---|
 | 2038 |    { (exit 77); exit 77; }; } | 
|---|
 | 2039 | fi | 
|---|
 | 2040 |  | 
|---|
 | 2041 | ac_exeext=$ac_cv_exeext | 
|---|
 | 2042 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
 | 2043 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
 | 2044 |  | 
|---|
 | 2045 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2046 | # the compiler is broken, or we cross compile. | 
|---|
 | 2047 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
 | 2048 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
 | 2049 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
 | 2050 | # If not cross compiling, check that we can run a simple program. | 
|---|
 | 2051 | if test "$cross_compiling" != yes; then | 
|---|
 | 2052 |   if { ac_try='./$ac_file' | 
|---|
 | 2053 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2054 |   (eval $ac_try) 2>&5 | 
|---|
 | 2055 |   ac_status=$? | 
|---|
 | 2056 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2057 |   (exit $ac_status); }; }; then | 
|---|
 | 2058 |     cross_compiling=no | 
|---|
 | 2059 |   else | 
|---|
 | 2060 |     if test "$cross_compiling" = maybe; then | 
|---|
 | 2061 |         cross_compiling=yes | 
|---|
 | 2062 |     else | 
|---|
 | 2063 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
 | 2064 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2065 | See \`config.log' for more details." >&5 | 
|---|
 | 2066 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
 | 2067 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2068 | See \`config.log' for more details." >&2;} | 
|---|
 | 2069 |    { (exit 1); exit 1; }; } | 
|---|
 | 2070 |     fi | 
|---|
 | 2071 |   fi | 
|---|
 | 2072 | fi | 
|---|
 | 2073 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 2074 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 2075 |  | 
|---|
 | 2076 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
 | 2077 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 2078 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2079 | # the compiler is broken, or we cross compile. | 
|---|
 | 2080 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
 | 2081 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
 | 2082 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
 | 2083 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
 | 2084 |  | 
|---|
 | 2085 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
 | 2086 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
 | 2087 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 2088 |   (eval $ac_link) 2>&5 | 
|---|
 | 2089 |   ac_status=$? | 
|---|
 | 2090 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2091 |   (exit $ac_status); }; then | 
|---|
 | 2092 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
 | 2093 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
 | 2094 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
 | 2095 | # `rm'. | 
|---|
 | 2096 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
 | 2097 |   test -f "$ac_file" || continue | 
|---|
 | 2098 |   case $ac_file in | 
|---|
 | 2099 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
 | 2100 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2101 |           export ac_cv_exeext | 
|---|
 | 2102 |           break;; | 
|---|
 | 2103 |     * ) break;; | 
|---|
 | 2104 |   esac | 
|---|
 | 2105 | done | 
|---|
 | 2106 | else | 
|---|
 | 2107 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2108 | See \`config.log' for more details." >&5 | 
|---|
 | 2109 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2110 | See \`config.log' for more details." >&2;} | 
|---|
 | 2111 |    { (exit 1); exit 1; }; } | 
|---|
 | 2112 | fi | 
|---|
 | 2113 |  | 
|---|
 | 2114 | rm -f conftest$ac_cv_exeext | 
|---|
 | 2115 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
 | 2116 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
 | 2117 |  | 
|---|
 | 2118 | rm -f conftest.$ac_ext | 
|---|
 | 2119 | EXEEXT=$ac_cv_exeext | 
|---|
 | 2120 | ac_exeext=$EXEEXT | 
|---|
 | 2121 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
 | 2122 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
 | 2123 | if test "${ac_cv_objext+set}" = set; then | 
|---|
 | 2124 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2125 | else | 
|---|
 | 2126 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2127 | /* confdefs.h.  */ | 
|---|
 | 2128 | _ACEOF | 
|---|
 | 2129 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2130 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2131 | /* end confdefs.h.  */ | 
|---|
 | 2132 |  | 
|---|
 | 2133 | int | 
|---|
 | 2134 | main () | 
|---|
 | 2135 | { | 
|---|
 | 2136 |  | 
|---|
 | 2137 |   ; | 
|---|
 | 2138 |   return 0; | 
|---|
 | 2139 | } | 
|---|
 | 2140 | _ACEOF | 
|---|
 | 2141 | rm -f conftest.o conftest.obj | 
|---|
 | 2142 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2143 |   (eval $ac_compile) 2>&5 | 
|---|
 | 2144 |   ac_status=$? | 
|---|
 | 2145 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2146 |   (exit $ac_status); }; then | 
|---|
 | 2147 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
 | 2148 |   case $ac_file in | 
|---|
 | 2149 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
 | 2150 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
 | 2151 |        break;; | 
|---|
 | 2152 |   esac | 
|---|
 | 2153 | done | 
|---|
 | 2154 | else | 
|---|
 | 2155 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2156 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2157 |  | 
|---|
 | 2158 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2159 | See \`config.log' for more details." >&5 | 
|---|
 | 2160 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2161 | See \`config.log' for more details." >&2;} | 
|---|
 | 2162 |    { (exit 1); exit 1; }; } | 
|---|
 | 2163 | fi | 
|---|
 | 2164 |  | 
|---|
 | 2165 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
 | 2166 | fi | 
|---|
 | 2167 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
 | 2168 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
 | 2169 | OBJEXT=$ac_cv_objext | 
|---|
 | 2170 | ac_objext=$OBJEXT | 
|---|
 | 2171 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
 | 2172 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
 | 2173 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
 | 2174 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2175 | else | 
|---|
 | 2176 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2177 | /* confdefs.h.  */ | 
|---|
 | 2178 | _ACEOF | 
|---|
 | 2179 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2180 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2181 | /* end confdefs.h.  */ | 
|---|
 | 2182 |  | 
|---|
 | 2183 | int | 
|---|
 | 2184 | main () | 
|---|
 | 2185 | { | 
|---|
 | 2186 | #ifndef __GNUC__ | 
|---|
 | 2187 |        choke me | 
|---|
 | 2188 | #endif | 
|---|
 | 2189 |  | 
|---|
 | 2190 |   ; | 
|---|
 | 2191 |   return 0; | 
|---|
 | 2192 | } | 
|---|
 | 2193 | _ACEOF | 
|---|
 | 2194 | rm -f conftest.$ac_objext | 
|---|
 | 2195 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2196 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2197 |   ac_status=$? | 
|---|
 | 2198 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2199 |   rm -f conftest.er1 | 
|---|
 | 2200 |   cat conftest.err >&5 | 
|---|
 | 2201 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2202 |   (exit $ac_status); } && | 
|---|
 | 2203 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2204 |                          || test ! -s conftest.err' | 
|---|
 | 2205 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2206 |   (eval $ac_try) 2>&5 | 
|---|
 | 2207 |   ac_status=$? | 
|---|
 | 2208 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2209 |   (exit $ac_status); }; } && | 
|---|
 | 2210 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 2216 |   ac_compiler_gnu=yes | 
|---|
 | 2217 | else | 
|---|
 | 2218 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2219 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2220 |  | 
|---|
 | 2221 | ac_compiler_gnu=no | 
|---|
 | 2222 | fi | 
|---|
 | 2223 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2224 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2225 |  | 
|---|
 | 2226 | fi | 
|---|
 | 2227 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
 | 2228 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
 | 2229 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2230 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
 | 2231 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
 | 2232 | CXXFLAGS="-g" | 
|---|
 | 2233 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
 | 2234 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
 | 2235 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
 | 2236 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2237 | else | 
|---|
 | 2238 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2239 | /* confdefs.h.  */ | 
|---|
 | 2240 | _ACEOF | 
|---|
 | 2241 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2242 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2243 | /* end confdefs.h.  */ | 
|---|
 | 2244 |  | 
|---|
 | 2245 | int | 
|---|
 | 2246 | main () | 
|---|
 | 2247 | { | 
|---|
 | 2248 |  | 
|---|
 | 2249 |   ; | 
|---|
 | 2250 |   return 0; | 
|---|
 | 2251 | } | 
|---|
 | 2252 | _ACEOF | 
|---|
 | 2253 | rm -f conftest.$ac_objext | 
|---|
 | 2254 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2255 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2256 |   ac_status=$? | 
|---|
 | 2257 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2258 |   rm -f conftest.er1 | 
|---|
 | 2259 |   cat conftest.err >&5 | 
|---|
 | 2260 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2261 |   (exit $ac_status); } && | 
|---|
 | 2262 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2263 |                          || test ! -s conftest.err' | 
|---|
 | 2264 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2265 |   (eval $ac_try) 2>&5 | 
|---|
 | 2266 |   ac_status=$? | 
|---|
 | 2267 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2268 |   (exit $ac_status); }; } && | 
|---|
 | 2269 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 2275 |   ac_cv_prog_cxx_g=yes | 
|---|
 | 2276 | else | 
|---|
 | 2277 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2278 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2279 |  | 
|---|
 | 2280 | ac_cv_prog_cxx_g=no | 
|---|
 | 2281 | fi | 
|---|
 | 2282 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2283 | fi | 
|---|
 | 2284 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
 | 2285 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
 | 2286 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
 | 2287 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
 | 2288 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
 | 2289 |   if test "$GXX" = yes; then | 
|---|
 | 2290 |     CXXFLAGS="-g -O2" | 
|---|
 | 2291 |   else | 
|---|
 | 2292 |     CXXFLAGS="-g" | 
|---|
 | 2293 |   fi | 
|---|
 | 2294 | else | 
|---|
 | 2295 |   if test "$GXX" = yes; then | 
|---|
 | 2296 |     CXXFLAGS="-O2" | 
|---|
 | 2297 |   else | 
|---|
 | 2298 |     CXXFLAGS= | 
|---|
 | 2299 |   fi | 
|---|
 | 2300 | fi | 
|---|
 | 2301 | for ac_declaration in \ | 
|---|
 | 2302 |    '' \ | 
|---|
 | 2303 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 2304 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 2305 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 2306 |    'extern "C" void exit (int);' \ | 
|---|
 | 2307 |    'void exit (int);' | 
|---|
 | 2308 | do | 
|---|
 | 2309 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2310 | /* confdefs.h.  */ | 
|---|
 | 2311 | _ACEOF | 
|---|
 | 2312 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2313 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2314 | /* end confdefs.h.  */ | 
|---|
 | 2315 | $ac_declaration | 
|---|
 | 2316 | #include <stdlib.h> | 
|---|
 | 2317 | int | 
|---|
 | 2318 | main () | 
|---|
 | 2319 | { | 
|---|
 | 2320 | exit (42); | 
|---|
 | 2321 |   ; | 
|---|
 | 2322 |   return 0; | 
|---|
 | 2323 | } | 
|---|
 | 2324 | _ACEOF | 
|---|
 | 2325 | rm -f conftest.$ac_objext | 
|---|
 | 2326 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2327 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2328 |   ac_status=$? | 
|---|
 | 2329 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2330 |   rm -f conftest.er1 | 
|---|
 | 2331 |   cat conftest.err >&5 | 
|---|
 | 2332 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2333 |   (exit $ac_status); } && | 
|---|
 | 2334 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2335 |                          || test ! -s conftest.err' | 
|---|
 | 2336 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2337 |   (eval $ac_try) 2>&5 | 
|---|
 | 2338 |   ac_status=$? | 
|---|
 | 2339 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2340 |   (exit $ac_status); }; } && | 
|---|
 | 2341 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 2347 |   : | 
|---|
 | 2348 | else | 
|---|
 | 2349 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2350 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2351 |  | 
|---|
 | 2352 | continue | 
|---|
 | 2353 | fi | 
|---|
 | 2354 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2355 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2356 | /* confdefs.h.  */ | 
|---|
 | 2357 | _ACEOF | 
|---|
 | 2358 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2359 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2360 | /* end confdefs.h.  */ | 
|---|
 | 2361 | $ac_declaration | 
|---|
 | 2362 | int | 
|---|
 | 2363 | main () | 
|---|
 | 2364 | { | 
|---|
 | 2365 | exit (42); | 
|---|
 | 2366 |   ; | 
|---|
 | 2367 |   return 0; | 
|---|
 | 2368 | } | 
|---|
 | 2369 | _ACEOF | 
|---|
 | 2370 | rm -f conftest.$ac_objext | 
|---|
 | 2371 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2372 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2373 |   ac_status=$? | 
|---|
 | 2374 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2375 |   rm -f conftest.er1 | 
|---|
 | 2376 |   cat conftest.err >&5 | 
|---|
 | 2377 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2378 |   (exit $ac_status); } && | 
|---|
 | 2379 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2380 |                          || test ! -s conftest.err' | 
|---|
 | 2381 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2382 |   (eval $ac_try) 2>&5 | 
|---|
 | 2383 |   ac_status=$? | 
|---|
 | 2384 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2385 |   (exit $ac_status); }; } && | 
|---|
 | 2386 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 2392 |   break | 
|---|
 | 2393 | else | 
|---|
 | 2394 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2395 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2396 |  | 
|---|
 | 2397 | fi | 
|---|
 | 2398 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2399 | done | 
|---|
 | 2400 | rm -f conftest* | 
|---|
 | 2401 | if test -n "$ac_declaration"; then | 
|---|
 | 2402 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 2403 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 2404 |   echo '#endif'             >>confdefs.h | 
|---|
 | 2405 | fi | 
|---|
 | 2406 |  | 
|---|
 | 2407 | ac_ext=c | 
|---|
 | 2408 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2409 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2410 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2411 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2412 | DEPDIR="${am__leading_dot}deps" | 
|---|
 | 2413 |  | 
|---|
 | 2414 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
 | 2415 |  | 
|---|
 | 2416 |  | 
|---|
 | 2417 | am_make=${MAKE-make} | 
|---|
 | 2418 | cat > confinc << 'END' | 
|---|
 | 2419 | am__doit: | 
|---|
 | 2420 |         @echo done | 
|---|
 | 2421 | .PHONY: am__doit | 
|---|
 | 2422 | END | 
|---|
 | 2423 | # If we don't find an include directive, just comment out the code. | 
|---|
 | 2424 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
 | 2425 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
 | 2426 | am__include="#" | 
|---|
 | 2427 | am__quote= | 
|---|
 | 2428 | _am_result=none | 
|---|
 | 2429 | # First try GNU make style include. | 
|---|
 | 2430 | echo "include confinc" > confmf | 
|---|
 | 2431 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
 | 2432 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
 | 2433 | # In particular we don't look at `^make:' because GNU make might | 
|---|
 | 2434 | # be invoked under some other name (usually "gmake"), in which | 
|---|
 | 2435 | # case it prints its new name instead of `make'. | 
|---|
 | 2436 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
 | 2437 |    am__include=include | 
|---|
 | 2438 |    am__quote= | 
|---|
 | 2439 |    _am_result=GNU | 
|---|
 | 2440 | fi | 
|---|
 | 2441 | # Now try BSD make style include. | 
|---|
 | 2442 | if test "$am__include" = "#"; then | 
|---|
 | 2443 |    echo '.include "confinc"' > confmf | 
|---|
 | 2444 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
 | 2445 |       am__include=.include | 
|---|
 | 2446 |       am__quote="\"" | 
|---|
 | 2447 |       _am_result=BSD | 
|---|
 | 2448 |    fi | 
|---|
 | 2449 | fi | 
|---|
 | 2450 |  | 
|---|
 | 2451 |  | 
|---|
 | 2452 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
 | 2453 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
 | 2454 | rm -f confinc confmf | 
|---|
 | 2455 |  | 
|---|
 | 2456 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
 | 2457 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
 | 2458 |   enableval="$enable_dependency_tracking" | 
|---|
 | 2459 |  | 
|---|
 | 2460 | fi; | 
|---|
 | 2461 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2462 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
 | 2463 |   AMDEPBACKSLASH='\' | 
|---|
 | 2464 | fi | 
|---|
 | 2465 |  | 
|---|
 | 2466 |  | 
|---|
 | 2467 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2468 |   AMDEP_TRUE= | 
|---|
 | 2469 |   AMDEP_FALSE='#' | 
|---|
 | 2470 | else | 
|---|
 | 2471 |   AMDEP_TRUE='#' | 
|---|
 | 2472 |   AMDEP_FALSE= | 
|---|
 | 2473 | fi | 
|---|
 | 2474 |  | 
|---|
 | 2475 |  | 
|---|
 | 2476 |  | 
|---|
 | 2477 |  | 
|---|
 | 2478 | depcc="$CXX"  am_compiler_list= | 
|---|
 | 2479 |  | 
|---|
 | 2480 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 2481 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 2482 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
 | 2483 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2484 | else | 
|---|
 | 2485 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 2486 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 2487 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 2488 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 2489 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 2490 |   # in D'. | 
|---|
 | 2491 |   mkdir conftest.dir | 
|---|
 | 2492 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 2493 |   # using a relative directory. | 
|---|
 | 2494 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 2495 |   cd conftest.dir | 
|---|
 | 2496 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 2497 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 2498 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 2499 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 2500 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 2501 |   # directory. | 
|---|
 | 2502 |   mkdir sub | 
|---|
 | 2503 |  | 
|---|
 | 2504 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2505 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 2506 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 2507 |   fi | 
|---|
 | 2508 |   for depmode in $am_compiler_list; do | 
|---|
 | 2509 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 2510 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 2511 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 2512 |     # | 
|---|
 | 2513 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 2514 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 2515 |     # This happens at least with the AIX C compiler. | 
|---|
 | 2516 |     : > sub/conftest.c | 
|---|
 | 2517 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 2518 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 2519 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 2520 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 2521 |       touch sub/conftst$i.h | 
|---|
| [1956] | 2522 |     done | 
|---|
 | 2523 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 2524 |  | 
|---|
 | 2525 |     case $depmode in | 
|---|
 | 2526 |     nosideeffect) | 
|---|
 | 2527 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 2528 |       # only be used when explicitly requested | 
|---|
 | 2529 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 2530 |         continue | 
|---|
 | 2531 |       else | 
|---|
 | 2532 |         break | 
|---|
 | 2533 |       fi | 
|---|
 | 2534 |       ;; | 
|---|
 | 2535 |     none) break ;; | 
|---|
 | 2536 |     esac | 
|---|
 | 2537 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 2538 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 2539 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 2540 |     if depmode=$depmode \ | 
|---|
 | 2541 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 2542 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 2543 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 2544 |          >/dev/null 2>conftest.err && | 
|---|
 | 2545 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2546 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2547 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 2548 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 2549 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 2550 |       # that says an option was ignored or not supported. | 
|---|
 | 2551 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 2552 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 2553 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 2554 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 2555 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 2556 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 2557 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
 | 2558 |         break | 
|---|
 | 2559 |       fi | 
|---|
 | 2560 |     fi | 
|---|
 | 2561 |   done | 
|---|
 | 2562 |  | 
|---|
 | 2563 |   cd .. | 
|---|
 | 2564 |   rm -rf conftest.dir | 
|---|
 | 2565 | else | 
|---|
 | 2566 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2567 | fi | 
|---|
 | 2568 |  | 
|---|
 | 2569 | fi | 
|---|
 | 2570 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
 | 2571 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
 | 2572 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
 | 2573 |  | 
|---|
 | 2574 |  | 
|---|
 | 2575 |  | 
|---|
 | 2576 | if | 
|---|
 | 2577 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 2578 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
 | 2579 |   am__fastdepCXX_TRUE= | 
|---|
 | 2580 |   am__fastdepCXX_FALSE='#' | 
|---|
 | 2581 | else | 
|---|
 | 2582 |   am__fastdepCXX_TRUE='#' | 
|---|
 | 2583 |   am__fastdepCXX_FALSE= | 
|---|
 | 2584 | fi | 
|---|
 | 2585 |  | 
|---|
 | 2586 |  | 
|---|
 | 2587 | ac_ext=c | 
|---|
 | 2588 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2589 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2590 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2591 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2592 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 2593 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
 | 2594 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
 | 2595 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2596 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2597 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2598 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2599 | else | 
|---|
 | 2600 |   if test -n "$CC"; then | 
|---|
 | 2601 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2602 | else | 
|---|
 | 2603 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2604 | for as_dir in $PATH | 
|---|
 | 2605 | do | 
|---|
 | 2606 |   IFS=$as_save_IFS | 
|---|
 | 2607 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2608 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2609 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2610 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
 | 2611 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2612 |     break 2 | 
|---|
 | 2613 |   fi | 
|---|
 | 2614 | done | 
|---|
 | 2615 | done | 
|---|
 | 2616 |  | 
|---|
 | 2617 | fi | 
|---|
 | 2618 | fi | 
|---|
 | 2619 | CC=$ac_cv_prog_CC | 
|---|
 | 2620 | if test -n "$CC"; then | 
|---|
 | 2621 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2622 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2623 | else | 
|---|
 | 2624 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2625 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2626 | fi | 
|---|
 | 2627 |  | 
|---|
 | 2628 | fi | 
|---|
 | 2629 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2630 |   ac_ct_CC=$CC | 
|---|
 | 2631 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
 | 2632 | set dummy gcc; ac_word=$2 | 
|---|
 | 2633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2635 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2636 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2637 | else | 
|---|
 | 2638 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2639 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2640 | else | 
|---|
 | 2641 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2642 | for as_dir in $PATH | 
|---|
 | 2643 | do | 
|---|
 | 2644 |   IFS=$as_save_IFS | 
|---|
 | 2645 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2646 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2647 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2648 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
 | 2649 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2650 |     break 2 | 
|---|
 | 2651 |   fi | 
|---|
 | 2652 | done | 
|---|
 | 2653 | done | 
|---|
 | 2654 |  | 
|---|
 | 2655 | fi | 
|---|
 | 2656 | fi | 
|---|
 | 2657 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2658 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2659 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2660 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2661 | else | 
|---|
 | 2662 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2663 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2664 | fi | 
|---|
 | 2665 |  | 
|---|
 | 2666 |   CC=$ac_ct_CC | 
|---|
 | 2667 | else | 
|---|
 | 2668 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2669 | fi | 
|---|
 | 2670 |  | 
|---|
 | 2671 | if test -z "$CC"; then | 
|---|
 | 2672 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2673 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
 | 2674 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
 | 2675 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2676 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2677 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2678 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2679 | else | 
|---|
 | 2680 |   if test -n "$CC"; then | 
|---|
 | 2681 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2682 | else | 
|---|
 | 2683 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2684 | for as_dir in $PATH | 
|---|
 | 2685 | do | 
|---|
 | 2686 |   IFS=$as_save_IFS | 
|---|
 | 2687 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2688 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2689 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2690 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
 | 2691 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2692 |     break 2 | 
|---|
 | 2693 |   fi | 
|---|
 | 2694 | done | 
|---|
 | 2695 | done | 
|---|
 | 2696 |  | 
|---|
 | 2697 | fi | 
|---|
 | 2698 | fi | 
|---|
 | 2699 | CC=$ac_cv_prog_CC | 
|---|
 | 2700 | if test -n "$CC"; then | 
|---|
 | 2701 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2702 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2703 | else | 
|---|
 | 2704 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2705 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2706 | fi | 
|---|
 | 2707 |  | 
|---|
 | 2708 | fi | 
|---|
 | 2709 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2710 |   ac_ct_CC=$CC | 
|---|
 | 2711 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2712 | set dummy cc; ac_word=$2 | 
|---|
 | 2713 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2714 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2715 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2716 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2717 | else | 
|---|
 | 2718 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2719 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2720 | else | 
|---|
 | 2721 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2722 | for as_dir in $PATH | 
|---|
 | 2723 | do | 
|---|
 | 2724 |   IFS=$as_save_IFS | 
|---|
 | 2725 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2726 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2727 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2728 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
 | 2729 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2730 |     break 2 | 
|---|
 | 2731 |   fi | 
|---|
 | 2732 | done | 
|---|
 | 2733 | done | 
|---|
 | 2734 |  | 
|---|
 | 2735 | fi | 
|---|
 | 2736 | fi | 
|---|
 | 2737 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2738 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2739 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2740 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2741 | else | 
|---|
 | 2742 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2743 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2744 | fi | 
|---|
 | 2745 |  | 
|---|
 | 2746 |   CC=$ac_ct_CC | 
|---|
 | 2747 | else | 
|---|
 | 2748 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2749 | fi | 
|---|
 | 2750 |  | 
|---|
 | 2751 | fi | 
|---|
 | 2752 | if test -z "$CC"; then | 
|---|
 | 2753 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2754 | set dummy cc; ac_word=$2 | 
|---|
 | 2755 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2756 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2757 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2758 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2759 | else | 
|---|
 | 2760 |   if test -n "$CC"; then | 
|---|
 | 2761 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2762 | else | 
|---|
 | 2763 |   ac_prog_rejected=no | 
|---|
 | 2764 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2765 | for as_dir in $PATH | 
|---|
 | 2766 | do | 
|---|
 | 2767 |   IFS=$as_save_IFS | 
|---|
 | 2768 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2769 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2770 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2771 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
 | 2772 |        ac_prog_rejected=yes | 
|---|
 | 2773 |        continue | 
|---|
 | 2774 |      fi | 
|---|
 | 2775 |     ac_cv_prog_CC="cc" | 
|---|
 | 2776 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2777 |     break 2 | 
|---|
 | 2778 |   fi | 
|---|
 | 2779 | done | 
|---|
 | 2780 | done | 
|---|
 | 2781 |  | 
|---|
 | 2782 | if test $ac_prog_rejected = yes; then | 
|---|
 | 2783 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
 | 2784 |   set dummy $ac_cv_prog_CC | 
|---|
 | 2785 |   shift | 
|---|
 | 2786 |   if test $# != 0; then | 
|---|
 | 2787 |     # We chose a different compiler from the bogus one. | 
|---|
 | 2788 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
 | 2789 |     # first if we set CC to just the basename; use the full file name. | 
|---|
 | 2790 |     shift | 
|---|
 | 2791 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
 | 2792 |   fi | 
|---|
 | 2793 | fi | 
|---|
 | 2794 | fi | 
|---|
 | 2795 | fi | 
|---|
 | 2796 | CC=$ac_cv_prog_CC | 
|---|
 | 2797 | if test -n "$CC"; then | 
|---|
 | 2798 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2799 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2800 | else | 
|---|
 | 2801 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2802 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2803 | fi | 
|---|
 | 2804 |  | 
|---|
 | 2805 | fi | 
|---|
 | 2806 | if test -z "$CC"; then | 
|---|
 | 2807 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2808 |   for ac_prog in cl | 
|---|
 | 2809 |   do | 
|---|
 | 2810 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 2811 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 2812 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2813 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2814 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2815 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2816 | else | 
|---|
 | 2817 |   if test -n "$CC"; then | 
|---|
 | 2818 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2819 | else | 
|---|
 | 2820 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2821 | for as_dir in $PATH | 
|---|
 | 2822 | do | 
|---|
 | 2823 |   IFS=$as_save_IFS | 
|---|
 | 2824 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2825 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2826 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2827 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
 | 2828 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2829 |     break 2 | 
|---|
 | 2830 |   fi | 
|---|
 | 2831 | done | 
|---|
 | 2832 | done | 
|---|
 | 2833 |  | 
|---|
 | 2834 | fi | 
|---|
 | 2835 | fi | 
|---|
 | 2836 | CC=$ac_cv_prog_CC | 
|---|
 | 2837 | if test -n "$CC"; then | 
|---|
 | 2838 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2839 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2840 | else | 
|---|
 | 2841 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2842 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2843 | fi | 
|---|
 | 2844 |  | 
|---|
 | 2845 |     test -n "$CC" && break | 
|---|
 | 2846 |   done | 
|---|
 | 2847 | fi | 
|---|
 | 2848 | if test -z "$CC"; then | 
|---|
 | 2849 |   ac_ct_CC=$CC | 
|---|
 | 2850 |   for ac_prog in cl | 
|---|
 | 2851 | do | 
|---|
 | 2852 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 2853 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 2854 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2855 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2856 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2857 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2858 | else | 
|---|
 | 2859 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2860 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2861 | else | 
|---|
 | 2862 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2863 | for as_dir in $PATH | 
|---|
 | 2864 | do | 
|---|
 | 2865 |   IFS=$as_save_IFS | 
|---|
 | 2866 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2867 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2868 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2869 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
 | 2870 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2871 |     break 2 | 
|---|
 | 2872 |   fi | 
|---|
 | 2873 | done | 
|---|
 | 2874 | done | 
|---|
 | 2875 |  | 
|---|
 | 2876 | fi | 
|---|
 | 2877 | fi | 
|---|
 | 2878 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2879 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2880 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2881 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2882 | else | 
|---|
 | 2883 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2884 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2885 | fi | 
|---|
 | 2886 |  | 
|---|
 | 2887 |   test -n "$ac_ct_CC" && break | 
|---|
 | 2888 | done | 
|---|
 | 2889 |  | 
|---|
 | 2890 |   CC=$ac_ct_CC | 
|---|
 | 2891 | fi | 
|---|
 | 2892 |  | 
|---|
 | 2893 | fi | 
|---|
 | 2894 |  | 
|---|
 | 2895 |  | 
|---|
 | 2896 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2897 | See \`config.log' for more details." >&5 | 
|---|
 | 2898 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2899 | See \`config.log' for more details." >&2;} | 
|---|
 | 2900 |    { (exit 1); exit 1; }; } | 
|---|
 | 2901 |  | 
|---|
 | 2902 | # Provide some information about the compiler. | 
|---|
 | 2903 | echo "$as_me:$LINENO:" \ | 
|---|
 | 2904 |      "checking for C compiler version" >&5 | 
|---|
 | 2905 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 2906 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 2907 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
 | 2908 |   ac_status=$? | 
|---|
 | 2909 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2910 |   (exit $ac_status); } | 
|---|
 | 2911 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
 | 2912 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
 | 2913 |   ac_status=$? | 
|---|
 | 2914 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2915 |   (exit $ac_status); } | 
|---|
 | 2916 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 2917 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 2918 |   ac_status=$? | 
|---|
 | 2919 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2920 |   (exit $ac_status); } | 
|---|
 | 2921 |  | 
|---|
 | 2922 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
 | 2923 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
 | 2924 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
 | 2925 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2926 | else | 
|---|
 | 2927 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2928 | /* confdefs.h.  */ | 
|---|
 | 2929 | _ACEOF | 
|---|
 | 2930 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2931 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2932 | /* end confdefs.h.  */ | 
|---|
 | 2933 |  | 
|---|
 | 2934 | int | 
|---|
 | 2935 | main () | 
|---|
 | 2936 | { | 
|---|
 | 2937 | #ifndef __GNUC__ | 
|---|
 | 2938 |        choke me | 
|---|
 | 2939 | #endif | 
|---|
 | 2940 |  | 
|---|
 | 2941 |   ; | 
|---|
 | 2942 |   return 0; | 
|---|
 | 2943 | } | 
|---|
 | 2944 | _ACEOF | 
|---|
 | 2945 | rm -f conftest.$ac_objext | 
|---|
 | 2946 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2947 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2948 |   ac_status=$? | 
|---|
 | 2949 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2950 |   rm -f conftest.er1 | 
|---|
 | 2951 |   cat conftest.err >&5 | 
|---|
 | 2952 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2953 |   (exit $ac_status); } && | 
|---|
 | 2954 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 2955 |                          || test ! -s conftest.err' | 
|---|
 | 2956 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2957 |   (eval $ac_try) 2>&5 | 
|---|
 | 2958 |   ac_status=$? | 
|---|
 | 2959 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2960 |   (exit $ac_status); }; } && | 
|---|
 | 2961 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 2967 |   ac_compiler_gnu=yes | 
|---|
 | 2968 | else | 
|---|
 | 2969 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2970 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2971 |  | 
|---|
 | 2972 | ac_compiler_gnu=no | 
|---|
 | 2973 | fi | 
|---|
 | 2974 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2975 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2976 |  | 
|---|
 | 2977 | fi | 
|---|
 | 2978 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
 | 2979 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
 | 2980 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2981 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
 | 2982 | ac_save_CFLAGS=$CFLAGS | 
|---|
 | 2983 | CFLAGS="-g" | 
|---|
 | 2984 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
 | 2985 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
 | 2986 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
 | 2987 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2988 | else | 
|---|
 | 2989 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2990 | /* confdefs.h.  */ | 
|---|
 | 2991 | _ACEOF | 
|---|
 | 2992 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2993 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2994 | /* end confdefs.h.  */ | 
|---|
 | 2995 |  | 
|---|
 | 2996 | int | 
|---|
 | 2997 | main () | 
|---|
 | 2998 | { | 
|---|
 | 2999 |  | 
|---|
 | 3000 |   ; | 
|---|
 | 3001 |   return 0; | 
|---|
 | 3002 | } | 
|---|
 | 3003 | _ACEOF | 
|---|
 | 3004 | rm -f conftest.$ac_objext | 
|---|
 | 3005 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3006 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3007 |   ac_status=$? | 
|---|
 | 3008 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3009 |   rm -f conftest.er1 | 
|---|
 | 3010 |   cat conftest.err >&5 | 
|---|
 | 3011 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3012 |   (exit $ac_status); } && | 
|---|
 | 3013 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3014 |                          || test ! -s conftest.err' | 
|---|
 | 3015 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3016 |   (eval $ac_try) 2>&5 | 
|---|
 | 3017 |   ac_status=$? | 
|---|
 | 3018 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3019 |   (exit $ac_status); }; } && | 
|---|
 | 3020 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3026 |   ac_cv_prog_cc_g=yes | 
|---|
 | 3027 | else | 
|---|
 | 3028 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3029 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3030 |  | 
|---|
 | 3031 | ac_cv_prog_cc_g=no | 
|---|
 | 3032 | fi | 
|---|
 | 3033 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3034 | fi | 
|---|
 | 3035 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
 | 3036 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
 | 3037 | if test "$ac_test_CFLAGS" = set; then | 
|---|
 | 3038 |   CFLAGS=$ac_save_CFLAGS | 
|---|
 | 3039 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
 | 3040 |   if test "$GCC" = yes; then | 
|---|
 | 3041 |     CFLAGS="-g -O2" | 
|---|
 | 3042 |   else | 
|---|
 | 3043 |     CFLAGS="-g" | 
|---|
 | 3044 |   fi | 
|---|
 | 3045 | else | 
|---|
 | 3046 |   if test "$GCC" = yes; then | 
|---|
 | 3047 |     CFLAGS="-O2" | 
|---|
 | 3048 |   else | 
|---|
 | 3049 |     CFLAGS= | 
|---|
 | 3050 |   fi | 
|---|
 | 3051 | fi | 
|---|
 | 3052 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
 | 3053 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
 | 3054 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
 | 3055 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3056 | else | 
|---|
 | 3057 |   ac_cv_prog_cc_stdc=no | 
|---|
 | 3058 | ac_save_CC=$CC | 
|---|
 | 3059 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3060 | /* confdefs.h.  */ | 
|---|
 | 3061 | _ACEOF | 
|---|
 | 3062 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3063 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3064 | /* end confdefs.h.  */ | 
|---|
 | 3065 | #include <stdarg.h> | 
|---|
 | 3066 | #include <stdio.h> | 
|---|
 | 3067 | #include <sys/types.h> | 
|---|
 | 3068 | #include <sys/stat.h> | 
|---|
 | 3069 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
 | 3070 | struct buf { int x; }; | 
|---|
 | 3071 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
 | 3072 | static char *e (p, i) | 
|---|
 | 3073 |      char **p; | 
|---|
 | 3074 |      int i; | 
|---|
 | 3075 | { | 
|---|
 | 3076 |   return p[i]; | 
|---|
 | 3077 | } | 
|---|
 | 3078 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
 | 3079 | { | 
|---|
 | 3080 |   char *s; | 
|---|
 | 3081 |   va_list v; | 
|---|
 | 3082 |   va_start (v,p); | 
|---|
 | 3083 |   s = g (p, va_arg (v,int)); | 
|---|
 | 3084 |   va_end (v); | 
|---|
 | 3085 |   return s; | 
|---|
 | 3086 | } | 
|---|
 | 3087 |  | 
|---|
 | 3088 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
 | 3089 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
 | 3090 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
 | 3091 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
 | 3092 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
 | 3093 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
 | 3094 |    that's true only with -std1.  */ | 
|---|
 | 3095 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
 | 3096 |  | 
|---|
 | 3097 | int test (int i, double x); | 
|---|
 | 3098 | struct s1 {int (*f) (int a);}; | 
|---|
 | 3099 | struct s2 {int (*f) (double a);}; | 
|---|
 | 3100 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
 | 3101 | int argc; | 
|---|
 | 3102 | char **argv; | 
|---|
 | 3103 | int | 
|---|
 | 3104 | main () | 
|---|
 | 3105 | { | 
|---|
 | 3106 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
 | 3107 |   ; | 
|---|
 | 3108 |   return 0; | 
|---|
 | 3109 | } | 
|---|
 | 3110 | _ACEOF | 
|---|
 | 3111 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
 | 3112 | # breaks some systems' header files. | 
|---|
 | 3113 | # AIX                   -qlanglvl=ansi | 
|---|
 | 3114 | # Ultrix and OSF/1      -std1 | 
|---|
 | 3115 | # HP-UX 10.20 and later -Ae | 
|---|
 | 3116 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
 | 3117 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
 | 3118 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
 | 3119 | do | 
|---|
 | 3120 |   CC="$ac_save_CC $ac_arg" | 
|---|
 | 3121 |   rm -f conftest.$ac_objext | 
|---|
 | 3122 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3123 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3124 |   ac_status=$? | 
|---|
 | 3125 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3126 |   rm -f conftest.er1 | 
|---|
 | 3127 |   cat conftest.err >&5 | 
|---|
 | 3128 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3129 |   (exit $ac_status); } && | 
|---|
 | 3130 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3131 |                          || test ! -s conftest.err' | 
|---|
 | 3132 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3133 |   (eval $ac_try) 2>&5 | 
|---|
 | 3134 |   ac_status=$? | 
|---|
 | 3135 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3136 |   (exit $ac_status); }; } && | 
|---|
 | 3137 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3143 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
 | 3144 | break | 
|---|
 | 3145 | else | 
|---|
 | 3146 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3147 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3148 |  | 
|---|
 | 3149 | fi | 
|---|
 | 3150 | rm -f conftest.err conftest.$ac_objext | 
|---|
 | 3151 | done | 
|---|
 | 3152 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
 | 3153 | CC=$ac_save_CC | 
|---|
 | 3154 |  | 
|---|
 | 3155 | fi | 
|---|
 | 3156 |  | 
|---|
 | 3157 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
 | 3158 |   x|xno) | 
|---|
 | 3159 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
 | 3160 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
 | 3161 |   *) | 
|---|
 | 3162 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
 | 3163 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
 | 3164 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
 | 3165 | esac | 
|---|
 | 3166 |  | 
|---|
 | 3167 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
 | 3168 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
 | 3169 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
 | 3170 | # the declaration of exit, since it's the most demanding environment. | 
|---|
 | 3171 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3172 | #ifndef __cplusplus | 
|---|
 | 3173 |   choke me | 
|---|
 | 3174 | #endif | 
|---|
 | 3175 | _ACEOF | 
|---|
 | 3176 | rm -f conftest.$ac_objext | 
|---|
 | 3177 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3178 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3179 |   ac_status=$? | 
|---|
 | 3180 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3181 |   rm -f conftest.er1 | 
|---|
 | 3182 |   cat conftest.err >&5 | 
|---|
 | 3183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3184 |   (exit $ac_status); } && | 
|---|
 | 3185 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3186 |                          || test ! -s conftest.err' | 
|---|
 | 3187 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3188 |   (eval $ac_try) 2>&5 | 
|---|
 | 3189 |   ac_status=$? | 
|---|
 | 3190 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3191 |   (exit $ac_status); }; } && | 
|---|
 | 3192 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3198 |   for ac_declaration in \ | 
|---|
 | 3199 |    '' \ | 
|---|
 | 3200 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 3201 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 3202 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 3203 |    'extern "C" void exit (int);' \ | 
|---|
 | 3204 |    'void exit (int);' | 
|---|
 | 3205 | do | 
|---|
 | 3206 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3207 | /* confdefs.h.  */ | 
|---|
 | 3208 | _ACEOF | 
|---|
 | 3209 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3210 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3211 | /* end confdefs.h.  */ | 
|---|
 | 3212 | $ac_declaration | 
|---|
 | 3213 | #include <stdlib.h> | 
|---|
 | 3214 | int | 
|---|
 | 3215 | main () | 
|---|
 | 3216 | { | 
|---|
 | 3217 | exit (42); | 
|---|
 | 3218 |   ; | 
|---|
 | 3219 |   return 0; | 
|---|
 | 3220 | } | 
|---|
 | 3221 | _ACEOF | 
|---|
 | 3222 | rm -f conftest.$ac_objext | 
|---|
 | 3223 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3224 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3225 |   ac_status=$? | 
|---|
 | 3226 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3227 |   rm -f conftest.er1 | 
|---|
 | 3228 |   cat conftest.err >&5 | 
|---|
 | 3229 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3230 |   (exit $ac_status); } && | 
|---|
 | 3231 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3232 |                          || test ! -s conftest.err' | 
|---|
 | 3233 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3234 |   (eval $ac_try) 2>&5 | 
|---|
 | 3235 |   ac_status=$? | 
|---|
 | 3236 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3237 |   (exit $ac_status); }; } && | 
|---|
 | 3238 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3244 |   : | 
|---|
 | 3245 | else | 
|---|
 | 3246 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3247 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3248 |  | 
|---|
 | 3249 | continue | 
|---|
 | 3250 | fi | 
|---|
 | 3251 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3252 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3253 | /* confdefs.h.  */ | 
|---|
 | 3254 | _ACEOF | 
|---|
 | 3255 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3256 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3257 | /* end confdefs.h.  */ | 
|---|
 | 3258 | $ac_declaration | 
|---|
 | 3259 | int | 
|---|
 | 3260 | main () | 
|---|
 | 3261 | { | 
|---|
 | 3262 | exit (42); | 
|---|
 | 3263 |   ; | 
|---|
 | 3264 |   return 0; | 
|---|
 | 3265 | } | 
|---|
 | 3266 | _ACEOF | 
|---|
 | 3267 | rm -f conftest.$ac_objext | 
|---|
 | 3268 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3269 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3270 |   ac_status=$? | 
|---|
 | 3271 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3272 |   rm -f conftest.er1 | 
|---|
 | 3273 |   cat conftest.err >&5 | 
|---|
 | 3274 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3275 |   (exit $ac_status); } && | 
|---|
 | 3276 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3277 |                          || test ! -s conftest.err' | 
|---|
 | 3278 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3279 |   (eval $ac_try) 2>&5 | 
|---|
 | 3280 |   ac_status=$? | 
|---|
 | 3281 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3282 |   (exit $ac_status); }; } && | 
|---|
 | 3283 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3289 |   break | 
|---|
 | 3290 | else | 
|---|
 | 3291 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3292 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3293 |  | 
|---|
 | 3294 | fi | 
|---|
 | 3295 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3296 | done | 
|---|
 | 3297 | rm -f conftest* | 
|---|
 | 3298 | if test -n "$ac_declaration"; then | 
|---|
 | 3299 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 3300 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 3301 |   echo '#endif'             >>confdefs.h | 
|---|
 | 3302 | fi | 
|---|
 | 3303 |  | 
|---|
 | 3304 | else | 
|---|
 | 3305 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3306 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3307 |  | 
|---|
 | 3308 | fi | 
|---|
 | 3309 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3310 | ac_ext=c | 
|---|
 | 3311 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3312 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3313 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3314 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3315 |  | 
|---|
 | 3316 | depcc="$CC"   am_compiler_list= | 
|---|
 | 3317 |  | 
|---|
 | 3318 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 3319 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 3320 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
 | 3321 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3322 | else | 
|---|
 | 3323 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 3324 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 3325 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 3326 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 3327 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 3328 |   # in D'. | 
|---|
 | 3329 |   mkdir conftest.dir | 
|---|
 | 3330 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 3331 |   # using a relative directory. | 
|---|
 | 3332 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 3333 |   cd conftest.dir | 
|---|
 | 3334 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 3335 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 3336 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 3337 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 3338 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 3339 |   # directory. | 
|---|
 | 3340 |   mkdir sub | 
|---|
 | 3341 |  | 
|---|
 | 3342 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3343 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 3344 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 3345 |   fi | 
|---|
 | 3346 |   for depmode in $am_compiler_list; do | 
|---|
 | 3347 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 3348 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 3349 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 3350 |     # | 
|---|
 | 3351 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 3352 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 3353 |     # This happens at least with the AIX C compiler. | 
|---|
 | 3354 |     : > sub/conftest.c | 
|---|
 | 3355 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 3356 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 3357 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 3358 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 3359 |       touch sub/conftst$i.h | 
|---|
| [1956] | 3360 |     done | 
|---|
 | 3361 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 3362 |  | 
|---|
 | 3363 |     case $depmode in | 
|---|
 | 3364 |     nosideeffect) | 
|---|
 | 3365 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 3366 |       # only be used when explicitly requested | 
|---|
 | 3367 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 3368 |         continue | 
|---|
 | 3369 |       else | 
|---|
 | 3370 |         break | 
|---|
 | 3371 |       fi | 
|---|
 | 3372 |       ;; | 
|---|
 | 3373 |     none) break ;; | 
|---|
 | 3374 |     esac | 
|---|
 | 3375 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 3376 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 3377 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 3378 |     if depmode=$depmode \ | 
|---|
 | 3379 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 3380 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 3381 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 3382 |          >/dev/null 2>conftest.err && | 
|---|
 | 3383 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3384 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3385 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 3386 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 3387 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 3388 |       # that says an option was ignored or not supported. | 
|---|
 | 3389 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 3390 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 3391 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 3392 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 3393 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 3394 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 3395 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
 | 3396 |         break | 
|---|
 | 3397 |       fi | 
|---|
 | 3398 |     fi | 
|---|
 | 3399 |   done | 
|---|
 | 3400 |  | 
|---|
 | 3401 |   cd .. | 
|---|
 | 3402 |   rm -rf conftest.dir | 
|---|
 | 3403 | else | 
|---|
 | 3404 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3405 | fi | 
|---|
 | 3406 |  | 
|---|
 | 3407 | fi | 
|---|
 | 3408 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
 | 3409 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
 | 3410 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
 | 3411 |  | 
|---|
 | 3412 |  | 
|---|
 | 3413 |  | 
|---|
 | 3414 | if | 
|---|
 | 3415 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 3416 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
 | 3417 |   am__fastdepCC_TRUE= | 
|---|
 | 3418 |   am__fastdepCC_FALSE='#' | 
|---|
 | 3419 | else | 
|---|
 | 3420 |   am__fastdepCC_TRUE='#' | 
|---|
 | 3421 |   am__fastdepCC_FALSE= | 
|---|
 | 3422 | fi | 
|---|
 | 3423 |  | 
|---|
 | 3424 |  | 
|---|
 | 3425 |  | 
|---|
| [1971] | 3426 | ac_ext=c | 
|---|
 | 3427 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3428 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3429 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3430 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3431 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
 | 3432 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
 | 3433 | # On Suns, sometimes $CPP names a directory. | 
|---|
 | 3434 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
 | 3435 |   CPP= | 
|---|
 | 3436 | fi | 
|---|
 | 3437 | if test -z "$CPP"; then | 
|---|
 | 3438 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| [1956] | 3439 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3440 | else | 
|---|
| [1971] | 3441 |       # Double quotes because CPP needs to be expanded | 
|---|
 | 3442 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
 | 3443 |     do | 
|---|
 | 3444 |       ac_preproc_ok=false | 
|---|
 | 3445 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3446 | do | 
|---|
 | 3447 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3448 |   # with a fresh cross-compiler works. | 
|---|
 | 3449 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3450 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3451 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3452 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3453 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3454 | /* confdefs.h.  */ | 
|---|
 | 3455 | _ACEOF | 
|---|
 | 3456 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3457 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3458 | /* end confdefs.h.  */ | 
|---|
 | 3459 | #ifdef __STDC__ | 
|---|
 | 3460 | # include <limits.h> | 
|---|
 | 3461 | #else | 
|---|
 | 3462 | # include <assert.h> | 
|---|
 | 3463 | #endif | 
|---|
 | 3464 |                      Syntax error | 
|---|
 | 3465 | _ACEOF | 
|---|
 | 3466 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3467 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3468 |   ac_status=$? | 
|---|
 | 3469 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3470 |   rm -f conftest.er1 | 
|---|
 | 3471 |   cat conftest.err >&5 | 
|---|
 | 3472 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3473 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3474 |   if test -s conftest.err; then | 
|---|
 | 3475 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3476 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3477 |   else | 
|---|
 | 3478 |     ac_cpp_err= | 
|---|
 | 3479 |   fi | 
|---|
 | 3480 | else | 
|---|
 | 3481 |   ac_cpp_err=yes | 
|---|
 | 3482 | fi | 
|---|
 | 3483 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3484 |   : | 
|---|
 | 3485 | else | 
|---|
 | 3486 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3487 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3488 |  | 
|---|
 | 3489 |   # Broken: fails on valid input. | 
|---|
 | 3490 | continue | 
|---|
 | 3491 | fi | 
|---|
 | 3492 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3493 |  | 
|---|
 | 3494 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3495 |   # can be detected and how. | 
|---|
 | 3496 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3497 | /* confdefs.h.  */ | 
|---|
 | 3498 | _ACEOF | 
|---|
 | 3499 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3500 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3501 | /* end confdefs.h.  */ | 
|---|
 | 3502 | #include <ac_nonexistent.h> | 
|---|
 | 3503 | _ACEOF | 
|---|
 | 3504 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3505 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3506 |   ac_status=$? | 
|---|
 | 3507 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3508 |   rm -f conftest.er1 | 
|---|
 | 3509 |   cat conftest.err >&5 | 
|---|
 | 3510 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3511 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3512 |   if test -s conftest.err; then | 
|---|
 | 3513 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3514 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3515 |   else | 
|---|
 | 3516 |     ac_cpp_err= | 
|---|
 | 3517 |   fi | 
|---|
 | 3518 | else | 
|---|
 | 3519 |   ac_cpp_err=yes | 
|---|
 | 3520 | fi | 
|---|
 | 3521 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3522 |   # Broken: success on invalid input. | 
|---|
 | 3523 | continue | 
|---|
 | 3524 | else | 
|---|
 | 3525 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3526 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3527 |  | 
|---|
 | 3528 |   # Passes both tests. | 
|---|
 | 3529 | ac_preproc_ok=: | 
|---|
 | 3530 | break | 
|---|
 | 3531 | fi | 
|---|
 | 3532 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3533 |  | 
|---|
 | 3534 | done | 
|---|
 | 3535 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3536 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3537 | if $ac_preproc_ok; then | 
|---|
 | 3538 |   break | 
|---|
 | 3539 | fi | 
|---|
 | 3540 |  | 
|---|
 | 3541 |     done | 
|---|
 | 3542 |     ac_cv_prog_CPP=$CPP | 
|---|
 | 3543 |  | 
|---|
 | 3544 | fi | 
|---|
 | 3545 |   CPP=$ac_cv_prog_CPP | 
|---|
 | 3546 | else | 
|---|
 | 3547 |   ac_cv_prog_CPP=$CPP | 
|---|
 | 3548 | fi | 
|---|
 | 3549 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
 | 3550 | echo "${ECHO_T}$CPP" >&6 | 
|---|
 | 3551 | ac_preproc_ok=false | 
|---|
 | 3552 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3553 | do | 
|---|
 | 3554 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3555 |   # with a fresh cross-compiler works. | 
|---|
 | 3556 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3557 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3558 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3559 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3560 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3561 | /* confdefs.h.  */ | 
|---|
 | 3562 | _ACEOF | 
|---|
 | 3563 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3564 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3565 | /* end confdefs.h.  */ | 
|---|
 | 3566 | #ifdef __STDC__ | 
|---|
 | 3567 | # include <limits.h> | 
|---|
 | 3568 | #else | 
|---|
 | 3569 | # include <assert.h> | 
|---|
 | 3570 | #endif | 
|---|
 | 3571 |                      Syntax error | 
|---|
 | 3572 | _ACEOF | 
|---|
 | 3573 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3574 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3575 |   ac_status=$? | 
|---|
 | 3576 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3577 |   rm -f conftest.er1 | 
|---|
 | 3578 |   cat conftest.err >&5 | 
|---|
 | 3579 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3580 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3581 |   if test -s conftest.err; then | 
|---|
 | 3582 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3583 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3584 |   else | 
|---|
 | 3585 |     ac_cpp_err= | 
|---|
 | 3586 |   fi | 
|---|
 | 3587 | else | 
|---|
 | 3588 |   ac_cpp_err=yes | 
|---|
 | 3589 | fi | 
|---|
 | 3590 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3591 |   : | 
|---|
 | 3592 | else | 
|---|
 | 3593 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3594 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3595 |  | 
|---|
 | 3596 |   # Broken: fails on valid input. | 
|---|
 | 3597 | continue | 
|---|
 | 3598 | fi | 
|---|
 | 3599 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3600 |  | 
|---|
 | 3601 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3602 |   # can be detected and how. | 
|---|
 | 3603 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3604 | /* confdefs.h.  */ | 
|---|
 | 3605 | _ACEOF | 
|---|
 | 3606 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3607 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3608 | /* end confdefs.h.  */ | 
|---|
 | 3609 | #include <ac_nonexistent.h> | 
|---|
 | 3610 | _ACEOF | 
|---|
 | 3611 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3612 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3613 |   ac_status=$? | 
|---|
 | 3614 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3615 |   rm -f conftest.er1 | 
|---|
 | 3616 |   cat conftest.err >&5 | 
|---|
 | 3617 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3618 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3619 |   if test -s conftest.err; then | 
|---|
 | 3620 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3621 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3622 |   else | 
|---|
 | 3623 |     ac_cpp_err= | 
|---|
 | 3624 |   fi | 
|---|
 | 3625 | else | 
|---|
 | 3626 |   ac_cpp_err=yes | 
|---|
 | 3627 | fi | 
|---|
 | 3628 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3629 |   # Broken: success on invalid input. | 
|---|
 | 3630 | continue | 
|---|
 | 3631 | else | 
|---|
 | 3632 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3633 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3634 |  | 
|---|
 | 3635 |   # Passes both tests. | 
|---|
 | 3636 | ac_preproc_ok=: | 
|---|
 | 3637 | break | 
|---|
 | 3638 | fi | 
|---|
 | 3639 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3640 |  | 
|---|
 | 3641 | done | 
|---|
 | 3642 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3643 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3644 | if $ac_preproc_ok; then | 
|---|
 | 3645 |   : | 
|---|
 | 3646 | else | 
|---|
 | 3647 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3648 | See \`config.log' for more details." >&5 | 
|---|
 | 3649 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3650 | See \`config.log' for more details." >&2;} | 
|---|
 | 3651 |    { (exit 1); exit 1; }; } | 
|---|
 | 3652 | fi | 
|---|
 | 3653 |  | 
|---|
 | 3654 | ac_ext=c | 
|---|
 | 3655 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3656 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3657 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3658 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3659 |  | 
|---|
 | 3660 |  | 
|---|
 | 3661 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
 | 3662 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
 | 3663 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
 | 3664 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3665 | else | 
|---|
 | 3666 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
 | 3667 |     then ac_cv_prog_egrep='grep -E' | 
|---|
 | 3668 |     else ac_cv_prog_egrep='egrep' | 
|---|
 | 3669 |     fi | 
|---|
 | 3670 | fi | 
|---|
 | 3671 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
 | 3672 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
 | 3673 |  EGREP=$ac_cv_prog_egrep | 
|---|
 | 3674 |  | 
|---|
 | 3675 |  | 
|---|
 | 3676 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 3677 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 3678 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 3679 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3680 | else | 
|---|
 | 3681 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3682 | /* confdefs.h.  */ | 
|---|
 | 3683 | _ACEOF | 
|---|
 | 3684 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3685 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3686 | /* end confdefs.h.  */ | 
|---|
 | 3687 | #include <stdlib.h> | 
|---|
 | 3688 | #include <stdarg.h> | 
|---|
 | 3689 | #include <string.h> | 
|---|
 | 3690 | #include <float.h> | 
|---|
 | 3691 |  | 
|---|
 | 3692 | int | 
|---|
 | 3693 | main () | 
|---|
 | 3694 | { | 
|---|
 | 3695 |  | 
|---|
 | 3696 |   ; | 
|---|
 | 3697 |   return 0; | 
|---|
 | 3698 | } | 
|---|
 | 3699 | _ACEOF | 
|---|
 | 3700 | rm -f conftest.$ac_objext | 
|---|
 | 3701 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3702 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3703 |   ac_status=$? | 
|---|
 | 3704 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3705 |   rm -f conftest.er1 | 
|---|
 | 3706 |   cat conftest.err >&5 | 
|---|
 | 3707 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3708 |   (exit $ac_status); } && | 
|---|
 | 3709 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3710 |                          || test ! -s conftest.err' | 
|---|
 | 3711 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3712 |   (eval $ac_try) 2>&5 | 
|---|
 | 3713 |   ac_status=$? | 
|---|
 | 3714 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3715 |   (exit $ac_status); }; } && | 
|---|
 | 3716 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 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); }; }; then | 
|---|
 | 3722 |   ac_cv_header_stdc=yes | 
|---|
 | 3723 | else | 
|---|
 | 3724 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3725 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3726 |  | 
|---|
 | 3727 | ac_cv_header_stdc=no | 
|---|
 | 3728 | fi | 
|---|
 | 3729 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3730 |  | 
|---|
 | 3731 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3732 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 3733 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3734 | /* confdefs.h.  */ | 
|---|
 | 3735 | _ACEOF | 
|---|
 | 3736 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3737 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3738 | /* end confdefs.h.  */ | 
|---|
 | 3739 | #include <string.h> | 
|---|
 | 3740 |  | 
|---|
 | 3741 | _ACEOF | 
|---|
 | 3742 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3743 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 3744 |   : | 
|---|
 | 3745 | else | 
|---|
 | 3746 |   ac_cv_header_stdc=no | 
|---|
 | 3747 | fi | 
|---|
 | 3748 | rm -f conftest* | 
|---|
 | 3749 |  | 
|---|
 | 3750 | fi | 
|---|
 | 3751 |  | 
|---|
 | 3752 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3753 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 3754 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3755 | /* confdefs.h.  */ | 
|---|
 | 3756 | _ACEOF | 
|---|
 | 3757 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3758 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3759 | /* end confdefs.h.  */ | 
|---|
 | 3760 | #include <stdlib.h> | 
|---|
 | 3761 |  | 
|---|
 | 3762 | _ACEOF | 
|---|
 | 3763 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3764 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 3765 |   : | 
|---|
 | 3766 | else | 
|---|
 | 3767 |   ac_cv_header_stdc=no | 
|---|
 | 3768 | fi | 
|---|
 | 3769 | rm -f conftest* | 
|---|
 | 3770 |  | 
|---|
 | 3771 | fi | 
|---|
 | 3772 |  | 
|---|
 | 3773 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3774 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 3775 |   if test "$cross_compiling" = yes; then | 
|---|
 | 3776 |   : | 
|---|
 | 3777 | else | 
|---|
 | 3778 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3779 | /* confdefs.h.  */ | 
|---|
 | 3780 | _ACEOF | 
|---|
 | 3781 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3782 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3783 | /* end confdefs.h.  */ | 
|---|
 | 3784 | #include <ctype.h> | 
|---|
 | 3785 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 3786 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 3787 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 3788 | #else | 
|---|
 | 3789 | # define ISLOWER(c) \ | 
|---|
 | 3790 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 3791 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 3792 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 3793 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 3794 | #endif | 
|---|
 | 3795 |  | 
|---|
 | 3796 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 3797 | int | 
|---|
 | 3798 | main () | 
|---|
 | 3799 | { | 
|---|
 | 3800 |   int i; | 
|---|
 | 3801 |   for (i = 0; i < 256; i++) | 
|---|
 | 3802 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 3803 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 3804 |       exit(2); | 
|---|
 | 3805 |   exit (0); | 
|---|
 | 3806 | } | 
|---|
 | 3807 | _ACEOF | 
|---|
 | 3808 | rm -f conftest$ac_exeext | 
|---|
 | 3809 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 3810 |   (eval $ac_link) 2>&5 | 
|---|
 | 3811 |   ac_status=$? | 
|---|
 | 3812 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3813 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 3814 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3815 |   (eval $ac_try) 2>&5 | 
|---|
 | 3816 |   ac_status=$? | 
|---|
 | 3817 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3818 |   (exit $ac_status); }; }; then | 
|---|
 | 3819 |   : | 
|---|
 | 3820 | else | 
|---|
 | 3821 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 3822 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 3823 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3824 |  | 
|---|
 | 3825 | ( exit $ac_status ) | 
|---|
 | 3826 | ac_cv_header_stdc=no | 
|---|
 | 3827 | fi | 
|---|
 | 3828 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3829 | fi | 
|---|
 | 3830 | fi | 
|---|
 | 3831 | fi | 
|---|
 | 3832 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 3833 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 3834 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3835 |  | 
|---|
 | 3836 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 3837 | #define STDC_HEADERS 1 | 
|---|
 | 3838 | _ACEOF | 
|---|
 | 3839 |  | 
|---|
 | 3840 | fi | 
|---|
 | 3841 |  | 
|---|
 | 3842 |  | 
|---|
| [3100] | 3843 | ### CHECKING  OPTIONAT ARGUMENTS | 
|---|
| [3173] | 3844 | ## DEBUG-statement | 
|---|
 | 3845 | DEBUG=no | 
|---|
 | 3846 | echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 | 
|---|
 | 3847 | echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3848 | # Check whether --enable-debug or --disable-debug was given. | 
|---|
 | 3849 | if test "${enable_debug+set}" = set; then | 
|---|
 | 3850 |   enableval="$enable_debug" | 
|---|
| [3205] | 3851 |   DEBUG=$enableval | 
|---|
| [3173] | 3852 | fi; | 
|---|
 | 3853 |  | 
|---|
| [3205] | 3854 | if test "$DEBUG" = "no"; then | 
|---|
 | 3855 |         echo "no" | 
|---|
 | 3856 |         echo " -> Setting debuglevel to 1. Like this you can still see errors." | 
|---|
 | 3857 |         DEBUG=1 | 
|---|
 | 3858 | elif test "$DEBUG" = yes; then | 
|---|
 | 3859 |         echo "yes" | 
|---|
 | 3860 |         echo " -> Setting debuglevel to 3. HARD DEBUG MODE!!." | 
|---|
 | 3861 |         DEBUG=3 | 
|---|
 | 3862 | else | 
|---|
 | 3863 |         echo "yes set to $DEBUG" | 
|---|
 | 3864 | fi | 
|---|
 | 3865 |  | 
|---|
| [3173] | 3866 | cat >>confdefs.h <<_ACEOF | 
|---|
| [3205] | 3867 | #define DEBUG $DEBUG | 
|---|
| [3173] | 3868 | _ACEOF | 
|---|
 | 3869 |  | 
|---|
 | 3870 |  | 
|---|
 | 3871 |  | 
|---|
 | 3872 |  | 
|---|
| [3100] | 3873 | ## GTK-disabled | 
|---|
 | 3874 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
 | 3875 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3876 |  | 
|---|
 | 3877 | # Check whether --with-gtk or --without-gtk was given. | 
|---|
 | 3878 | if test "${with_gtk+set}" = set; then | 
|---|
 | 3879 |   withval="$with_gtk" | 
|---|
| [3100] | 3880 |   def_gtk=no | 
|---|
| [3205] | 3881 | else | 
|---|
 | 3882 |   def_gtk=yes | 
|---|
| [3100] | 3883 | fi; | 
|---|
 | 3884 | if test "$def_gtk" = yes; then | 
|---|
 | 3885 |   echo "yes" | 
|---|
 | 3886 | fi | 
|---|
 | 3887 | if test "$def_gtk" = no; then | 
|---|
 | 3888 |   echo "no" | 
|---|
 | 3889 | fi | 
|---|
| [3243] | 3890 |  | 
|---|
| [3271] | 3891 | ## gThread-disabled | 
|---|
 | 3892 | echo "$as_me:$LINENO: checking if gThread should be enabled" >&5 | 
|---|
 | 3893 | echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6 | 
|---|
 | 3894 |  | 
|---|
 | 3895 | # Check whether --with-gthread or --without-gthread was given. | 
|---|
 | 3896 | if test "${with_gthread+set}" = set; then | 
|---|
 | 3897 |   withval="$with_gthread" | 
|---|
 | 3898 |   def_gthread=no | 
|---|
 | 3899 | else | 
|---|
 | 3900 |   def_gthread=yes | 
|---|
 | 3901 | fi; | 
|---|
 | 3902 | if test "$def_gthread" = yes; then | 
|---|
 | 3903 |   echo "yes" | 
|---|
 | 3904 | fi | 
|---|
 | 3905 | if test "$def_gthread" = no; then | 
|---|
 | 3906 |   echo "no" | 
|---|
 | 3907 | fi | 
|---|
 | 3908 |  | 
|---|
| [3283] | 3909 | ## pthread-disabled | 
|---|
 | 3910 | echo "$as_me:$LINENO: checking if pthread should be enabled" >&5 | 
|---|
 | 3911 | echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6 | 
|---|
 | 3912 |  | 
|---|
 | 3913 | # Check whether --with-pthread or --without-pthread was given. | 
|---|
 | 3914 | if test "${with_pthread+set}" = set; then | 
|---|
 | 3915 |   withval="$with_pthread" | 
|---|
 | 3916 |   def_pthread=no | 
|---|
 | 3917 | else | 
|---|
 | 3918 |   def_pthread=yes | 
|---|
 | 3919 | fi; | 
|---|
 | 3920 | if test "$def_pthread" = yes; then | 
|---|
 | 3921 |   echo "yes" | 
|---|
 | 3922 | fi | 
|---|
 | 3923 | if test "$def_pthread" = no; then | 
|---|
 | 3924 |   echo "no" | 
|---|
 | 3925 | fi | 
|---|
 | 3926 |  | 
|---|
| [3243] | 3927 | ## libCurl disabled? | 
|---|
 | 3928 | echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 | 
|---|
 | 3929 | echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 | 
|---|
 | 3930 |  | 
|---|
 | 3931 | # Check whether --with-curl or --without-curl was given. | 
|---|
 | 3932 | if test "${with_curl+set}" = set; then | 
|---|
 | 3933 |   withval="$with_curl" | 
|---|
 | 3934 |   def_curl=no | 
|---|
 | 3935 | else | 
|---|
 | 3936 |   def_curl=yes | 
|---|
 | 3937 | fi; | 
|---|
 | 3938 | if test "$def_curl" = yes; then | 
|---|
 | 3939 |   echo "yes" | 
|---|
 | 3940 | fi | 
|---|
 | 3941 | if test "$def_curl" = no; then | 
|---|
 | 3942 |   echo "no" | 
|---|
 | 3943 | fi | 
|---|
 | 3944 |  | 
|---|
| [3140] | 3945 | ### SDL_image-disable | 
|---|
 | 3946 | def_sdl_image=yes | 
|---|
 | 3947 | echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 | 
|---|
 | 3948 | echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3949 |  | 
|---|
 | 3950 | # Check whether --with-sdl_image or --without-sdl_image was given. | 
|---|
 | 3951 | if test "${with_sdl_image+set}" = set; then | 
|---|
 | 3952 |   withval="$with_sdl_image" | 
|---|
| [3140] | 3953 |   def_sdl_image=no | 
|---|
 | 3954 | fi; | 
|---|
 | 3955 | if test "$def_sdl_image" = yes; then | 
|---|
 | 3956 |   echo "yes" | 
|---|
 | 3957 | fi | 
|---|
 | 3958 | if test "$def_sdl_image" = no; then | 
|---|
 | 3959 |   echo "no" | 
|---|
 | 3960 | fi | 
|---|
| [3100] | 3961 |  | 
|---|
| [3219] | 3962 |  | 
|---|
 | 3963 | ## PROGRAMM CHECKING | 
|---|
 | 3964 | # checking for Doxygen | 
|---|
 | 3965 | # Extract the first word of "doxygen", so it can be a program name with args. | 
|---|
 | 3966 | set dummy doxygen; ac_word=$2 | 
|---|
 | 3967 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 3968 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 3969 | if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
|---|
 | 3970 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3971 | else | 
|---|
 | 3972 |   case $DOXYGEN in | 
|---|
 | 3973 |   [\\/]* | ?:[\\/]*) | 
|---|
 | 3974 |   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
|---|
 | 3975 |   ;; | 
|---|
 | 3976 |   *) | 
|---|
 | 3977 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 3978 | for as_dir in $PATH | 
|---|
 | 3979 | do | 
|---|
 | 3980 |   IFS=$as_save_IFS | 
|---|
 | 3981 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 3982 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 3983 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 3984 |     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
|---|
 | 3985 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 3986 |     break 2 | 
|---|
 | 3987 |   fi | 
|---|
 | 3988 | done | 
|---|
 | 3989 | done | 
|---|
 | 3990 |  | 
|---|
 | 3991 |   ;; | 
|---|
 | 3992 | esac | 
|---|
 | 3993 | fi | 
|---|
 | 3994 | DOXYGEN=$ac_cv_path_DOXYGEN | 
|---|
 | 3995 |  | 
|---|
 | 3996 | if test -n "$DOXYGEN"; then | 
|---|
 | 3997 |   echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
|---|
 | 3998 | echo "${ECHO_T}$DOXYGEN" >&6 | 
|---|
 | 3999 | else | 
|---|
 | 4000 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 4001 | echo "${ECHO_T}no" >&6 | 
|---|
 | 4002 | fi | 
|---|
 | 4003 |  | 
|---|
 | 4004 |  | 
|---|
 | 4005 |  | 
|---|
 | 4006 | if test $DOXYGEN; then | 
|---|
 | 4007 |   DOXYGEN_TRUE= | 
|---|
 | 4008 |   DOXYGEN_FALSE='#' | 
|---|
 | 4009 | else | 
|---|
 | 4010 |   DOXYGEN_TRUE='#' | 
|---|
 | 4011 |   DOXYGEN_FALSE= | 
|---|
 | 4012 | fi | 
|---|
 | 4013 |  | 
|---|
 | 4014 |  | 
|---|
| [2925] | 4015 | ### CHECKING FOR SYSTEM ### | 
|---|
| [1971] | 4016 |  | 
|---|
| [2925] | 4017 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
 | 4018 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| [2980] | 4019 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
 | 4020 | case "$target" in | 
|---|
| [2925] | 4021 | ### WINDOWS ### | 
|---|
| [2980] | 4022 |   *-*-mingw32*) | 
|---|
| [2925] | 4023 | echo "mingw-WINDOWS detected" | 
|---|
| [1971] | 4024 |  | 
|---|
| [2925] | 4025 |     mingw="yes" | 
|---|
 | 4026 |     MSBITFIELDS="-mms-bitfields" | 
|---|
 | 4027 |     MWINDOWS="-mwindows" | 
|---|
| [1971] | 4028 |  | 
|---|
| [2925] | 4029 | # checking gl header | 
|---|
 | 4030 |         #done before loop | 
|---|
| [1971] | 4031 |  | 
|---|
| [2968] | 4032 | # checking gl header | 
|---|
| [2925] | 4033 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| [1971] | 4034 |  | 
|---|
 | 4035 |  | 
|---|
 | 4036 |  | 
|---|
 | 4037 |  | 
|---|
| [2925] | 4038 |  | 
|---|
 | 4039 |  | 
|---|
 | 4040 |  | 
|---|
 | 4041 |  | 
|---|
 | 4042 |  | 
|---|
| [1971] | 4043 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
 | 4044 |                   inttypes.h stdint.h unistd.h | 
|---|
 | 4045 | do | 
|---|
 | 4046 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4047 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4048 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4049 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4050 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4051 | else | 
|---|
 | 4052 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4053 | /* confdefs.h.  */ | 
|---|
 | 4054 | _ACEOF | 
|---|
 | 4055 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4056 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4057 | /* end confdefs.h.  */ | 
|---|
 | 4058 | $ac_includes_default | 
|---|
 | 4059 |  | 
|---|
 | 4060 | #include <$ac_header> | 
|---|
 | 4061 | _ACEOF | 
|---|
 | 4062 | rm -f conftest.$ac_objext | 
|---|
 | 4063 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4064 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4065 |   ac_status=$? | 
|---|
 | 4066 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4067 |   rm -f conftest.er1 | 
|---|
 | 4068 |   cat conftest.err >&5 | 
|---|
 | 4069 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4070 |   (exit $ac_status); } && | 
|---|
 | 4071 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4072 |                          || test ! -s conftest.err' | 
|---|
 | 4073 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4074 |   (eval $ac_try) 2>&5 | 
|---|
 | 4075 |   ac_status=$? | 
|---|
 | 4076 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4077 |   (exit $ac_status); }; } && | 
|---|
 | 4078 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4079 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4080 |   (eval $ac_try) 2>&5 | 
|---|
 | 4081 |   ac_status=$? | 
|---|
 | 4082 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4083 |   (exit $ac_status); }; }; then | 
|---|
 | 4084 |   eval "$as_ac_Header=yes" | 
|---|
 | 4085 | else | 
|---|
 | 4086 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4087 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4088 |  | 
|---|
 | 4089 | eval "$as_ac_Header=no" | 
|---|
 | 4090 | fi | 
|---|
 | 4091 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4092 | fi | 
|---|
 | 4093 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4094 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4095 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4096 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4097 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4098 | _ACEOF | 
|---|
 | 4099 |  | 
|---|
 | 4100 | fi | 
|---|
 | 4101 |  | 
|---|
 | 4102 | done | 
|---|
 | 4103 |  | 
|---|
 | 4104 |  | 
|---|
 | 4105 |  | 
|---|
| [2879] | 4106 | for ac_header in GL/gl.h | 
|---|
 | 4107 | do | 
|---|
 | 4108 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4109 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4110 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4111 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4112 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4113 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4114 | fi | 
|---|
 | 4115 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4116 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4117 | else | 
|---|
 | 4118 |   # Is the header compilable? | 
|---|
 | 4119 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4120 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4121 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4122 | /* confdefs.h.  */ | 
|---|
 | 4123 | _ACEOF | 
|---|
 | 4124 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4125 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4126 | /* end confdefs.h.  */ | 
|---|
 | 4127 | $ac_includes_default | 
|---|
 | 4128 | #include <$ac_header> | 
|---|
 | 4129 | _ACEOF | 
|---|
 | 4130 | rm -f conftest.$ac_objext | 
|---|
 | 4131 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4132 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4133 |   ac_status=$? | 
|---|
 | 4134 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4135 |   rm -f conftest.er1 | 
|---|
 | 4136 |   cat conftest.err >&5 | 
|---|
 | 4137 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4138 |   (exit $ac_status); } && | 
|---|
 | 4139 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4140 |                          || test ! -s conftest.err' | 
|---|
 | 4141 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4142 |   (eval $ac_try) 2>&5 | 
|---|
 | 4143 |   ac_status=$? | 
|---|
 | 4144 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4145 |   (exit $ac_status); }; } && | 
|---|
 | 4146 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4147 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4148 |   (eval $ac_try) 2>&5 | 
|---|
 | 4149 |   ac_status=$? | 
|---|
 | 4150 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4151 |   (exit $ac_status); }; }; then | 
|---|
 | 4152 |   ac_header_compiler=yes | 
|---|
 | 4153 | else | 
|---|
 | 4154 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4155 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4156 |  | 
|---|
 | 4157 | ac_header_compiler=no | 
|---|
 | 4158 | fi | 
|---|
 | 4159 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4160 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4161 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4162 |  | 
|---|
 | 4163 | # Is the header present? | 
|---|
 | 4164 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4165 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4166 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4167 | /* confdefs.h.  */ | 
|---|
 | 4168 | _ACEOF | 
|---|
 | 4169 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4170 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4171 | /* end confdefs.h.  */ | 
|---|
 | 4172 | #include <$ac_header> | 
|---|
 | 4173 | _ACEOF | 
|---|
 | 4174 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4175 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4176 |   ac_status=$? | 
|---|
 | 4177 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4178 |   rm -f conftest.er1 | 
|---|
 | 4179 |   cat conftest.err >&5 | 
|---|
 | 4180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4181 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4182 |   if test -s conftest.err; then | 
|---|
 | 4183 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4184 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4185 |   else | 
|---|
 | 4186 |     ac_cpp_err= | 
|---|
 | 4187 |   fi | 
|---|
 | 4188 | else | 
|---|
 | 4189 |   ac_cpp_err=yes | 
|---|
 | 4190 | fi | 
|---|
 | 4191 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4192 |   ac_header_preproc=yes | 
|---|
 | 4193 | else | 
|---|
 | 4194 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4195 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4196 |  | 
|---|
 | 4197 |   ac_header_preproc=no | 
|---|
 | 4198 | fi | 
|---|
 | 4199 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4200 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4201 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4202 |  | 
|---|
 | 4203 | # So?  What about this header? | 
|---|
 | 4204 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4205 |   yes:no: ) | 
|---|
 | 4206 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4207 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4208 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4209 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4210 |     ac_header_preproc=yes | 
|---|
 | 4211 |     ;; | 
|---|
 | 4212 |   no:yes:* ) | 
|---|
 | 4213 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4214 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4215 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4216 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4217 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4218 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4219 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4220 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4221 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4222 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4223 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4224 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4225 |     ( | 
|---|
 | 4226 |       cat <<\_ASBOX | 
|---|
| [3240] | 4227 | ## ---------------------------------------------- ## | 
|---|
 | 4228 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4229 | ## ---------------------------------------------- ## | 
|---|
| [2879] | 4230 | _ASBOX | 
|---|
 | 4231 |     ) | | 
|---|
 | 4232 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4233 |     ;; | 
|---|
 | 4234 | esac | 
|---|
 | 4235 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4236 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4237 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4238 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4239 | else | 
|---|
 | 4240 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4241 | fi | 
|---|
 | 4242 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4243 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4244 |  | 
|---|
 | 4245 | fi | 
|---|
 | 4246 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4247 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4248 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4249 | _ACEOF | 
|---|
 | 4250 |  | 
|---|
 | 4251 | else | 
|---|
 | 4252 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4253 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4254 |    { (exit 1); exit 1; }; } | 
|---|
 | 4255 | fi | 
|---|
 | 4256 |  | 
|---|
 | 4257 | done | 
|---|
 | 4258 |  | 
|---|
| [2701] | 4259 | #   checking for Windows openGl library | 
|---|
| [1971] | 4260 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
 | 4261 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
 | 4262 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| [1959] | 4263 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4264 | else | 
|---|
 | 4265 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4266 | LIBS="-lopengl32  $LIBS" | 
|---|
 | 4267 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4268 | /* confdefs.h.  */ | 
|---|
| [1956] | 4269 | _ACEOF | 
|---|
| [1959] | 4270 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4271 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4272 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4273 |  | 
|---|
| [1971] | 4274 |  | 
|---|
| [1959] | 4275 | int | 
|---|
 | 4276 | main () | 
|---|
 | 4277 | { | 
|---|
| [1971] | 4278 | main (); | 
|---|
| [1959] | 4279 |   ; | 
|---|
 | 4280 |   return 0; | 
|---|
 | 4281 | } | 
|---|
 | 4282 | _ACEOF | 
|---|
 | 4283 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4284 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4285 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4286 |   ac_status=$? | 
|---|
 | 4287 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4288 |   rm -f conftest.er1 | 
|---|
 | 4289 |   cat conftest.err >&5 | 
|---|
 | 4290 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4291 |   (exit $ac_status); } && | 
|---|
 | 4292 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4293 |                          || test ! -s conftest.err' | 
|---|
 | 4294 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4295 |   (eval $ac_try) 2>&5 | 
|---|
 | 4296 |   ac_status=$? | 
|---|
 | 4297 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4298 |   (exit $ac_status); }; } && | 
|---|
 | 4299 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4300 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4301 |   (eval $ac_try) 2>&5 | 
|---|
 | 4302 |   ac_status=$? | 
|---|
 | 4303 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4304 |   (exit $ac_status); }; }; then | 
|---|
| [1971] | 4305 |   ac_cv_lib_opengl32_main=yes | 
|---|
| [1959] | 4306 | else | 
|---|
 | 4307 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4308 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4309 |  | 
|---|
| [1971] | 4310 | ac_cv_lib_opengl32_main=no | 
|---|
| [1956] | 4311 | fi | 
|---|
| [1959] | 4312 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4313 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4314 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4315 | fi | 
|---|
| [1971] | 4316 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
 | 4317 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
 | 4318 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
 | 4319 |   FOUND_opengl32=yes | 
|---|
 | 4320 | else | 
|---|
 | 4321 |   "gl/gl.h" | 
|---|
| [1959] | 4322 | fi | 
|---|
| [1956] | 4323 |  | 
|---|
| [1971] | 4324 |     if test "$FOUND_opengl32" = "yes" ; then | 
|---|
| [1959] | 4325 |         LIBS="$LIBS -lopengl32" | 
|---|
| [1971] | 4326 |     else | 
|---|
| [1959] | 4327 |          echo "------------------" | 
|---|
 | 4328 |          echo "opengl not found." | 
|---|
 | 4329 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 4330 |          echo "------------------" | 
|---|
 | 4331 |          exit -1 | 
|---|
 | 4332 |     fi | 
|---|
 | 4333 |  | 
|---|
| [2701] | 4334 | # cheking for GLU-header | 
|---|
| [1971] | 4335 |  | 
|---|
 | 4336 | for ac_header in GL/glu.h | 
|---|
 | 4337 | do | 
|---|
 | 4338 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4339 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4340 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4341 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4342 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4343 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4344 | fi | 
|---|
 | 4345 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4346 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4347 | else | 
|---|
 | 4348 |   # Is the header compilable? | 
|---|
 | 4349 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4350 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4351 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4352 | /* confdefs.h.  */ | 
|---|
 | 4353 | _ACEOF | 
|---|
 | 4354 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4355 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4356 | /* end confdefs.h.  */ | 
|---|
 | 4357 | $ac_includes_default | 
|---|
 | 4358 | #include <$ac_header> | 
|---|
 | 4359 | _ACEOF | 
|---|
 | 4360 | rm -f conftest.$ac_objext | 
|---|
 | 4361 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4362 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4363 |   ac_status=$? | 
|---|
 | 4364 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4365 |   rm -f conftest.er1 | 
|---|
 | 4366 |   cat conftest.err >&5 | 
|---|
 | 4367 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4368 |   (exit $ac_status); } && | 
|---|
 | 4369 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4370 |                          || test ! -s conftest.err' | 
|---|
 | 4371 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4372 |   (eval $ac_try) 2>&5 | 
|---|
 | 4373 |   ac_status=$? | 
|---|
 | 4374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4375 |   (exit $ac_status); }; } && | 
|---|
 | 4376 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4377 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4378 |   (eval $ac_try) 2>&5 | 
|---|
 | 4379 |   ac_status=$? | 
|---|
 | 4380 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4381 |   (exit $ac_status); }; }; then | 
|---|
 | 4382 |   ac_header_compiler=yes | 
|---|
 | 4383 | else | 
|---|
 | 4384 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4385 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4386 |  | 
|---|
 | 4387 | ac_header_compiler=no | 
|---|
 | 4388 | fi | 
|---|
 | 4389 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4390 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4391 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4392 |  | 
|---|
 | 4393 | # Is the header present? | 
|---|
 | 4394 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4395 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4396 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4397 | /* confdefs.h.  */ | 
|---|
 | 4398 | _ACEOF | 
|---|
 | 4399 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4400 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4401 | /* end confdefs.h.  */ | 
|---|
 | 4402 | #include <$ac_header> | 
|---|
 | 4403 | _ACEOF | 
|---|
 | 4404 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4405 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4406 |   ac_status=$? | 
|---|
 | 4407 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4408 |   rm -f conftest.er1 | 
|---|
 | 4409 |   cat conftest.err >&5 | 
|---|
 | 4410 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4411 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4412 |   if test -s conftest.err; then | 
|---|
 | 4413 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4414 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4415 |   else | 
|---|
 | 4416 |     ac_cpp_err= | 
|---|
 | 4417 |   fi | 
|---|
 | 4418 | else | 
|---|
 | 4419 |   ac_cpp_err=yes | 
|---|
 | 4420 | fi | 
|---|
 | 4421 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4422 |   ac_header_preproc=yes | 
|---|
 | 4423 | else | 
|---|
 | 4424 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4425 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4426 |  | 
|---|
 | 4427 |   ac_header_preproc=no | 
|---|
 | 4428 | fi | 
|---|
 | 4429 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4430 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4431 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4432 |  | 
|---|
 | 4433 | # So?  What about this header? | 
|---|
 | 4434 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4435 |   yes:no: ) | 
|---|
 | 4436 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4437 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4438 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4439 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4440 |     ac_header_preproc=yes | 
|---|
 | 4441 |     ;; | 
|---|
 | 4442 |   no:yes:* ) | 
|---|
 | 4443 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4444 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4445 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4446 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4447 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4448 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4449 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4450 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4451 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4452 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4453 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4454 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4455 |     ( | 
|---|
 | 4456 |       cat <<\_ASBOX | 
|---|
| [3240] | 4457 | ## ---------------------------------------------- ## | 
|---|
 | 4458 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4459 | ## ---------------------------------------------- ## | 
|---|
| [1971] | 4460 | _ASBOX | 
|---|
 | 4461 |     ) | | 
|---|
 | 4462 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4463 |     ;; | 
|---|
 | 4464 | esac | 
|---|
 | 4465 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4466 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4467 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4468 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4469 | else | 
|---|
 | 4470 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4471 | fi | 
|---|
 | 4472 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4473 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4474 |  | 
|---|
 | 4475 | fi | 
|---|
 | 4476 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4477 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4478 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4479 | _ACEOF | 
|---|
 | 4480 |  | 
|---|
 | 4481 | else | 
|---|
 | 4482 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4483 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4484 |    { (exit 1); exit 1; }; } | 
|---|
 | 4485 | fi | 
|---|
 | 4486 |  | 
|---|
 | 4487 | done | 
|---|
 | 4488 |  | 
|---|
 | 4489 |  | 
|---|
| [2701] | 4490 | # checking for libGLU | 
|---|
 | 4491 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
 | 4492 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
 | 4493 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| [1956] | 4494 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4495 | else | 
|---|
 | 4496 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4497 | LIBS="-lglu32  $LIBS" | 
|---|
| [1956] | 4498 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4499 | /* confdefs.h.  */ | 
|---|
 | 4500 | _ACEOF | 
|---|
 | 4501 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4502 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4503 | /* end confdefs.h.  */ | 
|---|
 | 4504 |  | 
|---|
| [2701] | 4505 |  | 
|---|
| [1956] | 4506 | int | 
|---|
 | 4507 | main () | 
|---|
 | 4508 | { | 
|---|
| [2701] | 4509 | main (); | 
|---|
| [1956] | 4510 |   ; | 
|---|
 | 4511 |   return 0; | 
|---|
 | 4512 | } | 
|---|
 | 4513 | _ACEOF | 
|---|
 | 4514 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4515 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4516 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4517 |   ac_status=$? | 
|---|
 | 4518 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4519 |   rm -f conftest.er1 | 
|---|
 | 4520 |   cat conftest.err >&5 | 
|---|
 | 4521 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4522 |   (exit $ac_status); } && | 
|---|
 | 4523 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4524 |                          || test ! -s conftest.err' | 
|---|
 | 4525 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4526 |   (eval $ac_try) 2>&5 | 
|---|
 | 4527 |   ac_status=$? | 
|---|
 | 4528 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4529 |   (exit $ac_status); }; } && | 
|---|
 | 4530 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4531 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4532 |   (eval $ac_try) 2>&5 | 
|---|
 | 4533 |   ac_status=$? | 
|---|
 | 4534 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4535 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4536 |   ac_cv_lib_glu32_main=yes | 
|---|
| [1956] | 4537 | else | 
|---|
 | 4538 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4539 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4540 |  | 
|---|
| [2701] | 4541 | ac_cv_lib_glu32_main=no | 
|---|
| [1956] | 4542 | fi | 
|---|
 | 4543 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4544 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4545 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4546 | fi | 
|---|
| [2701] | 4547 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
 | 4548 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
 | 4549 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
 | 4550 |   FOUND_glu32=yes | 
|---|
| [1959] | 4551 | fi | 
|---|
 | 4552 |  | 
|---|
| [2701] | 4553 |     if test "$FOUND_glu32" = "yes" ; then | 
|---|
 | 4554 |         LIBS="$LIBS -lGLU32" | 
|---|
 | 4555 |     else | 
|---|
 | 4556 |          echo "------------------" | 
|---|
 | 4557 |          echo "GLU library not found." | 
|---|
 | 4558 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 4559 |          echo "------------------" | 
|---|
 | 4560 |          exit -1 | 
|---|
 | 4561 |     fi | 
|---|
 | 4562 |  | 
|---|
 | 4563 | # checking for mingw32 | 
|---|
 | 4564 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
 | 4565 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
 | 4566 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| [1959] | 4567 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4568 | else | 
|---|
 | 4569 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4570 | LIBS="-lmingw32  $LIBS" | 
|---|
| [1959] | 4571 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4572 | /* confdefs.h.  */ | 
|---|
| [1956] | 4573 | _ACEOF | 
|---|
| [1959] | 4574 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4575 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4576 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4577 |  | 
|---|
| [1971] | 4578 |  | 
|---|
| [1959] | 4579 | int | 
|---|
 | 4580 | main () | 
|---|
 | 4581 | { | 
|---|
| [1971] | 4582 | main (); | 
|---|
| [1959] | 4583 |   ; | 
|---|
 | 4584 |   return 0; | 
|---|
 | 4585 | } | 
|---|
 | 4586 | _ACEOF | 
|---|
 | 4587 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4588 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4589 |   (eval $ac_link) 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); } && | 
|---|
 | 4596 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4597 |                          || test ! -s conftest.err' | 
|---|
 | 4598 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4599 |   (eval $ac_try) 2>&5 | 
|---|
 | 4600 |   ac_status=$? | 
|---|
 | 4601 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4602 |   (exit $ac_status); }; } && | 
|---|
 | 4603 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4604 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4605 |   (eval $ac_try) 2>&5 | 
|---|
 | 4606 |   ac_status=$? | 
|---|
 | 4607 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4608 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4609 |   ac_cv_lib_mingw32_main=yes | 
|---|
| [1959] | 4610 | else | 
|---|
 | 4611 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4612 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4613 |  | 
|---|
| [2701] | 4614 | ac_cv_lib_mingw32_main=no | 
|---|
| [1956] | 4615 | fi | 
|---|
| [1959] | 4616 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4617 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4618 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4619 | fi | 
|---|
| [2701] | 4620 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
 | 4621 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
 | 4622 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
 | 4623 |   FOUND_mingw32=yes | 
|---|
| [1959] | 4624 | fi | 
|---|
| [1956] | 4625 |  | 
|---|
| [2701] | 4626 |     if test $FOUND_mingw32 = "yes"; then | 
|---|
 | 4627 |         LIBS="$LIBS -lmingw32" | 
|---|
 | 4628 |     fi | 
|---|
| [2989] | 4629 | # checking for SDL-headers | 
|---|
| [1959] | 4630 |  | 
|---|
| [2989] | 4631 | for ac_header in SDL/SDL.h | 
|---|
 | 4632 | do | 
|---|
 | 4633 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4634 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4635 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4636 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4637 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4638 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4639 | fi | 
|---|
 | 4640 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4641 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4642 | else | 
|---|
 | 4643 |   # Is the header compilable? | 
|---|
 | 4644 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4645 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4646 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4647 | /* confdefs.h.  */ | 
|---|
 | 4648 | _ACEOF | 
|---|
 | 4649 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4650 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4651 | /* end confdefs.h.  */ | 
|---|
 | 4652 | $ac_includes_default | 
|---|
 | 4653 | #include <$ac_header> | 
|---|
 | 4654 | _ACEOF | 
|---|
 | 4655 | rm -f conftest.$ac_objext | 
|---|
 | 4656 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4657 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4658 |   ac_status=$? | 
|---|
 | 4659 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4660 |   rm -f conftest.er1 | 
|---|
 | 4661 |   cat conftest.err >&5 | 
|---|
 | 4662 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4663 |   (exit $ac_status); } && | 
|---|
 | 4664 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4665 |                          || test ! -s conftest.err' | 
|---|
 | 4666 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4667 |   (eval $ac_try) 2>&5 | 
|---|
 | 4668 |   ac_status=$? | 
|---|
 | 4669 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4670 |   (exit $ac_status); }; } && | 
|---|
 | 4671 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4672 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4673 |   (eval $ac_try) 2>&5 | 
|---|
 | 4674 |   ac_status=$? | 
|---|
 | 4675 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4676 |   (exit $ac_status); }; }; then | 
|---|
 | 4677 |   ac_header_compiler=yes | 
|---|
 | 4678 | else | 
|---|
 | 4679 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4680 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4681 |  | 
|---|
 | 4682 | ac_header_compiler=no | 
|---|
 | 4683 | fi | 
|---|
 | 4684 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4685 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4686 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4687 |  | 
|---|
 | 4688 | # Is the header present? | 
|---|
 | 4689 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4690 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4691 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4692 | /* confdefs.h.  */ | 
|---|
 | 4693 | _ACEOF | 
|---|
 | 4694 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4695 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4696 | /* end confdefs.h.  */ | 
|---|
 | 4697 | #include <$ac_header> | 
|---|
 | 4698 | _ACEOF | 
|---|
 | 4699 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4700 |   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then | 
|---|
 | 4707 |   if test -s conftest.err; then | 
|---|
 | 4708 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4709 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4710 |   else | 
|---|
 | 4711 |     ac_cpp_err= | 
|---|
 | 4712 |   fi | 
|---|
 | 4713 | else | 
|---|
 | 4714 |   ac_cpp_err=yes | 
|---|
 | 4715 | fi | 
|---|
 | 4716 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4717 |   ac_header_preproc=yes | 
|---|
 | 4718 | else | 
|---|
 | 4719 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4720 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4721 |  | 
|---|
 | 4722 |   ac_header_preproc=no | 
|---|
 | 4723 | fi | 
|---|
 | 4724 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4725 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4726 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4727 |  | 
|---|
 | 4728 | # So?  What about this header? | 
|---|
 | 4729 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4730 |   yes:no: ) | 
|---|
 | 4731 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4732 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4733 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4734 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4735 |     ac_header_preproc=yes | 
|---|
| [2701] | 4736 |     ;; | 
|---|
| [2989] | 4737 |   no:yes:* ) | 
|---|
 | 4738 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4739 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4740 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4741 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4742 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4743 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4744 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4745 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4746 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4747 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4748 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4749 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4750 |     ( | 
|---|
 | 4751 |       cat <<\_ASBOX | 
|---|
| [3240] | 4752 | ## ---------------------------------------------- ## | 
|---|
 | 4753 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4754 | ## ---------------------------------------------- ## | 
|---|
| [2989] | 4755 | _ASBOX | 
|---|
 | 4756 |     ) | | 
|---|
 | 4757 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4758 |     ;; | 
|---|
 | 4759 | esac | 
|---|
 | 4760 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4761 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4762 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4763 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4764 | else | 
|---|
 | 4765 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4766 | fi | 
|---|
 | 4767 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4768 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2701] | 4769 |  | 
|---|
| [2989] | 4770 | fi | 
|---|
 | 4771 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4772 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4773 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4774 | _ACEOF | 
|---|
 | 4775 |  | 
|---|
 | 4776 | else | 
|---|
 | 4777 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 4778 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 4779 |    { (exit 1); exit 1; }; } | 
|---|
 | 4780 | fi | 
|---|
 | 4781 |  | 
|---|
 | 4782 | done | 
|---|
 | 4783 |  | 
|---|
 | 4784 |  | 
|---|
 | 4785 | #checking for libSDL | 
|---|
 | 4786 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
 | 4787 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
 | 4788 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
 | 4789 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4790 | else | 
|---|
 | 4791 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4792 | LIBS="-lsdlmain  $LIBS" | 
|---|
 | 4793 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4794 | /* confdefs.h.  */ | 
|---|
 | 4795 | _ACEOF | 
|---|
 | 4796 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4797 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4798 | /* end confdefs.h.  */ | 
|---|
 | 4799 |  | 
|---|
 | 4800 |  | 
|---|
 | 4801 | int | 
|---|
 | 4802 | main () | 
|---|
 | 4803 | { | 
|---|
 | 4804 | main (); | 
|---|
 | 4805 |   ; | 
|---|
 | 4806 |   return 0; | 
|---|
 | 4807 | } | 
|---|
 | 4808 | _ACEOF | 
|---|
 | 4809 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4810 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4811 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4812 |   ac_status=$? | 
|---|
 | 4813 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4814 |   rm -f conftest.er1 | 
|---|
 | 4815 |   cat conftest.err >&5 | 
|---|
 | 4816 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4817 |   (exit $ac_status); } && | 
|---|
 | 4818 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4819 |                          || test ! -s conftest.err' | 
|---|
 | 4820 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4821 |   (eval $ac_try) 2>&5 | 
|---|
 | 4822 |   ac_status=$? | 
|---|
 | 4823 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4824 |   (exit $ac_status); }; } && | 
|---|
 | 4825 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4826 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4827 |   (eval $ac_try) 2>&5 | 
|---|
 | 4828 |   ac_status=$? | 
|---|
 | 4829 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4830 |   (exit $ac_status); }; }; then | 
|---|
 | 4831 |   ac_cv_lib_sdlmain_main=yes | 
|---|
 | 4832 | else | 
|---|
 | 4833 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4834 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4835 |  | 
|---|
 | 4836 | ac_cv_lib_sdlmain_main=no | 
|---|
 | 4837 | fi | 
|---|
 | 4838 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4839 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4840 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4841 | fi | 
|---|
 | 4842 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
 | 4843 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
 | 4844 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
 | 4845 |   FOUND_sdlmain=yes | 
|---|
 | 4846 | fi | 
|---|
 | 4847 |  | 
|---|
 | 4848 |     if test "$FOUND_sdlmain" = "yes" ; then | 
|---|
 | 4849 |        LIBS="$LIBS -lsdlmain" | 
|---|
 | 4850 |     else | 
|---|
 | 4851 |         echo "------------------" | 
|---|
 | 4852 |         echo "SDL library not found." | 
|---|
 | 4853 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 4854 |         echo "------------------" | 
|---|
 | 4855 |         exit 1 | 
|---|
 | 4856 |     fi | 
|---|
 | 4857 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
 | 4858 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
 | 4859 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
 | 4860 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4861 | else | 
|---|
 | 4862 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4863 | LIBS="-lsdl  $LIBS" | 
|---|
 | 4864 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4865 | /* confdefs.h.  */ | 
|---|
 | 4866 | _ACEOF | 
|---|
 | 4867 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4868 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4869 | /* end confdefs.h.  */ | 
|---|
 | 4870 |  | 
|---|
 | 4871 |  | 
|---|
 | 4872 | int | 
|---|
 | 4873 | main () | 
|---|
 | 4874 | { | 
|---|
 | 4875 | main (); | 
|---|
 | 4876 |   ; | 
|---|
 | 4877 |   return 0; | 
|---|
 | 4878 | } | 
|---|
 | 4879 | _ACEOF | 
|---|
 | 4880 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4881 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4882 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4883 |   ac_status=$? | 
|---|
 | 4884 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4885 |   rm -f conftest.er1 | 
|---|
 | 4886 |   cat conftest.err >&5 | 
|---|
 | 4887 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4888 |   (exit $ac_status); } && | 
|---|
 | 4889 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4890 |                          || test ! -s conftest.err' | 
|---|
 | 4891 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4892 |   (eval $ac_try) 2>&5 | 
|---|
 | 4893 |   ac_status=$? | 
|---|
 | 4894 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4895 |   (exit $ac_status); }; } && | 
|---|
 | 4896 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4897 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4898 |   (eval $ac_try) 2>&5 | 
|---|
 | 4899 |   ac_status=$? | 
|---|
 | 4900 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4901 |   (exit $ac_status); }; }; then | 
|---|
 | 4902 |   ac_cv_lib_sdl_main=yes | 
|---|
 | 4903 | else | 
|---|
 | 4904 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4905 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4906 |  | 
|---|
 | 4907 | ac_cv_lib_sdl_main=no | 
|---|
 | 4908 | fi | 
|---|
 | 4909 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4910 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4911 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4912 | fi | 
|---|
 | 4913 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
 | 4914 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
 | 4915 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
 | 4916 |   FOUND_sdl=yes | 
|---|
 | 4917 | fi | 
|---|
 | 4918 |  | 
|---|
 | 4919 |     if test "$FOUND_sdl" = "yes" ; then | 
|---|
 | 4920 |        LIBS="$LIBS -lsdl" | 
|---|
 | 4921 |     else | 
|---|
 | 4922 |         echo "------------------" | 
|---|
 | 4923 |         echo "SDL library not found." | 
|---|
 | 4924 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 4925 |         echo "------------------" | 
|---|
 | 4926 |         exit -1 | 
|---|
 | 4927 |     fi | 
|---|
 | 4928 |  | 
|---|
 | 4929 |     ;; | 
|---|
 | 4930 |  | 
|---|
| [2701] | 4931 | ### LINUX ### | 
|---|
| [2980] | 4932 |  *-*-linux*) | 
|---|
| [2701] | 4933 | echo "Linux detected" | 
|---|
| [1956] | 4934 |  | 
|---|
| [2701] | 4935 |  Linux="yes" | 
|---|
 | 4936 |  | 
|---|
| [3180] | 4937 | CPPFLAGS="-I/usr/X11R6/include" | 
|---|
 | 4938 | LDFLAGS="-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" | 
|---|
| [2968] | 4939 | # checking gl header | 
|---|
| [2701] | 4940 |  | 
|---|
| [2879] | 4941 | for ac_header in GL/gl.h | 
|---|
 | 4942 | do | 
|---|
 | 4943 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4944 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4945 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4946 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4947 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4948 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4949 | fi | 
|---|
 | 4950 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4951 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4952 | else | 
|---|
 | 4953 |   # Is the header compilable? | 
|---|
 | 4954 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4955 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4956 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4957 | /* confdefs.h.  */ | 
|---|
 | 4958 | _ACEOF | 
|---|
 | 4959 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4960 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4961 | /* end confdefs.h.  */ | 
|---|
 | 4962 | $ac_includes_default | 
|---|
 | 4963 | #include <$ac_header> | 
|---|
 | 4964 | _ACEOF | 
|---|
 | 4965 | rm -f conftest.$ac_objext | 
|---|
 | 4966 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4967 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4968 |   ac_status=$? | 
|---|
 | 4969 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4970 |   rm -f conftest.er1 | 
|---|
 | 4971 |   cat conftest.err >&5 | 
|---|
 | 4972 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4973 |   (exit $ac_status); } && | 
|---|
 | 4974 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4975 |                          || test ! -s conftest.err' | 
|---|
 | 4976 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4977 |   (eval $ac_try) 2>&5 | 
|---|
 | 4978 |   ac_status=$? | 
|---|
 | 4979 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4980 |   (exit $ac_status); }; } && | 
|---|
 | 4981 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4982 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4983 |   (eval $ac_try) 2>&5 | 
|---|
 | 4984 |   ac_status=$? | 
|---|
 | 4985 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4986 |   (exit $ac_status); }; }; then | 
|---|
 | 4987 |   ac_header_compiler=yes | 
|---|
 | 4988 | else | 
|---|
 | 4989 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4990 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4991 |  | 
|---|
 | 4992 | ac_header_compiler=no | 
|---|
 | 4993 | fi | 
|---|
 | 4994 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4995 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4996 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4997 |  | 
|---|
 | 4998 | # Is the header present? | 
|---|
 | 4999 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5000 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5001 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5002 | /* confdefs.h.  */ | 
|---|
 | 5003 | _ACEOF | 
|---|
 | 5004 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5005 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5006 | /* end confdefs.h.  */ | 
|---|
 | 5007 | #include <$ac_header> | 
|---|
 | 5008 | _ACEOF | 
|---|
 | 5009 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5010 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5011 |   ac_status=$? | 
|---|
 | 5012 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5013 |   rm -f conftest.er1 | 
|---|
 | 5014 |   cat conftest.err >&5 | 
|---|
 | 5015 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5016 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5017 |   if test -s conftest.err; then | 
|---|
 | 5018 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5019 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5020 |   else | 
|---|
 | 5021 |     ac_cpp_err= | 
|---|
 | 5022 |   fi | 
|---|
 | 5023 | else | 
|---|
 | 5024 |   ac_cpp_err=yes | 
|---|
 | 5025 | fi | 
|---|
 | 5026 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5027 |   ac_header_preproc=yes | 
|---|
 | 5028 | else | 
|---|
 | 5029 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5030 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5031 |  | 
|---|
 | 5032 |   ac_header_preproc=no | 
|---|
 | 5033 | fi | 
|---|
 | 5034 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5035 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5036 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5037 |  | 
|---|
 | 5038 | # So?  What about this header? | 
|---|
 | 5039 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5040 |   yes:no: ) | 
|---|
 | 5041 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5042 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5043 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5044 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5045 |     ac_header_preproc=yes | 
|---|
 | 5046 |     ;; | 
|---|
 | 5047 |   no:yes:* ) | 
|---|
 | 5048 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5049 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5050 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5051 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5052 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5053 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5054 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5055 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5056 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5057 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5058 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5059 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5060 |     ( | 
|---|
 | 5061 |       cat <<\_ASBOX | 
|---|
| [3240] | 5062 | ## ---------------------------------------------- ## | 
|---|
 | 5063 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5064 | ## ---------------------------------------------- ## | 
|---|
| [2879] | 5065 | _ASBOX | 
|---|
 | 5066 |     ) | | 
|---|
 | 5067 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5068 |     ;; | 
|---|
 | 5069 | esac | 
|---|
 | 5070 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5071 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5072 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5073 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5074 | else | 
|---|
 | 5075 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5076 | fi | 
|---|
 | 5077 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5078 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5079 |  | 
|---|
 | 5080 | fi | 
|---|
 | 5081 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5082 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5083 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5084 | _ACEOF | 
|---|
 | 5085 |  | 
|---|
 | 5086 | else | 
|---|
 | 5087 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5088 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5089 |    { (exit 1); exit 1; }; } | 
|---|
 | 5090 | fi | 
|---|
 | 5091 |  | 
|---|
 | 5092 | done | 
|---|
 | 5093 |  | 
|---|
 | 5094 |  | 
|---|
| [2701] | 5095 | #  checking for Unix GL | 
|---|
 | 5096 |    echo "$as_me:$LINENO: checking for main in -lGL" >&5 | 
|---|
 | 5097 | echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 | 
|---|
 | 5098 | if test "${ac_cv_lib_GL_main+set}" = set; then | 
|---|
| [1956] | 5099 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5100 | else | 
|---|
 | 5101 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 5102 | LIBS="-lGL  $LIBS" | 
|---|
| [1956] | 5103 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5104 | /* confdefs.h.  */ | 
|---|
 | 5105 | _ACEOF | 
|---|
 | 5106 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5107 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5108 | /* end confdefs.h.  */ | 
|---|
 | 5109 |  | 
|---|
 | 5110 |  | 
|---|
 | 5111 | int | 
|---|
 | 5112 | main () | 
|---|
 | 5113 | { | 
|---|
 | 5114 | main (); | 
|---|
 | 5115 |   ; | 
|---|
 | 5116 |   return 0; | 
|---|
 | 5117 | } | 
|---|
 | 5118 | _ACEOF | 
|---|
 | 5119 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5120 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5121 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5122 |   ac_status=$? | 
|---|
 | 5123 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5124 |   rm -f conftest.er1 | 
|---|
 | 5125 |   cat conftest.err >&5 | 
|---|
 | 5126 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5127 |   (exit $ac_status); } && | 
|---|
 | 5128 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5129 |                          || test ! -s conftest.err' | 
|---|
 | 5130 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5131 |   (eval $ac_try) 2>&5 | 
|---|
 | 5132 |   ac_status=$? | 
|---|
 | 5133 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5134 |   (exit $ac_status); }; } && | 
|---|
 | 5135 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5136 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5137 |   (eval $ac_try) 2>&5 | 
|---|
 | 5138 |   ac_status=$? | 
|---|
 | 5139 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5140 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 5141 |   ac_cv_lib_GL_main=yes | 
|---|
| [1956] | 5142 | else | 
|---|
 | 5143 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5144 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5145 |  | 
|---|
| [2701] | 5146 | ac_cv_lib_GL_main=no | 
|---|
| [1956] | 5147 | fi | 
|---|
 | 5148 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5149 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5150 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5151 | fi | 
|---|
| [2701] | 5152 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 | 
|---|
 | 5153 | echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 | 
|---|
 | 5154 | if test $ac_cv_lib_GL_main = yes; then | 
|---|
 | 5155 |   FOUND_GL=yes | 
|---|
 | 5156 | fi | 
|---|
 | 5157 |  | 
|---|
 | 5158 |    if test "$FOUND_GL" = "yes" ; then | 
|---|
 | 5159 |      LIBS="$LIBS -lGL" | 
|---|
 | 5160 |    else | 
|---|
 | 5161 |          echo "------------------" | 
|---|
 | 5162 |          echo "opengl not found." | 
|---|
 | 5163 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 5164 |          echo "------------------" | 
|---|
 | 5165 |          exit -1 | 
|---|
 | 5166 |    fi | 
|---|
 | 5167 |  | 
|---|
 | 5168 | # cheking for GLU-header | 
|---|
 | 5169 |  | 
|---|
 | 5170 | for ac_header in GL/glu.h | 
|---|
 | 5171 | do | 
|---|
 | 5172 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5173 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5174 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5175 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5176 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5177 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5178 | fi | 
|---|
 | 5179 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5180 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5181 | else | 
|---|
 | 5182 |   # Is the header compilable? | 
|---|
 | 5183 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5184 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5185 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5186 | /* confdefs.h.  */ | 
|---|
| [1956] | 5187 | _ACEOF | 
|---|
| [2701] | 5188 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5189 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5190 | /* end confdefs.h.  */ | 
|---|
 | 5191 | $ac_includes_default | 
|---|
 | 5192 | #include <$ac_header> | 
|---|
 | 5193 | _ACEOF | 
|---|
 | 5194 | rm -f conftest.$ac_objext | 
|---|
 | 5195 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5196 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5197 |   ac_status=$? | 
|---|
 | 5198 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5199 |   rm -f conftest.er1 | 
|---|
 | 5200 |   cat conftest.err >&5 | 
|---|
 | 5201 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5202 |   (exit $ac_status); } && | 
|---|
 | 5203 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5204 |                          || test ! -s conftest.err' | 
|---|
 | 5205 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5206 |   (eval $ac_try) 2>&5 | 
|---|
 | 5207 |   ac_status=$? | 
|---|
 | 5208 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5209 |   (exit $ac_status); }; } && | 
|---|
 | 5210 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5211 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5212 |   (eval $ac_try) 2>&5 | 
|---|
 | 5213 |   ac_status=$? | 
|---|
 | 5214 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5215 |   (exit $ac_status); }; }; then | 
|---|
 | 5216 |   ac_header_compiler=yes | 
|---|
 | 5217 | else | 
|---|
 | 5218 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5219 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5220 |  | 
|---|
| [2701] | 5221 | ac_header_compiler=no | 
|---|
 | 5222 | fi | 
|---|
 | 5223 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5224 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5225 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| [1956] | 5226 |  | 
|---|
| [2701] | 5227 | # Is the header present? | 
|---|
 | 5228 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5229 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5230 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5231 | /* confdefs.h.  */ | 
|---|
 | 5232 | _ACEOF | 
|---|
 | 5233 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5234 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5235 | /* end confdefs.h.  */ | 
|---|
 | 5236 | #include <$ac_header> | 
|---|
 | 5237 | _ACEOF | 
|---|
 | 5238 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5239 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5240 |   ac_status=$? | 
|---|
 | 5241 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5242 |   rm -f conftest.er1 | 
|---|
 | 5243 |   cat conftest.err >&5 | 
|---|
 | 5244 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5245 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5246 |   if test -s conftest.err; then | 
|---|
 | 5247 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5248 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5249 |   else | 
|---|
 | 5250 |     ac_cpp_err= | 
|---|
 | 5251 |   fi | 
|---|
 | 5252 | else | 
|---|
 | 5253 |   ac_cpp_err=yes | 
|---|
| [1956] | 5254 | fi | 
|---|
| [2701] | 5255 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5256 |   ac_header_preproc=yes | 
|---|
 | 5257 | else | 
|---|
 | 5258 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5259 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5260 |  | 
|---|
| [2701] | 5261 |   ac_header_preproc=no | 
|---|
 | 5262 | fi | 
|---|
 | 5263 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5264 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5265 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| [1956] | 5266 |  | 
|---|
| [2701] | 5267 | # So?  What about this header? | 
|---|
 | 5268 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5269 |   yes:no: ) | 
|---|
 | 5270 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5271 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5272 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5273 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5274 |     ac_header_preproc=yes | 
|---|
 | 5275 |     ;; | 
|---|
 | 5276 |   no:yes:* ) | 
|---|
 | 5277 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5278 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5279 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5280 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5281 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5282 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5283 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5284 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5285 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5286 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5287 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5288 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5289 |     ( | 
|---|
 | 5290 |       cat <<\_ASBOX | 
|---|
| [3240] | 5291 | ## ---------------------------------------------- ## | 
|---|
 | 5292 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5293 | ## ---------------------------------------------- ## | 
|---|
| [2701] | 5294 | _ASBOX | 
|---|
 | 5295 |     ) | | 
|---|
 | 5296 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5297 |     ;; | 
|---|
 | 5298 | esac | 
|---|
 | 5299 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5300 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5301 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5302 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5303 | else | 
|---|
| [2701] | 5304 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5305 | fi | 
|---|
 | 5306 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5307 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5308 |  | 
|---|
 | 5309 | fi | 
|---|
 | 5310 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5311 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5312 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5313 | _ACEOF | 
|---|
 | 5314 |  | 
|---|
 | 5315 | else | 
|---|
 | 5316 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5317 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5318 |    { (exit 1); exit 1; }; } | 
|---|
 | 5319 | fi | 
|---|
 | 5320 |  | 
|---|
 | 5321 | done | 
|---|
 | 5322 |  | 
|---|
 | 5323 |  | 
|---|
 | 5324 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
 | 5325 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
 | 5326 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
 | 5327 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5328 | else | 
|---|
| [2190] | 5329 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 5330 | LIBS="-lGLU  $LIBS" | 
|---|
| [2190] | 5331 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5332 | /* confdefs.h.  */ | 
|---|
 | 5333 | _ACEOF | 
|---|
 | 5334 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5335 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5336 | /* end confdefs.h.  */ | 
|---|
 | 5337 |  | 
|---|
| [2701] | 5338 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 5339 | #ifdef __cplusplus | 
|---|
 | 5340 | extern "C" | 
|---|
 | 5341 | #endif | 
|---|
 | 5342 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 5343 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 5344 | char gluProject (); | 
|---|
| [2190] | 5345 | int | 
|---|
 | 5346 | main () | 
|---|
 | 5347 | { | 
|---|
| [2701] | 5348 | gluProject (); | 
|---|
| [2190] | 5349 |   ; | 
|---|
 | 5350 |   return 0; | 
|---|
 | 5351 | } | 
|---|
 | 5352 | _ACEOF | 
|---|
 | 5353 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5354 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5355 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5356 |   ac_status=$? | 
|---|
 | 5357 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5358 |   rm -f conftest.er1 | 
|---|
 | 5359 |   cat conftest.err >&5 | 
|---|
 | 5360 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5361 |   (exit $ac_status); } && | 
|---|
 | 5362 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5363 |                          || test ! -s conftest.err' | 
|---|
 | 5364 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5365 |   (eval $ac_try) 2>&5 | 
|---|
 | 5366 |   ac_status=$? | 
|---|
 | 5367 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5368 |   (exit $ac_status); }; } && | 
|---|
 | 5369 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5370 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5371 |   (eval $ac_try) 2>&5 | 
|---|
 | 5372 |   ac_status=$? | 
|---|
 | 5373 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5374 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 5375 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| [2190] | 5376 | else | 
|---|
 | 5377 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5378 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5379 |  | 
|---|
| [2701] | 5380 | ac_cv_lib_GLU_gluProject=no | 
|---|
| [2190] | 5381 | fi | 
|---|
 | 5382 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5383 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5384 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5385 | fi | 
|---|
| [2701] | 5386 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
 | 5387 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
 | 5388 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
 | 5389 |   FOUND_GLU=yes | 
|---|
| [2190] | 5390 | fi | 
|---|
 | 5391 |  | 
|---|
| [2701] | 5392 |     if test "$FOUND_GLU" = "yes" ; then | 
|---|
 | 5393 |       LIBS="$LIBS -lGLU" | 
|---|
 | 5394 |     else | 
|---|
 | 5395 |          echo "------------------" | 
|---|
 | 5396 |          echo "GLU library not found." | 
|---|
 | 5397 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 5398 |          echo "------------------" | 
|---|
 | 5399 |          exit -1 | 
|---|
 | 5400 |     fi | 
|---|
| [2995] | 5401 |  | 
|---|
| [2991] | 5402 | # checking for SDL-headers | 
|---|
| [2190] | 5403 |  | 
|---|
| [2991] | 5404 | for ac_header in SDL/SDL.h | 
|---|
 | 5405 | do | 
|---|
 | 5406 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5407 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5408 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5409 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5410 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5411 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5412 | fi | 
|---|
| [2991] | 5413 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5414 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2190] | 5415 | else | 
|---|
| [2991] | 5416 |   # Is the header compilable? | 
|---|
 | 5417 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5418 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5419 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5420 | /* confdefs.h.  */ | 
|---|
 | 5421 | _ACEOF | 
|---|
 | 5422 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5423 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5424 | /* end confdefs.h.  */ | 
|---|
| [2991] | 5425 | $ac_includes_default | 
|---|
 | 5426 | #include <$ac_header> | 
|---|
| [2190] | 5427 | _ACEOF | 
|---|
| [2991] | 5428 | rm -f conftest.$ac_objext | 
|---|
 | 5429 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5430 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| [2190] | 5431 |   ac_status=$? | 
|---|
| [2991] | 5432 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5433 |   rm -f conftest.er1 | 
|---|
 | 5434 |   cat conftest.err >&5 | 
|---|
| [2190] | 5435 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5436 |   (exit $ac_status); } && | 
|---|
 | 5437 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5438 |                          || test ! -s conftest.err' | 
|---|
| [2190] | 5439 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5440 |   (eval $ac_try) 2>&5 | 
|---|
 | 5441 |   ac_status=$? | 
|---|
 | 5442 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5443 |   (exit $ac_status); }; } && | 
|---|
 | 5444 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5445 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5446 |   (eval $ac_try) 2>&5 | 
|---|
 | 5447 |   ac_status=$? | 
|---|
 | 5448 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2190] | 5449 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5450 |   ac_header_compiler=yes | 
|---|
| [2190] | 5451 | else | 
|---|
| [2991] | 5452 |   echo "$as_me: failed program was:" >&5 | 
|---|
| [2190] | 5453 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5454 |  | 
|---|
| [2991] | 5455 | ac_header_compiler=no | 
|---|
| [2190] | 5456 | fi | 
|---|
| [2991] | 5457 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5458 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5459 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5460 |  | 
|---|
 | 5461 | # Is the header present? | 
|---|
 | 5462 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5463 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5464 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5465 | /* confdefs.h.  */ | 
|---|
 | 5466 | _ACEOF | 
|---|
 | 5467 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5468 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5469 | /* end confdefs.h.  */ | 
|---|
 | 5470 | #include <$ac_header> | 
|---|
 | 5471 | _ACEOF | 
|---|
 | 5472 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5473 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5474 |   ac_status=$? | 
|---|
 | 5475 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5476 |   rm -f conftest.er1 | 
|---|
 | 5477 |   cat conftest.err >&5 | 
|---|
 | 5478 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5479 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5480 |   if test -s conftest.err; then | 
|---|
 | 5481 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5482 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5483 |   else | 
|---|
 | 5484 |     ac_cpp_err= | 
|---|
 | 5485 |   fi | 
|---|
 | 5486 | else | 
|---|
 | 5487 |   ac_cpp_err=yes | 
|---|
| [2190] | 5488 | fi | 
|---|
| [2991] | 5489 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5490 |   ac_header_preproc=yes | 
|---|
 | 5491 | else | 
|---|
 | 5492 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5493 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5494 |  | 
|---|
 | 5495 |   ac_header_preproc=no | 
|---|
 | 5496 | fi | 
|---|
 | 5497 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5498 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5499 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5500 |  | 
|---|
 | 5501 | # So?  What about this header? | 
|---|
 | 5502 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5503 |   yes:no: ) | 
|---|
 | 5504 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5505 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5506 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5507 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5508 |     ac_header_preproc=yes | 
|---|
 | 5509 |     ;; | 
|---|
 | 5510 |   no:yes:* ) | 
|---|
 | 5511 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5512 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5513 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5514 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5515 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5516 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5517 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5518 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5519 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5520 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5521 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5522 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5523 |     ( | 
|---|
 | 5524 |       cat <<\_ASBOX | 
|---|
| [3240] | 5525 | ## ---------------------------------------------- ## | 
|---|
 | 5526 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5527 | ## ---------------------------------------------- ## | 
|---|
| [2991] | 5528 | _ASBOX | 
|---|
 | 5529 |     ) | | 
|---|
 | 5530 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5531 |     ;; | 
|---|
 | 5532 | esac | 
|---|
 | 5533 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5534 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5535 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5536 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5537 | else | 
|---|
 | 5538 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5539 | fi | 
|---|
 | 5540 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5541 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5542 |  | 
|---|
 | 5543 | fi | 
|---|
 | 5544 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5545 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5546 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5547 | _ACEOF | 
|---|
 | 5548 |  | 
|---|
 | 5549 | else | 
|---|
 | 5550 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 5551 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 5552 |    { (exit 1); exit 1; }; } | 
|---|
 | 5553 | fi | 
|---|
 | 5554 |  | 
|---|
 | 5555 | done | 
|---|
 | 5556 |  | 
|---|
 | 5557 |  | 
|---|
| [3140] | 5558 | # checking for SDL-lib | 
|---|
| [2991] | 5559 |     echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
 | 5560 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
 | 5561 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
 | 5562 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5563 | else | 
|---|
 | 5564 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 5565 | LIBS="-lSDL  $LIBS" | 
|---|
 | 5566 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5567 | /* confdefs.h.  */ | 
|---|
 | 5568 | _ACEOF | 
|---|
 | 5569 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5570 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5571 | /* end confdefs.h.  */ | 
|---|
 | 5572 |  | 
|---|
 | 5573 |  | 
|---|
 | 5574 | int | 
|---|
 | 5575 | main () | 
|---|
 | 5576 | { | 
|---|
| [2991] | 5577 | main (); | 
|---|
| [2190] | 5578 |   ; | 
|---|
 | 5579 |   return 0; | 
|---|
 | 5580 | } | 
|---|
 | 5581 | _ACEOF | 
|---|
 | 5582 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5583 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5584 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5585 |   ac_status=$? | 
|---|
 | 5586 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5587 |   rm -f conftest.er1 | 
|---|
 | 5588 |   cat conftest.err >&5 | 
|---|
 | 5589 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5590 |   (exit $ac_status); } && | 
|---|
 | 5591 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5592 |                          || test ! -s conftest.err' | 
|---|
 | 5593 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5594 |   (eval $ac_try) 2>&5 | 
|---|
 | 5595 |   ac_status=$? | 
|---|
 | 5596 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5597 |   (exit $ac_status); }; } && | 
|---|
 | 5598 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5599 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5600 |   (eval $ac_try) 2>&5 | 
|---|
 | 5601 |   ac_status=$? | 
|---|
 | 5602 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5603 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5604 |   ac_cv_lib_SDL_main=yes | 
|---|
| [2190] | 5605 | else | 
|---|
 | 5606 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5607 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5608 |  | 
|---|
| [2991] | 5609 | ac_cv_lib_SDL_main=no | 
|---|
| [2190] | 5610 | fi | 
|---|
 | 5611 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5612 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| [2991] | 5613 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5614 | fi | 
|---|
 | 5615 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
 | 5616 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
 | 5617 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
 | 5618 |   FOUND_SDL=yes | 
|---|
 | 5619 | fi | 
|---|
 | 5620 |  | 
|---|
 | 5621 |      if test "$FOUND_SDL" = "yes" ; then | 
|---|
 | 5622 |        LIBS="$LIBS -lSDL" | 
|---|
 | 5623 |      else | 
|---|
 | 5624 |         echo "------------------" | 
|---|
 | 5625 |         echo "SDL library not found." | 
|---|
 | 5626 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 5627 |         echo "------------------" | 
|---|
 | 5628 |         exit -1 | 
|---|
| [2980] | 5629 |      fi | 
|---|
| [2701] | 5630 |  | 
|---|
| [3140] | 5631 |  | 
|---|
| [2991] | 5632 | ## checking for SDL | 
|---|
 | 5633 | #    SDL_VERSION=1.2.7 | 
|---|
 | 5634 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 5635 | #      :, | 
|---|
 | 5636 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 5637 | #      ) | 
|---|
 | 5638 | #    CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 5639 | #    LIBS="$LIBS $SDL_LIBS" | 
|---|
| [2989] | 5640 |     ;; | 
|---|
| [2995] | 5641 |  | 
|---|
 | 5642 | ### OS X ### | 
|---|
 | 5643 |  *darwin*) | 
|---|
 | 5644 | echo "OS X detected" | 
|---|
 | 5645 |  | 
|---|
 | 5646 |  osX="yes" | 
|---|
 | 5647 |  | 
|---|
| [3140] | 5648 |  CPPFLAGS="-I/sw/include $CPPFLAGS" | 
|---|
| [2995] | 5649 | # checking gl header | 
|---|
 | 5650 |  | 
|---|
 | 5651 | for ac_header in OpenGL/gl.h | 
|---|
 | 5652 | do | 
|---|
 | 5653 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5654 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5655 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5656 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5657 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5658 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5659 | fi | 
|---|
 | 5660 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5661 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5662 | else | 
|---|
 | 5663 |   # Is the header compilable? | 
|---|
 | 5664 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5665 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5666 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5667 | /* confdefs.h.  */ | 
|---|
 | 5668 | _ACEOF | 
|---|
 | 5669 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5670 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5671 | /* end confdefs.h.  */ | 
|---|
 | 5672 | $ac_includes_default | 
|---|
 | 5673 | #include <$ac_header> | 
|---|
 | 5674 | _ACEOF | 
|---|
 | 5675 | rm -f conftest.$ac_objext | 
|---|
 | 5676 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5677 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5678 |   ac_status=$? | 
|---|
 | 5679 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5680 |   rm -f conftest.er1 | 
|---|
 | 5681 |   cat conftest.err >&5 | 
|---|
 | 5682 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5683 |   (exit $ac_status); } && | 
|---|
 | 5684 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5685 |                          || test ! -s conftest.err' | 
|---|
 | 5686 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5687 |   (eval $ac_try) 2>&5 | 
|---|
 | 5688 |   ac_status=$? | 
|---|
 | 5689 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5690 |   (exit $ac_status); }; } && | 
|---|
 | 5691 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5692 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5693 |   (eval $ac_try) 2>&5 | 
|---|
 | 5694 |   ac_status=$? | 
|---|
 | 5695 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5696 |   (exit $ac_status); }; }; then | 
|---|
 | 5697 |   ac_header_compiler=yes | 
|---|
 | 5698 | else | 
|---|
 | 5699 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5700 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5701 |  | 
|---|
 | 5702 | ac_header_compiler=no | 
|---|
 | 5703 | fi | 
|---|
 | 5704 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5705 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5706 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5707 |  | 
|---|
 | 5708 | # Is the header present? | 
|---|
 | 5709 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5710 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5711 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5712 | /* confdefs.h.  */ | 
|---|
 | 5713 | _ACEOF | 
|---|
 | 5714 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5715 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5716 | /* end confdefs.h.  */ | 
|---|
 | 5717 | #include <$ac_header> | 
|---|
 | 5718 | _ACEOF | 
|---|
 | 5719 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5720 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5721 |   ac_status=$? | 
|---|
 | 5722 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5723 |   rm -f conftest.er1 | 
|---|
 | 5724 |   cat conftest.err >&5 | 
|---|
 | 5725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5726 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5727 |   if test -s conftest.err; then | 
|---|
 | 5728 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5729 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5730 |   else | 
|---|
 | 5731 |     ac_cpp_err= | 
|---|
 | 5732 |   fi | 
|---|
 | 5733 | else | 
|---|
 | 5734 |   ac_cpp_err=yes | 
|---|
 | 5735 | fi | 
|---|
 | 5736 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5737 |   ac_header_preproc=yes | 
|---|
 | 5738 | else | 
|---|
 | 5739 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5740 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5741 |  | 
|---|
 | 5742 |   ac_header_preproc=no | 
|---|
 | 5743 | fi | 
|---|
 | 5744 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5745 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5746 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5747 |  | 
|---|
 | 5748 | # So?  What about this header? | 
|---|
 | 5749 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5750 |   yes:no: ) | 
|---|
 | 5751 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5752 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5753 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5754 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5755 |     ac_header_preproc=yes | 
|---|
 | 5756 |     ;; | 
|---|
 | 5757 |   no:yes:* ) | 
|---|
 | 5758 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5759 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5760 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5761 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5762 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5763 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5764 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5765 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5766 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5767 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5768 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5769 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5770 |     ( | 
|---|
 | 5771 |       cat <<\_ASBOX | 
|---|
| [3240] | 5772 | ## ---------------------------------------------- ## | 
|---|
 | 5773 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5774 | ## ---------------------------------------------- ## | 
|---|
| [2995] | 5775 | _ASBOX | 
|---|
 | 5776 |     ) | | 
|---|
 | 5777 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5778 |     ;; | 
|---|
 | 5779 | esac | 
|---|
 | 5780 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5781 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5782 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5783 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5784 | else | 
|---|
 | 5785 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5786 | fi | 
|---|
 | 5787 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5788 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5789 |  | 
|---|
 | 5790 | fi | 
|---|
 | 5791 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5792 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5793 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5794 | _ACEOF | 
|---|
 | 5795 |  | 
|---|
 | 5796 | else | 
|---|
 | 5797 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5798 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5799 |    { (exit 1); exit 1; }; } | 
|---|
 | 5800 | fi | 
|---|
 | 5801 |  | 
|---|
 | 5802 | done | 
|---|
 | 5803 |  | 
|---|
 | 5804 | # cheking for GLU-header | 
|---|
 | 5805 |  | 
|---|
 | 5806 | for ac_header in OpenGL/glu.h | 
|---|
 | 5807 | do | 
|---|
 | 5808 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5809 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5810 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5811 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5812 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5813 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5814 | fi | 
|---|
 | 5815 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5816 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5817 | else | 
|---|
 | 5818 |   # Is the header compilable? | 
|---|
 | 5819 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5820 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5821 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5822 | /* confdefs.h.  */ | 
|---|
 | 5823 | _ACEOF | 
|---|
 | 5824 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5825 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5826 | /* end confdefs.h.  */ | 
|---|
 | 5827 | $ac_includes_default | 
|---|
 | 5828 | #include <$ac_header> | 
|---|
 | 5829 | _ACEOF | 
|---|
 | 5830 | rm -f conftest.$ac_objext | 
|---|
 | 5831 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5832 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5833 |   ac_status=$? | 
|---|
 | 5834 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5835 |   rm -f conftest.er1 | 
|---|
 | 5836 |   cat conftest.err >&5 | 
|---|
 | 5837 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5838 |   (exit $ac_status); } && | 
|---|
 | 5839 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5840 |                          || test ! -s conftest.err' | 
|---|
 | 5841 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5842 |   (eval $ac_try) 2>&5 | 
|---|
 | 5843 |   ac_status=$? | 
|---|
 | 5844 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5845 |   (exit $ac_status); }; } && | 
|---|
 | 5846 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5847 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5848 |   (eval $ac_try) 2>&5 | 
|---|
 | 5849 |   ac_status=$? | 
|---|
 | 5850 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5851 |   (exit $ac_status); }; }; then | 
|---|
 | 5852 |   ac_header_compiler=yes | 
|---|
 | 5853 | else | 
|---|
 | 5854 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5855 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5856 |  | 
|---|
 | 5857 | ac_header_compiler=no | 
|---|
 | 5858 | fi | 
|---|
 | 5859 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5860 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5861 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5862 |  | 
|---|
 | 5863 | # Is the header present? | 
|---|
 | 5864 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5865 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5866 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5867 | /* confdefs.h.  */ | 
|---|
 | 5868 | _ACEOF | 
|---|
 | 5869 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5870 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5871 | /* end confdefs.h.  */ | 
|---|
 | 5872 | #include <$ac_header> | 
|---|
 | 5873 | _ACEOF | 
|---|
 | 5874 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5875 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5876 |   ac_status=$? | 
|---|
 | 5877 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5878 |   rm -f conftest.er1 | 
|---|
 | 5879 |   cat conftest.err >&5 | 
|---|
 | 5880 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5881 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5882 |   if test -s conftest.err; then | 
|---|
 | 5883 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5884 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5885 |   else | 
|---|
 | 5886 |     ac_cpp_err= | 
|---|
 | 5887 |   fi | 
|---|
 | 5888 | else | 
|---|
 | 5889 |   ac_cpp_err=yes | 
|---|
 | 5890 | fi | 
|---|
 | 5891 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5892 |   ac_header_preproc=yes | 
|---|
 | 5893 | else | 
|---|
 | 5894 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5895 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5896 |  | 
|---|
 | 5897 |   ac_header_preproc=no | 
|---|
 | 5898 | fi | 
|---|
 | 5899 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5900 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5901 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5902 |  | 
|---|
 | 5903 | # So?  What about this header? | 
|---|
 | 5904 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5905 |   yes:no: ) | 
|---|
 | 5906 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5907 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5908 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5909 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5910 |     ac_header_preproc=yes | 
|---|
 | 5911 |     ;; | 
|---|
 | 5912 |   no:yes:* ) | 
|---|
 | 5913 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5914 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5915 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5916 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5917 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5918 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5919 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5920 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5921 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5922 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5923 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5924 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5925 |     ( | 
|---|
 | 5926 |       cat <<\_ASBOX | 
|---|
| [3240] | 5927 | ## ---------------------------------------------- ## | 
|---|
 | 5928 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5929 | ## ---------------------------------------------- ## | 
|---|
| [2995] | 5930 | _ASBOX | 
|---|
 | 5931 |     ) | | 
|---|
 | 5932 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5933 |     ;; | 
|---|
 | 5934 | esac | 
|---|
 | 5935 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5936 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5937 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5938 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5939 | else | 
|---|
 | 5940 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5941 | fi | 
|---|
 | 5942 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5943 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5944 |  | 
|---|
 | 5945 | fi | 
|---|
 | 5946 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5947 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5948 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5949 | _ACEOF | 
|---|
 | 5950 |  | 
|---|
 | 5951 | else | 
|---|
 | 5952 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5953 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5954 |    { (exit 1); exit 1; }; } | 
|---|
 | 5955 | fi | 
|---|
 | 5956 |  | 
|---|
 | 5957 | done | 
|---|
 | 5958 |  | 
|---|
 | 5959 |  | 
|---|
 | 5960 |    LIBS="$LIBS -framework OpenGL" | 
|---|
 | 5961 |  | 
|---|
 | 5962 | # checking for SDL-headers | 
|---|
| [3001] | 5963 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
 | 5964 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| [2995] | 5965 |  | 
|---|
 | 5966 | ## checking for SDL | 
|---|
 | 5967 | #    SDL_VERSION=1.2.7 | 
|---|
 | 5968 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 5969 | #      :, | 
|---|
 | 5970 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 5971 | #      ) | 
|---|
 | 5972 |  | 
|---|
 | 5973 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
 | 5974 |        SDL_LIBS=`sdl-config --libs` | 
|---|
 | 5975 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 5976 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
| [3140] | 5977 |  | 
|---|
| [2995] | 5978 |     ;; | 
|---|
 | 5979 |  | 
|---|
| [2989] | 5980 |   *) | 
|---|
 | 5981 |     ;; | 
|---|
 | 5982 | esac | 
|---|
| [2980] | 5983 |  | 
|---|
| [2981] | 5984 |  | 
|---|
| [2989] | 5985 |  | 
|---|
| [3140] | 5986 | ## check for SDL_Image | 
|---|
 | 5987 | if test "$def_sdl_image" = "yes"; then | 
|---|
 | 5988 | # checking for SDL_image-headers | 
|---|
| [2989] | 5989 |  | 
|---|
| [3140] | 5990 | for ac_header in SDL/SDL_image.h | 
|---|
 | 5991 | do | 
|---|
 | 5992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5993 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5994 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5996 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5997 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5998 | fi | 
|---|
 | 5999 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6000 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6001 | else | 
|---|
 | 6002 |   # Is the header compilable? | 
|---|
 | 6003 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6004 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6005 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6006 | /* confdefs.h.  */ | 
|---|
 | 6007 | _ACEOF | 
|---|
 | 6008 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6009 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6010 | /* end confdefs.h.  */ | 
|---|
 | 6011 | $ac_includes_default | 
|---|
 | 6012 | #include <$ac_header> | 
|---|
 | 6013 | _ACEOF | 
|---|
 | 6014 | rm -f conftest.$ac_objext | 
|---|
 | 6015 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6016 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6017 |   ac_status=$? | 
|---|
 | 6018 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6019 |   rm -f conftest.er1 | 
|---|
 | 6020 |   cat conftest.err >&5 | 
|---|
 | 6021 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6022 |   (exit $ac_status); } && | 
|---|
 | 6023 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6024 |                          || test ! -s conftest.err' | 
|---|
 | 6025 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6026 |   (eval $ac_try) 2>&5 | 
|---|
 | 6027 |   ac_status=$? | 
|---|
 | 6028 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6029 |   (exit $ac_status); }; } && | 
|---|
 | 6030 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6031 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6032 |   (eval $ac_try) 2>&5 | 
|---|
 | 6033 |   ac_status=$? | 
|---|
 | 6034 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6035 |   (exit $ac_status); }; }; then | 
|---|
 | 6036 |   ac_header_compiler=yes | 
|---|
 | 6037 | else | 
|---|
 | 6038 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6039 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [2989] | 6040 |  | 
|---|
| [3140] | 6041 | ac_header_compiler=no | 
|---|
 | 6042 | fi | 
|---|
 | 6043 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6044 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6045 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| [2989] | 6046 |  | 
|---|
| [3140] | 6047 | # Is the header present? | 
|---|
 | 6048 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6049 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6050 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6051 | /* confdefs.h.  */ | 
|---|
 | 6052 | _ACEOF | 
|---|
 | 6053 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6054 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6055 | /* end confdefs.h.  */ | 
|---|
 | 6056 | #include <$ac_header> | 
|---|
 | 6057 | _ACEOF | 
|---|
 | 6058 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6059 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6060 |   ac_status=$? | 
|---|
 | 6061 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6062 |   rm -f conftest.er1 | 
|---|
 | 6063 |   cat conftest.err >&5 | 
|---|
 | 6064 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6065 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6066 |   if test -s conftest.err; then | 
|---|
 | 6067 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6068 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6069 |   else | 
|---|
 | 6070 |     ac_cpp_err= | 
|---|
 | 6071 |   fi | 
|---|
 | 6072 | else | 
|---|
 | 6073 |   ac_cpp_err=yes | 
|---|
 | 6074 | fi | 
|---|
 | 6075 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6076 |   ac_header_preproc=yes | 
|---|
 | 6077 | else | 
|---|
 | 6078 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6079 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6080 |  | 
|---|
 | 6081 |   ac_header_preproc=no | 
|---|
 | 6082 | fi | 
|---|
 | 6083 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6084 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6085 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6086 |  | 
|---|
 | 6087 | # So?  What about this header? | 
|---|
 | 6088 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6089 |   yes:no: ) | 
|---|
 | 6090 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6091 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6092 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6093 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6094 |     ac_header_preproc=yes | 
|---|
 | 6095 |     ;; | 
|---|
 | 6096 |   no:yes:* ) | 
|---|
 | 6097 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6098 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6099 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6100 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6101 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6102 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6103 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6104 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6105 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6106 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6107 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6108 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6109 |     ( | 
|---|
 | 6110 |       cat <<\_ASBOX | 
|---|
| [3240] | 6111 | ## ---------------------------------------------- ## | 
|---|
 | 6112 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6113 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6114 | _ASBOX | 
|---|
 | 6115 |     ) | | 
|---|
 | 6116 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6117 |     ;; | 
|---|
 | 6118 | esac | 
|---|
 | 6119 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6120 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6121 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6122 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6123 | else | 
|---|
 | 6124 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6125 | fi | 
|---|
 | 6126 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6127 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6128 |  | 
|---|
 | 6129 | fi | 
|---|
 | 6130 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6131 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6132 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6133 | _ACEOF | 
|---|
 | 6134 |  | 
|---|
 | 6135 | else | 
|---|
 | 6136 |   echo "sdl_image not found. falling back to other options"; def_sdl_image=no | 
|---|
 | 6137 | fi | 
|---|
 | 6138 |  | 
|---|
 | 6139 | done | 
|---|
 | 6140 |  | 
|---|
 | 6141 | fi | 
|---|
 | 6142 | if test "$def_sdl_image" = "yes"; then | 
|---|
 | 6143 | # checking for SDL_image-lib | 
|---|
 | 6144 |   echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | 
|---|
 | 6145 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 | 
|---|
 | 6146 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | 
|---|
 | 6147 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6148 | else | 
|---|
 | 6149 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6150 | LIBS="-lSDL_image  $LIBS" | 
|---|
 | 6151 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6152 | /* confdefs.h.  */ | 
|---|
 | 6153 | _ACEOF | 
|---|
 | 6154 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6155 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6156 | /* end confdefs.h.  */ | 
|---|
 | 6157 |  | 
|---|
 | 6158 |  | 
|---|
 | 6159 | int | 
|---|
 | 6160 | main () | 
|---|
 | 6161 | { | 
|---|
 | 6162 | main (); | 
|---|
 | 6163 |   ; | 
|---|
 | 6164 |   return 0; | 
|---|
 | 6165 | } | 
|---|
 | 6166 | _ACEOF | 
|---|
 | 6167 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6168 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6169 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6170 |   ac_status=$? | 
|---|
 | 6171 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6172 |   rm -f conftest.er1 | 
|---|
 | 6173 |   cat conftest.err >&5 | 
|---|
 | 6174 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6175 |   (exit $ac_status); } && | 
|---|
 | 6176 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6177 |                          || test ! -s conftest.err' | 
|---|
 | 6178 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6179 |   (eval $ac_try) 2>&5 | 
|---|
 | 6180 |   ac_status=$? | 
|---|
 | 6181 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6182 |   (exit $ac_status); }; } && | 
|---|
 | 6183 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6184 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6185 |   (eval $ac_try) 2>&5 | 
|---|
 | 6186 |   ac_status=$? | 
|---|
 | 6187 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6188 |   (exit $ac_status); }; }; then | 
|---|
 | 6189 |   ac_cv_lib_SDL_image_main=yes | 
|---|
 | 6190 | else | 
|---|
 | 6191 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6192 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6193 |  | 
|---|
 | 6194 | ac_cv_lib_SDL_image_main=no | 
|---|
 | 6195 | fi | 
|---|
 | 6196 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6197 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6198 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6199 | fi | 
|---|
 | 6200 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | 
|---|
 | 6201 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 | 
|---|
 | 6202 | if test $ac_cv_lib_SDL_image_main = yes; then | 
|---|
 | 6203 |   FOUND_SDL_image=yes | 
|---|
 | 6204 | fi | 
|---|
 | 6205 |  | 
|---|
 | 6206 |      if test "$FOUND_SDL_image" = "yes" ; then | 
|---|
 | 6207 |        LIBS="$LIBS -lSDL_image" | 
|---|
 | 6208 |      else | 
|---|
 | 6209 |         echo "------------------" | 
|---|
 | 6210 |         echo "SDL_image library not found." | 
|---|
 | 6211 |         echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" | 
|---|
 | 6212 |         echo "------------------" | 
|---|
 | 6213 |         exit -1 | 
|---|
 | 6214 |      fi | 
|---|
 | 6215 | fi | 
|---|
 | 6216 |  | 
|---|
 | 6217 |  | 
|---|
 | 6218 | if test "$def_sdl_image" = "no"; then | 
|---|
 | 6219 |  ## checking for libjpeg | 
|---|
 | 6220 |  | 
|---|
 | 6221 | for ac_header in jpeglib.h | 
|---|
 | 6222 | do | 
|---|
 | 6223 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6224 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6225 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6226 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6227 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6228 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6229 | fi | 
|---|
 | 6230 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6231 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6232 | else | 
|---|
 | 6233 |   # Is the header compilable? | 
|---|
 | 6234 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6235 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6236 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6237 | /* confdefs.h.  */ | 
|---|
 | 6238 | _ACEOF | 
|---|
 | 6239 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6240 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6241 | /* end confdefs.h.  */ | 
|---|
 | 6242 | $ac_includes_default | 
|---|
 | 6243 | #include <$ac_header> | 
|---|
 | 6244 | _ACEOF | 
|---|
 | 6245 | rm -f conftest.$ac_objext | 
|---|
 | 6246 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6247 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6248 |   ac_status=$? | 
|---|
 | 6249 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6250 |   rm -f conftest.er1 | 
|---|
 | 6251 |   cat conftest.err >&5 | 
|---|
 | 6252 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6253 |   (exit $ac_status); } && | 
|---|
 | 6254 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6255 |                          || test ! -s conftest.err' | 
|---|
 | 6256 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6257 |   (eval $ac_try) 2>&5 | 
|---|
 | 6258 |   ac_status=$? | 
|---|
 | 6259 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6260 |   (exit $ac_status); }; } && | 
|---|
 | 6261 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6262 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6263 |   (eval $ac_try) 2>&5 | 
|---|
 | 6264 |   ac_status=$? | 
|---|
 | 6265 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6266 |   (exit $ac_status); }; }; then | 
|---|
 | 6267 |   ac_header_compiler=yes | 
|---|
 | 6268 | else | 
|---|
 | 6269 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6270 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6271 |  | 
|---|
 | 6272 | ac_header_compiler=no | 
|---|
 | 6273 | fi | 
|---|
 | 6274 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6275 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6276 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6277 |  | 
|---|
 | 6278 | # Is the header present? | 
|---|
 | 6279 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6280 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6281 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6282 | /* confdefs.h.  */ | 
|---|
 | 6283 | _ACEOF | 
|---|
 | 6284 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6285 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6286 | /* end confdefs.h.  */ | 
|---|
 | 6287 | #include <$ac_header> | 
|---|
 | 6288 | _ACEOF | 
|---|
 | 6289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6290 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6291 |   ac_status=$? | 
|---|
 | 6292 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6293 |   rm -f conftest.er1 | 
|---|
 | 6294 |   cat conftest.err >&5 | 
|---|
 | 6295 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6296 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6297 |   if test -s conftest.err; then | 
|---|
 | 6298 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6299 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6300 |   else | 
|---|
 | 6301 |     ac_cpp_err= | 
|---|
 | 6302 |   fi | 
|---|
 | 6303 | else | 
|---|
 | 6304 |   ac_cpp_err=yes | 
|---|
 | 6305 | fi | 
|---|
 | 6306 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6307 |   ac_header_preproc=yes | 
|---|
 | 6308 | else | 
|---|
 | 6309 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6310 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6311 |  | 
|---|
 | 6312 |   ac_header_preproc=no | 
|---|
 | 6313 | fi | 
|---|
 | 6314 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6315 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6316 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6317 |  | 
|---|
 | 6318 | # So?  What about this header? | 
|---|
 | 6319 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6320 |   yes:no: ) | 
|---|
 | 6321 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6322 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6323 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6324 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6325 |     ac_header_preproc=yes | 
|---|
 | 6326 |     ;; | 
|---|
 | 6327 |   no:yes:* ) | 
|---|
 | 6328 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6329 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6330 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6331 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6332 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6333 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6334 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6335 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6336 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6337 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6338 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6339 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6340 |     ( | 
|---|
 | 6341 |       cat <<\_ASBOX | 
|---|
| [3240] | 6342 | ## ---------------------------------------------- ## | 
|---|
 | 6343 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6344 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6345 | _ASBOX | 
|---|
 | 6346 |     ) | | 
|---|
 | 6347 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6348 |     ;; | 
|---|
 | 6349 | esac | 
|---|
 | 6350 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6351 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6352 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6353 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6354 | else | 
|---|
 | 6355 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6356 | fi | 
|---|
 | 6357 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6358 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6359 |  | 
|---|
 | 6360 | fi | 
|---|
 | 6361 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6362 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6363 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6364 | _ACEOF | 
|---|
 | 6365 |  jpegHeader="yes" | 
|---|
 | 6366 | else | 
|---|
 | 6367 |   jpegHeader="no" | 
|---|
 | 6368 | fi | 
|---|
 | 6369 |  | 
|---|
 | 6370 | done | 
|---|
 | 6371 |  | 
|---|
 | 6372 |  if test $jpegHeader = "no"; then | 
|---|
 | 6373 |         echo " not including jpeg." | 
|---|
 | 6374 |  else | 
|---|
 | 6375 |   echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 | 
|---|
 | 6376 | echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 | 
|---|
 | 6377 | if test "${ac_cv_lib_jpeg_main+set}" = set; then | 
|---|
 | 6378 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6379 | else | 
|---|
 | 6380 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6381 | LIBS="-ljpeg  $LIBS" | 
|---|
 | 6382 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6383 | /* confdefs.h.  */ | 
|---|
 | 6384 | _ACEOF | 
|---|
 | 6385 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6386 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6387 | /* end confdefs.h.  */ | 
|---|
 | 6388 |  | 
|---|
 | 6389 |  | 
|---|
 | 6390 | int | 
|---|
 | 6391 | main () | 
|---|
 | 6392 | { | 
|---|
 | 6393 | main (); | 
|---|
 | 6394 |   ; | 
|---|
 | 6395 |   return 0; | 
|---|
 | 6396 | } | 
|---|
 | 6397 | _ACEOF | 
|---|
 | 6398 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6399 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6400 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6401 |   ac_status=$? | 
|---|
 | 6402 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6403 |   rm -f conftest.er1 | 
|---|
 | 6404 |   cat conftest.err >&5 | 
|---|
 | 6405 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6406 |   (exit $ac_status); } && | 
|---|
 | 6407 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6408 |                          || test ! -s conftest.err' | 
|---|
 | 6409 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6410 |   (eval $ac_try) 2>&5 | 
|---|
 | 6411 |   ac_status=$? | 
|---|
 | 6412 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6413 |   (exit $ac_status); }; } && | 
|---|
 | 6414 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6415 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6416 |   (eval $ac_try) 2>&5 | 
|---|
 | 6417 |   ac_status=$? | 
|---|
 | 6418 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6419 |   (exit $ac_status); }; }; then | 
|---|
 | 6420 |   ac_cv_lib_jpeg_main=yes | 
|---|
 | 6421 | else | 
|---|
 | 6422 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6423 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6424 |  | 
|---|
 | 6425 | ac_cv_lib_jpeg_main=no | 
|---|
 | 6426 | fi | 
|---|
 | 6427 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6428 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6429 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6430 | fi | 
|---|
 | 6431 | echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 | 
|---|
 | 6432 | echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6 | 
|---|
 | 6433 | if test $ac_cv_lib_jpeg_main = yes; then | 
|---|
 | 6434 |   FOUND_jpeg=yes | 
|---|
 | 6435 | fi | 
|---|
 | 6436 |  | 
|---|
 | 6437 |     if test "$FOUND_jpeg" = "yes" ; then | 
|---|
 | 6438 |       LIBS="$LIBS -ljpeg" | 
|---|
 | 6439 |     else | 
|---|
 | 6440 |          echo "------------------" | 
|---|
 | 6441 |          echo "jpeg library not found." | 
|---|
 | 6442 |          echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org" | 
|---|
 | 6443 |          echo "------------------" | 
|---|
 | 6444 |          exit -1 | 
|---|
 | 6445 |     fi | 
|---|
 | 6446 |  fi | 
|---|
 | 6447 |  | 
|---|
 | 6448 |  ## checking for libpng | 
|---|
 | 6449 |  | 
|---|
 | 6450 | for ac_header in png.h | 
|---|
 | 6451 | do | 
|---|
 | 6452 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6453 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6454 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6455 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6456 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6457 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6458 | fi | 
|---|
 | 6459 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6460 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6461 | else | 
|---|
 | 6462 |   # Is the header compilable? | 
|---|
 | 6463 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6464 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6465 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6466 | /* confdefs.h.  */ | 
|---|
 | 6467 | _ACEOF | 
|---|
 | 6468 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6469 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6470 | /* end confdefs.h.  */ | 
|---|
 | 6471 | $ac_includes_default | 
|---|
 | 6472 | #include <$ac_header> | 
|---|
 | 6473 | _ACEOF | 
|---|
 | 6474 | rm -f conftest.$ac_objext | 
|---|
 | 6475 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6476 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6477 |   ac_status=$? | 
|---|
 | 6478 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6479 |   rm -f conftest.er1 | 
|---|
 | 6480 |   cat conftest.err >&5 | 
|---|
 | 6481 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6482 |   (exit $ac_status); } && | 
|---|
 | 6483 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6484 |                          || test ! -s conftest.err' | 
|---|
 | 6485 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6486 |   (eval $ac_try) 2>&5 | 
|---|
 | 6487 |   ac_status=$? | 
|---|
 | 6488 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6489 |   (exit $ac_status); }; } && | 
|---|
 | 6490 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6491 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6492 |   (eval $ac_try) 2>&5 | 
|---|
 | 6493 |   ac_status=$? | 
|---|
 | 6494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6495 |   (exit $ac_status); }; }; then | 
|---|
 | 6496 |   ac_header_compiler=yes | 
|---|
 | 6497 | else | 
|---|
 | 6498 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6499 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6500 |  | 
|---|
 | 6501 | ac_header_compiler=no | 
|---|
 | 6502 | fi | 
|---|
 | 6503 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6504 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6505 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6506 |  | 
|---|
 | 6507 | # Is the header present? | 
|---|
 | 6508 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6509 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6510 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6511 | /* confdefs.h.  */ | 
|---|
 | 6512 | _ACEOF | 
|---|
 | 6513 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6514 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6515 | /* end confdefs.h.  */ | 
|---|
 | 6516 | #include <$ac_header> | 
|---|
 | 6517 | _ACEOF | 
|---|
 | 6518 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6519 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6520 |   ac_status=$? | 
|---|
 | 6521 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6522 |   rm -f conftest.er1 | 
|---|
 | 6523 |   cat conftest.err >&5 | 
|---|
 | 6524 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6525 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6526 |   if test -s conftest.err; then | 
|---|
 | 6527 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6528 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6529 |   else | 
|---|
 | 6530 |     ac_cpp_err= | 
|---|
 | 6531 |   fi | 
|---|
 | 6532 | else | 
|---|
 | 6533 |   ac_cpp_err=yes | 
|---|
 | 6534 | fi | 
|---|
 | 6535 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6536 |   ac_header_preproc=yes | 
|---|
 | 6537 | else | 
|---|
 | 6538 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6539 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6540 |  | 
|---|
 | 6541 |   ac_header_preproc=no | 
|---|
 | 6542 | fi | 
|---|
 | 6543 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6544 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6545 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6546 |  | 
|---|
 | 6547 | # So?  What about this header? | 
|---|
 | 6548 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6549 |   yes:no: ) | 
|---|
 | 6550 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6551 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6553 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6554 |     ac_header_preproc=yes | 
|---|
 | 6555 |     ;; | 
|---|
 | 6556 |   no:yes:* ) | 
|---|
 | 6557 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6558 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6559 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6560 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6561 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6562 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6563 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6564 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6565 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6566 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6567 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6568 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6569 |     ( | 
|---|
 | 6570 |       cat <<\_ASBOX | 
|---|
| [3240] | 6571 | ## ---------------------------------------------- ## | 
|---|
 | 6572 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6573 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6574 | _ASBOX | 
|---|
 | 6575 |     ) | | 
|---|
 | 6576 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6577 |     ;; | 
|---|
 | 6578 | esac | 
|---|
 | 6579 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6580 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6581 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6582 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6583 | else | 
|---|
 | 6584 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6585 | fi | 
|---|
 | 6586 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6587 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6588 |  | 
|---|
 | 6589 | fi | 
|---|
 | 6590 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6591 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6592 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6593 | _ACEOF | 
|---|
 | 6594 |  pngHeader="yes" | 
|---|
 | 6595 | else | 
|---|
 | 6596 |   pngHeader="no" | 
|---|
 | 6597 | fi | 
|---|
 | 6598 |  | 
|---|
 | 6599 | done | 
|---|
 | 6600 |  | 
|---|
 | 6601 |  if test $pngHeader = "no"; then | 
|---|
 | 6602 |         echo " not including png." | 
|---|
 | 6603 |  else | 
|---|
 | 6604 |   echo "$as_me:$LINENO: checking for main in -lpng" >&5 | 
|---|
 | 6605 | echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 | 
|---|
 | 6606 | if test "${ac_cv_lib_png_main+set}" = set; then | 
|---|
 | 6607 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6608 | else | 
|---|
 | 6609 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6610 | LIBS="-lpng  $LIBS" | 
|---|
 | 6611 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6612 | /* confdefs.h.  */ | 
|---|
 | 6613 | _ACEOF | 
|---|
 | 6614 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6615 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6616 | /* end confdefs.h.  */ | 
|---|
 | 6617 |  | 
|---|
 | 6618 |  | 
|---|
 | 6619 | int | 
|---|
 | 6620 | main () | 
|---|
 | 6621 | { | 
|---|
 | 6622 | main (); | 
|---|
 | 6623 |   ; | 
|---|
 | 6624 |   return 0; | 
|---|
 | 6625 | } | 
|---|
 | 6626 | _ACEOF | 
|---|
 | 6627 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6628 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6629 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6630 |   ac_status=$? | 
|---|
 | 6631 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6632 |   rm -f conftest.er1 | 
|---|
 | 6633 |   cat conftest.err >&5 | 
|---|
 | 6634 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6635 |   (exit $ac_status); } && | 
|---|
 | 6636 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6637 |                          || test ! -s conftest.err' | 
|---|
 | 6638 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6639 |   (eval $ac_try) 2>&5 | 
|---|
 | 6640 |   ac_status=$? | 
|---|
 | 6641 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6642 |   (exit $ac_status); }; } && | 
|---|
 | 6643 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6644 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6645 |   (eval $ac_try) 2>&5 | 
|---|
 | 6646 |   ac_status=$? | 
|---|
 | 6647 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6648 |   (exit $ac_status); }; }; then | 
|---|
 | 6649 |   ac_cv_lib_png_main=yes | 
|---|
 | 6650 | else | 
|---|
 | 6651 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6652 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6653 |  | 
|---|
 | 6654 | ac_cv_lib_png_main=no | 
|---|
 | 6655 | fi | 
|---|
 | 6656 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6657 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6658 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6659 | fi | 
|---|
 | 6660 | echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 | 
|---|
 | 6661 | echo "${ECHO_T}$ac_cv_lib_png_main" >&6 | 
|---|
 | 6662 | if test $ac_cv_lib_png_main = yes; then | 
|---|
 | 6663 |   FOUND_png=yes | 
|---|
 | 6664 | fi | 
|---|
 | 6665 |  | 
|---|
 | 6666 |     if test "$FOUND_png" = "yes" ; then | 
|---|
 | 6667 |       LIBS="$LIBS -lpng" | 
|---|
 | 6668 |     else | 
|---|
 | 6669 |          echo "------------------" | 
|---|
 | 6670 |          echo "png library not found." | 
|---|
 | 6671 |          echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html" | 
|---|
 | 6672 |          echo "------------------" | 
|---|
 | 6673 |          exit -1 | 
|---|
 | 6674 |     fi | 
|---|
 | 6675 |  fi | 
|---|
 | 6676 | fi | 
|---|
 | 6677 |  | 
|---|
| [2980] | 6678 | ## checking for GTK | 
|---|
| [3100] | 6679 | if test "$def_gtk" = yes; then | 
|---|
 | 6680 |  | 
|---|
 | 6681 |         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
 | 6682 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| [3099] | 6683 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| [3100] | 6684 |         if `pkg-config --exists gtk+-2.0`; then | 
|---|
 | 6685 |                 echo "yes" | 
|---|
 | 6686 |                 have_gtk2=yes | 
|---|
 | 6687 |                 GTK2_LIBS=`pkg-config --libs gtk+-2.0` | 
|---|
 | 6688 |                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` | 
|---|
| [3101] | 6689 |  | 
|---|
 | 6690 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6691 | #define HAVE_GTK2 1 | 
|---|
 | 6692 | _ACEOF | 
|---|
 | 6693 |  | 
|---|
| [3100] | 6694 |         else | 
|---|
 | 6695 |                 echo "no" | 
|---|
 | 6696 |         fi | 
|---|
 | 6697 |  | 
|---|
| [2980] | 6698 | fi | 
|---|
| [2190] | 6699 |  | 
|---|
| [2701] | 6700 |  | 
|---|
 | 6701 |  | 
|---|
| [2190] | 6702 |  | 
|---|
| [3100] | 6703 | if test x$have_gtk2 = xyes; then | 
|---|
| [2980] | 6704 |   HAVE_GTK2_TRUE= | 
|---|
 | 6705 |   HAVE_GTK2_FALSE='#' | 
|---|
 | 6706 | else | 
|---|
 | 6707 |   HAVE_GTK2_TRUE='#' | 
|---|
 | 6708 |   HAVE_GTK2_FALSE= | 
|---|
 | 6709 | fi | 
|---|
 | 6710 |  | 
|---|
 | 6711 |  | 
|---|
| [3271] | 6712 | ## checking for gThread | 
|---|
 | 6713 | if test "$def_gthread" = yes; then | 
|---|
 | 6714 |  | 
|---|
 | 6715 |         echo "$as_me:$LINENO: checking for gthread" >&5 | 
|---|
 | 6716 | echo $ECHO_N "checking for gthread... $ECHO_C" >&6 | 
|---|
 | 6717 |         if `pkg-config --exists gthread-2.0`; then | 
|---|
 | 6718 |                 echo "yes" | 
|---|
 | 6719 |                 have_gthread=yes | 
|---|
 | 6720 |                 GTHREAD_LIBS=`pkg-config --libs gthread-2.0` | 
|---|
 | 6721 |                 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0` | 
|---|
 | 6722 |  | 
|---|
 | 6723 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6724 | #define HAVE_GTHREAD 1 | 
|---|
 | 6725 | _ACEOF | 
|---|
 | 6726 |  | 
|---|
 | 6727 |         else | 
|---|
 | 6728 |                 echo "no" | 
|---|
 | 6729 |         fi | 
|---|
 | 6730 |  | 
|---|
 | 6731 | fi | 
|---|
 | 6732 |  | 
|---|
 | 6733 |  | 
|---|
 | 6734 |  | 
|---|
 | 6735 |  | 
|---|
 | 6736 | if test x$have_gthread = xyes; then | 
|---|
 | 6737 |   HAVE_GTHREAD_TRUE= | 
|---|
 | 6738 |   HAVE_GTHREAD_FALSE='#' | 
|---|
 | 6739 | else | 
|---|
 | 6740 |   HAVE_GTHREAD_TRUE='#' | 
|---|
 | 6741 |   HAVE_GTHREAD_FALSE= | 
|---|
 | 6742 | fi | 
|---|
 | 6743 |  | 
|---|
 | 6744 |  | 
|---|
| [3243] | 6745 | ## checking for libcURL | 
|---|
 | 6746 | if test "$def_curl" = yes; then | 
|---|
| [2980] | 6747 |  | 
|---|
| [3100] | 6748 |  | 
|---|
| [3243] | 6749 | for ac_header in curl/curl.h | 
|---|
 | 6750 | do | 
|---|
 | 6751 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6752 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6753 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6754 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6755 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6756 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6757 | fi | 
|---|
 | 6758 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6759 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6760 | else | 
|---|
 | 6761 |   # Is the header compilable? | 
|---|
 | 6762 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6763 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6764 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6765 | /* confdefs.h.  */ | 
|---|
 | 6766 | _ACEOF | 
|---|
 | 6767 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6768 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6769 | /* end confdefs.h.  */ | 
|---|
 | 6770 | $ac_includes_default | 
|---|
 | 6771 | #include <$ac_header> | 
|---|
 | 6772 | _ACEOF | 
|---|
 | 6773 | rm -f conftest.$ac_objext | 
|---|
 | 6774 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6775 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6776 |   ac_status=$? | 
|---|
 | 6777 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6778 |   rm -f conftest.er1 | 
|---|
 | 6779 |   cat conftest.err >&5 | 
|---|
 | 6780 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6781 |   (exit $ac_status); } && | 
|---|
 | 6782 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6783 |                          || test ! -s conftest.err' | 
|---|
 | 6784 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6785 |   (eval $ac_try) 2>&5 | 
|---|
 | 6786 |   ac_status=$? | 
|---|
 | 6787 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6788 |   (exit $ac_status); }; } && | 
|---|
 | 6789 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6790 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6791 |   (eval $ac_try) 2>&5 | 
|---|
 | 6792 |   ac_status=$? | 
|---|
 | 6793 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6794 |   (exit $ac_status); }; }; then | 
|---|
 | 6795 |   ac_header_compiler=yes | 
|---|
 | 6796 | else | 
|---|
 | 6797 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6798 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6799 |  | 
|---|
 | 6800 | ac_header_compiler=no | 
|---|
 | 6801 | fi | 
|---|
 | 6802 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6803 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6804 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6805 |  | 
|---|
 | 6806 | # Is the header present? | 
|---|
 | 6807 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6808 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6809 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6810 | /* confdefs.h.  */ | 
|---|
 | 6811 | _ACEOF | 
|---|
 | 6812 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6813 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6814 | /* end confdefs.h.  */ | 
|---|
 | 6815 | #include <$ac_header> | 
|---|
 | 6816 | _ACEOF | 
|---|
 | 6817 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6818 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6819 |   ac_status=$? | 
|---|
 | 6820 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6821 |   rm -f conftest.er1 | 
|---|
 | 6822 |   cat conftest.err >&5 | 
|---|
 | 6823 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6824 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6825 |   if test -s conftest.err; then | 
|---|
 | 6826 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6827 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6828 |   else | 
|---|
 | 6829 |     ac_cpp_err= | 
|---|
 | 6830 |   fi | 
|---|
 | 6831 | else | 
|---|
 | 6832 |   ac_cpp_err=yes | 
|---|
 | 6833 | fi | 
|---|
 | 6834 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6835 |   ac_header_preproc=yes | 
|---|
 | 6836 | else | 
|---|
 | 6837 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6838 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6839 |  | 
|---|
 | 6840 |   ac_header_preproc=no | 
|---|
 | 6841 | fi | 
|---|
 | 6842 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6843 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6844 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6845 |  | 
|---|
 | 6846 | # So?  What about this header? | 
|---|
 | 6847 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6848 |   yes:no: ) | 
|---|
 | 6849 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6850 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6851 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6852 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6853 |     ac_header_preproc=yes | 
|---|
 | 6854 |     ;; | 
|---|
 | 6855 |   no:yes:* ) | 
|---|
 | 6856 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6857 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6858 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6859 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6860 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6861 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6862 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6863 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6864 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6865 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6866 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6867 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6868 |     ( | 
|---|
 | 6869 |       cat <<\_ASBOX | 
|---|
 | 6870 | ## ---------------------------------------------- ## | 
|---|
 | 6871 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6872 | ## ---------------------------------------------- ## | 
|---|
 | 6873 | _ASBOX | 
|---|
 | 6874 |     ) | | 
|---|
 | 6875 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6876 |     ;; | 
|---|
 | 6877 | esac | 
|---|
 | 6878 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6879 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6880 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6881 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6882 | else | 
|---|
 | 6883 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6884 | fi | 
|---|
 | 6885 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6886 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6887 |  | 
|---|
 | 6888 | fi | 
|---|
 | 6889 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6890 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6891 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6892 | _ACEOF | 
|---|
 | 6893 |  curlHeader="yes" | 
|---|
 | 6894 | else | 
|---|
 | 6895 |   curlHeader="no" | 
|---|
 | 6896 | fi | 
|---|
 | 6897 |  | 
|---|
 | 6898 | done | 
|---|
 | 6899 |  | 
|---|
 | 6900 |  echo "$as_me:$LINENO: checking for main in -lcurl" >&5 | 
|---|
 | 6901 | echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 | 
|---|
 | 6902 | if test "${ac_cv_lib_curl_main+set}" = set; then | 
|---|
 | 6903 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6904 | else | 
|---|
 | 6905 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6906 | LIBS="-lcurl  $LIBS" | 
|---|
 | 6907 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6908 | /* confdefs.h.  */ | 
|---|
 | 6909 | _ACEOF | 
|---|
 | 6910 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6911 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6912 | /* end confdefs.h.  */ | 
|---|
 | 6913 |  | 
|---|
 | 6914 |  | 
|---|
 | 6915 | int | 
|---|
 | 6916 | main () | 
|---|
 | 6917 | { | 
|---|
 | 6918 | main (); | 
|---|
 | 6919 |   ; | 
|---|
 | 6920 |   return 0; | 
|---|
 | 6921 | } | 
|---|
 | 6922 | _ACEOF | 
|---|
 | 6923 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6924 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6925 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6926 |   ac_status=$? | 
|---|
 | 6927 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6928 |   rm -f conftest.er1 | 
|---|
 | 6929 |   cat conftest.err >&5 | 
|---|
 | 6930 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6931 |   (exit $ac_status); } && | 
|---|
 | 6932 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6933 |                          || test ! -s conftest.err' | 
|---|
 | 6934 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6935 |   (eval $ac_try) 2>&5 | 
|---|
 | 6936 |   ac_status=$? | 
|---|
 | 6937 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6938 |   (exit $ac_status); }; } && | 
|---|
 | 6939 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6940 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6941 |   (eval $ac_try) 2>&5 | 
|---|
 | 6942 |   ac_status=$? | 
|---|
 | 6943 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6944 |   (exit $ac_status); }; }; then | 
|---|
 | 6945 |   ac_cv_lib_curl_main=yes | 
|---|
 | 6946 | else | 
|---|
 | 6947 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6948 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6949 |  | 
|---|
 | 6950 | ac_cv_lib_curl_main=no | 
|---|
 | 6951 | fi | 
|---|
 | 6952 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6953 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6954 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6955 | fi | 
|---|
 | 6956 | echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 | 
|---|
 | 6957 | echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 | 
|---|
 | 6958 | if test $ac_cv_lib_curl_main = yes; then | 
|---|
 | 6959 |   FOUND_curl=yes | 
|---|
 | 6960 | fi | 
|---|
 | 6961 |  | 
|---|
 | 6962 |  if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then | 
|---|
 | 6963 |   have_curl=yes | 
|---|
 | 6964 |   CURL_LIBS=`curl-config --libs` | 
|---|
 | 6965 |   CURLCFLAGS=`curl-config --cflags` | 
|---|
 | 6966 |  | 
|---|
 | 6967 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6968 | #define HAVE_CURL 1 | 
|---|
 | 6969 | _ACEOF | 
|---|
 | 6970 |  | 
|---|
 | 6971 |  else | 
|---|
 | 6972 |   have_curl=no | 
|---|
 | 6973 |  fi | 
|---|
 | 6974 |  | 
|---|
 | 6975 | fi | 
|---|
 | 6976 |  | 
|---|
 | 6977 |  | 
|---|
 | 6978 |  | 
|---|
 | 6979 |  | 
|---|
 | 6980 | if test x$have_curl = xyes; then | 
|---|
 | 6981 |   HAVE_CURL_TRUE= | 
|---|
 | 6982 |   HAVE_CURL_FALSE='#' | 
|---|
 | 6983 | else | 
|---|
 | 6984 |   HAVE_CURL_TRUE='#' | 
|---|
 | 6985 |   HAVE_CURL_FALSE= | 
|---|
 | 6986 | fi | 
|---|
 | 6987 |  | 
|---|
 | 6988 |  | 
|---|
 | 6989 |  | 
|---|
| [3273] | 6990 | ##checking for pthread | 
|---|
| [3283] | 6991 | if test x$def_pthread = xyes ; then | 
|---|
 | 6992 |  if test x$have_gthread = xyes ; then | 
|---|
| [3273] | 6993 |  | 
|---|
 | 6994 | for ac_header in pthread.h | 
|---|
 | 6995 | do | 
|---|
 | 6996 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6997 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6998 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6999 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7000 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7001 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7002 | fi | 
|---|
 | 7003 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7004 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7005 | else | 
|---|
 | 7006 |   # Is the header compilable? | 
|---|
 | 7007 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7008 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7009 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7010 | /* confdefs.h.  */ | 
|---|
 | 7011 | _ACEOF | 
|---|
 | 7012 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7013 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7014 | /* end confdefs.h.  */ | 
|---|
 | 7015 | $ac_includes_default | 
|---|
 | 7016 | #include <$ac_header> | 
|---|
 | 7017 | _ACEOF | 
|---|
 | 7018 | rm -f conftest.$ac_objext | 
|---|
 | 7019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7020 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7021 |   ac_status=$? | 
|---|
 | 7022 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7023 |   rm -f conftest.er1 | 
|---|
 | 7024 |   cat conftest.err >&5 | 
|---|
 | 7025 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7026 |   (exit $ac_status); } && | 
|---|
 | 7027 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7028 |                          || test ! -s conftest.err' | 
|---|
 | 7029 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7030 |   (eval $ac_try) 2>&5 | 
|---|
 | 7031 |   ac_status=$? | 
|---|
 | 7032 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7033 |   (exit $ac_status); }; } && | 
|---|
 | 7034 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7035 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7036 |   (eval $ac_try) 2>&5 | 
|---|
 | 7037 |   ac_status=$? | 
|---|
 | 7038 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7039 |   (exit $ac_status); }; }; then | 
|---|
 | 7040 |   ac_header_compiler=yes | 
|---|
 | 7041 | else | 
|---|
 | 7042 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7043 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7044 |  | 
|---|
 | 7045 | ac_header_compiler=no | 
|---|
 | 7046 | fi | 
|---|
 | 7047 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7048 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7049 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7050 |  | 
|---|
 | 7051 | # Is the header present? | 
|---|
 | 7052 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7053 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7054 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7055 | /* confdefs.h.  */ | 
|---|
 | 7056 | _ACEOF | 
|---|
 | 7057 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7058 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7059 | /* end confdefs.h.  */ | 
|---|
 | 7060 | #include <$ac_header> | 
|---|
 | 7061 | _ACEOF | 
|---|
 | 7062 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7063 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7064 |   ac_status=$? | 
|---|
 | 7065 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7066 |   rm -f conftest.er1 | 
|---|
 | 7067 |   cat conftest.err >&5 | 
|---|
 | 7068 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7069 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7070 |   if test -s conftest.err; then | 
|---|
 | 7071 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7072 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7073 |   else | 
|---|
 | 7074 |     ac_cpp_err= | 
|---|
 | 7075 |   fi | 
|---|
 | 7076 | else | 
|---|
 | 7077 |   ac_cpp_err=yes | 
|---|
 | 7078 | fi | 
|---|
 | 7079 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7080 |   ac_header_preproc=yes | 
|---|
 | 7081 | else | 
|---|
 | 7082 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7083 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7084 |  | 
|---|
 | 7085 |   ac_header_preproc=no | 
|---|
 | 7086 | fi | 
|---|
 | 7087 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7088 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7089 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7090 |  | 
|---|
 | 7091 | # So?  What about this header? | 
|---|
 | 7092 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 7093 |   yes:no: ) | 
|---|
 | 7094 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 7095 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 7096 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 7097 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 7098 |     ac_header_preproc=yes | 
|---|
 | 7099 |     ;; | 
|---|
 | 7100 |   no:yes:* ) | 
|---|
 | 7101 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 7102 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 7103 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 7104 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 7105 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 7106 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 7107 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 7108 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 7109 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7110 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7111 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7112 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7113 |     ( | 
|---|
 | 7114 |       cat <<\_ASBOX | 
|---|
 | 7115 | ## ---------------------------------------------- ## | 
|---|
 | 7116 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7117 | ## ---------------------------------------------- ## | 
|---|
 | 7118 | _ASBOX | 
|---|
 | 7119 |     ) | | 
|---|
 | 7120 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7121 |     ;; | 
|---|
 | 7122 | esac | 
|---|
 | 7123 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7124 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7125 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7126 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7127 | else | 
|---|
 | 7128 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7129 | fi | 
|---|
 | 7130 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7131 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7132 |  | 
|---|
 | 7133 | fi | 
|---|
 | 7134 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7135 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7136 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7137 | _ACEOF | 
|---|
 | 7138 |  pthreadHeader="yes" | 
|---|
 | 7139 | else | 
|---|
 | 7140 |   pthreadHeader="no" | 
|---|
 | 7141 | fi | 
|---|
 | 7142 |  | 
|---|
 | 7143 | done | 
|---|
 | 7144 |  | 
|---|
| [3274] | 7145 |   echo "$as_me:$LINENO: checking for main in -lpthread" >&5 | 
|---|
| [3272] | 7146 | echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 | 
|---|
 | 7147 | if test "${ac_cv_lib_pthread_main+set}" = set; then | 
|---|
 | 7148 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7149 | else | 
|---|
 | 7150 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 7151 | LIBS="-lpthread  $LIBS" | 
|---|
 | 7152 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7153 | /* confdefs.h.  */ | 
|---|
 | 7154 | _ACEOF | 
|---|
 | 7155 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7156 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7157 | /* end confdefs.h.  */ | 
|---|
| [2190] | 7158 |  | 
|---|
 | 7159 |  | 
|---|
| [3272] | 7160 | int | 
|---|
 | 7161 | main () | 
|---|
 | 7162 | { | 
|---|
 | 7163 | main (); | 
|---|
 | 7164 |   ; | 
|---|
 | 7165 |   return 0; | 
|---|
 | 7166 | } | 
|---|
 | 7167 | _ACEOF | 
|---|
 | 7168 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 7169 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7170 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 7171 |   ac_status=$? | 
|---|
 | 7172 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7173 |   rm -f conftest.er1 | 
|---|
 | 7174 |   cat conftest.err >&5 | 
|---|
 | 7175 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7176 |   (exit $ac_status); } && | 
|---|
 | 7177 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7178 |                          || test ! -s conftest.err' | 
|---|
 | 7179 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7180 |   (eval $ac_try) 2>&5 | 
|---|
 | 7181 |   ac_status=$? | 
|---|
 | 7182 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7183 |   (exit $ac_status); }; } && | 
|---|
 | 7184 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 7185 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7186 |   (eval $ac_try) 2>&5 | 
|---|
 | 7187 |   ac_status=$? | 
|---|
 | 7188 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7189 |   (exit $ac_status); }; }; then | 
|---|
 | 7190 |   ac_cv_lib_pthread_main=yes | 
|---|
 | 7191 | else | 
|---|
 | 7192 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7193 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7194 |  | 
|---|
 | 7195 | ac_cv_lib_pthread_main=no | 
|---|
 | 7196 | fi | 
|---|
 | 7197 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 7198 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 7199 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 7200 | fi | 
|---|
 | 7201 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 | 
|---|
 | 7202 | echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 | 
|---|
 | 7203 | if test $ac_cv_lib_pthread_main = yes; then | 
|---|
 | 7204 |   FOUND_pthread=yes | 
|---|
 | 7205 | fi | 
|---|
 | 7206 |  | 
|---|
| [3274] | 7207 |    if test "$FOUND_pthread" = "yes" ; then | 
|---|
 | 7208 |       LIBS="$LIBS -lpthread" | 
|---|
 | 7209 |    fi | 
|---|
| [3283] | 7210 |  fi | 
|---|
| [3274] | 7211 | fi | 
|---|
| [1956] | 7212 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
 | 7213 |  | 
|---|
 | 7214 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
 | 7215 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
 | 7216 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
 | 7217 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7218 | else | 
|---|
 | 7219 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 7220 | LIBS="-lm  $LIBS" | 
|---|
 | 7221 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7222 | /* confdefs.h.  */ | 
|---|
 | 7223 | _ACEOF | 
|---|
 | 7224 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7225 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7226 | /* end confdefs.h.  */ | 
|---|
 | 7227 |  | 
|---|
 | 7228 |  | 
|---|
 | 7229 | int | 
|---|
 | 7230 | main () | 
|---|
 | 7231 | { | 
|---|
 | 7232 | main (); | 
|---|
 | 7233 |   ; | 
|---|
 | 7234 |   return 0; | 
|---|
 | 7235 | } | 
|---|
 | 7236 | _ACEOF | 
|---|
 | 7237 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 7238 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7239 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 7240 |   ac_status=$? | 
|---|
 | 7241 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7242 |   rm -f conftest.er1 | 
|---|
 | 7243 |   cat conftest.err >&5 | 
|---|
 | 7244 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7245 |   (exit $ac_status); } && | 
|---|
 | 7246 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7247 |                          || test ! -s conftest.err' | 
|---|
 | 7248 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7249 |   (eval $ac_try) 2>&5 | 
|---|
 | 7250 |   ac_status=$? | 
|---|
 | 7251 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7252 |   (exit $ac_status); }; } && | 
|---|
 | 7253 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 7254 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7255 |   (eval $ac_try) 2>&5 | 
|---|
 | 7256 |   ac_status=$? | 
|---|
 | 7257 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7258 |   (exit $ac_status); }; }; then | 
|---|
 | 7259 |   ac_cv_lib_m_main=yes | 
|---|
 | 7260 | else | 
|---|
 | 7261 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7262 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7263 |  | 
|---|
 | 7264 | ac_cv_lib_m_main=no | 
|---|
 | 7265 | fi | 
|---|
 | 7266 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 7267 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 7268 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 7269 | fi | 
|---|
 | 7270 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
 | 7271 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
 | 7272 | if test $ac_cv_lib_m_main = yes; then | 
|---|
 | 7273 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7274 | #define HAVE_LIBM 1 | 
|---|
 | 7275 | _ACEOF | 
|---|
 | 7276 |  | 
|---|
 | 7277 |   LIBS="-lm $LIBS" | 
|---|
 | 7278 |  | 
|---|
 | 7279 | fi | 
|---|
 | 7280 |  | 
|---|
 | 7281 |  | 
|---|
| [2018] | 7282 |  | 
|---|
| [1956] | 7283 | # Checks for header files. | 
|---|
 | 7284 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 7285 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 7286 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 7287 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7288 | else | 
|---|
 | 7289 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7290 | /* confdefs.h.  */ | 
|---|
 | 7291 | _ACEOF | 
|---|
 | 7292 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7293 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7294 | /* end confdefs.h.  */ | 
|---|
 | 7295 | #include <stdlib.h> | 
|---|
 | 7296 | #include <stdarg.h> | 
|---|
 | 7297 | #include <string.h> | 
|---|
 | 7298 | #include <float.h> | 
|---|
 | 7299 |  | 
|---|
 | 7300 | int | 
|---|
 | 7301 | main () | 
|---|
 | 7302 | { | 
|---|
 | 7303 |  | 
|---|
 | 7304 |   ; | 
|---|
 | 7305 |   return 0; | 
|---|
 | 7306 | } | 
|---|
 | 7307 | _ACEOF | 
|---|
 | 7308 | rm -f conftest.$ac_objext | 
|---|
 | 7309 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7310 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7311 |   ac_status=$? | 
|---|
 | 7312 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7313 |   rm -f conftest.er1 | 
|---|
 | 7314 |   cat conftest.err >&5 | 
|---|
 | 7315 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7316 |   (exit $ac_status); } && | 
|---|
 | 7317 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7318 |                          || test ! -s conftest.err' | 
|---|
 | 7319 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7320 |   (eval $ac_try) 2>&5 | 
|---|
 | 7321 |   ac_status=$? | 
|---|
 | 7322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7323 |   (exit $ac_status); }; } && | 
|---|
 | 7324 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7326 |   (eval $ac_try) 2>&5 | 
|---|
 | 7327 |   ac_status=$? | 
|---|
 | 7328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7329 |   (exit $ac_status); }; }; then | 
|---|
 | 7330 |   ac_cv_header_stdc=yes | 
|---|
 | 7331 | else | 
|---|
 | 7332 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7333 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7334 |  | 
|---|
 | 7335 | ac_cv_header_stdc=no | 
|---|
 | 7336 | fi | 
|---|
 | 7337 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7338 |  | 
|---|
 | 7339 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7340 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 7341 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7342 | /* confdefs.h.  */ | 
|---|
 | 7343 | _ACEOF | 
|---|
 | 7344 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7345 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7346 | /* end confdefs.h.  */ | 
|---|
 | 7347 | #include <string.h> | 
|---|
 | 7348 |  | 
|---|
 | 7349 | _ACEOF | 
|---|
 | 7350 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 7351 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 7352 |   : | 
|---|
 | 7353 | else | 
|---|
 | 7354 |   ac_cv_header_stdc=no | 
|---|
 | 7355 | fi | 
|---|
 | 7356 | rm -f conftest* | 
|---|
 | 7357 |  | 
|---|
 | 7358 | fi | 
|---|
 | 7359 |  | 
|---|
 | 7360 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7361 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 7362 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7363 | /* confdefs.h.  */ | 
|---|
 | 7364 | _ACEOF | 
|---|
 | 7365 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7366 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7367 | /* end confdefs.h.  */ | 
|---|
 | 7368 | #include <stdlib.h> | 
|---|
 | 7369 |  | 
|---|
 | 7370 | _ACEOF | 
|---|
 | 7371 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 7372 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 7373 |   : | 
|---|
 | 7374 | else | 
|---|
 | 7375 |   ac_cv_header_stdc=no | 
|---|
 | 7376 | fi | 
|---|
 | 7377 | rm -f conftest* | 
|---|
 | 7378 |  | 
|---|
 | 7379 | fi | 
|---|
 | 7380 |  | 
|---|
 | 7381 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7382 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 7383 |   if test "$cross_compiling" = yes; then | 
|---|
 | 7384 |   : | 
|---|
 | 7385 | else | 
|---|
 | 7386 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7387 | /* confdefs.h.  */ | 
|---|
 | 7388 | _ACEOF | 
|---|
 | 7389 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7390 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7391 | /* end confdefs.h.  */ | 
|---|
 | 7392 | #include <ctype.h> | 
|---|
 | 7393 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 7394 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 7395 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 7396 | #else | 
|---|
 | 7397 | # define ISLOWER(c) \ | 
|---|
 | 7398 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 7399 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 7400 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 7401 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 7402 | #endif | 
|---|
 | 7403 |  | 
|---|
 | 7404 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 7405 | int | 
|---|
 | 7406 | main () | 
|---|
 | 7407 | { | 
|---|
 | 7408 |   int i; | 
|---|
 | 7409 |   for (i = 0; i < 256; i++) | 
|---|
 | 7410 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 7411 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 7412 |       exit(2); | 
|---|
 | 7413 |   exit (0); | 
|---|
 | 7414 | } | 
|---|
 | 7415 | _ACEOF | 
|---|
 | 7416 | rm -f conftest$ac_exeext | 
|---|
 | 7417 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7418 |   (eval $ac_link) 2>&5 | 
|---|
 | 7419 |   ac_status=$? | 
|---|
 | 7420 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7421 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 7422 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7423 |   (eval $ac_try) 2>&5 | 
|---|
 | 7424 |   ac_status=$? | 
|---|
 | 7425 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7426 |   (exit $ac_status); }; }; then | 
|---|
 | 7427 |   : | 
|---|
 | 7428 | else | 
|---|
 | 7429 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 7430 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 7431 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7432 |  | 
|---|
 | 7433 | ( exit $ac_status ) | 
|---|
 | 7434 | ac_cv_header_stdc=no | 
|---|
 | 7435 | fi | 
|---|
 | 7436 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7437 | fi | 
|---|
 | 7438 | fi | 
|---|
 | 7439 | fi | 
|---|
 | 7440 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 7441 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 7442 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7443 |  | 
|---|
 | 7444 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7445 | #define STDC_HEADERS 1 | 
|---|
 | 7446 | _ACEOF | 
|---|
 | 7447 |  | 
|---|
 | 7448 | fi | 
|---|
 | 7449 |  | 
|---|
 | 7450 |  | 
|---|
 | 7451 |  | 
|---|
 | 7452 | for ac_header in stdlib.h string.h | 
|---|
 | 7453 | do | 
|---|
 | 7454 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 7455 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7456 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7457 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7458 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7459 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7460 | fi | 
|---|
 | 7461 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7462 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7463 | else | 
|---|
 | 7464 |   # Is the header compilable? | 
|---|
 | 7465 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7466 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7467 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7468 | /* confdefs.h.  */ | 
|---|
 | 7469 | _ACEOF | 
|---|
 | 7470 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7471 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7472 | /* end confdefs.h.  */ | 
|---|
 | 7473 | $ac_includes_default | 
|---|
 | 7474 | #include <$ac_header> | 
|---|
 | 7475 | _ACEOF | 
|---|
 | 7476 | rm -f conftest.$ac_objext | 
|---|
 | 7477 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7478 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7479 |   ac_status=$? | 
|---|
 | 7480 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7481 |   rm -f conftest.er1 | 
|---|
 | 7482 |   cat conftest.err >&5 | 
|---|
 | 7483 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7484 |   (exit $ac_status); } && | 
|---|
 | 7485 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7486 |                          || test ! -s conftest.err' | 
|---|
 | 7487 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7488 |   (eval $ac_try) 2>&5 | 
|---|
 | 7489 |   ac_status=$? | 
|---|
 | 7490 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7491 |   (exit $ac_status); }; } && | 
|---|
 | 7492 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7493 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7494 |   (eval $ac_try) 2>&5 | 
|---|
 | 7495 |   ac_status=$? | 
|---|
 | 7496 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7497 |   (exit $ac_status); }; }; then | 
|---|
 | 7498 |   ac_header_compiler=yes | 
|---|
 | 7499 | else | 
|---|
 | 7500 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7501 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7502 |  | 
|---|
 | 7503 | ac_header_compiler=no | 
|---|
 | 7504 | fi | 
|---|
 | 7505 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7506 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7507 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7508 |  | 
|---|
 | 7509 | # Is the header present? | 
|---|
 | 7510 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7511 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7512 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7513 | /* confdefs.h.  */ | 
|---|
 | 7514 | _ACEOF | 
|---|
 | 7515 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7516 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7517 | /* end confdefs.h.  */ | 
|---|
 | 7518 | #include <$ac_header> | 
|---|
 | 7519 | _ACEOF | 
|---|
 | 7520 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7521 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7522 |   ac_status=$? | 
|---|
 | 7523 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7524 |   rm -f conftest.er1 | 
|---|
 | 7525 |   cat conftest.err >&5 | 
|---|
 | 7526 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7527 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7528 |   if test -s conftest.err; then | 
|---|
 | 7529 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7530 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7531 |   else | 
|---|
 | 7532 |     ac_cpp_err= | 
|---|
 | 7533 |   fi | 
|---|
 | 7534 | else | 
|---|
 | 7535 |   ac_cpp_err=yes | 
|---|
 | 7536 | fi | 
|---|
 | 7537 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7538 |   ac_header_preproc=yes | 
|---|
 | 7539 | else | 
|---|
 | 7540 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7541 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7542 |  | 
|---|
 | 7543 |   ac_header_preproc=no | 
|---|
 | 7544 | fi | 
|---|
 | 7545 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7546 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7547 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7548 |  | 
|---|
 | 7549 | # So?  What about this header? | 
|---|
 | 7550 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 7551 |   yes:no: ) | 
|---|
 | 7552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 7553 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 7554 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 7555 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 7556 |     ac_header_preproc=yes | 
|---|
 | 7557 |     ;; | 
|---|
 | 7558 |   no:yes:* ) | 
|---|
 | 7559 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 7560 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 7561 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 7562 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 7563 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 7564 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 7565 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 7566 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 7567 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7568 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7569 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7570 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7571 |     ( | 
|---|
 | 7572 |       cat <<\_ASBOX | 
|---|
| [3240] | 7573 | ## ---------------------------------------------- ## | 
|---|
 | 7574 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7575 | ## ---------------------------------------------- ## | 
|---|
| [1956] | 7576 | _ASBOX | 
|---|
 | 7577 |     ) | | 
|---|
 | 7578 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7579 |     ;; | 
|---|
 | 7580 | esac | 
|---|
 | 7581 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7582 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7583 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7584 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7585 | else | 
|---|
 | 7586 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7587 | fi | 
|---|
 | 7588 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7589 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7590 |  | 
|---|
 | 7591 | fi | 
|---|
 | 7592 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7593 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7594 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7595 | _ACEOF | 
|---|
 | 7596 |  | 
|---|
 | 7597 | fi | 
|---|
 | 7598 |  | 
|---|
 | 7599 | done | 
|---|
 | 7600 |  | 
|---|
 | 7601 |  | 
|---|
 | 7602 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
 | 7603 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
 | 7604 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
 | 7605 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
 | 7606 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7607 | else | 
|---|
 | 7608 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7609 | /* confdefs.h.  */ | 
|---|
 | 7610 | _ACEOF | 
|---|
 | 7611 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7612 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7613 | /* end confdefs.h.  */ | 
|---|
 | 7614 |  | 
|---|
 | 7615 | #include <stdbool.h> | 
|---|
 | 7616 | #ifndef bool | 
|---|
 | 7617 | # error bool is not defined | 
|---|
 | 7618 | #endif | 
|---|
 | 7619 | #ifndef false | 
|---|
 | 7620 | # error false is not defined | 
|---|
 | 7621 | #endif | 
|---|
 | 7622 | #if false | 
|---|
 | 7623 | # error false is not 0 | 
|---|
 | 7624 | #endif | 
|---|
 | 7625 | #ifndef true | 
|---|
 | 7626 | # error true is not defined | 
|---|
 | 7627 | #endif | 
|---|
 | 7628 | #if true != 1 | 
|---|
 | 7629 | # error true is not 1 | 
|---|
 | 7630 | #endif | 
|---|
 | 7631 | #ifndef __bool_true_false_are_defined | 
|---|
 | 7632 | # error __bool_true_false_are_defined is not defined | 
|---|
 | 7633 | #endif | 
|---|
 | 7634 |  | 
|---|
 | 7635 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
 | 7636 |  | 
|---|
 | 7637 |         char a[true == 1 ? 1 : -1]; | 
|---|
 | 7638 |         char b[false == 0 ? 1 : -1]; | 
|---|
 | 7639 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
 | 7640 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
 | 7641 |         bool e = &s; | 
|---|
 | 7642 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
 | 7643 |         char g[true]; | 
|---|
 | 7644 |         char h[sizeof (_Bool)]; | 
|---|
 | 7645 |         char i[sizeof s.t]; | 
|---|
 | 7646 |  | 
|---|
 | 7647 | int | 
|---|
 | 7648 | main () | 
|---|
 | 7649 | { | 
|---|
 | 7650 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
 | 7651 |   ; | 
|---|
 | 7652 |   return 0; | 
|---|
 | 7653 | } | 
|---|
 | 7654 | _ACEOF | 
|---|
 | 7655 | rm -f conftest.$ac_objext | 
|---|
 | 7656 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7657 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7658 |   ac_status=$? | 
|---|
 | 7659 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7660 |   rm -f conftest.er1 | 
|---|
 | 7661 |   cat conftest.err >&5 | 
|---|
 | 7662 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7663 |   (exit $ac_status); } && | 
|---|
 | 7664 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7665 |                          || test ! -s conftest.err' | 
|---|
 | 7666 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7667 |   (eval $ac_try) 2>&5 | 
|---|
 | 7668 |   ac_status=$? | 
|---|
 | 7669 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7670 |   (exit $ac_status); }; } && | 
|---|
 | 7671 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7672 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7673 |   (eval $ac_try) 2>&5 | 
|---|
 | 7674 |   ac_status=$? | 
|---|
 | 7675 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7676 |   (exit $ac_status); }; }; then | 
|---|
 | 7677 |   ac_cv_header_stdbool_h=yes | 
|---|
 | 7678 | else | 
|---|
 | 7679 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7680 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7681 |  | 
|---|
 | 7682 | ac_cv_header_stdbool_h=no | 
|---|
 | 7683 | fi | 
|---|
 | 7684 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7685 | fi | 
|---|
 | 7686 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
 | 7687 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
 | 7688 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
 | 7689 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
 | 7690 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
 | 7691 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7692 | else | 
|---|
 | 7693 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7694 | /* confdefs.h.  */ | 
|---|
 | 7695 | _ACEOF | 
|---|
 | 7696 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7697 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7698 | /* end confdefs.h.  */ | 
|---|
 | 7699 | $ac_includes_default | 
|---|
 | 7700 | int | 
|---|
 | 7701 | main () | 
|---|
 | 7702 | { | 
|---|
 | 7703 | if ((_Bool *) 0) | 
|---|
 | 7704 |   return 0; | 
|---|
 | 7705 | if (sizeof (_Bool)) | 
|---|
 | 7706 |   return 0; | 
|---|
 | 7707 |   ; | 
|---|
 | 7708 |   return 0; | 
|---|
 | 7709 | } | 
|---|
 | 7710 | _ACEOF | 
|---|
 | 7711 | rm -f conftest.$ac_objext | 
|---|
 | 7712 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7713 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7714 |   ac_status=$? | 
|---|
 | 7715 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7716 |   rm -f conftest.er1 | 
|---|
 | 7717 |   cat conftest.err >&5 | 
|---|
 | 7718 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7719 |   (exit $ac_status); } && | 
|---|
 | 7720 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7721 |                          || test ! -s conftest.err' | 
|---|
 | 7722 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7723 |   (eval $ac_try) 2>&5 | 
|---|
 | 7724 |   ac_status=$? | 
|---|
 | 7725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7726 |   (exit $ac_status); }; } && | 
|---|
 | 7727 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7728 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7729 |   (eval $ac_try) 2>&5 | 
|---|
 | 7730 |   ac_status=$? | 
|---|
 | 7731 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7732 |   (exit $ac_status); }; }; then | 
|---|
 | 7733 |   ac_cv_type__Bool=yes | 
|---|
 | 7734 | else | 
|---|
 | 7735 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7736 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7737 |  | 
|---|
 | 7738 | ac_cv_type__Bool=no | 
|---|
 | 7739 | fi | 
|---|
 | 7740 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7741 | fi | 
|---|
 | 7742 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
 | 7743 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
 | 7744 | if test $ac_cv_type__Bool = yes; then | 
|---|
 | 7745 |  | 
|---|
 | 7746 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 7747 | #define HAVE__BOOL 1 | 
|---|
 | 7748 | _ACEOF | 
|---|
 | 7749 |  | 
|---|
 | 7750 |  | 
|---|
 | 7751 | fi | 
|---|
 | 7752 |  | 
|---|
 | 7753 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
 | 7754 |  | 
|---|
 | 7755 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7756 | #define HAVE_STDBOOL_H 1 | 
|---|
 | 7757 | _ACEOF | 
|---|
 | 7758 |  | 
|---|
 | 7759 | fi | 
|---|
 | 7760 |  | 
|---|
 | 7761 |  | 
|---|
 | 7762 | # Checks for library functions. | 
|---|
 | 7763 |  | 
|---|
 | 7764 | for ac_header in stdlib.h | 
|---|
 | 7765 | do | 
|---|
 | 7766 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 7767 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7768 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7769 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7770 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7771 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7772 | fi | 
|---|
 | 7773 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7774 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7775 | else | 
|---|
 | 7776 |   # Is the header compilable? | 
|---|
 | 7777 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7778 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7779 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7780 | /* confdefs.h.  */ | 
|---|
 | 7781 | _ACEOF | 
|---|
 | 7782 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7783 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7784 | /* end confdefs.h.  */ | 
|---|
 | 7785 | $ac_includes_default | 
|---|
 | 7786 | #include <$ac_header> | 
|---|
 | 7787 | _ACEOF | 
|---|
 | 7788 | rm -f conftest.$ac_objext | 
|---|
 | 7789 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7790 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7791 |   ac_status=$? | 
|---|
 | 7792 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7793 |   rm -f conftest.er1 | 
|---|
 | 7794 |   cat conftest.err >&5 | 
|---|
 | 7795 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7796 |   (exit $ac_status); } && | 
|---|
 | 7797 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7798 |                          || test ! -s conftest.err' | 
|---|
 | 7799 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7800 |   (eval $ac_try) 2>&5 | 
|---|
 | 7801 |   ac_status=$? | 
|---|
 | 7802 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7803 |   (exit $ac_status); }; } && | 
|---|
 | 7804 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7805 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7806 |   (eval $ac_try) 2>&5 | 
|---|
 | 7807 |   ac_status=$? | 
|---|
 | 7808 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7809 |   (exit $ac_status); }; }; then | 
|---|
 | 7810 |   ac_header_compiler=yes | 
|---|
 | 7811 | else | 
|---|
 | 7812 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7813 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7814 |  | 
|---|
 | 7815 | ac_header_compiler=no | 
|---|
 | 7816 | fi | 
|---|
 | 7817 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7818 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7819 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7820 |  | 
|---|
 | 7821 | # Is the header present? | 
|---|
 | 7822 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7823 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7824 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7825 | /* confdefs.h.  */ | 
|---|
 | 7826 | _ACEOF | 
|---|
 | 7827 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7828 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7829 | /* end confdefs.h.  */ | 
|---|
 | 7830 | #include <$ac_header> | 
|---|
 | 7831 | _ACEOF | 
|---|
 | 7832 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7833 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7834 |   ac_status=$? | 
|---|
 | 7835 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7836 |   rm -f conftest.er1 | 
|---|
 | 7837 |   cat conftest.err >&5 | 
|---|
 | 7838 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7839 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7840 |   if test -s conftest.err; then | 
|---|
 | 7841 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7842 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7843 |   else | 
|---|
 | 7844 |     ac_cpp_err= | 
|---|
 | 7845 |   fi | 
|---|
 | 7846 | else | 
|---|
 | 7847 |   ac_cpp_err=yes | 
|---|
 | 7848 | fi | 
|---|
 | 7849 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7850 |   ac_header_preproc=yes | 
|---|
 | 7851 | else | 
|---|
 | 7852 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7853 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7854 |  | 
|---|
 | 7855 |   ac_header_preproc=no | 
|---|
 | 7856 | fi | 
|---|
 | 7857 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7858 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7859 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7860 |  | 
|---|
 | 7861 | # So?  What about this header? | 
|---|
 | 7862 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 7863 |   yes:no: ) | 
|---|
 | 7864 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 7865 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 7866 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 7867 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 7868 |     ac_header_preproc=yes | 
|---|
 | 7869 |     ;; | 
|---|
 | 7870 |   no:yes:* ) | 
|---|
 | 7871 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 7872 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 7873 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 7874 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 7875 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 7876 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 7877 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 7878 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 7879 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7880 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7881 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7882 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7883 |     ( | 
|---|
 | 7884 |       cat <<\_ASBOX | 
|---|
| [3240] | 7885 | ## ---------------------------------------------- ## | 
|---|
 | 7886 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7887 | ## ---------------------------------------------- ## | 
|---|
| [1956] | 7888 | _ASBOX | 
|---|
 | 7889 |     ) | | 
|---|
 | 7890 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7891 |     ;; | 
|---|
 | 7892 | esac | 
|---|
 | 7893 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7894 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7895 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7896 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7897 | else | 
|---|
 | 7898 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7899 | fi | 
|---|
 | 7900 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7901 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7902 |  | 
|---|
 | 7903 | fi | 
|---|
 | 7904 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7905 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7906 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7907 | _ACEOF | 
|---|
 | 7908 |  | 
|---|
 | 7909 | fi | 
|---|
 | 7910 |  | 
|---|
 | 7911 | done | 
|---|
 | 7912 |  | 
|---|
 | 7913 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
 | 7914 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
 | 7915 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
 | 7916 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7917 | else | 
|---|
 | 7918 |   if test "$cross_compiling" = yes; then | 
|---|
 | 7919 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 7920 | else | 
|---|
 | 7921 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7922 | /* confdefs.h.  */ | 
|---|
 | 7923 | _ACEOF | 
|---|
 | 7924 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7925 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7926 | /* end confdefs.h.  */ | 
|---|
 | 7927 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
 | 7928 | # include <stdlib.h> | 
|---|
 | 7929 | #else | 
|---|
 | 7930 | char *malloc (); | 
|---|
 | 7931 | #endif | 
|---|
 | 7932 |  | 
|---|
 | 7933 | int | 
|---|
 | 7934 | main () | 
|---|
 | 7935 | { | 
|---|
 | 7936 | exit (malloc (0) ? 0 : 1); | 
|---|
 | 7937 |   ; | 
|---|
 | 7938 |   return 0; | 
|---|
 | 7939 | } | 
|---|
 | 7940 | _ACEOF | 
|---|
 | 7941 | rm -f conftest$ac_exeext | 
|---|
 | 7942 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7943 |   (eval $ac_link) 2>&5 | 
|---|
 | 7944 |   ac_status=$? | 
|---|
 | 7945 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7946 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 7947 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7948 |   (eval $ac_try) 2>&5 | 
|---|
 | 7949 |   ac_status=$? | 
|---|
 | 7950 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7951 |   (exit $ac_status); }; }; then | 
|---|
 | 7952 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
 | 7953 | else | 
|---|
 | 7954 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 7955 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 7956 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7957 |  | 
|---|
 | 7958 | ( exit $ac_status ) | 
|---|
 | 7959 | ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 7960 | fi | 
|---|
 | 7961 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7962 | fi | 
|---|
 | 7963 | fi | 
|---|
 | 7964 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
 | 7965 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
 | 7966 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
 | 7967 |  | 
|---|
 | 7968 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7969 | #define HAVE_MALLOC 1 | 
|---|
 | 7970 | _ACEOF | 
|---|
 | 7971 |  | 
|---|
 | 7972 | else | 
|---|
 | 7973 |   cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7974 | #define HAVE_MALLOC 0 | 
|---|
 | 7975 | _ACEOF | 
|---|
 | 7976 |  | 
|---|
 | 7977 |    case $LIBOBJS in | 
|---|
 | 7978 |     "malloc.$ac_objext"   | \ | 
|---|
 | 7979 |   *" malloc.$ac_objext"   | \ | 
|---|
 | 7980 |     "malloc.$ac_objext "* | \ | 
|---|
 | 7981 |   *" malloc.$ac_objext "* ) ;; | 
|---|
 | 7982 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
 | 7983 | esac | 
|---|
 | 7984 |  | 
|---|
 | 7985 |  | 
|---|
 | 7986 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7987 | #define malloc rpl_malloc | 
|---|
 | 7988 | _ACEOF | 
|---|
 | 7989 |  | 
|---|
 | 7990 | fi | 
|---|
 | 7991 |  | 
|---|
 | 7992 |  | 
|---|
 | 7993 |  | 
|---|
 | 7994 |  | 
|---|
 | 7995 |  | 
|---|
 | 7996 | for ac_func in bzero sqrt | 
|---|
 | 7997 | do | 
|---|
 | 7998 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
 | 7999 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
 | 8000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
 | 8001 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
 | 8002 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 8003 | else | 
|---|
 | 8004 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 8005 | /* confdefs.h.  */ | 
|---|
 | 8006 | _ACEOF | 
|---|
 | 8007 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 8008 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 8009 | /* end confdefs.h.  */ | 
|---|
 | 8010 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
 | 8011 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
 | 8012 | #define $ac_func innocuous_$ac_func | 
|---|
 | 8013 |  | 
|---|
 | 8014 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
 | 8015 |     which can conflict with char $ac_func (); below. | 
|---|
 | 8016 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 8017 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
 | 8018 |  | 
|---|
 | 8019 | #ifdef __STDC__ | 
|---|
 | 8020 | # include <limits.h> | 
|---|
 | 8021 | #else | 
|---|
 | 8022 | # include <assert.h> | 
|---|
 | 8023 | #endif | 
|---|
 | 8024 |  | 
|---|
 | 8025 | #undef $ac_func | 
|---|
 | 8026 |  | 
|---|
 | 8027 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 8028 | #ifdef __cplusplus | 
|---|
 | 8029 | extern "C" | 
|---|
 | 8030 | { | 
|---|
 | 8031 | #endif | 
|---|
 | 8032 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 8033 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 8034 | char $ac_func (); | 
|---|
 | 8035 | /* The GNU C library defines this for functions which it implements | 
|---|
 | 8036 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
 | 8037 |     something starting with __ and the normal name is an alias.  */ | 
|---|
 | 8038 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
 | 8039 | choke me | 
|---|
 | 8040 | #else | 
|---|
 | 8041 | char (*f) () = $ac_func; | 
|---|
 | 8042 | #endif | 
|---|
 | 8043 | #ifdef __cplusplus | 
|---|
 | 8044 | } | 
|---|
 | 8045 | #endif | 
|---|
 | 8046 |  | 
|---|
 | 8047 | int | 
|---|
 | 8048 | main () | 
|---|
 | 8049 | { | 
|---|
 | 8050 | return f != $ac_func; | 
|---|
 | 8051 |   ; | 
|---|
 | 8052 |   return 0; | 
|---|
 | 8053 | } | 
|---|
 | 8054 | _ACEOF | 
|---|
 | 8055 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 8056 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 8057 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 8058 |   ac_status=$? | 
|---|
 | 8059 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 8060 |   rm -f conftest.er1 | 
|---|
 | 8061 |   cat conftest.err >&5 | 
|---|
 | 8062 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8063 |   (exit $ac_status); } && | 
|---|
 | 8064 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 8065 |                          || test ! -s conftest.err' | 
|---|
 | 8066 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 8067 |   (eval $ac_try) 2>&5 | 
|---|
 | 8068 |   ac_status=$? | 
|---|
 | 8069 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8070 |   (exit $ac_status); }; } && | 
|---|
 | 8071 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 8072 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 8073 |   (eval $ac_try) 2>&5 | 
|---|
 | 8074 |   ac_status=$? | 
|---|
 | 8075 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8076 |   (exit $ac_status); }; }; then | 
|---|
 | 8077 |   eval "$as_ac_var=yes" | 
|---|
 | 8078 | else | 
|---|
 | 8079 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 8080 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 8081 |  | 
|---|
 | 8082 | eval "$as_ac_var=no" | 
|---|
 | 8083 | fi | 
|---|
 | 8084 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 8085 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 8086 | fi | 
|---|
 | 8087 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
 | 8088 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
 | 8089 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
 | 8090 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 8091 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
 | 8092 | _ACEOF | 
|---|
 | 8093 |  | 
|---|
 | 8094 | fi | 
|---|
 | 8095 | done | 
|---|
 | 8096 |  | 
|---|
 | 8097 |  | 
|---|
| [3196] | 8098 |                                                   ac_config_files="$ac_config_files Makefile src/console/Makefile src/gui/Makefile src/Makefile src/importer/Makefile" | 
|---|
| [1956] | 8099 |  | 
|---|
 | 8100 | cat >confcache <<\_ACEOF | 
|---|
 | 8101 | # This file is a shell script that caches the results of configure | 
|---|
 | 8102 | # tests run on this system so they can be shared between configure | 
|---|
 | 8103 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
 | 8104 | # It is not useful on other systems.  If it contains results you don't | 
|---|
 | 8105 | # want to keep, you may remove or edit it. | 
|---|
 | 8106 | # | 
|---|
 | 8107 | # config.status only pays attention to the cache file if you give it | 
|---|
 | 8108 | # the --recheck option to rerun configure. | 
|---|
 | 8109 | # | 
|---|
 | 8110 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
 | 8111 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
 | 8112 | # following values. | 
|---|
 | 8113 |  | 
|---|
 | 8114 | _ACEOF | 
|---|
 | 8115 |  | 
|---|
 | 8116 | # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 8117 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
 | 8118 | # So, don't put newlines in cache variables' values. | 
|---|
 | 8119 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
 | 8120 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
 | 8121 | { | 
|---|
 | 8122 |   (set) 2>&1 | | 
|---|
 | 8123 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
 | 8124 |     *ac_space=\ *) | 
|---|
 | 8125 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
 | 8126 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
 | 8127 |       sed -n \ | 
|---|
 | 8128 |         "s/'/'\\\\''/g; | 
|---|
 | 8129 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
 | 8130 |       ;; | 
|---|
 | 8131 |     *) | 
|---|
 | 8132 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
 | 8133 |       sed -n \ | 
|---|
 | 8134 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 8135 |       ;; | 
|---|
 | 8136 |     esac; | 
|---|
 | 8137 | } | | 
|---|
 | 8138 |   sed ' | 
|---|
 | 8139 |      t clear | 
|---|
 | 8140 |      : clear | 
|---|
 | 8141 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
 | 8142 |      t end | 
|---|
 | 8143 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
 | 8144 |      : end' >>confcache | 
|---|
 | 8145 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
 | 8146 |   if test -w $cache_file; then | 
|---|
 | 8147 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
 | 8148 |     cat confcache >$cache_file | 
|---|
 | 8149 |   else | 
|---|
 | 8150 |     echo "not updating unwritable cache $cache_file" | 
|---|
 | 8151 |   fi | 
|---|
 | 8152 | fi | 
|---|
 | 8153 | rm -f confcache | 
|---|
 | 8154 |  | 
|---|
 | 8155 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
 | 8156 | # Let make expand exec_prefix. | 
|---|
 | 8157 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
 | 8158 |  | 
|---|
 | 8159 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
 | 8160 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
 | 8161 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
 | 8162 | # (actually we leave an empty line to preserve line numbers). | 
|---|
 | 8163 | if test "x$srcdir" = x.; then | 
|---|
 | 8164 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
 | 8165 | s/:*\$(srcdir):*/:/; | 
|---|
 | 8166 | s/:*\${srcdir}:*/:/; | 
|---|
 | 8167 | s/:*@srcdir@:*/:/; | 
|---|
 | 8168 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
 | 8169 | s/:*$//; | 
|---|
 | 8170 | s/^[^=]*=[       ]*$//; | 
|---|
 | 8171 | }' | 
|---|
 | 8172 | fi | 
|---|
 | 8173 |  | 
|---|
 | 8174 | DEFS=-DHAVE_CONFIG_H | 
|---|
 | 8175 |  | 
|---|
 | 8176 | ac_libobjs= | 
|---|
 | 8177 | ac_ltlibobjs= | 
|---|
 | 8178 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
 | 8179 |   # 1. Remove the extension, and $U if already installed. | 
|---|
 | 8180 |   ac_i=`echo "$ac_i" | | 
|---|
 | 8181 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
 | 8182 |   # 2. Add them. | 
|---|
 | 8183 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
 | 8184 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
 | 8185 | done | 
|---|
 | 8186 | LIBOBJS=$ac_libobjs | 
|---|
 | 8187 |  | 
|---|
 | 8188 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
 | 8189 |  | 
|---|
 | 8190 |  | 
|---|
 | 8191 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
 | 8192 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 8193 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8194 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 8195 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8196 |    { (exit 1); exit 1; }; } | 
|---|
 | 8197 | fi | 
|---|
 | 8198 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
 | 8199 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 8200 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8201 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 8202 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8203 |    { (exit 1); exit 1; }; } | 
|---|
 | 8204 | fi | 
|---|
 | 8205 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
 | 8206 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 8207 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8208 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 8209 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8210 |    { (exit 1); exit 1; }; } | 
|---|
 | 8211 | fi | 
|---|
| [3219] | 8212 | if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then | 
|---|
 | 8213 |   { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. | 
|---|
 | 8214 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8215 | echo "$as_me: error: conditional \"DOXYGEN\" was never defined. | 
|---|
 | 8216 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8217 |    { (exit 1); exit 1; }; } | 
|---|
 | 8218 | fi | 
|---|
| [2980] | 8219 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
 | 8220 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 8221 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8222 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 8223 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8224 |    { (exit 1); exit 1; }; } | 
|---|
 | 8225 | fi | 
|---|
| [3271] | 8226 | if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then | 
|---|
 | 8227 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
 | 8228 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8229 | echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
 | 8230 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8231 |    { (exit 1); exit 1; }; } | 
|---|
 | 8232 | fi | 
|---|
| [3243] | 8233 | if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then | 
|---|
 | 8234 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
 | 8235 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8236 | echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
 | 8237 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8238 |    { (exit 1); exit 1; }; } | 
|---|
 | 8239 | fi | 
|---|
| [1956] | 8240 |  | 
|---|
 | 8241 | : ${CONFIG_STATUS=./config.status} | 
|---|
 | 8242 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 8243 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
 | 8244 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
 | 8245 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
 | 8246 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8247 | #! $SHELL | 
|---|
 | 8248 | # Generated by $as_me. | 
|---|
 | 8249 | # Run this file to recreate the current configuration. | 
|---|
 | 8250 | # Compiler output produced by configure, useful for debugging | 
|---|
 | 8251 | # configure, is in config.log if it exists. | 
|---|
 | 8252 |  | 
|---|
 | 8253 | debug=false | 
|---|
 | 8254 | ac_cs_recheck=false | 
|---|
 | 8255 | ac_cs_silent=false | 
|---|
 | 8256 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
 | 8257 | _ACEOF | 
|---|
 | 8258 |  | 
|---|
 | 8259 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8260 | ## --------------------- ## | 
|---|
 | 8261 | ## M4sh Initialization.  ## | 
|---|
 | 8262 | ## --------------------- ## | 
|---|
 | 8263 |  | 
|---|
 | 8264 | # Be Bourne compatible | 
|---|
 | 8265 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
 | 8266 |   emulate sh | 
|---|
 | 8267 |   NULLCMD=: | 
|---|
 | 8268 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
 | 8269 |   # is contrary to our usage.  Disable this feature. | 
|---|
 | 8270 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
 | 8271 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
 | 8272 |   set -o posix | 
|---|
 | 8273 | fi | 
|---|
 | 8274 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
 | 8275 |  | 
|---|
 | 8276 | # Support unset when possible. | 
|---|
 | 8277 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
 | 8278 |   as_unset=unset | 
|---|
 | 8279 | else | 
|---|
 | 8280 |   as_unset=false | 
|---|
 | 8281 | fi | 
|---|
 | 8282 |  | 
|---|
 | 8283 |  | 
|---|
 | 8284 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
 | 8285 | $as_unset ENV MAIL MAILPATH | 
|---|
 | 8286 | PS1='$ ' | 
|---|
 | 8287 | PS2='> ' | 
|---|
 | 8288 | PS4='+ ' | 
|---|
 | 8289 |  | 
|---|
 | 8290 | # NLS nuisances. | 
|---|
 | 8291 | for as_var in \ | 
|---|
 | 8292 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
 | 8293 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
 | 8294 |   LC_TELEPHONE LC_TIME | 
|---|
 | 8295 | do | 
|---|
 | 8296 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
 | 8297 |     eval $as_var=C; export $as_var | 
|---|
 | 8298 |   else | 
|---|
 | 8299 |     $as_unset $as_var | 
|---|
 | 8300 |   fi | 
|---|
 | 8301 | done | 
|---|
 | 8302 |  | 
|---|
 | 8303 | # Required to use basename. | 
|---|
 | 8304 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 8305 |   as_expr=expr | 
|---|
 | 8306 | else | 
|---|
 | 8307 |   as_expr=false | 
|---|
 | 8308 | fi | 
|---|
 | 8309 |  | 
|---|
 | 8310 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
 | 8311 |   as_basename=basename | 
|---|
 | 8312 | else | 
|---|
 | 8313 |   as_basename=false | 
|---|
 | 8314 | fi | 
|---|
 | 8315 |  | 
|---|
 | 8316 |  | 
|---|
 | 8317 | # Name of the executable. | 
|---|
 | 8318 | as_me=`$as_basename "$0" || | 
|---|
 | 8319 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
 | 8320 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
 | 8321 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
 | 8322 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8323 | echo X/"$0" | | 
|---|
 | 8324 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
 | 8325 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8326 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8327 |           s/.*/./; q'` | 
|---|
 | 8328 |  | 
|---|
 | 8329 |  | 
|---|
 | 8330 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
 | 8331 | # Avoid depending upon Character Ranges. | 
|---|
 | 8332 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
 | 8333 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
 | 8334 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
 | 8335 | as_cr_digits='0123456789' | 
|---|
 | 8336 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
 | 8337 |  | 
|---|
 | 8338 | # The user is always right. | 
|---|
 | 8339 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
 | 8340 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
 | 8341 |   echo  "exit 0"   >>conf$$.sh | 
|---|
 | 8342 |   chmod +x conf$$.sh | 
|---|
 | 8343 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
 | 8344 |     PATH_SEPARATOR=';' | 
|---|
 | 8345 |   else | 
|---|
 | 8346 |     PATH_SEPARATOR=: | 
|---|
 | 8347 |   fi | 
|---|
 | 8348 |   rm -f conf$$.sh | 
|---|
 | 8349 | fi | 
|---|
 | 8350 |  | 
|---|
 | 8351 |  | 
|---|
 | 8352 |   as_lineno_1=$LINENO | 
|---|
 | 8353 |   as_lineno_2=$LINENO | 
|---|
 | 8354 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 8355 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 8356 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
 | 8357 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
 | 8358 |   # relative or not. | 
|---|
 | 8359 |   case $0 in | 
|---|
 | 8360 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
 | 8361 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 8362 | for as_dir in $PATH | 
|---|
 | 8363 | do | 
|---|
 | 8364 |   IFS=$as_save_IFS | 
|---|
 | 8365 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 8366 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
 | 8367 | done | 
|---|
 | 8368 |  | 
|---|
 | 8369 |        ;; | 
|---|
 | 8370 |   esac | 
|---|
 | 8371 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
 | 8372 |   # in which case we are not to be found in the path. | 
|---|
 | 8373 |   if test "x$as_myself" = x; then | 
|---|
 | 8374 |     as_myself=$0 | 
|---|
 | 8375 |   fi | 
|---|
 | 8376 |   if test ! -f "$as_myself"; then | 
|---|
 | 8377 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
 | 8378 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
 | 8379 |    { (exit 1); exit 1; }; } | 
|---|
 | 8380 |   fi | 
|---|
 | 8381 |   case $CONFIG_SHELL in | 
|---|
 | 8382 |   '') | 
|---|
 | 8383 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 8384 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
 | 8385 | do | 
|---|
 | 8386 |   IFS=$as_save_IFS | 
|---|
 | 8387 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 8388 |   for as_base in sh bash ksh sh5; do | 
|---|
 | 8389 |          case $as_dir in | 
|---|
 | 8390 |          /*) | 
|---|
 | 8391 |            if ("$as_dir/$as_base" -c ' | 
|---|
 | 8392 |   as_lineno_1=$LINENO | 
|---|
 | 8393 |   as_lineno_2=$LINENO | 
|---|
 | 8394 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 8395 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 8396 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
 | 8397 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
 | 8398 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
 | 8399 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
 | 8400 |              export CONFIG_SHELL | 
|---|
 | 8401 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
 | 8402 |            fi;; | 
|---|
 | 8403 |          esac | 
|---|
 | 8404 |        done | 
|---|
 | 8405 | done | 
|---|
 | 8406 | ;; | 
|---|
 | 8407 |   esac | 
|---|
 | 8408 |  | 
|---|
 | 8409 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
 | 8410 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
 | 8411 |   # line-number line before each line; the second 'sed' does the real | 
|---|
 | 8412 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
 | 8413 |   # with the numbered line, and appends trailing '-' during | 
|---|
 | 8414 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
 | 8415 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
 | 8416 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
 | 8417 |   sed '=' <$as_myself | | 
|---|
 | 8418 |     sed ' | 
|---|
 | 8419 |       N | 
|---|
 | 8420 |       s,$,-, | 
|---|
 | 8421 |       : loop | 
|---|
 | 8422 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
 | 8423 |       t loop | 
|---|
 | 8424 |       s,-$,, | 
|---|
 | 8425 |       s,^['$as_cr_digits']*\n,, | 
|---|
 | 8426 |     ' >$as_me.lineno && | 
|---|
 | 8427 |   chmod +x $as_me.lineno || | 
|---|
 | 8428 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
 | 8429 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
 | 8430 |    { (exit 1); exit 1; }; } | 
|---|
 | 8431 |  | 
|---|
 | 8432 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
 | 8433 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
 | 8434 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
 | 8435 |   . ./$as_me.lineno | 
|---|
 | 8436 |   # Exit status is that of the last command. | 
|---|
 | 8437 |   exit | 
|---|
 | 8438 | } | 
|---|
 | 8439 |  | 
|---|
 | 8440 |  | 
|---|
 | 8441 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
 | 8442 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
 | 8443 | ' ECHO_T='      ' ;; | 
|---|
 | 8444 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
 | 8445 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
 | 8446 | esac | 
|---|
 | 8447 |  | 
|---|
 | 8448 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 8449 |   as_expr=expr | 
|---|
 | 8450 | else | 
|---|
 | 8451 |   as_expr=false | 
|---|
 | 8452 | fi | 
|---|
 | 8453 |  | 
|---|
 | 8454 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 8455 | echo >conf$$.file | 
|---|
 | 8456 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 8457 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
 | 8458 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
 | 8459 |   if test -f conf$$.exe; then | 
|---|
 | 8460 |     # Don't use ln at all; we don't have any links | 
|---|
 | 8461 |     as_ln_s='cp -p' | 
|---|
 | 8462 |   else | 
|---|
 | 8463 |     as_ln_s='ln -s' | 
|---|
 | 8464 |   fi | 
|---|
 | 8465 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 8466 |   as_ln_s=ln | 
|---|
 | 8467 | else | 
|---|
 | 8468 |   as_ln_s='cp -p' | 
|---|
 | 8469 | fi | 
|---|
 | 8470 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 8471 |  | 
|---|
 | 8472 | if mkdir -p . 2>/dev/null; then | 
|---|
 | 8473 |   as_mkdir_p=: | 
|---|
 | 8474 | else | 
|---|
 | 8475 |   test -d ./-p && rmdir ./-p | 
|---|
 | 8476 |   as_mkdir_p=false | 
|---|
 | 8477 | fi | 
|---|
 | 8478 |  | 
|---|
 | 8479 | as_executable_p="test -f" | 
|---|
 | 8480 |  | 
|---|
 | 8481 | # Sed expression to map a string onto a valid CPP name. | 
|---|
 | 8482 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 8483 |  | 
|---|
 | 8484 | # Sed expression to map a string onto a valid variable name. | 
|---|
 | 8485 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 8486 |  | 
|---|
 | 8487 |  | 
|---|
 | 8488 | # IFS | 
|---|
 | 8489 | # We need space, tab and new line, in precisely that order. | 
|---|
 | 8490 | as_nl=' | 
|---|
 | 8491 | ' | 
|---|
 | 8492 | IFS="   $as_nl" | 
|---|
 | 8493 |  | 
|---|
 | 8494 | # CDPATH. | 
|---|
 | 8495 | $as_unset CDPATH | 
|---|
 | 8496 |  | 
|---|
 | 8497 | exec 6>&1 | 
|---|
 | 8498 |  | 
|---|
 | 8499 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
 | 8500 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
 | 8501 | # values after options handling.  Logging --version etc. is OK. | 
|---|
 | 8502 | exec 5>>config.log | 
|---|
 | 8503 | { | 
|---|
 | 8504 |   echo | 
|---|
 | 8505 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
 | 8506 | ## Running $as_me. ## | 
|---|
 | 8507 | _ASBOX | 
|---|
 | 8508 | } >&5 | 
|---|
 | 8509 | cat >&5 <<_CSEOF | 
|---|
 | 8510 |  | 
|---|
| [3243] | 8511 | This file was extended by orxonox $as_me 0.2.1-pre-alpha, which was | 
|---|
| [1956] | 8512 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 8513 |  | 
|---|
 | 8514 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
 | 8515 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
 | 8516 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
 | 8517 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
 | 8518 |   $ $0 $@ | 
|---|
 | 8519 |  | 
|---|
 | 8520 | _CSEOF | 
|---|
 | 8521 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
 | 8522 | echo >&5 | 
|---|
 | 8523 | _ACEOF | 
|---|
 | 8524 |  | 
|---|
 | 8525 | # Files that config.status was made for. | 
|---|
 | 8526 | if test -n "$ac_config_files"; then | 
|---|
 | 8527 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
 | 8528 | fi | 
|---|
 | 8529 |  | 
|---|
 | 8530 | if test -n "$ac_config_headers"; then | 
|---|
 | 8531 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
 | 8532 | fi | 
|---|
 | 8533 |  | 
|---|
 | 8534 | if test -n "$ac_config_links"; then | 
|---|
 | 8535 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
 | 8536 | fi | 
|---|
 | 8537 |  | 
|---|
 | 8538 | if test -n "$ac_config_commands"; then | 
|---|
 | 8539 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
 | 8540 | fi | 
|---|
 | 8541 |  | 
|---|
 | 8542 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8543 |  | 
|---|
 | 8544 | ac_cs_usage="\ | 
|---|
 | 8545 | \`$as_me' instantiates files from templates according to the | 
|---|
 | 8546 | current configuration. | 
|---|
 | 8547 |  | 
|---|
 | 8548 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
 | 8549 |  | 
|---|
 | 8550 |   -h, --help       print this help, then exit | 
|---|
 | 8551 |   -V, --version    print version number, then exit | 
|---|
 | 8552 |   -q, --quiet      do not print progress messages | 
|---|
 | 8553 |   -d, --debug      don't remove temporary files | 
|---|
 | 8554 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
 | 8555 |   --file=FILE[:TEMPLATE] | 
|---|
 | 8556 |                    instantiate the configuration file FILE | 
|---|
 | 8557 |   --header=FILE[:TEMPLATE] | 
|---|
 | 8558 |                    instantiate the configuration header FILE | 
|---|
 | 8559 |  | 
|---|
 | 8560 | Configuration files: | 
|---|
 | 8561 | $config_files | 
|---|
 | 8562 |  | 
|---|
 | 8563 | Configuration headers: | 
|---|
 | 8564 | $config_headers | 
|---|
 | 8565 |  | 
|---|
 | 8566 | Configuration commands: | 
|---|
 | 8567 | $config_commands | 
|---|
 | 8568 |  | 
|---|
 | 8569 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
 | 8570 | _ACEOF | 
|---|
 | 8571 |  | 
|---|
 | 8572 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8573 | ac_cs_version="\\ | 
|---|
| [3243] | 8574 | orxonox config.status 0.2.1-pre-alpha | 
|---|
| [1956] | 8575 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
 | 8576 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
 | 8577 |  | 
|---|
 | 8578 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 8579 | This config.status script is free software; the Free Software Foundation | 
|---|
 | 8580 | gives unlimited permission to copy, distribute and modify it." | 
|---|
 | 8581 | srcdir=$srcdir | 
|---|
 | 8582 | INSTALL="$INSTALL" | 
|---|
 | 8583 | _ACEOF | 
|---|
 | 8584 |  | 
|---|
 | 8585 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8586 | # If no file are specified by the user, then we need to provide default | 
|---|
 | 8587 | # value.  By we need to know if files were specified by the user. | 
|---|
 | 8588 | ac_need_defaults=: | 
|---|
 | 8589 | while test $# != 0 | 
|---|
 | 8590 | do | 
|---|
 | 8591 |   case $1 in | 
|---|
 | 8592 |   --*=*) | 
|---|
 | 8593 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
 | 8594 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
 | 8595 |     ac_shift=: | 
|---|
 | 8596 |     ;; | 
|---|
 | 8597 |   -*) | 
|---|
 | 8598 |     ac_option=$1 | 
|---|
 | 8599 |     ac_optarg=$2 | 
|---|
 | 8600 |     ac_shift=shift | 
|---|
 | 8601 |     ;; | 
|---|
 | 8602 |   *) # This is not an option, so the user has probably given explicit | 
|---|
 | 8603 |      # arguments. | 
|---|
 | 8604 |      ac_option=$1 | 
|---|
 | 8605 |      ac_need_defaults=false;; | 
|---|
 | 8606 |   esac | 
|---|
 | 8607 |  | 
|---|
 | 8608 |   case $ac_option in | 
|---|
 | 8609 |   # Handling of the options. | 
|---|
 | 8610 | _ACEOF | 
|---|
 | 8611 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8612 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
 | 8613 |     ac_cs_recheck=: ;; | 
|---|
 | 8614 |   --version | --vers* | -V ) | 
|---|
 | 8615 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
 | 8616 |   --he | --h) | 
|---|
 | 8617 |     # Conflict between --help and --header | 
|---|
 | 8618 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
 | 8619 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 8620 | echo "$as_me: error: ambiguous option: $1 | 
|---|
 | 8621 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 8622 |    { (exit 1); exit 1; }; };; | 
|---|
 | 8623 |   --help | --hel | -h ) | 
|---|
 | 8624 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
 | 8625 |   --debug | --d* | -d ) | 
|---|
 | 8626 |     debug=: ;; | 
|---|
 | 8627 |   --file | --fil | --fi | --f ) | 
|---|
 | 8628 |     $ac_shift | 
|---|
 | 8629 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
 | 8630 |     ac_need_defaults=false;; | 
|---|
 | 8631 |   --header | --heade | --head | --hea ) | 
|---|
 | 8632 |     $ac_shift | 
|---|
 | 8633 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
 | 8634 |     ac_need_defaults=false;; | 
|---|
 | 8635 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 8636 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
 | 8637 |     ac_cs_silent=: ;; | 
|---|
 | 8638 |  | 
|---|
 | 8639 |   # This is an error. | 
|---|
 | 8640 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
 | 8641 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 8642 | echo "$as_me: error: unrecognized option: $1 | 
|---|
 | 8643 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 8644 |    { (exit 1); exit 1; }; } ;; | 
|---|
 | 8645 |  | 
|---|
 | 8646 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
 | 8647 |  | 
|---|
 | 8648 |   esac | 
|---|
 | 8649 |   shift | 
|---|
 | 8650 | done | 
|---|
 | 8651 |  | 
|---|
 | 8652 | ac_configure_extra_args= | 
|---|
 | 8653 |  | 
|---|
 | 8654 | if $ac_cs_silent; then | 
|---|
 | 8655 |   exec 6>/dev/null | 
|---|
 | 8656 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
 | 8657 | fi | 
|---|
 | 8658 |  | 
|---|
 | 8659 | _ACEOF | 
|---|
 | 8660 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8661 | if \$ac_cs_recheck; then | 
|---|
 | 8662 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
 | 8663 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
 | 8664 | fi | 
|---|
 | 8665 |  | 
|---|
 | 8666 | _ACEOF | 
|---|
 | 8667 |  | 
|---|
 | 8668 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8669 | # | 
|---|
 | 8670 | # INIT-COMMANDS section. | 
|---|
 | 8671 | # | 
|---|
 | 8672 |  | 
|---|
 | 8673 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
 | 8674 |  | 
|---|
 | 8675 | _ACEOF | 
|---|
 | 8676 |  | 
|---|
 | 8677 |  | 
|---|
 | 8678 |  | 
|---|
 | 8679 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8680 | for ac_config_target in $ac_config_targets | 
|---|
 | 8681 | do | 
|---|
 | 8682 |   case "$ac_config_target" in | 
|---|
 | 8683 |   # Handling of arguments. | 
|---|
 | 8684 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| [3191] | 8685 |   "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;; | 
|---|
 | 8686 |   "src/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;; | 
|---|
| [1956] | 8687 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| [3196] | 8688 |   "src/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/importer/Makefile" ;; | 
|---|
| [1956] | 8689 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
 | 8690 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
 | 8691 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
 | 8692 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
 | 8693 |    { (exit 1); exit 1; }; };; | 
|---|
 | 8694 |   esac | 
|---|
 | 8695 | done | 
|---|
 | 8696 |  | 
|---|
 | 8697 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
 | 8698 | # then the envvar interface is used.  Set only those that are not. | 
|---|
 | 8699 | # We use the long form for the default assignment because of an extremely | 
|---|
 | 8700 | # bizarre bug on SunOS 4.1.3. | 
|---|
 | 8701 | if $ac_need_defaults; then | 
|---|
 | 8702 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
 | 8703 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
 | 8704 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
 | 8705 | fi | 
|---|
 | 8706 |  | 
|---|
 | 8707 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
 | 8708 | # simply because there is no reason to put it here, and in addition, | 
|---|
 | 8709 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
 | 8710 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
 | 8711 | $debug || | 
|---|
 | 8712 | { | 
|---|
 | 8713 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
 | 8714 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
 | 8715 | } | 
|---|
 | 8716 |  | 
|---|
 | 8717 | # Create a (secure) tmp directory for tmp files. | 
|---|
 | 8718 |  | 
|---|
 | 8719 | { | 
|---|
 | 8720 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
 | 8721 |   test -n "$tmp" && test -d "$tmp" | 
|---|
 | 8722 | }  || | 
|---|
 | 8723 | { | 
|---|
 | 8724 |   tmp=./confstat$$-$RANDOM | 
|---|
 | 8725 |   (umask 077 && mkdir $tmp) | 
|---|
 | 8726 | } || | 
|---|
 | 8727 | { | 
|---|
 | 8728 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
 | 8729 |    { (exit 1); exit 1; } | 
|---|
 | 8730 | } | 
|---|
 | 8731 |  | 
|---|
 | 8732 | _ACEOF | 
|---|
 | 8733 |  | 
|---|
 | 8734 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8735 |  | 
|---|
 | 8736 | # | 
|---|
 | 8737 | # CONFIG_FILES section. | 
|---|
 | 8738 | # | 
|---|
 | 8739 |  | 
|---|
 | 8740 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
 | 8741 | # This happens for instance when ./config.status config.h | 
|---|
 | 8742 | if test -n "\$CONFIG_FILES"; then | 
|---|
 | 8743 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
 | 8744 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
 | 8745 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
 | 8746 | s,@SHELL@,$SHELL,;t t | 
|---|
 | 8747 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
 | 8748 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
 | 8749 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
 | 8750 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
 | 8751 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
 | 8752 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
 | 8753 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
 | 8754 | s,@prefix@,$prefix,;t t | 
|---|
 | 8755 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
 | 8756 | s,@bindir@,$bindir,;t t | 
|---|
 | 8757 | s,@sbindir@,$sbindir,;t t | 
|---|
 | 8758 | s,@libexecdir@,$libexecdir,;t t | 
|---|
 | 8759 | s,@datadir@,$datadir,;t t | 
|---|
 | 8760 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
 | 8761 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
 | 8762 | s,@localstatedir@,$localstatedir,;t t | 
|---|
 | 8763 | s,@libdir@,$libdir,;t t | 
|---|
 | 8764 | s,@includedir@,$includedir,;t t | 
|---|
 | 8765 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
 | 8766 | s,@infodir@,$infodir,;t t | 
|---|
 | 8767 | s,@mandir@,$mandir,;t t | 
|---|
 | 8768 | s,@build_alias@,$build_alias,;t t | 
|---|
 | 8769 | s,@host_alias@,$host_alias,;t t | 
|---|
 | 8770 | s,@target_alias@,$target_alias,;t t | 
|---|
 | 8771 | s,@DEFS@,$DEFS,;t t | 
|---|
 | 8772 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
 | 8773 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
 | 8774 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
 | 8775 | s,@LIBS@,$LIBS,;t t | 
|---|
| [2980] | 8776 | s,@build@,$build,;t t | 
|---|
 | 8777 | s,@build_cpu@,$build_cpu,;t t | 
|---|
 | 8778 | s,@build_vendor@,$build_vendor,;t t | 
|---|
 | 8779 | s,@build_os@,$build_os,;t t | 
|---|
 | 8780 | s,@host@,$host,;t t | 
|---|
 | 8781 | s,@host_cpu@,$host_cpu,;t t | 
|---|
 | 8782 | s,@host_vendor@,$host_vendor,;t t | 
|---|
 | 8783 | s,@host_os@,$host_os,;t t | 
|---|
 | 8784 | s,@target@,$target,;t t | 
|---|
 | 8785 | s,@target_cpu@,$target_cpu,;t t | 
|---|
 | 8786 | s,@target_vendor@,$target_vendor,;t t | 
|---|
 | 8787 | s,@target_os@,$target_os,;t t | 
|---|
| [1956] | 8788 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
 | 8789 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
 | 8790 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
 | 8791 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
 | 8792 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
 | 8793 | s,@VERSION@,$VERSION,;t t | 
|---|
 | 8794 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
 | 8795 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
 | 8796 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
 | 8797 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
 | 8798 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
 | 8799 | s,@AMTAR@,$AMTAR,;t t | 
|---|
 | 8800 | s,@install_sh@,$install_sh,;t t | 
|---|
 | 8801 | s,@STRIP@,$STRIP,;t t | 
|---|
 | 8802 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
 | 8803 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| [2706] | 8804 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| [1956] | 8805 | s,@AWK@,$AWK,;t t | 
|---|
 | 8806 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
 | 8807 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
 | 8808 | s,@CXX@,$CXX,;t t | 
|---|
 | 8809 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
 | 8810 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
 | 8811 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
 | 8812 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
 | 8813 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
 | 8814 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
 | 8815 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
 | 8816 | s,@am__include@,$am__include,;t t | 
|---|
 | 8817 | s,@am__quote@,$am__quote,;t t | 
|---|
 | 8818 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
 | 8819 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
 | 8820 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
 | 8821 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
 | 8822 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
 | 8823 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
 | 8824 | s,@CC@,$CC,;t t | 
|---|
 | 8825 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
 | 8826 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
 | 8827 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
 | 8828 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
 | 8829 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
 | 8830 | s,@CPP@,$CPP,;t t | 
|---|
 | 8831 | s,@EGREP@,$EGREP,;t t | 
|---|
| [3173] | 8832 | s,@DEBUG@,$DEBUG,;t t | 
|---|
| [3219] | 8833 | s,@DOXYGEN@,$DOXYGEN,;t t | 
|---|
 | 8834 | s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t | 
|---|
 | 8835 | s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t | 
|---|
| [2989] | 8836 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| [3099] | 8837 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| [2980] | 8838 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
 | 8839 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
 | 8840 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| [3271] | 8841 | s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t | 
|---|
 | 8842 | s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t | 
|---|
 | 8843 | s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t | 
|---|
 | 8844 | s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t | 
|---|
| [3243] | 8845 | s,@CURL_LIBS@,$CURL_LIBS,;t t | 
|---|
 | 8846 | s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t | 
|---|
 | 8847 | s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t | 
|---|
 | 8848 | s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t | 
|---|
| [1956] | 8849 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
 | 8850 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
 | 8851 | CEOF | 
|---|
 | 8852 |  | 
|---|
 | 8853 | _ACEOF | 
|---|
 | 8854 |  | 
|---|
 | 8855 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8856 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
 | 8857 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
 | 8858 |   ac_max_sed_lines=48 | 
|---|
 | 8859 |   ac_sed_frag=1 # Number of current file. | 
|---|
 | 8860 |   ac_beg=1 # First line for current file. | 
|---|
 | 8861 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
 | 8862 |   ac_more_lines=: | 
|---|
 | 8863 |   ac_sed_cmds= | 
|---|
 | 8864 |   while $ac_more_lines; do | 
|---|
 | 8865 |     if test $ac_beg -gt 1; then | 
|---|
 | 8866 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 8867 |     else | 
|---|
 | 8868 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 8869 |     fi | 
|---|
 | 8870 |     if test ! -s $tmp/subs.frag; then | 
|---|
 | 8871 |       ac_more_lines=false | 
|---|
 | 8872 |     else | 
|---|
 | 8873 |       # The purpose of the label and of the branching condition is to | 
|---|
 | 8874 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
 | 8875 |       # is no need to browse any of the substitutions). | 
|---|
 | 8876 |       # These are the two extra sed commands mentioned above. | 
|---|
 | 8877 |       (echo ':t | 
|---|
 | 8878 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
 | 8879 |       if test -z "$ac_sed_cmds"; then | 
|---|
 | 8880 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 8881 |       else | 
|---|
 | 8882 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 8883 |       fi | 
|---|
 | 8884 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
 | 8885 |       ac_beg=$ac_end | 
|---|
 | 8886 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
 | 8887 |     fi | 
|---|
 | 8888 |   done | 
|---|
 | 8889 |   if test -z "$ac_sed_cmds"; then | 
|---|
 | 8890 |     ac_sed_cmds=cat | 
|---|
 | 8891 |   fi | 
|---|
 | 8892 | fi # test -n "$CONFIG_FILES" | 
|---|
 | 8893 |  | 
|---|
 | 8894 | _ACEOF | 
|---|
 | 8895 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8896 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
 | 8897 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 8898 |   case $ac_file in | 
|---|
 | 8899 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 8900 |         cat >$tmp/stdin | 
|---|
 | 8901 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 8902 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 8903 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 8904 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 8905 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 8906 |   esac | 
|---|
 | 8907 |  | 
|---|
 | 8908 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
 | 8909 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 8910 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8911 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8912 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 8913 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 8914 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8915 | echo X"$ac_file" | | 
|---|
 | 8916 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8917 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8918 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8919 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8920 |           s/.*/./; q'` | 
|---|
 | 8921 |   { if $as_mkdir_p; then | 
|---|
 | 8922 |     mkdir -p "$ac_dir" | 
|---|
 | 8923 |   else | 
|---|
 | 8924 |     as_dir="$ac_dir" | 
|---|
 | 8925 |     as_dirs= | 
|---|
 | 8926 |     while test ! -d "$as_dir"; do | 
|---|
 | 8927 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 8928 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 8929 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8930 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8931 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 8932 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 8933 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8934 | echo X"$as_dir" | | 
|---|
 | 8935 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8936 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8937 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8938 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8939 |           s/.*/./; q'` | 
|---|
 | 8940 |     done | 
|---|
 | 8941 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 8942 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 8943 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 8944 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 8945 |  | 
|---|
 | 8946 |   ac_builddir=. | 
|---|
 | 8947 |  | 
|---|
 | 8948 | if test "$ac_dir" != .; then | 
|---|
 | 8949 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 8950 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 8951 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 8952 | else | 
|---|
 | 8953 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 8954 | fi | 
|---|
 | 8955 |  | 
|---|
 | 8956 | case $srcdir in | 
|---|
 | 8957 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 8958 |     ac_srcdir=. | 
|---|
 | 8959 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 8960 |        ac_top_srcdir=. | 
|---|
 | 8961 |     else | 
|---|
 | 8962 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 8963 |     fi ;; | 
|---|
 | 8964 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 8965 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 8966 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 8967 |   *) # Relative path. | 
|---|
 | 8968 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 8969 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 8970 | esac | 
|---|
 | 8971 |  | 
|---|
 | 8972 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 8973 | # the directories may not exist. | 
|---|
 | 8974 | case `pwd` in | 
|---|
 | 8975 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 8976 | *) | 
|---|
 | 8977 |   case "$ac_dir" in | 
|---|
 | 8978 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 8979 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 8980 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 8981 |   esac;; | 
|---|
 | 8982 | esac | 
|---|
 | 8983 | case $ac_abs_builddir in | 
|---|
 | 8984 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 8985 | *) | 
|---|
 | 8986 |   case ${ac_top_builddir}. in | 
|---|
 | 8987 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 8988 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 8989 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 8990 |   esac;; | 
|---|
 | 8991 | esac | 
|---|
 | 8992 | case $ac_abs_builddir in | 
|---|
 | 8993 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 8994 | *) | 
|---|
 | 8995 |   case $ac_srcdir in | 
|---|
 | 8996 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 8997 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 8998 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 8999 |   esac;; | 
|---|
 | 9000 | esac | 
|---|
 | 9001 | case $ac_abs_builddir in | 
|---|
 | 9002 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9003 | *) | 
|---|
 | 9004 |   case $ac_top_srcdir in | 
|---|
 | 9005 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 9006 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9007 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 9008 |   esac;; | 
|---|
 | 9009 | esac | 
|---|
 | 9010 |  | 
|---|
 | 9011 |  | 
|---|
 | 9012 |   case $INSTALL in | 
|---|
 | 9013 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
 | 9014 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
 | 9015 |   esac | 
|---|
 | 9016 |  | 
|---|
 | 9017 |   if test x"$ac_file" != x-; then | 
|---|
 | 9018 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 9019 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 9020 |     rm -f "$ac_file" | 
|---|
 | 9021 |   fi | 
|---|
 | 9022 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 9023 |   # use $as_me), people would be surprised to read: | 
|---|
 | 9024 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 9025 |   if test x"$ac_file" = x-; then | 
|---|
 | 9026 |     configure_input= | 
|---|
 | 9027 |   else | 
|---|
 | 9028 |     configure_input="$ac_file.  " | 
|---|
 | 9029 |   fi | 
|---|
 | 9030 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
 | 9031 |                                      sed 's,.*/,,'` by configure." | 
|---|
 | 9032 |  | 
|---|
 | 9033 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 9034 |   # src tree. | 
|---|
 | 9035 |   ac_file_inputs=`IFS=: | 
|---|
 | 9036 |     for f in $ac_file_in; do | 
|---|
 | 9037 |       case $f in | 
|---|
 | 9038 |       -) echo $tmp/stdin ;; | 
|---|
 | 9039 |       [\\/$]*) | 
|---|
 | 9040 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 9041 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9042 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9043 |    { (exit 1); exit 1; }; } | 
|---|
 | 9044 |          echo "$f";; | 
|---|
 | 9045 |       *) # Relative | 
|---|
 | 9046 |          if test -f "$f"; then | 
|---|
 | 9047 |            # Build tree | 
|---|
 | 9048 |            echo "$f" | 
|---|
 | 9049 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 9050 |            # Source tree | 
|---|
 | 9051 |            echo "$srcdir/$f" | 
|---|
 | 9052 |          else | 
|---|
 | 9053 |            # /dev/null tree | 
|---|
 | 9054 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9055 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9056 |    { (exit 1); exit 1; }; } | 
|---|
 | 9057 |          fi;; | 
|---|
 | 9058 |       esac | 
|---|
 | 9059 |     done` || { (exit 1); exit 1; } | 
|---|
 | 9060 | _ACEOF | 
|---|
 | 9061 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 9062 |   sed "$ac_vpsub | 
|---|
 | 9063 | $extrasub | 
|---|
 | 9064 | _ACEOF | 
|---|
 | 9065 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9066 | :t | 
|---|
 | 9067 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
 | 9068 | s,@configure_input@,$configure_input,;t t | 
|---|
 | 9069 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
 | 9070 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
 | 9071 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
 | 9072 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
 | 9073 | s,@builddir@,$ac_builddir,;t t | 
|---|
 | 9074 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
 | 9075 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
 | 9076 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
 | 9077 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
 | 9078 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
 | 9079 |   rm -f $tmp/stdin | 
|---|
 | 9080 |   if test x"$ac_file" != x-; then | 
|---|
 | 9081 |     mv $tmp/out $ac_file | 
|---|
 | 9082 |   else | 
|---|
 | 9083 |     cat $tmp/out | 
|---|
 | 9084 |     rm -f $tmp/out | 
|---|
 | 9085 |   fi | 
|---|
 | 9086 |  | 
|---|
 | 9087 | done | 
|---|
 | 9088 | _ACEOF | 
|---|
 | 9089 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9090 |  | 
|---|
 | 9091 | # | 
|---|
 | 9092 | # CONFIG_HEADER section. | 
|---|
 | 9093 | # | 
|---|
 | 9094 |  | 
|---|
 | 9095 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
 | 9096 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
 | 9097 | # | 
|---|
 | 9098 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
 | 9099 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
 | 9100 | ac_dB='[         ].*$,\1#\2' | 
|---|
 | 9101 | ac_dC=' ' | 
|---|
 | 9102 | ac_dD=',;t' | 
|---|
 | 9103 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
 | 9104 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
 | 9105 | ac_uB='$,\1#\2define\3' | 
|---|
 | 9106 | ac_uC=' ' | 
|---|
 | 9107 | ac_uD=',;t' | 
|---|
 | 9108 |  | 
|---|
 | 9109 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
 | 9110 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 9111 |   case $ac_file in | 
|---|
 | 9112 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 9113 |         cat >$tmp/stdin | 
|---|
 | 9114 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9115 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9116 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9117 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9118 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 9119 |   esac | 
|---|
 | 9120 |  | 
|---|
 | 9121 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 9122 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 9123 |  | 
|---|
 | 9124 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 9125 |   # src tree. | 
|---|
 | 9126 |   ac_file_inputs=`IFS=: | 
|---|
 | 9127 |     for f in $ac_file_in; do | 
|---|
 | 9128 |       case $f in | 
|---|
 | 9129 |       -) echo $tmp/stdin ;; | 
|---|
 | 9130 |       [\\/$]*) | 
|---|
 | 9131 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 9132 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9133 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9134 |    { (exit 1); exit 1; }; } | 
|---|
 | 9135 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
 | 9136 |          echo "$f";; | 
|---|
 | 9137 |       *) # Relative | 
|---|
 | 9138 |          if test -f "$f"; then | 
|---|
 | 9139 |            # Build tree | 
|---|
 | 9140 |            echo "$f" | 
|---|
 | 9141 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 9142 |            # Source tree | 
|---|
 | 9143 |            echo "$srcdir/$f" | 
|---|
 | 9144 |          else | 
|---|
 | 9145 |            # /dev/null tree | 
|---|
 | 9146 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9147 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9148 |    { (exit 1); exit 1; }; } | 
|---|
 | 9149 |          fi;; | 
|---|
 | 9150 |       esac | 
|---|
 | 9151 |     done` || { (exit 1); exit 1; } | 
|---|
 | 9152 |   # Remove the trailing spaces. | 
|---|
 | 9153 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
 | 9154 |  | 
|---|
 | 9155 | _ACEOF | 
|---|
 | 9156 |  | 
|---|
 | 9157 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
 | 9158 | # `conftest.undefs', that substitutes the proper values into | 
|---|
 | 9159 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
 | 9160 | # templates, and the second `#undef' templates. | 
|---|
 | 9161 | # And first: Protect against being on the right side of a sed subst in | 
|---|
 | 9162 | # config.status.  Protect against being in an unquoted here document | 
|---|
 | 9163 | # in config.status. | 
|---|
 | 9164 | rm -f conftest.defines conftest.undefs | 
|---|
 | 9165 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
 | 9166 | # Putting comments in sed scripts is not portable. | 
|---|
 | 9167 | # | 
|---|
 | 9168 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
 | 9169 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
 | 9170 | # See the Autoconf documentation for `clear'. | 
|---|
 | 9171 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
 | 9172 | s/[\\&,]/\\&/g | 
|---|
 | 9173 | s,[\\$`],\\&,g | 
|---|
 | 9174 | t clear | 
|---|
 | 9175 | : clear | 
|---|
 | 9176 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
 | 9177 | t end | 
|---|
 | 9178 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
 | 9179 | : end | 
|---|
 | 9180 | _ACEOF | 
|---|
 | 9181 | # If some macros were called several times there might be several times | 
|---|
 | 9182 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
 | 9183 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
 | 9184 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
 | 9185 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
 | 9186 | rm -f confdef2sed.sed | 
|---|
 | 9187 |  | 
|---|
 | 9188 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
 | 9189 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
 | 9190 | # on some systems where configure will not decide to define it. | 
|---|
 | 9191 | cat >>conftest.undefs <<\_ACEOF | 
|---|
 | 9192 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
 | 9193 | _ACEOF | 
|---|
 | 9194 |  | 
|---|
 | 9195 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
 | 9196 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 9197 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
 | 9198 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
 | 9199 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
 | 9200 | echo '  :' >>$CONFIG_STATUS | 
|---|
 | 9201 | rm -f conftest.tail | 
|---|
 | 9202 | while grep . conftest.defines >/dev/null | 
|---|
 | 9203 | do | 
|---|
 | 9204 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
 | 9205 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 9206 |   # Speed up: don't consider the non `#define' lines. | 
|---|
 | 9207 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
 | 9208 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 9209 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 9210 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 9211 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
 | 9212 |   echo 'CEOF | 
|---|
 | 9213 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
 | 9214 |   rm -f $tmp/in | 
|---|
 | 9215 |   mv $tmp/out $tmp/in | 
|---|
 | 9216 | ' >>$CONFIG_STATUS | 
|---|
 | 9217 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
 | 9218 |   rm -f conftest.defines | 
|---|
 | 9219 |   mv conftest.tail conftest.defines | 
|---|
 | 9220 | done | 
|---|
 | 9221 | rm -f conftest.defines | 
|---|
 | 9222 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
 | 9223 | echo >>$CONFIG_STATUS | 
|---|
 | 9224 |  | 
|---|
 | 9225 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
 | 9226 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 9227 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
 | 9228 | rm -f conftest.tail | 
|---|
 | 9229 | while grep . conftest.undefs >/dev/null | 
|---|
 | 9230 | do | 
|---|
 | 9231 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
 | 9232 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 9233 |   # Speed up: don't consider the non `#undef' | 
|---|
 | 9234 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
 | 9235 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 9236 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 9237 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 9238 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
 | 9239 |   echo 'CEOF | 
|---|
 | 9240 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
 | 9241 |   rm -f $tmp/in | 
|---|
 | 9242 |   mv $tmp/out $tmp/in | 
|---|
 | 9243 | ' >>$CONFIG_STATUS | 
|---|
 | 9244 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
 | 9245 |   rm -f conftest.undefs | 
|---|
 | 9246 |   mv conftest.tail conftest.undefs | 
|---|
 | 9247 | done | 
|---|
 | 9248 | rm -f conftest.undefs | 
|---|
 | 9249 |  | 
|---|
 | 9250 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9251 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 9252 |   # use $as_me), people would be surprised to read: | 
|---|
 | 9253 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 9254 |   if test x"$ac_file" = x-; then | 
|---|
 | 9255 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
 | 9256 |   else | 
|---|
 | 9257 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
 | 9258 |   fi | 
|---|
 | 9259 |   cat $tmp/in >>$tmp/config.h | 
|---|
 | 9260 |   rm -f $tmp/in | 
|---|
 | 9261 |   if test x"$ac_file" != x-; then | 
|---|
 | 9262 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
 | 9263 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
 | 9264 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
 | 9265 |     else | 
|---|
 | 9266 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 9267 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9268 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9269 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 9270 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 9271 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9272 | echo X"$ac_file" | | 
|---|
 | 9273 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9274 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9275 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9276 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9277 |           s/.*/./; q'` | 
|---|
 | 9278 |       { if $as_mkdir_p; then | 
|---|
 | 9279 |     mkdir -p "$ac_dir" | 
|---|
 | 9280 |   else | 
|---|
 | 9281 |     as_dir="$ac_dir" | 
|---|
 | 9282 |     as_dirs= | 
|---|
 | 9283 |     while test ! -d "$as_dir"; do | 
|---|
 | 9284 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9285 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9286 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9287 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9288 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9289 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9290 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9291 | echo X"$as_dir" | | 
|---|
 | 9292 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9293 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9294 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9295 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9296 |           s/.*/./; q'` | 
|---|
 | 9297 |     done | 
|---|
 | 9298 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9299 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 9300 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 9301 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9302 |  | 
|---|
 | 9303 |       rm -f $ac_file | 
|---|
 | 9304 |       mv $tmp/config.h $ac_file | 
|---|
 | 9305 |     fi | 
|---|
 | 9306 |   else | 
|---|
 | 9307 |     cat $tmp/config.h | 
|---|
 | 9308 |     rm -f $tmp/config.h | 
|---|
 | 9309 |   fi | 
|---|
 | 9310 | # Compute $ac_file's index in $config_headers. | 
|---|
 | 9311 | _am_stamp_count=1 | 
|---|
 | 9312 | for _am_header in $config_headers :; do | 
|---|
 | 9313 |   case $_am_header in | 
|---|
 | 9314 |     $ac_file | $ac_file:* ) | 
|---|
 | 9315 |       break ;; | 
|---|
 | 9316 |     * ) | 
|---|
 | 9317 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
 | 9318 |   esac | 
|---|
 | 9319 | done | 
|---|
 | 9320 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
 | 9321 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9322 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
 | 9323 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
 | 9324 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
 | 9325 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9326 | echo X$ac_file | | 
|---|
 | 9327 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9328 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9329 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9330 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9331 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
 | 9332 | done | 
|---|
 | 9333 | _ACEOF | 
|---|
 | 9334 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9335 |  | 
|---|
 | 9336 | # | 
|---|
 | 9337 | # CONFIG_COMMANDS section. | 
|---|
 | 9338 | # | 
|---|
 | 9339 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
 | 9340 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
 | 9341 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9342 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
 | 9343 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9344 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9345 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
 | 9346 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
 | 9347 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9348 | echo X"$ac_dest" | | 
|---|
 | 9349 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9350 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9351 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9352 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9353 |           s/.*/./; q'` | 
|---|
 | 9354 |   { if $as_mkdir_p; then | 
|---|
 | 9355 |     mkdir -p "$ac_dir" | 
|---|
 | 9356 |   else | 
|---|
 | 9357 |     as_dir="$ac_dir" | 
|---|
 | 9358 |     as_dirs= | 
|---|
 | 9359 |     while test ! -d "$as_dir"; do | 
|---|
 | 9360 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9361 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9362 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9363 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9364 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9365 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9366 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9367 | echo X"$as_dir" | | 
|---|
 | 9368 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9369 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9370 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9371 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9372 |           s/.*/./; q'` | 
|---|
 | 9373 |     done | 
|---|
 | 9374 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9375 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 9376 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 9377 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9378 |  | 
|---|
 | 9379 |   ac_builddir=. | 
|---|
 | 9380 |  | 
|---|
 | 9381 | if test "$ac_dir" != .; then | 
|---|
 | 9382 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 9383 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 9384 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 9385 | else | 
|---|
 | 9386 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 9387 | fi | 
|---|
 | 9388 |  | 
|---|
 | 9389 | case $srcdir in | 
|---|
 | 9390 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 9391 |     ac_srcdir=. | 
|---|
 | 9392 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 9393 |        ac_top_srcdir=. | 
|---|
 | 9394 |     else | 
|---|
 | 9395 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 9396 |     fi ;; | 
|---|
 | 9397 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 9398 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 9399 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 9400 |   *) # Relative path. | 
|---|
 | 9401 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 9402 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 9403 | esac | 
|---|
 | 9404 |  | 
|---|
 | 9405 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 9406 | # the directories may not exist. | 
|---|
 | 9407 | case `pwd` in | 
|---|
 | 9408 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9409 | *) | 
|---|
 | 9410 |   case "$ac_dir" in | 
|---|
 | 9411 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 9412 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9413 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 9414 |   esac;; | 
|---|
 | 9415 | esac | 
|---|
 | 9416 | case $ac_abs_builddir in | 
|---|
 | 9417 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9418 | *) | 
|---|
 | 9419 |   case ${ac_top_builddir}. in | 
|---|
 | 9420 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 9421 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9422 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 9423 |   esac;; | 
|---|
 | 9424 | esac | 
|---|
 | 9425 | case $ac_abs_builddir in | 
|---|
 | 9426 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9427 | *) | 
|---|
 | 9428 |   case $ac_srcdir in | 
|---|
 | 9429 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 9430 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9431 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 9432 |   esac;; | 
|---|
 | 9433 | esac | 
|---|
 | 9434 | case $ac_abs_builddir in | 
|---|
 | 9435 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9436 | *) | 
|---|
 | 9437 |   case $ac_top_srcdir in | 
|---|
 | 9438 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 9439 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9440 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 9441 |   esac;; | 
|---|
 | 9442 | esac | 
|---|
 | 9443 |  | 
|---|
 | 9444 |  | 
|---|
 | 9445 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
 | 9446 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
 | 9447 |   case $ac_dest in | 
|---|
 | 9448 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
 | 9449 |   # Strip MF so we end up with the name of the file. | 
|---|
 | 9450 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
 | 9451 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
 | 9452 |   # We used to match only the files named `Makefile.in', but | 
|---|
 | 9453 |   # some people rename them; so instead we look at the file content. | 
|---|
 | 9454 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
 | 9455 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
 | 9456 |   # So let's grep whole file. | 
|---|
 | 9457 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
 | 9458 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
 | 9459 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9460 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9461 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
 | 9462 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
 | 9463 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9464 | echo X"$mf" | | 
|---|
 | 9465 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9466 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9467 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9468 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9469 |           s/.*/./; q'` | 
|---|
 | 9470 |   else | 
|---|
 | 9471 |     continue | 
|---|
 | 9472 |   fi | 
|---|
 | 9473 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
 | 9474 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
 | 9475 |   # running `make'. | 
|---|
| [2819] | 9476 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| [1956] | 9477 |   test -z "$DEPDIR" && continue | 
|---|
 | 9478 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| [2819] | 9479 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| [1956] | 9480 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
 | 9481 |   # We invoke sed twice because it is the simplest approach to | 
|---|
 | 9482 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| [2819] | 9483 |   for file in `sed -n ' | 
|---|
| [1956] | 9484 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
 | 9485 |       s/^DEP_FILES = // | 
|---|
 | 9486 |       :loop | 
|---|
 | 9487 |         s/\\\\$// | 
|---|
 | 9488 |         p | 
|---|
 | 9489 |         n | 
|---|
 | 9490 |         /\\\\$/ b loop | 
|---|
 | 9491 |       p | 
|---|
 | 9492 |     } | 
|---|
 | 9493 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
 | 9494 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
 | 9495 |     # Make sure the directory exists. | 
|---|
 | 9496 |     test -f "$dirpart/$file" && continue | 
|---|
 | 9497 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
 | 9498 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9499 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9500 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
 | 9501 |          X"$file" : 'X\(/\)' \| \ | 
|---|
 | 9502 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9503 | echo X"$file" | | 
|---|
 | 9504 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9505 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9506 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9507 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9508 |           s/.*/./; q'` | 
|---|
 | 9509 |     { if $as_mkdir_p; then | 
|---|
 | 9510 |     mkdir -p $dirpart/$fdir | 
|---|
 | 9511 |   else | 
|---|
 | 9512 |     as_dir=$dirpart/$fdir | 
|---|
 | 9513 |     as_dirs= | 
|---|
 | 9514 |     while test ! -d "$as_dir"; do | 
|---|
 | 9515 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9516 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9517 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9518 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9519 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9520 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9521 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9522 | echo X"$as_dir" | | 
|---|
 | 9523 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9524 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9525 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9526 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9527 |           s/.*/./; q'` | 
|---|
 | 9528 |     done | 
|---|
 | 9529 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9530 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
 | 9531 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
 | 9532 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9533 |  | 
|---|
 | 9534 |     # echo "creating $dirpart/$file" | 
|---|
 | 9535 |     echo '# dummy' > "$dirpart/$file" | 
|---|
 | 9536 |   done | 
|---|
 | 9537 | done | 
|---|
 | 9538 |  ;; | 
|---|
 | 9539 |   esac | 
|---|
 | 9540 | done | 
|---|
 | 9541 | _ACEOF | 
|---|
 | 9542 |  | 
|---|
 | 9543 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9544 |  | 
|---|
 | 9545 | { (exit 0); exit 0; } | 
|---|
 | 9546 | _ACEOF | 
|---|
 | 9547 | chmod +x $CONFIG_STATUS | 
|---|
 | 9548 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 9549 |  | 
|---|
 | 9550 |  | 
|---|
 | 9551 | # configure is writing to config.log, and then calls config.status. | 
|---|
 | 9552 | # config.status does its own redirection, appending to config.log. | 
|---|
 | 9553 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
 | 9554 | # by configure, so config.status won't be able to write to it; its | 
|---|
 | 9555 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
 | 9556 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
 | 9557 | # appended to by config.status.  When coming back to configure, we | 
|---|
 | 9558 | # need to make the FD available again. | 
|---|
 | 9559 | if test "$no_create" != yes; then | 
|---|
 | 9560 |   ac_cs_success=: | 
|---|
 | 9561 |   ac_config_status_args= | 
|---|
 | 9562 |   test "$silent" = yes && | 
|---|
 | 9563 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
 | 9564 |   exec 5>/dev/null | 
|---|
 | 9565 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
 | 9566 |   exec 5>>config.log | 
|---|
 | 9567 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
 | 9568 |   # would make configure fail if this is the last instruction. | 
|---|
 | 9569 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
 | 9570 | fi | 
|---|
 | 9571 |  | 
|---|