| [1956] | 1 | #! /bin/sh | 
|---|
 | 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| [3569] | 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.2.2-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' | 
|---|
| [3569] | 272 | PACKAGE_VERSION='0.2.2-pre-alpha' | 
|---|
 | 273 | PACKAGE_STRING='orxonox 0.2.2-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 |  | 
|---|
| [3558] | 314 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP DEBUG SUB_PROJECTS_TRUE SUB_PROJECTS_FALSE DOCUMENTATION_TRUE DOCUMENTATION_FALSE DOXYGEN DOXYGEN_TRUE DOXYGEN_FALSE 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 | 
|---|
| [3569] | 791 | \`configure' configures orxonox 0.2.2-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 | 
|---|
| [3569] | 858 |      short | recursive ) echo "Configuration of orxonox 0.2.2-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. | 
|---|
| [3592] | 869 |   --disable-modular-debug compiles in modular-debug mode, that logs | 
|---|
 | 870 |                           differently on the many modules of orxonox. | 
|---|
| [3424] | 871 |   --enable-sub-projects   also builds the subProjects while make from srcdir | 
|---|
| [3558] | 872 |   --enable-documentation  also builds the sDocumentation while make from | 
|---|
 | 873 |                           srcdir | 
|---|
| [1956] | 874 |  | 
|---|
| [3173] | 875 | Optional Packages: | 
|---|
 | 876 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
 | 877 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| [3181] | 878 |   --without-gtk           Prevents GTK from being loaded | 
|---|
| [3423] | 879 |   --without-gthread       Prevents gThread from being loaded | 
|---|
 | 880 |   --without-pthread       Prevents pthread from being loaded | 
|---|
 | 881 |   --without-curl          Prevents libcURL from being loaded | 
|---|
| [3181] | 882 |   --without-sdl-image     Prevents SDL_image from being loaded | 
|---|
| [3173] | 883 |  | 
|---|
| [1956] | 884 | Some influential environment variables: | 
|---|
 | 885 |   CXX         C++ compiler command | 
|---|
 | 886 |   CXXFLAGS    C++ compiler flags | 
|---|
 | 887 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
 | 888 |               nonstandard directory <lib dir> | 
|---|
 | 889 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
 | 890 |               headers in a nonstandard directory <include dir> | 
|---|
 | 891 |   CC          C compiler command | 
|---|
 | 892 |   CFLAGS      C compiler flags | 
|---|
 | 893 |   CPP         C preprocessor | 
|---|
 | 894 |  | 
|---|
 | 895 | Use these variables to override the choices made by `configure' or to help | 
|---|
 | 896 | it to find libraries and programs with nonstandard names/locations. | 
|---|
 | 897 |  | 
|---|
| [3240] | 898 | Report bugs to <orxonox-dev at mail.datacore.ch>. | 
|---|
| [1956] | 899 | _ACEOF | 
|---|
 | 900 | fi | 
|---|
 | 901 |  | 
|---|
 | 902 | if test "$ac_init_help" = "recursive"; then | 
|---|
 | 903 |   # If there are subdirs, report their specific --help. | 
|---|
 | 904 |   ac_popdir=`pwd` | 
|---|
 | 905 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
 | 906 |     test -d $ac_dir || continue | 
|---|
 | 907 |     ac_builddir=. | 
|---|
 | 908 |  | 
|---|
 | 909 | if test "$ac_dir" != .; then | 
|---|
 | 910 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 911 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 912 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 913 | else | 
|---|
 | 914 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 915 | fi | 
|---|
 | 916 |  | 
|---|
 | 917 | case $srcdir in | 
|---|
 | 918 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 919 |     ac_srcdir=. | 
|---|
 | 920 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 921 |        ac_top_srcdir=. | 
|---|
 | 922 |     else | 
|---|
 | 923 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 924 |     fi ;; | 
|---|
 | 925 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 926 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 927 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 928 |   *) # Relative path. | 
|---|
 | 929 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 930 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 931 | esac | 
|---|
 | 932 |  | 
|---|
 | 933 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 934 | # the directories may not exist. | 
|---|
 | 935 | case `pwd` in | 
|---|
 | 936 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 937 | *) | 
|---|
 | 938 |   case "$ac_dir" in | 
|---|
 | 939 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 940 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 941 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 942 |   esac;; | 
|---|
 | 943 | esac | 
|---|
 | 944 | case $ac_abs_builddir in | 
|---|
 | 945 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 946 | *) | 
|---|
 | 947 |   case ${ac_top_builddir}. in | 
|---|
 | 948 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 949 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 950 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 951 |   esac;; | 
|---|
 | 952 | esac | 
|---|
 | 953 | case $ac_abs_builddir in | 
|---|
 | 954 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 955 | *) | 
|---|
 | 956 |   case $ac_srcdir in | 
|---|
 | 957 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 958 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 959 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 960 |   esac;; | 
|---|
 | 961 | esac | 
|---|
 | 962 | case $ac_abs_builddir in | 
|---|
 | 963 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 964 | *) | 
|---|
 | 965 |   case $ac_top_srcdir in | 
|---|
 | 966 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 967 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 968 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 969 |   esac;; | 
|---|
 | 970 | esac | 
|---|
 | 971 |  | 
|---|
 | 972 |     cd $ac_dir | 
|---|
 | 973 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
 | 974 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
 | 975 |       echo | 
|---|
 | 976 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
 | 977 |     elif test -f $ac_srcdir/configure; then | 
|---|
 | 978 |       echo | 
|---|
 | 979 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
 | 980 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
 | 981 |            test -f $ac_srcdir/configure.in; then | 
|---|
 | 982 |       echo | 
|---|
 | 983 |       $ac_configure --help | 
|---|
 | 984 |     else | 
|---|
 | 985 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
 | 986 |     fi | 
|---|
 | 987 |     cd $ac_popdir | 
|---|
 | 988 |   done | 
|---|
 | 989 | fi | 
|---|
 | 990 |  | 
|---|
 | 991 | test -n "$ac_init_help" && exit 0 | 
|---|
 | 992 | if $ac_init_version; then | 
|---|
 | 993 |   cat <<\_ACEOF | 
|---|
| [3569] | 994 | orxonox configure 0.2.2-pre-alpha | 
|---|
| [1956] | 995 | generated by GNU Autoconf 2.59 | 
|---|
 | 996 |  | 
|---|
 | 997 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 998 | This configure script is free software; the Free Software Foundation | 
|---|
 | 999 | gives unlimited permission to copy, distribute and modify it. | 
|---|
 | 1000 | _ACEOF | 
|---|
 | 1001 |   exit 0 | 
|---|
 | 1002 | fi | 
|---|
 | 1003 | exec 5>config.log | 
|---|
 | 1004 | cat >&5 <<_ACEOF | 
|---|
 | 1005 | This file contains any messages produced by compilers while | 
|---|
 | 1006 | running configure, to aid debugging if configure makes a mistake. | 
|---|
 | 1007 |  | 
|---|
| [3569] | 1008 | It was created by orxonox $as_me 0.2.2-pre-alpha, which was | 
|---|
| [1956] | 1009 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 1010 |  | 
|---|
 | 1011 |   $ $0 $@ | 
|---|
 | 1012 |  | 
|---|
 | 1013 | _ACEOF | 
|---|
 | 1014 | { | 
|---|
 | 1015 | cat <<_ASUNAME | 
|---|
 | 1016 | ## --------- ## | 
|---|
 | 1017 | ## Platform. ## | 
|---|
 | 1018 | ## --------- ## | 
|---|
 | 1019 |  | 
|---|
 | 1020 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
 | 1021 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
 | 1022 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
 | 1023 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
 | 1024 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
 | 1025 |  | 
|---|
 | 1026 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
 | 1027 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
 | 1028 |  | 
|---|
 | 1029 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
 | 1030 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
 | 1031 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
 | 1032 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
 | 1033 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
 | 1034 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
 | 1035 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
 | 1036 |  | 
|---|
 | 1037 | _ASUNAME | 
|---|
 | 1038 |  | 
|---|
 | 1039 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1040 | for as_dir in $PATH | 
|---|
 | 1041 | do | 
|---|
 | 1042 |   IFS=$as_save_IFS | 
|---|
 | 1043 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1044 |   echo "PATH: $as_dir" | 
|---|
 | 1045 | done | 
|---|
 | 1046 |  | 
|---|
 | 1047 | } >&5 | 
|---|
 | 1048 |  | 
|---|
 | 1049 | cat >&5 <<_ACEOF | 
|---|
 | 1050 |  | 
|---|
 | 1051 |  | 
|---|
 | 1052 | ## ----------- ## | 
|---|
 | 1053 | ## Core tests. ## | 
|---|
 | 1054 | ## ----------- ## | 
|---|
 | 1055 |  | 
|---|
 | 1056 | _ACEOF | 
|---|
 | 1057 |  | 
|---|
 | 1058 |  | 
|---|
 | 1059 | # Keep a trace of the command line. | 
|---|
 | 1060 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
 | 1061 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
 | 1062 | # Also quote any args containing shell meta-characters. | 
|---|
 | 1063 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
 | 1064 | ac_configure_args= | 
|---|
 | 1065 | ac_configure_args0= | 
|---|
 | 1066 | ac_configure_args1= | 
|---|
 | 1067 | ac_sep= | 
|---|
 | 1068 | ac_must_keep_next=false | 
|---|
 | 1069 | for ac_pass in 1 2 | 
|---|
 | 1070 | do | 
|---|
 | 1071 |   for ac_arg | 
|---|
 | 1072 |   do | 
|---|
 | 1073 |     case $ac_arg in | 
|---|
 | 1074 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
 | 1075 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 1076 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
 | 1077 |       continue ;; | 
|---|
 | 1078 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1079 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1080 |     esac | 
|---|
 | 1081 |     case $ac_pass in | 
|---|
 | 1082 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
 | 1083 |     2) | 
|---|
 | 1084 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
 | 1085 |       if test $ac_must_keep_next = true; then | 
|---|
 | 1086 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
 | 1087 |       else | 
|---|
 | 1088 |         case $ac_arg in | 
|---|
 | 1089 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
 | 1090 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
 | 1091 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
 | 1092 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
 | 1093 |             case "$ac_configure_args0 " in | 
|---|
 | 1094 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
 | 1095 |             esac | 
|---|
 | 1096 |             ;; | 
|---|
 | 1097 |           -* ) ac_must_keep_next=true ;; | 
|---|
 | 1098 |         esac | 
|---|
 | 1099 |       fi | 
|---|
 | 1100 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
 | 1101 |       # Get rid of the leading space. | 
|---|
 | 1102 |       ac_sep=" " | 
|---|
 | 1103 |       ;; | 
|---|
 | 1104 |     esac | 
|---|
 | 1105 |   done | 
|---|
 | 1106 | done | 
|---|
 | 1107 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
 | 1108 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
 | 1109 |  | 
|---|
 | 1110 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
 | 1111 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
 | 1112 | # would cause problems or look ugly. | 
|---|
 | 1113 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
 | 1114 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
 | 1115 | trap 'exit_status=$? | 
|---|
 | 1116 |   # Save into config.log some information that might help in debugging. | 
|---|
 | 1117 |   { | 
|---|
 | 1118 |     echo | 
|---|
 | 1119 |  | 
|---|
 | 1120 |     cat <<\_ASBOX | 
|---|
 | 1121 | ## ---------------- ## | 
|---|
 | 1122 | ## Cache variables. ## | 
|---|
 | 1123 | ## ---------------- ## | 
|---|
 | 1124 | _ASBOX | 
|---|
 | 1125 |     echo | 
|---|
 | 1126 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 1127 | { | 
|---|
 | 1128 |   (set) 2>&1 | | 
|---|
 | 1129 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
 | 1130 |     *ac_space=\ *) | 
|---|
 | 1131 |       sed -n \ | 
|---|
 | 1132 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
 | 1133 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
 | 1134 |       ;; | 
|---|
 | 1135 |     *) | 
|---|
 | 1136 |       sed -n \ | 
|---|
 | 1137 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 1138 |       ;; | 
|---|
 | 1139 |     esac; | 
|---|
 | 1140 | } | 
|---|
 | 1141 |     echo | 
|---|
 | 1142 |  | 
|---|
 | 1143 |     cat <<\_ASBOX | 
|---|
 | 1144 | ## ----------------- ## | 
|---|
 | 1145 | ## Output variables. ## | 
|---|
 | 1146 | ## ----------------- ## | 
|---|
 | 1147 | _ASBOX | 
|---|
 | 1148 |     echo | 
|---|
 | 1149 |     for ac_var in $ac_subst_vars | 
|---|
 | 1150 |     do | 
|---|
 | 1151 |       eval ac_val=$`echo $ac_var` | 
|---|
 | 1152 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1153 |     done | sort | 
|---|
 | 1154 |     echo | 
|---|
 | 1155 |  | 
|---|
 | 1156 |     if test -n "$ac_subst_files"; then | 
|---|
 | 1157 |       cat <<\_ASBOX | 
|---|
 | 1158 | ## ------------- ## | 
|---|
 | 1159 | ## Output files. ## | 
|---|
 | 1160 | ## ------------- ## | 
|---|
 | 1161 | _ASBOX | 
|---|
 | 1162 |       echo | 
|---|
 | 1163 |       for ac_var in $ac_subst_files | 
|---|
 | 1164 |       do | 
|---|
 | 1165 |         eval ac_val=$`echo $ac_var` | 
|---|
 | 1166 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1167 |       done | sort | 
|---|
 | 1168 |       echo | 
|---|
 | 1169 |     fi | 
|---|
 | 1170 |  | 
|---|
 | 1171 |     if test -s confdefs.h; then | 
|---|
 | 1172 |       cat <<\_ASBOX | 
|---|
 | 1173 | ## ----------- ## | 
|---|
 | 1174 | ## confdefs.h. ## | 
|---|
 | 1175 | ## ----------- ## | 
|---|
 | 1176 | _ASBOX | 
|---|
 | 1177 |       echo | 
|---|
 | 1178 |       sed "/^$/d" confdefs.h | sort | 
|---|
 | 1179 |       echo | 
|---|
 | 1180 |     fi | 
|---|
 | 1181 |     test "$ac_signal" != 0 && | 
|---|
 | 1182 |       echo "$as_me: caught signal $ac_signal" | 
|---|
 | 1183 |     echo "$as_me: exit $exit_status" | 
|---|
 | 1184 |   } >&5 | 
|---|
 | 1185 |   rm -f core *.core && | 
|---|
 | 1186 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
 | 1187 |     exit $exit_status | 
|---|
 | 1188 |      ' 0 | 
|---|
 | 1189 | for ac_signal in 1 2 13 15; do | 
|---|
 | 1190 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
 | 1191 | done | 
|---|
 | 1192 | ac_signal=0 | 
|---|
 | 1193 |  | 
|---|
 | 1194 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
 | 1195 | rm -rf conftest* confdefs.h | 
|---|
 | 1196 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
 | 1197 | echo >confdefs.h | 
|---|
 | 1198 |  | 
|---|
 | 1199 | # Predefined preprocessor variables. | 
|---|
 | 1200 |  | 
|---|
 | 1201 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1202 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
 | 1203 | _ACEOF | 
|---|
 | 1204 |  | 
|---|
 | 1205 |  | 
|---|
 | 1206 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1207 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
 | 1208 | _ACEOF | 
|---|
 | 1209 |  | 
|---|
 | 1210 |  | 
|---|
 | 1211 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1212 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
 | 1213 | _ACEOF | 
|---|
 | 1214 |  | 
|---|
 | 1215 |  | 
|---|
 | 1216 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1217 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
 | 1218 | _ACEOF | 
|---|
 | 1219 |  | 
|---|
 | 1220 |  | 
|---|
 | 1221 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1222 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
 | 1223 | _ACEOF | 
|---|
 | 1224 |  | 
|---|
 | 1225 |  | 
|---|
 | 1226 | # Let the site file select an alternate cache file if it wants to. | 
|---|
 | 1227 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
 | 1228 | if test -z "$CONFIG_SITE"; then | 
|---|
 | 1229 |   if test "x$prefix" != xNONE; then | 
|---|
 | 1230 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
 | 1231 |   else | 
|---|
 | 1232 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
 | 1233 |   fi | 
|---|
 | 1234 | fi | 
|---|
 | 1235 | for ac_site_file in $CONFIG_SITE; do | 
|---|
 | 1236 |   if test -r "$ac_site_file"; then | 
|---|
 | 1237 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
 | 1238 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
 | 1239 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
 | 1240 |     . "$ac_site_file" | 
|---|
 | 1241 |   fi | 
|---|
 | 1242 | done | 
|---|
 | 1243 |  | 
|---|
 | 1244 | if test -r "$cache_file"; then | 
|---|
 | 1245 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
 | 1246 |   # files actually), so we avoid doing that. | 
|---|
 | 1247 |   if test -f "$cache_file"; then | 
|---|
 | 1248 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
 | 1249 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
 | 1250 |     case $cache_file in | 
|---|
 | 1251 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
 | 1252 |       *)                      . ./$cache_file;; | 
|---|
 | 1253 |     esac | 
|---|
 | 1254 |   fi | 
|---|
 | 1255 | else | 
|---|
 | 1256 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
 | 1257 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
 | 1258 |   >$cache_file | 
|---|
 | 1259 | fi | 
|---|
 | 1260 |  | 
|---|
 | 1261 | # Check that the precious variables saved in the cache have kept the same | 
|---|
 | 1262 | # value. | 
|---|
 | 1263 | ac_cache_corrupted=false | 
|---|
 | 1264 | for ac_var in `(set) 2>&1 | | 
|---|
 | 1265 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
 | 1266 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
 | 1267 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
 | 1268 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
 | 1269 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
 | 1270 |   case $ac_old_set,$ac_new_set in | 
|---|
 | 1271 |     set,) | 
|---|
 | 1272 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
 | 1273 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
 | 1274 |       ac_cache_corrupted=: ;; | 
|---|
 | 1275 |     ,set) | 
|---|
 | 1276 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
 | 1277 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
 | 1278 |       ac_cache_corrupted=: ;; | 
|---|
 | 1279 |     ,);; | 
|---|
 | 1280 |     *) | 
|---|
 | 1281 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
 | 1282 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
 | 1283 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
 | 1284 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
 | 1285 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
 | 1286 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
 | 1287 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
 | 1288 |         ac_cache_corrupted=: | 
|---|
 | 1289 |       fi;; | 
|---|
 | 1290 |   esac | 
|---|
 | 1291 |   # Pass precious variables to config.status. | 
|---|
 | 1292 |   if test "$ac_new_set" = set; then | 
|---|
 | 1293 |     case $ac_new_val in | 
|---|
 | 1294 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1295 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1296 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
 | 1297 |     esac | 
|---|
 | 1298 |     case " $ac_configure_args " in | 
|---|
 | 1299 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
 | 1300 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
 | 1301 |     esac | 
|---|
 | 1302 |   fi | 
|---|
 | 1303 | done | 
|---|
 | 1304 | if $ac_cache_corrupted; then | 
|---|
 | 1305 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
 | 1306 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
 | 1307 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
 | 1308 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
 | 1309 |    { (exit 1); exit 1; }; } | 
|---|
 | 1310 | fi | 
|---|
 | 1311 |  | 
|---|
 | 1312 | ac_ext=c | 
|---|
 | 1313 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 1314 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1315 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1316 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 1317 |  | 
|---|
 | 1318 |  | 
|---|
 | 1319 |  | 
|---|
 | 1320 |  | 
|---|
 | 1321 |  | 
|---|
 | 1322 |  | 
|---|
 | 1323 |  | 
|---|
 | 1324 |  | 
|---|
 | 1325 |  | 
|---|
 | 1326 |  | 
|---|
 | 1327 |  | 
|---|
 | 1328 |  | 
|---|
 | 1329 |  | 
|---|
 | 1330 |  | 
|---|
 | 1331 |  | 
|---|
 | 1332 |  | 
|---|
 | 1333 |  | 
|---|
 | 1334 |  | 
|---|
 | 1335 |  | 
|---|
 | 1336 |  | 
|---|
 | 1337 |  | 
|---|
 | 1338 |  | 
|---|
 | 1339 |  | 
|---|
 | 1340 |  | 
|---|
 | 1341 |  | 
|---|
 | 1342 |  | 
|---|
 | 1343 |  | 
|---|
| [2980] | 1344 |  | 
|---|
| [3424] | 1345 | ## Detect the canonical host and target build environment. | 
|---|
| [1956] | 1346 | ac_aux_dir= | 
|---|
 | 1347 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
 | 1348 |   if test -f $ac_dir/install-sh; then | 
|---|
 | 1349 |     ac_aux_dir=$ac_dir | 
|---|
 | 1350 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
 | 1351 |     break | 
|---|
 | 1352 |   elif test -f $ac_dir/install.sh; then | 
|---|
 | 1353 |     ac_aux_dir=$ac_dir | 
|---|
 | 1354 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
 | 1355 |     break | 
|---|
 | 1356 |   elif test -f $ac_dir/shtool; then | 
|---|
 | 1357 |     ac_aux_dir=$ac_dir | 
|---|
 | 1358 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
 | 1359 |     break | 
|---|
 | 1360 |   fi | 
|---|
 | 1361 | done | 
|---|
 | 1362 | if test -z "$ac_aux_dir"; then | 
|---|
 | 1363 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
 | 1364 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
 | 1365 |    { (exit 1); exit 1; }; } | 
|---|
 | 1366 | fi | 
|---|
 | 1367 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
 | 1368 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
 | 1369 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
 | 1370 |  | 
|---|
| [2980] | 1371 | # Make sure we can run config.sub. | 
|---|
 | 1372 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
 | 1373 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
 | 1374 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
 | 1375 |    { (exit 1); exit 1; }; } | 
|---|
 | 1376 |  | 
|---|
 | 1377 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
 | 1378 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
 | 1379 | if test "${ac_cv_build+set}" = set; then | 
|---|
 | 1380 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1381 | else | 
|---|
 | 1382 |   ac_cv_build_alias=$build_alias | 
|---|
 | 1383 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1384 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
 | 1385 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1386 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
 | 1387 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
 | 1388 |    { (exit 1); exit 1; }; } | 
|---|
 | 1389 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
 | 1390 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
 | 1391 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
 | 1392 |    { (exit 1); exit 1; }; } | 
|---|
 | 1393 |  | 
|---|
 | 1394 | fi | 
|---|
 | 1395 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
 | 1396 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
 | 1397 | build=$ac_cv_build | 
|---|
 | 1398 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1399 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1400 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1401 |  | 
|---|
 | 1402 |  | 
|---|
 | 1403 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
 | 1404 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
 | 1405 | if test "${ac_cv_host+set}" = set; then | 
|---|
 | 1406 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1407 | else | 
|---|
 | 1408 |   ac_cv_host_alias=$host_alias | 
|---|
 | 1409 | test -z "$ac_cv_host_alias" && | 
|---|
 | 1410 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
 | 1411 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
 | 1412 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
 | 1413 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
 | 1414 |    { (exit 1); exit 1; }; } | 
|---|
 | 1415 |  | 
|---|
 | 1416 | fi | 
|---|
 | 1417 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
 | 1418 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
 | 1419 | host=$ac_cv_host | 
|---|
 | 1420 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1421 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1422 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1423 |  | 
|---|
 | 1424 |  | 
|---|
 | 1425 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
 | 1426 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
 | 1427 | if test "${ac_cv_target+set}" = set; then | 
|---|
 | 1428 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1429 | else | 
|---|
 | 1430 |   ac_cv_target_alias=$target_alias | 
|---|
 | 1431 | test "x$ac_cv_target_alias" = "x" && | 
|---|
 | 1432 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
 | 1433 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
 | 1434 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
 | 1435 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
 | 1436 |    { (exit 1); exit 1; }; } | 
|---|
 | 1437 |  | 
|---|
 | 1438 | fi | 
|---|
 | 1439 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
 | 1440 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
 | 1441 | target=$ac_cv_target | 
|---|
 | 1442 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1443 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1444 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1445 |  | 
|---|
 | 1446 |  | 
|---|
 | 1447 | # The aliases save the names the user supplied, while $host etc. | 
|---|
 | 1448 | # will get canonicalized. | 
|---|
 | 1449 | test -n "$target_alias" && | 
|---|
 | 1450 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
 | 1451 |     NONENONEs,x,x, && | 
|---|
 | 1452 |   program_prefix=${target_alias}- | 
|---|
 | 1453 |  | 
|---|
 | 1454 | am__api_version="1.8" | 
|---|
| [1956] | 1455 | # Find a good install program.  We prefer a C program (faster), | 
|---|
 | 1456 | # so one script is as good as another.  But avoid the broken or | 
|---|
 | 1457 | # incompatible versions: | 
|---|
 | 1458 | # SysV /etc/install, /usr/sbin/install | 
|---|
 | 1459 | # SunOS /usr/etc/install | 
|---|
 | 1460 | # IRIX /sbin/install | 
|---|
 | 1461 | # AIX /bin/install | 
|---|
 | 1462 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
 | 1463 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
 | 1464 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
 | 1465 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
 | 1466 | # OS/2's system install, which has a completely different semantic | 
|---|
 | 1467 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
 | 1468 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
 | 1469 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
 | 1470 | if test -z "$INSTALL"; then | 
|---|
 | 1471 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1472 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1473 | else | 
|---|
 | 1474 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1475 | for as_dir in $PATH | 
|---|
 | 1476 | do | 
|---|
 | 1477 |   IFS=$as_save_IFS | 
|---|
 | 1478 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1479 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
 | 1480 | case $as_dir/ in | 
|---|
 | 1481 |   ./ | .// | /cC/* | \ | 
|---|
 | 1482 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
 | 1483 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
 | 1484 |   /usr/ucb/* ) ;; | 
|---|
 | 1485 |   *) | 
|---|
 | 1486 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
 | 1487 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
 | 1488 |     # by default. | 
|---|
 | 1489 |     for ac_prog in ginstall scoinst install; do | 
|---|
 | 1490 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1491 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
 | 1492 |           if test $ac_prog = install && | 
|---|
 | 1493 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1494 |             # AIX install.  It has an incompatible calling convention. | 
|---|
 | 1495 |             : | 
|---|
 | 1496 |           elif test $ac_prog = install && | 
|---|
 | 1497 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1498 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
 | 1499 |             : | 
|---|
 | 1500 |           else | 
|---|
 | 1501 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
 | 1502 |             break 3 | 
|---|
 | 1503 |           fi | 
|---|
| [1853] | 1504 |         fi | 
|---|
| [1956] | 1505 |       done | 
|---|
 | 1506 |     done | 
|---|
 | 1507 |     ;; | 
|---|
 | 1508 | esac | 
|---|
 | 1509 | done | 
|---|
 | 1510 |  | 
|---|
 | 1511 |  | 
|---|
| [1853] | 1512 | fi | 
|---|
| [1956] | 1513 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1514 |     INSTALL=$ac_cv_path_install | 
|---|
 | 1515 |   else | 
|---|
 | 1516 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
 | 1517 |     # path for INSTALL within a source directory, because that will | 
|---|
 | 1518 |     # break other packages using the cache if that directory is | 
|---|
 | 1519 |     # removed, or if the path is relative. | 
|---|
 | 1520 |     INSTALL=$ac_install_sh | 
|---|
 | 1521 |   fi | 
|---|
 | 1522 | fi | 
|---|
 | 1523 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
 | 1524 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
 | 1525 |  | 
|---|
 | 1526 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
 | 1527 | # It thinks the first close brace ends the variable substitution. | 
|---|
 | 1528 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
 | 1529 |  | 
|---|
 | 1530 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
 | 1531 |  | 
|---|
 | 1532 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
 | 1533 |  | 
|---|
 | 1534 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
 | 1535 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
 | 1536 | # Just in case | 
|---|
 | 1537 | sleep 1 | 
|---|
 | 1538 | echo timestamp > conftest.file | 
|---|
 | 1539 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
 | 1540 | # arguments.  Must try -L first in case configure is actually a | 
|---|
 | 1541 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
 | 1542 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
 | 1543 | # directory). | 
|---|
 | 1544 | if ( | 
|---|
 | 1545 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
 | 1546 |    if test "$*" = "X"; then | 
|---|
 | 1547 |       # -L didn't work. | 
|---|
 | 1548 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
 | 1549 |    fi | 
|---|
 | 1550 |    rm -f conftest.file | 
|---|
 | 1551 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
 | 1552 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
 | 1553 |  | 
|---|
 | 1554 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
 | 1555 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
 | 1556 |       # broken ls alias from the environment.  This has actually | 
|---|
 | 1557 |       # happened.  Such a system could not be considered "sane". | 
|---|
 | 1558 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1559 | alias in your environment" >&5 | 
|---|
 | 1560 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1561 | alias in your environment" >&2;} | 
|---|
 | 1562 |    { (exit 1); exit 1; }; } | 
|---|
 | 1563 |    fi | 
|---|
 | 1564 |  | 
|---|
 | 1565 |    test "$2" = conftest.file | 
|---|
 | 1566 |    ) | 
|---|
 | 1567 | then | 
|---|
 | 1568 |    # Ok. | 
|---|
 | 1569 |    : | 
|---|
| [1853] | 1570 | else | 
|---|
| [1956] | 1571 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
 | 1572 | Check your system clock" >&5 | 
|---|
 | 1573 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
 | 1574 | Check your system clock" >&2;} | 
|---|
 | 1575 |    { (exit 1); exit 1; }; } | 
|---|
| [1853] | 1576 | fi | 
|---|
| [1956] | 1577 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1578 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1579 | test "$program_prefix" != NONE && | 
|---|
 | 1580 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
 | 1581 | # Use a double $ so make ignores it. | 
|---|
 | 1582 | test "$program_suffix" != NONE && | 
|---|
 | 1583 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
 | 1584 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
 | 1585 | # By default was `s,x,x', remove it if useless. | 
|---|
 | 1586 | cat <<\_ACEOF >conftest.sed | 
|---|
 | 1587 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
 | 1588 | _ACEOF | 
|---|
 | 1589 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
 | 1590 | rm conftest.sed | 
|---|
| [1853] | 1591 |  | 
|---|
| [1956] | 1592 | # expand $ac_aux_dir to an absolute path | 
|---|
 | 1593 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
 | 1594 |  | 
|---|
 | 1595 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
 | 1596 | # Use eval to expand $SHELL | 
|---|
 | 1597 | if eval "$MISSING --run true"; then | 
|---|
 | 1598 |   am_missing_run="$MISSING --run " | 
|---|
 | 1599 | else | 
|---|
 | 1600 |   am_missing_run= | 
|---|
 | 1601 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
 | 1602 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
 | 1603 | fi | 
|---|
 | 1604 |  | 
|---|
| [2819] | 1605 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| [2706] | 1606 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
 | 1607 |   # argument.  Indeed, we sometimes output rules like | 
|---|
 | 1608 |   #   $(mkdir_p) $(somedir) | 
|---|
 | 1609 |   # where $(somedir) is conditionally defined. | 
|---|
 | 1610 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
 | 1611 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
 | 1612 |   mkdir_p='mkdir -p -- .' | 
|---|
 | 1613 | else | 
|---|
 | 1614 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
 | 1615 |   # recognize any option.  It will interpret all options as | 
|---|
 | 1616 |   # directories to create, and then abort because `.' already | 
|---|
 | 1617 |   # exists. | 
|---|
| [2819] | 1618 |   for d in ./-p ./--version; | 
|---|
| [2706] | 1619 |   do | 
|---|
 | 1620 |     test -d $d && rmdir $d | 
|---|
 | 1621 |   done | 
|---|
 | 1622 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
 | 1623 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
 | 1624 |     mkdir_p='$(mkinstalldirs)' | 
|---|
 | 1625 |   else | 
|---|
 | 1626 |     mkdir_p='$(install_sh) -d' | 
|---|
 | 1627 |   fi | 
|---|
 | 1628 | fi | 
|---|
 | 1629 |  | 
|---|
| [1956] | 1630 | for ac_prog in gawk mawk nawk awk | 
|---|
 | 1631 | do | 
|---|
 | 1632 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1633 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1634 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1635 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1636 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
 | 1637 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1638 | else | 
|---|
 | 1639 |   if test -n "$AWK"; then | 
|---|
 | 1640 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
 | 1641 | else | 
|---|
 | 1642 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1643 | for as_dir in $PATH | 
|---|
 | 1644 | do | 
|---|
 | 1645 |   IFS=$as_save_IFS | 
|---|
 | 1646 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1647 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1648 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1649 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
 | 1650 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1651 |     break 2 | 
|---|
 | 1652 |   fi | 
|---|
 | 1653 | done | 
|---|
 | 1654 | done | 
|---|
 | 1655 |  | 
|---|
 | 1656 | fi | 
|---|
 | 1657 | fi | 
|---|
 | 1658 | AWK=$ac_cv_prog_AWK | 
|---|
 | 1659 | if test -n "$AWK"; then | 
|---|
 | 1660 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
 | 1661 | echo "${ECHO_T}$AWK" >&6 | 
|---|
 | 1662 | else | 
|---|
 | 1663 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1664 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1665 | fi | 
|---|
 | 1666 |  | 
|---|
 | 1667 |   test -n "$AWK" && break | 
|---|
 | 1668 | done | 
|---|
 | 1669 |  | 
|---|
 | 1670 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
 | 1671 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
 | 1672 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
 | 1673 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
 | 1674 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1675 | else | 
|---|
 | 1676 |   cat >conftest.make <<\_ACEOF | 
|---|
 | 1677 | all: | 
|---|
 | 1678 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
 | 1679 | _ACEOF | 
|---|
 | 1680 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
 | 1681 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
 | 1682 | if test -n "$ac_maketemp"; then | 
|---|
 | 1683 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
 | 1684 | else | 
|---|
 | 1685 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
 | 1686 | fi | 
|---|
 | 1687 | rm -f conftest.make | 
|---|
 | 1688 | fi | 
|---|
 | 1689 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
 | 1690 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1691 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1692 |   SET_MAKE= | 
|---|
 | 1693 | else | 
|---|
 | 1694 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1695 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1696 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
 | 1697 | fi | 
|---|
 | 1698 |  | 
|---|
 | 1699 | rm -rf .tst 2>/dev/null | 
|---|
 | 1700 | mkdir .tst 2>/dev/null | 
|---|
 | 1701 | if test -d .tst; then | 
|---|
 | 1702 |   am__leading_dot=. | 
|---|
 | 1703 | else | 
|---|
 | 1704 |   am__leading_dot=_ | 
|---|
 | 1705 | fi | 
|---|
 | 1706 | rmdir .tst 2>/dev/null | 
|---|
 | 1707 |  | 
|---|
| [2706] | 1708 | # test to see if srcdir already configured | 
|---|
| [1956] | 1709 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
 | 1710 |    test -f $srcdir/config.status; then | 
|---|
 | 1711 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
 | 1712 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
 | 1713 |    { (exit 1); exit 1; }; } | 
|---|
 | 1714 | fi | 
|---|
 | 1715 |  | 
|---|
 | 1716 | # test whether we have cygpath | 
|---|
 | 1717 | if test -z "$CYGPATH_W"; then | 
|---|
 | 1718 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
 | 1719 |     CYGPATH_W='cygpath -w' | 
|---|
 | 1720 |   else | 
|---|
 | 1721 |     CYGPATH_W=echo | 
|---|
 | 1722 |   fi | 
|---|
 | 1723 | fi | 
|---|
 | 1724 |  | 
|---|
 | 1725 |  | 
|---|
 | 1726 | # Define the identity of the package. | 
|---|
 | 1727 |  PACKAGE='orxonox' | 
|---|
| [3569] | 1728 |  VERSION='0.2.2-pre-alpha' | 
|---|
| [1956] | 1729 |  | 
|---|
 | 1730 |  | 
|---|
 | 1731 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1732 | #define PACKAGE "$PACKAGE" | 
|---|
 | 1733 | _ACEOF | 
|---|
 | 1734 |  | 
|---|
 | 1735 |  | 
|---|
 | 1736 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1737 | #define VERSION "$VERSION" | 
|---|
 | 1738 | _ACEOF | 
|---|
 | 1739 |  | 
|---|
 | 1740 | # Some tools Automake needs. | 
|---|
 | 1741 |  | 
|---|
 | 1742 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
 | 1743 |  | 
|---|
 | 1744 |  | 
|---|
 | 1745 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
 | 1746 |  | 
|---|
 | 1747 |  | 
|---|
 | 1748 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
 | 1749 |  | 
|---|
 | 1750 |  | 
|---|
 | 1751 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
 | 1752 |  | 
|---|
 | 1753 |  | 
|---|
 | 1754 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
 | 1755 |  | 
|---|
 | 1756 |  | 
|---|
 | 1757 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
 | 1758 |  | 
|---|
 | 1759 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
 | 1760 |  | 
|---|
 | 1761 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
 | 1762 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
 | 1763 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
 | 1764 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
 | 1765 | if test "$cross_compiling" != no; then | 
|---|
 | 1766 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 1767 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
 | 1768 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
 | 1769 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1770 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1771 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
 | 1772 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1773 | else | 
|---|
 | 1774 |   if test -n "$STRIP"; then | 
|---|
 | 1775 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
 | 1776 | else | 
|---|
 | 1777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1778 | for as_dir in $PATH | 
|---|
 | 1779 | do | 
|---|
 | 1780 |   IFS=$as_save_IFS | 
|---|
 | 1781 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1782 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1783 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1784 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
 | 1785 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1786 |     break 2 | 
|---|
 | 1787 |   fi | 
|---|
 | 1788 | done | 
|---|
 | 1789 | done | 
|---|
 | 1790 |  | 
|---|
 | 1791 | fi | 
|---|
 | 1792 | fi | 
|---|
 | 1793 | STRIP=$ac_cv_prog_STRIP | 
|---|
 | 1794 | if test -n "$STRIP"; then | 
|---|
 | 1795 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
 | 1796 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
 | 1797 | else | 
|---|
 | 1798 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1799 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1800 | fi | 
|---|
 | 1801 |  | 
|---|
 | 1802 | fi | 
|---|
 | 1803 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
 | 1804 |   ac_ct_STRIP=$STRIP | 
|---|
 | 1805 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
 | 1806 | set dummy strip; ac_word=$2 | 
|---|
 | 1807 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1808 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1809 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
 | 1810 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1811 | else | 
|---|
 | 1812 |   if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1813 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
 | 1814 | else | 
|---|
 | 1815 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1816 | for as_dir in $PATH | 
|---|
 | 1817 | do | 
|---|
 | 1818 |   IFS=$as_save_IFS | 
|---|
 | 1819 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1820 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1821 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1822 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
 | 1823 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1824 |     break 2 | 
|---|
 | 1825 |   fi | 
|---|
 | 1826 | done | 
|---|
 | 1827 | done | 
|---|
 | 1828 |  | 
|---|
 | 1829 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
 | 1830 | fi | 
|---|
 | 1831 | fi | 
|---|
 | 1832 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
 | 1833 | if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1834 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
 | 1835 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
 | 1836 | else | 
|---|
 | 1837 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1838 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1839 | fi | 
|---|
 | 1840 |  | 
|---|
 | 1841 |   STRIP=$ac_ct_STRIP | 
|---|
 | 1842 | else | 
|---|
 | 1843 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
 | 1844 | fi | 
|---|
 | 1845 |  | 
|---|
 | 1846 | fi | 
|---|
 | 1847 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
 | 1848 |  | 
|---|
 | 1849 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
 | 1850 | # some platforms. | 
|---|
 | 1851 |  | 
|---|
 | 1852 |  | 
|---|
 | 1853 |  | 
|---|
 | 1854 |  | 
|---|
| [2627] | 1855 |  | 
|---|
| [1959] | 1856 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
 | 1857 |  | 
|---|
 | 1858 |  | 
|---|
| [3424] | 1859 | ######################### | 
|---|
 | 1860 | ## Checks for programs ## | 
|---|
 | 1861 | ######################### | 
|---|
| [1956] | 1862 | ac_ext=cc | 
|---|
 | 1863 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
 | 1864 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1865 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1866 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
 | 1867 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 1868 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1869 |   do | 
|---|
 | 1870 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 1871 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 1872 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1873 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1874 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
 | 1875 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1876 | else | 
|---|
 | 1877 |   if test -n "$CXX"; then | 
|---|
 | 1878 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
 | 1879 | else | 
|---|
 | 1880 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1881 | for as_dir in $PATH | 
|---|
 | 1882 | do | 
|---|
 | 1883 |   IFS=$as_save_IFS | 
|---|
 | 1884 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1885 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1886 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1887 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
 | 1888 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1889 |     break 2 | 
|---|
 | 1890 |   fi | 
|---|
 | 1891 | done | 
|---|
 | 1892 | done | 
|---|
 | 1893 |  | 
|---|
 | 1894 | fi | 
|---|
 | 1895 | fi | 
|---|
 | 1896 | CXX=$ac_cv_prog_CXX | 
|---|
 | 1897 | if test -n "$CXX"; then | 
|---|
 | 1898 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
 | 1899 | echo "${ECHO_T}$CXX" >&6 | 
|---|
 | 1900 | else | 
|---|
 | 1901 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1902 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1903 | fi | 
|---|
 | 1904 |  | 
|---|
 | 1905 |     test -n "$CXX" && break | 
|---|
 | 1906 |   done | 
|---|
 | 1907 | fi | 
|---|
 | 1908 | if test -z "$CXX"; then | 
|---|
 | 1909 |   ac_ct_CXX=$CXX | 
|---|
 | 1910 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1911 | do | 
|---|
 | 1912 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1913 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1914 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1915 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1916 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
 | 1917 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1918 | else | 
|---|
 | 1919 |   if test -n "$ac_ct_CXX"; then | 
|---|
 | 1920 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
 | 1921 | else | 
|---|
 | 1922 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1923 | for as_dir in $PATH | 
|---|
 | 1924 | do | 
|---|
 | 1925 |   IFS=$as_save_IFS | 
|---|
 | 1926 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1927 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1928 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1929 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
 | 1930 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1931 |     break 2 | 
|---|
 | 1932 |   fi | 
|---|
 | 1933 | done | 
|---|
 | 1934 | done | 
|---|
 | 1935 |  | 
|---|
 | 1936 | fi | 
|---|
 | 1937 | fi | 
|---|
 | 1938 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
 | 1939 | if test -n "$ac_ct_CXX"; then | 
|---|
 | 1940 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
 | 1941 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
 | 1942 | else | 
|---|
 | 1943 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1944 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1945 | fi | 
|---|
 | 1946 |  | 
|---|
 | 1947 |   test -n "$ac_ct_CXX" && break | 
|---|
 | 1948 | done | 
|---|
 | 1949 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
 | 1950 |  | 
|---|
 | 1951 |   CXX=$ac_ct_CXX | 
|---|
 | 1952 | fi | 
|---|
 | 1953 |  | 
|---|
 | 1954 |  | 
|---|
 | 1955 | # Provide some information about the compiler. | 
|---|
 | 1956 | echo "$as_me:$LINENO:" \ | 
|---|
 | 1957 |      "checking for C++ compiler version" >&5 | 
|---|
 | 1958 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 1959 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 1960 |   (eval $ac_compiler --version </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 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 1970 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 1971 |   ac_status=$? | 
|---|
 | 1972 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1973 |   (exit $ac_status); } | 
|---|
 | 1974 |  | 
|---|
 | 1975 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 1976 | /* confdefs.h.  */ | 
|---|
 | 1977 | _ACEOF | 
|---|
 | 1978 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 1979 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 1980 | /* end confdefs.h.  */ | 
|---|
 | 1981 |  | 
|---|
 | 1982 | int | 
|---|
 | 1983 | main () | 
|---|
 | 1984 | { | 
|---|
 | 1985 |  | 
|---|
 | 1986 |   ; | 
|---|
 | 1987 |   return 0; | 
|---|
 | 1988 | } | 
|---|
 | 1989 | _ACEOF | 
|---|
 | 1990 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 1991 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
 | 1992 | # Try to create an executable without -o first, disregard a.out. | 
|---|
 | 1993 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
 | 1994 | # of exeext. | 
|---|
 | 1995 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
 | 1996 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
 | 1997 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
 | 1998 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
 | 1999 |   (eval $ac_link_default) 2>&5 | 
|---|
 | 2000 |   ac_status=$? | 
|---|
 | 2001 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2002 |   (exit $ac_status); }; then | 
|---|
 | 2003 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
 | 2004 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
 | 2005 | # resort. | 
|---|
 | 2006 |  | 
|---|
 | 2007 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
 | 2008 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
 | 2009 | ac_cv_exeext= | 
|---|
 | 2010 | # b.out is created by i960 compilers. | 
|---|
 | 2011 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
 | 2012 | do | 
|---|
 | 2013 |   test -f "$ac_file" || continue | 
|---|
 | 2014 |   case $ac_file in | 
|---|
 | 2015 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
 | 2016 |         ;; | 
|---|
 | 2017 |     conftest.$ac_ext ) | 
|---|
 | 2018 |         # This is the source file. | 
|---|
 | 2019 |         ;; | 
|---|
 | 2020 |     [ab].out ) | 
|---|
 | 2021 |         # We found the default executable, but exeext='' is most | 
|---|
 | 2022 |         # certainly right. | 
|---|
 | 2023 |         break;; | 
|---|
 | 2024 |     *.* ) | 
|---|
 | 2025 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2026 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
 | 2027 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
 | 2028 |         # maintain Libtool? --akim. | 
|---|
 | 2029 |         export ac_cv_exeext | 
|---|
 | 2030 |         break;; | 
|---|
 | 2031 |     * ) | 
|---|
 | 2032 |         break;; | 
|---|
 | 2033 |   esac | 
|---|
 | 2034 | done | 
|---|
 | 2035 | else | 
|---|
 | 2036 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2037 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2038 |  | 
|---|
 | 2039 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
 | 2040 | See \`config.log' for more details." >&5 | 
|---|
 | 2041 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
 | 2042 | See \`config.log' for more details." >&2;} | 
|---|
 | 2043 |    { (exit 77); exit 77; }; } | 
|---|
 | 2044 | fi | 
|---|
 | 2045 |  | 
|---|
 | 2046 | ac_exeext=$ac_cv_exeext | 
|---|
 | 2047 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
 | 2048 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
 | 2049 |  | 
|---|
 | 2050 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2051 | # the compiler is broken, or we cross compile. | 
|---|
 | 2052 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
 | 2053 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
 | 2054 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
 | 2055 | # If not cross compiling, check that we can run a simple program. | 
|---|
 | 2056 | if test "$cross_compiling" != yes; then | 
|---|
 | 2057 |   if { ac_try='./$ac_file' | 
|---|
 | 2058 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2059 |   (eval $ac_try) 2>&5 | 
|---|
 | 2060 |   ac_status=$? | 
|---|
 | 2061 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2062 |   (exit $ac_status); }; }; then | 
|---|
 | 2063 |     cross_compiling=no | 
|---|
 | 2064 |   else | 
|---|
 | 2065 |     if test "$cross_compiling" = maybe; then | 
|---|
 | 2066 |         cross_compiling=yes | 
|---|
 | 2067 |     else | 
|---|
 | 2068 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
 | 2069 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2070 | See \`config.log' for more details." >&5 | 
|---|
 | 2071 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
 | 2072 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2073 | See \`config.log' for more details." >&2;} | 
|---|
 | 2074 |    { (exit 1); exit 1; }; } | 
|---|
 | 2075 |     fi | 
|---|
 | 2076 |   fi | 
|---|
 | 2077 | fi | 
|---|
 | 2078 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 2079 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 2080 |  | 
|---|
 | 2081 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
 | 2082 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 2083 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2084 | # the compiler is broken, or we cross compile. | 
|---|
 | 2085 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
 | 2086 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
 | 2087 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
 | 2088 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
 | 2089 |  | 
|---|
 | 2090 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
 | 2091 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
 | 2092 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 2093 |   (eval $ac_link) 2>&5 | 
|---|
 | 2094 |   ac_status=$? | 
|---|
 | 2095 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2096 |   (exit $ac_status); }; then | 
|---|
 | 2097 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
 | 2098 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
 | 2099 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
 | 2100 | # `rm'. | 
|---|
 | 2101 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
 | 2102 |   test -f "$ac_file" || continue | 
|---|
 | 2103 |   case $ac_file in | 
|---|
 | 2104 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
 | 2105 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2106 |           export ac_cv_exeext | 
|---|
 | 2107 |           break;; | 
|---|
 | 2108 |     * ) break;; | 
|---|
 | 2109 |   esac | 
|---|
 | 2110 | done | 
|---|
 | 2111 | else | 
|---|
 | 2112 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2113 | See \`config.log' for more details." >&5 | 
|---|
 | 2114 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2115 | See \`config.log' for more details." >&2;} | 
|---|
 | 2116 |    { (exit 1); exit 1; }; } | 
|---|
 | 2117 | fi | 
|---|
 | 2118 |  | 
|---|
 | 2119 | rm -f conftest$ac_cv_exeext | 
|---|
 | 2120 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
 | 2121 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
 | 2122 |  | 
|---|
 | 2123 | rm -f conftest.$ac_ext | 
|---|
 | 2124 | EXEEXT=$ac_cv_exeext | 
|---|
 | 2125 | ac_exeext=$EXEEXT | 
|---|
 | 2126 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
 | 2127 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
 | 2128 | if test "${ac_cv_objext+set}" = set; then | 
|---|
 | 2129 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2130 | else | 
|---|
 | 2131 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2132 | /* confdefs.h.  */ | 
|---|
 | 2133 | _ACEOF | 
|---|
 | 2134 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2135 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2136 | /* end confdefs.h.  */ | 
|---|
 | 2137 |  | 
|---|
 | 2138 | int | 
|---|
 | 2139 | main () | 
|---|
 | 2140 | { | 
|---|
 | 2141 |  | 
|---|
 | 2142 |   ; | 
|---|
 | 2143 |   return 0; | 
|---|
 | 2144 | } | 
|---|
 | 2145 | _ACEOF | 
|---|
 | 2146 | rm -f conftest.o conftest.obj | 
|---|
 | 2147 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2148 |   (eval $ac_compile) 2>&5 | 
|---|
 | 2149 |   ac_status=$? | 
|---|
 | 2150 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2151 |   (exit $ac_status); }; then | 
|---|
 | 2152 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
 | 2153 |   case $ac_file in | 
|---|
 | 2154 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
 | 2155 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
 | 2156 |        break;; | 
|---|
 | 2157 |   esac | 
|---|
 | 2158 | done | 
|---|
 | 2159 | else | 
|---|
 | 2160 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2161 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2162 |  | 
|---|
 | 2163 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2164 | See \`config.log' for more details." >&5 | 
|---|
 | 2165 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2166 | See \`config.log' for more details." >&2;} | 
|---|
 | 2167 |    { (exit 1); exit 1; }; } | 
|---|
 | 2168 | fi | 
|---|
 | 2169 |  | 
|---|
 | 2170 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
 | 2171 | fi | 
|---|
 | 2172 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
 | 2173 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
 | 2174 | OBJEXT=$ac_cv_objext | 
|---|
 | 2175 | ac_objext=$OBJEXT | 
|---|
 | 2176 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
 | 2177 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
 | 2178 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
 | 2179 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2180 | else | 
|---|
 | 2181 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2182 | /* confdefs.h.  */ | 
|---|
 | 2183 | _ACEOF | 
|---|
 | 2184 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2185 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2186 | /* end confdefs.h.  */ | 
|---|
 | 2187 |  | 
|---|
 | 2188 | int | 
|---|
 | 2189 | main () | 
|---|
 | 2190 | { | 
|---|
 | 2191 | #ifndef __GNUC__ | 
|---|
 | 2192 |        choke me | 
|---|
 | 2193 | #endif | 
|---|
 | 2194 |  | 
|---|
 | 2195 |   ; | 
|---|
 | 2196 |   return 0; | 
|---|
 | 2197 | } | 
|---|
 | 2198 | _ACEOF | 
|---|
 | 2199 | rm -f conftest.$ac_objext | 
|---|
 | 2200 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2201 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2202 |   ac_status=$? | 
|---|
 | 2203 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2204 |   rm -f conftest.er1 | 
|---|
 | 2205 |   cat conftest.err >&5 | 
|---|
 | 2206 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2207 |   (exit $ac_status); } && | 
|---|
 | 2208 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2209 |                          || test ! -s conftest.err' | 
|---|
 | 2210 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2211 |   (eval $ac_try) 2>&5 | 
|---|
 | 2212 |   ac_status=$? | 
|---|
 | 2213 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2214 |   (exit $ac_status); }; } && | 
|---|
 | 2215 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2216 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2217 |   (eval $ac_try) 2>&5 | 
|---|
 | 2218 |   ac_status=$? | 
|---|
 | 2219 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2220 |   (exit $ac_status); }; }; then | 
|---|
 | 2221 |   ac_compiler_gnu=yes | 
|---|
 | 2222 | else | 
|---|
 | 2223 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2224 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2225 |  | 
|---|
 | 2226 | ac_compiler_gnu=no | 
|---|
 | 2227 | fi | 
|---|
 | 2228 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2229 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2230 |  | 
|---|
 | 2231 | fi | 
|---|
 | 2232 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
 | 2233 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
 | 2234 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2235 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
 | 2236 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
 | 2237 | CXXFLAGS="-g" | 
|---|
 | 2238 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
 | 2239 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
 | 2240 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
 | 2241 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2242 | else | 
|---|
 | 2243 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2244 | /* confdefs.h.  */ | 
|---|
 | 2245 | _ACEOF | 
|---|
 | 2246 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2247 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2248 | /* end confdefs.h.  */ | 
|---|
 | 2249 |  | 
|---|
 | 2250 | int | 
|---|
 | 2251 | main () | 
|---|
 | 2252 | { | 
|---|
 | 2253 |  | 
|---|
 | 2254 |   ; | 
|---|
 | 2255 |   return 0; | 
|---|
 | 2256 | } | 
|---|
 | 2257 | _ACEOF | 
|---|
 | 2258 | rm -f conftest.$ac_objext | 
|---|
 | 2259 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2260 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2261 |   ac_status=$? | 
|---|
 | 2262 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2263 |   rm -f conftest.er1 | 
|---|
 | 2264 |   cat conftest.err >&5 | 
|---|
 | 2265 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2266 |   (exit $ac_status); } && | 
|---|
 | 2267 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2268 |                          || test ! -s conftest.err' | 
|---|
 | 2269 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2270 |   (eval $ac_try) 2>&5 | 
|---|
 | 2271 |   ac_status=$? | 
|---|
 | 2272 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2273 |   (exit $ac_status); }; } && | 
|---|
 | 2274 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2275 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2276 |   (eval $ac_try) 2>&5 | 
|---|
 | 2277 |   ac_status=$? | 
|---|
 | 2278 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2279 |   (exit $ac_status); }; }; then | 
|---|
 | 2280 |   ac_cv_prog_cxx_g=yes | 
|---|
 | 2281 | else | 
|---|
 | 2282 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2283 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2284 |  | 
|---|
 | 2285 | ac_cv_prog_cxx_g=no | 
|---|
 | 2286 | fi | 
|---|
 | 2287 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2288 | fi | 
|---|
 | 2289 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
 | 2290 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
 | 2291 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
 | 2292 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
 | 2293 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
 | 2294 |   if test "$GXX" = yes; then | 
|---|
 | 2295 |     CXXFLAGS="-g -O2" | 
|---|
 | 2296 |   else | 
|---|
 | 2297 |     CXXFLAGS="-g" | 
|---|
 | 2298 |   fi | 
|---|
 | 2299 | else | 
|---|
 | 2300 |   if test "$GXX" = yes; then | 
|---|
 | 2301 |     CXXFLAGS="-O2" | 
|---|
 | 2302 |   else | 
|---|
 | 2303 |     CXXFLAGS= | 
|---|
 | 2304 |   fi | 
|---|
 | 2305 | fi | 
|---|
 | 2306 | for ac_declaration in \ | 
|---|
 | 2307 |    '' \ | 
|---|
 | 2308 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 2309 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 2310 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 2311 |    'extern "C" void exit (int);' \ | 
|---|
 | 2312 |    'void exit (int);' | 
|---|
 | 2313 | do | 
|---|
 | 2314 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2315 | /* confdefs.h.  */ | 
|---|
 | 2316 | _ACEOF | 
|---|
 | 2317 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2318 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2319 | /* end confdefs.h.  */ | 
|---|
 | 2320 | $ac_declaration | 
|---|
 | 2321 | #include <stdlib.h> | 
|---|
 | 2322 | int | 
|---|
 | 2323 | main () | 
|---|
 | 2324 | { | 
|---|
 | 2325 | exit (42); | 
|---|
 | 2326 |   ; | 
|---|
 | 2327 |   return 0; | 
|---|
 | 2328 | } | 
|---|
 | 2329 | _ACEOF | 
|---|
 | 2330 | rm -f conftest.$ac_objext | 
|---|
 | 2331 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2332 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2333 |   ac_status=$? | 
|---|
 | 2334 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2335 |   rm -f conftest.er1 | 
|---|
 | 2336 |   cat conftest.err >&5 | 
|---|
 | 2337 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2338 |   (exit $ac_status); } && | 
|---|
 | 2339 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2340 |                          || test ! -s conftest.err' | 
|---|
 | 2341 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2342 |   (eval $ac_try) 2>&5 | 
|---|
 | 2343 |   ac_status=$? | 
|---|
 | 2344 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2345 |   (exit $ac_status); }; } && | 
|---|
 | 2346 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2347 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2348 |   (eval $ac_try) 2>&5 | 
|---|
 | 2349 |   ac_status=$? | 
|---|
 | 2350 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2351 |   (exit $ac_status); }; }; then | 
|---|
 | 2352 |   : | 
|---|
 | 2353 | else | 
|---|
 | 2354 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2355 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2356 |  | 
|---|
 | 2357 | continue | 
|---|
 | 2358 | fi | 
|---|
 | 2359 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2360 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2361 | /* confdefs.h.  */ | 
|---|
 | 2362 | _ACEOF | 
|---|
 | 2363 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2364 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2365 | /* end confdefs.h.  */ | 
|---|
 | 2366 | $ac_declaration | 
|---|
 | 2367 | int | 
|---|
 | 2368 | main () | 
|---|
 | 2369 | { | 
|---|
 | 2370 | exit (42); | 
|---|
 | 2371 |   ; | 
|---|
 | 2372 |   return 0; | 
|---|
 | 2373 | } | 
|---|
 | 2374 | _ACEOF | 
|---|
 | 2375 | rm -f conftest.$ac_objext | 
|---|
 | 2376 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2377 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2378 |   ac_status=$? | 
|---|
 | 2379 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2380 |   rm -f conftest.er1 | 
|---|
 | 2381 |   cat conftest.err >&5 | 
|---|
 | 2382 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2383 |   (exit $ac_status); } && | 
|---|
 | 2384 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2385 |                          || test ! -s conftest.err' | 
|---|
 | 2386 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2387 |   (eval $ac_try) 2>&5 | 
|---|
 | 2388 |   ac_status=$? | 
|---|
 | 2389 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2390 |   (exit $ac_status); }; } && | 
|---|
 | 2391 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2392 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2393 |   (eval $ac_try) 2>&5 | 
|---|
 | 2394 |   ac_status=$? | 
|---|
 | 2395 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2396 |   (exit $ac_status); }; }; then | 
|---|
 | 2397 |   break | 
|---|
 | 2398 | else | 
|---|
 | 2399 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2400 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2401 |  | 
|---|
 | 2402 | fi | 
|---|
 | 2403 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2404 | done | 
|---|
 | 2405 | rm -f conftest* | 
|---|
 | 2406 | if test -n "$ac_declaration"; then | 
|---|
 | 2407 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 2408 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 2409 |   echo '#endif'             >>confdefs.h | 
|---|
 | 2410 | fi | 
|---|
 | 2411 |  | 
|---|
 | 2412 | ac_ext=c | 
|---|
 | 2413 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2414 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2415 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2416 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2417 | DEPDIR="${am__leading_dot}deps" | 
|---|
 | 2418 |  | 
|---|
 | 2419 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
 | 2420 |  | 
|---|
 | 2421 |  | 
|---|
 | 2422 | am_make=${MAKE-make} | 
|---|
 | 2423 | cat > confinc << 'END' | 
|---|
 | 2424 | am__doit: | 
|---|
 | 2425 |         @echo done | 
|---|
 | 2426 | .PHONY: am__doit | 
|---|
 | 2427 | END | 
|---|
 | 2428 | # If we don't find an include directive, just comment out the code. | 
|---|
 | 2429 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
 | 2430 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
 | 2431 | am__include="#" | 
|---|
 | 2432 | am__quote= | 
|---|
 | 2433 | _am_result=none | 
|---|
 | 2434 | # First try GNU make style include. | 
|---|
 | 2435 | echo "include confinc" > confmf | 
|---|
 | 2436 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
 | 2437 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
 | 2438 | # In particular we don't look at `^make:' because GNU make might | 
|---|
 | 2439 | # be invoked under some other name (usually "gmake"), in which | 
|---|
 | 2440 | # case it prints its new name instead of `make'. | 
|---|
 | 2441 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
 | 2442 |    am__include=include | 
|---|
 | 2443 |    am__quote= | 
|---|
 | 2444 |    _am_result=GNU | 
|---|
 | 2445 | fi | 
|---|
 | 2446 | # Now try BSD make style include. | 
|---|
 | 2447 | if test "$am__include" = "#"; then | 
|---|
 | 2448 |    echo '.include "confinc"' > confmf | 
|---|
 | 2449 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
 | 2450 |       am__include=.include | 
|---|
 | 2451 |       am__quote="\"" | 
|---|
 | 2452 |       _am_result=BSD | 
|---|
 | 2453 |    fi | 
|---|
 | 2454 | fi | 
|---|
 | 2455 |  | 
|---|
 | 2456 |  | 
|---|
 | 2457 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
 | 2458 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
 | 2459 | rm -f confinc confmf | 
|---|
 | 2460 |  | 
|---|
 | 2461 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
 | 2462 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
 | 2463 |   enableval="$enable_dependency_tracking" | 
|---|
 | 2464 |  | 
|---|
 | 2465 | fi; | 
|---|
 | 2466 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2467 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
 | 2468 |   AMDEPBACKSLASH='\' | 
|---|
 | 2469 | fi | 
|---|
 | 2470 |  | 
|---|
 | 2471 |  | 
|---|
 | 2472 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2473 |   AMDEP_TRUE= | 
|---|
 | 2474 |   AMDEP_FALSE='#' | 
|---|
 | 2475 | else | 
|---|
 | 2476 |   AMDEP_TRUE='#' | 
|---|
 | 2477 |   AMDEP_FALSE= | 
|---|
 | 2478 | fi | 
|---|
 | 2479 |  | 
|---|
 | 2480 |  | 
|---|
 | 2481 |  | 
|---|
 | 2482 |  | 
|---|
 | 2483 | depcc="$CXX"  am_compiler_list= | 
|---|
 | 2484 |  | 
|---|
 | 2485 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 2486 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 2487 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
 | 2488 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2489 | else | 
|---|
 | 2490 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 2491 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 2492 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 2493 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 2494 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 2495 |   # in D'. | 
|---|
 | 2496 |   mkdir conftest.dir | 
|---|
 | 2497 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 2498 |   # using a relative directory. | 
|---|
 | 2499 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 2500 |   cd conftest.dir | 
|---|
 | 2501 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 2502 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 2503 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 2504 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 2505 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 2506 |   # directory. | 
|---|
 | 2507 |   mkdir sub | 
|---|
 | 2508 |  | 
|---|
 | 2509 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2510 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 2511 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 2512 |   fi | 
|---|
 | 2513 |   for depmode in $am_compiler_list; do | 
|---|
 | 2514 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 2515 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 2516 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 2517 |     # | 
|---|
 | 2518 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 2519 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 2520 |     # This happens at least with the AIX C compiler. | 
|---|
 | 2521 |     : > sub/conftest.c | 
|---|
 | 2522 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 2523 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 2524 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 2525 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 2526 |       touch sub/conftst$i.h | 
|---|
| [1956] | 2527 |     done | 
|---|
 | 2528 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 2529 |  | 
|---|
 | 2530 |     case $depmode in | 
|---|
 | 2531 |     nosideeffect) | 
|---|
 | 2532 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 2533 |       # only be used when explicitly requested | 
|---|
 | 2534 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 2535 |         continue | 
|---|
 | 2536 |       else | 
|---|
 | 2537 |         break | 
|---|
 | 2538 |       fi | 
|---|
 | 2539 |       ;; | 
|---|
 | 2540 |     none) break ;; | 
|---|
 | 2541 |     esac | 
|---|
 | 2542 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 2543 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 2544 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 2545 |     if depmode=$depmode \ | 
|---|
 | 2546 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 2547 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 2548 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 2549 |          >/dev/null 2>conftest.err && | 
|---|
 | 2550 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2551 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2552 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 2553 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 2554 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 2555 |       # that says an option was ignored or not supported. | 
|---|
 | 2556 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 2557 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 2558 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 2559 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 2560 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 2561 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 2562 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
 | 2563 |         break | 
|---|
 | 2564 |       fi | 
|---|
 | 2565 |     fi | 
|---|
 | 2566 |   done | 
|---|
 | 2567 |  | 
|---|
 | 2568 |   cd .. | 
|---|
 | 2569 |   rm -rf conftest.dir | 
|---|
 | 2570 | else | 
|---|
 | 2571 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2572 | fi | 
|---|
 | 2573 |  | 
|---|
 | 2574 | fi | 
|---|
 | 2575 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
 | 2576 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
 | 2577 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
 | 2578 |  | 
|---|
 | 2579 |  | 
|---|
 | 2580 |  | 
|---|
 | 2581 | if | 
|---|
 | 2582 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 2583 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
 | 2584 |   am__fastdepCXX_TRUE= | 
|---|
 | 2585 |   am__fastdepCXX_FALSE='#' | 
|---|
 | 2586 | else | 
|---|
 | 2587 |   am__fastdepCXX_TRUE='#' | 
|---|
 | 2588 |   am__fastdepCXX_FALSE= | 
|---|
 | 2589 | fi | 
|---|
 | 2590 |  | 
|---|
 | 2591 |  | 
|---|
 | 2592 | ac_ext=c | 
|---|
 | 2593 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2594 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2595 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2596 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2597 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 2598 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
 | 2599 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
 | 2600 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2601 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2602 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2603 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2604 | else | 
|---|
 | 2605 |   if test -n "$CC"; then | 
|---|
 | 2606 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2607 | else | 
|---|
 | 2608 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2609 | for as_dir in $PATH | 
|---|
 | 2610 | do | 
|---|
 | 2611 |   IFS=$as_save_IFS | 
|---|
 | 2612 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2613 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2614 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2615 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
 | 2616 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2617 |     break 2 | 
|---|
 | 2618 |   fi | 
|---|
 | 2619 | done | 
|---|
 | 2620 | done | 
|---|
 | 2621 |  | 
|---|
 | 2622 | fi | 
|---|
 | 2623 | fi | 
|---|
 | 2624 | CC=$ac_cv_prog_CC | 
|---|
 | 2625 | if test -n "$CC"; then | 
|---|
 | 2626 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2627 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2628 | else | 
|---|
 | 2629 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2630 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2631 | fi | 
|---|
 | 2632 |  | 
|---|
 | 2633 | fi | 
|---|
 | 2634 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2635 |   ac_ct_CC=$CC | 
|---|
 | 2636 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
 | 2637 | set dummy gcc; ac_word=$2 | 
|---|
 | 2638 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2639 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2640 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2641 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2642 | else | 
|---|
 | 2643 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2644 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2645 | else | 
|---|
 | 2646 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2647 | for as_dir in $PATH | 
|---|
 | 2648 | do | 
|---|
 | 2649 |   IFS=$as_save_IFS | 
|---|
 | 2650 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2651 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2652 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2653 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
 | 2654 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2655 |     break 2 | 
|---|
 | 2656 |   fi | 
|---|
 | 2657 | done | 
|---|
 | 2658 | done | 
|---|
 | 2659 |  | 
|---|
 | 2660 | fi | 
|---|
 | 2661 | fi | 
|---|
 | 2662 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2663 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2664 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2665 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2666 | else | 
|---|
 | 2667 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2668 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2669 | fi | 
|---|
 | 2670 |  | 
|---|
 | 2671 |   CC=$ac_ct_CC | 
|---|
 | 2672 | else | 
|---|
 | 2673 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2674 | fi | 
|---|
 | 2675 |  | 
|---|
 | 2676 | if test -z "$CC"; then | 
|---|
 | 2677 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2678 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
 | 2679 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
 | 2680 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2681 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2682 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2683 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2684 | else | 
|---|
 | 2685 |   if test -n "$CC"; then | 
|---|
 | 2686 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2687 | else | 
|---|
 | 2688 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2689 | for as_dir in $PATH | 
|---|
 | 2690 | do | 
|---|
 | 2691 |   IFS=$as_save_IFS | 
|---|
 | 2692 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2693 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2694 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2695 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
 | 2696 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2697 |     break 2 | 
|---|
 | 2698 |   fi | 
|---|
 | 2699 | done | 
|---|
 | 2700 | done | 
|---|
 | 2701 |  | 
|---|
 | 2702 | fi | 
|---|
 | 2703 | fi | 
|---|
 | 2704 | CC=$ac_cv_prog_CC | 
|---|
 | 2705 | if test -n "$CC"; then | 
|---|
 | 2706 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2707 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2708 | else | 
|---|
 | 2709 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2710 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2711 | fi | 
|---|
 | 2712 |  | 
|---|
 | 2713 | fi | 
|---|
 | 2714 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2715 |   ac_ct_CC=$CC | 
|---|
 | 2716 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2717 | set dummy cc; ac_word=$2 | 
|---|
 | 2718 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2719 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2720 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2721 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2722 | else | 
|---|
 | 2723 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2724 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2725 | else | 
|---|
 | 2726 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2727 | for as_dir in $PATH | 
|---|
 | 2728 | do | 
|---|
 | 2729 |   IFS=$as_save_IFS | 
|---|
 | 2730 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2731 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2732 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2733 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
 | 2734 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2735 |     break 2 | 
|---|
 | 2736 |   fi | 
|---|
 | 2737 | done | 
|---|
 | 2738 | done | 
|---|
 | 2739 |  | 
|---|
 | 2740 | fi | 
|---|
 | 2741 | fi | 
|---|
 | 2742 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2743 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2744 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2745 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2746 | else | 
|---|
 | 2747 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2748 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2749 | fi | 
|---|
 | 2750 |  | 
|---|
 | 2751 |   CC=$ac_ct_CC | 
|---|
 | 2752 | else | 
|---|
 | 2753 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2754 | fi | 
|---|
 | 2755 |  | 
|---|
 | 2756 | fi | 
|---|
 | 2757 | if test -z "$CC"; then | 
|---|
 | 2758 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2759 | set dummy cc; ac_word=$2 | 
|---|
 | 2760 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2761 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2762 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2763 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2764 | else | 
|---|
 | 2765 |   if test -n "$CC"; then | 
|---|
 | 2766 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2767 | else | 
|---|
 | 2768 |   ac_prog_rejected=no | 
|---|
 | 2769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2770 | for as_dir in $PATH | 
|---|
 | 2771 | do | 
|---|
 | 2772 |   IFS=$as_save_IFS | 
|---|
 | 2773 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2774 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2775 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2776 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
 | 2777 |        ac_prog_rejected=yes | 
|---|
 | 2778 |        continue | 
|---|
 | 2779 |      fi | 
|---|
 | 2780 |     ac_cv_prog_CC="cc" | 
|---|
 | 2781 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2782 |     break 2 | 
|---|
 | 2783 |   fi | 
|---|
 | 2784 | done | 
|---|
 | 2785 | done | 
|---|
 | 2786 |  | 
|---|
 | 2787 | if test $ac_prog_rejected = yes; then | 
|---|
 | 2788 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
 | 2789 |   set dummy $ac_cv_prog_CC | 
|---|
 | 2790 |   shift | 
|---|
 | 2791 |   if test $# != 0; then | 
|---|
 | 2792 |     # We chose a different compiler from the bogus one. | 
|---|
 | 2793 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
 | 2794 |     # first if we set CC to just the basename; use the full file name. | 
|---|
 | 2795 |     shift | 
|---|
 | 2796 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
 | 2797 |   fi | 
|---|
 | 2798 | fi | 
|---|
 | 2799 | fi | 
|---|
 | 2800 | fi | 
|---|
 | 2801 | CC=$ac_cv_prog_CC | 
|---|
 | 2802 | if test -n "$CC"; then | 
|---|
 | 2803 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2804 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2805 | else | 
|---|
 | 2806 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2807 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2808 | fi | 
|---|
 | 2809 |  | 
|---|
 | 2810 | fi | 
|---|
 | 2811 | if test -z "$CC"; then | 
|---|
 | 2812 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2813 |   for ac_prog in cl | 
|---|
 | 2814 |   do | 
|---|
 | 2815 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 2816 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 2817 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2818 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2819 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2820 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2821 | else | 
|---|
 | 2822 |   if test -n "$CC"; then | 
|---|
 | 2823 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2824 | else | 
|---|
 | 2825 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2826 | for as_dir in $PATH | 
|---|
 | 2827 | do | 
|---|
 | 2828 |   IFS=$as_save_IFS | 
|---|
 | 2829 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2830 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2831 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2832 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
 | 2833 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2834 |     break 2 | 
|---|
 | 2835 |   fi | 
|---|
 | 2836 | done | 
|---|
 | 2837 | done | 
|---|
 | 2838 |  | 
|---|
 | 2839 | fi | 
|---|
 | 2840 | fi | 
|---|
 | 2841 | CC=$ac_cv_prog_CC | 
|---|
 | 2842 | if test -n "$CC"; then | 
|---|
 | 2843 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2844 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2845 | else | 
|---|
 | 2846 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2847 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2848 | fi | 
|---|
 | 2849 |  | 
|---|
 | 2850 |     test -n "$CC" && break | 
|---|
 | 2851 |   done | 
|---|
 | 2852 | fi | 
|---|
 | 2853 | if test -z "$CC"; then | 
|---|
 | 2854 |   ac_ct_CC=$CC | 
|---|
 | 2855 |   for ac_prog in cl | 
|---|
 | 2856 | do | 
|---|
 | 2857 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 2858 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 2859 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2860 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2861 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2862 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2863 | else | 
|---|
 | 2864 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2865 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2866 | else | 
|---|
 | 2867 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2868 | for as_dir in $PATH | 
|---|
 | 2869 | do | 
|---|
 | 2870 |   IFS=$as_save_IFS | 
|---|
 | 2871 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2872 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2873 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2874 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
 | 2875 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2876 |     break 2 | 
|---|
 | 2877 |   fi | 
|---|
 | 2878 | done | 
|---|
 | 2879 | done | 
|---|
 | 2880 |  | 
|---|
 | 2881 | fi | 
|---|
 | 2882 | fi | 
|---|
 | 2883 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2884 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2885 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2886 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2887 | else | 
|---|
 | 2888 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2889 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2890 | fi | 
|---|
 | 2891 |  | 
|---|
 | 2892 |   test -n "$ac_ct_CC" && break | 
|---|
 | 2893 | done | 
|---|
 | 2894 |  | 
|---|
 | 2895 |   CC=$ac_ct_CC | 
|---|
 | 2896 | fi | 
|---|
 | 2897 |  | 
|---|
 | 2898 | fi | 
|---|
 | 2899 |  | 
|---|
 | 2900 |  | 
|---|
 | 2901 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2902 | See \`config.log' for more details." >&5 | 
|---|
 | 2903 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2904 | See \`config.log' for more details." >&2;} | 
|---|
 | 2905 |    { (exit 1); exit 1; }; } | 
|---|
 | 2906 |  | 
|---|
 | 2907 | # Provide some information about the compiler. | 
|---|
 | 2908 | echo "$as_me:$LINENO:" \ | 
|---|
 | 2909 |      "checking for C compiler version" >&5 | 
|---|
 | 2910 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 2911 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 2912 |   (eval $ac_compiler --version </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 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 2922 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 2923 |   ac_status=$? | 
|---|
 | 2924 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2925 |   (exit $ac_status); } | 
|---|
 | 2926 |  | 
|---|
 | 2927 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
 | 2928 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
 | 2929 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
 | 2930 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2931 | else | 
|---|
 | 2932 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2933 | /* confdefs.h.  */ | 
|---|
 | 2934 | _ACEOF | 
|---|
 | 2935 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2936 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2937 | /* end confdefs.h.  */ | 
|---|
 | 2938 |  | 
|---|
 | 2939 | int | 
|---|
 | 2940 | main () | 
|---|
 | 2941 | { | 
|---|
 | 2942 | #ifndef __GNUC__ | 
|---|
 | 2943 |        choke me | 
|---|
 | 2944 | #endif | 
|---|
 | 2945 |  | 
|---|
 | 2946 |   ; | 
|---|
 | 2947 |   return 0; | 
|---|
 | 2948 | } | 
|---|
 | 2949 | _ACEOF | 
|---|
 | 2950 | rm -f conftest.$ac_objext | 
|---|
 | 2951 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2952 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2953 |   ac_status=$? | 
|---|
 | 2954 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2955 |   rm -f conftest.er1 | 
|---|
 | 2956 |   cat conftest.err >&5 | 
|---|
 | 2957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2958 |   (exit $ac_status); } && | 
|---|
 | 2959 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 2960 |                          || test ! -s conftest.err' | 
|---|
 | 2961 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2962 |   (eval $ac_try) 2>&5 | 
|---|
 | 2963 |   ac_status=$? | 
|---|
 | 2964 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2965 |   (exit $ac_status); }; } && | 
|---|
 | 2966 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2967 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2968 |   (eval $ac_try) 2>&5 | 
|---|
 | 2969 |   ac_status=$? | 
|---|
 | 2970 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2971 |   (exit $ac_status); }; }; then | 
|---|
 | 2972 |   ac_compiler_gnu=yes | 
|---|
 | 2973 | else | 
|---|
 | 2974 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2975 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2976 |  | 
|---|
 | 2977 | ac_compiler_gnu=no | 
|---|
 | 2978 | fi | 
|---|
 | 2979 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2980 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2981 |  | 
|---|
 | 2982 | fi | 
|---|
 | 2983 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
 | 2984 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
 | 2985 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2986 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
 | 2987 | ac_save_CFLAGS=$CFLAGS | 
|---|
 | 2988 | CFLAGS="-g" | 
|---|
 | 2989 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
 | 2990 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
 | 2991 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
 | 2992 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2993 | else | 
|---|
 | 2994 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2995 | /* confdefs.h.  */ | 
|---|
 | 2996 | _ACEOF | 
|---|
 | 2997 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2998 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2999 | /* end confdefs.h.  */ | 
|---|
 | 3000 |  | 
|---|
 | 3001 | int | 
|---|
 | 3002 | main () | 
|---|
 | 3003 | { | 
|---|
 | 3004 |  | 
|---|
 | 3005 |   ; | 
|---|
 | 3006 |   return 0; | 
|---|
 | 3007 | } | 
|---|
 | 3008 | _ACEOF | 
|---|
 | 3009 | rm -f conftest.$ac_objext | 
|---|
 | 3010 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3011 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3012 |   ac_status=$? | 
|---|
 | 3013 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3014 |   rm -f conftest.er1 | 
|---|
 | 3015 |   cat conftest.err >&5 | 
|---|
 | 3016 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3017 |   (exit $ac_status); } && | 
|---|
 | 3018 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3019 |                          || test ! -s conftest.err' | 
|---|
 | 3020 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3021 |   (eval $ac_try) 2>&5 | 
|---|
 | 3022 |   ac_status=$? | 
|---|
 | 3023 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3024 |   (exit $ac_status); }; } && | 
|---|
 | 3025 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3026 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3027 |   (eval $ac_try) 2>&5 | 
|---|
 | 3028 |   ac_status=$? | 
|---|
 | 3029 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3030 |   (exit $ac_status); }; }; then | 
|---|
 | 3031 |   ac_cv_prog_cc_g=yes | 
|---|
 | 3032 | else | 
|---|
 | 3033 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3034 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3035 |  | 
|---|
 | 3036 | ac_cv_prog_cc_g=no | 
|---|
 | 3037 | fi | 
|---|
 | 3038 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3039 | fi | 
|---|
 | 3040 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
 | 3041 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
 | 3042 | if test "$ac_test_CFLAGS" = set; then | 
|---|
 | 3043 |   CFLAGS=$ac_save_CFLAGS | 
|---|
 | 3044 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
 | 3045 |   if test "$GCC" = yes; then | 
|---|
 | 3046 |     CFLAGS="-g -O2" | 
|---|
 | 3047 |   else | 
|---|
 | 3048 |     CFLAGS="-g" | 
|---|
 | 3049 |   fi | 
|---|
 | 3050 | else | 
|---|
 | 3051 |   if test "$GCC" = yes; then | 
|---|
 | 3052 |     CFLAGS="-O2" | 
|---|
 | 3053 |   else | 
|---|
 | 3054 |     CFLAGS= | 
|---|
 | 3055 |   fi | 
|---|
 | 3056 | fi | 
|---|
 | 3057 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
 | 3058 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
 | 3059 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
 | 3060 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3061 | else | 
|---|
 | 3062 |   ac_cv_prog_cc_stdc=no | 
|---|
 | 3063 | ac_save_CC=$CC | 
|---|
 | 3064 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3065 | /* confdefs.h.  */ | 
|---|
 | 3066 | _ACEOF | 
|---|
 | 3067 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3068 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3069 | /* end confdefs.h.  */ | 
|---|
 | 3070 | #include <stdarg.h> | 
|---|
 | 3071 | #include <stdio.h> | 
|---|
 | 3072 | #include <sys/types.h> | 
|---|
 | 3073 | #include <sys/stat.h> | 
|---|
 | 3074 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
 | 3075 | struct buf { int x; }; | 
|---|
 | 3076 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
 | 3077 | static char *e (p, i) | 
|---|
 | 3078 |      char **p; | 
|---|
 | 3079 |      int i; | 
|---|
 | 3080 | { | 
|---|
 | 3081 |   return p[i]; | 
|---|
 | 3082 | } | 
|---|
 | 3083 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
 | 3084 | { | 
|---|
 | 3085 |   char *s; | 
|---|
 | 3086 |   va_list v; | 
|---|
 | 3087 |   va_start (v,p); | 
|---|
 | 3088 |   s = g (p, va_arg (v,int)); | 
|---|
 | 3089 |   va_end (v); | 
|---|
 | 3090 |   return s; | 
|---|
 | 3091 | } | 
|---|
 | 3092 |  | 
|---|
 | 3093 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
 | 3094 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
 | 3095 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
 | 3096 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
 | 3097 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
 | 3098 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
 | 3099 |    that's true only with -std1.  */ | 
|---|
 | 3100 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
 | 3101 |  | 
|---|
 | 3102 | int test (int i, double x); | 
|---|
 | 3103 | struct s1 {int (*f) (int a);}; | 
|---|
 | 3104 | struct s2 {int (*f) (double a);}; | 
|---|
 | 3105 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
 | 3106 | int argc; | 
|---|
 | 3107 | char **argv; | 
|---|
 | 3108 | int | 
|---|
 | 3109 | main () | 
|---|
 | 3110 | { | 
|---|
 | 3111 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
 | 3112 |   ; | 
|---|
 | 3113 |   return 0; | 
|---|
 | 3114 | } | 
|---|
 | 3115 | _ACEOF | 
|---|
 | 3116 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
 | 3117 | # breaks some systems' header files. | 
|---|
 | 3118 | # AIX                   -qlanglvl=ansi | 
|---|
 | 3119 | # Ultrix and OSF/1      -std1 | 
|---|
 | 3120 | # HP-UX 10.20 and later -Ae | 
|---|
 | 3121 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
 | 3122 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
 | 3123 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
 | 3124 | do | 
|---|
 | 3125 |   CC="$ac_save_CC $ac_arg" | 
|---|
 | 3126 |   rm -f conftest.$ac_objext | 
|---|
 | 3127 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3128 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3129 |   ac_status=$? | 
|---|
 | 3130 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3131 |   rm -f conftest.er1 | 
|---|
 | 3132 |   cat conftest.err >&5 | 
|---|
 | 3133 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3134 |   (exit $ac_status); } && | 
|---|
 | 3135 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3136 |                          || test ! -s conftest.err' | 
|---|
 | 3137 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3138 |   (eval $ac_try) 2>&5 | 
|---|
 | 3139 |   ac_status=$? | 
|---|
 | 3140 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3141 |   (exit $ac_status); }; } && | 
|---|
 | 3142 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3143 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3144 |   (eval $ac_try) 2>&5 | 
|---|
 | 3145 |   ac_status=$? | 
|---|
 | 3146 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3147 |   (exit $ac_status); }; }; then | 
|---|
 | 3148 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
 | 3149 | break | 
|---|
 | 3150 | else | 
|---|
 | 3151 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3152 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3153 |  | 
|---|
 | 3154 | fi | 
|---|
 | 3155 | rm -f conftest.err conftest.$ac_objext | 
|---|
 | 3156 | done | 
|---|
 | 3157 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
 | 3158 | CC=$ac_save_CC | 
|---|
 | 3159 |  | 
|---|
 | 3160 | fi | 
|---|
 | 3161 |  | 
|---|
 | 3162 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
 | 3163 |   x|xno) | 
|---|
 | 3164 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
 | 3165 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
 | 3166 |   *) | 
|---|
 | 3167 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
 | 3168 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
 | 3169 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
 | 3170 | esac | 
|---|
 | 3171 |  | 
|---|
 | 3172 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
 | 3173 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
 | 3174 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
 | 3175 | # the declaration of exit, since it's the most demanding environment. | 
|---|
 | 3176 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3177 | #ifndef __cplusplus | 
|---|
 | 3178 |   choke me | 
|---|
 | 3179 | #endif | 
|---|
 | 3180 | _ACEOF | 
|---|
 | 3181 | rm -f conftest.$ac_objext | 
|---|
 | 3182 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3183 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3184 |   ac_status=$? | 
|---|
 | 3185 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3186 |   rm -f conftest.er1 | 
|---|
 | 3187 |   cat conftest.err >&5 | 
|---|
 | 3188 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3189 |   (exit $ac_status); } && | 
|---|
 | 3190 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3191 |                          || test ! -s conftest.err' | 
|---|
 | 3192 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3193 |   (eval $ac_try) 2>&5 | 
|---|
 | 3194 |   ac_status=$? | 
|---|
 | 3195 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3196 |   (exit $ac_status); }; } && | 
|---|
 | 3197 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3198 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3199 |   (eval $ac_try) 2>&5 | 
|---|
 | 3200 |   ac_status=$? | 
|---|
 | 3201 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3202 |   (exit $ac_status); }; }; then | 
|---|
 | 3203 |   for ac_declaration in \ | 
|---|
 | 3204 |    '' \ | 
|---|
 | 3205 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 3206 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 3207 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 3208 |    'extern "C" void exit (int);' \ | 
|---|
 | 3209 |    'void exit (int);' | 
|---|
 | 3210 | do | 
|---|
 | 3211 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3212 | /* confdefs.h.  */ | 
|---|
 | 3213 | _ACEOF | 
|---|
 | 3214 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3215 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3216 | /* end confdefs.h.  */ | 
|---|
 | 3217 | $ac_declaration | 
|---|
 | 3218 | #include <stdlib.h> | 
|---|
 | 3219 | int | 
|---|
 | 3220 | main () | 
|---|
 | 3221 | { | 
|---|
 | 3222 | exit (42); | 
|---|
 | 3223 |   ; | 
|---|
 | 3224 |   return 0; | 
|---|
 | 3225 | } | 
|---|
 | 3226 | _ACEOF | 
|---|
 | 3227 | rm -f conftest.$ac_objext | 
|---|
 | 3228 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3229 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3230 |   ac_status=$? | 
|---|
 | 3231 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3232 |   rm -f conftest.er1 | 
|---|
 | 3233 |   cat conftest.err >&5 | 
|---|
 | 3234 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3235 |   (exit $ac_status); } && | 
|---|
 | 3236 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3237 |                          || test ! -s conftest.err' | 
|---|
 | 3238 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3239 |   (eval $ac_try) 2>&5 | 
|---|
 | 3240 |   ac_status=$? | 
|---|
 | 3241 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3242 |   (exit $ac_status); }; } && | 
|---|
 | 3243 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3244 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3245 |   (eval $ac_try) 2>&5 | 
|---|
 | 3246 |   ac_status=$? | 
|---|
 | 3247 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3248 |   (exit $ac_status); }; }; then | 
|---|
 | 3249 |   : | 
|---|
 | 3250 | else | 
|---|
 | 3251 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3252 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3253 |  | 
|---|
 | 3254 | continue | 
|---|
 | 3255 | fi | 
|---|
 | 3256 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3257 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3258 | /* confdefs.h.  */ | 
|---|
 | 3259 | _ACEOF | 
|---|
 | 3260 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3261 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3262 | /* end confdefs.h.  */ | 
|---|
 | 3263 | $ac_declaration | 
|---|
 | 3264 | int | 
|---|
 | 3265 | main () | 
|---|
 | 3266 | { | 
|---|
 | 3267 | exit (42); | 
|---|
 | 3268 |   ; | 
|---|
 | 3269 |   return 0; | 
|---|
 | 3270 | } | 
|---|
 | 3271 | _ACEOF | 
|---|
 | 3272 | rm -f conftest.$ac_objext | 
|---|
 | 3273 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3274 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3275 |   ac_status=$? | 
|---|
 | 3276 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3277 |   rm -f conftest.er1 | 
|---|
 | 3278 |   cat conftest.err >&5 | 
|---|
 | 3279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3280 |   (exit $ac_status); } && | 
|---|
 | 3281 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3282 |                          || test ! -s conftest.err' | 
|---|
 | 3283 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3284 |   (eval $ac_try) 2>&5 | 
|---|
 | 3285 |   ac_status=$? | 
|---|
 | 3286 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3287 |   (exit $ac_status); }; } && | 
|---|
 | 3288 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3289 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3290 |   (eval $ac_try) 2>&5 | 
|---|
 | 3291 |   ac_status=$? | 
|---|
 | 3292 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3293 |   (exit $ac_status); }; }; then | 
|---|
 | 3294 |   break | 
|---|
 | 3295 | else | 
|---|
 | 3296 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3297 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3298 |  | 
|---|
 | 3299 | fi | 
|---|
 | 3300 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3301 | done | 
|---|
 | 3302 | rm -f conftest* | 
|---|
 | 3303 | if test -n "$ac_declaration"; then | 
|---|
 | 3304 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 3305 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 3306 |   echo '#endif'             >>confdefs.h | 
|---|
 | 3307 | fi | 
|---|
 | 3308 |  | 
|---|
 | 3309 | else | 
|---|
 | 3310 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3311 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3312 |  | 
|---|
 | 3313 | fi | 
|---|
 | 3314 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3315 | ac_ext=c | 
|---|
 | 3316 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3317 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3318 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3319 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3320 |  | 
|---|
 | 3321 | depcc="$CC"   am_compiler_list= | 
|---|
 | 3322 |  | 
|---|
 | 3323 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 3324 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 3325 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
 | 3326 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3327 | else | 
|---|
 | 3328 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 3329 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 3330 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 3331 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 3332 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 3333 |   # in D'. | 
|---|
 | 3334 |   mkdir conftest.dir | 
|---|
 | 3335 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 3336 |   # using a relative directory. | 
|---|
 | 3337 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 3338 |   cd conftest.dir | 
|---|
 | 3339 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 3340 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 3341 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 3342 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 3343 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 3344 |   # directory. | 
|---|
 | 3345 |   mkdir sub | 
|---|
 | 3346 |  | 
|---|
 | 3347 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3348 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 3349 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 3350 |   fi | 
|---|
 | 3351 |   for depmode in $am_compiler_list; do | 
|---|
 | 3352 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 3353 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 3354 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 3355 |     # | 
|---|
 | 3356 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 3357 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 3358 |     # This happens at least with the AIX C compiler. | 
|---|
 | 3359 |     : > sub/conftest.c | 
|---|
 | 3360 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 3361 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 3362 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 3363 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 3364 |       touch sub/conftst$i.h | 
|---|
| [1956] | 3365 |     done | 
|---|
 | 3366 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 3367 |  | 
|---|
 | 3368 |     case $depmode in | 
|---|
 | 3369 |     nosideeffect) | 
|---|
 | 3370 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 3371 |       # only be used when explicitly requested | 
|---|
 | 3372 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 3373 |         continue | 
|---|
 | 3374 |       else | 
|---|
 | 3375 |         break | 
|---|
 | 3376 |       fi | 
|---|
 | 3377 |       ;; | 
|---|
 | 3378 |     none) break ;; | 
|---|
 | 3379 |     esac | 
|---|
 | 3380 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 3381 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 3382 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 3383 |     if depmode=$depmode \ | 
|---|
 | 3384 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 3385 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 3386 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 3387 |          >/dev/null 2>conftest.err && | 
|---|
 | 3388 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3389 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3390 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 3391 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 3392 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 3393 |       # that says an option was ignored or not supported. | 
|---|
 | 3394 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 3395 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 3396 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 3397 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 3398 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 3399 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 3400 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
 | 3401 |         break | 
|---|
 | 3402 |       fi | 
|---|
 | 3403 |     fi | 
|---|
 | 3404 |   done | 
|---|
 | 3405 |  | 
|---|
 | 3406 |   cd .. | 
|---|
 | 3407 |   rm -rf conftest.dir | 
|---|
 | 3408 | else | 
|---|
 | 3409 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3410 | fi | 
|---|
 | 3411 |  | 
|---|
 | 3412 | fi | 
|---|
 | 3413 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
 | 3414 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
 | 3415 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
 | 3416 |  | 
|---|
 | 3417 |  | 
|---|
 | 3418 |  | 
|---|
 | 3419 | if | 
|---|
 | 3420 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 3421 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
 | 3422 |   am__fastdepCC_TRUE= | 
|---|
 | 3423 |   am__fastdepCC_FALSE='#' | 
|---|
 | 3424 | else | 
|---|
 | 3425 |   am__fastdepCC_TRUE='#' | 
|---|
 | 3426 |   am__fastdepCC_FALSE= | 
|---|
 | 3427 | fi | 
|---|
 | 3428 |  | 
|---|
 | 3429 |  | 
|---|
 | 3430 |  | 
|---|
| [1971] | 3431 | ac_ext=c | 
|---|
 | 3432 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3433 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3434 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3435 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3436 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
 | 3437 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
 | 3438 | # On Suns, sometimes $CPP names a directory. | 
|---|
 | 3439 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
 | 3440 |   CPP= | 
|---|
 | 3441 | fi | 
|---|
 | 3442 | if test -z "$CPP"; then | 
|---|
 | 3443 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| [1956] | 3444 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3445 | else | 
|---|
| [1971] | 3446 |       # Double quotes because CPP needs to be expanded | 
|---|
 | 3447 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
 | 3448 |     do | 
|---|
 | 3449 |       ac_preproc_ok=false | 
|---|
 | 3450 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3451 | do | 
|---|
 | 3452 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3453 |   # with a fresh cross-compiler works. | 
|---|
 | 3454 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3455 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3456 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3457 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3458 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3459 | /* confdefs.h.  */ | 
|---|
 | 3460 | _ACEOF | 
|---|
 | 3461 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3462 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3463 | /* end confdefs.h.  */ | 
|---|
 | 3464 | #ifdef __STDC__ | 
|---|
 | 3465 | # include <limits.h> | 
|---|
 | 3466 | #else | 
|---|
 | 3467 | # include <assert.h> | 
|---|
 | 3468 | #endif | 
|---|
 | 3469 |                      Syntax error | 
|---|
 | 3470 | _ACEOF | 
|---|
 | 3471 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3472 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3473 |   ac_status=$? | 
|---|
 | 3474 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3475 |   rm -f conftest.er1 | 
|---|
 | 3476 |   cat conftest.err >&5 | 
|---|
 | 3477 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3478 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3479 |   if test -s conftest.err; then | 
|---|
 | 3480 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3481 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3482 |   else | 
|---|
 | 3483 |     ac_cpp_err= | 
|---|
 | 3484 |   fi | 
|---|
 | 3485 | else | 
|---|
 | 3486 |   ac_cpp_err=yes | 
|---|
 | 3487 | fi | 
|---|
 | 3488 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3489 |   : | 
|---|
 | 3490 | else | 
|---|
 | 3491 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3492 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3493 |  | 
|---|
 | 3494 |   # Broken: fails on valid input. | 
|---|
 | 3495 | continue | 
|---|
 | 3496 | fi | 
|---|
 | 3497 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3498 |  | 
|---|
 | 3499 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3500 |   # can be detected and how. | 
|---|
 | 3501 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3502 | /* confdefs.h.  */ | 
|---|
 | 3503 | _ACEOF | 
|---|
 | 3504 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3505 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3506 | /* end confdefs.h.  */ | 
|---|
 | 3507 | #include <ac_nonexistent.h> | 
|---|
 | 3508 | _ACEOF | 
|---|
 | 3509 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3510 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3511 |   ac_status=$? | 
|---|
 | 3512 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3513 |   rm -f conftest.er1 | 
|---|
 | 3514 |   cat conftest.err >&5 | 
|---|
 | 3515 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3516 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3517 |   if test -s conftest.err; then | 
|---|
 | 3518 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3519 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3520 |   else | 
|---|
 | 3521 |     ac_cpp_err= | 
|---|
 | 3522 |   fi | 
|---|
 | 3523 | else | 
|---|
 | 3524 |   ac_cpp_err=yes | 
|---|
 | 3525 | fi | 
|---|
 | 3526 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3527 |   # Broken: success on invalid input. | 
|---|
 | 3528 | continue | 
|---|
 | 3529 | else | 
|---|
 | 3530 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3531 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3532 |  | 
|---|
 | 3533 |   # Passes both tests. | 
|---|
 | 3534 | ac_preproc_ok=: | 
|---|
 | 3535 | break | 
|---|
 | 3536 | fi | 
|---|
 | 3537 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3538 |  | 
|---|
 | 3539 | done | 
|---|
 | 3540 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3541 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3542 | if $ac_preproc_ok; then | 
|---|
 | 3543 |   break | 
|---|
 | 3544 | fi | 
|---|
 | 3545 |  | 
|---|
 | 3546 |     done | 
|---|
 | 3547 |     ac_cv_prog_CPP=$CPP | 
|---|
 | 3548 |  | 
|---|
 | 3549 | fi | 
|---|
 | 3550 |   CPP=$ac_cv_prog_CPP | 
|---|
 | 3551 | else | 
|---|
 | 3552 |   ac_cv_prog_CPP=$CPP | 
|---|
 | 3553 | fi | 
|---|
 | 3554 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
 | 3555 | echo "${ECHO_T}$CPP" >&6 | 
|---|
 | 3556 | ac_preproc_ok=false | 
|---|
 | 3557 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3558 | do | 
|---|
 | 3559 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3560 |   # with a fresh cross-compiler works. | 
|---|
 | 3561 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3562 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3563 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3564 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3565 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3566 | /* confdefs.h.  */ | 
|---|
 | 3567 | _ACEOF | 
|---|
 | 3568 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3569 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3570 | /* end confdefs.h.  */ | 
|---|
 | 3571 | #ifdef __STDC__ | 
|---|
 | 3572 | # include <limits.h> | 
|---|
 | 3573 | #else | 
|---|
 | 3574 | # include <assert.h> | 
|---|
 | 3575 | #endif | 
|---|
 | 3576 |                      Syntax error | 
|---|
 | 3577 | _ACEOF | 
|---|
 | 3578 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3579 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3580 |   ac_status=$? | 
|---|
 | 3581 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3582 |   rm -f conftest.er1 | 
|---|
 | 3583 |   cat conftest.err >&5 | 
|---|
 | 3584 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3585 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3586 |   if test -s conftest.err; then | 
|---|
 | 3587 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3588 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3589 |   else | 
|---|
 | 3590 |     ac_cpp_err= | 
|---|
 | 3591 |   fi | 
|---|
 | 3592 | else | 
|---|
 | 3593 |   ac_cpp_err=yes | 
|---|
 | 3594 | fi | 
|---|
 | 3595 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3596 |   : | 
|---|
 | 3597 | else | 
|---|
 | 3598 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3599 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3600 |  | 
|---|
 | 3601 |   # Broken: fails on valid input. | 
|---|
 | 3602 | continue | 
|---|
 | 3603 | fi | 
|---|
 | 3604 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3605 |  | 
|---|
 | 3606 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3607 |   # can be detected and how. | 
|---|
 | 3608 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3609 | /* confdefs.h.  */ | 
|---|
 | 3610 | _ACEOF | 
|---|
 | 3611 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3612 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3613 | /* end confdefs.h.  */ | 
|---|
 | 3614 | #include <ac_nonexistent.h> | 
|---|
 | 3615 | _ACEOF | 
|---|
 | 3616 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3617 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3618 |   ac_status=$? | 
|---|
 | 3619 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3620 |   rm -f conftest.er1 | 
|---|
 | 3621 |   cat conftest.err >&5 | 
|---|
 | 3622 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3623 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3624 |   if test -s conftest.err; then | 
|---|
 | 3625 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3626 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3627 |   else | 
|---|
 | 3628 |     ac_cpp_err= | 
|---|
 | 3629 |   fi | 
|---|
 | 3630 | else | 
|---|
 | 3631 |   ac_cpp_err=yes | 
|---|
 | 3632 | fi | 
|---|
 | 3633 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3634 |   # Broken: success on invalid input. | 
|---|
 | 3635 | continue | 
|---|
 | 3636 | else | 
|---|
 | 3637 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3638 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3639 |  | 
|---|
 | 3640 |   # Passes both tests. | 
|---|
 | 3641 | ac_preproc_ok=: | 
|---|
 | 3642 | break | 
|---|
 | 3643 | fi | 
|---|
 | 3644 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3645 |  | 
|---|
 | 3646 | done | 
|---|
 | 3647 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3648 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3649 | if $ac_preproc_ok; then | 
|---|
 | 3650 |   : | 
|---|
 | 3651 | else | 
|---|
 | 3652 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3653 | See \`config.log' for more details." >&5 | 
|---|
 | 3654 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3655 | See \`config.log' for more details." >&2;} | 
|---|
 | 3656 |    { (exit 1); exit 1; }; } | 
|---|
 | 3657 | fi | 
|---|
 | 3658 |  | 
|---|
 | 3659 | ac_ext=c | 
|---|
 | 3660 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3661 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3662 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3663 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3664 |  | 
|---|
 | 3665 |  | 
|---|
 | 3666 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
 | 3667 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
 | 3668 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
 | 3669 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3670 | else | 
|---|
 | 3671 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
 | 3672 |     then ac_cv_prog_egrep='grep -E' | 
|---|
 | 3673 |     else ac_cv_prog_egrep='egrep' | 
|---|
 | 3674 |     fi | 
|---|
 | 3675 | fi | 
|---|
 | 3676 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
 | 3677 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
 | 3678 |  EGREP=$ac_cv_prog_egrep | 
|---|
 | 3679 |  | 
|---|
 | 3680 |  | 
|---|
 | 3681 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 3682 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 3683 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 3684 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3685 | else | 
|---|
 | 3686 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3687 | /* confdefs.h.  */ | 
|---|
 | 3688 | _ACEOF | 
|---|
 | 3689 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3690 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3691 | /* end confdefs.h.  */ | 
|---|
 | 3692 | #include <stdlib.h> | 
|---|
 | 3693 | #include <stdarg.h> | 
|---|
 | 3694 | #include <string.h> | 
|---|
 | 3695 | #include <float.h> | 
|---|
 | 3696 |  | 
|---|
 | 3697 | int | 
|---|
 | 3698 | main () | 
|---|
 | 3699 | { | 
|---|
 | 3700 |  | 
|---|
 | 3701 |   ; | 
|---|
 | 3702 |   return 0; | 
|---|
 | 3703 | } | 
|---|
 | 3704 | _ACEOF | 
|---|
 | 3705 | rm -f conftest.$ac_objext | 
|---|
 | 3706 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3707 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3708 |   ac_status=$? | 
|---|
 | 3709 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3710 |   rm -f conftest.er1 | 
|---|
 | 3711 |   cat conftest.err >&5 | 
|---|
 | 3712 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3713 |   (exit $ac_status); } && | 
|---|
 | 3714 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3715 |                          || test ! -s conftest.err' | 
|---|
 | 3716 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3717 |   (eval $ac_try) 2>&5 | 
|---|
 | 3718 |   ac_status=$? | 
|---|
 | 3719 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3720 |   (exit $ac_status); }; } && | 
|---|
 | 3721 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3722 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3723 |   (eval $ac_try) 2>&5 | 
|---|
 | 3724 |   ac_status=$? | 
|---|
 | 3725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3726 |   (exit $ac_status); }; }; then | 
|---|
 | 3727 |   ac_cv_header_stdc=yes | 
|---|
 | 3728 | else | 
|---|
 | 3729 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3730 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3731 |  | 
|---|
 | 3732 | ac_cv_header_stdc=no | 
|---|
 | 3733 | fi | 
|---|
 | 3734 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3735 |  | 
|---|
 | 3736 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3737 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 3738 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3739 | /* confdefs.h.  */ | 
|---|
 | 3740 | _ACEOF | 
|---|
 | 3741 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3742 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3743 | /* end confdefs.h.  */ | 
|---|
 | 3744 | #include <string.h> | 
|---|
 | 3745 |  | 
|---|
 | 3746 | _ACEOF | 
|---|
 | 3747 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3748 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 3749 |   : | 
|---|
 | 3750 | else | 
|---|
 | 3751 |   ac_cv_header_stdc=no | 
|---|
 | 3752 | fi | 
|---|
 | 3753 | rm -f conftest* | 
|---|
 | 3754 |  | 
|---|
 | 3755 | fi | 
|---|
 | 3756 |  | 
|---|
 | 3757 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3758 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 3759 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3760 | /* confdefs.h.  */ | 
|---|
 | 3761 | _ACEOF | 
|---|
 | 3762 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3763 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3764 | /* end confdefs.h.  */ | 
|---|
 | 3765 | #include <stdlib.h> | 
|---|
 | 3766 |  | 
|---|
 | 3767 | _ACEOF | 
|---|
 | 3768 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3769 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 3770 |   : | 
|---|
 | 3771 | else | 
|---|
 | 3772 |   ac_cv_header_stdc=no | 
|---|
 | 3773 | fi | 
|---|
 | 3774 | rm -f conftest* | 
|---|
 | 3775 |  | 
|---|
 | 3776 | fi | 
|---|
 | 3777 |  | 
|---|
 | 3778 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3779 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 3780 |   if test "$cross_compiling" = yes; then | 
|---|
 | 3781 |   : | 
|---|
 | 3782 | else | 
|---|
 | 3783 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3784 | /* confdefs.h.  */ | 
|---|
 | 3785 | _ACEOF | 
|---|
 | 3786 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3787 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3788 | /* end confdefs.h.  */ | 
|---|
 | 3789 | #include <ctype.h> | 
|---|
 | 3790 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 3791 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 3792 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 3793 | #else | 
|---|
 | 3794 | # define ISLOWER(c) \ | 
|---|
 | 3795 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 3796 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 3797 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 3798 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 3799 | #endif | 
|---|
 | 3800 |  | 
|---|
 | 3801 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 3802 | int | 
|---|
 | 3803 | main () | 
|---|
 | 3804 | { | 
|---|
 | 3805 |   int i; | 
|---|
 | 3806 |   for (i = 0; i < 256; i++) | 
|---|
 | 3807 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 3808 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 3809 |       exit(2); | 
|---|
 | 3810 |   exit (0); | 
|---|
 | 3811 | } | 
|---|
 | 3812 | _ACEOF | 
|---|
 | 3813 | rm -f conftest$ac_exeext | 
|---|
 | 3814 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 3815 |   (eval $ac_link) 2>&5 | 
|---|
 | 3816 |   ac_status=$? | 
|---|
 | 3817 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3818 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 3819 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3820 |   (eval $ac_try) 2>&5 | 
|---|
 | 3821 |   ac_status=$? | 
|---|
 | 3822 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3823 |   (exit $ac_status); }; }; then | 
|---|
 | 3824 |   : | 
|---|
 | 3825 | else | 
|---|
 | 3826 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 3827 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 3828 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3829 |  | 
|---|
 | 3830 | ( exit $ac_status ) | 
|---|
 | 3831 | ac_cv_header_stdc=no | 
|---|
 | 3832 | fi | 
|---|
 | 3833 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3834 | fi | 
|---|
 | 3835 | fi | 
|---|
 | 3836 | fi | 
|---|
 | 3837 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 3838 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 3839 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3840 |  | 
|---|
 | 3841 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 3842 | #define STDC_HEADERS 1 | 
|---|
 | 3843 | _ACEOF | 
|---|
 | 3844 |  | 
|---|
 | 3845 | fi | 
|---|
 | 3846 |  | 
|---|
 | 3847 |  | 
|---|
| [3424] | 3848 | ################################## | 
|---|
 | 3849 | ## CHECKING  OPTIONAL ARGUMENTS ## | 
|---|
 | 3850 | ################################## | 
|---|
 | 3851 |  | 
|---|
 | 3852 | #-----------------# | 
|---|
 | 3853 | # DEBUG-statement # | 
|---|
 | 3854 | #-----------------# | 
|---|
| [3173] | 3855 | DEBUG=no | 
|---|
 | 3856 | echo "$as_me:$LINENO: checking if DEBUG-mode should be enabled" >&5 | 
|---|
 | 3857 | echo $ECHO_N "checking if DEBUG-mode should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3858 | # Check whether --enable-debug or --disable-debug was given. | 
|---|
 | 3859 | if test "${enable_debug+set}" = set; then | 
|---|
 | 3860 |   enableval="$enable_debug" | 
|---|
| [3205] | 3861 |   DEBUG=$enableval | 
|---|
| [3173] | 3862 | fi; | 
|---|
 | 3863 |  | 
|---|
| [3424] | 3864 | if test x$DEBUG = xno; then | 
|---|
| [3205] | 3865 |         echo "no" | 
|---|
| [3592] | 3866 |         echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed." | 
|---|
 | 3867 |         DEBUG=4 | 
|---|
| [3424] | 3868 | elif test x$DEBUG = xyes; then | 
|---|
| [3205] | 3869 |         echo "yes" | 
|---|
| [3424] | 3870 |         echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!." | 
|---|
 | 3871 |         DEBUG=4 | 
|---|
| [3205] | 3872 | else | 
|---|
| [3424] | 3873 |         echo "yes: setting debuglevel to to $DEBUG" | 
|---|
| [3205] | 3874 | fi | 
|---|
 | 3875 |  | 
|---|
| [3173] | 3876 | cat >>confdefs.h <<_ACEOF | 
|---|
| [3205] | 3877 | #define DEBUG $DEBUG | 
|---|
| [3173] | 3878 | _ACEOF | 
|---|
 | 3879 |  | 
|---|
 | 3880 |  | 
|---|
 | 3881 |  | 
|---|
 | 3882 |  | 
|---|
| [3592] | 3883 | #---------------# | 
|---|
 | 3884 | # Modular Debug # | 
|---|
 | 3885 | #---------------# | 
|---|
 | 3886 | MODULAR_DEBUG=yes | 
|---|
 | 3887 | echo "$as_me:$LINENO: checking if Modular-DEBUG-mode should be ebabled" >&5 | 
|---|
 | 3888 | echo $ECHO_N "checking if Modular-DEBUG-mode should be ebabled... $ECHO_C" >&6 | 
|---|
 | 3889 | # Check whether --enable-modular-debug or --disable-modular-debug was given. | 
|---|
 | 3890 | if test "${enable_modular_debug+set}" = set; then | 
|---|
 | 3891 |   enableval="$enable_modular_debug" | 
|---|
 | 3892 |   MODULAR_DEBUG=$enableval | 
|---|
 | 3893 | fi; | 
|---|
 | 3894 |  | 
|---|
 | 3895 | if test x$MODULAR_DEBUG = xno; then | 
|---|
 | 3896 |         echo "no" | 
|---|
 | 3897 | elif test x$MODULAR_DEBUG = xyes; then | 
|---|
 | 3898 |         echo "yes" | 
|---|
 | 3899 |  | 
|---|
 | 3900 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 3901 | #define MODULAR_DEBUG 1 | 
|---|
 | 3902 | _ACEOF | 
|---|
 | 3903 |  | 
|---|
 | 3904 | fi | 
|---|
 | 3905 |  | 
|---|
| [3424] | 3906 | #--------------# | 
|---|
 | 3907 | # GTK-disabled # | 
|---|
 | 3908 | #--------------# | 
|---|
| [3100] | 3909 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
 | 3910 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3911 |  | 
|---|
 | 3912 | # Check whether --with-gtk or --without-gtk was given. | 
|---|
 | 3913 | if test "${with_gtk+set}" = set; then | 
|---|
 | 3914 |   withval="$with_gtk" | 
|---|
| [3100] | 3915 |   def_gtk=no | 
|---|
| [3205] | 3916 | else | 
|---|
 | 3917 |   def_gtk=yes | 
|---|
| [3100] | 3918 | fi; | 
|---|
| [3424] | 3919 | if test x$def_gtk = xyes; then | 
|---|
| [3100] | 3920 |   echo "yes" | 
|---|
 | 3921 | fi | 
|---|
| [3424] | 3922 | if test x$def_gtk = xno; then | 
|---|
| [3100] | 3923 |   echo "no" | 
|---|
 | 3924 | fi | 
|---|
| [3423] | 3925 |  | 
|---|
| [3424] | 3926 | #------------------# | 
|---|
 | 3927 | # gThread-disabled # | 
|---|
 | 3928 | #------------------# | 
|---|
| [3423] | 3929 | echo "$as_me:$LINENO: checking if gThread should be enabled" >&5 | 
|---|
 | 3930 | echo $ECHO_N "checking if gThread should be enabled... $ECHO_C" >&6 | 
|---|
 | 3931 |  | 
|---|
 | 3932 | # Check whether --with-gthread or --without-gthread was given. | 
|---|
 | 3933 | if test "${with_gthread+set}" = set; then | 
|---|
 | 3934 |   withval="$with_gthread" | 
|---|
 | 3935 |   def_gthread=no | 
|---|
 | 3936 | else | 
|---|
 | 3937 |   def_gthread=yes | 
|---|
 | 3938 | fi; | 
|---|
| [3424] | 3939 | if test x$def_gthread = xyes; then | 
|---|
| [3423] | 3940 |   echo "yes" | 
|---|
 | 3941 | fi | 
|---|
| [3424] | 3942 | if test x$def_gthread = xno; then | 
|---|
| [3423] | 3943 |   echo "no" | 
|---|
 | 3944 | fi | 
|---|
 | 3945 |  | 
|---|
| [3424] | 3946 | #------------------# | 
|---|
 | 3947 | # pthread-disabled # | 
|---|
 | 3948 | #------------------# | 
|---|
| [3423] | 3949 | echo "$as_me:$LINENO: checking if pthread should be enabled" >&5 | 
|---|
 | 3950 | echo $ECHO_N "checking if pthread should be enabled... $ECHO_C" >&6 | 
|---|
 | 3951 |  | 
|---|
 | 3952 | # Check whether --with-pthread or --without-pthread was given. | 
|---|
 | 3953 | if test "${with_pthread+set}" = set; then | 
|---|
 | 3954 |   withval="$with_pthread" | 
|---|
 | 3955 |   def_pthread=no | 
|---|
 | 3956 | else | 
|---|
 | 3957 |   def_pthread=yes | 
|---|
 | 3958 | fi; | 
|---|
| [3424] | 3959 | if test x$def_pthread = xyes; then | 
|---|
| [3423] | 3960 |   echo "yes" | 
|---|
 | 3961 | fi | 
|---|
| [3424] | 3962 | if test x$def_pthread = xno; then | 
|---|
| [3423] | 3963 |   echo "no" | 
|---|
 | 3964 | fi | 
|---|
 | 3965 |  | 
|---|
| [3424] | 3966 | #------------------# | 
|---|
 | 3967 | # libCurl-disabled # | 
|---|
 | 3968 | #------------------# | 
|---|
| [3423] | 3969 | echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5 | 
|---|
 | 3970 | echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6 | 
|---|
 | 3971 |  | 
|---|
 | 3972 | # Check whether --with-curl or --without-curl was given. | 
|---|
 | 3973 | if test "${with_curl+set}" = set; then | 
|---|
 | 3974 |   withval="$with_curl" | 
|---|
 | 3975 |   def_curl=no | 
|---|
 | 3976 | else | 
|---|
 | 3977 |   def_curl=yes | 
|---|
 | 3978 | fi; | 
|---|
| [3424] | 3979 | if test x$def_curl = xyes; then | 
|---|
| [3423] | 3980 |   echo "yes" | 
|---|
 | 3981 | fi | 
|---|
| [3424] | 3982 | if test x$def_curl = xno; then | 
|---|
| [3423] | 3983 |   echo "no" | 
|---|
 | 3984 | fi | 
|---|
 | 3985 |  | 
|---|
| [3424] | 3986 | #-------------------# | 
|---|
 | 3987 | # SDL_image-disable # | 
|---|
 | 3988 | #-------------------# | 
|---|
| [3140] | 3989 | def_sdl_image=yes | 
|---|
 | 3990 | echo "$as_me:$LINENO: checking if SDL_image should be enabled" >&5 | 
|---|
 | 3991 | echo $ECHO_N "checking if SDL_image should be enabled... $ECHO_C" >&6 | 
|---|
| [3181] | 3992 |  | 
|---|
 | 3993 | # Check whether --with-sdl_image or --without-sdl_image was given. | 
|---|
 | 3994 | if test "${with_sdl_image+set}" = set; then | 
|---|
 | 3995 |   withval="$with_sdl_image" | 
|---|
| [3140] | 3996 |   def_sdl_image=no | 
|---|
 | 3997 | fi; | 
|---|
| [3424] | 3998 | if test x$def_sdl_image = xyes; then | 
|---|
| [3140] | 3999 |   echo "yes" | 
|---|
 | 4000 | fi | 
|---|
| [3424] | 4001 | if test x$def_sdl_image = xno; then | 
|---|
| [3140] | 4002 |   echo "no" | 
|---|
 | 4003 | fi | 
|---|
| [3558] | 4004 |  | 
|---|
| [3424] | 4005 | #-------------------# | 
|---|
 | 4006 | # SubProject-enable # | 
|---|
 | 4007 | #-------------------# | 
|---|
 | 4008 | def_sub_projects=no | 
|---|
| [3377] | 4009 | echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5 | 
|---|
 | 4010 | echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6 | 
|---|
 | 4011 | # Check whether --enable-sub-projects or --disable-sub-projects was given. | 
|---|
 | 4012 | if test "${enable_sub_projects+set}" = set; then | 
|---|
 | 4013 |   enableval="$enable_sub_projects" | 
|---|
 | 4014 |   def_sub_projects=yes | 
|---|
 | 4015 | fi; | 
|---|
| [3424] | 4016 | if test x$def_sub_projects = xyes; then | 
|---|
| [3377] | 4017 |   echo "yes" | 
|---|
 | 4018 | fi | 
|---|
| [3424] | 4019 | if test x$def_sub_projects = xno; then | 
|---|
| [3377] | 4020 |   echo "no" | 
|---|
 | 4021 | fi | 
|---|
 | 4022 |  | 
|---|
 | 4023 |  | 
|---|
 | 4024 | if test x$def_sub_projects = xyes; then | 
|---|
 | 4025 |   SUB_PROJECTS_TRUE= | 
|---|
 | 4026 |   SUB_PROJECTS_FALSE='#' | 
|---|
 | 4027 | else | 
|---|
 | 4028 |   SUB_PROJECTS_TRUE='#' | 
|---|
 | 4029 |   SUB_PROJECTS_FALSE= | 
|---|
 | 4030 | fi | 
|---|
 | 4031 |  | 
|---|
 | 4032 |  | 
|---|
| [3558] | 4033 | #----------------------# | 
|---|
 | 4034 | # Documentation-enable # | 
|---|
 | 4035 | #----------------------# | 
|---|
 | 4036 | def_documentation=no | 
|---|
 | 4037 | echo "$as_me:$LINENO: checking if the Documentation should be build by default" >&5 | 
|---|
 | 4038 | echo $ECHO_N "checking if the Documentation should be build by default... $ECHO_C" >&6 | 
|---|
 | 4039 | # Check whether --enable-documentation or --disable-documentation was given. | 
|---|
 | 4040 | if test "${enable_documentation+set}" = set; then | 
|---|
 | 4041 |   enableval="$enable_documentation" | 
|---|
 | 4042 |   def_documentation=yes | 
|---|
 | 4043 | fi; | 
|---|
 | 4044 | if test x$def_documentation = xyes; then | 
|---|
 | 4045 |   echo "yes" | 
|---|
 | 4046 | fi | 
|---|
 | 4047 | if test x$def_documentation = xno; then | 
|---|
 | 4048 |   echo "no" | 
|---|
 | 4049 | fi | 
|---|
 | 4050 |  | 
|---|
 | 4051 |  | 
|---|
 | 4052 | if test x$def_documentation = xyes; then | 
|---|
 | 4053 |   DOCUMENTATION_TRUE= | 
|---|
 | 4054 |   DOCUMENTATION_FALSE='#' | 
|---|
 | 4055 | else | 
|---|
 | 4056 |   DOCUMENTATION_TRUE='#' | 
|---|
 | 4057 |   DOCUMENTATION_FALSE= | 
|---|
 | 4058 | fi | 
|---|
 | 4059 |  | 
|---|
| [3424] | 4060 | ####################### | 
|---|
 | 4061 | ## PROGRAMM CHECKING ## | 
|---|
 | 4062 | ## 3. party Programs ## | 
|---|
 | 4063 | ####################### | 
|---|
 | 4064 |  | 
|---|
 | 4065 | #----------------------# | 
|---|
 | 4066 | # checking for Doxygen # | 
|---|
 | 4067 | #----------------------# | 
|---|
| [3219] | 4068 | # Extract the first word of "doxygen", so it can be a program name with args. | 
|---|
 | 4069 | set dummy doxygen; ac_word=$2 | 
|---|
 | 4070 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 4071 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 4072 | if test "${ac_cv_path_DOXYGEN+set}" = set; then | 
|---|
 | 4073 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4074 | else | 
|---|
 | 4075 |   case $DOXYGEN in | 
|---|
 | 4076 |   [\\/]* | ?:[\\/]*) | 
|---|
 | 4077 |   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
|---|
 | 4078 |   ;; | 
|---|
 | 4079 |   *) | 
|---|
 | 4080 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 4081 | for as_dir in $PATH | 
|---|
 | 4082 | do | 
|---|
 | 4083 |   IFS=$as_save_IFS | 
|---|
 | 4084 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 4085 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 4086 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 4087 |     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" | 
|---|
 | 4088 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 4089 |     break 2 | 
|---|
 | 4090 |   fi | 
|---|
 | 4091 | done | 
|---|
 | 4092 | done | 
|---|
 | 4093 |  | 
|---|
 | 4094 |   ;; | 
|---|
 | 4095 | esac | 
|---|
 | 4096 | fi | 
|---|
 | 4097 | DOXYGEN=$ac_cv_path_DOXYGEN | 
|---|
 | 4098 |  | 
|---|
 | 4099 | if test -n "$DOXYGEN"; then | 
|---|
 | 4100 |   echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
|---|
 | 4101 | echo "${ECHO_T}$DOXYGEN" >&6 | 
|---|
 | 4102 | else | 
|---|
 | 4103 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 4104 | echo "${ECHO_T}no" >&6 | 
|---|
 | 4105 | fi | 
|---|
 | 4106 |  | 
|---|
 | 4107 |  | 
|---|
 | 4108 |  | 
|---|
 | 4109 | if test $DOXYGEN; then | 
|---|
 | 4110 |   DOXYGEN_TRUE= | 
|---|
 | 4111 |   DOXYGEN_FALSE='#' | 
|---|
 | 4112 | else | 
|---|
 | 4113 |   DOXYGEN_TRUE='#' | 
|---|
 | 4114 |   DOXYGEN_FALSE= | 
|---|
 | 4115 | fi | 
|---|
 | 4116 |  | 
|---|
 | 4117 |  | 
|---|
| [3424] | 4118 | ######################### | 
|---|
 | 4119 | ## CHECKING FOR SYSTEM ## | 
|---|
 | 4120 | ######################### | 
|---|
 | 4121 | ## here the system is checked, and openGL is included | 
|---|
 | 4122 | ## also checking for SDL on differen Systems | 
|---|
| [1971] | 4123 |  | 
|---|
| [2925] | 4124 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
 | 4125 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| [2980] | 4126 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
 | 4127 | case "$target" in | 
|---|
| [3424] | 4128 | #---------# | 
|---|
 | 4129 | # WINDOWS # | 
|---|
 | 4130 | #---------# | 
|---|
| [2980] | 4131 |   *-*-mingw32*) | 
|---|
| [2925] | 4132 | echo "mingw-WINDOWS detected" | 
|---|
| [1971] | 4133 |  | 
|---|
| [2925] | 4134 |     mingw="yes" | 
|---|
 | 4135 |     MSBITFIELDS="-mms-bitfields" | 
|---|
 | 4136 |     MWINDOWS="-mwindows" | 
|---|
| [1971] | 4137 |  | 
|---|
| [2925] | 4138 | # checking gl header | 
|---|
 | 4139 |         #done before loop | 
|---|
| [1971] | 4140 |  | 
|---|
| [2968] | 4141 | # checking gl header | 
|---|
| [2925] | 4142 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| [1971] | 4143 |  | 
|---|
 | 4144 |  | 
|---|
 | 4145 |  | 
|---|
 | 4146 |  | 
|---|
| [2925] | 4147 |  | 
|---|
 | 4148 |  | 
|---|
 | 4149 |  | 
|---|
 | 4150 |  | 
|---|
 | 4151 |  | 
|---|
| [1971] | 4152 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
 | 4153 |                   inttypes.h stdint.h unistd.h | 
|---|
 | 4154 | do | 
|---|
 | 4155 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4156 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4157 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4158 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4159 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4160 | else | 
|---|
 | 4161 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4162 | /* confdefs.h.  */ | 
|---|
 | 4163 | _ACEOF | 
|---|
 | 4164 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4165 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4166 | /* end confdefs.h.  */ | 
|---|
 | 4167 | $ac_includes_default | 
|---|
 | 4168 |  | 
|---|
 | 4169 | #include <$ac_header> | 
|---|
 | 4170 | _ACEOF | 
|---|
 | 4171 | rm -f conftest.$ac_objext | 
|---|
 | 4172 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4173 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4174 |   ac_status=$? | 
|---|
 | 4175 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4176 |   rm -f conftest.er1 | 
|---|
 | 4177 |   cat conftest.err >&5 | 
|---|
 | 4178 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4179 |   (exit $ac_status); } && | 
|---|
 | 4180 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4181 |                          || test ! -s conftest.err' | 
|---|
 | 4182 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4183 |   (eval $ac_try) 2>&5 | 
|---|
 | 4184 |   ac_status=$? | 
|---|
 | 4185 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4186 |   (exit $ac_status); }; } && | 
|---|
 | 4187 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4188 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4189 |   (eval $ac_try) 2>&5 | 
|---|
 | 4190 |   ac_status=$? | 
|---|
 | 4191 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4192 |   (exit $ac_status); }; }; then | 
|---|
 | 4193 |   eval "$as_ac_Header=yes" | 
|---|
 | 4194 | else | 
|---|
 | 4195 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4196 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4197 |  | 
|---|
 | 4198 | eval "$as_ac_Header=no" | 
|---|
 | 4199 | fi | 
|---|
 | 4200 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4201 | fi | 
|---|
 | 4202 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4203 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4204 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4205 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4206 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4207 | _ACEOF | 
|---|
 | 4208 |  | 
|---|
 | 4209 | fi | 
|---|
 | 4210 |  | 
|---|
 | 4211 | done | 
|---|
 | 4212 |  | 
|---|
 | 4213 |  | 
|---|
 | 4214 |  | 
|---|
| [2879] | 4215 | for ac_header in GL/gl.h | 
|---|
 | 4216 | do | 
|---|
 | 4217 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4218 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4219 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4220 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4221 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4222 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4223 | fi | 
|---|
 | 4224 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4225 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4226 | else | 
|---|
 | 4227 |   # Is the header compilable? | 
|---|
 | 4228 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4229 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4230 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4231 | /* confdefs.h.  */ | 
|---|
 | 4232 | _ACEOF | 
|---|
 | 4233 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4234 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4235 | /* end confdefs.h.  */ | 
|---|
 | 4236 | $ac_includes_default | 
|---|
 | 4237 | #include <$ac_header> | 
|---|
 | 4238 | _ACEOF | 
|---|
 | 4239 | rm -f conftest.$ac_objext | 
|---|
 | 4240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4241 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4242 |   ac_status=$? | 
|---|
 | 4243 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4244 |   rm -f conftest.er1 | 
|---|
 | 4245 |   cat conftest.err >&5 | 
|---|
 | 4246 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4247 |   (exit $ac_status); } && | 
|---|
 | 4248 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4249 |                          || test ! -s conftest.err' | 
|---|
 | 4250 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4251 |   (eval $ac_try) 2>&5 | 
|---|
 | 4252 |   ac_status=$? | 
|---|
 | 4253 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4254 |   (exit $ac_status); }; } && | 
|---|
 | 4255 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4256 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4257 |   (eval $ac_try) 2>&5 | 
|---|
 | 4258 |   ac_status=$? | 
|---|
 | 4259 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4260 |   (exit $ac_status); }; }; then | 
|---|
 | 4261 |   ac_header_compiler=yes | 
|---|
 | 4262 | else | 
|---|
 | 4263 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4264 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4265 |  | 
|---|
 | 4266 | ac_header_compiler=no | 
|---|
 | 4267 | fi | 
|---|
 | 4268 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4269 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4270 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4271 |  | 
|---|
 | 4272 | # Is the header present? | 
|---|
 | 4273 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4274 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4275 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4276 | /* confdefs.h.  */ | 
|---|
 | 4277 | _ACEOF | 
|---|
 | 4278 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4279 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4280 | /* end confdefs.h.  */ | 
|---|
 | 4281 | #include <$ac_header> | 
|---|
 | 4282 | _ACEOF | 
|---|
 | 4283 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4284 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4285 |   ac_status=$? | 
|---|
 | 4286 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4287 |   rm -f conftest.er1 | 
|---|
 | 4288 |   cat conftest.err >&5 | 
|---|
 | 4289 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4290 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4291 |   if test -s conftest.err; then | 
|---|
 | 4292 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4293 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4294 |   else | 
|---|
 | 4295 |     ac_cpp_err= | 
|---|
 | 4296 |   fi | 
|---|
 | 4297 | else | 
|---|
 | 4298 |   ac_cpp_err=yes | 
|---|
 | 4299 | fi | 
|---|
 | 4300 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4301 |   ac_header_preproc=yes | 
|---|
 | 4302 | else | 
|---|
 | 4303 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4304 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4305 |  | 
|---|
 | 4306 |   ac_header_preproc=no | 
|---|
 | 4307 | fi | 
|---|
 | 4308 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4309 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4310 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4311 |  | 
|---|
 | 4312 | # So?  What about this header? | 
|---|
 | 4313 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4314 |   yes:no: ) | 
|---|
 | 4315 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4316 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4317 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4318 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4319 |     ac_header_preproc=yes | 
|---|
 | 4320 |     ;; | 
|---|
 | 4321 |   no:yes:* ) | 
|---|
 | 4322 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4323 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4324 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4325 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4326 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4327 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4328 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4329 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4330 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4331 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4332 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4333 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4334 |     ( | 
|---|
 | 4335 |       cat <<\_ASBOX | 
|---|
| [3240] | 4336 | ## ---------------------------------------------- ## | 
|---|
 | 4337 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4338 | ## ---------------------------------------------- ## | 
|---|
| [2879] | 4339 | _ASBOX | 
|---|
 | 4340 |     ) | | 
|---|
 | 4341 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4342 |     ;; | 
|---|
 | 4343 | esac | 
|---|
 | 4344 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4346 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4347 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4348 | else | 
|---|
 | 4349 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4350 | fi | 
|---|
 | 4351 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4352 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4353 |  | 
|---|
 | 4354 | fi | 
|---|
 | 4355 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4356 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4357 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4358 | _ACEOF | 
|---|
 | 4359 |  | 
|---|
 | 4360 | else | 
|---|
 | 4361 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4362 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4363 |    { (exit 1); exit 1; }; } | 
|---|
 | 4364 | fi | 
|---|
 | 4365 |  | 
|---|
 | 4366 | done | 
|---|
 | 4367 |  | 
|---|
| [2701] | 4368 | #   checking for Windows openGl library | 
|---|
| [1971] | 4369 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
 | 4370 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
 | 4371 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| [1959] | 4372 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4373 | else | 
|---|
 | 4374 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4375 | LIBS="-lopengl32  $LIBS" | 
|---|
 | 4376 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4377 | /* confdefs.h.  */ | 
|---|
| [1956] | 4378 | _ACEOF | 
|---|
| [1959] | 4379 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4380 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4381 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4382 |  | 
|---|
| [1971] | 4383 |  | 
|---|
| [1959] | 4384 | int | 
|---|
 | 4385 | main () | 
|---|
 | 4386 | { | 
|---|
| [1971] | 4387 | main (); | 
|---|
| [1959] | 4388 |   ; | 
|---|
 | 4389 |   return 0; | 
|---|
 | 4390 | } | 
|---|
 | 4391 | _ACEOF | 
|---|
 | 4392 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4394 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4395 |   ac_status=$? | 
|---|
 | 4396 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4397 |   rm -f conftest.er1 | 
|---|
 | 4398 |   cat conftest.err >&5 | 
|---|
 | 4399 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4400 |   (exit $ac_status); } && | 
|---|
 | 4401 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4402 |                          || test ! -s conftest.err' | 
|---|
 | 4403 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4404 |   (eval $ac_try) 2>&5 | 
|---|
 | 4405 |   ac_status=$? | 
|---|
 | 4406 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4407 |   (exit $ac_status); }; } && | 
|---|
 | 4408 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4409 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4410 |   (eval $ac_try) 2>&5 | 
|---|
 | 4411 |   ac_status=$? | 
|---|
 | 4412 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4413 |   (exit $ac_status); }; }; then | 
|---|
| [1971] | 4414 |   ac_cv_lib_opengl32_main=yes | 
|---|
| [1959] | 4415 | else | 
|---|
 | 4416 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4417 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4418 |  | 
|---|
| [1971] | 4419 | ac_cv_lib_opengl32_main=no | 
|---|
| [1956] | 4420 | fi | 
|---|
| [1959] | 4421 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4422 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4423 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4424 | fi | 
|---|
| [1971] | 4425 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
 | 4426 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
 | 4427 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
 | 4428 |   FOUND_opengl32=yes | 
|---|
 | 4429 | else | 
|---|
 | 4430 |   "gl/gl.h" | 
|---|
| [1959] | 4431 | fi | 
|---|
| [1956] | 4432 |  | 
|---|
| [3424] | 4433 |     if test x$FOUND_opengl32 = xyes ; then | 
|---|
| [1959] | 4434 |         LIBS="$LIBS -lopengl32" | 
|---|
| [1971] | 4435 |     else | 
|---|
| [1959] | 4436 |          echo "------------------" | 
|---|
 | 4437 |          echo "opengl not found." | 
|---|
 | 4438 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 4439 |          echo "------------------" | 
|---|
 | 4440 |          exit -1 | 
|---|
 | 4441 |     fi | 
|---|
 | 4442 |  | 
|---|
| [2701] | 4443 | # cheking for GLU-header | 
|---|
| [1971] | 4444 |  | 
|---|
 | 4445 | for ac_header in GL/glu.h | 
|---|
 | 4446 | do | 
|---|
 | 4447 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4448 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4449 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4450 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4451 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4452 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4453 | fi | 
|---|
 | 4454 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4455 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4456 | else | 
|---|
 | 4457 |   # Is the header compilable? | 
|---|
 | 4458 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4459 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4460 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4461 | /* confdefs.h.  */ | 
|---|
 | 4462 | _ACEOF | 
|---|
 | 4463 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4464 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4465 | /* end confdefs.h.  */ | 
|---|
 | 4466 | $ac_includes_default | 
|---|
 | 4467 | #include <$ac_header> | 
|---|
 | 4468 | _ACEOF | 
|---|
 | 4469 | rm -f conftest.$ac_objext | 
|---|
 | 4470 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4471 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4472 |   ac_status=$? | 
|---|
 | 4473 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4474 |   rm -f conftest.er1 | 
|---|
 | 4475 |   cat conftest.err >&5 | 
|---|
 | 4476 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4477 |   (exit $ac_status); } && | 
|---|
 | 4478 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4479 |                          || test ! -s conftest.err' | 
|---|
 | 4480 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4481 |   (eval $ac_try) 2>&5 | 
|---|
 | 4482 |   ac_status=$? | 
|---|
 | 4483 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4484 |   (exit $ac_status); }; } && | 
|---|
 | 4485 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4486 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4487 |   (eval $ac_try) 2>&5 | 
|---|
 | 4488 |   ac_status=$? | 
|---|
 | 4489 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4490 |   (exit $ac_status); }; }; then | 
|---|
 | 4491 |   ac_header_compiler=yes | 
|---|
 | 4492 | else | 
|---|
 | 4493 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4494 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4495 |  | 
|---|
 | 4496 | ac_header_compiler=no | 
|---|
 | 4497 | fi | 
|---|
 | 4498 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4499 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4500 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4501 |  | 
|---|
 | 4502 | # Is the header present? | 
|---|
 | 4503 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4504 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4505 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4506 | /* confdefs.h.  */ | 
|---|
 | 4507 | _ACEOF | 
|---|
 | 4508 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4509 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4510 | /* end confdefs.h.  */ | 
|---|
 | 4511 | #include <$ac_header> | 
|---|
 | 4512 | _ACEOF | 
|---|
 | 4513 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4514 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4515 |   ac_status=$? | 
|---|
 | 4516 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4517 |   rm -f conftest.er1 | 
|---|
 | 4518 |   cat conftest.err >&5 | 
|---|
 | 4519 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4520 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4521 |   if test -s conftest.err; then | 
|---|
 | 4522 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4523 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4524 |   else | 
|---|
 | 4525 |     ac_cpp_err= | 
|---|
 | 4526 |   fi | 
|---|
 | 4527 | else | 
|---|
 | 4528 |   ac_cpp_err=yes | 
|---|
 | 4529 | fi | 
|---|
 | 4530 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4531 |   ac_header_preproc=yes | 
|---|
 | 4532 | else | 
|---|
 | 4533 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4534 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4535 |  | 
|---|
 | 4536 |   ac_header_preproc=no | 
|---|
 | 4537 | fi | 
|---|
 | 4538 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4539 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4540 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4541 |  | 
|---|
 | 4542 | # So?  What about this header? | 
|---|
 | 4543 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4544 |   yes:no: ) | 
|---|
 | 4545 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4546 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4547 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4548 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4549 |     ac_header_preproc=yes | 
|---|
 | 4550 |     ;; | 
|---|
 | 4551 |   no:yes:* ) | 
|---|
 | 4552 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4553 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4554 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4555 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4556 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4557 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4558 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4559 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4560 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4561 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4562 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4563 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4564 |     ( | 
|---|
 | 4565 |       cat <<\_ASBOX | 
|---|
| [3240] | 4566 | ## ---------------------------------------------- ## | 
|---|
 | 4567 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4568 | ## ---------------------------------------------- ## | 
|---|
| [1971] | 4569 | _ASBOX | 
|---|
 | 4570 |     ) | | 
|---|
 | 4571 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4572 |     ;; | 
|---|
 | 4573 | esac | 
|---|
 | 4574 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4575 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4576 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4577 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4578 | else | 
|---|
 | 4579 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4580 | fi | 
|---|
 | 4581 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4582 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4583 |  | 
|---|
 | 4584 | fi | 
|---|
 | 4585 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4586 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4587 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4588 | _ACEOF | 
|---|
 | 4589 |  | 
|---|
 | 4590 | else | 
|---|
 | 4591 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4592 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4593 |    { (exit 1); exit 1; }; } | 
|---|
 | 4594 | fi | 
|---|
 | 4595 |  | 
|---|
 | 4596 | done | 
|---|
 | 4597 |  | 
|---|
 | 4598 |  | 
|---|
| [2701] | 4599 | # checking for libGLU | 
|---|
 | 4600 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
 | 4601 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
 | 4602 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| [1956] | 4603 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4604 | else | 
|---|
 | 4605 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4606 | LIBS="-lglu32  $LIBS" | 
|---|
| [1956] | 4607 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4608 | /* confdefs.h.  */ | 
|---|
 | 4609 | _ACEOF | 
|---|
 | 4610 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4611 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4612 | /* end confdefs.h.  */ | 
|---|
 | 4613 |  | 
|---|
| [2701] | 4614 |  | 
|---|
| [1956] | 4615 | int | 
|---|
 | 4616 | main () | 
|---|
 | 4617 | { | 
|---|
| [2701] | 4618 | main (); | 
|---|
| [1956] | 4619 |   ; | 
|---|
 | 4620 |   return 0; | 
|---|
 | 4621 | } | 
|---|
 | 4622 | _ACEOF | 
|---|
 | 4623 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4624 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4625 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4626 |   ac_status=$? | 
|---|
 | 4627 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4628 |   rm -f conftest.er1 | 
|---|
 | 4629 |   cat conftest.err >&5 | 
|---|
 | 4630 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4631 |   (exit $ac_status); } && | 
|---|
 | 4632 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4633 |                          || test ! -s conftest.err' | 
|---|
 | 4634 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4635 |   (eval $ac_try) 2>&5 | 
|---|
 | 4636 |   ac_status=$? | 
|---|
 | 4637 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4638 |   (exit $ac_status); }; } && | 
|---|
 | 4639 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4640 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4641 |   (eval $ac_try) 2>&5 | 
|---|
 | 4642 |   ac_status=$? | 
|---|
 | 4643 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4644 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4645 |   ac_cv_lib_glu32_main=yes | 
|---|
| [1956] | 4646 | else | 
|---|
 | 4647 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4648 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4649 |  | 
|---|
| [2701] | 4650 | ac_cv_lib_glu32_main=no | 
|---|
| [1956] | 4651 | fi | 
|---|
 | 4652 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4653 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4654 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4655 | fi | 
|---|
| [2701] | 4656 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
 | 4657 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
 | 4658 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
 | 4659 |   FOUND_glu32=yes | 
|---|
| [1959] | 4660 | fi | 
|---|
 | 4661 |  | 
|---|
| [3424] | 4662 |     if test x$FOUND_glu32 = xyes ; then | 
|---|
| [2701] | 4663 |         LIBS="$LIBS -lGLU32" | 
|---|
 | 4664 |     else | 
|---|
 | 4665 |          echo "------------------" | 
|---|
 | 4666 |          echo "GLU library not found." | 
|---|
 | 4667 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 4668 |          echo "------------------" | 
|---|
 | 4669 |          exit -1 | 
|---|
 | 4670 |     fi | 
|---|
 | 4671 |  | 
|---|
 | 4672 | # checking for mingw32 | 
|---|
 | 4673 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
 | 4674 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
 | 4675 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| [1959] | 4676 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4677 | else | 
|---|
 | 4678 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4679 | LIBS="-lmingw32  $LIBS" | 
|---|
| [1959] | 4680 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4681 | /* confdefs.h.  */ | 
|---|
| [1956] | 4682 | _ACEOF | 
|---|
| [1959] | 4683 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4684 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4685 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4686 |  | 
|---|
| [1971] | 4687 |  | 
|---|
| [1959] | 4688 | int | 
|---|
 | 4689 | main () | 
|---|
 | 4690 | { | 
|---|
| [1971] | 4691 | main (); | 
|---|
| [1959] | 4692 |   ; | 
|---|
 | 4693 |   return 0; | 
|---|
 | 4694 | } | 
|---|
 | 4695 | _ACEOF | 
|---|
 | 4696 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4697 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4698 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4699 |   ac_status=$? | 
|---|
 | 4700 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4701 |   rm -f conftest.er1 | 
|---|
 | 4702 |   cat conftest.err >&5 | 
|---|
 | 4703 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4704 |   (exit $ac_status); } && | 
|---|
 | 4705 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4706 |                          || test ! -s conftest.err' | 
|---|
 | 4707 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4708 |   (eval $ac_try) 2>&5 | 
|---|
 | 4709 |   ac_status=$? | 
|---|
 | 4710 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4711 |   (exit $ac_status); }; } && | 
|---|
 | 4712 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4713 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4714 |   (eval $ac_try) 2>&5 | 
|---|
 | 4715 |   ac_status=$? | 
|---|
 | 4716 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4717 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4718 |   ac_cv_lib_mingw32_main=yes | 
|---|
| [1959] | 4719 | else | 
|---|
 | 4720 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4721 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4722 |  | 
|---|
| [2701] | 4723 | ac_cv_lib_mingw32_main=no | 
|---|
| [1956] | 4724 | fi | 
|---|
| [1959] | 4725 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4726 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4727 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4728 | fi | 
|---|
| [2701] | 4729 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
 | 4730 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
 | 4731 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
 | 4732 |   FOUND_mingw32=yes | 
|---|
| [1959] | 4733 | fi | 
|---|
| [1956] | 4734 |  | 
|---|
| [3424] | 4735 |     if test x$FOUND_mingw32 = xyes; then | 
|---|
| [2701] | 4736 |         LIBS="$LIBS -lmingw32" | 
|---|
 | 4737 |     fi | 
|---|
| [2989] | 4738 | # checking for SDL-headers | 
|---|
| [1959] | 4739 |  | 
|---|
| [2989] | 4740 | for ac_header in SDL/SDL.h | 
|---|
 | 4741 | do | 
|---|
 | 4742 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4743 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4744 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4745 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4746 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4747 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4748 | fi | 
|---|
 | 4749 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4750 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4751 | else | 
|---|
 | 4752 |   # Is the header compilable? | 
|---|
 | 4753 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4754 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4755 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4756 | /* confdefs.h.  */ | 
|---|
 | 4757 | _ACEOF | 
|---|
 | 4758 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4759 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4760 | /* end confdefs.h.  */ | 
|---|
 | 4761 | $ac_includes_default | 
|---|
 | 4762 | #include <$ac_header> | 
|---|
 | 4763 | _ACEOF | 
|---|
 | 4764 | rm -f conftest.$ac_objext | 
|---|
 | 4765 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4766 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4767 |   ac_status=$? | 
|---|
 | 4768 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4769 |   rm -f conftest.er1 | 
|---|
 | 4770 |   cat conftest.err >&5 | 
|---|
 | 4771 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4772 |   (exit $ac_status); } && | 
|---|
 | 4773 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4774 |                          || test ! -s conftest.err' | 
|---|
 | 4775 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4776 |   (eval $ac_try) 2>&5 | 
|---|
 | 4777 |   ac_status=$? | 
|---|
 | 4778 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4779 |   (exit $ac_status); }; } && | 
|---|
 | 4780 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4781 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4782 |   (eval $ac_try) 2>&5 | 
|---|
 | 4783 |   ac_status=$? | 
|---|
 | 4784 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4785 |   (exit $ac_status); }; }; then | 
|---|
 | 4786 |   ac_header_compiler=yes | 
|---|
 | 4787 | else | 
|---|
 | 4788 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4789 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4790 |  | 
|---|
 | 4791 | ac_header_compiler=no | 
|---|
 | 4792 | fi | 
|---|
 | 4793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4794 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4795 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4796 |  | 
|---|
 | 4797 | # Is the header present? | 
|---|
 | 4798 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4799 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4800 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4801 | /* confdefs.h.  */ | 
|---|
 | 4802 | _ACEOF | 
|---|
 | 4803 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4804 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4805 | /* end confdefs.h.  */ | 
|---|
 | 4806 | #include <$ac_header> | 
|---|
 | 4807 | _ACEOF | 
|---|
 | 4808 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4809 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4810 |   ac_status=$? | 
|---|
 | 4811 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4812 |   rm -f conftest.er1 | 
|---|
 | 4813 |   cat conftest.err >&5 | 
|---|
 | 4814 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4815 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4816 |   if test -s conftest.err; then | 
|---|
 | 4817 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4818 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4819 |   else | 
|---|
 | 4820 |     ac_cpp_err= | 
|---|
 | 4821 |   fi | 
|---|
 | 4822 | else | 
|---|
 | 4823 |   ac_cpp_err=yes | 
|---|
 | 4824 | fi | 
|---|
 | 4825 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4826 |   ac_header_preproc=yes | 
|---|
 | 4827 | else | 
|---|
 | 4828 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4829 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4830 |  | 
|---|
 | 4831 |   ac_header_preproc=no | 
|---|
 | 4832 | fi | 
|---|
 | 4833 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4834 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4835 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4836 |  | 
|---|
 | 4837 | # So?  What about this header? | 
|---|
 | 4838 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4839 |   yes:no: ) | 
|---|
 | 4840 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4841 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4842 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4843 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4844 |     ac_header_preproc=yes | 
|---|
| [2701] | 4845 |     ;; | 
|---|
| [2989] | 4846 |   no:yes:* ) | 
|---|
 | 4847 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4848 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4849 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4850 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4851 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4852 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4853 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4854 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4855 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4856 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4857 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4858 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4859 |     ( | 
|---|
 | 4860 |       cat <<\_ASBOX | 
|---|
| [3240] | 4861 | ## ---------------------------------------------- ## | 
|---|
 | 4862 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 4863 | ## ---------------------------------------------- ## | 
|---|
| [2989] | 4864 | _ASBOX | 
|---|
 | 4865 |     ) | | 
|---|
 | 4866 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4867 |     ;; | 
|---|
 | 4868 | esac | 
|---|
 | 4869 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4870 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4871 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4872 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4873 | else | 
|---|
 | 4874 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4875 | fi | 
|---|
 | 4876 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4877 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2701] | 4878 |  | 
|---|
| [2989] | 4879 | fi | 
|---|
 | 4880 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4881 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4882 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4883 | _ACEOF | 
|---|
 | 4884 |  | 
|---|
 | 4885 | else | 
|---|
 | 4886 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 4887 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 4888 |    { (exit 1); exit 1; }; } | 
|---|
 | 4889 | fi | 
|---|
 | 4890 |  | 
|---|
 | 4891 | done | 
|---|
 | 4892 |  | 
|---|
 | 4893 |  | 
|---|
 | 4894 | #checking for libSDL | 
|---|
 | 4895 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
 | 4896 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
 | 4897 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
 | 4898 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4899 | else | 
|---|
 | 4900 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4901 | LIBS="-lsdlmain  $LIBS" | 
|---|
 | 4902 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4903 | /* confdefs.h.  */ | 
|---|
 | 4904 | _ACEOF | 
|---|
 | 4905 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4906 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4907 | /* end confdefs.h.  */ | 
|---|
 | 4908 |  | 
|---|
 | 4909 |  | 
|---|
 | 4910 | int | 
|---|
 | 4911 | main () | 
|---|
 | 4912 | { | 
|---|
 | 4913 | main (); | 
|---|
 | 4914 |   ; | 
|---|
 | 4915 |   return 0; | 
|---|
 | 4916 | } | 
|---|
 | 4917 | _ACEOF | 
|---|
 | 4918 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4919 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4920 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4921 |   ac_status=$? | 
|---|
 | 4922 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4923 |   rm -f conftest.er1 | 
|---|
 | 4924 |   cat conftest.err >&5 | 
|---|
 | 4925 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4926 |   (exit $ac_status); } && | 
|---|
 | 4927 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4928 |                          || test ! -s conftest.err' | 
|---|
 | 4929 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4930 |   (eval $ac_try) 2>&5 | 
|---|
 | 4931 |   ac_status=$? | 
|---|
 | 4932 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4933 |   (exit $ac_status); }; } && | 
|---|
 | 4934 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4935 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4936 |   (eval $ac_try) 2>&5 | 
|---|
 | 4937 |   ac_status=$? | 
|---|
 | 4938 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4939 |   (exit $ac_status); }; }; then | 
|---|
 | 4940 |   ac_cv_lib_sdlmain_main=yes | 
|---|
 | 4941 | else | 
|---|
 | 4942 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4943 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4944 |  | 
|---|
 | 4945 | ac_cv_lib_sdlmain_main=no | 
|---|
 | 4946 | fi | 
|---|
 | 4947 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4948 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4949 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4950 | fi | 
|---|
 | 4951 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
 | 4952 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
 | 4953 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
 | 4954 |   FOUND_sdlmain=yes | 
|---|
 | 4955 | fi | 
|---|
 | 4956 |  | 
|---|
| [3424] | 4957 |     if test x$FOUND_sdlmain = xyes ; then | 
|---|
| [2989] | 4958 |        LIBS="$LIBS -lsdlmain" | 
|---|
 | 4959 |     else | 
|---|
 | 4960 |         echo "------------------" | 
|---|
 | 4961 |         echo "SDL library not found." | 
|---|
 | 4962 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 4963 |         echo "------------------" | 
|---|
 | 4964 |         exit 1 | 
|---|
 | 4965 |     fi | 
|---|
 | 4966 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
 | 4967 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
 | 4968 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
 | 4969 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4970 | else | 
|---|
 | 4971 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4972 | LIBS="-lsdl  $LIBS" | 
|---|
 | 4973 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4974 | /* confdefs.h.  */ | 
|---|
 | 4975 | _ACEOF | 
|---|
 | 4976 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4977 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4978 | /* end confdefs.h.  */ | 
|---|
 | 4979 |  | 
|---|
 | 4980 |  | 
|---|
 | 4981 | int | 
|---|
 | 4982 | main () | 
|---|
 | 4983 | { | 
|---|
 | 4984 | main (); | 
|---|
 | 4985 |   ; | 
|---|
 | 4986 |   return 0; | 
|---|
 | 4987 | } | 
|---|
 | 4988 | _ACEOF | 
|---|
 | 4989 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4990 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4991 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4992 |   ac_status=$? | 
|---|
 | 4993 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4994 |   rm -f conftest.er1 | 
|---|
 | 4995 |   cat conftest.err >&5 | 
|---|
 | 4996 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4997 |   (exit $ac_status); } && | 
|---|
 | 4998 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4999 |                          || test ! -s conftest.err' | 
|---|
 | 5000 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5001 |   (eval $ac_try) 2>&5 | 
|---|
 | 5002 |   ac_status=$? | 
|---|
 | 5003 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5004 |   (exit $ac_status); }; } && | 
|---|
 | 5005 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5006 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5007 |   (eval $ac_try) 2>&5 | 
|---|
 | 5008 |   ac_status=$? | 
|---|
 | 5009 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5010 |   (exit $ac_status); }; }; then | 
|---|
 | 5011 |   ac_cv_lib_sdl_main=yes | 
|---|
 | 5012 | else | 
|---|
 | 5013 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5014 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5015 |  | 
|---|
 | 5016 | ac_cv_lib_sdl_main=no | 
|---|
 | 5017 | fi | 
|---|
 | 5018 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5019 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5020 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5021 | fi | 
|---|
 | 5022 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
 | 5023 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
 | 5024 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
 | 5025 |   FOUND_sdl=yes | 
|---|
 | 5026 | fi | 
|---|
 | 5027 |  | 
|---|
| [3424] | 5028 |     if test x$FOUND_sdl = xyes ; then | 
|---|
| [2989] | 5029 |        LIBS="$LIBS -lsdl" | 
|---|
 | 5030 |     else | 
|---|
 | 5031 |         echo "------------------" | 
|---|
 | 5032 |         echo "SDL library not found." | 
|---|
 | 5033 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 5034 |         echo "------------------" | 
|---|
 | 5035 |         exit -1 | 
|---|
 | 5036 |     fi | 
|---|
 | 5037 |  | 
|---|
 | 5038 |     ;; | 
|---|
| [3424] | 5039 | #-------# | 
|---|
 | 5040 | # LINUX # | 
|---|
 | 5041 | #-------# | 
|---|
| [2980] | 5042 |  *-*-linux*) | 
|---|
| [2701] | 5043 | echo "Linux detected" | 
|---|
| [1956] | 5044 |  | 
|---|
| [2701] | 5045 |  Linux="yes" | 
|---|
 | 5046 |  | 
|---|
| [3180] | 5047 | CPPFLAGS="-I/usr/X11R6/include" | 
|---|
| [3385] | 5048 | LDFLAGS="-L/usr/lib/opengl/xorg-x11/lib -L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib $LDFLAGS" | 
|---|
| [2968] | 5049 | # checking gl header | 
|---|
| [2701] | 5050 |  | 
|---|
| [2879] | 5051 | for ac_header in GL/gl.h | 
|---|
 | 5052 | do | 
|---|
 | 5053 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5054 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5055 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5056 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5057 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5058 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5059 | fi | 
|---|
 | 5060 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5061 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5062 | else | 
|---|
 | 5063 |   # Is the header compilable? | 
|---|
 | 5064 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5065 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5066 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5067 | /* confdefs.h.  */ | 
|---|
 | 5068 | _ACEOF | 
|---|
 | 5069 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5070 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5071 | /* end confdefs.h.  */ | 
|---|
 | 5072 | $ac_includes_default | 
|---|
 | 5073 | #include <$ac_header> | 
|---|
 | 5074 | _ACEOF | 
|---|
 | 5075 | rm -f conftest.$ac_objext | 
|---|
 | 5076 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5077 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5078 |   ac_status=$? | 
|---|
 | 5079 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5080 |   rm -f conftest.er1 | 
|---|
 | 5081 |   cat conftest.err >&5 | 
|---|
 | 5082 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5083 |   (exit $ac_status); } && | 
|---|
 | 5084 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5085 |                          || test ! -s conftest.err' | 
|---|
 | 5086 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5087 |   (eval $ac_try) 2>&5 | 
|---|
 | 5088 |   ac_status=$? | 
|---|
 | 5089 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5090 |   (exit $ac_status); }; } && | 
|---|
 | 5091 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5092 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5093 |   (eval $ac_try) 2>&5 | 
|---|
 | 5094 |   ac_status=$? | 
|---|
 | 5095 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5096 |   (exit $ac_status); }; }; then | 
|---|
 | 5097 |   ac_header_compiler=yes | 
|---|
 | 5098 | else | 
|---|
 | 5099 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5100 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5101 |  | 
|---|
 | 5102 | ac_header_compiler=no | 
|---|
 | 5103 | fi | 
|---|
 | 5104 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5105 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5106 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5107 |  | 
|---|
 | 5108 | # Is the header present? | 
|---|
 | 5109 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5110 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5111 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5112 | /* confdefs.h.  */ | 
|---|
 | 5113 | _ACEOF | 
|---|
 | 5114 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5115 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5116 | /* end confdefs.h.  */ | 
|---|
 | 5117 | #include <$ac_header> | 
|---|
 | 5118 | _ACEOF | 
|---|
 | 5119 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5120 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5121 |   ac_status=$? | 
|---|
 | 5122 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5123 |   rm -f conftest.er1 | 
|---|
 | 5124 |   cat conftest.err >&5 | 
|---|
 | 5125 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5126 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5127 |   if test -s conftest.err; then | 
|---|
 | 5128 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5129 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5130 |   else | 
|---|
 | 5131 |     ac_cpp_err= | 
|---|
 | 5132 |   fi | 
|---|
 | 5133 | else | 
|---|
 | 5134 |   ac_cpp_err=yes | 
|---|
 | 5135 | fi | 
|---|
 | 5136 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5137 |   ac_header_preproc=yes | 
|---|
 | 5138 | else | 
|---|
 | 5139 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5140 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5141 |  | 
|---|
 | 5142 |   ac_header_preproc=no | 
|---|
 | 5143 | fi | 
|---|
 | 5144 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5145 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5146 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5147 |  | 
|---|
 | 5148 | # So?  What about this header? | 
|---|
 | 5149 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5150 |   yes:no: ) | 
|---|
 | 5151 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5152 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5153 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5154 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5155 |     ac_header_preproc=yes | 
|---|
 | 5156 |     ;; | 
|---|
 | 5157 |   no:yes:* ) | 
|---|
 | 5158 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5159 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5160 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5161 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5162 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5163 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5164 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5165 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5166 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5167 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5168 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5169 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5170 |     ( | 
|---|
 | 5171 |       cat <<\_ASBOX | 
|---|
| [3240] | 5172 | ## ---------------------------------------------- ## | 
|---|
 | 5173 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5174 | ## ---------------------------------------------- ## | 
|---|
| [2879] | 5175 | _ASBOX | 
|---|
 | 5176 |     ) | | 
|---|
 | 5177 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5178 |     ;; | 
|---|
 | 5179 | esac | 
|---|
 | 5180 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5181 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5182 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5183 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5184 | else | 
|---|
 | 5185 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5186 | fi | 
|---|
 | 5187 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5188 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5189 |  | 
|---|
 | 5190 | fi | 
|---|
 | 5191 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5192 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5193 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5194 | _ACEOF | 
|---|
 | 5195 |  | 
|---|
 | 5196 | else | 
|---|
 | 5197 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5198 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5199 |    { (exit 1); exit 1; }; } | 
|---|
 | 5200 | fi | 
|---|
 | 5201 |  | 
|---|
 | 5202 | done | 
|---|
 | 5203 |  | 
|---|
 | 5204 |  | 
|---|
| [2701] | 5205 | #  checking for Unix GL | 
|---|
| [3385] | 5206 |    echo "$as_me:$LINENO: checking for glLoadIdentity in -lGL" >&5 | 
|---|
 | 5207 | echo $ECHO_N "checking for glLoadIdentity in -lGL... $ECHO_C" >&6 | 
|---|
 | 5208 | if test "${ac_cv_lib_GL_glLoadIdentity+set}" = set; then | 
|---|
| [1956] | 5209 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5210 | else | 
|---|
 | 5211 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 5212 | LIBS="-lGL  $LIBS" | 
|---|
| [1956] | 5213 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5214 | /* confdefs.h.  */ | 
|---|
 | 5215 | _ACEOF | 
|---|
 | 5216 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5217 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5218 | /* end confdefs.h.  */ | 
|---|
 | 5219 |  | 
|---|
| [3385] | 5220 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 5221 | #ifdef __cplusplus | 
|---|
 | 5222 | extern "C" | 
|---|
 | 5223 | #endif | 
|---|
 | 5224 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 5225 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 5226 | char glLoadIdentity (); | 
|---|
| [1956] | 5227 | int | 
|---|
 | 5228 | main () | 
|---|
 | 5229 | { | 
|---|
| [3385] | 5230 | glLoadIdentity (); | 
|---|
| [1956] | 5231 |   ; | 
|---|
 | 5232 |   return 0; | 
|---|
 | 5233 | } | 
|---|
 | 5234 | _ACEOF | 
|---|
 | 5235 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5236 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5237 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5238 |   ac_status=$? | 
|---|
 | 5239 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5240 |   rm -f conftest.er1 | 
|---|
 | 5241 |   cat conftest.err >&5 | 
|---|
 | 5242 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5243 |   (exit $ac_status); } && | 
|---|
 | 5244 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5245 |                          || test ! -s conftest.err' | 
|---|
 | 5246 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5247 |   (eval $ac_try) 2>&5 | 
|---|
 | 5248 |   ac_status=$? | 
|---|
 | 5249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5250 |   (exit $ac_status); }; } && | 
|---|
 | 5251 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5252 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5253 |   (eval $ac_try) 2>&5 | 
|---|
 | 5254 |   ac_status=$? | 
|---|
 | 5255 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5256 |   (exit $ac_status); }; }; then | 
|---|
| [3385] | 5257 |   ac_cv_lib_GL_glLoadIdentity=yes | 
|---|
| [1956] | 5258 | else | 
|---|
 | 5259 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5260 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5261 |  | 
|---|
| [3385] | 5262 | ac_cv_lib_GL_glLoadIdentity=no | 
|---|
| [1956] | 5263 | fi | 
|---|
 | 5264 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5265 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5266 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5267 | fi | 
|---|
| [3385] | 5268 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glLoadIdentity" >&5 | 
|---|
 | 5269 | echo "${ECHO_T}$ac_cv_lib_GL_glLoadIdentity" >&6 | 
|---|
 | 5270 | if test $ac_cv_lib_GL_glLoadIdentity = yes; then | 
|---|
| [2701] | 5271 |   FOUND_GL=yes | 
|---|
 | 5272 | fi | 
|---|
 | 5273 |  | 
|---|
| [3424] | 5274 |    if test x$FOUND_GL = xyes ; then | 
|---|
| [2701] | 5275 |      LIBS="$LIBS -lGL" | 
|---|
 | 5276 |    else | 
|---|
 | 5277 |          echo "------------------" | 
|---|
 | 5278 |          echo "opengl not found." | 
|---|
 | 5279 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 5280 |          echo "------------------" | 
|---|
 | 5281 |          exit -1 | 
|---|
 | 5282 |    fi | 
|---|
 | 5283 |  | 
|---|
 | 5284 | # cheking for GLU-header | 
|---|
 | 5285 |  | 
|---|
 | 5286 | for ac_header in GL/glu.h | 
|---|
 | 5287 | do | 
|---|
 | 5288 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5289 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5290 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5291 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5292 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5293 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5294 | fi | 
|---|
 | 5295 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5296 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5297 | else | 
|---|
 | 5298 |   # Is the header compilable? | 
|---|
 | 5299 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5300 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5301 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5302 | /* confdefs.h.  */ | 
|---|
| [1956] | 5303 | _ACEOF | 
|---|
| [2701] | 5304 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5305 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5306 | /* end confdefs.h.  */ | 
|---|
 | 5307 | $ac_includes_default | 
|---|
 | 5308 | #include <$ac_header> | 
|---|
 | 5309 | _ACEOF | 
|---|
 | 5310 | rm -f conftest.$ac_objext | 
|---|
 | 5311 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5312 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5313 |   ac_status=$? | 
|---|
 | 5314 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5315 |   rm -f conftest.er1 | 
|---|
 | 5316 |   cat conftest.err >&5 | 
|---|
 | 5317 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5318 |   (exit $ac_status); } && | 
|---|
 | 5319 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5320 |                          || test ! -s conftest.err' | 
|---|
 | 5321 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5322 |   (eval $ac_try) 2>&5 | 
|---|
 | 5323 |   ac_status=$? | 
|---|
 | 5324 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5325 |   (exit $ac_status); }; } && | 
|---|
 | 5326 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5327 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5328 |   (eval $ac_try) 2>&5 | 
|---|
 | 5329 |   ac_status=$? | 
|---|
 | 5330 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5331 |   (exit $ac_status); }; }; then | 
|---|
 | 5332 |   ac_header_compiler=yes | 
|---|
 | 5333 | else | 
|---|
 | 5334 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5335 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5336 |  | 
|---|
| [2701] | 5337 | ac_header_compiler=no | 
|---|
 | 5338 | fi | 
|---|
 | 5339 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5340 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5341 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| [1956] | 5342 |  | 
|---|
| [2701] | 5343 | # Is the header present? | 
|---|
 | 5344 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5345 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5346 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5347 | /* confdefs.h.  */ | 
|---|
 | 5348 | _ACEOF | 
|---|
 | 5349 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5350 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5351 | /* end confdefs.h.  */ | 
|---|
 | 5352 | #include <$ac_header> | 
|---|
 | 5353 | _ACEOF | 
|---|
 | 5354 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5355 |   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then | 
|---|
 | 5362 |   if test -s conftest.err; then | 
|---|
 | 5363 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5364 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5365 |   else | 
|---|
 | 5366 |     ac_cpp_err= | 
|---|
 | 5367 |   fi | 
|---|
 | 5368 | else | 
|---|
 | 5369 |   ac_cpp_err=yes | 
|---|
| [1956] | 5370 | fi | 
|---|
| [2701] | 5371 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5372 |   ac_header_preproc=yes | 
|---|
 | 5373 | else | 
|---|
 | 5374 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5375 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5376 |  | 
|---|
| [2701] | 5377 |   ac_header_preproc=no | 
|---|
 | 5378 | fi | 
|---|
 | 5379 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5380 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5381 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| [1956] | 5382 |  | 
|---|
| [2701] | 5383 | # So?  What about this header? | 
|---|
 | 5384 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5385 |   yes:no: ) | 
|---|
 | 5386 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5387 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5388 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5389 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5390 |     ac_header_preproc=yes | 
|---|
 | 5391 |     ;; | 
|---|
 | 5392 |   no:yes:* ) | 
|---|
 | 5393 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5394 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5395 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5396 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5397 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5398 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5399 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5400 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5401 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5402 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5403 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5404 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5405 |     ( | 
|---|
 | 5406 |       cat <<\_ASBOX | 
|---|
| [3240] | 5407 | ## ---------------------------------------------- ## | 
|---|
 | 5408 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5409 | ## ---------------------------------------------- ## | 
|---|
| [2701] | 5410 | _ASBOX | 
|---|
 | 5411 |     ) | | 
|---|
 | 5412 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5413 |     ;; | 
|---|
 | 5414 | esac | 
|---|
 | 5415 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5416 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5417 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5418 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5419 | else | 
|---|
| [2701] | 5420 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5421 | fi | 
|---|
 | 5422 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5423 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5424 |  | 
|---|
 | 5425 | fi | 
|---|
 | 5426 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5427 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5428 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5429 | _ACEOF | 
|---|
 | 5430 |  | 
|---|
 | 5431 | else | 
|---|
 | 5432 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5433 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5434 |    { (exit 1); exit 1; }; } | 
|---|
 | 5435 | fi | 
|---|
 | 5436 |  | 
|---|
 | 5437 | done | 
|---|
 | 5438 |  | 
|---|
 | 5439 |  | 
|---|
 | 5440 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
 | 5441 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
 | 5442 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
 | 5443 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5444 | else | 
|---|
| [2190] | 5445 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 5446 | LIBS="-lGLU  $LIBS" | 
|---|
| [2190] | 5447 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5448 | /* confdefs.h.  */ | 
|---|
 | 5449 | _ACEOF | 
|---|
 | 5450 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5451 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5452 | /* end confdefs.h.  */ | 
|---|
 | 5453 |  | 
|---|
| [2701] | 5454 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 5455 | #ifdef __cplusplus | 
|---|
 | 5456 | extern "C" | 
|---|
 | 5457 | #endif | 
|---|
 | 5458 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 5459 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 5460 | char gluProject (); | 
|---|
| [2190] | 5461 | int | 
|---|
 | 5462 | main () | 
|---|
 | 5463 | { | 
|---|
| [2701] | 5464 | gluProject (); | 
|---|
| [2190] | 5465 |   ; | 
|---|
 | 5466 |   return 0; | 
|---|
 | 5467 | } | 
|---|
 | 5468 | _ACEOF | 
|---|
 | 5469 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5470 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5471 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5472 |   ac_status=$? | 
|---|
 | 5473 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5474 |   rm -f conftest.er1 | 
|---|
 | 5475 |   cat conftest.err >&5 | 
|---|
 | 5476 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5477 |   (exit $ac_status); } && | 
|---|
 | 5478 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5479 |                          || test ! -s conftest.err' | 
|---|
 | 5480 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5481 |   (eval $ac_try) 2>&5 | 
|---|
 | 5482 |   ac_status=$? | 
|---|
 | 5483 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5484 |   (exit $ac_status); }; } && | 
|---|
 | 5485 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5486 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5487 |   (eval $ac_try) 2>&5 | 
|---|
 | 5488 |   ac_status=$? | 
|---|
 | 5489 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5490 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 5491 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| [2190] | 5492 | else | 
|---|
 | 5493 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5494 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5495 |  | 
|---|
| [2701] | 5496 | ac_cv_lib_GLU_gluProject=no | 
|---|
| [2190] | 5497 | fi | 
|---|
 | 5498 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5499 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5500 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5501 | fi | 
|---|
| [2701] | 5502 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
 | 5503 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
 | 5504 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
 | 5505 |   FOUND_GLU=yes | 
|---|
| [2190] | 5506 | fi | 
|---|
 | 5507 |  | 
|---|
| [3424] | 5508 |     if test x$FOUND_GLU = xyes ; then | 
|---|
| [2701] | 5509 |       LIBS="$LIBS -lGLU" | 
|---|
 | 5510 |     else | 
|---|
 | 5511 |          echo "------------------" | 
|---|
 | 5512 |          echo "GLU library not found." | 
|---|
 | 5513 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 5514 |          echo "------------------" | 
|---|
 | 5515 |          exit -1 | 
|---|
 | 5516 |     fi | 
|---|
| [2995] | 5517 |  | 
|---|
| [2991] | 5518 | # checking for SDL-headers | 
|---|
| [2190] | 5519 |  | 
|---|
| [2991] | 5520 | for ac_header in SDL/SDL.h | 
|---|
 | 5521 | do | 
|---|
 | 5522 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5523 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5524 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5525 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5526 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5527 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5528 | fi | 
|---|
| [2991] | 5529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5530 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2190] | 5531 | else | 
|---|
| [2991] | 5532 |   # Is the header compilable? | 
|---|
 | 5533 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5534 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5535 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5536 | /* confdefs.h.  */ | 
|---|
 | 5537 | _ACEOF | 
|---|
 | 5538 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5539 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5540 | /* end confdefs.h.  */ | 
|---|
| [2991] | 5541 | $ac_includes_default | 
|---|
 | 5542 | #include <$ac_header> | 
|---|
| [2190] | 5543 | _ACEOF | 
|---|
| [2991] | 5544 | rm -f conftest.$ac_objext | 
|---|
 | 5545 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5546 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| [2190] | 5547 |   ac_status=$? | 
|---|
| [2991] | 5548 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5549 |   rm -f conftest.er1 | 
|---|
 | 5550 |   cat conftest.err >&5 | 
|---|
| [2190] | 5551 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5552 |   (exit $ac_status); } && | 
|---|
 | 5553 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5554 |                          || test ! -s conftest.err' | 
|---|
| [2190] | 5555 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5556 |   (eval $ac_try) 2>&5 | 
|---|
 | 5557 |   ac_status=$? | 
|---|
 | 5558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5559 |   (exit $ac_status); }; } && | 
|---|
 | 5560 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5561 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5562 |   (eval $ac_try) 2>&5 | 
|---|
 | 5563 |   ac_status=$? | 
|---|
 | 5564 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2190] | 5565 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5566 |   ac_header_compiler=yes | 
|---|
| [2190] | 5567 | else | 
|---|
| [2991] | 5568 |   echo "$as_me: failed program was:" >&5 | 
|---|
| [2190] | 5569 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5570 |  | 
|---|
| [2991] | 5571 | ac_header_compiler=no | 
|---|
| [2190] | 5572 | fi | 
|---|
| [2991] | 5573 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5574 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5575 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5576 |  | 
|---|
 | 5577 | # Is the header present? | 
|---|
 | 5578 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5579 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5580 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5581 | /* confdefs.h.  */ | 
|---|
 | 5582 | _ACEOF | 
|---|
 | 5583 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5584 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5585 | /* end confdefs.h.  */ | 
|---|
 | 5586 | #include <$ac_header> | 
|---|
 | 5587 | _ACEOF | 
|---|
 | 5588 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5589 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5590 |   ac_status=$? | 
|---|
 | 5591 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5592 |   rm -f conftest.er1 | 
|---|
 | 5593 |   cat conftest.err >&5 | 
|---|
 | 5594 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5595 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5596 |   if test -s conftest.err; then | 
|---|
 | 5597 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5598 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5599 |   else | 
|---|
 | 5600 |     ac_cpp_err= | 
|---|
 | 5601 |   fi | 
|---|
 | 5602 | else | 
|---|
 | 5603 |   ac_cpp_err=yes | 
|---|
| [2190] | 5604 | fi | 
|---|
| [2991] | 5605 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5606 |   ac_header_preproc=yes | 
|---|
 | 5607 | else | 
|---|
 | 5608 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5609 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5610 |  | 
|---|
 | 5611 |   ac_header_preproc=no | 
|---|
 | 5612 | fi | 
|---|
 | 5613 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5614 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5615 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5616 |  | 
|---|
 | 5617 | # So?  What about this header? | 
|---|
 | 5618 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5619 |   yes:no: ) | 
|---|
 | 5620 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5621 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5622 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5623 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5624 |     ac_header_preproc=yes | 
|---|
 | 5625 |     ;; | 
|---|
 | 5626 |   no:yes:* ) | 
|---|
 | 5627 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5628 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5629 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5630 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5631 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5632 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5633 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5634 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5635 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5636 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5637 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5638 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5639 |     ( | 
|---|
 | 5640 |       cat <<\_ASBOX | 
|---|
| [3240] | 5641 | ## ---------------------------------------------- ## | 
|---|
 | 5642 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5643 | ## ---------------------------------------------- ## | 
|---|
| [2991] | 5644 | _ASBOX | 
|---|
 | 5645 |     ) | | 
|---|
 | 5646 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5647 |     ;; | 
|---|
 | 5648 | esac | 
|---|
 | 5649 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5650 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5651 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5652 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5653 | else | 
|---|
 | 5654 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5655 | fi | 
|---|
 | 5656 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5657 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5658 |  | 
|---|
 | 5659 | fi | 
|---|
 | 5660 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5661 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5662 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5663 | _ACEOF | 
|---|
 | 5664 |  | 
|---|
 | 5665 | else | 
|---|
 | 5666 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 5667 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 5668 |    { (exit 1); exit 1; }; } | 
|---|
 | 5669 | fi | 
|---|
 | 5670 |  | 
|---|
 | 5671 | done | 
|---|
 | 5672 |  | 
|---|
 | 5673 |  | 
|---|
| [3140] | 5674 | # checking for SDL-lib | 
|---|
| [2991] | 5675 |     echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
 | 5676 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
 | 5677 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
 | 5678 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5679 | else | 
|---|
 | 5680 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 5681 | LIBS="-lSDL  $LIBS" | 
|---|
 | 5682 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5683 | /* confdefs.h.  */ | 
|---|
 | 5684 | _ACEOF | 
|---|
 | 5685 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5686 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5687 | /* end confdefs.h.  */ | 
|---|
 | 5688 |  | 
|---|
 | 5689 |  | 
|---|
 | 5690 | int | 
|---|
 | 5691 | main () | 
|---|
 | 5692 | { | 
|---|
| [2991] | 5693 | main (); | 
|---|
| [2190] | 5694 |   ; | 
|---|
 | 5695 |   return 0; | 
|---|
 | 5696 | } | 
|---|
 | 5697 | _ACEOF | 
|---|
 | 5698 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5699 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5700 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5701 |   ac_status=$? | 
|---|
 | 5702 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5703 |   rm -f conftest.er1 | 
|---|
 | 5704 |   cat conftest.err >&5 | 
|---|
 | 5705 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5706 |   (exit $ac_status); } && | 
|---|
 | 5707 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5708 |                          || test ! -s conftest.err' | 
|---|
 | 5709 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5710 |   (eval $ac_try) 2>&5 | 
|---|
 | 5711 |   ac_status=$? | 
|---|
 | 5712 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5713 |   (exit $ac_status); }; } && | 
|---|
 | 5714 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5715 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5716 |   (eval $ac_try) 2>&5 | 
|---|
 | 5717 |   ac_status=$? | 
|---|
 | 5718 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5719 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5720 |   ac_cv_lib_SDL_main=yes | 
|---|
| [2190] | 5721 | else | 
|---|
 | 5722 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5723 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5724 |  | 
|---|
| [2991] | 5725 | ac_cv_lib_SDL_main=no | 
|---|
| [2190] | 5726 | fi | 
|---|
 | 5727 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5728 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| [2991] | 5729 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5730 | fi | 
|---|
 | 5731 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
 | 5732 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
 | 5733 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
 | 5734 |   FOUND_SDL=yes | 
|---|
 | 5735 | fi | 
|---|
 | 5736 |  | 
|---|
| [3424] | 5737 |      if test x$FOUND_SDL = xyes ; then | 
|---|
| [2991] | 5738 |        LIBS="$LIBS -lSDL" | 
|---|
 | 5739 |      else | 
|---|
 | 5740 |         echo "------------------" | 
|---|
 | 5741 |         echo "SDL library not found." | 
|---|
 | 5742 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 5743 |         echo "------------------" | 
|---|
 | 5744 |         exit -1 | 
|---|
| [2980] | 5745 |      fi | 
|---|
| [2701] | 5746 |  | 
|---|
| [3140] | 5747 |  | 
|---|
| [2991] | 5748 | ## checking for SDL | 
|---|
 | 5749 | #    SDL_VERSION=1.2.7 | 
|---|
 | 5750 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 5751 | #      :, | 
|---|
 | 5752 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 5753 | #      ) | 
|---|
 | 5754 | #    CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 5755 | #    LIBS="$LIBS $SDL_LIBS" | 
|---|
| [2989] | 5756 |     ;; | 
|---|
| [3424] | 5757 | #-----------# | 
|---|
 | 5758 | # MAC -OS X # | 
|---|
 | 5759 | #-----------# | 
|---|
| [2995] | 5760 |  *darwin*) | 
|---|
| [3424] | 5761 |  echo "OS X detected" | 
|---|
| [2995] | 5762 |  | 
|---|
 | 5763 |  osX="yes" | 
|---|
 | 5764 |  | 
|---|
| [3140] | 5765 |  CPPFLAGS="-I/sw/include $CPPFLAGS" | 
|---|
| [2995] | 5766 | # checking gl header | 
|---|
 | 5767 |  | 
|---|
 | 5768 | for ac_header in OpenGL/gl.h | 
|---|
 | 5769 | do | 
|---|
 | 5770 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5771 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5772 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5773 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5774 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5775 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5776 | fi | 
|---|
 | 5777 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5778 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5779 | else | 
|---|
 | 5780 |   # Is the header compilable? | 
|---|
 | 5781 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5782 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5783 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5784 | /* confdefs.h.  */ | 
|---|
 | 5785 | _ACEOF | 
|---|
 | 5786 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5787 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5788 | /* end confdefs.h.  */ | 
|---|
 | 5789 | $ac_includes_default | 
|---|
 | 5790 | #include <$ac_header> | 
|---|
 | 5791 | _ACEOF | 
|---|
 | 5792 | rm -f conftest.$ac_objext | 
|---|
 | 5793 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5794 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5795 |   ac_status=$? | 
|---|
 | 5796 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5797 |   rm -f conftest.er1 | 
|---|
 | 5798 |   cat conftest.err >&5 | 
|---|
 | 5799 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5800 |   (exit $ac_status); } && | 
|---|
 | 5801 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5802 |                          || test ! -s conftest.err' | 
|---|
 | 5803 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5804 |   (eval $ac_try) 2>&5 | 
|---|
 | 5805 |   ac_status=$? | 
|---|
 | 5806 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5807 |   (exit $ac_status); }; } && | 
|---|
 | 5808 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5809 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5810 |   (eval $ac_try) 2>&5 | 
|---|
 | 5811 |   ac_status=$? | 
|---|
 | 5812 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5813 |   (exit $ac_status); }; }; then | 
|---|
 | 5814 |   ac_header_compiler=yes | 
|---|
 | 5815 | else | 
|---|
 | 5816 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5817 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5818 |  | 
|---|
 | 5819 | ac_header_compiler=no | 
|---|
 | 5820 | fi | 
|---|
 | 5821 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5822 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5823 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5824 |  | 
|---|
 | 5825 | # Is the header present? | 
|---|
 | 5826 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5827 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5828 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5829 | /* confdefs.h.  */ | 
|---|
 | 5830 | _ACEOF | 
|---|
 | 5831 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5832 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5833 | /* end confdefs.h.  */ | 
|---|
 | 5834 | #include <$ac_header> | 
|---|
 | 5835 | _ACEOF | 
|---|
 | 5836 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5837 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5838 |   ac_status=$? | 
|---|
 | 5839 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5840 |   rm -f conftest.er1 | 
|---|
 | 5841 |   cat conftest.err >&5 | 
|---|
 | 5842 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5843 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5844 |   if test -s conftest.err; then | 
|---|
 | 5845 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5846 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5847 |   else | 
|---|
 | 5848 |     ac_cpp_err= | 
|---|
 | 5849 |   fi | 
|---|
 | 5850 | else | 
|---|
 | 5851 |   ac_cpp_err=yes | 
|---|
 | 5852 | fi | 
|---|
 | 5853 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5854 |   ac_header_preproc=yes | 
|---|
 | 5855 | else | 
|---|
 | 5856 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5857 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5858 |  | 
|---|
 | 5859 |   ac_header_preproc=no | 
|---|
 | 5860 | fi | 
|---|
 | 5861 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5862 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5863 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5864 |  | 
|---|
 | 5865 | # So?  What about this header? | 
|---|
 | 5866 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5867 |   yes:no: ) | 
|---|
 | 5868 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5869 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5870 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5871 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5872 |     ac_header_preproc=yes | 
|---|
 | 5873 |     ;; | 
|---|
 | 5874 |   no:yes:* ) | 
|---|
 | 5875 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5876 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5877 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5878 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5879 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5880 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5881 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5882 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5883 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5884 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5885 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5886 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5887 |     ( | 
|---|
 | 5888 |       cat <<\_ASBOX | 
|---|
| [3240] | 5889 | ## ---------------------------------------------- ## | 
|---|
 | 5890 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 5891 | ## ---------------------------------------------- ## | 
|---|
| [2995] | 5892 | _ASBOX | 
|---|
 | 5893 |     ) | | 
|---|
 | 5894 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5895 |     ;; | 
|---|
 | 5896 | esac | 
|---|
 | 5897 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5898 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5899 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5900 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5901 | else | 
|---|
 | 5902 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5903 | fi | 
|---|
 | 5904 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5905 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5906 |  | 
|---|
 | 5907 | fi | 
|---|
 | 5908 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5909 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5910 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5911 | _ACEOF | 
|---|
 | 5912 |  | 
|---|
 | 5913 | else | 
|---|
 | 5914 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5915 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5916 |    { (exit 1); exit 1; }; } | 
|---|
 | 5917 | fi | 
|---|
 | 5918 |  | 
|---|
 | 5919 | done | 
|---|
 | 5920 |  | 
|---|
 | 5921 | # cheking for GLU-header | 
|---|
 | 5922 |  | 
|---|
 | 5923 | for ac_header in OpenGL/glu.h | 
|---|
 | 5924 | do | 
|---|
 | 5925 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5926 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5927 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5928 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5929 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5930 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5931 | fi | 
|---|
 | 5932 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5933 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5934 | else | 
|---|
 | 5935 |   # Is the header compilable? | 
|---|
 | 5936 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5937 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5938 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5939 | /* confdefs.h.  */ | 
|---|
 | 5940 | _ACEOF | 
|---|
 | 5941 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5942 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5943 | /* end confdefs.h.  */ | 
|---|
 | 5944 | $ac_includes_default | 
|---|
 | 5945 | #include <$ac_header> | 
|---|
 | 5946 | _ACEOF | 
|---|
 | 5947 | rm -f conftest.$ac_objext | 
|---|
 | 5948 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5949 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5950 |   ac_status=$? | 
|---|
 | 5951 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5952 |   rm -f conftest.er1 | 
|---|
 | 5953 |   cat conftest.err >&5 | 
|---|
 | 5954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5955 |   (exit $ac_status); } && | 
|---|
 | 5956 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5957 |                          || test ! -s conftest.err' | 
|---|
 | 5958 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5959 |   (eval $ac_try) 2>&5 | 
|---|
 | 5960 |   ac_status=$? | 
|---|
 | 5961 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5962 |   (exit $ac_status); }; } && | 
|---|
 | 5963 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5964 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5965 |   (eval $ac_try) 2>&5 | 
|---|
 | 5966 |   ac_status=$? | 
|---|
 | 5967 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5968 |   (exit $ac_status); }; }; then | 
|---|
 | 5969 |   ac_header_compiler=yes | 
|---|
 | 5970 | else | 
|---|
 | 5971 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5972 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5973 |  | 
|---|
 | 5974 | ac_header_compiler=no | 
|---|
 | 5975 | fi | 
|---|
 | 5976 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5977 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5978 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5979 |  | 
|---|
 | 5980 | # Is the header present? | 
|---|
 | 5981 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5982 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5983 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5984 | /* confdefs.h.  */ | 
|---|
 | 5985 | _ACEOF | 
|---|
 | 5986 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5987 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5988 | /* end confdefs.h.  */ | 
|---|
 | 5989 | #include <$ac_header> | 
|---|
 | 5990 | _ACEOF | 
|---|
 | 5991 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5992 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5993 |   ac_status=$? | 
|---|
 | 5994 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5995 |   rm -f conftest.er1 | 
|---|
 | 5996 |   cat conftest.err >&5 | 
|---|
 | 5997 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5998 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5999 |   if test -s conftest.err; then | 
|---|
 | 6000 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6001 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6002 |   else | 
|---|
 | 6003 |     ac_cpp_err= | 
|---|
 | 6004 |   fi | 
|---|
 | 6005 | else | 
|---|
 | 6006 |   ac_cpp_err=yes | 
|---|
 | 6007 | fi | 
|---|
 | 6008 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6009 |   ac_header_preproc=yes | 
|---|
 | 6010 | else | 
|---|
 | 6011 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6012 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6013 |  | 
|---|
 | 6014 |   ac_header_preproc=no | 
|---|
 | 6015 | fi | 
|---|
 | 6016 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6017 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6018 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6019 |  | 
|---|
 | 6020 | # So?  What about this header? | 
|---|
 | 6021 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6022 |   yes:no: ) | 
|---|
 | 6023 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6024 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6025 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6026 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6027 |     ac_header_preproc=yes | 
|---|
 | 6028 |     ;; | 
|---|
 | 6029 |   no:yes:* ) | 
|---|
 | 6030 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6031 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6032 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6033 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6034 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6035 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6036 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6037 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6038 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6039 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6040 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6041 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6042 |     ( | 
|---|
 | 6043 |       cat <<\_ASBOX | 
|---|
| [3240] | 6044 | ## ---------------------------------------------- ## | 
|---|
 | 6045 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6046 | ## ---------------------------------------------- ## | 
|---|
| [2995] | 6047 | _ASBOX | 
|---|
 | 6048 |     ) | | 
|---|
 | 6049 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6050 |     ;; | 
|---|
 | 6051 | esac | 
|---|
 | 6052 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6053 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6054 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6055 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6056 | else | 
|---|
 | 6057 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6058 | fi | 
|---|
 | 6059 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6060 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6061 |  | 
|---|
 | 6062 | fi | 
|---|
 | 6063 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6064 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6065 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6066 | _ACEOF | 
|---|
 | 6067 |  | 
|---|
 | 6068 | else | 
|---|
 | 6069 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 6070 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 6071 |    { (exit 1); exit 1; }; } | 
|---|
 | 6072 | fi | 
|---|
 | 6073 |  | 
|---|
 | 6074 | done | 
|---|
 | 6075 |  | 
|---|
 | 6076 |  | 
|---|
 | 6077 |    LIBS="$LIBS -framework OpenGL" | 
|---|
 | 6078 |  | 
|---|
| [3424] | 6079 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
 | 6080 |        SDL_LIBS=`sdl-config --libs` | 
|---|
 | 6081 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 6082 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
 | 6083 |  | 
|---|
 | 6084 |  | 
|---|
| [2995] | 6085 | # checking for SDL-headers | 
|---|
| [3001] | 6086 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
 | 6087 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| [2995] | 6088 |  | 
|---|
 | 6089 | ## checking for SDL | 
|---|
 | 6090 | #    SDL_VERSION=1.2.7 | 
|---|
 | 6091 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 6092 | #      :, | 
|---|
 | 6093 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 6094 | #      ) | 
|---|
 | 6095 |  | 
|---|
| [3140] | 6096 |  | 
|---|
| [2995] | 6097 |     ;; | 
|---|
 | 6098 |  | 
|---|
| [2989] | 6099 |   *) | 
|---|
 | 6100 |     ;; | 
|---|
 | 6101 | esac | 
|---|
| [2980] | 6102 |  | 
|---|
| [2981] | 6103 |  | 
|---|
| [2989] | 6104 |  | 
|---|
| [3424] | 6105 | ################################### | 
|---|
 | 6106 | ## CHECKING FOR HEADERS AND LIBS ## | 
|---|
 | 6107 | ################################### | 
|---|
 | 6108 |  | 
|---|
 | 6109 | #-----------# | 
|---|
 | 6110 | # SDL_Image # | 
|---|
 | 6111 | #-----------# | 
|---|
 | 6112 | if test x$def_sdl_image = xyes; then | 
|---|
| [3140] | 6113 | # checking for SDL_image-headers | 
|---|
| [2989] | 6114 |  | 
|---|
| [3140] | 6115 | for ac_header in SDL/SDL_image.h | 
|---|
 | 6116 | do | 
|---|
 | 6117 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6118 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 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 | fi | 
|---|
 | 6124 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6125 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6126 | else | 
|---|
 | 6127 |   # Is the header compilable? | 
|---|
 | 6128 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6129 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6130 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6131 | /* confdefs.h.  */ | 
|---|
 | 6132 | _ACEOF | 
|---|
 | 6133 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6134 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6135 | /* end confdefs.h.  */ | 
|---|
 | 6136 | $ac_includes_default | 
|---|
 | 6137 | #include <$ac_header> | 
|---|
 | 6138 | _ACEOF | 
|---|
 | 6139 | rm -f conftest.$ac_objext | 
|---|
 | 6140 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6141 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6142 |   ac_status=$? | 
|---|
 | 6143 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6144 |   rm -f conftest.er1 | 
|---|
 | 6145 |   cat conftest.err >&5 | 
|---|
 | 6146 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6147 |   (exit $ac_status); } && | 
|---|
 | 6148 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6149 |                          || test ! -s conftest.err' | 
|---|
 | 6150 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6151 |   (eval $ac_try) 2>&5 | 
|---|
 | 6152 |   ac_status=$? | 
|---|
 | 6153 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6154 |   (exit $ac_status); }; } && | 
|---|
 | 6155 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6156 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6157 |   (eval $ac_try) 2>&5 | 
|---|
 | 6158 |   ac_status=$? | 
|---|
 | 6159 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6160 |   (exit $ac_status); }; }; then | 
|---|
 | 6161 |   ac_header_compiler=yes | 
|---|
 | 6162 | else | 
|---|
 | 6163 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6164 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [2989] | 6165 |  | 
|---|
| [3140] | 6166 | ac_header_compiler=no | 
|---|
 | 6167 | fi | 
|---|
 | 6168 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6169 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6170 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| [2989] | 6171 |  | 
|---|
| [3140] | 6172 | # Is the header present? | 
|---|
 | 6173 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6174 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6175 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6176 | /* confdefs.h.  */ | 
|---|
 | 6177 | _ACEOF | 
|---|
 | 6178 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6179 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6180 | /* end confdefs.h.  */ | 
|---|
 | 6181 | #include <$ac_header> | 
|---|
 | 6182 | _ACEOF | 
|---|
 | 6183 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6184 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6185 |   ac_status=$? | 
|---|
 | 6186 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6187 |   rm -f conftest.er1 | 
|---|
 | 6188 |   cat conftest.err >&5 | 
|---|
 | 6189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6190 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6191 |   if test -s conftest.err; then | 
|---|
 | 6192 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6193 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6194 |   else | 
|---|
 | 6195 |     ac_cpp_err= | 
|---|
 | 6196 |   fi | 
|---|
 | 6197 | else | 
|---|
 | 6198 |   ac_cpp_err=yes | 
|---|
 | 6199 | fi | 
|---|
 | 6200 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6201 |   ac_header_preproc=yes | 
|---|
 | 6202 | else | 
|---|
 | 6203 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6204 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6205 |  | 
|---|
 | 6206 |   ac_header_preproc=no | 
|---|
 | 6207 | fi | 
|---|
 | 6208 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6209 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6210 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6211 |  | 
|---|
 | 6212 | # So?  What about this header? | 
|---|
 | 6213 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6214 |   yes:no: ) | 
|---|
 | 6215 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6216 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6217 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6218 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6219 |     ac_header_preproc=yes | 
|---|
 | 6220 |     ;; | 
|---|
 | 6221 |   no:yes:* ) | 
|---|
 | 6222 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6223 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6224 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6225 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6226 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6227 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6228 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6229 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6230 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6231 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6232 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6233 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6234 |     ( | 
|---|
 | 6235 |       cat <<\_ASBOX | 
|---|
| [3240] | 6236 | ## ---------------------------------------------- ## | 
|---|
 | 6237 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6238 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6239 | _ASBOX | 
|---|
 | 6240 |     ) | | 
|---|
 | 6241 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6242 |     ;; | 
|---|
 | 6243 | esac | 
|---|
 | 6244 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6245 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6246 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6247 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6248 | else | 
|---|
 | 6249 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6250 | fi | 
|---|
 | 6251 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6252 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6253 |  | 
|---|
 | 6254 | fi | 
|---|
 | 6255 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6256 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6257 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6258 | _ACEOF | 
|---|
 | 6259 |  | 
|---|
 | 6260 | else | 
|---|
 | 6261 |   echo "sdl_image not found. falling back to other options"; def_sdl_image=no | 
|---|
 | 6262 | fi | 
|---|
 | 6263 |  | 
|---|
 | 6264 | done | 
|---|
 | 6265 |  | 
|---|
 | 6266 | fi | 
|---|
| [3424] | 6267 | if test x$def_sdl_image = xyes; then | 
|---|
| [3140] | 6268 | # checking for SDL_image-lib | 
|---|
 | 6269 |   echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 | 
|---|
 | 6270 | echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 | 
|---|
 | 6271 | if test "${ac_cv_lib_SDL_image_main+set}" = set; then | 
|---|
 | 6272 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6273 | else | 
|---|
 | 6274 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6275 | LIBS="-lSDL_image  $LIBS" | 
|---|
 | 6276 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6277 | /* confdefs.h.  */ | 
|---|
 | 6278 | _ACEOF | 
|---|
 | 6279 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6280 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6281 | /* end confdefs.h.  */ | 
|---|
 | 6282 |  | 
|---|
 | 6283 |  | 
|---|
 | 6284 | int | 
|---|
 | 6285 | main () | 
|---|
 | 6286 | { | 
|---|
 | 6287 | main (); | 
|---|
 | 6288 |   ; | 
|---|
 | 6289 |   return 0; | 
|---|
 | 6290 | } | 
|---|
 | 6291 | _ACEOF | 
|---|
 | 6292 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6293 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6294 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6295 |   ac_status=$? | 
|---|
 | 6296 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6297 |   rm -f conftest.er1 | 
|---|
 | 6298 |   cat conftest.err >&5 | 
|---|
 | 6299 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6300 |   (exit $ac_status); } && | 
|---|
 | 6301 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6302 |                          || test ! -s conftest.err' | 
|---|
 | 6303 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6304 |   (eval $ac_try) 2>&5 | 
|---|
 | 6305 |   ac_status=$? | 
|---|
 | 6306 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6307 |   (exit $ac_status); }; } && | 
|---|
 | 6308 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6309 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6310 |   (eval $ac_try) 2>&5 | 
|---|
 | 6311 |   ac_status=$? | 
|---|
 | 6312 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6313 |   (exit $ac_status); }; }; then | 
|---|
 | 6314 |   ac_cv_lib_SDL_image_main=yes | 
|---|
 | 6315 | else | 
|---|
 | 6316 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6317 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6318 |  | 
|---|
 | 6319 | ac_cv_lib_SDL_image_main=no | 
|---|
 | 6320 | fi | 
|---|
 | 6321 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6322 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6323 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6324 | fi | 
|---|
 | 6325 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 | 
|---|
 | 6326 | echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 | 
|---|
 | 6327 | if test $ac_cv_lib_SDL_image_main = yes; then | 
|---|
 | 6328 |   FOUND_SDL_image=yes | 
|---|
 | 6329 | fi | 
|---|
 | 6330 |  | 
|---|
| [3424] | 6331 |      if test x$FOUND_SDL_image = xyes ; then | 
|---|
| [3140] | 6332 |        LIBS="$LIBS -lSDL_image" | 
|---|
 | 6333 |      else | 
|---|
 | 6334 |         echo "------------------" | 
|---|
 | 6335 |         echo "SDL_image library not found." | 
|---|
 | 6336 |         echo "please install the SDL_image library, which can be found at http://www.libsdl.org/projects/SDL_image/" | 
|---|
 | 6337 |         echo "------------------" | 
|---|
 | 6338 |         exit -1 | 
|---|
 | 6339 |      fi | 
|---|
 | 6340 | fi | 
|---|
 | 6341 |  | 
|---|
| [3424] | 6342 | ## case no SDL-image: | 
|---|
 | 6343 | if test x$def_sdl_image = xno; then | 
|---|
 | 6344 | #---------# | 
|---|
 | 6345 | # libjpeg # | 
|---|
 | 6346 | #---------# | 
|---|
| [3140] | 6347 |  | 
|---|
 | 6348 | for ac_header in jpeglib.h | 
|---|
 | 6349 | do | 
|---|
 | 6350 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6351 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6352 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6353 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6354 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6355 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6356 | fi | 
|---|
 | 6357 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6358 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6359 | else | 
|---|
 | 6360 |   # Is the header compilable? | 
|---|
 | 6361 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6362 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6363 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6364 | /* confdefs.h.  */ | 
|---|
 | 6365 | _ACEOF | 
|---|
 | 6366 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6367 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6368 | /* end confdefs.h.  */ | 
|---|
 | 6369 | $ac_includes_default | 
|---|
 | 6370 | #include <$ac_header> | 
|---|
 | 6371 | _ACEOF | 
|---|
 | 6372 | rm -f conftest.$ac_objext | 
|---|
 | 6373 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6374 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6375 |   ac_status=$? | 
|---|
 | 6376 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6377 |   rm -f conftest.er1 | 
|---|
 | 6378 |   cat conftest.err >&5 | 
|---|
 | 6379 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6380 |   (exit $ac_status); } && | 
|---|
 | 6381 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6382 |                          || test ! -s conftest.err' | 
|---|
 | 6383 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6384 |   (eval $ac_try) 2>&5 | 
|---|
 | 6385 |   ac_status=$? | 
|---|
 | 6386 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6387 |   (exit $ac_status); }; } && | 
|---|
 | 6388 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6389 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6390 |   (eval $ac_try) 2>&5 | 
|---|
 | 6391 |   ac_status=$? | 
|---|
 | 6392 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6393 |   (exit $ac_status); }; }; then | 
|---|
 | 6394 |   ac_header_compiler=yes | 
|---|
 | 6395 | else | 
|---|
 | 6396 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6397 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6398 |  | 
|---|
 | 6399 | ac_header_compiler=no | 
|---|
 | 6400 | fi | 
|---|
 | 6401 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6402 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6403 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6404 |  | 
|---|
 | 6405 | # Is the header present? | 
|---|
 | 6406 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6407 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6408 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6409 | /* confdefs.h.  */ | 
|---|
 | 6410 | _ACEOF | 
|---|
 | 6411 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6412 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6413 | /* end confdefs.h.  */ | 
|---|
 | 6414 | #include <$ac_header> | 
|---|
 | 6415 | _ACEOF | 
|---|
 | 6416 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6417 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6418 |   ac_status=$? | 
|---|
 | 6419 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6420 |   rm -f conftest.er1 | 
|---|
 | 6421 |   cat conftest.err >&5 | 
|---|
 | 6422 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6423 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6424 |   if test -s conftest.err; then | 
|---|
 | 6425 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6426 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6427 |   else | 
|---|
 | 6428 |     ac_cpp_err= | 
|---|
 | 6429 |   fi | 
|---|
 | 6430 | else | 
|---|
 | 6431 |   ac_cpp_err=yes | 
|---|
 | 6432 | fi | 
|---|
 | 6433 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6434 |   ac_header_preproc=yes | 
|---|
 | 6435 | else | 
|---|
 | 6436 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6437 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6438 |  | 
|---|
 | 6439 |   ac_header_preproc=no | 
|---|
 | 6440 | fi | 
|---|
 | 6441 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6442 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6443 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6444 |  | 
|---|
 | 6445 | # So?  What about this header? | 
|---|
 | 6446 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6447 |   yes:no: ) | 
|---|
 | 6448 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6449 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6450 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6451 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6452 |     ac_header_preproc=yes | 
|---|
 | 6453 |     ;; | 
|---|
 | 6454 |   no:yes:* ) | 
|---|
 | 6455 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6456 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6457 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6458 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6459 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6460 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6461 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6462 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6463 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6464 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6465 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6466 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6467 |     ( | 
|---|
 | 6468 |       cat <<\_ASBOX | 
|---|
| [3240] | 6469 | ## ---------------------------------------------- ## | 
|---|
 | 6470 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6471 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6472 | _ASBOX | 
|---|
 | 6473 |     ) | | 
|---|
 | 6474 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6475 |     ;; | 
|---|
 | 6476 | esac | 
|---|
 | 6477 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6478 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6479 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6480 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6481 | else | 
|---|
 | 6482 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6483 | fi | 
|---|
 | 6484 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6485 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6486 |  | 
|---|
 | 6487 | fi | 
|---|
 | 6488 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6489 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6490 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6491 | _ACEOF | 
|---|
 | 6492 |  jpegHeader="yes" | 
|---|
 | 6493 | else | 
|---|
 | 6494 |   jpegHeader="no" | 
|---|
 | 6495 | fi | 
|---|
 | 6496 |  | 
|---|
 | 6497 | done | 
|---|
 | 6498 |  | 
|---|
| [3433] | 6499 |  if test x$jpegHeader = xno; then | 
|---|
| [3140] | 6500 |         echo " not including jpeg." | 
|---|
 | 6501 |  else | 
|---|
 | 6502 |   echo "$as_me:$LINENO: checking for main in -ljpeg" >&5 | 
|---|
 | 6503 | echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6 | 
|---|
 | 6504 | if test "${ac_cv_lib_jpeg_main+set}" = set; then | 
|---|
 | 6505 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6506 | else | 
|---|
 | 6507 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6508 | LIBS="-ljpeg  $LIBS" | 
|---|
 | 6509 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6510 | /* confdefs.h.  */ | 
|---|
 | 6511 | _ACEOF | 
|---|
 | 6512 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6513 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6514 | /* end confdefs.h.  */ | 
|---|
 | 6515 |  | 
|---|
 | 6516 |  | 
|---|
 | 6517 | int | 
|---|
 | 6518 | main () | 
|---|
 | 6519 | { | 
|---|
 | 6520 | main (); | 
|---|
 | 6521 |   ; | 
|---|
 | 6522 |   return 0; | 
|---|
 | 6523 | } | 
|---|
 | 6524 | _ACEOF | 
|---|
 | 6525 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6526 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6527 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6528 |   ac_status=$? | 
|---|
 | 6529 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6530 |   rm -f conftest.er1 | 
|---|
 | 6531 |   cat conftest.err >&5 | 
|---|
 | 6532 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6533 |   (exit $ac_status); } && | 
|---|
 | 6534 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6535 |                          || test ! -s conftest.err' | 
|---|
 | 6536 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6537 |   (eval $ac_try) 2>&5 | 
|---|
 | 6538 |   ac_status=$? | 
|---|
 | 6539 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6540 |   (exit $ac_status); }; } && | 
|---|
 | 6541 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6542 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6543 |   (eval $ac_try) 2>&5 | 
|---|
 | 6544 |   ac_status=$? | 
|---|
 | 6545 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6546 |   (exit $ac_status); }; }; then | 
|---|
 | 6547 |   ac_cv_lib_jpeg_main=yes | 
|---|
 | 6548 | else | 
|---|
 | 6549 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6550 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6551 |  | 
|---|
 | 6552 | ac_cv_lib_jpeg_main=no | 
|---|
 | 6553 | fi | 
|---|
 | 6554 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6555 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6556 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6557 | fi | 
|---|
 | 6558 | echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5 | 
|---|
 | 6559 | echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6 | 
|---|
 | 6560 | if test $ac_cv_lib_jpeg_main = yes; then | 
|---|
 | 6561 |   FOUND_jpeg=yes | 
|---|
 | 6562 | fi | 
|---|
 | 6563 |  | 
|---|
| [3424] | 6564 |     if test x$FOUND_jpeg = xyes ; then | 
|---|
| [3140] | 6565 |       LIBS="$LIBS -ljpeg" | 
|---|
 | 6566 |     else | 
|---|
 | 6567 |          echo "------------------" | 
|---|
 | 6568 |          echo "jpeg library not found." | 
|---|
 | 6569 |          echo "please install the jpeg library from the Independent JPEG Group, which can be found at http://www.ijg.org" | 
|---|
 | 6570 |          echo "------------------" | 
|---|
 | 6571 |          exit -1 | 
|---|
 | 6572 |     fi | 
|---|
 | 6573 |  fi | 
|---|
 | 6574 |  | 
|---|
| [3424] | 6575 | #--------# | 
|---|
 | 6576 | # libpng # | 
|---|
 | 6577 | #--------# | 
|---|
| [3140] | 6578 |  | 
|---|
 | 6579 | for ac_header in png.h | 
|---|
 | 6580 | do | 
|---|
 | 6581 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6582 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6583 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6584 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6585 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6586 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6587 | fi | 
|---|
 | 6588 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6589 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6590 | else | 
|---|
 | 6591 |   # Is the header compilable? | 
|---|
 | 6592 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6593 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6594 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6595 | /* confdefs.h.  */ | 
|---|
 | 6596 | _ACEOF | 
|---|
 | 6597 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6598 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6599 | /* end confdefs.h.  */ | 
|---|
 | 6600 | $ac_includes_default | 
|---|
 | 6601 | #include <$ac_header> | 
|---|
 | 6602 | _ACEOF | 
|---|
 | 6603 | rm -f conftest.$ac_objext | 
|---|
 | 6604 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6605 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6606 |   ac_status=$? | 
|---|
 | 6607 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6608 |   rm -f conftest.er1 | 
|---|
 | 6609 |   cat conftest.err >&5 | 
|---|
 | 6610 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6611 |   (exit $ac_status); } && | 
|---|
 | 6612 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6613 |                          || test ! -s conftest.err' | 
|---|
 | 6614 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6615 |   (eval $ac_try) 2>&5 | 
|---|
 | 6616 |   ac_status=$? | 
|---|
 | 6617 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6618 |   (exit $ac_status); }; } && | 
|---|
 | 6619 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6620 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6621 |   (eval $ac_try) 2>&5 | 
|---|
 | 6622 |   ac_status=$? | 
|---|
 | 6623 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6624 |   (exit $ac_status); }; }; then | 
|---|
 | 6625 |   ac_header_compiler=yes | 
|---|
 | 6626 | else | 
|---|
 | 6627 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6628 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6629 |  | 
|---|
 | 6630 | ac_header_compiler=no | 
|---|
 | 6631 | fi | 
|---|
 | 6632 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6633 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6634 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6635 |  | 
|---|
 | 6636 | # Is the header present? | 
|---|
 | 6637 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6638 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6639 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6640 | /* confdefs.h.  */ | 
|---|
 | 6641 | _ACEOF | 
|---|
 | 6642 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6643 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6644 | /* end confdefs.h.  */ | 
|---|
 | 6645 | #include <$ac_header> | 
|---|
 | 6646 | _ACEOF | 
|---|
 | 6647 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6648 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6649 |   ac_status=$? | 
|---|
 | 6650 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6651 |   rm -f conftest.er1 | 
|---|
 | 6652 |   cat conftest.err >&5 | 
|---|
 | 6653 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6654 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6655 |   if test -s conftest.err; then | 
|---|
 | 6656 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6657 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6658 |   else | 
|---|
 | 6659 |     ac_cpp_err= | 
|---|
 | 6660 |   fi | 
|---|
 | 6661 | else | 
|---|
 | 6662 |   ac_cpp_err=yes | 
|---|
 | 6663 | fi | 
|---|
 | 6664 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6665 |   ac_header_preproc=yes | 
|---|
 | 6666 | else | 
|---|
 | 6667 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6668 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6669 |  | 
|---|
 | 6670 |   ac_header_preproc=no | 
|---|
 | 6671 | fi | 
|---|
 | 6672 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6673 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6674 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6675 |  | 
|---|
 | 6676 | # So?  What about this header? | 
|---|
 | 6677 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6678 |   yes:no: ) | 
|---|
 | 6679 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6680 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6681 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6682 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6683 |     ac_header_preproc=yes | 
|---|
 | 6684 |     ;; | 
|---|
 | 6685 |   no:yes:* ) | 
|---|
 | 6686 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6687 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6688 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6689 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6690 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6691 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6692 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6693 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6694 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6695 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6696 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6697 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6698 |     ( | 
|---|
 | 6699 |       cat <<\_ASBOX | 
|---|
| [3240] | 6700 | ## ---------------------------------------------- ## | 
|---|
 | 6701 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 6702 | ## ---------------------------------------------- ## | 
|---|
| [3140] | 6703 | _ASBOX | 
|---|
 | 6704 |     ) | | 
|---|
 | 6705 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6706 |     ;; | 
|---|
 | 6707 | esac | 
|---|
 | 6708 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6709 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6710 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6711 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6712 | else | 
|---|
 | 6713 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6714 | fi | 
|---|
 | 6715 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6716 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6717 |  | 
|---|
 | 6718 | fi | 
|---|
 | 6719 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6720 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6721 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6722 | _ACEOF | 
|---|
 | 6723 |  pngHeader="yes" | 
|---|
 | 6724 | else | 
|---|
 | 6725 |   pngHeader="no" | 
|---|
 | 6726 | fi | 
|---|
 | 6727 |  | 
|---|
 | 6728 | done | 
|---|
 | 6729 |  | 
|---|
| [3424] | 6730 |  if test x$pngHeader = xno; then | 
|---|
| [3140] | 6731 |         echo " not including png." | 
|---|
 | 6732 |  else | 
|---|
 | 6733 |   echo "$as_me:$LINENO: checking for main in -lpng" >&5 | 
|---|
 | 6734 | echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6 | 
|---|
 | 6735 | if test "${ac_cv_lib_png_main+set}" = set; then | 
|---|
 | 6736 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6737 | else | 
|---|
 | 6738 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 6739 | LIBS="-lpng  $LIBS" | 
|---|
 | 6740 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6741 | /* confdefs.h.  */ | 
|---|
 | 6742 | _ACEOF | 
|---|
 | 6743 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6744 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6745 | /* end confdefs.h.  */ | 
|---|
 | 6746 |  | 
|---|
 | 6747 |  | 
|---|
 | 6748 | int | 
|---|
 | 6749 | main () | 
|---|
 | 6750 | { | 
|---|
 | 6751 | main (); | 
|---|
 | 6752 |   ; | 
|---|
 | 6753 |   return 0; | 
|---|
 | 6754 | } | 
|---|
 | 6755 | _ACEOF | 
|---|
 | 6756 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6757 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6758 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6759 |   ac_status=$? | 
|---|
 | 6760 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6761 |   rm -f conftest.er1 | 
|---|
 | 6762 |   cat conftest.err >&5 | 
|---|
 | 6763 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6764 |   (exit $ac_status); } && | 
|---|
 | 6765 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6766 |                          || test ! -s conftest.err' | 
|---|
 | 6767 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6768 |   (eval $ac_try) 2>&5 | 
|---|
 | 6769 |   ac_status=$? | 
|---|
 | 6770 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6771 |   (exit $ac_status); }; } && | 
|---|
 | 6772 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6773 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6774 |   (eval $ac_try) 2>&5 | 
|---|
 | 6775 |   ac_status=$? | 
|---|
 | 6776 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6777 |   (exit $ac_status); }; }; then | 
|---|
 | 6778 |   ac_cv_lib_png_main=yes | 
|---|
 | 6779 | else | 
|---|
 | 6780 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6781 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6782 |  | 
|---|
 | 6783 | ac_cv_lib_png_main=no | 
|---|
 | 6784 | fi | 
|---|
 | 6785 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6786 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6787 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 6788 | fi | 
|---|
 | 6789 | echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 | 
|---|
 | 6790 | echo "${ECHO_T}$ac_cv_lib_png_main" >&6 | 
|---|
 | 6791 | if test $ac_cv_lib_png_main = yes; then | 
|---|
 | 6792 |   FOUND_png=yes | 
|---|
 | 6793 | fi | 
|---|
 | 6794 |  | 
|---|
| [3424] | 6795 |     if test x$FOUND_png = xyes ; then | 
|---|
| [3140] | 6796 |       LIBS="$LIBS -lpng" | 
|---|
 | 6797 |     else | 
|---|
 | 6798 |          echo "------------------" | 
|---|
 | 6799 |          echo "png library not found." | 
|---|
 | 6800 |          echo "please install the png library, which can be found at http://libpng.org/pub/png/libpng.html" | 
|---|
 | 6801 |          echo "------------------" | 
|---|
 | 6802 |          exit -1 | 
|---|
 | 6803 |     fi | 
|---|
 | 6804 |  fi | 
|---|
 | 6805 | fi | 
|---|
 | 6806 |  | 
|---|
| [3424] | 6807 | #-----# | 
|---|
 | 6808 | # GTK # | 
|---|
 | 6809 | #-----# | 
|---|
 | 6810 | if test x$def_gtk = xyes; then | 
|---|
| [3100] | 6811 |  | 
|---|
 | 6812 |         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
 | 6813 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| [3099] | 6814 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| [3100] | 6815 |         if `pkg-config --exists gtk+-2.0`; then | 
|---|
 | 6816 |                 echo "yes" | 
|---|
 | 6817 |                 have_gtk2=yes | 
|---|
 | 6818 |                 GTK2_LIBS=`pkg-config --libs gtk+-2.0` | 
|---|
 | 6819 |                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` | 
|---|
| [3101] | 6820 |  | 
|---|
 | 6821 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6822 | #define HAVE_GTK2 1 | 
|---|
 | 6823 | _ACEOF | 
|---|
 | 6824 |  | 
|---|
| [3100] | 6825 |         else | 
|---|
 | 6826 |                 echo "no" | 
|---|
 | 6827 |         fi | 
|---|
 | 6828 |  | 
|---|
| [2980] | 6829 | fi | 
|---|
| [2190] | 6830 |  | 
|---|
| [2701] | 6831 |  | 
|---|
 | 6832 |  | 
|---|
| [2190] | 6833 |  | 
|---|
| [3100] | 6834 | if test x$have_gtk2 = xyes; then | 
|---|
| [2980] | 6835 |   HAVE_GTK2_TRUE= | 
|---|
 | 6836 |   HAVE_GTK2_FALSE='#' | 
|---|
 | 6837 | else | 
|---|
 | 6838 |   HAVE_GTK2_TRUE='#' | 
|---|
 | 6839 |   HAVE_GTK2_FALSE= | 
|---|
 | 6840 | fi | 
|---|
 | 6841 |  | 
|---|
 | 6842 |  | 
|---|
| [3424] | 6843 | #---------# | 
|---|
 | 6844 | # gThread # | 
|---|
 | 6845 | #---------# | 
|---|
 | 6846 | if test x$def_gthread = xyes; then | 
|---|
| [2980] | 6847 |  | 
|---|
| [3423] | 6848 |         echo "$as_me:$LINENO: checking for gthread" >&5 | 
|---|
 | 6849 | echo $ECHO_N "checking for gthread... $ECHO_C" >&6 | 
|---|
 | 6850 |         if `pkg-config --exists gthread-2.0`; then | 
|---|
 | 6851 |                 echo "yes" | 
|---|
 | 6852 |                 have_gthread=yes | 
|---|
 | 6853 |                 GTHREAD_LIBS=`pkg-config --libs gthread-2.0` | 
|---|
 | 6854 |                 GTHREAD_CFLAGS=`pkg-config --cflags gthread-2.0` | 
|---|
| [3100] | 6855 |  | 
|---|
| [3423] | 6856 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6857 | #define HAVE_GTHREAD 1 | 
|---|
 | 6858 | _ACEOF | 
|---|
| [2190] | 6859 |  | 
|---|
| [3423] | 6860 |         else | 
|---|
 | 6861 |                 echo "no" | 
|---|
 | 6862 |         fi | 
|---|
| [2190] | 6863 |  | 
|---|
| [3423] | 6864 | fi | 
|---|
 | 6865 |  | 
|---|
 | 6866 |  | 
|---|
 | 6867 |  | 
|---|
 | 6868 |  | 
|---|
 | 6869 | if test x$have_gthread = xyes; then | 
|---|
 | 6870 |   HAVE_GTHREAD_TRUE= | 
|---|
 | 6871 |   HAVE_GTHREAD_FALSE='#' | 
|---|
 | 6872 | else | 
|---|
 | 6873 |   HAVE_GTHREAD_TRUE='#' | 
|---|
 | 6874 |   HAVE_GTHREAD_FALSE= | 
|---|
 | 6875 | fi | 
|---|
 | 6876 |  | 
|---|
 | 6877 |  | 
|---|
| [3424] | 6878 | #---------# | 
|---|
 | 6879 | # libcURL # | 
|---|
 | 6880 | #---------# | 
|---|
 | 6881 | if test x$def_curl = xyes; then | 
|---|
| [3423] | 6882 |  | 
|---|
 | 6883 |  | 
|---|
 | 6884 | for ac_header in curl/curl.h | 
|---|
 | 6885 | do | 
|---|
 | 6886 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6887 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6888 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6889 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6890 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6891 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6892 | fi | 
|---|
 | 6893 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6894 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6895 | else | 
|---|
 | 6896 |   # Is the header compilable? | 
|---|
 | 6897 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6898 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6899 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6900 | /* confdefs.h.  */ | 
|---|
 | 6901 | _ACEOF | 
|---|
 | 6902 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6903 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6904 | /* end confdefs.h.  */ | 
|---|
 | 6905 | $ac_includes_default | 
|---|
 | 6906 | #include <$ac_header> | 
|---|
 | 6907 | _ACEOF | 
|---|
 | 6908 | rm -f conftest.$ac_objext | 
|---|
 | 6909 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6910 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6911 |   ac_status=$? | 
|---|
 | 6912 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6913 |   rm -f conftest.er1 | 
|---|
 | 6914 |   cat conftest.err >&5 | 
|---|
 | 6915 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6916 |   (exit $ac_status); } && | 
|---|
 | 6917 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6918 |                          || test ! -s conftest.err' | 
|---|
 | 6919 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6920 |   (eval $ac_try) 2>&5 | 
|---|
 | 6921 |   ac_status=$? | 
|---|
 | 6922 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6923 |   (exit $ac_status); }; } && | 
|---|
 | 6924 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6925 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6926 |   (eval $ac_try) 2>&5 | 
|---|
 | 6927 |   ac_status=$? | 
|---|
 | 6928 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6929 |   (exit $ac_status); }; }; then | 
|---|
 | 6930 |   ac_header_compiler=yes | 
|---|
 | 6931 | else | 
|---|
 | 6932 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6933 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6934 |  | 
|---|
 | 6935 | ac_header_compiler=no | 
|---|
 | 6936 | fi | 
|---|
 | 6937 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6938 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6939 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6940 |  | 
|---|
 | 6941 | # Is the header present? | 
|---|
 | 6942 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6943 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6944 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6945 | /* confdefs.h.  */ | 
|---|
 | 6946 | _ACEOF | 
|---|
 | 6947 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6948 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6949 | /* end confdefs.h.  */ | 
|---|
 | 6950 | #include <$ac_header> | 
|---|
 | 6951 | _ACEOF | 
|---|
 | 6952 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6953 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6954 |   ac_status=$? | 
|---|
 | 6955 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6956 |   rm -f conftest.er1 | 
|---|
 | 6957 |   cat conftest.err >&5 | 
|---|
 | 6958 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6959 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6960 |   if test -s conftest.err; then | 
|---|
 | 6961 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6962 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6963 |   else | 
|---|
 | 6964 |     ac_cpp_err= | 
|---|
 | 6965 |   fi | 
|---|
 | 6966 | else | 
|---|
 | 6967 |   ac_cpp_err=yes | 
|---|
 | 6968 | fi | 
|---|
 | 6969 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6970 |   ac_header_preproc=yes | 
|---|
 | 6971 | else | 
|---|
 | 6972 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6973 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6974 |  | 
|---|
 | 6975 |   ac_header_preproc=no | 
|---|
 | 6976 | fi | 
|---|
 | 6977 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6978 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6979 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6980 |  | 
|---|
 | 6981 | # So?  What about this header? | 
|---|
 | 6982 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6983 |   yes:no: ) | 
|---|
 | 6984 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6985 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6986 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6987 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6988 |     ac_header_preproc=yes | 
|---|
 | 6989 |     ;; | 
|---|
 | 6990 |   no:yes:* ) | 
|---|
 | 6991 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6992 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6993 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6994 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6995 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6996 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6997 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6998 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6999 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7000 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7001 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7002 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7003 |     ( | 
|---|
 | 7004 |       cat <<\_ASBOX | 
|---|
 | 7005 | ## ---------------------------------------------- ## | 
|---|
 | 7006 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7007 | ## ---------------------------------------------- ## | 
|---|
 | 7008 | _ASBOX | 
|---|
 | 7009 |     ) | | 
|---|
 | 7010 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7011 |     ;; | 
|---|
 | 7012 | esac | 
|---|
 | 7013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7014 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7015 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7016 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7017 | else | 
|---|
 | 7018 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7019 | fi | 
|---|
 | 7020 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7021 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7022 |  | 
|---|
 | 7023 | fi | 
|---|
 | 7024 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7025 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7026 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7027 | _ACEOF | 
|---|
 | 7028 |  curlHeader="yes" | 
|---|
 | 7029 | else | 
|---|
 | 7030 |   curlHeader="no" | 
|---|
 | 7031 | fi | 
|---|
 | 7032 |  | 
|---|
 | 7033 | done | 
|---|
 | 7034 |  | 
|---|
 | 7035 |  echo "$as_me:$LINENO: checking for main in -lcurl" >&5 | 
|---|
 | 7036 | echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6 | 
|---|
 | 7037 | if test "${ac_cv_lib_curl_main+set}" = set; then | 
|---|
 | 7038 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7039 | else | 
|---|
 | 7040 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 7041 | LIBS="-lcurl  $LIBS" | 
|---|
 | 7042 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7043 | /* confdefs.h.  */ | 
|---|
 | 7044 | _ACEOF | 
|---|
 | 7045 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7046 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7047 | /* end confdefs.h.  */ | 
|---|
 | 7048 |  | 
|---|
 | 7049 |  | 
|---|
 | 7050 | int | 
|---|
 | 7051 | main () | 
|---|
 | 7052 | { | 
|---|
 | 7053 | main (); | 
|---|
 | 7054 |   ; | 
|---|
 | 7055 |   return 0; | 
|---|
 | 7056 | } | 
|---|
 | 7057 | _ACEOF | 
|---|
 | 7058 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 7059 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7060 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 7061 |   ac_status=$? | 
|---|
 | 7062 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7063 |   rm -f conftest.er1 | 
|---|
 | 7064 |   cat conftest.err >&5 | 
|---|
 | 7065 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7066 |   (exit $ac_status); } && | 
|---|
 | 7067 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7068 |                          || test ! -s conftest.err' | 
|---|
 | 7069 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7070 |   (eval $ac_try) 2>&5 | 
|---|
 | 7071 |   ac_status=$? | 
|---|
 | 7072 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7073 |   (exit $ac_status); }; } && | 
|---|
 | 7074 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 7075 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7076 |   (eval $ac_try) 2>&5 | 
|---|
 | 7077 |   ac_status=$? | 
|---|
 | 7078 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7079 |   (exit $ac_status); }; }; then | 
|---|
 | 7080 |   ac_cv_lib_curl_main=yes | 
|---|
 | 7081 | else | 
|---|
 | 7082 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7083 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7084 |  | 
|---|
 | 7085 | ac_cv_lib_curl_main=no | 
|---|
 | 7086 | fi | 
|---|
 | 7087 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 7088 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 7089 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 7090 | fi | 
|---|
 | 7091 | echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5 | 
|---|
 | 7092 | echo "${ECHO_T}$ac_cv_lib_curl_main" >&6 | 
|---|
 | 7093 | if test $ac_cv_lib_curl_main = yes; then | 
|---|
 | 7094 |   FOUND_curl=yes | 
|---|
 | 7095 | fi | 
|---|
 | 7096 |  | 
|---|
 | 7097 |  if test x$curlHeader = xyes & test x$FOUND_curl = xyes ; then | 
|---|
 | 7098 |   have_curl=yes | 
|---|
 | 7099 |   CURL_LIBS=`curl-config --libs` | 
|---|
 | 7100 |   CURLCFLAGS=`curl-config --cflags` | 
|---|
 | 7101 |  | 
|---|
 | 7102 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 7103 | #define HAVE_CURL 1 | 
|---|
 | 7104 | _ACEOF | 
|---|
 | 7105 |  | 
|---|
 | 7106 |  else | 
|---|
 | 7107 |   have_curl=no | 
|---|
 | 7108 |  fi | 
|---|
 | 7109 |  | 
|---|
 | 7110 | fi | 
|---|
 | 7111 |  | 
|---|
 | 7112 |  | 
|---|
 | 7113 |  | 
|---|
 | 7114 |  | 
|---|
 | 7115 | if test x$have_curl = xyes; then | 
|---|
 | 7116 |   HAVE_CURL_TRUE= | 
|---|
 | 7117 |   HAVE_CURL_FALSE='#' | 
|---|
 | 7118 | else | 
|---|
 | 7119 |   HAVE_CURL_TRUE='#' | 
|---|
 | 7120 |   HAVE_CURL_FALSE= | 
|---|
 | 7121 | fi | 
|---|
 | 7122 |  | 
|---|
 | 7123 |  | 
|---|
| [3424] | 7124 | #---------# | 
|---|
 | 7125 | # pthread # | 
|---|
 | 7126 | #---------# | 
|---|
| [3423] | 7127 | if test x$def_pthread = xyes ; then | 
|---|
 | 7128 |  if test x$have_gthread = xyes ; then | 
|---|
 | 7129 |  | 
|---|
 | 7130 | for ac_header in pthread.h | 
|---|
 | 7131 | do | 
|---|
 | 7132 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 7133 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7134 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7135 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7136 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7137 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7138 | fi | 
|---|
 | 7139 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7140 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7141 | else | 
|---|
 | 7142 |   # Is the header compilable? | 
|---|
 | 7143 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7144 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7145 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7146 | /* confdefs.h.  */ | 
|---|
 | 7147 | _ACEOF | 
|---|
 | 7148 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7149 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7150 | /* end confdefs.h.  */ | 
|---|
 | 7151 | $ac_includes_default | 
|---|
 | 7152 | #include <$ac_header> | 
|---|
 | 7153 | _ACEOF | 
|---|
 | 7154 | rm -f conftest.$ac_objext | 
|---|
 | 7155 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7156 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7157 |   ac_status=$? | 
|---|
 | 7158 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7159 |   rm -f conftest.er1 | 
|---|
 | 7160 |   cat conftest.err >&5 | 
|---|
 | 7161 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7162 |   (exit $ac_status); } && | 
|---|
 | 7163 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7164 |                          || test ! -s conftest.err' | 
|---|
 | 7165 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7166 |   (eval $ac_try) 2>&5 | 
|---|
 | 7167 |   ac_status=$? | 
|---|
 | 7168 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7169 |   (exit $ac_status); }; } && | 
|---|
 | 7170 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7171 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7172 |   (eval $ac_try) 2>&5 | 
|---|
 | 7173 |   ac_status=$? | 
|---|
 | 7174 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7175 |   (exit $ac_status); }; }; then | 
|---|
 | 7176 |   ac_header_compiler=yes | 
|---|
 | 7177 | else | 
|---|
 | 7178 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7179 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7180 |  | 
|---|
 | 7181 | ac_header_compiler=no | 
|---|
 | 7182 | fi | 
|---|
 | 7183 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7184 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7185 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7186 |  | 
|---|
 | 7187 | # Is the header present? | 
|---|
 | 7188 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7189 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7190 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7191 | /* confdefs.h.  */ | 
|---|
 | 7192 | _ACEOF | 
|---|
 | 7193 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7194 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7195 | /* end confdefs.h.  */ | 
|---|
 | 7196 | #include <$ac_header> | 
|---|
 | 7197 | _ACEOF | 
|---|
 | 7198 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7199 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7200 |   ac_status=$? | 
|---|
 | 7201 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7202 |   rm -f conftest.er1 | 
|---|
 | 7203 |   cat conftest.err >&5 | 
|---|
 | 7204 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7205 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7206 |   if test -s conftest.err; then | 
|---|
 | 7207 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7208 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7209 |   else | 
|---|
 | 7210 |     ac_cpp_err= | 
|---|
 | 7211 |   fi | 
|---|
 | 7212 | else | 
|---|
 | 7213 |   ac_cpp_err=yes | 
|---|
 | 7214 | fi | 
|---|
 | 7215 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7216 |   ac_header_preproc=yes | 
|---|
 | 7217 | else | 
|---|
 | 7218 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7219 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7220 |  | 
|---|
 | 7221 |   ac_header_preproc=no | 
|---|
 | 7222 | fi | 
|---|
 | 7223 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7224 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7225 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7226 |  | 
|---|
 | 7227 | # So?  What about this header? | 
|---|
 | 7228 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 7229 |   yes:no: ) | 
|---|
 | 7230 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 7231 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 7232 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 7233 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 7234 |     ac_header_preproc=yes | 
|---|
 | 7235 |     ;; | 
|---|
 | 7236 |   no:yes:* ) | 
|---|
 | 7237 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 7238 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 7239 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 7240 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 7241 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 7242 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 7243 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 7244 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 7245 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7246 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7247 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7248 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7249 |     ( | 
|---|
 | 7250 |       cat <<\_ASBOX | 
|---|
 | 7251 | ## ---------------------------------------------- ## | 
|---|
 | 7252 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7253 | ## ---------------------------------------------- ## | 
|---|
 | 7254 | _ASBOX | 
|---|
 | 7255 |     ) | | 
|---|
 | 7256 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7257 |     ;; | 
|---|
 | 7258 | esac | 
|---|
 | 7259 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7260 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7261 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7262 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7263 | else | 
|---|
 | 7264 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7265 | fi | 
|---|
 | 7266 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7267 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7268 |  | 
|---|
 | 7269 | fi | 
|---|
 | 7270 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7271 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7272 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7273 | _ACEOF | 
|---|
 | 7274 |  pthreadHeader="yes" | 
|---|
 | 7275 | else | 
|---|
 | 7276 |   pthreadHeader="no" | 
|---|
 | 7277 | fi | 
|---|
 | 7278 |  | 
|---|
 | 7279 | done | 
|---|
 | 7280 |  | 
|---|
 | 7281 |   echo "$as_me:$LINENO: checking for main in -lpthread" >&5 | 
|---|
 | 7282 | echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 | 
|---|
 | 7283 | if test "${ac_cv_lib_pthread_main+set}" = set; then | 
|---|
 | 7284 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7285 | else | 
|---|
 | 7286 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 7287 | LIBS="-lpthread  $LIBS" | 
|---|
 | 7288 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7289 | /* confdefs.h.  */ | 
|---|
 | 7290 | _ACEOF | 
|---|
 | 7291 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7292 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7293 | /* end confdefs.h.  */ | 
|---|
 | 7294 |  | 
|---|
 | 7295 |  | 
|---|
 | 7296 | int | 
|---|
 | 7297 | main () | 
|---|
 | 7298 | { | 
|---|
 | 7299 | main (); | 
|---|
 | 7300 |   ; | 
|---|
 | 7301 |   return 0; | 
|---|
 | 7302 | } | 
|---|
 | 7303 | _ACEOF | 
|---|
 | 7304 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 7305 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7306 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 7307 |   ac_status=$? | 
|---|
 | 7308 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7309 |   rm -f conftest.er1 | 
|---|
 | 7310 |   cat conftest.err >&5 | 
|---|
 | 7311 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7312 |   (exit $ac_status); } && | 
|---|
 | 7313 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7314 |                          || test ! -s conftest.err' | 
|---|
 | 7315 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7316 |   (eval $ac_try) 2>&5 | 
|---|
 | 7317 |   ac_status=$? | 
|---|
 | 7318 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7319 |   (exit $ac_status); }; } && | 
|---|
 | 7320 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 7321 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7322 |   (eval $ac_try) 2>&5 | 
|---|
 | 7323 |   ac_status=$? | 
|---|
 | 7324 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7325 |   (exit $ac_status); }; }; then | 
|---|
 | 7326 |   ac_cv_lib_pthread_main=yes | 
|---|
 | 7327 | else | 
|---|
 | 7328 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7329 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7330 |  | 
|---|
 | 7331 | ac_cv_lib_pthread_main=no | 
|---|
 | 7332 | fi | 
|---|
 | 7333 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 7334 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 7335 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 7336 | fi | 
|---|
 | 7337 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 | 
|---|
 | 7338 | echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 | 
|---|
 | 7339 | if test $ac_cv_lib_pthread_main = yes; then | 
|---|
 | 7340 |   FOUND_pthread=yes | 
|---|
 | 7341 | fi | 
|---|
 | 7342 |  | 
|---|
| [3424] | 7343 |    if test x$FOUND_pthread = xyes ; then | 
|---|
| [3423] | 7344 |       LIBS="$LIBS -lpthread" | 
|---|
 | 7345 |    fi | 
|---|
 | 7346 |  fi | 
|---|
 | 7347 | fi | 
|---|
| [3424] | 7348 |  | 
|---|
 | 7349 |  | 
|---|
| [1956] | 7350 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
 | 7351 |  | 
|---|
 | 7352 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
 | 7353 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
 | 7354 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
 | 7355 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7356 | else | 
|---|
 | 7357 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 7358 | LIBS="-lm  $LIBS" | 
|---|
 | 7359 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7360 | /* confdefs.h.  */ | 
|---|
 | 7361 | _ACEOF | 
|---|
 | 7362 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7363 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7364 | /* end confdefs.h.  */ | 
|---|
 | 7365 |  | 
|---|
 | 7366 |  | 
|---|
 | 7367 | int | 
|---|
 | 7368 | main () | 
|---|
 | 7369 | { | 
|---|
 | 7370 | main (); | 
|---|
 | 7371 |   ; | 
|---|
 | 7372 |   return 0; | 
|---|
 | 7373 | } | 
|---|
 | 7374 | _ACEOF | 
|---|
 | 7375 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 7376 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7377 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 7378 |   ac_status=$? | 
|---|
 | 7379 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7380 |   rm -f conftest.er1 | 
|---|
 | 7381 |   cat conftest.err >&5 | 
|---|
 | 7382 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7383 |   (exit $ac_status); } && | 
|---|
 | 7384 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7385 |                          || test ! -s conftest.err' | 
|---|
 | 7386 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7387 |   (eval $ac_try) 2>&5 | 
|---|
 | 7388 |   ac_status=$? | 
|---|
 | 7389 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7390 |   (exit $ac_status); }; } && | 
|---|
 | 7391 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 7392 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7393 |   (eval $ac_try) 2>&5 | 
|---|
 | 7394 |   ac_status=$? | 
|---|
 | 7395 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7396 |   (exit $ac_status); }; }; then | 
|---|
 | 7397 |   ac_cv_lib_m_main=yes | 
|---|
 | 7398 | else | 
|---|
 | 7399 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7400 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7401 |  | 
|---|
 | 7402 | ac_cv_lib_m_main=no | 
|---|
 | 7403 | fi | 
|---|
 | 7404 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 7405 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 7406 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 7407 | fi | 
|---|
 | 7408 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
 | 7409 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
 | 7410 | if test $ac_cv_lib_m_main = yes; then | 
|---|
 | 7411 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7412 | #define HAVE_LIBM 1 | 
|---|
 | 7413 | _ACEOF | 
|---|
 | 7414 |  | 
|---|
 | 7415 |   LIBS="-lm $LIBS" | 
|---|
 | 7416 |  | 
|---|
 | 7417 | fi | 
|---|
 | 7418 |  | 
|---|
 | 7419 |  | 
|---|
| [2018] | 7420 |  | 
|---|
| [1956] | 7421 | # Checks for header files. | 
|---|
 | 7422 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 7423 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 7424 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 7425 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7426 | else | 
|---|
 | 7427 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7428 | /* confdefs.h.  */ | 
|---|
 | 7429 | _ACEOF | 
|---|
 | 7430 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7431 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7432 | /* end confdefs.h.  */ | 
|---|
 | 7433 | #include <stdlib.h> | 
|---|
 | 7434 | #include <stdarg.h> | 
|---|
 | 7435 | #include <string.h> | 
|---|
 | 7436 | #include <float.h> | 
|---|
 | 7437 |  | 
|---|
 | 7438 | int | 
|---|
 | 7439 | main () | 
|---|
 | 7440 | { | 
|---|
 | 7441 |  | 
|---|
 | 7442 |   ; | 
|---|
 | 7443 |   return 0; | 
|---|
 | 7444 | } | 
|---|
 | 7445 | _ACEOF | 
|---|
 | 7446 | rm -f conftest.$ac_objext | 
|---|
 | 7447 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7448 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7449 |   ac_status=$? | 
|---|
 | 7450 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7451 |   rm -f conftest.er1 | 
|---|
 | 7452 |   cat conftest.err >&5 | 
|---|
 | 7453 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7454 |   (exit $ac_status); } && | 
|---|
 | 7455 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7456 |                          || test ! -s conftest.err' | 
|---|
 | 7457 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7458 |   (eval $ac_try) 2>&5 | 
|---|
 | 7459 |   ac_status=$? | 
|---|
 | 7460 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7461 |   (exit $ac_status); }; } && | 
|---|
 | 7462 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7463 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7464 |   (eval $ac_try) 2>&5 | 
|---|
 | 7465 |   ac_status=$? | 
|---|
 | 7466 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7467 |   (exit $ac_status); }; }; then | 
|---|
 | 7468 |   ac_cv_header_stdc=yes | 
|---|
 | 7469 | else | 
|---|
 | 7470 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7471 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7472 |  | 
|---|
 | 7473 | ac_cv_header_stdc=no | 
|---|
 | 7474 | fi | 
|---|
 | 7475 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7476 |  | 
|---|
 | 7477 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7478 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 7479 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7480 | /* confdefs.h.  */ | 
|---|
 | 7481 | _ACEOF | 
|---|
 | 7482 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7483 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7484 | /* end confdefs.h.  */ | 
|---|
 | 7485 | #include <string.h> | 
|---|
 | 7486 |  | 
|---|
 | 7487 | _ACEOF | 
|---|
 | 7488 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 7489 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 7490 |   : | 
|---|
 | 7491 | else | 
|---|
 | 7492 |   ac_cv_header_stdc=no | 
|---|
 | 7493 | fi | 
|---|
 | 7494 | rm -f conftest* | 
|---|
 | 7495 |  | 
|---|
 | 7496 | fi | 
|---|
 | 7497 |  | 
|---|
 | 7498 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7499 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 7500 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7501 | /* confdefs.h.  */ | 
|---|
 | 7502 | _ACEOF | 
|---|
 | 7503 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7504 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7505 | /* end confdefs.h.  */ | 
|---|
 | 7506 | #include <stdlib.h> | 
|---|
 | 7507 |  | 
|---|
 | 7508 | _ACEOF | 
|---|
 | 7509 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 7510 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 7511 |   : | 
|---|
 | 7512 | else | 
|---|
 | 7513 |   ac_cv_header_stdc=no | 
|---|
 | 7514 | fi | 
|---|
 | 7515 | rm -f conftest* | 
|---|
 | 7516 |  | 
|---|
 | 7517 | fi | 
|---|
 | 7518 |  | 
|---|
 | 7519 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7520 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 7521 |   if test "$cross_compiling" = yes; then | 
|---|
 | 7522 |   : | 
|---|
 | 7523 | else | 
|---|
 | 7524 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7525 | /* confdefs.h.  */ | 
|---|
 | 7526 | _ACEOF | 
|---|
 | 7527 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7528 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7529 | /* end confdefs.h.  */ | 
|---|
 | 7530 | #include <ctype.h> | 
|---|
 | 7531 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 7532 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 7533 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 7534 | #else | 
|---|
 | 7535 | # define ISLOWER(c) \ | 
|---|
 | 7536 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 7537 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 7538 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 7539 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 7540 | #endif | 
|---|
 | 7541 |  | 
|---|
 | 7542 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 7543 | int | 
|---|
 | 7544 | main () | 
|---|
 | 7545 | { | 
|---|
 | 7546 |   int i; | 
|---|
 | 7547 |   for (i = 0; i < 256; i++) | 
|---|
 | 7548 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 7549 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 7550 |       exit(2); | 
|---|
 | 7551 |   exit (0); | 
|---|
 | 7552 | } | 
|---|
 | 7553 | _ACEOF | 
|---|
 | 7554 | rm -f conftest$ac_exeext | 
|---|
 | 7555 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 7556 |   (eval $ac_link) 2>&5 | 
|---|
 | 7557 |   ac_status=$? | 
|---|
 | 7558 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7559 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 7560 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7561 |   (eval $ac_try) 2>&5 | 
|---|
 | 7562 |   ac_status=$? | 
|---|
 | 7563 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7564 |   (exit $ac_status); }; }; then | 
|---|
 | 7565 |   : | 
|---|
 | 7566 | else | 
|---|
 | 7567 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 7568 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 7569 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7570 |  | 
|---|
 | 7571 | ( exit $ac_status ) | 
|---|
 | 7572 | ac_cv_header_stdc=no | 
|---|
 | 7573 | fi | 
|---|
 | 7574 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7575 | fi | 
|---|
 | 7576 | fi | 
|---|
 | 7577 | fi | 
|---|
 | 7578 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 7579 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 7580 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 7581 |  | 
|---|
 | 7582 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7583 | #define STDC_HEADERS 1 | 
|---|
 | 7584 | _ACEOF | 
|---|
 | 7585 |  | 
|---|
 | 7586 | fi | 
|---|
 | 7587 |  | 
|---|
 | 7588 |  | 
|---|
 | 7589 |  | 
|---|
 | 7590 | for ac_header in stdlib.h string.h | 
|---|
 | 7591 | do | 
|---|
 | 7592 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 7593 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7594 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7595 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7596 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7597 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7598 | fi | 
|---|
 | 7599 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7600 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7601 | else | 
|---|
 | 7602 |   # Is the header compilable? | 
|---|
 | 7603 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7604 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7605 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7606 | /* confdefs.h.  */ | 
|---|
 | 7607 | _ACEOF | 
|---|
 | 7608 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7609 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7610 | /* end confdefs.h.  */ | 
|---|
 | 7611 | $ac_includes_default | 
|---|
 | 7612 | #include <$ac_header> | 
|---|
 | 7613 | _ACEOF | 
|---|
 | 7614 | rm -f conftest.$ac_objext | 
|---|
 | 7615 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7616 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7617 |   ac_status=$? | 
|---|
 | 7618 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7619 |   rm -f conftest.er1 | 
|---|
 | 7620 |   cat conftest.err >&5 | 
|---|
 | 7621 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7622 |   (exit $ac_status); } && | 
|---|
 | 7623 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7624 |                          || test ! -s conftest.err' | 
|---|
 | 7625 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7626 |   (eval $ac_try) 2>&5 | 
|---|
 | 7627 |   ac_status=$? | 
|---|
 | 7628 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7629 |   (exit $ac_status); }; } && | 
|---|
 | 7630 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7631 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7632 |   (eval $ac_try) 2>&5 | 
|---|
 | 7633 |   ac_status=$? | 
|---|
 | 7634 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7635 |   (exit $ac_status); }; }; then | 
|---|
 | 7636 |   ac_header_compiler=yes | 
|---|
 | 7637 | else | 
|---|
 | 7638 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7639 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7640 |  | 
|---|
 | 7641 | ac_header_compiler=no | 
|---|
 | 7642 | fi | 
|---|
 | 7643 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7644 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7645 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7646 |  | 
|---|
 | 7647 | # Is the header present? | 
|---|
 | 7648 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7649 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7650 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7651 | /* confdefs.h.  */ | 
|---|
 | 7652 | _ACEOF | 
|---|
 | 7653 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7654 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7655 | /* end confdefs.h.  */ | 
|---|
 | 7656 | #include <$ac_header> | 
|---|
 | 7657 | _ACEOF | 
|---|
 | 7658 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7659 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7660 |   ac_status=$? | 
|---|
 | 7661 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7662 |   rm -f conftest.er1 | 
|---|
 | 7663 |   cat conftest.err >&5 | 
|---|
 | 7664 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7665 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7666 |   if test -s conftest.err; then | 
|---|
 | 7667 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7668 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7669 |   else | 
|---|
 | 7670 |     ac_cpp_err= | 
|---|
 | 7671 |   fi | 
|---|
 | 7672 | else | 
|---|
 | 7673 |   ac_cpp_err=yes | 
|---|
 | 7674 | fi | 
|---|
 | 7675 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7676 |   ac_header_preproc=yes | 
|---|
 | 7677 | else | 
|---|
 | 7678 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7679 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7680 |  | 
|---|
 | 7681 |   ac_header_preproc=no | 
|---|
 | 7682 | fi | 
|---|
 | 7683 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7684 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7685 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7686 |  | 
|---|
 | 7687 | # So?  What about this header? | 
|---|
 | 7688 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 7689 |   yes:no: ) | 
|---|
 | 7690 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 7691 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 7692 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 7693 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 7694 |     ac_header_preproc=yes | 
|---|
 | 7695 |     ;; | 
|---|
 | 7696 |   no:yes:* ) | 
|---|
 | 7697 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 7698 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 7699 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 7700 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 7701 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 7702 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 7703 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 7704 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 7705 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 7706 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 7707 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 7708 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 7709 |     ( | 
|---|
 | 7710 |       cat <<\_ASBOX | 
|---|
| [3240] | 7711 | ## ---------------------------------------------- ## | 
|---|
 | 7712 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 7713 | ## ---------------------------------------------- ## | 
|---|
| [1956] | 7714 | _ASBOX | 
|---|
 | 7715 |     ) | | 
|---|
 | 7716 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 7717 |     ;; | 
|---|
 | 7718 | esac | 
|---|
 | 7719 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7720 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7721 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7722 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7723 | else | 
|---|
 | 7724 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 7725 | fi | 
|---|
 | 7726 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7727 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7728 |  | 
|---|
 | 7729 | fi | 
|---|
 | 7730 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 7731 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 7732 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 7733 | _ACEOF | 
|---|
 | 7734 |  | 
|---|
 | 7735 | fi | 
|---|
 | 7736 |  | 
|---|
 | 7737 | done | 
|---|
 | 7738 |  | 
|---|
 | 7739 |  | 
|---|
 | 7740 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
 | 7741 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
 | 7742 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
 | 7743 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
 | 7744 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7745 | else | 
|---|
 | 7746 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7747 | /* confdefs.h.  */ | 
|---|
 | 7748 | _ACEOF | 
|---|
 | 7749 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7750 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7751 | /* end confdefs.h.  */ | 
|---|
 | 7752 |  | 
|---|
 | 7753 | #include <stdbool.h> | 
|---|
 | 7754 | #ifndef bool | 
|---|
 | 7755 | # error bool is not defined | 
|---|
 | 7756 | #endif | 
|---|
 | 7757 | #ifndef false | 
|---|
 | 7758 | # error false is not defined | 
|---|
 | 7759 | #endif | 
|---|
 | 7760 | #if false | 
|---|
 | 7761 | # error false is not 0 | 
|---|
 | 7762 | #endif | 
|---|
 | 7763 | #ifndef true | 
|---|
 | 7764 | # error true is not defined | 
|---|
 | 7765 | #endif | 
|---|
 | 7766 | #if true != 1 | 
|---|
 | 7767 | # error true is not 1 | 
|---|
 | 7768 | #endif | 
|---|
 | 7769 | #ifndef __bool_true_false_are_defined | 
|---|
 | 7770 | # error __bool_true_false_are_defined is not defined | 
|---|
 | 7771 | #endif | 
|---|
 | 7772 |  | 
|---|
 | 7773 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
 | 7774 |  | 
|---|
 | 7775 |         char a[true == 1 ? 1 : -1]; | 
|---|
 | 7776 |         char b[false == 0 ? 1 : -1]; | 
|---|
 | 7777 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
 | 7778 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
 | 7779 |         bool e = &s; | 
|---|
 | 7780 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
 | 7781 |         char g[true]; | 
|---|
 | 7782 |         char h[sizeof (_Bool)]; | 
|---|
 | 7783 |         char i[sizeof s.t]; | 
|---|
 | 7784 |  | 
|---|
 | 7785 | int | 
|---|
 | 7786 | main () | 
|---|
 | 7787 | { | 
|---|
 | 7788 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
 | 7789 |   ; | 
|---|
 | 7790 |   return 0; | 
|---|
 | 7791 | } | 
|---|
 | 7792 | _ACEOF | 
|---|
 | 7793 | rm -f conftest.$ac_objext | 
|---|
 | 7794 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7795 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7796 |   ac_status=$? | 
|---|
 | 7797 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7798 |   rm -f conftest.er1 | 
|---|
 | 7799 |   cat conftest.err >&5 | 
|---|
 | 7800 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7801 |   (exit $ac_status); } && | 
|---|
 | 7802 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7803 |                          || test ! -s conftest.err' | 
|---|
 | 7804 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7805 |   (eval $ac_try) 2>&5 | 
|---|
 | 7806 |   ac_status=$? | 
|---|
 | 7807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7808 |   (exit $ac_status); }; } && | 
|---|
 | 7809 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7810 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7811 |   (eval $ac_try) 2>&5 | 
|---|
 | 7812 |   ac_status=$? | 
|---|
 | 7813 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7814 |   (exit $ac_status); }; }; then | 
|---|
 | 7815 |   ac_cv_header_stdbool_h=yes | 
|---|
 | 7816 | else | 
|---|
 | 7817 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7818 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7819 |  | 
|---|
 | 7820 | ac_cv_header_stdbool_h=no | 
|---|
 | 7821 | fi | 
|---|
 | 7822 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7823 | fi | 
|---|
 | 7824 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
 | 7825 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
 | 7826 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
 | 7827 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
 | 7828 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
 | 7829 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7830 | else | 
|---|
 | 7831 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7832 | /* confdefs.h.  */ | 
|---|
 | 7833 | _ACEOF | 
|---|
 | 7834 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7835 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7836 | /* end confdefs.h.  */ | 
|---|
 | 7837 | $ac_includes_default | 
|---|
 | 7838 | int | 
|---|
 | 7839 | main () | 
|---|
 | 7840 | { | 
|---|
 | 7841 | if ((_Bool *) 0) | 
|---|
 | 7842 |   return 0; | 
|---|
 | 7843 | if (sizeof (_Bool)) | 
|---|
 | 7844 |   return 0; | 
|---|
 | 7845 |   ; | 
|---|
 | 7846 |   return 0; | 
|---|
 | 7847 | } | 
|---|
 | 7848 | _ACEOF | 
|---|
 | 7849 | rm -f conftest.$ac_objext | 
|---|
 | 7850 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7851 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7852 |   ac_status=$? | 
|---|
 | 7853 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7854 |   rm -f conftest.er1 | 
|---|
 | 7855 |   cat conftest.err >&5 | 
|---|
 | 7856 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7857 |   (exit $ac_status); } && | 
|---|
 | 7858 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7859 |                          || test ! -s conftest.err' | 
|---|
 | 7860 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7861 |   (eval $ac_try) 2>&5 | 
|---|
 | 7862 |   ac_status=$? | 
|---|
 | 7863 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7864 |   (exit $ac_status); }; } && | 
|---|
 | 7865 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7866 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7867 |   (eval $ac_try) 2>&5 | 
|---|
 | 7868 |   ac_status=$? | 
|---|
 | 7869 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7870 |   (exit $ac_status); }; }; then | 
|---|
 | 7871 |   ac_cv_type__Bool=yes | 
|---|
 | 7872 | else | 
|---|
 | 7873 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7874 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7875 |  | 
|---|
 | 7876 | ac_cv_type__Bool=no | 
|---|
 | 7877 | fi | 
|---|
 | 7878 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7879 | fi | 
|---|
 | 7880 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
 | 7881 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
 | 7882 | if test $ac_cv_type__Bool = yes; then | 
|---|
 | 7883 |  | 
|---|
 | 7884 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 7885 | #define HAVE__BOOL 1 | 
|---|
 | 7886 | _ACEOF | 
|---|
 | 7887 |  | 
|---|
 | 7888 |  | 
|---|
 | 7889 | fi | 
|---|
 | 7890 |  | 
|---|
 | 7891 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
 | 7892 |  | 
|---|
 | 7893 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 7894 | #define HAVE_STDBOOL_H 1 | 
|---|
 | 7895 | _ACEOF | 
|---|
 | 7896 |  | 
|---|
 | 7897 | fi | 
|---|
 | 7898 |  | 
|---|
 | 7899 |  | 
|---|
 | 7900 | # Checks for library functions. | 
|---|
 | 7901 |  | 
|---|
 | 7902 | for ac_header in stdlib.h | 
|---|
 | 7903 | do | 
|---|
 | 7904 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 7905 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7906 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 7907 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 7908 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 7909 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 7910 | fi | 
|---|
 | 7911 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 7912 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 7913 | else | 
|---|
 | 7914 |   # Is the header compilable? | 
|---|
 | 7915 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 7916 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 7917 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7918 | /* confdefs.h.  */ | 
|---|
 | 7919 | _ACEOF | 
|---|
 | 7920 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7921 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7922 | /* end confdefs.h.  */ | 
|---|
 | 7923 | $ac_includes_default | 
|---|
 | 7924 | #include <$ac_header> | 
|---|
 | 7925 | _ACEOF | 
|---|
 | 7926 | rm -f conftest.$ac_objext | 
|---|
 | 7927 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 7928 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 7929 |   ac_status=$? | 
|---|
 | 7930 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7931 |   rm -f conftest.er1 | 
|---|
 | 7932 |   cat conftest.err >&5 | 
|---|
 | 7933 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7934 |   (exit $ac_status); } && | 
|---|
 | 7935 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 7936 |                          || test ! -s conftest.err' | 
|---|
 | 7937 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7938 |   (eval $ac_try) 2>&5 | 
|---|
 | 7939 |   ac_status=$? | 
|---|
 | 7940 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7941 |   (exit $ac_status); }; } && | 
|---|
 | 7942 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 7943 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 7944 |   (eval $ac_try) 2>&5 | 
|---|
 | 7945 |   ac_status=$? | 
|---|
 | 7946 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7947 |   (exit $ac_status); }; }; then | 
|---|
 | 7948 |   ac_header_compiler=yes | 
|---|
 | 7949 | else | 
|---|
 | 7950 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7951 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7952 |  | 
|---|
 | 7953 | ac_header_compiler=no | 
|---|
 | 7954 | fi | 
|---|
 | 7955 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 7956 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 7957 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 7958 |  | 
|---|
 | 7959 | # Is the header present? | 
|---|
 | 7960 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 7961 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 7962 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 7963 | /* confdefs.h.  */ | 
|---|
 | 7964 | _ACEOF | 
|---|
 | 7965 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 7966 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 7967 | /* end confdefs.h.  */ | 
|---|
 | 7968 | #include <$ac_header> | 
|---|
 | 7969 | _ACEOF | 
|---|
 | 7970 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 7971 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 7972 |   ac_status=$? | 
|---|
 | 7973 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 7974 |   rm -f conftest.er1 | 
|---|
 | 7975 |   cat conftest.err >&5 | 
|---|
 | 7976 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 7977 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 7978 |   if test -s conftest.err; then | 
|---|
 | 7979 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 7980 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 7981 |   else | 
|---|
 | 7982 |     ac_cpp_err= | 
|---|
 | 7983 |   fi | 
|---|
 | 7984 | else | 
|---|
 | 7985 |   ac_cpp_err=yes | 
|---|
 | 7986 | fi | 
|---|
 | 7987 | if test -z "$ac_cpp_err"; then | 
|---|
 | 7988 |   ac_header_preproc=yes | 
|---|
 | 7989 | else | 
|---|
 | 7990 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 7991 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 7992 |  | 
|---|
 | 7993 |   ac_header_preproc=no | 
|---|
 | 7994 | fi | 
|---|
 | 7995 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 7996 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 7997 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 7998 |  | 
|---|
 | 7999 | # So?  What about this header? | 
|---|
 | 8000 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 8001 |   yes:no: ) | 
|---|
 | 8002 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 8003 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 8004 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 8005 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 8006 |     ac_header_preproc=yes | 
|---|
 | 8007 |     ;; | 
|---|
 | 8008 |   no:yes:* ) | 
|---|
 | 8009 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 8010 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 8011 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 8012 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 8013 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 8014 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 8015 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 8016 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 8017 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 8018 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 8019 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 8020 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 8021 |     ( | 
|---|
 | 8022 |       cat <<\_ASBOX | 
|---|
| [3240] | 8023 | ## ---------------------------------------------- ## | 
|---|
 | 8024 | ## Report this to orxonox-dev at mail.datacore.ch ## | 
|---|
 | 8025 | ## ---------------------------------------------- ## | 
|---|
| [1956] | 8026 | _ASBOX | 
|---|
 | 8027 |     ) | | 
|---|
 | 8028 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 8029 |     ;; | 
|---|
 | 8030 | esac | 
|---|
 | 8031 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 8032 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 8033 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 8034 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 8035 | else | 
|---|
 | 8036 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 8037 | fi | 
|---|
 | 8038 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 8039 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 8040 |  | 
|---|
 | 8041 | fi | 
|---|
 | 8042 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 8043 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 8044 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 8045 | _ACEOF | 
|---|
 | 8046 |  | 
|---|
 | 8047 | fi | 
|---|
 | 8048 |  | 
|---|
 | 8049 | done | 
|---|
 | 8050 |  | 
|---|
 | 8051 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
 | 8052 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
 | 8053 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
 | 8054 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 8055 | else | 
|---|
 | 8056 |   if test "$cross_compiling" = yes; then | 
|---|
 | 8057 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 8058 | else | 
|---|
 | 8059 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 8060 | /* confdefs.h.  */ | 
|---|
 | 8061 | _ACEOF | 
|---|
 | 8062 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 8063 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 8064 | /* end confdefs.h.  */ | 
|---|
 | 8065 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
 | 8066 | # include <stdlib.h> | 
|---|
 | 8067 | #else | 
|---|
 | 8068 | char *malloc (); | 
|---|
 | 8069 | #endif | 
|---|
 | 8070 |  | 
|---|
 | 8071 | int | 
|---|
 | 8072 | main () | 
|---|
 | 8073 | { | 
|---|
 | 8074 | exit (malloc (0) ? 0 : 1); | 
|---|
 | 8075 |   ; | 
|---|
 | 8076 |   return 0; | 
|---|
 | 8077 | } | 
|---|
 | 8078 | _ACEOF | 
|---|
 | 8079 | rm -f conftest$ac_exeext | 
|---|
 | 8080 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 8081 |   (eval $ac_link) 2>&5 | 
|---|
 | 8082 |   ac_status=$? | 
|---|
 | 8083 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8084 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 8085 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 8086 |   (eval $ac_try) 2>&5 | 
|---|
 | 8087 |   ac_status=$? | 
|---|
 | 8088 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8089 |   (exit $ac_status); }; }; then | 
|---|
 | 8090 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
 | 8091 | else | 
|---|
 | 8092 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 8093 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 8094 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 8095 |  | 
|---|
 | 8096 | ( exit $ac_status ) | 
|---|
 | 8097 | ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 8098 | fi | 
|---|
 | 8099 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 8100 | fi | 
|---|
 | 8101 | fi | 
|---|
 | 8102 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
 | 8103 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
 | 8104 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
 | 8105 |  | 
|---|
 | 8106 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 8107 | #define HAVE_MALLOC 1 | 
|---|
 | 8108 | _ACEOF | 
|---|
 | 8109 |  | 
|---|
 | 8110 | else | 
|---|
 | 8111 |   cat >>confdefs.h <<\_ACEOF | 
|---|
 | 8112 | #define HAVE_MALLOC 0 | 
|---|
 | 8113 | _ACEOF | 
|---|
 | 8114 |  | 
|---|
 | 8115 |    case $LIBOBJS in | 
|---|
 | 8116 |     "malloc.$ac_objext"   | \ | 
|---|
 | 8117 |   *" malloc.$ac_objext"   | \ | 
|---|
 | 8118 |     "malloc.$ac_objext "* | \ | 
|---|
 | 8119 |   *" malloc.$ac_objext "* ) ;; | 
|---|
 | 8120 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
 | 8121 | esac | 
|---|
 | 8122 |  | 
|---|
 | 8123 |  | 
|---|
 | 8124 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 8125 | #define malloc rpl_malloc | 
|---|
 | 8126 | _ACEOF | 
|---|
 | 8127 |  | 
|---|
 | 8128 | fi | 
|---|
 | 8129 |  | 
|---|
 | 8130 |  | 
|---|
 | 8131 |  | 
|---|
 | 8132 |  | 
|---|
 | 8133 |  | 
|---|
 | 8134 | for ac_func in bzero sqrt | 
|---|
 | 8135 | do | 
|---|
 | 8136 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
 | 8137 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
 | 8138 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
 | 8139 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
 | 8140 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 8141 | else | 
|---|
 | 8142 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 8143 | /* confdefs.h.  */ | 
|---|
 | 8144 | _ACEOF | 
|---|
 | 8145 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 8146 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 8147 | /* end confdefs.h.  */ | 
|---|
 | 8148 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
 | 8149 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
 | 8150 | #define $ac_func innocuous_$ac_func | 
|---|
 | 8151 |  | 
|---|
 | 8152 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
 | 8153 |     which can conflict with char $ac_func (); below. | 
|---|
 | 8154 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 8155 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
 | 8156 |  | 
|---|
 | 8157 | #ifdef __STDC__ | 
|---|
 | 8158 | # include <limits.h> | 
|---|
 | 8159 | #else | 
|---|
 | 8160 | # include <assert.h> | 
|---|
 | 8161 | #endif | 
|---|
 | 8162 |  | 
|---|
 | 8163 | #undef $ac_func | 
|---|
 | 8164 |  | 
|---|
 | 8165 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 8166 | #ifdef __cplusplus | 
|---|
 | 8167 | extern "C" | 
|---|
 | 8168 | { | 
|---|
 | 8169 | #endif | 
|---|
 | 8170 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 8171 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 8172 | char $ac_func (); | 
|---|
 | 8173 | /* The GNU C library defines this for functions which it implements | 
|---|
 | 8174 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
 | 8175 |     something starting with __ and the normal name is an alias.  */ | 
|---|
 | 8176 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
 | 8177 | choke me | 
|---|
 | 8178 | #else | 
|---|
 | 8179 | char (*f) () = $ac_func; | 
|---|
 | 8180 | #endif | 
|---|
 | 8181 | #ifdef __cplusplus | 
|---|
 | 8182 | } | 
|---|
 | 8183 | #endif | 
|---|
 | 8184 |  | 
|---|
 | 8185 | int | 
|---|
 | 8186 | main () | 
|---|
 | 8187 | { | 
|---|
 | 8188 | return f != $ac_func; | 
|---|
 | 8189 |   ; | 
|---|
 | 8190 |   return 0; | 
|---|
 | 8191 | } | 
|---|
 | 8192 | _ACEOF | 
|---|
 | 8193 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 8194 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 8195 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 8196 |   ac_status=$? | 
|---|
 | 8197 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 8198 |   rm -f conftest.er1 | 
|---|
 | 8199 |   cat conftest.err >&5 | 
|---|
 | 8200 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8201 |   (exit $ac_status); } && | 
|---|
 | 8202 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 8203 |                          || test ! -s conftest.err' | 
|---|
 | 8204 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 8205 |   (eval $ac_try) 2>&5 | 
|---|
 | 8206 |   ac_status=$? | 
|---|
 | 8207 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8208 |   (exit $ac_status); }; } && | 
|---|
 | 8209 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 8210 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 8211 |   (eval $ac_try) 2>&5 | 
|---|
 | 8212 |   ac_status=$? | 
|---|
 | 8213 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 8214 |   (exit $ac_status); }; }; then | 
|---|
 | 8215 |   eval "$as_ac_var=yes" | 
|---|
 | 8216 | else | 
|---|
 | 8217 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 8218 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 8219 |  | 
|---|
 | 8220 | eval "$as_ac_var=no" | 
|---|
 | 8221 | fi | 
|---|
 | 8222 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 8223 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 8224 | fi | 
|---|
 | 8225 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
 | 8226 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
 | 8227 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
 | 8228 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 8229 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
 | 8230 | _ACEOF | 
|---|
 | 8231 |  | 
|---|
 | 8232 | fi | 
|---|
 | 8233 | done | 
|---|
 | 8234 |  | 
|---|
 | 8235 |  | 
|---|
| [3424] | 8236 | ###################### | 
|---|
 | 8237 | ## OUTPUT CONFIGURE ## | 
|---|
 | 8238 | ###################### | 
|---|
| [3549] | 8239 |                                                                                                     ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/graphics/Makefile src/lib/graphics/importer/Makefile src/lib/gui/Makefile src/lib/gui/console/Makefile src/lib/gui/gui/Makefile src/subprojects/Makefile src/subprojects/testmain/Makefile" | 
|---|
| [1956] | 8240 |  | 
|---|
| [3377] | 8241 |  | 
|---|
| [1956] | 8242 | cat >confcache <<\_ACEOF | 
|---|
 | 8243 | # This file is a shell script that caches the results of configure | 
|---|
 | 8244 | # tests run on this system so they can be shared between configure | 
|---|
 | 8245 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
 | 8246 | # It is not useful on other systems.  If it contains results you don't | 
|---|
 | 8247 | # want to keep, you may remove or edit it. | 
|---|
 | 8248 | # | 
|---|
 | 8249 | # config.status only pays attention to the cache file if you give it | 
|---|
 | 8250 | # the --recheck option to rerun configure. | 
|---|
 | 8251 | # | 
|---|
 | 8252 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
 | 8253 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
 | 8254 | # following values. | 
|---|
 | 8255 |  | 
|---|
 | 8256 | _ACEOF | 
|---|
 | 8257 |  | 
|---|
 | 8258 | # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 8259 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
 | 8260 | # So, don't put newlines in cache variables' values. | 
|---|
 | 8261 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
 | 8262 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
 | 8263 | { | 
|---|
 | 8264 |   (set) 2>&1 | | 
|---|
 | 8265 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
 | 8266 |     *ac_space=\ *) | 
|---|
 | 8267 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
 | 8268 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
 | 8269 |       sed -n \ | 
|---|
 | 8270 |         "s/'/'\\\\''/g; | 
|---|
 | 8271 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
 | 8272 |       ;; | 
|---|
 | 8273 |     *) | 
|---|
 | 8274 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
 | 8275 |       sed -n \ | 
|---|
 | 8276 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 8277 |       ;; | 
|---|
 | 8278 |     esac; | 
|---|
 | 8279 | } | | 
|---|
 | 8280 |   sed ' | 
|---|
 | 8281 |      t clear | 
|---|
 | 8282 |      : clear | 
|---|
 | 8283 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
 | 8284 |      t end | 
|---|
 | 8285 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
 | 8286 |      : end' >>confcache | 
|---|
 | 8287 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
 | 8288 |   if test -w $cache_file; then | 
|---|
 | 8289 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
 | 8290 |     cat confcache >$cache_file | 
|---|
 | 8291 |   else | 
|---|
 | 8292 |     echo "not updating unwritable cache $cache_file" | 
|---|
 | 8293 |   fi | 
|---|
 | 8294 | fi | 
|---|
 | 8295 | rm -f confcache | 
|---|
 | 8296 |  | 
|---|
 | 8297 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
 | 8298 | # Let make expand exec_prefix. | 
|---|
 | 8299 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
 | 8300 |  | 
|---|
 | 8301 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
 | 8302 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
 | 8303 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
 | 8304 | # (actually we leave an empty line to preserve line numbers). | 
|---|
 | 8305 | if test "x$srcdir" = x.; then | 
|---|
 | 8306 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
 | 8307 | s/:*\$(srcdir):*/:/; | 
|---|
 | 8308 | s/:*\${srcdir}:*/:/; | 
|---|
 | 8309 | s/:*@srcdir@:*/:/; | 
|---|
 | 8310 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
 | 8311 | s/:*$//; | 
|---|
 | 8312 | s/^[^=]*=[       ]*$//; | 
|---|
 | 8313 | }' | 
|---|
 | 8314 | fi | 
|---|
 | 8315 |  | 
|---|
 | 8316 | DEFS=-DHAVE_CONFIG_H | 
|---|
 | 8317 |  | 
|---|
 | 8318 | ac_libobjs= | 
|---|
 | 8319 | ac_ltlibobjs= | 
|---|
 | 8320 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
 | 8321 |   # 1. Remove the extension, and $U if already installed. | 
|---|
 | 8322 |   ac_i=`echo "$ac_i" | | 
|---|
 | 8323 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
 | 8324 |   # 2. Add them. | 
|---|
 | 8325 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
 | 8326 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
 | 8327 | done | 
|---|
 | 8328 | LIBOBJS=$ac_libobjs | 
|---|
 | 8329 |  | 
|---|
 | 8330 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
 | 8331 |  | 
|---|
 | 8332 |  | 
|---|
 | 8333 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
 | 8334 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 8335 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8336 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 8337 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8338 |    { (exit 1); exit 1; }; } | 
|---|
 | 8339 | fi | 
|---|
 | 8340 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
 | 8341 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 8342 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8343 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 8344 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8345 |    { (exit 1); exit 1; }; } | 
|---|
 | 8346 | fi | 
|---|
 | 8347 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
 | 8348 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 8349 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8350 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 8351 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8352 |    { (exit 1); exit 1; }; } | 
|---|
 | 8353 | fi | 
|---|
| [3377] | 8354 | if test -z "${SUB_PROJECTS_TRUE}" && test -z "${SUB_PROJECTS_FALSE}"; then | 
|---|
 | 8355 |   { { echo "$as_me:$LINENO: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
 | 8356 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8357 | echo "$as_me: error: conditional \"SUB_PROJECTS\" was never defined. | 
|---|
 | 8358 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8359 |    { (exit 1); exit 1; }; } | 
|---|
 | 8360 | fi | 
|---|
| [3558] | 8361 | if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then | 
|---|
 | 8362 |   { { echo "$as_me:$LINENO: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
 | 8363 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8364 | echo "$as_me: error: conditional \"DOCUMENTATION\" was never defined. | 
|---|
 | 8365 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8366 |    { (exit 1); exit 1; }; } | 
|---|
 | 8367 | fi | 
|---|
| [3219] | 8368 | if test -z "${DOXYGEN_TRUE}" && test -z "${DOXYGEN_FALSE}"; then | 
|---|
 | 8369 |   { { echo "$as_me:$LINENO: error: conditional \"DOXYGEN\" was never defined. | 
|---|
 | 8370 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8371 | echo "$as_me: error: conditional \"DOXYGEN\" was never defined. | 
|---|
 | 8372 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8373 |    { (exit 1); exit 1; }; } | 
|---|
 | 8374 | fi | 
|---|
| [2980] | 8375 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
 | 8376 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 8377 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8378 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 8379 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8380 |    { (exit 1); exit 1; }; } | 
|---|
 | 8381 | fi | 
|---|
| [3423] | 8382 | if test -z "${HAVE_GTHREAD_TRUE}" && test -z "${HAVE_GTHREAD_FALSE}"; then | 
|---|
 | 8383 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
 | 8384 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8385 | echo "$as_me: error: conditional \"HAVE_GTHREAD\" was never defined. | 
|---|
 | 8386 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8387 |    { (exit 1); exit 1; }; } | 
|---|
 | 8388 | fi | 
|---|
 | 8389 | if test -z "${HAVE_CURL_TRUE}" && test -z "${HAVE_CURL_FALSE}"; then | 
|---|
 | 8390 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
 | 8391 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 8392 | echo "$as_me: error: conditional \"HAVE_CURL\" was never defined. | 
|---|
 | 8393 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 8394 |    { (exit 1); exit 1; }; } | 
|---|
 | 8395 | fi | 
|---|
| [1956] | 8396 |  | 
|---|
 | 8397 | : ${CONFIG_STATUS=./config.status} | 
|---|
 | 8398 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 8399 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
 | 8400 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
 | 8401 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
 | 8402 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8403 | #! $SHELL | 
|---|
 | 8404 | # Generated by $as_me. | 
|---|
 | 8405 | # Run this file to recreate the current configuration. | 
|---|
 | 8406 | # Compiler output produced by configure, useful for debugging | 
|---|
 | 8407 | # configure, is in config.log if it exists. | 
|---|
 | 8408 |  | 
|---|
 | 8409 | debug=false | 
|---|
 | 8410 | ac_cs_recheck=false | 
|---|
 | 8411 | ac_cs_silent=false | 
|---|
 | 8412 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
 | 8413 | _ACEOF | 
|---|
 | 8414 |  | 
|---|
 | 8415 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8416 | ## --------------------- ## | 
|---|
 | 8417 | ## M4sh Initialization.  ## | 
|---|
 | 8418 | ## --------------------- ## | 
|---|
 | 8419 |  | 
|---|
 | 8420 | # Be Bourne compatible | 
|---|
 | 8421 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
 | 8422 |   emulate sh | 
|---|
 | 8423 |   NULLCMD=: | 
|---|
 | 8424 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
 | 8425 |   # is contrary to our usage.  Disable this feature. | 
|---|
 | 8426 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
 | 8427 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
 | 8428 |   set -o posix | 
|---|
 | 8429 | fi | 
|---|
 | 8430 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
 | 8431 |  | 
|---|
 | 8432 | # Support unset when possible. | 
|---|
 | 8433 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
 | 8434 |   as_unset=unset | 
|---|
 | 8435 | else | 
|---|
 | 8436 |   as_unset=false | 
|---|
 | 8437 | fi | 
|---|
 | 8438 |  | 
|---|
 | 8439 |  | 
|---|
 | 8440 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
 | 8441 | $as_unset ENV MAIL MAILPATH | 
|---|
 | 8442 | PS1='$ ' | 
|---|
 | 8443 | PS2='> ' | 
|---|
 | 8444 | PS4='+ ' | 
|---|
 | 8445 |  | 
|---|
 | 8446 | # NLS nuisances. | 
|---|
 | 8447 | for as_var in \ | 
|---|
 | 8448 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
 | 8449 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
 | 8450 |   LC_TELEPHONE LC_TIME | 
|---|
 | 8451 | do | 
|---|
 | 8452 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
 | 8453 |     eval $as_var=C; export $as_var | 
|---|
 | 8454 |   else | 
|---|
 | 8455 |     $as_unset $as_var | 
|---|
 | 8456 |   fi | 
|---|
 | 8457 | done | 
|---|
 | 8458 |  | 
|---|
 | 8459 | # Required to use basename. | 
|---|
 | 8460 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 8461 |   as_expr=expr | 
|---|
 | 8462 | else | 
|---|
 | 8463 |   as_expr=false | 
|---|
 | 8464 | fi | 
|---|
 | 8465 |  | 
|---|
 | 8466 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
 | 8467 |   as_basename=basename | 
|---|
 | 8468 | else | 
|---|
 | 8469 |   as_basename=false | 
|---|
 | 8470 | fi | 
|---|
 | 8471 |  | 
|---|
 | 8472 |  | 
|---|
 | 8473 | # Name of the executable. | 
|---|
 | 8474 | as_me=`$as_basename "$0" || | 
|---|
 | 8475 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
 | 8476 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
 | 8477 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
 | 8478 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8479 | echo X/"$0" | | 
|---|
 | 8480 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
 | 8481 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8482 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8483 |           s/.*/./; q'` | 
|---|
 | 8484 |  | 
|---|
 | 8485 |  | 
|---|
 | 8486 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
 | 8487 | # Avoid depending upon Character Ranges. | 
|---|
 | 8488 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
 | 8489 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
 | 8490 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
 | 8491 | as_cr_digits='0123456789' | 
|---|
 | 8492 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
 | 8493 |  | 
|---|
 | 8494 | # The user is always right. | 
|---|
 | 8495 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
 | 8496 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
 | 8497 |   echo  "exit 0"   >>conf$$.sh | 
|---|
 | 8498 |   chmod +x conf$$.sh | 
|---|
 | 8499 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
 | 8500 |     PATH_SEPARATOR=';' | 
|---|
 | 8501 |   else | 
|---|
 | 8502 |     PATH_SEPARATOR=: | 
|---|
 | 8503 |   fi | 
|---|
 | 8504 |   rm -f conf$$.sh | 
|---|
 | 8505 | fi | 
|---|
 | 8506 |  | 
|---|
 | 8507 |  | 
|---|
 | 8508 |   as_lineno_1=$LINENO | 
|---|
 | 8509 |   as_lineno_2=$LINENO | 
|---|
 | 8510 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 8511 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 8512 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
 | 8513 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
 | 8514 |   # relative or not. | 
|---|
 | 8515 |   case $0 in | 
|---|
 | 8516 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
 | 8517 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 8518 | for as_dir in $PATH | 
|---|
 | 8519 | do | 
|---|
 | 8520 |   IFS=$as_save_IFS | 
|---|
 | 8521 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 8522 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
 | 8523 | done | 
|---|
 | 8524 |  | 
|---|
 | 8525 |        ;; | 
|---|
 | 8526 |   esac | 
|---|
 | 8527 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
 | 8528 |   # in which case we are not to be found in the path. | 
|---|
 | 8529 |   if test "x$as_myself" = x; then | 
|---|
 | 8530 |     as_myself=$0 | 
|---|
 | 8531 |   fi | 
|---|
 | 8532 |   if test ! -f "$as_myself"; then | 
|---|
 | 8533 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
 | 8534 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
 | 8535 |    { (exit 1); exit 1; }; } | 
|---|
 | 8536 |   fi | 
|---|
 | 8537 |   case $CONFIG_SHELL in | 
|---|
 | 8538 |   '') | 
|---|
 | 8539 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 8540 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
 | 8541 | do | 
|---|
 | 8542 |   IFS=$as_save_IFS | 
|---|
 | 8543 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 8544 |   for as_base in sh bash ksh sh5; do | 
|---|
 | 8545 |          case $as_dir in | 
|---|
 | 8546 |          /*) | 
|---|
 | 8547 |            if ("$as_dir/$as_base" -c ' | 
|---|
 | 8548 |   as_lineno_1=$LINENO | 
|---|
 | 8549 |   as_lineno_2=$LINENO | 
|---|
 | 8550 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 8551 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 8552 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
 | 8553 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
 | 8554 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
 | 8555 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
 | 8556 |              export CONFIG_SHELL | 
|---|
 | 8557 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
 | 8558 |            fi;; | 
|---|
 | 8559 |          esac | 
|---|
 | 8560 |        done | 
|---|
 | 8561 | done | 
|---|
 | 8562 | ;; | 
|---|
 | 8563 |   esac | 
|---|
 | 8564 |  | 
|---|
 | 8565 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
 | 8566 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
 | 8567 |   # line-number line before each line; the second 'sed' does the real | 
|---|
 | 8568 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
 | 8569 |   # with the numbered line, and appends trailing '-' during | 
|---|
 | 8570 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
 | 8571 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
 | 8572 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
 | 8573 |   sed '=' <$as_myself | | 
|---|
 | 8574 |     sed ' | 
|---|
 | 8575 |       N | 
|---|
 | 8576 |       s,$,-, | 
|---|
 | 8577 |       : loop | 
|---|
 | 8578 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
 | 8579 |       t loop | 
|---|
 | 8580 |       s,-$,, | 
|---|
 | 8581 |       s,^['$as_cr_digits']*\n,, | 
|---|
 | 8582 |     ' >$as_me.lineno && | 
|---|
 | 8583 |   chmod +x $as_me.lineno || | 
|---|
 | 8584 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
 | 8585 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
 | 8586 |    { (exit 1); exit 1; }; } | 
|---|
 | 8587 |  | 
|---|
 | 8588 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
 | 8589 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
 | 8590 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
 | 8591 |   . ./$as_me.lineno | 
|---|
 | 8592 |   # Exit status is that of the last command. | 
|---|
 | 8593 |   exit | 
|---|
 | 8594 | } | 
|---|
 | 8595 |  | 
|---|
 | 8596 |  | 
|---|
 | 8597 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
 | 8598 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
 | 8599 | ' ECHO_T='      ' ;; | 
|---|
 | 8600 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
 | 8601 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
 | 8602 | esac | 
|---|
 | 8603 |  | 
|---|
 | 8604 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 8605 |   as_expr=expr | 
|---|
 | 8606 | else | 
|---|
 | 8607 |   as_expr=false | 
|---|
 | 8608 | fi | 
|---|
 | 8609 |  | 
|---|
 | 8610 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 8611 | echo >conf$$.file | 
|---|
 | 8612 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 8613 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
 | 8614 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
 | 8615 |   if test -f conf$$.exe; then | 
|---|
 | 8616 |     # Don't use ln at all; we don't have any links | 
|---|
 | 8617 |     as_ln_s='cp -p' | 
|---|
 | 8618 |   else | 
|---|
 | 8619 |     as_ln_s='ln -s' | 
|---|
 | 8620 |   fi | 
|---|
 | 8621 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 8622 |   as_ln_s=ln | 
|---|
 | 8623 | else | 
|---|
 | 8624 |   as_ln_s='cp -p' | 
|---|
 | 8625 | fi | 
|---|
 | 8626 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 8627 |  | 
|---|
 | 8628 | if mkdir -p . 2>/dev/null; then | 
|---|
 | 8629 |   as_mkdir_p=: | 
|---|
 | 8630 | else | 
|---|
 | 8631 |   test -d ./-p && rmdir ./-p | 
|---|
 | 8632 |   as_mkdir_p=false | 
|---|
 | 8633 | fi | 
|---|
 | 8634 |  | 
|---|
 | 8635 | as_executable_p="test -f" | 
|---|
 | 8636 |  | 
|---|
 | 8637 | # Sed expression to map a string onto a valid CPP name. | 
|---|
 | 8638 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 8639 |  | 
|---|
 | 8640 | # Sed expression to map a string onto a valid variable name. | 
|---|
 | 8641 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 8642 |  | 
|---|
 | 8643 |  | 
|---|
 | 8644 | # IFS | 
|---|
 | 8645 | # We need space, tab and new line, in precisely that order. | 
|---|
 | 8646 | as_nl=' | 
|---|
 | 8647 | ' | 
|---|
 | 8648 | IFS="   $as_nl" | 
|---|
 | 8649 |  | 
|---|
 | 8650 | # CDPATH. | 
|---|
 | 8651 | $as_unset CDPATH | 
|---|
 | 8652 |  | 
|---|
 | 8653 | exec 6>&1 | 
|---|
 | 8654 |  | 
|---|
 | 8655 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
 | 8656 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
 | 8657 | # values after options handling.  Logging --version etc. is OK. | 
|---|
 | 8658 | exec 5>>config.log | 
|---|
 | 8659 | { | 
|---|
 | 8660 |   echo | 
|---|
 | 8661 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
 | 8662 | ## Running $as_me. ## | 
|---|
 | 8663 | _ASBOX | 
|---|
 | 8664 | } >&5 | 
|---|
 | 8665 | cat >&5 <<_CSEOF | 
|---|
 | 8666 |  | 
|---|
| [3569] | 8667 | This file was extended by orxonox $as_me 0.2.2-pre-alpha, which was | 
|---|
| [1956] | 8668 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 8669 |  | 
|---|
 | 8670 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
 | 8671 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
 | 8672 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
 | 8673 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
 | 8674 |   $ $0 $@ | 
|---|
 | 8675 |  | 
|---|
 | 8676 | _CSEOF | 
|---|
 | 8677 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
 | 8678 | echo >&5 | 
|---|
 | 8679 | _ACEOF | 
|---|
 | 8680 |  | 
|---|
 | 8681 | # Files that config.status was made for. | 
|---|
 | 8682 | if test -n "$ac_config_files"; then | 
|---|
 | 8683 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
 | 8684 | fi | 
|---|
 | 8685 |  | 
|---|
 | 8686 | if test -n "$ac_config_headers"; then | 
|---|
 | 8687 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
 | 8688 | fi | 
|---|
 | 8689 |  | 
|---|
 | 8690 | if test -n "$ac_config_links"; then | 
|---|
 | 8691 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
 | 8692 | fi | 
|---|
 | 8693 |  | 
|---|
 | 8694 | if test -n "$ac_config_commands"; then | 
|---|
 | 8695 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
 | 8696 | fi | 
|---|
 | 8697 |  | 
|---|
 | 8698 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8699 |  | 
|---|
 | 8700 | ac_cs_usage="\ | 
|---|
 | 8701 | \`$as_me' instantiates files from templates according to the | 
|---|
 | 8702 | current configuration. | 
|---|
 | 8703 |  | 
|---|
 | 8704 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
 | 8705 |  | 
|---|
 | 8706 |   -h, --help       print this help, then exit | 
|---|
 | 8707 |   -V, --version    print version number, then exit | 
|---|
 | 8708 |   -q, --quiet      do not print progress messages | 
|---|
 | 8709 |   -d, --debug      don't remove temporary files | 
|---|
 | 8710 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
 | 8711 |   --file=FILE[:TEMPLATE] | 
|---|
 | 8712 |                    instantiate the configuration file FILE | 
|---|
 | 8713 |   --header=FILE[:TEMPLATE] | 
|---|
 | 8714 |                    instantiate the configuration header FILE | 
|---|
 | 8715 |  | 
|---|
 | 8716 | Configuration files: | 
|---|
 | 8717 | $config_files | 
|---|
 | 8718 |  | 
|---|
 | 8719 | Configuration headers: | 
|---|
 | 8720 | $config_headers | 
|---|
 | 8721 |  | 
|---|
 | 8722 | Configuration commands: | 
|---|
 | 8723 | $config_commands | 
|---|
 | 8724 |  | 
|---|
 | 8725 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
 | 8726 | _ACEOF | 
|---|
 | 8727 |  | 
|---|
 | 8728 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8729 | ac_cs_version="\\ | 
|---|
| [3569] | 8730 | orxonox config.status 0.2.2-pre-alpha | 
|---|
| [1956] | 8731 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
 | 8732 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
 | 8733 |  | 
|---|
 | 8734 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 8735 | This config.status script is free software; the Free Software Foundation | 
|---|
 | 8736 | gives unlimited permission to copy, distribute and modify it." | 
|---|
 | 8737 | srcdir=$srcdir | 
|---|
 | 8738 | INSTALL="$INSTALL" | 
|---|
 | 8739 | _ACEOF | 
|---|
 | 8740 |  | 
|---|
 | 8741 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8742 | # If no file are specified by the user, then we need to provide default | 
|---|
 | 8743 | # value.  By we need to know if files were specified by the user. | 
|---|
 | 8744 | ac_need_defaults=: | 
|---|
 | 8745 | while test $# != 0 | 
|---|
 | 8746 | do | 
|---|
 | 8747 |   case $1 in | 
|---|
 | 8748 |   --*=*) | 
|---|
 | 8749 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
 | 8750 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
 | 8751 |     ac_shift=: | 
|---|
 | 8752 |     ;; | 
|---|
 | 8753 |   -*) | 
|---|
 | 8754 |     ac_option=$1 | 
|---|
 | 8755 |     ac_optarg=$2 | 
|---|
 | 8756 |     ac_shift=shift | 
|---|
 | 8757 |     ;; | 
|---|
 | 8758 |   *) # This is not an option, so the user has probably given explicit | 
|---|
 | 8759 |      # arguments. | 
|---|
 | 8760 |      ac_option=$1 | 
|---|
 | 8761 |      ac_need_defaults=false;; | 
|---|
 | 8762 |   esac | 
|---|
 | 8763 |  | 
|---|
 | 8764 |   case $ac_option in | 
|---|
 | 8765 |   # Handling of the options. | 
|---|
 | 8766 | _ACEOF | 
|---|
 | 8767 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8768 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
 | 8769 |     ac_cs_recheck=: ;; | 
|---|
 | 8770 |   --version | --vers* | -V ) | 
|---|
 | 8771 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
 | 8772 |   --he | --h) | 
|---|
 | 8773 |     # Conflict between --help and --header | 
|---|
 | 8774 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
 | 8775 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 8776 | echo "$as_me: error: ambiguous option: $1 | 
|---|
 | 8777 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 8778 |    { (exit 1); exit 1; }; };; | 
|---|
 | 8779 |   --help | --hel | -h ) | 
|---|
 | 8780 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
 | 8781 |   --debug | --d* | -d ) | 
|---|
 | 8782 |     debug=: ;; | 
|---|
 | 8783 |   --file | --fil | --fi | --f ) | 
|---|
 | 8784 |     $ac_shift | 
|---|
 | 8785 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
 | 8786 |     ac_need_defaults=false;; | 
|---|
 | 8787 |   --header | --heade | --head | --hea ) | 
|---|
 | 8788 |     $ac_shift | 
|---|
 | 8789 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
 | 8790 |     ac_need_defaults=false;; | 
|---|
 | 8791 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 8792 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
 | 8793 |     ac_cs_silent=: ;; | 
|---|
 | 8794 |  | 
|---|
 | 8795 |   # This is an error. | 
|---|
 | 8796 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
 | 8797 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 8798 | echo "$as_me: error: unrecognized option: $1 | 
|---|
 | 8799 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 8800 |    { (exit 1); exit 1; }; } ;; | 
|---|
 | 8801 |  | 
|---|
 | 8802 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
 | 8803 |  | 
|---|
 | 8804 |   esac | 
|---|
 | 8805 |   shift | 
|---|
 | 8806 | done | 
|---|
 | 8807 |  | 
|---|
 | 8808 | ac_configure_extra_args= | 
|---|
 | 8809 |  | 
|---|
 | 8810 | if $ac_cs_silent; then | 
|---|
 | 8811 |   exec 6>/dev/null | 
|---|
 | 8812 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
 | 8813 | fi | 
|---|
 | 8814 |  | 
|---|
 | 8815 | _ACEOF | 
|---|
 | 8816 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8817 | if \$ac_cs_recheck; then | 
|---|
 | 8818 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
 | 8819 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
 | 8820 | fi | 
|---|
 | 8821 |  | 
|---|
 | 8822 | _ACEOF | 
|---|
 | 8823 |  | 
|---|
 | 8824 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8825 | # | 
|---|
 | 8826 | # INIT-COMMANDS section. | 
|---|
 | 8827 | # | 
|---|
 | 8828 |  | 
|---|
 | 8829 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
 | 8830 |  | 
|---|
 | 8831 | _ACEOF | 
|---|
 | 8832 |  | 
|---|
 | 8833 |  | 
|---|
 | 8834 |  | 
|---|
 | 8835 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8836 | for ac_config_target in $ac_config_targets | 
|---|
 | 8837 | do | 
|---|
 | 8838 |   case "$ac_config_target" in | 
|---|
 | 8839 |   # Handling of arguments. | 
|---|
 | 8840 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| [3377] | 8841 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| [3493] | 8842 |   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | 
|---|
 | 8843 |   "src/lib/graphics/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/Makefile" ;; | 
|---|
| [3489] | 8844 |   "src/lib/graphics/importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/graphics/importer/Makefile" ;; | 
|---|
| [3493] | 8845 |   "src/lib/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/Makefile" ;; | 
|---|
| [3489] | 8846 |   "src/lib/gui/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/console/Makefile" ;; | 
|---|
| [3493] | 8847 |   "src/lib/gui/gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gui/gui/Makefile" ;; | 
|---|
| [3549] | 8848 |   "src/subprojects/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/Makefile" ;; | 
|---|
 | 8849 |   "src/subprojects/testmain/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/subprojects/testmain/Makefile" ;; | 
|---|
| [1956] | 8850 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
 | 8851 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
 | 8852 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
 | 8853 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
 | 8854 |    { (exit 1); exit 1; }; };; | 
|---|
 | 8855 |   esac | 
|---|
 | 8856 | done | 
|---|
 | 8857 |  | 
|---|
 | 8858 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
 | 8859 | # then the envvar interface is used.  Set only those that are not. | 
|---|
 | 8860 | # We use the long form for the default assignment because of an extremely | 
|---|
 | 8861 | # bizarre bug on SunOS 4.1.3. | 
|---|
 | 8862 | if $ac_need_defaults; then | 
|---|
 | 8863 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
 | 8864 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
 | 8865 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
 | 8866 | fi | 
|---|
 | 8867 |  | 
|---|
 | 8868 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
 | 8869 | # simply because there is no reason to put it here, and in addition, | 
|---|
 | 8870 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
 | 8871 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
 | 8872 | $debug || | 
|---|
 | 8873 | { | 
|---|
 | 8874 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
 | 8875 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
 | 8876 | } | 
|---|
 | 8877 |  | 
|---|
 | 8878 | # Create a (secure) tmp directory for tmp files. | 
|---|
 | 8879 |  | 
|---|
 | 8880 | { | 
|---|
 | 8881 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
 | 8882 |   test -n "$tmp" && test -d "$tmp" | 
|---|
 | 8883 | }  || | 
|---|
 | 8884 | { | 
|---|
 | 8885 |   tmp=./confstat$$-$RANDOM | 
|---|
 | 8886 |   (umask 077 && mkdir $tmp) | 
|---|
 | 8887 | } || | 
|---|
 | 8888 | { | 
|---|
 | 8889 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
 | 8890 |    { (exit 1); exit 1; } | 
|---|
 | 8891 | } | 
|---|
 | 8892 |  | 
|---|
 | 8893 | _ACEOF | 
|---|
 | 8894 |  | 
|---|
 | 8895 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 8896 |  | 
|---|
 | 8897 | # | 
|---|
 | 8898 | # CONFIG_FILES section. | 
|---|
 | 8899 | # | 
|---|
 | 8900 |  | 
|---|
 | 8901 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
 | 8902 | # This happens for instance when ./config.status config.h | 
|---|
 | 8903 | if test -n "\$CONFIG_FILES"; then | 
|---|
 | 8904 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
 | 8905 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
 | 8906 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
 | 8907 | s,@SHELL@,$SHELL,;t t | 
|---|
 | 8908 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
 | 8909 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
 | 8910 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
 | 8911 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
 | 8912 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
 | 8913 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
 | 8914 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
 | 8915 | s,@prefix@,$prefix,;t t | 
|---|
 | 8916 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
 | 8917 | s,@bindir@,$bindir,;t t | 
|---|
 | 8918 | s,@sbindir@,$sbindir,;t t | 
|---|
 | 8919 | s,@libexecdir@,$libexecdir,;t t | 
|---|
 | 8920 | s,@datadir@,$datadir,;t t | 
|---|
 | 8921 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
 | 8922 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
 | 8923 | s,@localstatedir@,$localstatedir,;t t | 
|---|
 | 8924 | s,@libdir@,$libdir,;t t | 
|---|
 | 8925 | s,@includedir@,$includedir,;t t | 
|---|
 | 8926 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
 | 8927 | s,@infodir@,$infodir,;t t | 
|---|
 | 8928 | s,@mandir@,$mandir,;t t | 
|---|
 | 8929 | s,@build_alias@,$build_alias,;t t | 
|---|
 | 8930 | s,@host_alias@,$host_alias,;t t | 
|---|
 | 8931 | s,@target_alias@,$target_alias,;t t | 
|---|
 | 8932 | s,@DEFS@,$DEFS,;t t | 
|---|
 | 8933 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
 | 8934 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
 | 8935 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
 | 8936 | s,@LIBS@,$LIBS,;t t | 
|---|
| [2980] | 8937 | s,@build@,$build,;t t | 
|---|
 | 8938 | s,@build_cpu@,$build_cpu,;t t | 
|---|
 | 8939 | s,@build_vendor@,$build_vendor,;t t | 
|---|
 | 8940 | s,@build_os@,$build_os,;t t | 
|---|
 | 8941 | s,@host@,$host,;t t | 
|---|
 | 8942 | s,@host_cpu@,$host_cpu,;t t | 
|---|
 | 8943 | s,@host_vendor@,$host_vendor,;t t | 
|---|
 | 8944 | s,@host_os@,$host_os,;t t | 
|---|
 | 8945 | s,@target@,$target,;t t | 
|---|
 | 8946 | s,@target_cpu@,$target_cpu,;t t | 
|---|
 | 8947 | s,@target_vendor@,$target_vendor,;t t | 
|---|
 | 8948 | s,@target_os@,$target_os,;t t | 
|---|
| [1956] | 8949 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
 | 8950 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
 | 8951 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
 | 8952 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
 | 8953 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
 | 8954 | s,@VERSION@,$VERSION,;t t | 
|---|
 | 8955 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
 | 8956 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
 | 8957 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
 | 8958 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
 | 8959 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
 | 8960 | s,@AMTAR@,$AMTAR,;t t | 
|---|
 | 8961 | s,@install_sh@,$install_sh,;t t | 
|---|
 | 8962 | s,@STRIP@,$STRIP,;t t | 
|---|
 | 8963 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
 | 8964 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| [2706] | 8965 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| [1956] | 8966 | s,@AWK@,$AWK,;t t | 
|---|
 | 8967 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
 | 8968 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
 | 8969 | s,@CXX@,$CXX,;t t | 
|---|
 | 8970 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
 | 8971 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
 | 8972 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
 | 8973 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
 | 8974 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
 | 8975 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
 | 8976 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
 | 8977 | s,@am__include@,$am__include,;t t | 
|---|
 | 8978 | s,@am__quote@,$am__quote,;t t | 
|---|
 | 8979 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
 | 8980 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
 | 8981 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
 | 8982 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
 | 8983 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
 | 8984 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
 | 8985 | s,@CC@,$CC,;t t | 
|---|
 | 8986 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
 | 8987 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
 | 8988 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
 | 8989 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
 | 8990 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
 | 8991 | s,@CPP@,$CPP,;t t | 
|---|
 | 8992 | s,@EGREP@,$EGREP,;t t | 
|---|
| [3173] | 8993 | s,@DEBUG@,$DEBUG,;t t | 
|---|
| [3377] | 8994 | s,@SUB_PROJECTS_TRUE@,$SUB_PROJECTS_TRUE,;t t | 
|---|
 | 8995 | s,@SUB_PROJECTS_FALSE@,$SUB_PROJECTS_FALSE,;t t | 
|---|
| [3558] | 8996 | s,@DOCUMENTATION_TRUE@,$DOCUMENTATION_TRUE,;t t | 
|---|
 | 8997 | s,@DOCUMENTATION_FALSE@,$DOCUMENTATION_FALSE,;t t | 
|---|
| [3219] | 8998 | s,@DOXYGEN@,$DOXYGEN,;t t | 
|---|
 | 8999 | s,@DOXYGEN_TRUE@,$DOXYGEN_TRUE,;t t | 
|---|
 | 9000 | s,@DOXYGEN_FALSE@,$DOXYGEN_FALSE,;t t | 
|---|
| [2989] | 9001 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| [3099] | 9002 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| [2980] | 9003 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
 | 9004 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
 | 9005 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| [3423] | 9006 | s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t | 
|---|
 | 9007 | s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t | 
|---|
 | 9008 | s,@HAVE_GTHREAD_TRUE@,$HAVE_GTHREAD_TRUE,;t t | 
|---|
 | 9009 | s,@HAVE_GTHREAD_FALSE@,$HAVE_GTHREAD_FALSE,;t t | 
|---|
 | 9010 | s,@CURL_LIBS@,$CURL_LIBS,;t t | 
|---|
 | 9011 | s,@CURL_CFLAGS@,$CURL_CFLAGS,;t t | 
|---|
 | 9012 | s,@HAVE_CURL_TRUE@,$HAVE_CURL_TRUE,;t t | 
|---|
 | 9013 | s,@HAVE_CURL_FALSE@,$HAVE_CURL_FALSE,;t t | 
|---|
| [1956] | 9014 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
 | 9015 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
 | 9016 | CEOF | 
|---|
 | 9017 |  | 
|---|
 | 9018 | _ACEOF | 
|---|
 | 9019 |  | 
|---|
 | 9020 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9021 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
 | 9022 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
 | 9023 |   ac_max_sed_lines=48 | 
|---|
 | 9024 |   ac_sed_frag=1 # Number of current file. | 
|---|
 | 9025 |   ac_beg=1 # First line for current file. | 
|---|
 | 9026 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
 | 9027 |   ac_more_lines=: | 
|---|
 | 9028 |   ac_sed_cmds= | 
|---|
 | 9029 |   while $ac_more_lines; do | 
|---|
 | 9030 |     if test $ac_beg -gt 1; then | 
|---|
 | 9031 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 9032 |     else | 
|---|
 | 9033 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 9034 |     fi | 
|---|
 | 9035 |     if test ! -s $tmp/subs.frag; then | 
|---|
 | 9036 |       ac_more_lines=false | 
|---|
 | 9037 |     else | 
|---|
 | 9038 |       # The purpose of the label and of the branching condition is to | 
|---|
 | 9039 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
 | 9040 |       # is no need to browse any of the substitutions). | 
|---|
 | 9041 |       # These are the two extra sed commands mentioned above. | 
|---|
 | 9042 |       (echo ':t | 
|---|
 | 9043 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
 | 9044 |       if test -z "$ac_sed_cmds"; then | 
|---|
 | 9045 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 9046 |       else | 
|---|
 | 9047 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 9048 |       fi | 
|---|
 | 9049 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
 | 9050 |       ac_beg=$ac_end | 
|---|
 | 9051 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
 | 9052 |     fi | 
|---|
 | 9053 |   done | 
|---|
 | 9054 |   if test -z "$ac_sed_cmds"; then | 
|---|
 | 9055 |     ac_sed_cmds=cat | 
|---|
 | 9056 |   fi | 
|---|
 | 9057 | fi # test -n "$CONFIG_FILES" | 
|---|
 | 9058 |  | 
|---|
 | 9059 | _ACEOF | 
|---|
 | 9060 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9061 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
 | 9062 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 9063 |   case $ac_file in | 
|---|
 | 9064 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 9065 |         cat >$tmp/stdin | 
|---|
 | 9066 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9067 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9068 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9069 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9070 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 9071 |   esac | 
|---|
 | 9072 |  | 
|---|
 | 9073 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
 | 9074 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 9075 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9076 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9077 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 9078 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 9079 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9080 | echo X"$ac_file" | | 
|---|
 | 9081 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9082 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9083 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9084 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9085 |           s/.*/./; q'` | 
|---|
 | 9086 |   { if $as_mkdir_p; then | 
|---|
 | 9087 |     mkdir -p "$ac_dir" | 
|---|
 | 9088 |   else | 
|---|
 | 9089 |     as_dir="$ac_dir" | 
|---|
 | 9090 |     as_dirs= | 
|---|
 | 9091 |     while test ! -d "$as_dir"; do | 
|---|
 | 9092 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9093 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9094 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9095 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9096 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9097 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9098 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9099 | echo X"$as_dir" | | 
|---|
 | 9100 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9101 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9102 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9103 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9104 |           s/.*/./; q'` | 
|---|
 | 9105 |     done | 
|---|
 | 9106 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9107 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 9108 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 9109 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9110 |  | 
|---|
 | 9111 |   ac_builddir=. | 
|---|
 | 9112 |  | 
|---|
 | 9113 | if test "$ac_dir" != .; then | 
|---|
 | 9114 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 9115 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 9116 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 9117 | else | 
|---|
 | 9118 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 9119 | fi | 
|---|
 | 9120 |  | 
|---|
 | 9121 | case $srcdir in | 
|---|
 | 9122 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 9123 |     ac_srcdir=. | 
|---|
 | 9124 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 9125 |        ac_top_srcdir=. | 
|---|
 | 9126 |     else | 
|---|
 | 9127 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 9128 |     fi ;; | 
|---|
 | 9129 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 9130 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 9131 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 9132 |   *) # Relative path. | 
|---|
 | 9133 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 9134 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 9135 | esac | 
|---|
 | 9136 |  | 
|---|
 | 9137 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 9138 | # the directories may not exist. | 
|---|
 | 9139 | case `pwd` in | 
|---|
 | 9140 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9141 | *) | 
|---|
 | 9142 |   case "$ac_dir" in | 
|---|
 | 9143 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 9144 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9145 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 9146 |   esac;; | 
|---|
 | 9147 | esac | 
|---|
 | 9148 | case $ac_abs_builddir in | 
|---|
 | 9149 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9150 | *) | 
|---|
 | 9151 |   case ${ac_top_builddir}. in | 
|---|
 | 9152 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 9153 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9154 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 9155 |   esac;; | 
|---|
 | 9156 | esac | 
|---|
 | 9157 | case $ac_abs_builddir in | 
|---|
 | 9158 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9159 | *) | 
|---|
 | 9160 |   case $ac_srcdir in | 
|---|
 | 9161 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 9162 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9163 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 9164 |   esac;; | 
|---|
 | 9165 | esac | 
|---|
 | 9166 | case $ac_abs_builddir in | 
|---|
 | 9167 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9168 | *) | 
|---|
 | 9169 |   case $ac_top_srcdir in | 
|---|
 | 9170 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 9171 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9172 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 9173 |   esac;; | 
|---|
 | 9174 | esac | 
|---|
 | 9175 |  | 
|---|
 | 9176 |  | 
|---|
 | 9177 |   case $INSTALL in | 
|---|
 | 9178 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
 | 9179 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
 | 9180 |   esac | 
|---|
 | 9181 |  | 
|---|
 | 9182 |   if test x"$ac_file" != x-; then | 
|---|
 | 9183 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 9184 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 9185 |     rm -f "$ac_file" | 
|---|
 | 9186 |   fi | 
|---|
 | 9187 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 9188 |   # use $as_me), people would be surprised to read: | 
|---|
 | 9189 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 9190 |   if test x"$ac_file" = x-; then | 
|---|
 | 9191 |     configure_input= | 
|---|
 | 9192 |   else | 
|---|
 | 9193 |     configure_input="$ac_file.  " | 
|---|
 | 9194 |   fi | 
|---|
 | 9195 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
 | 9196 |                                      sed 's,.*/,,'` by configure." | 
|---|
 | 9197 |  | 
|---|
 | 9198 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 9199 |   # src tree. | 
|---|
 | 9200 |   ac_file_inputs=`IFS=: | 
|---|
 | 9201 |     for f in $ac_file_in; do | 
|---|
 | 9202 |       case $f in | 
|---|
 | 9203 |       -) echo $tmp/stdin ;; | 
|---|
 | 9204 |       [\\/$]*) | 
|---|
 | 9205 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 9206 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9207 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9208 |    { (exit 1); exit 1; }; } | 
|---|
 | 9209 |          echo "$f";; | 
|---|
 | 9210 |       *) # Relative | 
|---|
 | 9211 |          if test -f "$f"; then | 
|---|
 | 9212 |            # Build tree | 
|---|
 | 9213 |            echo "$f" | 
|---|
 | 9214 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 9215 |            # Source tree | 
|---|
 | 9216 |            echo "$srcdir/$f" | 
|---|
 | 9217 |          else | 
|---|
 | 9218 |            # /dev/null tree | 
|---|
 | 9219 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9220 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9221 |    { (exit 1); exit 1; }; } | 
|---|
 | 9222 |          fi;; | 
|---|
 | 9223 |       esac | 
|---|
 | 9224 |     done` || { (exit 1); exit 1; } | 
|---|
 | 9225 | _ACEOF | 
|---|
 | 9226 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 9227 |   sed "$ac_vpsub | 
|---|
 | 9228 | $extrasub | 
|---|
 | 9229 | _ACEOF | 
|---|
 | 9230 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9231 | :t | 
|---|
 | 9232 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
 | 9233 | s,@configure_input@,$configure_input,;t t | 
|---|
 | 9234 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
 | 9235 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
 | 9236 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
 | 9237 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
 | 9238 | s,@builddir@,$ac_builddir,;t t | 
|---|
 | 9239 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
 | 9240 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
 | 9241 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
 | 9242 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
 | 9243 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
 | 9244 |   rm -f $tmp/stdin | 
|---|
 | 9245 |   if test x"$ac_file" != x-; then | 
|---|
 | 9246 |     mv $tmp/out $ac_file | 
|---|
 | 9247 |   else | 
|---|
 | 9248 |     cat $tmp/out | 
|---|
 | 9249 |     rm -f $tmp/out | 
|---|
 | 9250 |   fi | 
|---|
 | 9251 |  | 
|---|
 | 9252 | done | 
|---|
 | 9253 | _ACEOF | 
|---|
 | 9254 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9255 |  | 
|---|
 | 9256 | # | 
|---|
 | 9257 | # CONFIG_HEADER section. | 
|---|
 | 9258 | # | 
|---|
 | 9259 |  | 
|---|
 | 9260 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
 | 9261 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
 | 9262 | # | 
|---|
 | 9263 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
 | 9264 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
 | 9265 | ac_dB='[         ].*$,\1#\2' | 
|---|
 | 9266 | ac_dC=' ' | 
|---|
 | 9267 | ac_dD=',;t' | 
|---|
 | 9268 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
 | 9269 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
 | 9270 | ac_uB='$,\1#\2define\3' | 
|---|
 | 9271 | ac_uC=' ' | 
|---|
 | 9272 | ac_uD=',;t' | 
|---|
 | 9273 |  | 
|---|
 | 9274 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
 | 9275 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 9276 |   case $ac_file in | 
|---|
 | 9277 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 9278 |         cat >$tmp/stdin | 
|---|
 | 9279 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9280 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9281 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9282 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 9283 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 9284 |   esac | 
|---|
 | 9285 |  | 
|---|
 | 9286 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 9287 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 9288 |  | 
|---|
 | 9289 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 9290 |   # src tree. | 
|---|
 | 9291 |   ac_file_inputs=`IFS=: | 
|---|
 | 9292 |     for f in $ac_file_in; do | 
|---|
 | 9293 |       case $f in | 
|---|
 | 9294 |       -) echo $tmp/stdin ;; | 
|---|
 | 9295 |       [\\/$]*) | 
|---|
 | 9296 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 9297 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9298 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9299 |    { (exit 1); exit 1; }; } | 
|---|
 | 9300 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
 | 9301 |          echo "$f";; | 
|---|
 | 9302 |       *) # Relative | 
|---|
 | 9303 |          if test -f "$f"; then | 
|---|
 | 9304 |            # Build tree | 
|---|
 | 9305 |            echo "$f" | 
|---|
 | 9306 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 9307 |            # Source tree | 
|---|
 | 9308 |            echo "$srcdir/$f" | 
|---|
 | 9309 |          else | 
|---|
 | 9310 |            # /dev/null tree | 
|---|
 | 9311 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 9312 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 9313 |    { (exit 1); exit 1; }; } | 
|---|
 | 9314 |          fi;; | 
|---|
 | 9315 |       esac | 
|---|
 | 9316 |     done` || { (exit 1); exit 1; } | 
|---|
 | 9317 |   # Remove the trailing spaces. | 
|---|
 | 9318 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
 | 9319 |  | 
|---|
 | 9320 | _ACEOF | 
|---|
 | 9321 |  | 
|---|
 | 9322 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
 | 9323 | # `conftest.undefs', that substitutes the proper values into | 
|---|
 | 9324 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
 | 9325 | # templates, and the second `#undef' templates. | 
|---|
 | 9326 | # And first: Protect against being on the right side of a sed subst in | 
|---|
 | 9327 | # config.status.  Protect against being in an unquoted here document | 
|---|
 | 9328 | # in config.status. | 
|---|
 | 9329 | rm -f conftest.defines conftest.undefs | 
|---|
 | 9330 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
 | 9331 | # Putting comments in sed scripts is not portable. | 
|---|
 | 9332 | # | 
|---|
 | 9333 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
 | 9334 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
 | 9335 | # See the Autoconf documentation for `clear'. | 
|---|
 | 9336 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
 | 9337 | s/[\\&,]/\\&/g | 
|---|
 | 9338 | s,[\\$`],\\&,g | 
|---|
 | 9339 | t clear | 
|---|
 | 9340 | : clear | 
|---|
 | 9341 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
 | 9342 | t end | 
|---|
 | 9343 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
 | 9344 | : end | 
|---|
 | 9345 | _ACEOF | 
|---|
 | 9346 | # If some macros were called several times there might be several times | 
|---|
 | 9347 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
 | 9348 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
 | 9349 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
 | 9350 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
 | 9351 | rm -f confdef2sed.sed | 
|---|
 | 9352 |  | 
|---|
 | 9353 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
 | 9354 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
 | 9355 | # on some systems where configure will not decide to define it. | 
|---|
 | 9356 | cat >>conftest.undefs <<\_ACEOF | 
|---|
 | 9357 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
 | 9358 | _ACEOF | 
|---|
 | 9359 |  | 
|---|
 | 9360 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
 | 9361 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 9362 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
 | 9363 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
 | 9364 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
 | 9365 | echo '  :' >>$CONFIG_STATUS | 
|---|
 | 9366 | rm -f conftest.tail | 
|---|
 | 9367 | while grep . conftest.defines >/dev/null | 
|---|
 | 9368 | do | 
|---|
 | 9369 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
 | 9370 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 9371 |   # Speed up: don't consider the non `#define' lines. | 
|---|
 | 9372 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
 | 9373 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 9374 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 9375 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 9376 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
 | 9377 |   echo 'CEOF | 
|---|
 | 9378 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
 | 9379 |   rm -f $tmp/in | 
|---|
 | 9380 |   mv $tmp/out $tmp/in | 
|---|
 | 9381 | ' >>$CONFIG_STATUS | 
|---|
 | 9382 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
 | 9383 |   rm -f conftest.defines | 
|---|
 | 9384 |   mv conftest.tail conftest.defines | 
|---|
 | 9385 | done | 
|---|
 | 9386 | rm -f conftest.defines | 
|---|
 | 9387 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
 | 9388 | echo >>$CONFIG_STATUS | 
|---|
 | 9389 |  | 
|---|
 | 9390 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
 | 9391 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 9392 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
 | 9393 | rm -f conftest.tail | 
|---|
 | 9394 | while grep . conftest.undefs >/dev/null | 
|---|
 | 9395 | do | 
|---|
 | 9396 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
 | 9397 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 9398 |   # Speed up: don't consider the non `#undef' | 
|---|
 | 9399 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
 | 9400 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 9401 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 9402 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 9403 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
 | 9404 |   echo 'CEOF | 
|---|
 | 9405 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
 | 9406 |   rm -f $tmp/in | 
|---|
 | 9407 |   mv $tmp/out $tmp/in | 
|---|
 | 9408 | ' >>$CONFIG_STATUS | 
|---|
 | 9409 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
 | 9410 |   rm -f conftest.undefs | 
|---|
 | 9411 |   mv conftest.tail conftest.undefs | 
|---|
 | 9412 | done | 
|---|
 | 9413 | rm -f conftest.undefs | 
|---|
 | 9414 |  | 
|---|
 | 9415 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9416 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 9417 |   # use $as_me), people would be surprised to read: | 
|---|
 | 9418 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 9419 |   if test x"$ac_file" = x-; then | 
|---|
 | 9420 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
 | 9421 |   else | 
|---|
 | 9422 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
 | 9423 |   fi | 
|---|
 | 9424 |   cat $tmp/in >>$tmp/config.h | 
|---|
 | 9425 |   rm -f $tmp/in | 
|---|
 | 9426 |   if test x"$ac_file" != x-; then | 
|---|
 | 9427 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
 | 9428 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
 | 9429 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
 | 9430 |     else | 
|---|
 | 9431 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 9432 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9433 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9434 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 9435 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 9436 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9437 | echo X"$ac_file" | | 
|---|
 | 9438 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9439 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9440 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9441 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9442 |           s/.*/./; q'` | 
|---|
 | 9443 |       { if $as_mkdir_p; then | 
|---|
 | 9444 |     mkdir -p "$ac_dir" | 
|---|
 | 9445 |   else | 
|---|
 | 9446 |     as_dir="$ac_dir" | 
|---|
 | 9447 |     as_dirs= | 
|---|
 | 9448 |     while test ! -d "$as_dir"; do | 
|---|
 | 9449 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9450 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9451 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9452 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9453 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9454 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9455 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9456 | echo X"$as_dir" | | 
|---|
 | 9457 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9458 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9459 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9460 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9461 |           s/.*/./; q'` | 
|---|
 | 9462 |     done | 
|---|
 | 9463 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9464 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 9465 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 9466 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9467 |  | 
|---|
 | 9468 |       rm -f $ac_file | 
|---|
 | 9469 |       mv $tmp/config.h $ac_file | 
|---|
 | 9470 |     fi | 
|---|
 | 9471 |   else | 
|---|
 | 9472 |     cat $tmp/config.h | 
|---|
 | 9473 |     rm -f $tmp/config.h | 
|---|
 | 9474 |   fi | 
|---|
 | 9475 | # Compute $ac_file's index in $config_headers. | 
|---|
 | 9476 | _am_stamp_count=1 | 
|---|
 | 9477 | for _am_header in $config_headers :; do | 
|---|
 | 9478 |   case $_am_header in | 
|---|
 | 9479 |     $ac_file | $ac_file:* ) | 
|---|
 | 9480 |       break ;; | 
|---|
 | 9481 |     * ) | 
|---|
 | 9482 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
 | 9483 |   esac | 
|---|
 | 9484 | done | 
|---|
 | 9485 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
 | 9486 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9487 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
 | 9488 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
 | 9489 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
 | 9490 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9491 | echo X$ac_file | | 
|---|
 | 9492 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9493 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9494 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9495 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9496 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
 | 9497 | done | 
|---|
 | 9498 | _ACEOF | 
|---|
 | 9499 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9500 |  | 
|---|
 | 9501 | # | 
|---|
 | 9502 | # CONFIG_COMMANDS section. | 
|---|
 | 9503 | # | 
|---|
 | 9504 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
 | 9505 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
 | 9506 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 9507 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
 | 9508 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9509 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9510 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
 | 9511 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
 | 9512 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9513 | echo X"$ac_dest" | | 
|---|
 | 9514 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9515 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9516 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9517 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9518 |           s/.*/./; q'` | 
|---|
 | 9519 |   { if $as_mkdir_p; then | 
|---|
 | 9520 |     mkdir -p "$ac_dir" | 
|---|
 | 9521 |   else | 
|---|
 | 9522 |     as_dir="$ac_dir" | 
|---|
 | 9523 |     as_dirs= | 
|---|
 | 9524 |     while test ! -d "$as_dir"; do | 
|---|
 | 9525 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9526 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9527 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9528 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9529 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9530 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9531 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9532 | echo X"$as_dir" | | 
|---|
 | 9533 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9534 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9535 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9536 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9537 |           s/.*/./; q'` | 
|---|
 | 9538 |     done | 
|---|
 | 9539 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9540 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 9541 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 9542 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9543 |  | 
|---|
 | 9544 |   ac_builddir=. | 
|---|
 | 9545 |  | 
|---|
 | 9546 | if test "$ac_dir" != .; then | 
|---|
 | 9547 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 9548 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 9549 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 9550 | else | 
|---|
 | 9551 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 9552 | fi | 
|---|
 | 9553 |  | 
|---|
 | 9554 | case $srcdir in | 
|---|
 | 9555 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 9556 |     ac_srcdir=. | 
|---|
 | 9557 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 9558 |        ac_top_srcdir=. | 
|---|
 | 9559 |     else | 
|---|
 | 9560 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 9561 |     fi ;; | 
|---|
 | 9562 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 9563 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 9564 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 9565 |   *) # Relative path. | 
|---|
 | 9566 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 9567 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 9568 | esac | 
|---|
 | 9569 |  | 
|---|
 | 9570 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 9571 | # the directories may not exist. | 
|---|
 | 9572 | case `pwd` in | 
|---|
 | 9573 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9574 | *) | 
|---|
 | 9575 |   case "$ac_dir" in | 
|---|
 | 9576 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 9577 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 9578 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 9579 |   esac;; | 
|---|
 | 9580 | esac | 
|---|
 | 9581 | case $ac_abs_builddir in | 
|---|
 | 9582 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9583 | *) | 
|---|
 | 9584 |   case ${ac_top_builddir}. in | 
|---|
 | 9585 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 9586 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 9587 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 9588 |   esac;; | 
|---|
 | 9589 | esac | 
|---|
 | 9590 | case $ac_abs_builddir in | 
|---|
 | 9591 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9592 | *) | 
|---|
 | 9593 |   case $ac_srcdir in | 
|---|
 | 9594 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 9595 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 9596 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 9597 |   esac;; | 
|---|
 | 9598 | esac | 
|---|
 | 9599 | case $ac_abs_builddir in | 
|---|
 | 9600 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9601 | *) | 
|---|
 | 9602 |   case $ac_top_srcdir in | 
|---|
 | 9603 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 9604 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 9605 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 9606 |   esac;; | 
|---|
 | 9607 | esac | 
|---|
 | 9608 |  | 
|---|
 | 9609 |  | 
|---|
 | 9610 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
 | 9611 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
 | 9612 |   case $ac_dest in | 
|---|
 | 9613 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
 | 9614 |   # Strip MF so we end up with the name of the file. | 
|---|
 | 9615 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
 | 9616 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
 | 9617 |   # We used to match only the files named `Makefile.in', but | 
|---|
 | 9618 |   # some people rename them; so instead we look at the file content. | 
|---|
 | 9619 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
 | 9620 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
 | 9621 |   # So let's grep whole file. | 
|---|
 | 9622 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
 | 9623 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
 | 9624 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9625 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9626 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
 | 9627 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
 | 9628 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9629 | echo X"$mf" | | 
|---|
 | 9630 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9631 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9632 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9633 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9634 |           s/.*/./; q'` | 
|---|
 | 9635 |   else | 
|---|
 | 9636 |     continue | 
|---|
 | 9637 |   fi | 
|---|
 | 9638 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
 | 9639 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
 | 9640 |   # running `make'. | 
|---|
| [2819] | 9641 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| [1956] | 9642 |   test -z "$DEPDIR" && continue | 
|---|
 | 9643 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| [2819] | 9644 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| [1956] | 9645 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
 | 9646 |   # We invoke sed twice because it is the simplest approach to | 
|---|
 | 9647 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| [2819] | 9648 |   for file in `sed -n ' | 
|---|
| [1956] | 9649 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
 | 9650 |       s/^DEP_FILES = // | 
|---|
 | 9651 |       :loop | 
|---|
 | 9652 |         s/\\\\$// | 
|---|
 | 9653 |         p | 
|---|
 | 9654 |         n | 
|---|
 | 9655 |         /\\\\$/ b loop | 
|---|
 | 9656 |       p | 
|---|
 | 9657 |     } | 
|---|
 | 9658 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
 | 9659 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
 | 9660 |     # Make sure the directory exists. | 
|---|
 | 9661 |     test -f "$dirpart/$file" && continue | 
|---|
 | 9662 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
 | 9663 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9664 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9665 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
 | 9666 |          X"$file" : 'X\(/\)' \| \ | 
|---|
 | 9667 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9668 | echo X"$file" | | 
|---|
 | 9669 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9670 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9671 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9672 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9673 |           s/.*/./; q'` | 
|---|
 | 9674 |     { if $as_mkdir_p; then | 
|---|
 | 9675 |     mkdir -p $dirpart/$fdir | 
|---|
 | 9676 |   else | 
|---|
 | 9677 |     as_dir=$dirpart/$fdir | 
|---|
 | 9678 |     as_dirs= | 
|---|
 | 9679 |     while test ! -d "$as_dir"; do | 
|---|
 | 9680 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 9681 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 9682 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 9683 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 9684 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 9685 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 9686 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 9687 | echo X"$as_dir" | | 
|---|
 | 9688 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 9689 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 9690 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 9691 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 9692 |           s/.*/./; q'` | 
|---|
 | 9693 |     done | 
|---|
 | 9694 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 9695 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
 | 9696 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
 | 9697 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 9698 |  | 
|---|
 | 9699 |     # echo "creating $dirpart/$file" | 
|---|
 | 9700 |     echo '# dummy' > "$dirpart/$file" | 
|---|
 | 9701 |   done | 
|---|
 | 9702 | done | 
|---|
 | 9703 |  ;; | 
|---|
 | 9704 |   esac | 
|---|
 | 9705 | done | 
|---|
 | 9706 | _ACEOF | 
|---|
 | 9707 |  | 
|---|
 | 9708 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 9709 |  | 
|---|
 | 9710 | { (exit 0); exit 0; } | 
|---|
 | 9711 | _ACEOF | 
|---|
 | 9712 | chmod +x $CONFIG_STATUS | 
|---|
 | 9713 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 9714 |  | 
|---|
 | 9715 |  | 
|---|
 | 9716 | # configure is writing to config.log, and then calls config.status. | 
|---|
 | 9717 | # config.status does its own redirection, appending to config.log. | 
|---|
 | 9718 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
 | 9719 | # by configure, so config.status won't be able to write to it; its | 
|---|
 | 9720 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
 | 9721 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
 | 9722 | # appended to by config.status.  When coming back to configure, we | 
|---|
 | 9723 | # need to make the FD available again. | 
|---|
 | 9724 | if test "$no_create" != yes; then | 
|---|
 | 9725 |   ac_cs_success=: | 
|---|
 | 9726 |   ac_config_status_args= | 
|---|
 | 9727 |   test "$silent" = yes && | 
|---|
 | 9728 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
 | 9729 |   exec 5>/dev/null | 
|---|
 | 9730 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
 | 9731 |   exec 5>>config.log | 
|---|
 | 9732 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
 | 9733 |   # would make configure fail if this is the last instruction. | 
|---|
 | 9734 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
 | 9735 | fi | 
|---|
 | 9736 |  | 
|---|