| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha. | 
|---|
| 4 | # | 
|---|
| 5 | # Report bugs to <orxonox-dev@mail.datacore.ch>. | 
|---|
| 6 | # | 
|---|
| 7 | # Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 8 | # This configure script is free software; the Free Software Foundation | 
|---|
| 9 | # gives unlimited permission to copy, distribute and modify it. | 
|---|
| 10 | ## --------------------- ## | 
|---|
| 11 | ## M4sh Initialization.  ## | 
|---|
| 12 | ## --------------------- ## | 
|---|
| 13 |  | 
|---|
| 14 | # Be Bourne compatible | 
|---|
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 16 |   emulate sh | 
|---|
| 17 |   NULLCMD=: | 
|---|
| 18 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 19 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 20 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 22 |   set -o posix | 
|---|
| 23 | fi | 
|---|
| 24 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 25 |  | 
|---|
| 26 | # Support unset when possible. | 
|---|
| 27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 28 |   as_unset=unset | 
|---|
| 29 | else | 
|---|
| 30 |   as_unset=false | 
|---|
| 31 | fi | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 35 | $as_unset ENV MAIL MAILPATH | 
|---|
| 36 | PS1='$ ' | 
|---|
| 37 | PS2='> ' | 
|---|
| 38 | PS4='+ ' | 
|---|
| 39 |  | 
|---|
| 40 | # NLS nuisances. | 
|---|
| 41 | for as_var in \ | 
|---|
| 42 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 43 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 44 |   LC_TELEPHONE LC_TIME | 
|---|
| 45 | do | 
|---|
| 46 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 47 |     eval $as_var=C; export $as_var | 
|---|
| 48 |   else | 
|---|
| 49 |     $as_unset $as_var | 
|---|
| 50 |   fi | 
|---|
| 51 | done | 
|---|
| 52 |  | 
|---|
| 53 | # Required to use basename. | 
|---|
| 54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 55 |   as_expr=expr | 
|---|
| 56 | else | 
|---|
| 57 |   as_expr=false | 
|---|
| 58 | fi | 
|---|
| 59 |  | 
|---|
| 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 61 |   as_basename=basename | 
|---|
| 62 | else | 
|---|
| 63 |   as_basename=false | 
|---|
| 64 | fi | 
|---|
| 65 |  | 
|---|
| 66 |  | 
|---|
| 67 | # Name of the executable. | 
|---|
| 68 | as_me=`$as_basename "$0" || | 
|---|
| 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 70 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 71 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 72 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 73 | echo X/"$0" | | 
|---|
| 74 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 75 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 76 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 77 |           s/.*/./; q'` | 
|---|
| 78 |  | 
|---|
| 79 |  | 
|---|
| 80 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 81 | # Avoid depending upon Character Ranges. | 
|---|
| 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 85 | as_cr_digits='0123456789' | 
|---|
| 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 87 |  | 
|---|
| 88 | # The user is always right. | 
|---|
| 89 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 90 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 91 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 92 |   chmod +x conf$$.sh | 
|---|
| 93 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 94 |     PATH_SEPARATOR=';' | 
|---|
| 95 |   else | 
|---|
| 96 |     PATH_SEPARATOR=: | 
|---|
| 97 |   fi | 
|---|
| 98 |   rm -f conf$$.sh | 
|---|
| 99 | fi | 
|---|
| 100 |  | 
|---|
| 101 |  | 
|---|
| 102 |   as_lineno_1=$LINENO | 
|---|
| 103 |   as_lineno_2=$LINENO | 
|---|
| 104 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 105 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 106 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 107 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 108 |   # relative or not. | 
|---|
| 109 |   case $0 in | 
|---|
| 110 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 111 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 112 | for as_dir in $PATH | 
|---|
| 113 | do | 
|---|
| 114 |   IFS=$as_save_IFS | 
|---|
| 115 |   test -z "$as_dir" && as_dir=. | 
|---|
| 116 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 117 | done | 
|---|
| 118 |  | 
|---|
| 119 |        ;; | 
|---|
| 120 |   esac | 
|---|
| 121 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 122 |   # in which case we are not to be found in the path. | 
|---|
| 123 |   if test "x$as_myself" = x; then | 
|---|
| 124 |     as_myself=$0 | 
|---|
| 125 |   fi | 
|---|
| 126 |   if test ! -f "$as_myself"; then | 
|---|
| 127 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
|---|
| 128 |    { (exit 1); exit 1; }; } | 
|---|
| 129 |   fi | 
|---|
| 130 |   case $CONFIG_SHELL in | 
|---|
| 131 |   '') | 
|---|
| 132 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 134 | do | 
|---|
| 135 |   IFS=$as_save_IFS | 
|---|
| 136 |   test -z "$as_dir" && as_dir=. | 
|---|
| 137 |   for as_base in sh bash ksh sh5; do | 
|---|
| 138 |          case $as_dir in | 
|---|
| 139 |          /*) | 
|---|
| 140 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 141 |   as_lineno_1=$LINENO | 
|---|
| 142 |   as_lineno_2=$LINENO | 
|---|
| 143 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 144 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 145 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 146 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 147 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 148 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 149 |              export CONFIG_SHELL | 
|---|
| 150 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 151 |            fi;; | 
|---|
| 152 |          esac | 
|---|
| 153 |        done | 
|---|
| 154 | done | 
|---|
| 155 | ;; | 
|---|
| 156 |   esac | 
|---|
| 157 |  | 
|---|
| 158 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 159 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 160 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 161 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 162 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 163 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 164 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 165 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 166 |   sed '=' <$as_myself | | 
|---|
| 167 |     sed ' | 
|---|
| 168 |       N | 
|---|
| 169 |       s,$,-, | 
|---|
| 170 |       : loop | 
|---|
| 171 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 172 |       t loop | 
|---|
| 173 |       s,-$,, | 
|---|
| 174 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 175 |     ' >$as_me.lineno && | 
|---|
| 176 |   chmod +x $as_me.lineno || | 
|---|
| 177 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
|---|
| 178 |    { (exit 1); exit 1; }; } | 
|---|
| 179 |  | 
|---|
| 180 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 181 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 182 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 183 |   . ./$as_me.lineno | 
|---|
| 184 |   # Exit status is that of the last command. | 
|---|
| 185 |   exit | 
|---|
| 186 | } | 
|---|
| 187 |  | 
|---|
| 188 |  | 
|---|
| 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 190 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 191 | ' ECHO_T='      ' ;; | 
|---|
| 192 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 193 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 194 | esac | 
|---|
| 195 |  | 
|---|
| 196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 197 |   as_expr=expr | 
|---|
| 198 | else | 
|---|
| 199 |   as_expr=false | 
|---|
| 200 | fi | 
|---|
| 201 |  | 
|---|
| 202 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 203 | echo >conf$$.file | 
|---|
| 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 205 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 206 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 207 |   if test -f conf$$.exe; then | 
|---|
| 208 |     # Don't use ln at all; we don't have any links | 
|---|
| 209 |     as_ln_s='cp -p' | 
|---|
| 210 |   else | 
|---|
| 211 |     as_ln_s='ln -s' | 
|---|
| 212 |   fi | 
|---|
| 213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 214 |   as_ln_s=ln | 
|---|
| 215 | else | 
|---|
| 216 |   as_ln_s='cp -p' | 
|---|
| 217 | fi | 
|---|
| 218 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 219 |  | 
|---|
| 220 | if mkdir -p . 2>/dev/null; then | 
|---|
| 221 |   as_mkdir_p=: | 
|---|
| 222 | else | 
|---|
| 223 |   test -d ./-p && rmdir ./-p | 
|---|
| 224 |   as_mkdir_p=false | 
|---|
| 225 | fi | 
|---|
| 226 |  | 
|---|
| 227 | as_executable_p="test -f" | 
|---|
| 228 |  | 
|---|
| 229 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 231 |  | 
|---|
| 232 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 234 |  | 
|---|
| 235 |  | 
|---|
| 236 | # IFS | 
|---|
| 237 | # We need space, tab and new line, in precisely that order. | 
|---|
| 238 | as_nl=' | 
|---|
| 239 | ' | 
|---|
| 240 | IFS="   $as_nl" | 
|---|
| 241 |  | 
|---|
| 242 | # CDPATH. | 
|---|
| 243 | $as_unset CDPATH | 
|---|
| 244 |  | 
|---|
| 245 |  | 
|---|
| 246 | # Name of the host. | 
|---|
| 247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
|---|
| 248 | # so uname gets run too. | 
|---|
| 249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 250 |  | 
|---|
| 251 | exec 6>&1 | 
|---|
| 252 |  | 
|---|
| 253 | # | 
|---|
| 254 | # Initializations. | 
|---|
| 255 | # | 
|---|
| 256 | ac_default_prefix=/usr/local | 
|---|
| 257 | ac_config_libobj_dir=. | 
|---|
| 258 | cross_compiling=no | 
|---|
| 259 | subdirs= | 
|---|
| 260 | MFLAGS= | 
|---|
| 261 | MAKEFLAGS= | 
|---|
| 262 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|---|
| 263 |  | 
|---|
| 264 | # Maximum number of lines to put in a shell here document. | 
|---|
| 265 | # This variable seems obsolete.  It should probably be removed, and | 
|---|
| 266 | # only ac_max_sed_lines should be used. | 
|---|
| 267 | : ${ac_max_here_lines=38} | 
|---|
| 268 |  | 
|---|
| 269 | # Identity of this package. | 
|---|
| 270 | PACKAGE_NAME='orxonox' | 
|---|
| 271 | PACKAGE_TARNAME='orxonox' | 
|---|
| 272 | PACKAGE_VERSION='0.1-pre-alpha' | 
|---|
| 273 | PACKAGE_STRING='orxonox 0.1-pre-alpha' | 
|---|
| 274 | PACKAGE_BUGREPORT='orxonox-dev@mail.datacore.ch' | 
|---|
| 275 |  | 
|---|
| 276 | ac_unique_file="." | 
|---|
| 277 | # Factoring default headers for most tests. | 
|---|
| 278 | ac_includes_default="\ | 
|---|
| 279 | #include <stdio.h> | 
|---|
| 280 | #if HAVE_SYS_TYPES_H | 
|---|
| 281 | # include <sys/types.h> | 
|---|
| 282 | #endif | 
|---|
| 283 | #if HAVE_SYS_STAT_H | 
|---|
| 284 | # include <sys/stat.h> | 
|---|
| 285 | #endif | 
|---|
| 286 | #if STDC_HEADERS | 
|---|
| 287 | # include <stdlib.h> | 
|---|
| 288 | # include <stddef.h> | 
|---|
| 289 | #else | 
|---|
| 290 | # if HAVE_STDLIB_H | 
|---|
| 291 | #  include <stdlib.h> | 
|---|
| 292 | # endif | 
|---|
| 293 | #endif | 
|---|
| 294 | #if HAVE_STRING_H | 
|---|
| 295 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
|---|
| 296 | #  include <memory.h> | 
|---|
| 297 | # endif | 
|---|
| 298 | # include <string.h> | 
|---|
| 299 | #endif | 
|---|
| 300 | #if HAVE_STRINGS_H | 
|---|
| 301 | # include <strings.h> | 
|---|
| 302 | #endif | 
|---|
| 303 | #if HAVE_INTTYPES_H | 
|---|
| 304 | # include <inttypes.h> | 
|---|
| 305 | #else | 
|---|
| 306 | # if HAVE_STDINT_H | 
|---|
| 307 | #  include <stdint.h> | 
|---|
| 308 | # endif | 
|---|
| 309 | #endif | 
|---|
| 310 | #if HAVE_UNISTD_H | 
|---|
| 311 | # include <unistd.h> | 
|---|
| 312 | #endif" | 
|---|
| 313 |  | 
|---|
| 314 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP MSBITFIELDS PKG_CONFIG GTK2_CFLAGS GTK2_LIBS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' | 
|---|
| 315 | ac_subst_files='' | 
|---|
| 316 |  | 
|---|
| 317 | # Initialize some variables set by options. | 
|---|
| 318 | ac_init_help= | 
|---|
| 319 | ac_init_version=false | 
|---|
| 320 | # The variables have the same names as the options, with | 
|---|
| 321 | # dashes changed to underlines. | 
|---|
| 322 | cache_file=/dev/null | 
|---|
| 323 | exec_prefix=NONE | 
|---|
| 324 | no_create= | 
|---|
| 325 | no_recursion= | 
|---|
| 326 | prefix=NONE | 
|---|
| 327 | program_prefix=NONE | 
|---|
| 328 | program_suffix=NONE | 
|---|
| 329 | program_transform_name=s,x,x, | 
|---|
| 330 | silent= | 
|---|
| 331 | site= | 
|---|
| 332 | srcdir= | 
|---|
| 333 | verbose= | 
|---|
| 334 | x_includes=NONE | 
|---|
| 335 | x_libraries=NONE | 
|---|
| 336 |  | 
|---|
| 337 | # Installation directory options. | 
|---|
| 338 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
| 339 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
| 340 | # by default will actually change. | 
|---|
| 341 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
| 342 | bindir='${exec_prefix}/bin' | 
|---|
| 343 | sbindir='${exec_prefix}/sbin' | 
|---|
| 344 | libexecdir='${exec_prefix}/libexec' | 
|---|
| 345 | datadir='${prefix}/share' | 
|---|
| 346 | sysconfdir='${prefix}/etc' | 
|---|
| 347 | sharedstatedir='${prefix}/com' | 
|---|
| 348 | localstatedir='${prefix}/var' | 
|---|
| 349 | libdir='${exec_prefix}/lib' | 
|---|
| 350 | includedir='${prefix}/include' | 
|---|
| 351 | oldincludedir='/usr/include' | 
|---|
| 352 | infodir='${prefix}/info' | 
|---|
| 353 | mandir='${prefix}/man' | 
|---|
| 354 |  | 
|---|
| 355 | ac_prev= | 
|---|
| 356 | for ac_option | 
|---|
| 357 | do | 
|---|
| 358 |   # If the previous option needs an argument, assign it. | 
|---|
| 359 |   if test -n "$ac_prev"; then | 
|---|
| 360 |     eval "$ac_prev=\$ac_option" | 
|---|
| 361 |     ac_prev= | 
|---|
| 362 |     continue | 
|---|
| 363 |   fi | 
|---|
| 364 |  | 
|---|
| 365 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
|---|
| 366 |  | 
|---|
| 367 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
| 368 |  | 
|---|
| 369 |   case $ac_option in | 
|---|
| 370 |  | 
|---|
| 371 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
| 372 |     ac_prev=bindir ;; | 
|---|
| 373 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
| 374 |     bindir=$ac_optarg ;; | 
|---|
| 375 |  | 
|---|
| 376 |   -build | --build | --buil | --bui | --bu) | 
|---|
| 377 |     ac_prev=build_alias ;; | 
|---|
| 378 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
| 379 |     build_alias=$ac_optarg ;; | 
|---|
| 380 |  | 
|---|
| 381 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
| 382 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
| 383 |     ac_prev=cache_file ;; | 
|---|
| 384 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
| 385 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
| 386 |     cache_file=$ac_optarg ;; | 
|---|
| 387 |  | 
|---|
| 388 |   --config-cache | -C) | 
|---|
| 389 |     cache_file=config.cache ;; | 
|---|
| 390 |  | 
|---|
| 391 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
|---|
| 392 |     ac_prev=datadir ;; | 
|---|
| 393 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
|---|
| 394 |   | --da=*) | 
|---|
| 395 |     datadir=$ac_optarg ;; | 
|---|
| 396 |  | 
|---|
| 397 |   -disable-* | --disable-*) | 
|---|
| 398 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
| 399 |     # Reject names that are not valid shell variable names. | 
|---|
| 400 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 401 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
| 402 |    { (exit 1); exit 1; }; } | 
|---|
| 403 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
| 404 |     eval "enable_$ac_feature=no" ;; | 
|---|
| 405 |  | 
|---|
| 406 |   -enable-* | --enable-*) | 
|---|
| 407 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
| 408 |     # Reject names that are not valid shell variable names. | 
|---|
| 409 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 410 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
| 411 |    { (exit 1); exit 1; }; } | 
|---|
| 412 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
| 413 |     case $ac_option in | 
|---|
| 414 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
| 415 |       *) ac_optarg=yes ;; | 
|---|
| 416 |     esac | 
|---|
| 417 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
|---|
| 418 |  | 
|---|
| 419 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
| 420 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
| 421 |   | --exec | --exe | --ex) | 
|---|
| 422 |     ac_prev=exec_prefix ;; | 
|---|
| 423 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
| 424 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
| 425 |   | --exec=* | --exe=* | --ex=*) | 
|---|
| 426 |     exec_prefix=$ac_optarg ;; | 
|---|
| 427 |  | 
|---|
| 428 |   -gas | --gas | --ga | --g) | 
|---|
| 429 |     # Obsolete; use --with-gas. | 
|---|
| 430 |     with_gas=yes ;; | 
|---|
| 431 |  | 
|---|
| 432 |   -help | --help | --hel | --he | -h) | 
|---|
| 433 |     ac_init_help=long ;; | 
|---|
| 434 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
| 435 |     ac_init_help=recursive ;; | 
|---|
| 436 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
| 437 |     ac_init_help=short ;; | 
|---|
| 438 |  | 
|---|
| 439 |   -host | --host | --hos | --ho) | 
|---|
| 440 |     ac_prev=host_alias ;; | 
|---|
| 441 |   -host=* | --host=* | --hos=* | --ho=*) | 
|---|
| 442 |     host_alias=$ac_optarg ;; | 
|---|
| 443 |  | 
|---|
| 444 |   -includedir | --includedir | --includedi | --included | --include \ | 
|---|
| 445 |   | --includ | --inclu | --incl | --inc) | 
|---|
| 446 |     ac_prev=includedir ;; | 
|---|
| 447 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
| 448 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
| 449 |     includedir=$ac_optarg ;; | 
|---|
| 450 |  | 
|---|
| 451 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
| 452 |     ac_prev=infodir ;; | 
|---|
| 453 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
| 454 |     infodir=$ac_optarg ;; | 
|---|
| 455 |  | 
|---|
| 456 |   -libdir | --libdir | --libdi | --libd) | 
|---|
| 457 |     ac_prev=libdir ;; | 
|---|
| 458 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
| 459 |     libdir=$ac_optarg ;; | 
|---|
| 460 |  | 
|---|
| 461 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
| 462 |   | --libexe | --libex | --libe) | 
|---|
| 463 |     ac_prev=libexecdir ;; | 
|---|
| 464 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
| 465 |   | --libexe=* | --libex=* | --libe=*) | 
|---|
| 466 |     libexecdir=$ac_optarg ;; | 
|---|
| 467 |  | 
|---|
| 468 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
| 469 |   | --localstate | --localstat | --localsta | --localst \ | 
|---|
| 470 |   | --locals | --local | --loca | --loc | --lo) | 
|---|
| 471 |     ac_prev=localstatedir ;; | 
|---|
| 472 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
| 473 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
|---|
| 474 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
|---|
| 475 |     localstatedir=$ac_optarg ;; | 
|---|
| 476 |  | 
|---|
| 477 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
| 478 |     ac_prev=mandir ;; | 
|---|
| 479 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
| 480 |     mandir=$ac_optarg ;; | 
|---|
| 481 |  | 
|---|
| 482 |   -nfp | --nfp | --nf) | 
|---|
| 483 |     # Obsolete; use --without-fp. | 
|---|
| 484 |     with_fp=no ;; | 
|---|
| 485 |  | 
|---|
| 486 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
| 487 |   | --no-cr | --no-c | -n) | 
|---|
| 488 |     no_create=yes ;; | 
|---|
| 489 |  | 
|---|
| 490 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
| 491 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
| 492 |     no_recursion=yes ;; | 
|---|
| 493 |  | 
|---|
| 494 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
| 495 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
| 496 |   | --oldin | --oldi | --old | --ol | --o) | 
|---|
| 497 |     ac_prev=oldincludedir ;; | 
|---|
| 498 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
| 499 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
| 500 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
| 501 |     oldincludedir=$ac_optarg ;; | 
|---|
| 502 |  | 
|---|
| 503 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
| 504 |     ac_prev=prefix ;; | 
|---|
| 505 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
| 506 |     prefix=$ac_optarg ;; | 
|---|
| 507 |  | 
|---|
| 508 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
| 509 |   | --program-pre | --program-pr | --program-p) | 
|---|
| 510 |     ac_prev=program_prefix ;; | 
|---|
| 511 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
| 512 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
| 513 |     program_prefix=$ac_optarg ;; | 
|---|
| 514 |  | 
|---|
| 515 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
| 516 |   | --program-suf | --program-su | --program-s) | 
|---|
| 517 |     ac_prev=program_suffix ;; | 
|---|
| 518 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
| 519 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
| 520 |     program_suffix=$ac_optarg ;; | 
|---|
| 521 |  | 
|---|
| 522 |   -program-transform-name | --program-transform-name \ | 
|---|
| 523 |   | --program-transform-nam | --program-transform-na \ | 
|---|
| 524 |   | --program-transform-n | --program-transform- \ | 
|---|
| 525 |   | --program-transform | --program-transfor \ | 
|---|
| 526 |   | --program-transfo | --program-transf \ | 
|---|
| 527 |   | --program-trans | --program-tran \ | 
|---|
| 528 |   | --progr-tra | --program-tr | --program-t) | 
|---|
| 529 |     ac_prev=program_transform_name ;; | 
|---|
| 530 |   -program-transform-name=* | --program-transform-name=* \ | 
|---|
| 531 |   | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
| 532 |   | --program-transform-n=* | --program-transform-=* \ | 
|---|
| 533 |   | --program-transform=* | --program-transfor=* \ | 
|---|
| 534 |   | --program-transfo=* | --program-transf=* \ | 
|---|
| 535 |   | --program-trans=* | --program-tran=* \ | 
|---|
| 536 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
| 537 |     program_transform_name=$ac_optarg ;; | 
|---|
| 538 |  | 
|---|
| 539 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 540 |   | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 541 |     silent=yes ;; | 
|---|
| 542 |  | 
|---|
| 543 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
| 544 |     ac_prev=sbindir ;; | 
|---|
| 545 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
| 546 |   | --sbi=* | --sb=*) | 
|---|
| 547 |     sbindir=$ac_optarg ;; | 
|---|
| 548 |  | 
|---|
| 549 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
| 550 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
| 551 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
| 552 |   | --sha | --sh) | 
|---|
| 553 |     ac_prev=sharedstatedir ;; | 
|---|
| 554 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
| 555 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
| 556 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
| 557 |   | --sha=* | --sh=*) | 
|---|
| 558 |     sharedstatedir=$ac_optarg ;; | 
|---|
| 559 |  | 
|---|
| 560 |   -site | --site | --sit) | 
|---|
| 561 |     ac_prev=site ;; | 
|---|
| 562 |   -site=* | --site=* | --sit=*) | 
|---|
| 563 |     site=$ac_optarg ;; | 
|---|
| 564 |  | 
|---|
| 565 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
| 566 |     ac_prev=srcdir ;; | 
|---|
| 567 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
| 568 |     srcdir=$ac_optarg ;; | 
|---|
| 569 |  | 
|---|
| 570 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
| 571 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
| 572 |     ac_prev=sysconfdir ;; | 
|---|
| 573 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
| 574 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
| 575 |     sysconfdir=$ac_optarg ;; | 
|---|
| 576 |  | 
|---|
| 577 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
| 578 |     ac_prev=target_alias ;; | 
|---|
| 579 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
| 580 |     target_alias=$ac_optarg ;; | 
|---|
| 581 |  | 
|---|
| 582 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
| 583 |     verbose=yes ;; | 
|---|
| 584 |  | 
|---|
| 585 |   -version | --version | --versio | --versi | --vers | -V) | 
|---|
| 586 |     ac_init_version=: ;; | 
|---|
| 587 |  | 
|---|
| 588 |   -with-* | --with-*) | 
|---|
| 589 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
| 590 |     # Reject names that are not valid shell variable names. | 
|---|
| 591 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 592 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
| 593 |    { (exit 1); exit 1; }; } | 
|---|
| 594 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
|---|
| 595 |     case $ac_option in | 
|---|
| 596 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
| 597 |       *) ac_optarg=yes ;; | 
|---|
| 598 |     esac | 
|---|
| 599 |     eval "with_$ac_package='$ac_optarg'" ;; | 
|---|
| 600 |  | 
|---|
| 601 |   -without-* | --without-*) | 
|---|
| 602 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
| 603 |     # Reject names that are not valid shell variable names. | 
|---|
| 604 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 605 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
| 606 |    { (exit 1); exit 1; }; } | 
|---|
| 607 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
|---|
| 608 |     eval "with_$ac_package=no" ;; | 
|---|
| 609 |  | 
|---|
| 610 |   --x) | 
|---|
| 611 |     # Obsolete; use --with-x. | 
|---|
| 612 |     with_x=yes ;; | 
|---|
| 613 |  | 
|---|
| 614 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
| 615 |   | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
| 616 |     ac_prev=x_includes ;; | 
|---|
| 617 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
| 618 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
| 619 |     x_includes=$ac_optarg ;; | 
|---|
| 620 |  | 
|---|
| 621 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
| 622 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
| 623 |     ac_prev=x_libraries ;; | 
|---|
| 624 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
| 625 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
| 626 |     x_libraries=$ac_optarg ;; | 
|---|
| 627 |  | 
|---|
| 628 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
|---|
| 629 | Try \`$0 --help' for more information." >&2 | 
|---|
| 630 |    { (exit 1); exit 1; }; } | 
|---|
| 631 |     ;; | 
|---|
| 632 |  | 
|---|
| 633 |   *=*) | 
|---|
| 634 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
| 635 |     # Reject names that are not valid shell variable names. | 
|---|
| 636 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
|---|
| 637 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
|---|
| 638 |    { (exit 1); exit 1; }; } | 
|---|
| 639 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
|---|
| 640 |     eval "$ac_envvar='$ac_optarg'" | 
|---|
| 641 |     export $ac_envvar ;; | 
|---|
| 642 |  | 
|---|
| 643 |   *) | 
|---|
| 644 |     # FIXME: should be removed in autoconf 3.0. | 
|---|
| 645 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
| 646 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
| 647 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
| 648 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
|---|
| 649 |     ;; | 
|---|
| 650 |  | 
|---|
| 651 |   esac | 
|---|
| 652 | done | 
|---|
| 653 |  | 
|---|
| 654 | if test -n "$ac_prev"; then | 
|---|
| 655 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
| 656 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
|---|
| 657 |    { (exit 1); exit 1; }; } | 
|---|
| 658 | fi | 
|---|
| 659 |  | 
|---|
| 660 | # Be sure to have absolute paths. | 
|---|
| 661 | for ac_var in exec_prefix prefix | 
|---|
| 662 | do | 
|---|
| 663 |   eval ac_val=$`echo $ac_var` | 
|---|
| 664 |   case $ac_val in | 
|---|
| 665 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
|---|
| 666 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
| 667 |    { (exit 1); exit 1; }; };; | 
|---|
| 668 |   esac | 
|---|
| 669 | done | 
|---|
| 670 |  | 
|---|
| 671 | # Be sure to have absolute paths. | 
|---|
| 672 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
|---|
| 673 |               localstatedir libdir includedir oldincludedir infodir mandir | 
|---|
| 674 | do | 
|---|
| 675 |   eval ac_val=$`echo $ac_var` | 
|---|
| 676 |   case $ac_val in | 
|---|
| 677 |     [\\/$]* | ?:[\\/]* ) ;; | 
|---|
| 678 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
| 679 |    { (exit 1); exit 1; }; };; | 
|---|
| 680 |   esac | 
|---|
| 681 | done | 
|---|
| 682 |  | 
|---|
| 683 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
| 684 | # used to hold the argument of --host etc. | 
|---|
| 685 | # FIXME: To remove some day. | 
|---|
| 686 | build=$build_alias | 
|---|
| 687 | host=$host_alias | 
|---|
| 688 | target=$target_alias | 
|---|
| 689 |  | 
|---|
| 690 | # FIXME: To remove some day. | 
|---|
| 691 | if test "x$host_alias" != x; then | 
|---|
| 692 |   if test "x$build_alias" = x; then | 
|---|
| 693 |     cross_compiling=maybe | 
|---|
| 694 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
|---|
| 695 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
|---|
| 696 |   elif test "x$build_alias" != "x$host_alias"; then | 
|---|
| 697 |     cross_compiling=yes | 
|---|
| 698 |   fi | 
|---|
| 699 | fi | 
|---|
| 700 |  | 
|---|
| 701 | ac_tool_prefix= | 
|---|
| 702 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
| 703 |  | 
|---|
| 704 | test "$silent" = yes && exec 6>/dev/null | 
|---|
| 705 |  | 
|---|
| 706 |  | 
|---|
| 707 | # Find the source files, if location was not specified. | 
|---|
| 708 | if test -z "$srcdir"; then | 
|---|
| 709 |   ac_srcdir_defaulted=yes | 
|---|
| 710 |   # Try the directory containing this script, then its parent. | 
|---|
| 711 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
|---|
| 712 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 713 |          X"$0" : 'X\(//\)[^/]' \| \ | 
|---|
| 714 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 715 |          X"$0" : 'X\(/\)' \| \ | 
|---|
| 716 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 717 | echo X"$0" | | 
|---|
| 718 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 719 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 720 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 721 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 722 |           s/.*/./; q'` | 
|---|
| 723 |   srcdir=$ac_confdir | 
|---|
| 724 |   if test ! -r $srcdir/$ac_unique_file; then | 
|---|
| 725 |     srcdir=.. | 
|---|
| 726 |   fi | 
|---|
| 727 | else | 
|---|
| 728 |   ac_srcdir_defaulted=no | 
|---|
| 729 | fi | 
|---|
| 730 | if test ! -r $srcdir/$ac_unique_file; then | 
|---|
| 731 |   if test "$ac_srcdir_defaulted" = yes; then | 
|---|
| 732 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
|---|
| 733 |    { (exit 1); exit 1; }; } | 
|---|
| 734 |   else | 
|---|
| 735 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
|---|
| 736 |    { (exit 1); exit 1; }; } | 
|---|
| 737 |   fi | 
|---|
| 738 | fi | 
|---|
| 739 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
|---|
| 740 |   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
|---|
| 741 |    { (exit 1); exit 1; }; } | 
|---|
| 742 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
|---|
| 743 | ac_env_build_alias_set=${build_alias+set} | 
|---|
| 744 | ac_env_build_alias_value=$build_alias | 
|---|
| 745 | ac_cv_env_build_alias_set=${build_alias+set} | 
|---|
| 746 | ac_cv_env_build_alias_value=$build_alias | 
|---|
| 747 | ac_env_host_alias_set=${host_alias+set} | 
|---|
| 748 | ac_env_host_alias_value=$host_alias | 
|---|
| 749 | ac_cv_env_host_alias_set=${host_alias+set} | 
|---|
| 750 | ac_cv_env_host_alias_value=$host_alias | 
|---|
| 751 | ac_env_target_alias_set=${target_alias+set} | 
|---|
| 752 | ac_env_target_alias_value=$target_alias | 
|---|
| 753 | ac_cv_env_target_alias_set=${target_alias+set} | 
|---|
| 754 | ac_cv_env_target_alias_value=$target_alias | 
|---|
| 755 | ac_env_CXX_set=${CXX+set} | 
|---|
| 756 | ac_env_CXX_value=$CXX | 
|---|
| 757 | ac_cv_env_CXX_set=${CXX+set} | 
|---|
| 758 | ac_cv_env_CXX_value=$CXX | 
|---|
| 759 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
| 760 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
| 761 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
| 762 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
| 763 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
| 764 | ac_env_LDFLAGS_value=$LDFLAGS | 
|---|
| 765 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
| 766 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
|---|
| 767 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
| 768 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
| 769 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
| 770 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
| 771 | ac_env_CC_set=${CC+set} | 
|---|
| 772 | ac_env_CC_value=$CC | 
|---|
| 773 | ac_cv_env_CC_set=${CC+set} | 
|---|
| 774 | ac_cv_env_CC_value=$CC | 
|---|
| 775 | ac_env_CFLAGS_set=${CFLAGS+set} | 
|---|
| 776 | ac_env_CFLAGS_value=$CFLAGS | 
|---|
| 777 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
|---|
| 778 | ac_cv_env_CFLAGS_value=$CFLAGS | 
|---|
| 779 | ac_env_CPP_set=${CPP+set} | 
|---|
| 780 | ac_env_CPP_value=$CPP | 
|---|
| 781 | ac_cv_env_CPP_set=${CPP+set} | 
|---|
| 782 | ac_cv_env_CPP_value=$CPP | 
|---|
| 783 |  | 
|---|
| 784 | # | 
|---|
| 785 | # Report the --help message. | 
|---|
| 786 | # | 
|---|
| 787 | if test "$ac_init_help" = "long"; then | 
|---|
| 788 |   # Omit some internal or obsolete options to make the list less imposing. | 
|---|
| 789 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
| 790 |   cat <<_ACEOF | 
|---|
| 791 | \`configure' configures orxonox 0.1-pre-alpha to adapt to many kinds of systems. | 
|---|
| 792 |  | 
|---|
| 793 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
| 794 |  | 
|---|
| 795 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
| 796 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
| 797 |  | 
|---|
| 798 | Defaults for the options are specified in brackets. | 
|---|
| 799 |  | 
|---|
| 800 | Configuration: | 
|---|
| 801 |   -h, --help              display this help and exit | 
|---|
| 802 |       --help=short        display options specific to this package | 
|---|
| 803 |       --help=recursive    display the short help of all the included packages | 
|---|
| 804 |   -V, --version           display version information and exit | 
|---|
| 805 |   -q, --quiet, --silent   do not print \`checking...' messages | 
|---|
| 806 |       --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
| 807 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
| 808 |   -n, --no-create         do not create output files | 
|---|
| 809 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
| 810 |  | 
|---|
| 811 | _ACEOF | 
|---|
| 812 |  | 
|---|
| 813 |   cat <<_ACEOF | 
|---|
| 814 | Installation directories: | 
|---|
| 815 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
| 816 |                           [$ac_default_prefix] | 
|---|
| 817 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
| 818 |                           [PREFIX] | 
|---|
| 819 |  | 
|---|
| 820 | By default, \`make install' will install all the files in | 
|---|
| 821 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
| 822 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
| 823 | for instance \`--prefix=\$HOME'. | 
|---|
| 824 |  | 
|---|
| 825 | For better control, use the options below. | 
|---|
| 826 |  | 
|---|
| 827 | Fine tuning of the installation directories: | 
|---|
| 828 |   --bindir=DIR           user executables [EPREFIX/bin] | 
|---|
| 829 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
|---|
| 830 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
|---|
| 831 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
|---|
| 832 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
|---|
| 833 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
|---|
| 834 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
|---|
| 835 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
|---|
| 836 |   --includedir=DIR       C header files [PREFIX/include] | 
|---|
| 837 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
|---|
| 838 |   --infodir=DIR          info documentation [PREFIX/info] | 
|---|
| 839 |   --mandir=DIR           man documentation [PREFIX/man] | 
|---|
| 840 | _ACEOF | 
|---|
| 841 |  | 
|---|
| 842 |   cat <<\_ACEOF | 
|---|
| 843 |  | 
|---|
| 844 | Program names: | 
|---|
| 845 |   --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|---|
| 846 |   --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|---|
| 847 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|---|
| 848 |  | 
|---|
| 849 | System types: | 
|---|
| 850 |   --build=BUILD     configure for building on BUILD [guessed] | 
|---|
| 851 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|---|
| 852 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
|---|
| 853 | _ACEOF | 
|---|
| 854 | fi | 
|---|
| 855 |  | 
|---|
| 856 | if test -n "$ac_init_help"; then | 
|---|
| 857 |   case $ac_init_help in | 
|---|
| 858 |      short | recursive ) echo "Configuration of orxonox 0.1-pre-alpha:";; | 
|---|
| 859 |    esac | 
|---|
| 860 |   cat <<\_ACEOF | 
|---|
| 861 |  | 
|---|
| 862 | Optional Features: | 
|---|
| 863 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
| 864 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| 865 |   --disable-dependency-tracking  speeds up one-time build | 
|---|
| 866 |   --enable-dependency-tracking   do not reject slow dependency extractors | 
|---|
| 867 |  | 
|---|
| 868 | Some influential environment variables: | 
|---|
| 869 |   CXX         C++ compiler command | 
|---|
| 870 |   CXXFLAGS    C++ compiler flags | 
|---|
| 871 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 872 |               nonstandard directory <lib dir> | 
|---|
| 873 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
| 874 |               headers in a nonstandard directory <include dir> | 
|---|
| 875 |   CC          C compiler command | 
|---|
| 876 |   CFLAGS      C compiler flags | 
|---|
| 877 |   CPP         C preprocessor | 
|---|
| 878 |  | 
|---|
| 879 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 880 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 881 |  | 
|---|
| 882 | Report bugs to <orxonox-dev@mail.datacore.ch>. | 
|---|
| 883 | _ACEOF | 
|---|
| 884 | fi | 
|---|
| 885 |  | 
|---|
| 886 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 887 |   # If there are subdirs, report their specific --help. | 
|---|
| 888 |   ac_popdir=`pwd` | 
|---|
| 889 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 890 |     test -d $ac_dir || continue | 
|---|
| 891 |     ac_builddir=. | 
|---|
| 892 |  | 
|---|
| 893 | if test "$ac_dir" != .; then | 
|---|
| 894 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 895 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 896 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 897 | else | 
|---|
| 898 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 899 | fi | 
|---|
| 900 |  | 
|---|
| 901 | case $srcdir in | 
|---|
| 902 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 903 |     ac_srcdir=. | 
|---|
| 904 |     if test -z "$ac_top_builddir"; then | 
|---|
| 905 |        ac_top_srcdir=. | 
|---|
| 906 |     else | 
|---|
| 907 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 908 |     fi ;; | 
|---|
| 909 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 910 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 911 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 912 |   *) # Relative path. | 
|---|
| 913 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 914 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 915 | esac | 
|---|
| 916 |  | 
|---|
| 917 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 918 | # the directories may not exist. | 
|---|
| 919 | case `pwd` in | 
|---|
| 920 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 921 | *) | 
|---|
| 922 |   case "$ac_dir" in | 
|---|
| 923 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 924 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 925 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 926 |   esac;; | 
|---|
| 927 | esac | 
|---|
| 928 | case $ac_abs_builddir in | 
|---|
| 929 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 930 | *) | 
|---|
| 931 |   case ${ac_top_builddir}. in | 
|---|
| 932 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 933 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 934 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 935 |   esac;; | 
|---|
| 936 | esac | 
|---|
| 937 | case $ac_abs_builddir in | 
|---|
| 938 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 939 | *) | 
|---|
| 940 |   case $ac_srcdir in | 
|---|
| 941 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 942 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 943 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 944 |   esac;; | 
|---|
| 945 | esac | 
|---|
| 946 | case $ac_abs_builddir in | 
|---|
| 947 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 948 | *) | 
|---|
| 949 |   case $ac_top_srcdir in | 
|---|
| 950 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 951 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 952 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 953 |   esac;; | 
|---|
| 954 | esac | 
|---|
| 955 |  | 
|---|
| 956 |     cd $ac_dir | 
|---|
| 957 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
| 958 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
| 959 |       echo | 
|---|
| 960 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
| 961 |     elif test -f $ac_srcdir/configure; then | 
|---|
| 962 |       echo | 
|---|
| 963 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
| 964 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
| 965 |            test -f $ac_srcdir/configure.in; then | 
|---|
| 966 |       echo | 
|---|
| 967 |       $ac_configure --help | 
|---|
| 968 |     else | 
|---|
| 969 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 970 |     fi | 
|---|
| 971 |     cd $ac_popdir | 
|---|
| 972 |   done | 
|---|
| 973 | fi | 
|---|
| 974 |  | 
|---|
| 975 | test -n "$ac_init_help" && exit 0 | 
|---|
| 976 | if $ac_init_version; then | 
|---|
| 977 |   cat <<\_ACEOF | 
|---|
| 978 | orxonox configure 0.1-pre-alpha | 
|---|
| 979 | generated by GNU Autoconf 2.59 | 
|---|
| 980 |  | 
|---|
| 981 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 982 | This configure script is free software; the Free Software Foundation | 
|---|
| 983 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 984 | _ACEOF | 
|---|
| 985 |   exit 0 | 
|---|
| 986 | fi | 
|---|
| 987 | exec 5>config.log | 
|---|
| 988 | cat >&5 <<_ACEOF | 
|---|
| 989 | This file contains any messages produced by compilers while | 
|---|
| 990 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 991 |  | 
|---|
| 992 | It was created by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
| 993 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 994 |  | 
|---|
| 995 |   $ $0 $@ | 
|---|
| 996 |  | 
|---|
| 997 | _ACEOF | 
|---|
| 998 | { | 
|---|
| 999 | cat <<_ASUNAME | 
|---|
| 1000 | ## --------- ## | 
|---|
| 1001 | ## Platform. ## | 
|---|
| 1002 | ## --------- ## | 
|---|
| 1003 |  | 
|---|
| 1004 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1005 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1006 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1007 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1008 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1009 |  | 
|---|
| 1010 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1011 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1012 |  | 
|---|
| 1013 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1014 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1015 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1016 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
| 1017 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1018 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1019 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1020 |  | 
|---|
| 1021 | _ASUNAME | 
|---|
| 1022 |  | 
|---|
| 1023 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1024 | for as_dir in $PATH | 
|---|
| 1025 | do | 
|---|
| 1026 |   IFS=$as_save_IFS | 
|---|
| 1027 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1028 |   echo "PATH: $as_dir" | 
|---|
| 1029 | done | 
|---|
| 1030 |  | 
|---|
| 1031 | } >&5 | 
|---|
| 1032 |  | 
|---|
| 1033 | cat >&5 <<_ACEOF | 
|---|
| 1034 |  | 
|---|
| 1035 |  | 
|---|
| 1036 | ## ----------- ## | 
|---|
| 1037 | ## Core tests. ## | 
|---|
| 1038 | ## ----------- ## | 
|---|
| 1039 |  | 
|---|
| 1040 | _ACEOF | 
|---|
| 1041 |  | 
|---|
| 1042 |  | 
|---|
| 1043 | # Keep a trace of the command line. | 
|---|
| 1044 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1045 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1046 | # Also quote any args containing shell meta-characters. | 
|---|
| 1047 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1048 | ac_configure_args= | 
|---|
| 1049 | ac_configure_args0= | 
|---|
| 1050 | ac_configure_args1= | 
|---|
| 1051 | ac_sep= | 
|---|
| 1052 | ac_must_keep_next=false | 
|---|
| 1053 | for ac_pass in 1 2 | 
|---|
| 1054 | do | 
|---|
| 1055 |   for ac_arg | 
|---|
| 1056 |   do | 
|---|
| 1057 |     case $ac_arg in | 
|---|
| 1058 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1059 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1060 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1061 |       continue ;; | 
|---|
| 1062 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1063 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1064 |     esac | 
|---|
| 1065 |     case $ac_pass in | 
|---|
| 1066 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
| 1067 |     2) | 
|---|
| 1068 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
| 1069 |       if test $ac_must_keep_next = true; then | 
|---|
| 1070 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1071 |       else | 
|---|
| 1072 |         case $ac_arg in | 
|---|
| 1073 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1074 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1075 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1076 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1077 |             case "$ac_configure_args0 " in | 
|---|
| 1078 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1079 |             esac | 
|---|
| 1080 |             ;; | 
|---|
| 1081 |           -* ) ac_must_keep_next=true ;; | 
|---|
| 1082 |         esac | 
|---|
| 1083 |       fi | 
|---|
| 1084 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
| 1085 |       # Get rid of the leading space. | 
|---|
| 1086 |       ac_sep=" " | 
|---|
| 1087 |       ;; | 
|---|
| 1088 |     esac | 
|---|
| 1089 |   done | 
|---|
| 1090 | done | 
|---|
| 1091 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
| 1092 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
| 1093 |  | 
|---|
| 1094 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1095 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1096 | # would cause problems or look ugly. | 
|---|
| 1097 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
| 1098 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
| 1099 | trap 'exit_status=$? | 
|---|
| 1100 |   # Save into config.log some information that might help in debugging. | 
|---|
| 1101 |   { | 
|---|
| 1102 |     echo | 
|---|
| 1103 |  | 
|---|
| 1104 |     cat <<\_ASBOX | 
|---|
| 1105 | ## ---------------- ## | 
|---|
| 1106 | ## Cache variables. ## | 
|---|
| 1107 | ## ---------------- ## | 
|---|
| 1108 | _ASBOX | 
|---|
| 1109 |     echo | 
|---|
| 1110 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1111 | { | 
|---|
| 1112 |   (set) 2>&1 | | 
|---|
| 1113 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
| 1114 |     *ac_space=\ *) | 
|---|
| 1115 |       sed -n \ | 
|---|
| 1116 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
| 1117 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
| 1118 |       ;; | 
|---|
| 1119 |     *) | 
|---|
| 1120 |       sed -n \ | 
|---|
| 1121 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 1122 |       ;; | 
|---|
| 1123 |     esac; | 
|---|
| 1124 | } | 
|---|
| 1125 |     echo | 
|---|
| 1126 |  | 
|---|
| 1127 |     cat <<\_ASBOX | 
|---|
| 1128 | ## ----------------- ## | 
|---|
| 1129 | ## Output variables. ## | 
|---|
| 1130 | ## ----------------- ## | 
|---|
| 1131 | _ASBOX | 
|---|
| 1132 |     echo | 
|---|
| 1133 |     for ac_var in $ac_subst_vars | 
|---|
| 1134 |     do | 
|---|
| 1135 |       eval ac_val=$`echo $ac_var` | 
|---|
| 1136 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1137 |     done | sort | 
|---|
| 1138 |     echo | 
|---|
| 1139 |  | 
|---|
| 1140 |     if test -n "$ac_subst_files"; then | 
|---|
| 1141 |       cat <<\_ASBOX | 
|---|
| 1142 | ## ------------- ## | 
|---|
| 1143 | ## Output files. ## | 
|---|
| 1144 | ## ------------- ## | 
|---|
| 1145 | _ASBOX | 
|---|
| 1146 |       echo | 
|---|
| 1147 |       for ac_var in $ac_subst_files | 
|---|
| 1148 |       do | 
|---|
| 1149 |         eval ac_val=$`echo $ac_var` | 
|---|
| 1150 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1151 |       done | sort | 
|---|
| 1152 |       echo | 
|---|
| 1153 |     fi | 
|---|
| 1154 |  | 
|---|
| 1155 |     if test -s confdefs.h; then | 
|---|
| 1156 |       cat <<\_ASBOX | 
|---|
| 1157 | ## ----------- ## | 
|---|
| 1158 | ## confdefs.h. ## | 
|---|
| 1159 | ## ----------- ## | 
|---|
| 1160 | _ASBOX | 
|---|
| 1161 |       echo | 
|---|
| 1162 |       sed "/^$/d" confdefs.h | sort | 
|---|
| 1163 |       echo | 
|---|
| 1164 |     fi | 
|---|
| 1165 |     test "$ac_signal" != 0 && | 
|---|
| 1166 |       echo "$as_me: caught signal $ac_signal" | 
|---|
| 1167 |     echo "$as_me: exit $exit_status" | 
|---|
| 1168 |   } >&5 | 
|---|
| 1169 |   rm -f core *.core && | 
|---|
| 1170 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1171 |     exit $exit_status | 
|---|
| 1172 |      ' 0 | 
|---|
| 1173 | for ac_signal in 1 2 13 15; do | 
|---|
| 1174 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
| 1175 | done | 
|---|
| 1176 | ac_signal=0 | 
|---|
| 1177 |  | 
|---|
| 1178 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1179 | rm -rf conftest* confdefs.h | 
|---|
| 1180 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
| 1181 | echo >confdefs.h | 
|---|
| 1182 |  | 
|---|
| 1183 | # Predefined preprocessor variables. | 
|---|
| 1184 |  | 
|---|
| 1185 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1186 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1187 | _ACEOF | 
|---|
| 1188 |  | 
|---|
| 1189 |  | 
|---|
| 1190 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1191 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1192 | _ACEOF | 
|---|
| 1193 |  | 
|---|
| 1194 |  | 
|---|
| 1195 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1196 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1197 | _ACEOF | 
|---|
| 1198 |  | 
|---|
| 1199 |  | 
|---|
| 1200 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1201 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1202 | _ACEOF | 
|---|
| 1203 |  | 
|---|
| 1204 |  | 
|---|
| 1205 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1206 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1207 | _ACEOF | 
|---|
| 1208 |  | 
|---|
| 1209 |  | 
|---|
| 1210 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1211 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
| 1212 | if test -z "$CONFIG_SITE"; then | 
|---|
| 1213 |   if test "x$prefix" != xNONE; then | 
|---|
| 1214 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
| 1215 |   else | 
|---|
| 1216 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
| 1217 |   fi | 
|---|
| 1218 | fi | 
|---|
| 1219 | for ac_site_file in $CONFIG_SITE; do | 
|---|
| 1220 |   if test -r "$ac_site_file"; then | 
|---|
| 1221 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
| 1222 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1223 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1224 |     . "$ac_site_file" | 
|---|
| 1225 |   fi | 
|---|
| 1226 | done | 
|---|
| 1227 |  | 
|---|
| 1228 | if test -r "$cache_file"; then | 
|---|
| 1229 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
| 1230 |   # files actually), so we avoid doing that. | 
|---|
| 1231 |   if test -f "$cache_file"; then | 
|---|
| 1232 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
| 1233 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1234 |     case $cache_file in | 
|---|
| 1235 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
| 1236 |       *)                      . ./$cache_file;; | 
|---|
| 1237 |     esac | 
|---|
| 1238 |   fi | 
|---|
| 1239 | else | 
|---|
| 1240 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
| 1241 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1242 |   >$cache_file | 
|---|
| 1243 | fi | 
|---|
| 1244 |  | 
|---|
| 1245 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1246 | # value. | 
|---|
| 1247 | ac_cache_corrupted=false | 
|---|
| 1248 | for ac_var in `(set) 2>&1 | | 
|---|
| 1249 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
| 1250 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1251 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1252 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
| 1253 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
| 1254 |   case $ac_old_set,$ac_new_set in | 
|---|
| 1255 |     set,) | 
|---|
| 1256 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1257 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1258 |       ac_cache_corrupted=: ;; | 
|---|
| 1259 |     ,set) | 
|---|
| 1260 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1261 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1262 |       ac_cache_corrupted=: ;; | 
|---|
| 1263 |     ,);; | 
|---|
| 1264 |     *) | 
|---|
| 1265 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1266 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1267 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1268 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
| 1269 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
| 1270 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
| 1271 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
| 1272 |         ac_cache_corrupted=: | 
|---|
| 1273 |       fi;; | 
|---|
| 1274 |   esac | 
|---|
| 1275 |   # Pass precious variables to config.status. | 
|---|
| 1276 |   if test "$ac_new_set" = set; then | 
|---|
| 1277 |     case $ac_new_val in | 
|---|
| 1278 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1279 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1280 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1281 |     esac | 
|---|
| 1282 |     case " $ac_configure_args " in | 
|---|
| 1283 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1284 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
| 1285 |     esac | 
|---|
| 1286 |   fi | 
|---|
| 1287 | done | 
|---|
| 1288 | if $ac_cache_corrupted; then | 
|---|
| 1289 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1290 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1291 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
| 1292 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
| 1293 |    { (exit 1); exit 1; }; } | 
|---|
| 1294 | fi | 
|---|
| 1295 |  | 
|---|
| 1296 | ac_ext=c | 
|---|
| 1297 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1298 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1299 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1300 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1301 |  | 
|---|
| 1302 |  | 
|---|
| 1303 |  | 
|---|
| 1304 |  | 
|---|
| 1305 |  | 
|---|
| 1306 |  | 
|---|
| 1307 |  | 
|---|
| 1308 |  | 
|---|
| 1309 |  | 
|---|
| 1310 |  | 
|---|
| 1311 |  | 
|---|
| 1312 |  | 
|---|
| 1313 |  | 
|---|
| 1314 |  | 
|---|
| 1315 |  | 
|---|
| 1316 |  | 
|---|
| 1317 |  | 
|---|
| 1318 |  | 
|---|
| 1319 |  | 
|---|
| 1320 |  | 
|---|
| 1321 |  | 
|---|
| 1322 |  | 
|---|
| 1323 |  | 
|---|
| 1324 |  | 
|---|
| 1325 |  | 
|---|
| 1326 |  | 
|---|
| 1327 |  | 
|---|
| 1328 |  | 
|---|
| 1329 | # Detect the canonical host and target build environment. | 
|---|
| 1330 | ac_aux_dir= | 
|---|
| 1331 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
| 1332 |   if test -f $ac_dir/install-sh; then | 
|---|
| 1333 |     ac_aux_dir=$ac_dir | 
|---|
| 1334 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 1335 |     break | 
|---|
| 1336 |   elif test -f $ac_dir/install.sh; then | 
|---|
| 1337 |     ac_aux_dir=$ac_dir | 
|---|
| 1338 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 1339 |     break | 
|---|
| 1340 |   elif test -f $ac_dir/shtool; then | 
|---|
| 1341 |     ac_aux_dir=$ac_dir | 
|---|
| 1342 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 1343 |     break | 
|---|
| 1344 |   fi | 
|---|
| 1345 | done | 
|---|
| 1346 | if test -z "$ac_aux_dir"; then | 
|---|
| 1347 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
| 1348 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
| 1349 |    { (exit 1); exit 1; }; } | 
|---|
| 1350 | fi | 
|---|
| 1351 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
| 1352 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
| 1353 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
| 1354 |  | 
|---|
| 1355 | # Make sure we can run config.sub. | 
|---|
| 1356 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
| 1357 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
| 1358 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
| 1359 |    { (exit 1); exit 1; }; } | 
|---|
| 1360 |  | 
|---|
| 1361 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
| 1362 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
| 1363 | if test "${ac_cv_build+set}" = set; then | 
|---|
| 1364 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1365 | else | 
|---|
| 1366 |   ac_cv_build_alias=$build_alias | 
|---|
| 1367 | test -z "$ac_cv_build_alias" && | 
|---|
| 1368 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
| 1369 | test -z "$ac_cv_build_alias" && | 
|---|
| 1370 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
| 1371 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
| 1372 |    { (exit 1); exit 1; }; } | 
|---|
| 1373 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
| 1374 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
| 1375 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
| 1376 |    { (exit 1); exit 1; }; } | 
|---|
| 1377 |  | 
|---|
| 1378 | fi | 
|---|
| 1379 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
| 1380 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
| 1381 | build=$ac_cv_build | 
|---|
| 1382 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1383 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1384 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1385 |  | 
|---|
| 1386 |  | 
|---|
| 1387 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
| 1388 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
| 1389 | if test "${ac_cv_host+set}" = set; then | 
|---|
| 1390 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1391 | else | 
|---|
| 1392 |   ac_cv_host_alias=$host_alias | 
|---|
| 1393 | test -z "$ac_cv_host_alias" && | 
|---|
| 1394 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
| 1395 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
| 1396 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
| 1397 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
| 1398 |    { (exit 1); exit 1; }; } | 
|---|
| 1399 |  | 
|---|
| 1400 | fi | 
|---|
| 1401 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
| 1402 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
| 1403 | host=$ac_cv_host | 
|---|
| 1404 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1405 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1406 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1407 |  | 
|---|
| 1408 |  | 
|---|
| 1409 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
| 1410 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
| 1411 | if test "${ac_cv_target+set}" = set; then | 
|---|
| 1412 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1413 | else | 
|---|
| 1414 |   ac_cv_target_alias=$target_alias | 
|---|
| 1415 | test "x$ac_cv_target_alias" = "x" && | 
|---|
| 1416 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
| 1417 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
| 1418 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
| 1419 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
| 1420 |    { (exit 1); exit 1; }; } | 
|---|
| 1421 |  | 
|---|
| 1422 | fi | 
|---|
| 1423 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
| 1424 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
| 1425 | target=$ac_cv_target | 
|---|
| 1426 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1427 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1428 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1429 |  | 
|---|
| 1430 |  | 
|---|
| 1431 | # The aliases save the names the user supplied, while $host etc. | 
|---|
| 1432 | # will get canonicalized. | 
|---|
| 1433 | test -n "$target_alias" && | 
|---|
| 1434 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
| 1435 |     NONENONEs,x,x, && | 
|---|
| 1436 |   program_prefix=${target_alias}- | 
|---|
| 1437 |  | 
|---|
| 1438 |  | 
|---|
| 1439 | am__api_version="1.8" | 
|---|
| 1440 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1441 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1442 | # incompatible versions: | 
|---|
| 1443 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1444 | # SunOS /usr/etc/install | 
|---|
| 1445 | # IRIX /sbin/install | 
|---|
| 1446 | # AIX /bin/install | 
|---|
| 1447 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 1448 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1449 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1450 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1451 | # OS/2's system install, which has a completely different semantic | 
|---|
| 1452 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1453 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
| 1454 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
| 1455 | if test -z "$INSTALL"; then | 
|---|
| 1456 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1457 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1458 | else | 
|---|
| 1459 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1460 | for as_dir in $PATH | 
|---|
| 1461 | do | 
|---|
| 1462 |   IFS=$as_save_IFS | 
|---|
| 1463 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1464 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1465 | case $as_dir/ in | 
|---|
| 1466 |   ./ | .// | /cC/* | \ | 
|---|
| 1467 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 1468 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
| 1469 |   /usr/ucb/* ) ;; | 
|---|
| 1470 |   *) | 
|---|
| 1471 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1472 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1473 |     # by default. | 
|---|
| 1474 |     for ac_prog in ginstall scoinst install; do | 
|---|
| 1475 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1476 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 1477 |           if test $ac_prog = install && | 
|---|
| 1478 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1479 |             # AIX install.  It has an incompatible calling convention. | 
|---|
| 1480 |             : | 
|---|
| 1481 |           elif test $ac_prog = install && | 
|---|
| 1482 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1483 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
| 1484 |             : | 
|---|
| 1485 |           else | 
|---|
| 1486 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 1487 |             break 3 | 
|---|
| 1488 |           fi | 
|---|
| 1489 |         fi | 
|---|
| 1490 |       done | 
|---|
| 1491 |     done | 
|---|
| 1492 |     ;; | 
|---|
| 1493 | esac | 
|---|
| 1494 | done | 
|---|
| 1495 |  | 
|---|
| 1496 |  | 
|---|
| 1497 | fi | 
|---|
| 1498 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1499 |     INSTALL=$ac_cv_path_install | 
|---|
| 1500 |   else | 
|---|
| 1501 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1502 |     # path for INSTALL within a source directory, because that will | 
|---|
| 1503 |     # break other packages using the cache if that directory is | 
|---|
| 1504 |     # removed, or if the path is relative. | 
|---|
| 1505 |     INSTALL=$ac_install_sh | 
|---|
| 1506 |   fi | 
|---|
| 1507 | fi | 
|---|
| 1508 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
| 1509 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
| 1510 |  | 
|---|
| 1511 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1512 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1513 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1514 |  | 
|---|
| 1515 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 1516 |  | 
|---|
| 1517 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1518 |  | 
|---|
| 1519 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
| 1520 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
| 1521 | # Just in case | 
|---|
| 1522 | sleep 1 | 
|---|
| 1523 | echo timestamp > conftest.file | 
|---|
| 1524 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 1525 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 1526 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 1527 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 1528 | # directory). | 
|---|
| 1529 | if ( | 
|---|
| 1530 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
| 1531 |    if test "$*" = "X"; then | 
|---|
| 1532 |       # -L didn't work. | 
|---|
| 1533 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
| 1534 |    fi | 
|---|
| 1535 |    rm -f conftest.file | 
|---|
| 1536 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 1537 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 1538 |  | 
|---|
| 1539 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 1540 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 1541 |       # broken ls alias from the environment.  This has actually | 
|---|
| 1542 |       # happened.  Such a system could not be considered "sane". | 
|---|
| 1543 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1544 | alias in your environment" >&5 | 
|---|
| 1545 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1546 | alias in your environment" >&2;} | 
|---|
| 1547 |    { (exit 1); exit 1; }; } | 
|---|
| 1548 |    fi | 
|---|
| 1549 |  | 
|---|
| 1550 |    test "$2" = conftest.file | 
|---|
| 1551 |    ) | 
|---|
| 1552 | then | 
|---|
| 1553 |    # Ok. | 
|---|
| 1554 |    : | 
|---|
| 1555 | else | 
|---|
| 1556 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
| 1557 | Check your system clock" >&5 | 
|---|
| 1558 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
| 1559 | Check your system clock" >&2;} | 
|---|
| 1560 |    { (exit 1); exit 1; }; } | 
|---|
| 1561 | fi | 
|---|
| 1562 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1563 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1564 | test "$program_prefix" != NONE && | 
|---|
| 1565 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
| 1566 | # Use a double $ so make ignores it. | 
|---|
| 1567 | test "$program_suffix" != NONE && | 
|---|
| 1568 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
| 1569 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 1570 | # By default was `s,x,x', remove it if useless. | 
|---|
| 1571 | cat <<\_ACEOF >conftest.sed | 
|---|
| 1572 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
| 1573 | _ACEOF | 
|---|
| 1574 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
| 1575 | rm conftest.sed | 
|---|
| 1576 |  | 
|---|
| 1577 | # expand $ac_aux_dir to an absolute path | 
|---|
| 1578 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 1579 |  | 
|---|
| 1580 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
| 1581 | # Use eval to expand $SHELL | 
|---|
| 1582 | if eval "$MISSING --run true"; then | 
|---|
| 1583 |   am_missing_run="$MISSING --run " | 
|---|
| 1584 | else | 
|---|
| 1585 |   am_missing_run= | 
|---|
| 1586 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
| 1587 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
| 1588 | fi | 
|---|
| 1589 |  | 
|---|
| 1590 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| 1591 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
| 1592 |   # argument.  Indeed, we sometimes output rules like | 
|---|
| 1593 |   #   $(mkdir_p) $(somedir) | 
|---|
| 1594 |   # where $(somedir) is conditionally defined. | 
|---|
| 1595 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
| 1596 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
| 1597 |   mkdir_p='mkdir -p -- .' | 
|---|
| 1598 | else | 
|---|
| 1599 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
| 1600 |   # recognize any option.  It will interpret all options as | 
|---|
| 1601 |   # directories to create, and then abort because `.' already | 
|---|
| 1602 |   # exists. | 
|---|
| 1603 |   for d in ./-p ./--version; | 
|---|
| 1604 |   do | 
|---|
| 1605 |     test -d $d && rmdir $d | 
|---|
| 1606 |   done | 
|---|
| 1607 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
| 1608 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
| 1609 |     mkdir_p='$(mkinstalldirs)' | 
|---|
| 1610 |   else | 
|---|
| 1611 |     mkdir_p='$(install_sh) -d' | 
|---|
| 1612 |   fi | 
|---|
| 1613 | fi | 
|---|
| 1614 |  | 
|---|
| 1615 | for ac_prog in gawk mawk nawk awk | 
|---|
| 1616 | do | 
|---|
| 1617 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1618 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1619 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1620 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1621 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
| 1622 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1623 | else | 
|---|
| 1624 |   if test -n "$AWK"; then | 
|---|
| 1625 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 1626 | else | 
|---|
| 1627 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1628 | for as_dir in $PATH | 
|---|
| 1629 | do | 
|---|
| 1630 |   IFS=$as_save_IFS | 
|---|
| 1631 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1632 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1633 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1634 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
| 1635 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1636 |     break 2 | 
|---|
| 1637 |   fi | 
|---|
| 1638 | done | 
|---|
| 1639 | done | 
|---|
| 1640 |  | 
|---|
| 1641 | fi | 
|---|
| 1642 | fi | 
|---|
| 1643 | AWK=$ac_cv_prog_AWK | 
|---|
| 1644 | if test -n "$AWK"; then | 
|---|
| 1645 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
| 1646 | echo "${ECHO_T}$AWK" >&6 | 
|---|
| 1647 | else | 
|---|
| 1648 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1649 | echo "${ECHO_T}no" >&6 | 
|---|
| 1650 | fi | 
|---|
| 1651 |  | 
|---|
| 1652 |   test -n "$AWK" && break | 
|---|
| 1653 | done | 
|---|
| 1654 |  | 
|---|
| 1655 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 1656 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
| 1657 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
| 1658 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
| 1659 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1660 | else | 
|---|
| 1661 |   cat >conftest.make <<\_ACEOF | 
|---|
| 1662 | all: | 
|---|
| 1663 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
| 1664 | _ACEOF | 
|---|
| 1665 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 1666 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
| 1667 | if test -n "$ac_maketemp"; then | 
|---|
| 1668 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 1669 | else | 
|---|
| 1670 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 1671 | fi | 
|---|
| 1672 | rm -f conftest.make | 
|---|
| 1673 | fi | 
|---|
| 1674 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 1675 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1676 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1677 |   SET_MAKE= | 
|---|
| 1678 | else | 
|---|
| 1679 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1680 | echo "${ECHO_T}no" >&6 | 
|---|
| 1681 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 1682 | fi | 
|---|
| 1683 |  | 
|---|
| 1684 | rm -rf .tst 2>/dev/null | 
|---|
| 1685 | mkdir .tst 2>/dev/null | 
|---|
| 1686 | if test -d .tst; then | 
|---|
| 1687 |   am__leading_dot=. | 
|---|
| 1688 | else | 
|---|
| 1689 |   am__leading_dot=_ | 
|---|
| 1690 | fi | 
|---|
| 1691 | rmdir .tst 2>/dev/null | 
|---|
| 1692 |  | 
|---|
| 1693 | # test to see if srcdir already configured | 
|---|
| 1694 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
| 1695 |    test -f $srcdir/config.status; then | 
|---|
| 1696 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
| 1697 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
| 1698 |    { (exit 1); exit 1; }; } | 
|---|
| 1699 | fi | 
|---|
| 1700 |  | 
|---|
| 1701 | # test whether we have cygpath | 
|---|
| 1702 | if test -z "$CYGPATH_W"; then | 
|---|
| 1703 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 1704 |     CYGPATH_W='cygpath -w' | 
|---|
| 1705 |   else | 
|---|
| 1706 |     CYGPATH_W=echo | 
|---|
| 1707 |   fi | 
|---|
| 1708 | fi | 
|---|
| 1709 |  | 
|---|
| 1710 |  | 
|---|
| 1711 | # Define the identity of the package. | 
|---|
| 1712 |  PACKAGE='orxonox' | 
|---|
| 1713 |  VERSION='0.1-pre-alpha' | 
|---|
| 1714 |  | 
|---|
| 1715 |  | 
|---|
| 1716 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1717 | #define PACKAGE "$PACKAGE" | 
|---|
| 1718 | _ACEOF | 
|---|
| 1719 |  | 
|---|
| 1720 |  | 
|---|
| 1721 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1722 | #define VERSION "$VERSION" | 
|---|
| 1723 | _ACEOF | 
|---|
| 1724 |  | 
|---|
| 1725 | # Some tools Automake needs. | 
|---|
| 1726 |  | 
|---|
| 1727 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 1728 |  | 
|---|
| 1729 |  | 
|---|
| 1730 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 1731 |  | 
|---|
| 1732 |  | 
|---|
| 1733 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 1734 |  | 
|---|
| 1735 |  | 
|---|
| 1736 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 1737 |  | 
|---|
| 1738 |  | 
|---|
| 1739 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 1740 |  | 
|---|
| 1741 |  | 
|---|
| 1742 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
| 1743 |  | 
|---|
| 1744 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
| 1745 |  | 
|---|
| 1746 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
| 1747 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
| 1748 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 1749 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
| 1750 | if test "$cross_compiling" != no; then | 
|---|
| 1751 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 1752 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 1753 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 1754 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1755 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1756 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
| 1757 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1758 | else | 
|---|
| 1759 |   if test -n "$STRIP"; then | 
|---|
| 1760 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 1761 | else | 
|---|
| 1762 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1763 | for as_dir in $PATH | 
|---|
| 1764 | do | 
|---|
| 1765 |   IFS=$as_save_IFS | 
|---|
| 1766 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1767 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1768 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1769 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 1770 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1771 |     break 2 | 
|---|
| 1772 |   fi | 
|---|
| 1773 | done | 
|---|
| 1774 | done | 
|---|
| 1775 |  | 
|---|
| 1776 | fi | 
|---|
| 1777 | fi | 
|---|
| 1778 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 1779 | if test -n "$STRIP"; then | 
|---|
| 1780 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
| 1781 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
| 1782 | else | 
|---|
| 1783 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1784 | echo "${ECHO_T}no" >&6 | 
|---|
| 1785 | fi | 
|---|
| 1786 |  | 
|---|
| 1787 | fi | 
|---|
| 1788 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 1789 |   ac_ct_STRIP=$STRIP | 
|---|
| 1790 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 1791 | set dummy strip; ac_word=$2 | 
|---|
| 1792 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1793 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1794 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
| 1795 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1796 | else | 
|---|
| 1797 |   if test -n "$ac_ct_STRIP"; then | 
|---|
| 1798 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 1799 | else | 
|---|
| 1800 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1801 | for as_dir in $PATH | 
|---|
| 1802 | do | 
|---|
| 1803 |   IFS=$as_save_IFS | 
|---|
| 1804 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1805 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1806 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1807 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 1808 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1809 |     break 2 | 
|---|
| 1810 |   fi | 
|---|
| 1811 | done | 
|---|
| 1812 | done | 
|---|
| 1813 |  | 
|---|
| 1814 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
| 1815 | fi | 
|---|
| 1816 | fi | 
|---|
| 1817 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 1818 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 1819 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
| 1820 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
| 1821 | else | 
|---|
| 1822 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1823 | echo "${ECHO_T}no" >&6 | 
|---|
| 1824 | fi | 
|---|
| 1825 |  | 
|---|
| 1826 |   STRIP=$ac_ct_STRIP | 
|---|
| 1827 | else | 
|---|
| 1828 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
| 1829 | fi | 
|---|
| 1830 |  | 
|---|
| 1831 | fi | 
|---|
| 1832 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
| 1833 |  | 
|---|
| 1834 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
| 1835 | # some platforms. | 
|---|
| 1836 |  | 
|---|
| 1837 |  | 
|---|
| 1838 |  | 
|---|
| 1839 |  | 
|---|
| 1840 |  | 
|---|
| 1841 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
| 1842 |  | 
|---|
| 1843 |  | 
|---|
| 1844 |  | 
|---|
| 1845 | # Checks for programs. | 
|---|
| 1846 | ac_ext=cc | 
|---|
| 1847 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 1848 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1849 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1850 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 1851 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1852 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1853 |   do | 
|---|
| 1854 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 1855 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 1856 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1857 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1858 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
| 1859 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1860 | else | 
|---|
| 1861 |   if test -n "$CXX"; then | 
|---|
| 1862 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1863 | else | 
|---|
| 1864 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1865 | for as_dir in $PATH | 
|---|
| 1866 | do | 
|---|
| 1867 |   IFS=$as_save_IFS | 
|---|
| 1868 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1869 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1870 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1871 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 1872 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1873 |     break 2 | 
|---|
| 1874 |   fi | 
|---|
| 1875 | done | 
|---|
| 1876 | done | 
|---|
| 1877 |  | 
|---|
| 1878 | fi | 
|---|
| 1879 | fi | 
|---|
| 1880 | CXX=$ac_cv_prog_CXX | 
|---|
| 1881 | if test -n "$CXX"; then | 
|---|
| 1882 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
| 1883 | echo "${ECHO_T}$CXX" >&6 | 
|---|
| 1884 | else | 
|---|
| 1885 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1886 | echo "${ECHO_T}no" >&6 | 
|---|
| 1887 | fi | 
|---|
| 1888 |  | 
|---|
| 1889 |     test -n "$CXX" && break | 
|---|
| 1890 |   done | 
|---|
| 1891 | fi | 
|---|
| 1892 | if test -z "$CXX"; then | 
|---|
| 1893 |   ac_ct_CXX=$CXX | 
|---|
| 1894 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1895 | do | 
|---|
| 1896 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1897 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1898 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1899 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1900 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
| 1901 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1902 | else | 
|---|
| 1903 |   if test -n "$ac_ct_CXX"; then | 
|---|
| 1904 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 1905 | else | 
|---|
| 1906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1907 | for as_dir in $PATH | 
|---|
| 1908 | do | 
|---|
| 1909 |   IFS=$as_save_IFS | 
|---|
| 1910 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1911 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1912 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1913 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 1914 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1915 |     break 2 | 
|---|
| 1916 |   fi | 
|---|
| 1917 | done | 
|---|
| 1918 | done | 
|---|
| 1919 |  | 
|---|
| 1920 | fi | 
|---|
| 1921 | fi | 
|---|
| 1922 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 1923 | if test -n "$ac_ct_CXX"; then | 
|---|
| 1924 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
| 1925 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
| 1926 | else | 
|---|
| 1927 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1928 | echo "${ECHO_T}no" >&6 | 
|---|
| 1929 | fi | 
|---|
| 1930 |  | 
|---|
| 1931 |   test -n "$ac_ct_CXX" && break | 
|---|
| 1932 | done | 
|---|
| 1933 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
| 1934 |  | 
|---|
| 1935 |   CXX=$ac_ct_CXX | 
|---|
| 1936 | fi | 
|---|
| 1937 |  | 
|---|
| 1938 |  | 
|---|
| 1939 | # Provide some information about the compiler. | 
|---|
| 1940 | echo "$as_me:$LINENO:" \ | 
|---|
| 1941 |      "checking for C++ compiler version" >&5 | 
|---|
| 1942 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 1943 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 1944 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 1945 |   ac_status=$? | 
|---|
| 1946 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1947 |   (exit $ac_status); } | 
|---|
| 1948 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 1949 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 1950 |   ac_status=$? | 
|---|
| 1951 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1952 |   (exit $ac_status); } | 
|---|
| 1953 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 1954 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 1955 |   ac_status=$? | 
|---|
| 1956 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1957 |   (exit $ac_status); } | 
|---|
| 1958 |  | 
|---|
| 1959 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1960 | /* confdefs.h.  */ | 
|---|
| 1961 | _ACEOF | 
|---|
| 1962 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 1963 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 1964 | /* end confdefs.h.  */ | 
|---|
| 1965 |  | 
|---|
| 1966 | int | 
|---|
| 1967 | main () | 
|---|
| 1968 | { | 
|---|
| 1969 |  | 
|---|
| 1970 |   ; | 
|---|
| 1971 |   return 0; | 
|---|
| 1972 | } | 
|---|
| 1973 | _ACEOF | 
|---|
| 1974 | ac_clean_files_save=$ac_clean_files | 
|---|
| 1975 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
| 1976 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 1977 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 1978 | # of exeext. | 
|---|
| 1979 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
| 1980 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
| 1981 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 1982 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
| 1983 |   (eval $ac_link_default) 2>&5 | 
|---|
| 1984 |   ac_status=$? | 
|---|
| 1985 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1986 |   (exit $ac_status); }; then | 
|---|
| 1987 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
| 1988 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
| 1989 | # resort. | 
|---|
| 1990 |  | 
|---|
| 1991 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
| 1992 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
| 1993 | ac_cv_exeext= | 
|---|
| 1994 | # b.out is created by i960 compilers. | 
|---|
| 1995 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
| 1996 | do | 
|---|
| 1997 |   test -f "$ac_file" || continue | 
|---|
| 1998 |   case $ac_file in | 
|---|
| 1999 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
| 2000 |         ;; | 
|---|
| 2001 |     conftest.$ac_ext ) | 
|---|
| 2002 |         # This is the source file. | 
|---|
| 2003 |         ;; | 
|---|
| 2004 |     [ab].out ) | 
|---|
| 2005 |         # We found the default executable, but exeext='' is most | 
|---|
| 2006 |         # certainly right. | 
|---|
| 2007 |         break;; | 
|---|
| 2008 |     *.* ) | 
|---|
| 2009 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2010 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
| 2011 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
| 2012 |         # maintain Libtool? --akim. | 
|---|
| 2013 |         export ac_cv_exeext | 
|---|
| 2014 |         break;; | 
|---|
| 2015 |     * ) | 
|---|
| 2016 |         break;; | 
|---|
| 2017 |   esac | 
|---|
| 2018 | done | 
|---|
| 2019 | else | 
|---|
| 2020 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2021 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2022 |  | 
|---|
| 2023 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
| 2024 | See \`config.log' for more details." >&5 | 
|---|
| 2025 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
| 2026 | See \`config.log' for more details." >&2;} | 
|---|
| 2027 |    { (exit 77); exit 77; }; } | 
|---|
| 2028 | fi | 
|---|
| 2029 |  | 
|---|
| 2030 | ac_exeext=$ac_cv_exeext | 
|---|
| 2031 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
| 2032 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
| 2033 |  | 
|---|
| 2034 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2035 | # the compiler is broken, or we cross compile. | 
|---|
| 2036 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
| 2037 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
| 2038 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
| 2039 | # If not cross compiling, check that we can run a simple program. | 
|---|
| 2040 | if test "$cross_compiling" != yes; then | 
|---|
| 2041 |   if { ac_try='./$ac_file' | 
|---|
| 2042 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2043 |   (eval $ac_try) 2>&5 | 
|---|
| 2044 |   ac_status=$? | 
|---|
| 2045 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2046 |   (exit $ac_status); }; }; then | 
|---|
| 2047 |     cross_compiling=no | 
|---|
| 2048 |   else | 
|---|
| 2049 |     if test "$cross_compiling" = maybe; then | 
|---|
| 2050 |         cross_compiling=yes | 
|---|
| 2051 |     else | 
|---|
| 2052 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
| 2053 | If you meant to cross compile, use \`--host'. | 
|---|
| 2054 | See \`config.log' for more details." >&5 | 
|---|
| 2055 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
| 2056 | If you meant to cross compile, use \`--host'. | 
|---|
| 2057 | See \`config.log' for more details." >&2;} | 
|---|
| 2058 |    { (exit 1); exit 1; }; } | 
|---|
| 2059 |     fi | 
|---|
| 2060 |   fi | 
|---|
| 2061 | fi | 
|---|
| 2062 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 2063 | echo "${ECHO_T}yes" >&6 | 
|---|
| 2064 |  | 
|---|
| 2065 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
| 2066 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2067 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 2068 | # the compiler is broken, or we cross compile. | 
|---|
| 2069 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
| 2070 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
| 2071 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
| 2072 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
| 2073 |  | 
|---|
| 2074 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
| 2075 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
| 2076 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 2077 |   (eval $ac_link) 2>&5 | 
|---|
| 2078 |   ac_status=$? | 
|---|
| 2079 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2080 |   (exit $ac_status); }; then | 
|---|
| 2081 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 2082 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 2083 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 2084 | # `rm'. | 
|---|
| 2085 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 2086 |   test -f "$ac_file" || continue | 
|---|
| 2087 |   case $ac_file in | 
|---|
| 2088 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
| 2089 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2090 |           export ac_cv_exeext | 
|---|
| 2091 |           break;; | 
|---|
| 2092 |     * ) break;; | 
|---|
| 2093 |   esac | 
|---|
| 2094 | done | 
|---|
| 2095 | else | 
|---|
| 2096 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2097 | See \`config.log' for more details." >&5 | 
|---|
| 2098 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 2099 | See \`config.log' for more details." >&2;} | 
|---|
| 2100 |    { (exit 1); exit 1; }; } | 
|---|
| 2101 | fi | 
|---|
| 2102 |  | 
|---|
| 2103 | rm -f conftest$ac_cv_exeext | 
|---|
| 2104 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
| 2105 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
| 2106 |  | 
|---|
| 2107 | rm -f conftest.$ac_ext | 
|---|
| 2108 | EXEEXT=$ac_cv_exeext | 
|---|
| 2109 | ac_exeext=$EXEEXT | 
|---|
| 2110 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
| 2111 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
| 2112 | if test "${ac_cv_objext+set}" = set; then | 
|---|
| 2113 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2114 | else | 
|---|
| 2115 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2116 | /* confdefs.h.  */ | 
|---|
| 2117 | _ACEOF | 
|---|
| 2118 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2119 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2120 | /* end confdefs.h.  */ | 
|---|
| 2121 |  | 
|---|
| 2122 | int | 
|---|
| 2123 | main () | 
|---|
| 2124 | { | 
|---|
| 2125 |  | 
|---|
| 2126 |   ; | 
|---|
| 2127 |   return 0; | 
|---|
| 2128 | } | 
|---|
| 2129 | _ACEOF | 
|---|
| 2130 | rm -f conftest.o conftest.obj | 
|---|
| 2131 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2132 |   (eval $ac_compile) 2>&5 | 
|---|
| 2133 |   ac_status=$? | 
|---|
| 2134 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2135 |   (exit $ac_status); }; then | 
|---|
| 2136 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
| 2137 |   case $ac_file in | 
|---|
| 2138 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
| 2139 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2140 |        break;; | 
|---|
| 2141 |   esac | 
|---|
| 2142 | done | 
|---|
| 2143 | else | 
|---|
| 2144 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2145 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2146 |  | 
|---|
| 2147 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2148 | See \`config.log' for more details." >&5 | 
|---|
| 2149 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2150 | See \`config.log' for more details." >&2;} | 
|---|
| 2151 |    { (exit 1); exit 1; }; } | 
|---|
| 2152 | fi | 
|---|
| 2153 |  | 
|---|
| 2154 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2155 | fi | 
|---|
| 2156 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
| 2157 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
| 2158 | OBJEXT=$ac_cv_objext | 
|---|
| 2159 | ac_objext=$OBJEXT | 
|---|
| 2160 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 2161 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
| 2162 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
| 2163 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2164 | else | 
|---|
| 2165 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2166 | /* confdefs.h.  */ | 
|---|
| 2167 | _ACEOF | 
|---|
| 2168 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2169 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2170 | /* end confdefs.h.  */ | 
|---|
| 2171 |  | 
|---|
| 2172 | int | 
|---|
| 2173 | main () | 
|---|
| 2174 | { | 
|---|
| 2175 | #ifndef __GNUC__ | 
|---|
| 2176 |        choke me | 
|---|
| 2177 | #endif | 
|---|
| 2178 |  | 
|---|
| 2179 |   ; | 
|---|
| 2180 |   return 0; | 
|---|
| 2181 | } | 
|---|
| 2182 | _ACEOF | 
|---|
| 2183 | rm -f conftest.$ac_objext | 
|---|
| 2184 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2185 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2186 |   ac_status=$? | 
|---|
| 2187 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2188 |   rm -f conftest.er1 | 
|---|
| 2189 |   cat conftest.err >&5 | 
|---|
| 2190 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2191 |   (exit $ac_status); } && | 
|---|
| 2192 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2193 |                          || test ! -s conftest.err' | 
|---|
| 2194 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2195 |   (eval $ac_try) 2>&5 | 
|---|
| 2196 |   ac_status=$? | 
|---|
| 2197 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2198 |   (exit $ac_status); }; } && | 
|---|
| 2199 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2200 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2201 |   (eval $ac_try) 2>&5 | 
|---|
| 2202 |   ac_status=$? | 
|---|
| 2203 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2204 |   (exit $ac_status); }; }; then | 
|---|
| 2205 |   ac_compiler_gnu=yes | 
|---|
| 2206 | else | 
|---|
| 2207 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2208 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2209 |  | 
|---|
| 2210 | ac_compiler_gnu=no | 
|---|
| 2211 | fi | 
|---|
| 2212 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2213 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2214 |  | 
|---|
| 2215 | fi | 
|---|
| 2216 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 2217 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
| 2218 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2219 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 2220 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 2221 | CXXFLAGS="-g" | 
|---|
| 2222 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
| 2223 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
| 2224 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
| 2225 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2226 | else | 
|---|
| 2227 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2228 | /* confdefs.h.  */ | 
|---|
| 2229 | _ACEOF | 
|---|
| 2230 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2231 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2232 | /* end confdefs.h.  */ | 
|---|
| 2233 |  | 
|---|
| 2234 | int | 
|---|
| 2235 | main () | 
|---|
| 2236 | { | 
|---|
| 2237 |  | 
|---|
| 2238 |   ; | 
|---|
| 2239 |   return 0; | 
|---|
| 2240 | } | 
|---|
| 2241 | _ACEOF | 
|---|
| 2242 | rm -f conftest.$ac_objext | 
|---|
| 2243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2244 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2245 |   ac_status=$? | 
|---|
| 2246 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2247 |   rm -f conftest.er1 | 
|---|
| 2248 |   cat conftest.err >&5 | 
|---|
| 2249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2250 |   (exit $ac_status); } && | 
|---|
| 2251 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2252 |                          || test ! -s conftest.err' | 
|---|
| 2253 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2254 |   (eval $ac_try) 2>&5 | 
|---|
| 2255 |   ac_status=$? | 
|---|
| 2256 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2257 |   (exit $ac_status); }; } && | 
|---|
| 2258 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2259 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2260 |   (eval $ac_try) 2>&5 | 
|---|
| 2261 |   ac_status=$? | 
|---|
| 2262 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2263 |   (exit $ac_status); }; }; then | 
|---|
| 2264 |   ac_cv_prog_cxx_g=yes | 
|---|
| 2265 | else | 
|---|
| 2266 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2267 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2268 |  | 
|---|
| 2269 | ac_cv_prog_cxx_g=no | 
|---|
| 2270 | fi | 
|---|
| 2271 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2272 | fi | 
|---|
| 2273 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 2274 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
| 2275 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 2276 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 2277 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 2278 |   if test "$GXX" = yes; then | 
|---|
| 2279 |     CXXFLAGS="-g -O2" | 
|---|
| 2280 |   else | 
|---|
| 2281 |     CXXFLAGS="-g" | 
|---|
| 2282 |   fi | 
|---|
| 2283 | else | 
|---|
| 2284 |   if test "$GXX" = yes; then | 
|---|
| 2285 |     CXXFLAGS="-O2" | 
|---|
| 2286 |   else | 
|---|
| 2287 |     CXXFLAGS= | 
|---|
| 2288 |   fi | 
|---|
| 2289 | fi | 
|---|
| 2290 | for ac_declaration in \ | 
|---|
| 2291 |    '' \ | 
|---|
| 2292 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 2293 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 2294 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 2295 |    'extern "C" void exit (int);' \ | 
|---|
| 2296 |    'void exit (int);' | 
|---|
| 2297 | do | 
|---|
| 2298 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2299 | /* confdefs.h.  */ | 
|---|
| 2300 | _ACEOF | 
|---|
| 2301 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2302 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2303 | /* end confdefs.h.  */ | 
|---|
| 2304 | $ac_declaration | 
|---|
| 2305 | #include <stdlib.h> | 
|---|
| 2306 | int | 
|---|
| 2307 | main () | 
|---|
| 2308 | { | 
|---|
| 2309 | exit (42); | 
|---|
| 2310 |   ; | 
|---|
| 2311 |   return 0; | 
|---|
| 2312 | } | 
|---|
| 2313 | _ACEOF | 
|---|
| 2314 | rm -f conftest.$ac_objext | 
|---|
| 2315 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2316 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2317 |   ac_status=$? | 
|---|
| 2318 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2319 |   rm -f conftest.er1 | 
|---|
| 2320 |   cat conftest.err >&5 | 
|---|
| 2321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2322 |   (exit $ac_status); } && | 
|---|
| 2323 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2324 |                          || test ! -s conftest.err' | 
|---|
| 2325 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2326 |   (eval $ac_try) 2>&5 | 
|---|
| 2327 |   ac_status=$? | 
|---|
| 2328 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2329 |   (exit $ac_status); }; } && | 
|---|
| 2330 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2331 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2332 |   (eval $ac_try) 2>&5 | 
|---|
| 2333 |   ac_status=$? | 
|---|
| 2334 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2335 |   (exit $ac_status); }; }; then | 
|---|
| 2336 |   : | 
|---|
| 2337 | else | 
|---|
| 2338 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2339 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2340 |  | 
|---|
| 2341 | continue | 
|---|
| 2342 | fi | 
|---|
| 2343 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2344 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2345 | /* confdefs.h.  */ | 
|---|
| 2346 | _ACEOF | 
|---|
| 2347 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2348 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2349 | /* end confdefs.h.  */ | 
|---|
| 2350 | $ac_declaration | 
|---|
| 2351 | int | 
|---|
| 2352 | main () | 
|---|
| 2353 | { | 
|---|
| 2354 | exit (42); | 
|---|
| 2355 |   ; | 
|---|
| 2356 |   return 0; | 
|---|
| 2357 | } | 
|---|
| 2358 | _ACEOF | 
|---|
| 2359 | rm -f conftest.$ac_objext | 
|---|
| 2360 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2361 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2362 |   ac_status=$? | 
|---|
| 2363 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2364 |   rm -f conftest.er1 | 
|---|
| 2365 |   cat conftest.err >&5 | 
|---|
| 2366 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2367 |   (exit $ac_status); } && | 
|---|
| 2368 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2369 |                          || test ! -s conftest.err' | 
|---|
| 2370 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2371 |   (eval $ac_try) 2>&5 | 
|---|
| 2372 |   ac_status=$? | 
|---|
| 2373 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2374 |   (exit $ac_status); }; } && | 
|---|
| 2375 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2376 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2377 |   (eval $ac_try) 2>&5 | 
|---|
| 2378 |   ac_status=$? | 
|---|
| 2379 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2380 |   (exit $ac_status); }; }; then | 
|---|
| 2381 |   break | 
|---|
| 2382 | else | 
|---|
| 2383 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2384 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2385 |  | 
|---|
| 2386 | fi | 
|---|
| 2387 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2388 | done | 
|---|
| 2389 | rm -f conftest* | 
|---|
| 2390 | if test -n "$ac_declaration"; then | 
|---|
| 2391 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 2392 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 2393 |   echo '#endif'             >>confdefs.h | 
|---|
| 2394 | fi | 
|---|
| 2395 |  | 
|---|
| 2396 | ac_ext=c | 
|---|
| 2397 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2398 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2399 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2400 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2401 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 2402 |  | 
|---|
| 2403 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 2404 |  | 
|---|
| 2405 |  | 
|---|
| 2406 | am_make=${MAKE-make} | 
|---|
| 2407 | cat > confinc << 'END' | 
|---|
| 2408 | am__doit: | 
|---|
| 2409 |         @echo done | 
|---|
| 2410 | .PHONY: am__doit | 
|---|
| 2411 | END | 
|---|
| 2412 | # If we don't find an include directive, just comment out the code. | 
|---|
| 2413 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
| 2414 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
| 2415 | am__include="#" | 
|---|
| 2416 | am__quote= | 
|---|
| 2417 | _am_result=none | 
|---|
| 2418 | # First try GNU make style include. | 
|---|
| 2419 | echo "include confinc" > confmf | 
|---|
| 2420 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
| 2421 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
| 2422 | # In particular we don't look at `^make:' because GNU make might | 
|---|
| 2423 | # be invoked under some other name (usually "gmake"), in which | 
|---|
| 2424 | # case it prints its new name instead of `make'. | 
|---|
| 2425 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
| 2426 |    am__include=include | 
|---|
| 2427 |    am__quote= | 
|---|
| 2428 |    _am_result=GNU | 
|---|
| 2429 | fi | 
|---|
| 2430 | # Now try BSD make style include. | 
|---|
| 2431 | if test "$am__include" = "#"; then | 
|---|
| 2432 |    echo '.include "confinc"' > confmf | 
|---|
| 2433 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
| 2434 |       am__include=.include | 
|---|
| 2435 |       am__quote="\"" | 
|---|
| 2436 |       _am_result=BSD | 
|---|
| 2437 |    fi | 
|---|
| 2438 | fi | 
|---|
| 2439 |  | 
|---|
| 2440 |  | 
|---|
| 2441 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
| 2442 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
| 2443 | rm -f confinc confmf | 
|---|
| 2444 |  | 
|---|
| 2445 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
| 2446 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
| 2447 |   enableval="$enable_dependency_tracking" | 
|---|
| 2448 |  | 
|---|
| 2449 | fi; | 
|---|
| 2450 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2451 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 2452 |   AMDEPBACKSLASH='\' | 
|---|
| 2453 | fi | 
|---|
| 2454 |  | 
|---|
| 2455 |  | 
|---|
| 2456 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2457 |   AMDEP_TRUE= | 
|---|
| 2458 |   AMDEP_FALSE='#' | 
|---|
| 2459 | else | 
|---|
| 2460 |   AMDEP_TRUE='#' | 
|---|
| 2461 |   AMDEP_FALSE= | 
|---|
| 2462 | fi | 
|---|
| 2463 |  | 
|---|
| 2464 |  | 
|---|
| 2465 |  | 
|---|
| 2466 |  | 
|---|
| 2467 | depcc="$CXX"  am_compiler_list= | 
|---|
| 2468 |  | 
|---|
| 2469 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 2470 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 2471 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
| 2472 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2473 | else | 
|---|
| 2474 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 2475 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 2476 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 2477 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 2478 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 2479 |   # in D'. | 
|---|
| 2480 |   mkdir conftest.dir | 
|---|
| 2481 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 2482 |   # using a relative directory. | 
|---|
| 2483 |   cp "$am_depcomp" conftest.dir | 
|---|
| 2484 |   cd conftest.dir | 
|---|
| 2485 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 2486 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 2487 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 2488 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 2489 |   # the current directory while Tru64 will put them in the object | 
|---|
| 2490 |   # directory. | 
|---|
| 2491 |   mkdir sub | 
|---|
| 2492 |  | 
|---|
| 2493 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2494 |   if test "$am_compiler_list" = ""; then | 
|---|
| 2495 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 2496 |   fi | 
|---|
| 2497 |   for depmode in $am_compiler_list; do | 
|---|
| 2498 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 2499 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 2500 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 2501 |     # | 
|---|
| 2502 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 2503 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 2504 |     # This happens at least with the AIX C compiler. | 
|---|
| 2505 |     : > sub/conftest.c | 
|---|
| 2506 |     for i in 1 2 3 4 5 6; do | 
|---|
| 2507 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 2508 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 2509 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 2510 |       touch sub/conftst$i.h | 
|---|
| 2511 |     done | 
|---|
| 2512 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 2513 |  | 
|---|
| 2514 |     case $depmode in | 
|---|
| 2515 |     nosideeffect) | 
|---|
| 2516 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 2517 |       # only be used when explicitly requested | 
|---|
| 2518 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 2519 |         continue | 
|---|
| 2520 |       else | 
|---|
| 2521 |         break | 
|---|
| 2522 |       fi | 
|---|
| 2523 |       ;; | 
|---|
| 2524 |     none) break ;; | 
|---|
| 2525 |     esac | 
|---|
| 2526 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 2527 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 2528 |     # handle `-M -o', and we need to detect this. | 
|---|
| 2529 |     if depmode=$depmode \ | 
|---|
| 2530 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 2531 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 2532 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 2533 |          >/dev/null 2>conftest.err && | 
|---|
| 2534 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2535 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2536 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 2537 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 2538 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 2539 |       # that says an option was ignored or not supported. | 
|---|
| 2540 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 2541 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 2542 |       # The diagnosis changed in icc 8.0: | 
|---|
| 2543 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 2544 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 2545 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 2546 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 2547 |         break | 
|---|
| 2548 |       fi | 
|---|
| 2549 |     fi | 
|---|
| 2550 |   done | 
|---|
| 2551 |  | 
|---|
| 2552 |   cd .. | 
|---|
| 2553 |   rm -rf conftest.dir | 
|---|
| 2554 | else | 
|---|
| 2555 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2556 | fi | 
|---|
| 2557 |  | 
|---|
| 2558 | fi | 
|---|
| 2559 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 2560 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
| 2561 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 2562 |  | 
|---|
| 2563 |  | 
|---|
| 2564 |  | 
|---|
| 2565 | if | 
|---|
| 2566 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 2567 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 2568 |   am__fastdepCXX_TRUE= | 
|---|
| 2569 |   am__fastdepCXX_FALSE='#' | 
|---|
| 2570 | else | 
|---|
| 2571 |   am__fastdepCXX_TRUE='#' | 
|---|
| 2572 |   am__fastdepCXX_FALSE= | 
|---|
| 2573 | fi | 
|---|
| 2574 |  | 
|---|
| 2575 |  | 
|---|
| 2576 | ac_ext=c | 
|---|
| 2577 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2578 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2579 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2580 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2581 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2582 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2583 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2584 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2585 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2586 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2587 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2588 | else | 
|---|
| 2589 |   if test -n "$CC"; then | 
|---|
| 2590 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2591 | else | 
|---|
| 2592 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2593 | for as_dir in $PATH | 
|---|
| 2594 | do | 
|---|
| 2595 |   IFS=$as_save_IFS | 
|---|
| 2596 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2597 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2598 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2599 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2600 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2601 |     break 2 | 
|---|
| 2602 |   fi | 
|---|
| 2603 | done | 
|---|
| 2604 | done | 
|---|
| 2605 |  | 
|---|
| 2606 | fi | 
|---|
| 2607 | fi | 
|---|
| 2608 | CC=$ac_cv_prog_CC | 
|---|
| 2609 | if test -n "$CC"; then | 
|---|
| 2610 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2611 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2612 | else | 
|---|
| 2613 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2614 | echo "${ECHO_T}no" >&6 | 
|---|
| 2615 | fi | 
|---|
| 2616 |  | 
|---|
| 2617 | fi | 
|---|
| 2618 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2619 |   ac_ct_CC=$CC | 
|---|
| 2620 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2621 | set dummy gcc; ac_word=$2 | 
|---|
| 2622 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2623 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2624 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2625 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2626 | else | 
|---|
| 2627 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2628 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2629 | else | 
|---|
| 2630 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2631 | for as_dir in $PATH | 
|---|
| 2632 | do | 
|---|
| 2633 |   IFS=$as_save_IFS | 
|---|
| 2634 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2635 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2636 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2637 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 2638 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2639 |     break 2 | 
|---|
| 2640 |   fi | 
|---|
| 2641 | done | 
|---|
| 2642 | done | 
|---|
| 2643 |  | 
|---|
| 2644 | fi | 
|---|
| 2645 | fi | 
|---|
| 2646 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2647 | if test -n "$ac_ct_CC"; then | 
|---|
| 2648 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2649 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2650 | else | 
|---|
| 2651 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2652 | echo "${ECHO_T}no" >&6 | 
|---|
| 2653 | fi | 
|---|
| 2654 |  | 
|---|
| 2655 |   CC=$ac_ct_CC | 
|---|
| 2656 | else | 
|---|
| 2657 |   CC="$ac_cv_prog_CC" | 
|---|
| 2658 | fi | 
|---|
| 2659 |  | 
|---|
| 2660 | if test -z "$CC"; then | 
|---|
| 2661 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2662 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2663 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2664 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2665 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2666 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2667 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2668 | else | 
|---|
| 2669 |   if test -n "$CC"; then | 
|---|
| 2670 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2671 | else | 
|---|
| 2672 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2673 | for as_dir in $PATH | 
|---|
| 2674 | do | 
|---|
| 2675 |   IFS=$as_save_IFS | 
|---|
| 2676 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2677 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2678 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2679 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2680 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2681 |     break 2 | 
|---|
| 2682 |   fi | 
|---|
| 2683 | done | 
|---|
| 2684 | done | 
|---|
| 2685 |  | 
|---|
| 2686 | fi | 
|---|
| 2687 | fi | 
|---|
| 2688 | CC=$ac_cv_prog_CC | 
|---|
| 2689 | if test -n "$CC"; then | 
|---|
| 2690 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2691 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2692 | else | 
|---|
| 2693 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2694 | echo "${ECHO_T}no" >&6 | 
|---|
| 2695 | fi | 
|---|
| 2696 |  | 
|---|
| 2697 | fi | 
|---|
| 2698 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2699 |   ac_ct_CC=$CC | 
|---|
| 2700 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2701 | set dummy cc; ac_word=$2 | 
|---|
| 2702 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2703 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2704 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2705 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2706 | else | 
|---|
| 2707 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2708 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2709 | else | 
|---|
| 2710 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2711 | for as_dir in $PATH | 
|---|
| 2712 | do | 
|---|
| 2713 |   IFS=$as_save_IFS | 
|---|
| 2714 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2715 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2716 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2717 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
| 2718 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2719 |     break 2 | 
|---|
| 2720 |   fi | 
|---|
| 2721 | done | 
|---|
| 2722 | done | 
|---|
| 2723 |  | 
|---|
| 2724 | fi | 
|---|
| 2725 | fi | 
|---|
| 2726 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2727 | if test -n "$ac_ct_CC"; then | 
|---|
| 2728 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2729 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2730 | else | 
|---|
| 2731 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2732 | echo "${ECHO_T}no" >&6 | 
|---|
| 2733 | fi | 
|---|
| 2734 |  | 
|---|
| 2735 |   CC=$ac_ct_CC | 
|---|
| 2736 | else | 
|---|
| 2737 |   CC="$ac_cv_prog_CC" | 
|---|
| 2738 | fi | 
|---|
| 2739 |  | 
|---|
| 2740 | fi | 
|---|
| 2741 | if test -z "$CC"; then | 
|---|
| 2742 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2743 | set dummy cc; ac_word=$2 | 
|---|
| 2744 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2745 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2746 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2747 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2748 | else | 
|---|
| 2749 |   if test -n "$CC"; then | 
|---|
| 2750 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2751 | else | 
|---|
| 2752 |   ac_prog_rejected=no | 
|---|
| 2753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2754 | for as_dir in $PATH | 
|---|
| 2755 | do | 
|---|
| 2756 |   IFS=$as_save_IFS | 
|---|
| 2757 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2758 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2759 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2760 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2761 |        ac_prog_rejected=yes | 
|---|
| 2762 |        continue | 
|---|
| 2763 |      fi | 
|---|
| 2764 |     ac_cv_prog_CC="cc" | 
|---|
| 2765 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2766 |     break 2 | 
|---|
| 2767 |   fi | 
|---|
| 2768 | done | 
|---|
| 2769 | done | 
|---|
| 2770 |  | 
|---|
| 2771 | if test $ac_prog_rejected = yes; then | 
|---|
| 2772 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2773 |   set dummy $ac_cv_prog_CC | 
|---|
| 2774 |   shift | 
|---|
| 2775 |   if test $# != 0; then | 
|---|
| 2776 |     # We chose a different compiler from the bogus one. | 
|---|
| 2777 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2778 |     # first if we set CC to just the basename; use the full file name. | 
|---|
| 2779 |     shift | 
|---|
| 2780 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2781 |   fi | 
|---|
| 2782 | fi | 
|---|
| 2783 | fi | 
|---|
| 2784 | fi | 
|---|
| 2785 | CC=$ac_cv_prog_CC | 
|---|
| 2786 | if test -n "$CC"; then | 
|---|
| 2787 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2788 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2789 | else | 
|---|
| 2790 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2791 | echo "${ECHO_T}no" >&6 | 
|---|
| 2792 | fi | 
|---|
| 2793 |  | 
|---|
| 2794 | fi | 
|---|
| 2795 | if test -z "$CC"; then | 
|---|
| 2796 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2797 |   for ac_prog in cl | 
|---|
| 2798 |   do | 
|---|
| 2799 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2800 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2801 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2802 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2803 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2804 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2805 | else | 
|---|
| 2806 |   if test -n "$CC"; then | 
|---|
| 2807 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2808 | else | 
|---|
| 2809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2810 | for as_dir in $PATH | 
|---|
| 2811 | do | 
|---|
| 2812 |   IFS=$as_save_IFS | 
|---|
| 2813 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2814 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2815 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2816 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2817 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2818 |     break 2 | 
|---|
| 2819 |   fi | 
|---|
| 2820 | done | 
|---|
| 2821 | done | 
|---|
| 2822 |  | 
|---|
| 2823 | fi | 
|---|
| 2824 | fi | 
|---|
| 2825 | CC=$ac_cv_prog_CC | 
|---|
| 2826 | if test -n "$CC"; then | 
|---|
| 2827 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2828 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2829 | else | 
|---|
| 2830 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2831 | echo "${ECHO_T}no" >&6 | 
|---|
| 2832 | fi | 
|---|
| 2833 |  | 
|---|
| 2834 |     test -n "$CC" && break | 
|---|
| 2835 |   done | 
|---|
| 2836 | fi | 
|---|
| 2837 | if test -z "$CC"; then | 
|---|
| 2838 |   ac_ct_CC=$CC | 
|---|
| 2839 |   for ac_prog in cl | 
|---|
| 2840 | do | 
|---|
| 2841 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2842 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2843 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2844 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2845 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2846 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2847 | else | 
|---|
| 2848 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2849 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2850 | else | 
|---|
| 2851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2852 | for as_dir in $PATH | 
|---|
| 2853 | do | 
|---|
| 2854 |   IFS=$as_save_IFS | 
|---|
| 2855 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2856 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2857 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2858 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2859 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2860 |     break 2 | 
|---|
| 2861 |   fi | 
|---|
| 2862 | done | 
|---|
| 2863 | done | 
|---|
| 2864 |  | 
|---|
| 2865 | fi | 
|---|
| 2866 | fi | 
|---|
| 2867 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2868 | if test -n "$ac_ct_CC"; then | 
|---|
| 2869 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2870 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2871 | else | 
|---|
| 2872 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2873 | echo "${ECHO_T}no" >&6 | 
|---|
| 2874 | fi | 
|---|
| 2875 |  | 
|---|
| 2876 |   test -n "$ac_ct_CC" && break | 
|---|
| 2877 | done | 
|---|
| 2878 |  | 
|---|
| 2879 |   CC=$ac_ct_CC | 
|---|
| 2880 | fi | 
|---|
| 2881 |  | 
|---|
| 2882 | fi | 
|---|
| 2883 |  | 
|---|
| 2884 |  | 
|---|
| 2885 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
| 2886 | See \`config.log' for more details." >&5 | 
|---|
| 2887 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
| 2888 | See \`config.log' for more details." >&2;} | 
|---|
| 2889 |    { (exit 1); exit 1; }; } | 
|---|
| 2890 |  | 
|---|
| 2891 | # Provide some information about the compiler. | 
|---|
| 2892 | echo "$as_me:$LINENO:" \ | 
|---|
| 2893 |      "checking for C compiler version" >&5 | 
|---|
| 2894 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 2895 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 2896 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 2897 |   ac_status=$? | 
|---|
| 2898 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2899 |   (exit $ac_status); } | 
|---|
| 2900 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 2901 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 2902 |   ac_status=$? | 
|---|
| 2903 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2904 |   (exit $ac_status); } | 
|---|
| 2905 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 2906 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 2907 |   ac_status=$? | 
|---|
| 2908 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2909 |   (exit $ac_status); } | 
|---|
| 2910 |  | 
|---|
| 2911 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 2912 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
| 2913 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
| 2914 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2915 | else | 
|---|
| 2916 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2917 | /* confdefs.h.  */ | 
|---|
| 2918 | _ACEOF | 
|---|
| 2919 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2920 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2921 | /* end confdefs.h.  */ | 
|---|
| 2922 |  | 
|---|
| 2923 | int | 
|---|
| 2924 | main () | 
|---|
| 2925 | { | 
|---|
| 2926 | #ifndef __GNUC__ | 
|---|
| 2927 |        choke me | 
|---|
| 2928 | #endif | 
|---|
| 2929 |  | 
|---|
| 2930 |   ; | 
|---|
| 2931 |   return 0; | 
|---|
| 2932 | } | 
|---|
| 2933 | _ACEOF | 
|---|
| 2934 | rm -f conftest.$ac_objext | 
|---|
| 2935 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2936 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2937 |   ac_status=$? | 
|---|
| 2938 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2939 |   rm -f conftest.er1 | 
|---|
| 2940 |   cat conftest.err >&5 | 
|---|
| 2941 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2942 |   (exit $ac_status); } && | 
|---|
| 2943 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 2944 |                          || test ! -s conftest.err' | 
|---|
| 2945 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2946 |   (eval $ac_try) 2>&5 | 
|---|
| 2947 |   ac_status=$? | 
|---|
| 2948 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2949 |   (exit $ac_status); }; } && | 
|---|
| 2950 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2951 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2952 |   (eval $ac_try) 2>&5 | 
|---|
| 2953 |   ac_status=$? | 
|---|
| 2954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2955 |   (exit $ac_status); }; }; then | 
|---|
| 2956 |   ac_compiler_gnu=yes | 
|---|
| 2957 | else | 
|---|
| 2958 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2959 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2960 |  | 
|---|
| 2961 | ac_compiler_gnu=no | 
|---|
| 2962 | fi | 
|---|
| 2963 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2964 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2965 |  | 
|---|
| 2966 | fi | 
|---|
| 2967 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 2968 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
| 2969 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2970 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 2971 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 2972 | CFLAGS="-g" | 
|---|
| 2973 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
| 2974 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
| 2975 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
| 2976 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2977 | else | 
|---|
| 2978 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2979 | /* confdefs.h.  */ | 
|---|
| 2980 | _ACEOF | 
|---|
| 2981 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2982 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2983 | /* end confdefs.h.  */ | 
|---|
| 2984 |  | 
|---|
| 2985 | int | 
|---|
| 2986 | main () | 
|---|
| 2987 | { | 
|---|
| 2988 |  | 
|---|
| 2989 |   ; | 
|---|
| 2990 |   return 0; | 
|---|
| 2991 | } | 
|---|
| 2992 | _ACEOF | 
|---|
| 2993 | rm -f conftest.$ac_objext | 
|---|
| 2994 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2995 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2996 |   ac_status=$? | 
|---|
| 2997 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2998 |   rm -f conftest.er1 | 
|---|
| 2999 |   cat conftest.err >&5 | 
|---|
| 3000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3001 |   (exit $ac_status); } && | 
|---|
| 3002 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3003 |                          || test ! -s conftest.err' | 
|---|
| 3004 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3005 |   (eval $ac_try) 2>&5 | 
|---|
| 3006 |   ac_status=$? | 
|---|
| 3007 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3008 |   (exit $ac_status); }; } && | 
|---|
| 3009 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3010 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3011 |   (eval $ac_try) 2>&5 | 
|---|
| 3012 |   ac_status=$? | 
|---|
| 3013 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3014 |   (exit $ac_status); }; }; then | 
|---|
| 3015 |   ac_cv_prog_cc_g=yes | 
|---|
| 3016 | else | 
|---|
| 3017 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3018 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3019 |  | 
|---|
| 3020 | ac_cv_prog_cc_g=no | 
|---|
| 3021 | fi | 
|---|
| 3022 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3023 | fi | 
|---|
| 3024 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 3025 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
| 3026 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 3027 |   CFLAGS=$ac_save_CFLAGS | 
|---|
| 3028 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 3029 |   if test "$GCC" = yes; then | 
|---|
| 3030 |     CFLAGS="-g -O2" | 
|---|
| 3031 |   else | 
|---|
| 3032 |     CFLAGS="-g" | 
|---|
| 3033 |   fi | 
|---|
| 3034 | else | 
|---|
| 3035 |   if test "$GCC" = yes; then | 
|---|
| 3036 |     CFLAGS="-O2" | 
|---|
| 3037 |   else | 
|---|
| 3038 |     CFLAGS= | 
|---|
| 3039 |   fi | 
|---|
| 3040 | fi | 
|---|
| 3041 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
| 3042 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
| 3043 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
| 3044 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3045 | else | 
|---|
| 3046 |   ac_cv_prog_cc_stdc=no | 
|---|
| 3047 | ac_save_CC=$CC | 
|---|
| 3048 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3049 | /* confdefs.h.  */ | 
|---|
| 3050 | _ACEOF | 
|---|
| 3051 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3052 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3053 | /* end confdefs.h.  */ | 
|---|
| 3054 | #include <stdarg.h> | 
|---|
| 3055 | #include <stdio.h> | 
|---|
| 3056 | #include <sys/types.h> | 
|---|
| 3057 | #include <sys/stat.h> | 
|---|
| 3058 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 3059 | struct buf { int x; }; | 
|---|
| 3060 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 3061 | static char *e (p, i) | 
|---|
| 3062 |      char **p; | 
|---|
| 3063 |      int i; | 
|---|
| 3064 | { | 
|---|
| 3065 |   return p[i]; | 
|---|
| 3066 | } | 
|---|
| 3067 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 3068 | { | 
|---|
| 3069 |   char *s; | 
|---|
| 3070 |   va_list v; | 
|---|
| 3071 |   va_start (v,p); | 
|---|
| 3072 |   s = g (p, va_arg (v,int)); | 
|---|
| 3073 |   va_end (v); | 
|---|
| 3074 |   return s; | 
|---|
| 3075 | } | 
|---|
| 3076 |  | 
|---|
| 3077 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 3078 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 3079 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 3080 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
| 3081 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 3082 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 3083 |    that's true only with -std1.  */ | 
|---|
| 3084 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 3085 |  | 
|---|
| 3086 | int test (int i, double x); | 
|---|
| 3087 | struct s1 {int (*f) (int a);}; | 
|---|
| 3088 | struct s2 {int (*f) (double a);}; | 
|---|
| 3089 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 3090 | int argc; | 
|---|
| 3091 | char **argv; | 
|---|
| 3092 | int | 
|---|
| 3093 | main () | 
|---|
| 3094 | { | 
|---|
| 3095 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 3096 |   ; | 
|---|
| 3097 |   return 0; | 
|---|
| 3098 | } | 
|---|
| 3099 | _ACEOF | 
|---|
| 3100 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
| 3101 | # breaks some systems' header files. | 
|---|
| 3102 | # AIX                   -qlanglvl=ansi | 
|---|
| 3103 | # Ultrix and OSF/1      -std1 | 
|---|
| 3104 | # HP-UX 10.20 and later -Ae | 
|---|
| 3105 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
| 3106 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
| 3107 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 3108 | do | 
|---|
| 3109 |   CC="$ac_save_CC $ac_arg" | 
|---|
| 3110 |   rm -f conftest.$ac_objext | 
|---|
| 3111 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3112 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3113 |   ac_status=$? | 
|---|
| 3114 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3115 |   rm -f conftest.er1 | 
|---|
| 3116 |   cat conftest.err >&5 | 
|---|
| 3117 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3118 |   (exit $ac_status); } && | 
|---|
| 3119 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3120 |                          || test ! -s conftest.err' | 
|---|
| 3121 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3122 |   (eval $ac_try) 2>&5 | 
|---|
| 3123 |   ac_status=$? | 
|---|
| 3124 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3125 |   (exit $ac_status); }; } && | 
|---|
| 3126 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3127 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3128 |   (eval $ac_try) 2>&5 | 
|---|
| 3129 |   ac_status=$? | 
|---|
| 3130 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3131 |   (exit $ac_status); }; }; then | 
|---|
| 3132 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
| 3133 | break | 
|---|
| 3134 | else | 
|---|
| 3135 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3136 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3137 |  | 
|---|
| 3138 | fi | 
|---|
| 3139 | rm -f conftest.err conftest.$ac_objext | 
|---|
| 3140 | done | 
|---|
| 3141 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
| 3142 | CC=$ac_save_CC | 
|---|
| 3143 |  | 
|---|
| 3144 | fi | 
|---|
| 3145 |  | 
|---|
| 3146 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
| 3147 |   x|xno) | 
|---|
| 3148 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
| 3149 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
| 3150 |   *) | 
|---|
| 3151 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
| 3152 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
| 3153 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
| 3154 | esac | 
|---|
| 3155 |  | 
|---|
| 3156 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
| 3157 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
| 3158 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
| 3159 | # the declaration of exit, since it's the most demanding environment. | 
|---|
| 3160 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3161 | #ifndef __cplusplus | 
|---|
| 3162 |   choke me | 
|---|
| 3163 | #endif | 
|---|
| 3164 | _ACEOF | 
|---|
| 3165 | rm -f conftest.$ac_objext | 
|---|
| 3166 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3167 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3168 |   ac_status=$? | 
|---|
| 3169 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3170 |   rm -f conftest.er1 | 
|---|
| 3171 |   cat conftest.err >&5 | 
|---|
| 3172 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3173 |   (exit $ac_status); } && | 
|---|
| 3174 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3175 |                          || test ! -s conftest.err' | 
|---|
| 3176 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3177 |   (eval $ac_try) 2>&5 | 
|---|
| 3178 |   ac_status=$? | 
|---|
| 3179 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3180 |   (exit $ac_status); }; } && | 
|---|
| 3181 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3182 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3183 |   (eval $ac_try) 2>&5 | 
|---|
| 3184 |   ac_status=$? | 
|---|
| 3185 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3186 |   (exit $ac_status); }; }; then | 
|---|
| 3187 |   for ac_declaration in \ | 
|---|
| 3188 |    '' \ | 
|---|
| 3189 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 3190 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 3191 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 3192 |    'extern "C" void exit (int);' \ | 
|---|
| 3193 |    'void exit (int);' | 
|---|
| 3194 | do | 
|---|
| 3195 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3196 | /* confdefs.h.  */ | 
|---|
| 3197 | _ACEOF | 
|---|
| 3198 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3199 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3200 | /* end confdefs.h.  */ | 
|---|
| 3201 | $ac_declaration | 
|---|
| 3202 | #include <stdlib.h> | 
|---|
| 3203 | int | 
|---|
| 3204 | main () | 
|---|
| 3205 | { | 
|---|
| 3206 | exit (42); | 
|---|
| 3207 |   ; | 
|---|
| 3208 |   return 0; | 
|---|
| 3209 | } | 
|---|
| 3210 | _ACEOF | 
|---|
| 3211 | rm -f conftest.$ac_objext | 
|---|
| 3212 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3213 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3214 |   ac_status=$? | 
|---|
| 3215 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3216 |   rm -f conftest.er1 | 
|---|
| 3217 |   cat conftest.err >&5 | 
|---|
| 3218 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3219 |   (exit $ac_status); } && | 
|---|
| 3220 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3221 |                          || test ! -s conftest.err' | 
|---|
| 3222 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3223 |   (eval $ac_try) 2>&5 | 
|---|
| 3224 |   ac_status=$? | 
|---|
| 3225 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3226 |   (exit $ac_status); }; } && | 
|---|
| 3227 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3228 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3229 |   (eval $ac_try) 2>&5 | 
|---|
| 3230 |   ac_status=$? | 
|---|
| 3231 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3232 |   (exit $ac_status); }; }; then | 
|---|
| 3233 |   : | 
|---|
| 3234 | else | 
|---|
| 3235 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3236 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3237 |  | 
|---|
| 3238 | continue | 
|---|
| 3239 | fi | 
|---|
| 3240 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3241 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3242 | /* confdefs.h.  */ | 
|---|
| 3243 | _ACEOF | 
|---|
| 3244 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3245 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3246 | /* end confdefs.h.  */ | 
|---|
| 3247 | $ac_declaration | 
|---|
| 3248 | int | 
|---|
| 3249 | main () | 
|---|
| 3250 | { | 
|---|
| 3251 | exit (42); | 
|---|
| 3252 |   ; | 
|---|
| 3253 |   return 0; | 
|---|
| 3254 | } | 
|---|
| 3255 | _ACEOF | 
|---|
| 3256 | rm -f conftest.$ac_objext | 
|---|
| 3257 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3258 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3259 |   ac_status=$? | 
|---|
| 3260 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3261 |   rm -f conftest.er1 | 
|---|
| 3262 |   cat conftest.err >&5 | 
|---|
| 3263 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3264 |   (exit $ac_status); } && | 
|---|
| 3265 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3266 |                          || test ! -s conftest.err' | 
|---|
| 3267 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3268 |   (eval $ac_try) 2>&5 | 
|---|
| 3269 |   ac_status=$? | 
|---|
| 3270 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3271 |   (exit $ac_status); }; } && | 
|---|
| 3272 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3273 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3274 |   (eval $ac_try) 2>&5 | 
|---|
| 3275 |   ac_status=$? | 
|---|
| 3276 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3277 |   (exit $ac_status); }; }; then | 
|---|
| 3278 |   break | 
|---|
| 3279 | else | 
|---|
| 3280 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3281 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3282 |  | 
|---|
| 3283 | fi | 
|---|
| 3284 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3285 | done | 
|---|
| 3286 | rm -f conftest* | 
|---|
| 3287 | if test -n "$ac_declaration"; then | 
|---|
| 3288 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 3289 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 3290 |   echo '#endif'             >>confdefs.h | 
|---|
| 3291 | fi | 
|---|
| 3292 |  | 
|---|
| 3293 | else | 
|---|
| 3294 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3295 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3296 |  | 
|---|
| 3297 | fi | 
|---|
| 3298 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3299 | ac_ext=c | 
|---|
| 3300 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3301 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3302 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3303 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3304 |  | 
|---|
| 3305 | depcc="$CC"   am_compiler_list= | 
|---|
| 3306 |  | 
|---|
| 3307 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 3308 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 3309 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
| 3310 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3311 | else | 
|---|
| 3312 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 3313 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 3314 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 3315 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 3316 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 3317 |   # in D'. | 
|---|
| 3318 |   mkdir conftest.dir | 
|---|
| 3319 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 3320 |   # using a relative directory. | 
|---|
| 3321 |   cp "$am_depcomp" conftest.dir | 
|---|
| 3322 |   cd conftest.dir | 
|---|
| 3323 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 3324 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 3325 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 3326 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 3327 |   # the current directory while Tru64 will put them in the object | 
|---|
| 3328 |   # directory. | 
|---|
| 3329 |   mkdir sub | 
|---|
| 3330 |  | 
|---|
| 3331 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3332 |   if test "$am_compiler_list" = ""; then | 
|---|
| 3333 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 3334 |   fi | 
|---|
| 3335 |   for depmode in $am_compiler_list; do | 
|---|
| 3336 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 3337 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 3338 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 3339 |     # | 
|---|
| 3340 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 3341 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 3342 |     # This happens at least with the AIX C compiler. | 
|---|
| 3343 |     : > sub/conftest.c | 
|---|
| 3344 |     for i in 1 2 3 4 5 6; do | 
|---|
| 3345 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 3346 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
| 3347 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
| 3348 |       touch sub/conftst$i.h | 
|---|
| 3349 |     done | 
|---|
| 3350 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 3351 |  | 
|---|
| 3352 |     case $depmode in | 
|---|
| 3353 |     nosideeffect) | 
|---|
| 3354 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 3355 |       # only be used when explicitly requested | 
|---|
| 3356 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 3357 |         continue | 
|---|
| 3358 |       else | 
|---|
| 3359 |         break | 
|---|
| 3360 |       fi | 
|---|
| 3361 |       ;; | 
|---|
| 3362 |     none) break ;; | 
|---|
| 3363 |     esac | 
|---|
| 3364 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 3365 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 3366 |     # handle `-M -o', and we need to detect this. | 
|---|
| 3367 |     if depmode=$depmode \ | 
|---|
| 3368 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 3369 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 3370 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 3371 |          >/dev/null 2>conftest.err && | 
|---|
| 3372 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3373 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3374 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 3375 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 3376 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
| 3377 |       # that says an option was ignored or not supported. | 
|---|
| 3378 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
| 3379 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
| 3380 |       # The diagnosis changed in icc 8.0: | 
|---|
| 3381 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
| 3382 |       if (grep 'ignoring option' conftest.err || | 
|---|
| 3383 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| 3384 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 3385 |         break | 
|---|
| 3386 |       fi | 
|---|
| 3387 |     fi | 
|---|
| 3388 |   done | 
|---|
| 3389 |  | 
|---|
| 3390 |   cd .. | 
|---|
| 3391 |   rm -rf conftest.dir | 
|---|
| 3392 | else | 
|---|
| 3393 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3394 | fi | 
|---|
| 3395 |  | 
|---|
| 3396 | fi | 
|---|
| 3397 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 3398 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
| 3399 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 3400 |  | 
|---|
| 3401 |  | 
|---|
| 3402 |  | 
|---|
| 3403 | if | 
|---|
| 3404 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 3405 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 3406 |   am__fastdepCC_TRUE= | 
|---|
| 3407 |   am__fastdepCC_FALSE='#' | 
|---|
| 3408 | else | 
|---|
| 3409 |   am__fastdepCC_TRUE='#' | 
|---|
| 3410 |   am__fastdepCC_FALSE= | 
|---|
| 3411 | fi | 
|---|
| 3412 |  | 
|---|
| 3413 |  | 
|---|
| 3414 |  | 
|---|
| 3415 | ac_ext=c | 
|---|
| 3416 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3417 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3418 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3419 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3420 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
| 3421 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
| 3422 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3423 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3424 |   CPP= | 
|---|
| 3425 | fi | 
|---|
| 3426 | if test -z "$CPP"; then | 
|---|
| 3427 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| 3428 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3429 | else | 
|---|
| 3430 |       # Double quotes because CPP needs to be expanded | 
|---|
| 3431 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3432 |     do | 
|---|
| 3433 |       ac_preproc_ok=false | 
|---|
| 3434 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3435 | do | 
|---|
| 3436 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3437 |   # with a fresh cross-compiler works. | 
|---|
| 3438 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3439 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3440 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3441 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3442 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3443 | /* confdefs.h.  */ | 
|---|
| 3444 | _ACEOF | 
|---|
| 3445 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3446 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3447 | /* end confdefs.h.  */ | 
|---|
| 3448 | #ifdef __STDC__ | 
|---|
| 3449 | # include <limits.h> | 
|---|
| 3450 | #else | 
|---|
| 3451 | # include <assert.h> | 
|---|
| 3452 | #endif | 
|---|
| 3453 |                      Syntax error | 
|---|
| 3454 | _ACEOF | 
|---|
| 3455 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3456 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3457 |   ac_status=$? | 
|---|
| 3458 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3459 |   rm -f conftest.er1 | 
|---|
| 3460 |   cat conftest.err >&5 | 
|---|
| 3461 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3462 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3463 |   if test -s conftest.err; then | 
|---|
| 3464 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3465 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3466 |   else | 
|---|
| 3467 |     ac_cpp_err= | 
|---|
| 3468 |   fi | 
|---|
| 3469 | else | 
|---|
| 3470 |   ac_cpp_err=yes | 
|---|
| 3471 | fi | 
|---|
| 3472 | if test -z "$ac_cpp_err"; then | 
|---|
| 3473 |   : | 
|---|
| 3474 | else | 
|---|
| 3475 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3476 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3477 |  | 
|---|
| 3478 |   # Broken: fails on valid input. | 
|---|
| 3479 | continue | 
|---|
| 3480 | fi | 
|---|
| 3481 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3482 |  | 
|---|
| 3483 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3484 |   # can be detected and how. | 
|---|
| 3485 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3486 | /* confdefs.h.  */ | 
|---|
| 3487 | _ACEOF | 
|---|
| 3488 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3489 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3490 | /* end confdefs.h.  */ | 
|---|
| 3491 | #include <ac_nonexistent.h> | 
|---|
| 3492 | _ACEOF | 
|---|
| 3493 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3494 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3495 |   ac_status=$? | 
|---|
| 3496 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3497 |   rm -f conftest.er1 | 
|---|
| 3498 |   cat conftest.err >&5 | 
|---|
| 3499 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3500 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3501 |   if test -s conftest.err; then | 
|---|
| 3502 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3503 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3504 |   else | 
|---|
| 3505 |     ac_cpp_err= | 
|---|
| 3506 |   fi | 
|---|
| 3507 | else | 
|---|
| 3508 |   ac_cpp_err=yes | 
|---|
| 3509 | fi | 
|---|
| 3510 | if test -z "$ac_cpp_err"; then | 
|---|
| 3511 |   # Broken: success on invalid input. | 
|---|
| 3512 | continue | 
|---|
| 3513 | else | 
|---|
| 3514 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3515 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3516 |  | 
|---|
| 3517 |   # Passes both tests. | 
|---|
| 3518 | ac_preproc_ok=: | 
|---|
| 3519 | break | 
|---|
| 3520 | fi | 
|---|
| 3521 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3522 |  | 
|---|
| 3523 | done | 
|---|
| 3524 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3525 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3526 | if $ac_preproc_ok; then | 
|---|
| 3527 |   break | 
|---|
| 3528 | fi | 
|---|
| 3529 |  | 
|---|
| 3530 |     done | 
|---|
| 3531 |     ac_cv_prog_CPP=$CPP | 
|---|
| 3532 |  | 
|---|
| 3533 | fi | 
|---|
| 3534 |   CPP=$ac_cv_prog_CPP | 
|---|
| 3535 | else | 
|---|
| 3536 |   ac_cv_prog_CPP=$CPP | 
|---|
| 3537 | fi | 
|---|
| 3538 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
| 3539 | echo "${ECHO_T}$CPP" >&6 | 
|---|
| 3540 | ac_preproc_ok=false | 
|---|
| 3541 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3542 | do | 
|---|
| 3543 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3544 |   # with a fresh cross-compiler works. | 
|---|
| 3545 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3546 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3547 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3548 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3549 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3550 | /* confdefs.h.  */ | 
|---|
| 3551 | _ACEOF | 
|---|
| 3552 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3553 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3554 | /* end confdefs.h.  */ | 
|---|
| 3555 | #ifdef __STDC__ | 
|---|
| 3556 | # include <limits.h> | 
|---|
| 3557 | #else | 
|---|
| 3558 | # include <assert.h> | 
|---|
| 3559 | #endif | 
|---|
| 3560 |                      Syntax error | 
|---|
| 3561 | _ACEOF | 
|---|
| 3562 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3563 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3564 |   ac_status=$? | 
|---|
| 3565 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3566 |   rm -f conftest.er1 | 
|---|
| 3567 |   cat conftest.err >&5 | 
|---|
| 3568 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3569 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3570 |   if test -s conftest.err; then | 
|---|
| 3571 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3572 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3573 |   else | 
|---|
| 3574 |     ac_cpp_err= | 
|---|
| 3575 |   fi | 
|---|
| 3576 | else | 
|---|
| 3577 |   ac_cpp_err=yes | 
|---|
| 3578 | fi | 
|---|
| 3579 | if test -z "$ac_cpp_err"; then | 
|---|
| 3580 |   : | 
|---|
| 3581 | else | 
|---|
| 3582 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3583 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3584 |  | 
|---|
| 3585 |   # Broken: fails on valid input. | 
|---|
| 3586 | continue | 
|---|
| 3587 | fi | 
|---|
| 3588 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3589 |  | 
|---|
| 3590 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3591 |   # can be detected and how. | 
|---|
| 3592 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3593 | /* confdefs.h.  */ | 
|---|
| 3594 | _ACEOF | 
|---|
| 3595 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3596 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3597 | /* end confdefs.h.  */ | 
|---|
| 3598 | #include <ac_nonexistent.h> | 
|---|
| 3599 | _ACEOF | 
|---|
| 3600 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3601 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3602 |   ac_status=$? | 
|---|
| 3603 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3604 |   rm -f conftest.er1 | 
|---|
| 3605 |   cat conftest.err >&5 | 
|---|
| 3606 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3607 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3608 |   if test -s conftest.err; then | 
|---|
| 3609 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3610 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3611 |   else | 
|---|
| 3612 |     ac_cpp_err= | 
|---|
| 3613 |   fi | 
|---|
| 3614 | else | 
|---|
| 3615 |   ac_cpp_err=yes | 
|---|
| 3616 | fi | 
|---|
| 3617 | if test -z "$ac_cpp_err"; then | 
|---|
| 3618 |   # Broken: success on invalid input. | 
|---|
| 3619 | continue | 
|---|
| 3620 | else | 
|---|
| 3621 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3622 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3623 |  | 
|---|
| 3624 |   # Passes both tests. | 
|---|
| 3625 | ac_preproc_ok=: | 
|---|
| 3626 | break | 
|---|
| 3627 | fi | 
|---|
| 3628 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3629 |  | 
|---|
| 3630 | done | 
|---|
| 3631 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3632 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3633 | if $ac_preproc_ok; then | 
|---|
| 3634 |   : | 
|---|
| 3635 | else | 
|---|
| 3636 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3637 | See \`config.log' for more details." >&5 | 
|---|
| 3638 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3639 | See \`config.log' for more details." >&2;} | 
|---|
| 3640 |    { (exit 1); exit 1; }; } | 
|---|
| 3641 | fi | 
|---|
| 3642 |  | 
|---|
| 3643 | ac_ext=c | 
|---|
| 3644 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3645 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3646 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3647 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3648 |  | 
|---|
| 3649 |  | 
|---|
| 3650 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
| 3651 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
| 3652 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
| 3653 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3654 | else | 
|---|
| 3655 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
| 3656 |     then ac_cv_prog_egrep='grep -E' | 
|---|
| 3657 |     else ac_cv_prog_egrep='egrep' | 
|---|
| 3658 |     fi | 
|---|
| 3659 | fi | 
|---|
| 3660 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
| 3661 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
| 3662 |  EGREP=$ac_cv_prog_egrep | 
|---|
| 3663 |  | 
|---|
| 3664 |  | 
|---|
| 3665 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 3666 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 3667 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 3668 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3669 | else | 
|---|
| 3670 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3671 | /* confdefs.h.  */ | 
|---|
| 3672 | _ACEOF | 
|---|
| 3673 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3674 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3675 | /* end confdefs.h.  */ | 
|---|
| 3676 | #include <stdlib.h> | 
|---|
| 3677 | #include <stdarg.h> | 
|---|
| 3678 | #include <string.h> | 
|---|
| 3679 | #include <float.h> | 
|---|
| 3680 |  | 
|---|
| 3681 | int | 
|---|
| 3682 | main () | 
|---|
| 3683 | { | 
|---|
| 3684 |  | 
|---|
| 3685 |   ; | 
|---|
| 3686 |   return 0; | 
|---|
| 3687 | } | 
|---|
| 3688 | _ACEOF | 
|---|
| 3689 | rm -f conftest.$ac_objext | 
|---|
| 3690 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3691 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3692 |   ac_status=$? | 
|---|
| 3693 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3694 |   rm -f conftest.er1 | 
|---|
| 3695 |   cat conftest.err >&5 | 
|---|
| 3696 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3697 |   (exit $ac_status); } && | 
|---|
| 3698 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3699 |                          || test ! -s conftest.err' | 
|---|
| 3700 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3701 |   (eval $ac_try) 2>&5 | 
|---|
| 3702 |   ac_status=$? | 
|---|
| 3703 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3704 |   (exit $ac_status); }; } && | 
|---|
| 3705 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3706 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3707 |   (eval $ac_try) 2>&5 | 
|---|
| 3708 |   ac_status=$? | 
|---|
| 3709 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3710 |   (exit $ac_status); }; }; then | 
|---|
| 3711 |   ac_cv_header_stdc=yes | 
|---|
| 3712 | else | 
|---|
| 3713 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3714 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3715 |  | 
|---|
| 3716 | ac_cv_header_stdc=no | 
|---|
| 3717 | fi | 
|---|
| 3718 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3719 |  | 
|---|
| 3720 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3721 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 3722 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3723 | /* confdefs.h.  */ | 
|---|
| 3724 | _ACEOF | 
|---|
| 3725 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3726 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3727 | /* end confdefs.h.  */ | 
|---|
| 3728 | #include <string.h> | 
|---|
| 3729 |  | 
|---|
| 3730 | _ACEOF | 
|---|
| 3731 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3732 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 3733 |   : | 
|---|
| 3734 | else | 
|---|
| 3735 |   ac_cv_header_stdc=no | 
|---|
| 3736 | fi | 
|---|
| 3737 | rm -f conftest* | 
|---|
| 3738 |  | 
|---|
| 3739 | fi | 
|---|
| 3740 |  | 
|---|
| 3741 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3742 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 3743 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3744 | /* confdefs.h.  */ | 
|---|
| 3745 | _ACEOF | 
|---|
| 3746 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3747 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3748 | /* end confdefs.h.  */ | 
|---|
| 3749 | #include <stdlib.h> | 
|---|
| 3750 |  | 
|---|
| 3751 | _ACEOF | 
|---|
| 3752 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3753 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 3754 |   : | 
|---|
| 3755 | else | 
|---|
| 3756 |   ac_cv_header_stdc=no | 
|---|
| 3757 | fi | 
|---|
| 3758 | rm -f conftest* | 
|---|
| 3759 |  | 
|---|
| 3760 | fi | 
|---|
| 3761 |  | 
|---|
| 3762 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3763 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 3764 |   if test "$cross_compiling" = yes; then | 
|---|
| 3765 |   : | 
|---|
| 3766 | else | 
|---|
| 3767 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3768 | /* confdefs.h.  */ | 
|---|
| 3769 | _ACEOF | 
|---|
| 3770 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3771 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3772 | /* end confdefs.h.  */ | 
|---|
| 3773 | #include <ctype.h> | 
|---|
| 3774 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 3775 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 3776 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 3777 | #else | 
|---|
| 3778 | # define ISLOWER(c) \ | 
|---|
| 3779 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 3780 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 3781 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 3782 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 3783 | #endif | 
|---|
| 3784 |  | 
|---|
| 3785 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 3786 | int | 
|---|
| 3787 | main () | 
|---|
| 3788 | { | 
|---|
| 3789 |   int i; | 
|---|
| 3790 |   for (i = 0; i < 256; i++) | 
|---|
| 3791 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 3792 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 3793 |       exit(2); | 
|---|
| 3794 |   exit (0); | 
|---|
| 3795 | } | 
|---|
| 3796 | _ACEOF | 
|---|
| 3797 | rm -f conftest$ac_exeext | 
|---|
| 3798 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3799 |   (eval $ac_link) 2>&5 | 
|---|
| 3800 |   ac_status=$? | 
|---|
| 3801 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3802 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 3803 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3804 |   (eval $ac_try) 2>&5 | 
|---|
| 3805 |   ac_status=$? | 
|---|
| 3806 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3807 |   (exit $ac_status); }; }; then | 
|---|
| 3808 |   : | 
|---|
| 3809 | else | 
|---|
| 3810 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 3811 | echo "$as_me: failed program was:" >&5 | 
|---|
| 3812 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3813 |  | 
|---|
| 3814 | ( exit $ac_status ) | 
|---|
| 3815 | ac_cv_header_stdc=no | 
|---|
| 3816 | fi | 
|---|
| 3817 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3818 | fi | 
|---|
| 3819 | fi | 
|---|
| 3820 | fi | 
|---|
| 3821 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 3822 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 3823 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3824 |  | 
|---|
| 3825 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 3826 | #define STDC_HEADERS 1 | 
|---|
| 3827 | _ACEOF | 
|---|
| 3828 |  | 
|---|
| 3829 | fi | 
|---|
| 3830 |  | 
|---|
| 3831 |  | 
|---|
| 3832 | ### CHECKING FOR SYSTEM ### | 
|---|
| 3833 |  | 
|---|
| 3834 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
| 3835 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| 3836 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
| 3837 | case "$target" in | 
|---|
| 3838 | ### WINDOWS ### | 
|---|
| 3839 |   *-*-mingw32*) | 
|---|
| 3840 | echo "mingw-WINDOWS detected" | 
|---|
| 3841 |  | 
|---|
| 3842 |     mingw="yes" | 
|---|
| 3843 |     MSBITFIELDS="-mms-bitfields" | 
|---|
| 3844 |     MWINDOWS="-mwindows" | 
|---|
| 3845 |  | 
|---|
| 3846 | # checking gl header | 
|---|
| 3847 |         #done before loop | 
|---|
| 3848 |  | 
|---|
| 3849 | # checking gl header | 
|---|
| 3850 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 3851 |  | 
|---|
| 3852 |  | 
|---|
| 3853 |  | 
|---|
| 3854 |  | 
|---|
| 3855 |  | 
|---|
| 3856 |  | 
|---|
| 3857 |  | 
|---|
| 3858 |  | 
|---|
| 3859 |  | 
|---|
| 3860 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 3861 |                   inttypes.h stdint.h unistd.h | 
|---|
| 3862 | do | 
|---|
| 3863 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 3864 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 3865 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 3866 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 3867 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3868 | else | 
|---|
| 3869 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3870 | /* confdefs.h.  */ | 
|---|
| 3871 | _ACEOF | 
|---|
| 3872 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3873 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3874 | /* end confdefs.h.  */ | 
|---|
| 3875 | $ac_includes_default | 
|---|
| 3876 |  | 
|---|
| 3877 | #include <$ac_header> | 
|---|
| 3878 | _ACEOF | 
|---|
| 3879 | rm -f conftest.$ac_objext | 
|---|
| 3880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3881 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3882 |   ac_status=$? | 
|---|
| 3883 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3884 |   rm -f conftest.er1 | 
|---|
| 3885 |   cat conftest.err >&5 | 
|---|
| 3886 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3887 |   (exit $ac_status); } && | 
|---|
| 3888 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3889 |                          || test ! -s conftest.err' | 
|---|
| 3890 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3891 |   (eval $ac_try) 2>&5 | 
|---|
| 3892 |   ac_status=$? | 
|---|
| 3893 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3894 |   (exit $ac_status); }; } && | 
|---|
| 3895 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3896 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3897 |   (eval $ac_try) 2>&5 | 
|---|
| 3898 |   ac_status=$? | 
|---|
| 3899 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3900 |   (exit $ac_status); }; }; then | 
|---|
| 3901 |   eval "$as_ac_Header=yes" | 
|---|
| 3902 | else | 
|---|
| 3903 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3904 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3905 |  | 
|---|
| 3906 | eval "$as_ac_Header=no" | 
|---|
| 3907 | fi | 
|---|
| 3908 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3909 | fi | 
|---|
| 3910 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 3911 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 3912 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 3913 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3914 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 3915 | _ACEOF | 
|---|
| 3916 |  | 
|---|
| 3917 | fi | 
|---|
| 3918 |  | 
|---|
| 3919 | done | 
|---|
| 3920 |  | 
|---|
| 3921 |  | 
|---|
| 3922 |  | 
|---|
| 3923 | for ac_header in GL/gl.h | 
|---|
| 3924 | do | 
|---|
| 3925 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 3926 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 3927 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 3928 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 3929 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 3930 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3931 | fi | 
|---|
| 3932 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 3933 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 3934 | else | 
|---|
| 3935 |   # Is the header compilable? | 
|---|
| 3936 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 3937 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 3938 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3939 | /* confdefs.h.  */ | 
|---|
| 3940 | _ACEOF | 
|---|
| 3941 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3942 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3943 | /* end confdefs.h.  */ | 
|---|
| 3944 | $ac_includes_default | 
|---|
| 3945 | #include <$ac_header> | 
|---|
| 3946 | _ACEOF | 
|---|
| 3947 | rm -f conftest.$ac_objext | 
|---|
| 3948 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3949 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3950 |   ac_status=$? | 
|---|
| 3951 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3952 |   rm -f conftest.er1 | 
|---|
| 3953 |   cat conftest.err >&5 | 
|---|
| 3954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3955 |   (exit $ac_status); } && | 
|---|
| 3956 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3957 |                          || test ! -s conftest.err' | 
|---|
| 3958 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3959 |   (eval $ac_try) 2>&5 | 
|---|
| 3960 |   ac_status=$? | 
|---|
| 3961 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3962 |   (exit $ac_status); }; } && | 
|---|
| 3963 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3964 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3965 |   (eval $ac_try) 2>&5 | 
|---|
| 3966 |   ac_status=$? | 
|---|
| 3967 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3968 |   (exit $ac_status); }; }; then | 
|---|
| 3969 |   ac_header_compiler=yes | 
|---|
| 3970 | else | 
|---|
| 3971 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3972 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3973 |  | 
|---|
| 3974 | ac_header_compiler=no | 
|---|
| 3975 | fi | 
|---|
| 3976 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3977 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 3978 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 3979 |  | 
|---|
| 3980 | # Is the header present? | 
|---|
| 3981 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 3982 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 3983 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3984 | /* confdefs.h.  */ | 
|---|
| 3985 | _ACEOF | 
|---|
| 3986 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3987 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3988 | /* end confdefs.h.  */ | 
|---|
| 3989 | #include <$ac_header> | 
|---|
| 3990 | _ACEOF | 
|---|
| 3991 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3992 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3993 |   ac_status=$? | 
|---|
| 3994 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3995 |   rm -f conftest.er1 | 
|---|
| 3996 |   cat conftest.err >&5 | 
|---|
| 3997 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3998 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3999 |   if test -s conftest.err; then | 
|---|
| 4000 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4001 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4002 |   else | 
|---|
| 4003 |     ac_cpp_err= | 
|---|
| 4004 |   fi | 
|---|
| 4005 | else | 
|---|
| 4006 |   ac_cpp_err=yes | 
|---|
| 4007 | fi | 
|---|
| 4008 | if test -z "$ac_cpp_err"; then | 
|---|
| 4009 |   ac_header_preproc=yes | 
|---|
| 4010 | else | 
|---|
| 4011 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4012 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4013 |  | 
|---|
| 4014 |   ac_header_preproc=no | 
|---|
| 4015 | fi | 
|---|
| 4016 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4017 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4018 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4019 |  | 
|---|
| 4020 | # So?  What about this header? | 
|---|
| 4021 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4022 |   yes:no: ) | 
|---|
| 4023 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4024 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4025 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4026 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4027 |     ac_header_preproc=yes | 
|---|
| 4028 |     ;; | 
|---|
| 4029 |   no:yes:* ) | 
|---|
| 4030 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4031 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4032 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4033 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4034 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4035 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4036 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4037 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4038 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4039 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4040 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4041 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4042 |     ( | 
|---|
| 4043 |       cat <<\_ASBOX | 
|---|
| 4044 | ## ------------------------------------------- ## | 
|---|
| 4045 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4046 | ## ------------------------------------------- ## | 
|---|
| 4047 | _ASBOX | 
|---|
| 4048 |     ) | | 
|---|
| 4049 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4050 |     ;; | 
|---|
| 4051 | esac | 
|---|
| 4052 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4053 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4054 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4055 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4056 | else | 
|---|
| 4057 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4058 | fi | 
|---|
| 4059 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4060 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4061 |  | 
|---|
| 4062 | fi | 
|---|
| 4063 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4064 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4065 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4066 | _ACEOF | 
|---|
| 4067 |  | 
|---|
| 4068 | else | 
|---|
| 4069 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4070 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4071 |    { (exit 1); exit 1; }; } | 
|---|
| 4072 | fi | 
|---|
| 4073 |  | 
|---|
| 4074 | done | 
|---|
| 4075 |  | 
|---|
| 4076 | #   checking for Windows openGl library | 
|---|
| 4077 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
| 4078 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
| 4079 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| 4080 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4081 | else | 
|---|
| 4082 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4083 | LIBS="-lopengl32  $LIBS" | 
|---|
| 4084 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4085 | /* confdefs.h.  */ | 
|---|
| 4086 | _ACEOF | 
|---|
| 4087 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4088 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4089 | /* end confdefs.h.  */ | 
|---|
| 4090 |  | 
|---|
| 4091 |  | 
|---|
| 4092 | int | 
|---|
| 4093 | main () | 
|---|
| 4094 | { | 
|---|
| 4095 | main (); | 
|---|
| 4096 |   ; | 
|---|
| 4097 |   return 0; | 
|---|
| 4098 | } | 
|---|
| 4099 | _ACEOF | 
|---|
| 4100 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4101 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4102 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4103 |   ac_status=$? | 
|---|
| 4104 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4105 |   rm -f conftest.er1 | 
|---|
| 4106 |   cat conftest.err >&5 | 
|---|
| 4107 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4108 |   (exit $ac_status); } && | 
|---|
| 4109 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4110 |                          || test ! -s conftest.err' | 
|---|
| 4111 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4112 |   (eval $ac_try) 2>&5 | 
|---|
| 4113 |   ac_status=$? | 
|---|
| 4114 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4115 |   (exit $ac_status); }; } && | 
|---|
| 4116 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4117 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4118 |   (eval $ac_try) 2>&5 | 
|---|
| 4119 |   ac_status=$? | 
|---|
| 4120 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4121 |   (exit $ac_status); }; }; then | 
|---|
| 4122 |   ac_cv_lib_opengl32_main=yes | 
|---|
| 4123 | else | 
|---|
| 4124 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4125 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4126 |  | 
|---|
| 4127 | ac_cv_lib_opengl32_main=no | 
|---|
| 4128 | fi | 
|---|
| 4129 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4130 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4131 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4132 | fi | 
|---|
| 4133 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
| 4134 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
| 4135 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
| 4136 |   FOUND_opengl32=yes | 
|---|
| 4137 | else | 
|---|
| 4138 |   "gl/gl.h" | 
|---|
| 4139 | fi | 
|---|
| 4140 |  | 
|---|
| 4141 |     if test "$FOUND_opengl32" = "yes" ; then | 
|---|
| 4142 |         LIBS="$LIBS -lopengl32" | 
|---|
| 4143 |     else | 
|---|
| 4144 |          echo "------------------" | 
|---|
| 4145 |          echo "opengl not found." | 
|---|
| 4146 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 4147 |          echo "------------------" | 
|---|
| 4148 |          exit -1 | 
|---|
| 4149 |     fi | 
|---|
| 4150 |  | 
|---|
| 4151 | # cheking for GLU-header | 
|---|
| 4152 |  | 
|---|
| 4153 | for ac_header in GL/glu.h | 
|---|
| 4154 | do | 
|---|
| 4155 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4156 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4157 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4158 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4159 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4160 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4161 | fi | 
|---|
| 4162 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4163 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4164 | else | 
|---|
| 4165 |   # Is the header compilable? | 
|---|
| 4166 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4167 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4168 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4169 | /* confdefs.h.  */ | 
|---|
| 4170 | _ACEOF | 
|---|
| 4171 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4172 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4173 | /* end confdefs.h.  */ | 
|---|
| 4174 | $ac_includes_default | 
|---|
| 4175 | #include <$ac_header> | 
|---|
| 4176 | _ACEOF | 
|---|
| 4177 | rm -f conftest.$ac_objext | 
|---|
| 4178 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4179 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4180 |   ac_status=$? | 
|---|
| 4181 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4182 |   rm -f conftest.er1 | 
|---|
| 4183 |   cat conftest.err >&5 | 
|---|
| 4184 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4185 |   (exit $ac_status); } && | 
|---|
| 4186 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4187 |                          || test ! -s conftest.err' | 
|---|
| 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); }; } && | 
|---|
| 4193 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4194 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4195 |   (eval $ac_try) 2>&5 | 
|---|
| 4196 |   ac_status=$? | 
|---|
| 4197 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4198 |   (exit $ac_status); }; }; then | 
|---|
| 4199 |   ac_header_compiler=yes | 
|---|
| 4200 | else | 
|---|
| 4201 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4202 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4203 |  | 
|---|
| 4204 | ac_header_compiler=no | 
|---|
| 4205 | fi | 
|---|
| 4206 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4207 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4208 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4209 |  | 
|---|
| 4210 | # Is the header present? | 
|---|
| 4211 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4212 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4213 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4214 | /* confdefs.h.  */ | 
|---|
| 4215 | _ACEOF | 
|---|
| 4216 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4217 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4218 | /* end confdefs.h.  */ | 
|---|
| 4219 | #include <$ac_header> | 
|---|
| 4220 | _ACEOF | 
|---|
| 4221 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4222 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4223 |   ac_status=$? | 
|---|
| 4224 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4225 |   rm -f conftest.er1 | 
|---|
| 4226 |   cat conftest.err >&5 | 
|---|
| 4227 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4228 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4229 |   if test -s conftest.err; then | 
|---|
| 4230 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4231 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4232 |   else | 
|---|
| 4233 |     ac_cpp_err= | 
|---|
| 4234 |   fi | 
|---|
| 4235 | else | 
|---|
| 4236 |   ac_cpp_err=yes | 
|---|
| 4237 | fi | 
|---|
| 4238 | if test -z "$ac_cpp_err"; then | 
|---|
| 4239 |   ac_header_preproc=yes | 
|---|
| 4240 | else | 
|---|
| 4241 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4242 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4243 |  | 
|---|
| 4244 |   ac_header_preproc=no | 
|---|
| 4245 | fi | 
|---|
| 4246 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4247 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4248 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4249 |  | 
|---|
| 4250 | # So?  What about this header? | 
|---|
| 4251 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4252 |   yes:no: ) | 
|---|
| 4253 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4254 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4255 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4256 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4257 |     ac_header_preproc=yes | 
|---|
| 4258 |     ;; | 
|---|
| 4259 |   no:yes:* ) | 
|---|
| 4260 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4261 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4262 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4263 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4264 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4265 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4266 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4267 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4268 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4269 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4270 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4271 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4272 |     ( | 
|---|
| 4273 |       cat <<\_ASBOX | 
|---|
| 4274 | ## ------------------------------------------- ## | 
|---|
| 4275 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4276 | ## ------------------------------------------- ## | 
|---|
| 4277 | _ASBOX | 
|---|
| 4278 |     ) | | 
|---|
| 4279 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4280 |     ;; | 
|---|
| 4281 | esac | 
|---|
| 4282 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4283 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4284 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4285 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4286 | else | 
|---|
| 4287 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4288 | fi | 
|---|
| 4289 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4290 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4291 |  | 
|---|
| 4292 | fi | 
|---|
| 4293 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4294 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4295 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4296 | _ACEOF | 
|---|
| 4297 |  | 
|---|
| 4298 | else | 
|---|
| 4299 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4300 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4301 |    { (exit 1); exit 1; }; } | 
|---|
| 4302 | fi | 
|---|
| 4303 |  | 
|---|
| 4304 | done | 
|---|
| 4305 |  | 
|---|
| 4306 |  | 
|---|
| 4307 | # checking for libGLU | 
|---|
| 4308 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
| 4309 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
| 4310 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| 4311 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4312 | else | 
|---|
| 4313 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4314 | LIBS="-lglu32  $LIBS" | 
|---|
| 4315 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4316 | /* confdefs.h.  */ | 
|---|
| 4317 | _ACEOF | 
|---|
| 4318 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4319 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4320 | /* end confdefs.h.  */ | 
|---|
| 4321 |  | 
|---|
| 4322 |  | 
|---|
| 4323 | int | 
|---|
| 4324 | main () | 
|---|
| 4325 | { | 
|---|
| 4326 | main (); | 
|---|
| 4327 |   ; | 
|---|
| 4328 |   return 0; | 
|---|
| 4329 | } | 
|---|
| 4330 | _ACEOF | 
|---|
| 4331 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4332 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4333 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4334 |   ac_status=$? | 
|---|
| 4335 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4336 |   rm -f conftest.er1 | 
|---|
| 4337 |   cat conftest.err >&5 | 
|---|
| 4338 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4339 |   (exit $ac_status); } && | 
|---|
| 4340 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4341 |                          || test ! -s conftest.err' | 
|---|
| 4342 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4343 |   (eval $ac_try) 2>&5 | 
|---|
| 4344 |   ac_status=$? | 
|---|
| 4345 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4346 |   (exit $ac_status); }; } && | 
|---|
| 4347 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4348 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4349 |   (eval $ac_try) 2>&5 | 
|---|
| 4350 |   ac_status=$? | 
|---|
| 4351 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4352 |   (exit $ac_status); }; }; then | 
|---|
| 4353 |   ac_cv_lib_glu32_main=yes | 
|---|
| 4354 | else | 
|---|
| 4355 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4356 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4357 |  | 
|---|
| 4358 | ac_cv_lib_glu32_main=no | 
|---|
| 4359 | fi | 
|---|
| 4360 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4361 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4362 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4363 | fi | 
|---|
| 4364 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
| 4365 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
| 4366 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
| 4367 |   FOUND_glu32=yes | 
|---|
| 4368 | fi | 
|---|
| 4369 |  | 
|---|
| 4370 |     if test "$FOUND_glu32" = "yes" ; then | 
|---|
| 4371 |         LIBS="$LIBS -lGLU32" | 
|---|
| 4372 |     else | 
|---|
| 4373 |          echo "------------------" | 
|---|
| 4374 |          echo "GLU library not found." | 
|---|
| 4375 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 4376 |          echo "------------------" | 
|---|
| 4377 |          exit -1 | 
|---|
| 4378 |     fi | 
|---|
| 4379 |  | 
|---|
| 4380 | # checking for mingw32 | 
|---|
| 4381 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
| 4382 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
| 4383 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| 4384 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4385 | else | 
|---|
| 4386 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4387 | LIBS="-lmingw32  $LIBS" | 
|---|
| 4388 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4389 | /* confdefs.h.  */ | 
|---|
| 4390 | _ACEOF | 
|---|
| 4391 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4392 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4393 | /* end confdefs.h.  */ | 
|---|
| 4394 |  | 
|---|
| 4395 |  | 
|---|
| 4396 | int | 
|---|
| 4397 | main () | 
|---|
| 4398 | { | 
|---|
| 4399 | main (); | 
|---|
| 4400 |   ; | 
|---|
| 4401 |   return 0; | 
|---|
| 4402 | } | 
|---|
| 4403 | _ACEOF | 
|---|
| 4404 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4405 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4406 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4407 |   ac_status=$? | 
|---|
| 4408 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4409 |   rm -f conftest.er1 | 
|---|
| 4410 |   cat conftest.err >&5 | 
|---|
| 4411 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4412 |   (exit $ac_status); } && | 
|---|
| 4413 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4414 |                          || test ! -s conftest.err' | 
|---|
| 4415 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4416 |   (eval $ac_try) 2>&5 | 
|---|
| 4417 |   ac_status=$? | 
|---|
| 4418 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4419 |   (exit $ac_status); }; } && | 
|---|
| 4420 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4421 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4422 |   (eval $ac_try) 2>&5 | 
|---|
| 4423 |   ac_status=$? | 
|---|
| 4424 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4425 |   (exit $ac_status); }; }; then | 
|---|
| 4426 |   ac_cv_lib_mingw32_main=yes | 
|---|
| 4427 | else | 
|---|
| 4428 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4429 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4430 |  | 
|---|
| 4431 | ac_cv_lib_mingw32_main=no | 
|---|
| 4432 | fi | 
|---|
| 4433 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4434 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4435 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4436 | fi | 
|---|
| 4437 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
| 4438 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
| 4439 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
| 4440 |   FOUND_mingw32=yes | 
|---|
| 4441 | fi | 
|---|
| 4442 |  | 
|---|
| 4443 |     if test $FOUND_mingw32 = "yes"; then | 
|---|
| 4444 |         LIBS="$LIBS -lmingw32" | 
|---|
| 4445 |     fi | 
|---|
| 4446 | # checking for SDL-headers | 
|---|
| 4447 |  | 
|---|
| 4448 | for ac_header in SDL/SDL.h | 
|---|
| 4449 | do | 
|---|
| 4450 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4451 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4452 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4453 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4454 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4455 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4456 | fi | 
|---|
| 4457 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4458 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4459 | else | 
|---|
| 4460 |   # Is the header compilable? | 
|---|
| 4461 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4462 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4463 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4464 | /* confdefs.h.  */ | 
|---|
| 4465 | _ACEOF | 
|---|
| 4466 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4467 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4468 | /* end confdefs.h.  */ | 
|---|
| 4469 | $ac_includes_default | 
|---|
| 4470 | #include <$ac_header> | 
|---|
| 4471 | _ACEOF | 
|---|
| 4472 | rm -f conftest.$ac_objext | 
|---|
| 4473 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4474 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4475 |   ac_status=$? | 
|---|
| 4476 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4477 |   rm -f conftest.er1 | 
|---|
| 4478 |   cat conftest.err >&5 | 
|---|
| 4479 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4480 |   (exit $ac_status); } && | 
|---|
| 4481 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4482 |                          || test ! -s conftest.err' | 
|---|
| 4483 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4484 |   (eval $ac_try) 2>&5 | 
|---|
| 4485 |   ac_status=$? | 
|---|
| 4486 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4487 |   (exit $ac_status); }; } && | 
|---|
| 4488 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4489 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4490 |   (eval $ac_try) 2>&5 | 
|---|
| 4491 |   ac_status=$? | 
|---|
| 4492 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4493 |   (exit $ac_status); }; }; then | 
|---|
| 4494 |   ac_header_compiler=yes | 
|---|
| 4495 | else | 
|---|
| 4496 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4497 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4498 |  | 
|---|
| 4499 | ac_header_compiler=no | 
|---|
| 4500 | fi | 
|---|
| 4501 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4502 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4503 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4504 |  | 
|---|
| 4505 | # Is the header present? | 
|---|
| 4506 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4507 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4508 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4509 | /* confdefs.h.  */ | 
|---|
| 4510 | _ACEOF | 
|---|
| 4511 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4512 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4513 | /* end confdefs.h.  */ | 
|---|
| 4514 | #include <$ac_header> | 
|---|
| 4515 | _ACEOF | 
|---|
| 4516 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4517 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4518 |   ac_status=$? | 
|---|
| 4519 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4520 |   rm -f conftest.er1 | 
|---|
| 4521 |   cat conftest.err >&5 | 
|---|
| 4522 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4523 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4524 |   if test -s conftest.err; then | 
|---|
| 4525 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4526 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4527 |   else | 
|---|
| 4528 |     ac_cpp_err= | 
|---|
| 4529 |   fi | 
|---|
| 4530 | else | 
|---|
| 4531 |   ac_cpp_err=yes | 
|---|
| 4532 | fi | 
|---|
| 4533 | if test -z "$ac_cpp_err"; then | 
|---|
| 4534 |   ac_header_preproc=yes | 
|---|
| 4535 | else | 
|---|
| 4536 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4537 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4538 |  | 
|---|
| 4539 |   ac_header_preproc=no | 
|---|
| 4540 | fi | 
|---|
| 4541 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4542 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4543 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4544 |  | 
|---|
| 4545 | # So?  What about this header? | 
|---|
| 4546 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4547 |   yes:no: ) | 
|---|
| 4548 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4549 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4550 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4551 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4552 |     ac_header_preproc=yes | 
|---|
| 4553 |     ;; | 
|---|
| 4554 |   no:yes:* ) | 
|---|
| 4555 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4556 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4557 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4558 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4559 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4560 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4561 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4562 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4563 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4564 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4565 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4566 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4567 |     ( | 
|---|
| 4568 |       cat <<\_ASBOX | 
|---|
| 4569 | ## ------------------------------------------- ## | 
|---|
| 4570 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4571 | ## ------------------------------------------- ## | 
|---|
| 4572 | _ASBOX | 
|---|
| 4573 |     ) | | 
|---|
| 4574 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4575 |     ;; | 
|---|
| 4576 | esac | 
|---|
| 4577 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4579 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4580 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4581 | else | 
|---|
| 4582 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4583 | fi | 
|---|
| 4584 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4585 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4586 |  | 
|---|
| 4587 | fi | 
|---|
| 4588 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4589 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4590 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4591 | _ACEOF | 
|---|
| 4592 |  | 
|---|
| 4593 | else | 
|---|
| 4594 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 4595 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 4596 |    { (exit 1); exit 1; }; } | 
|---|
| 4597 | fi | 
|---|
| 4598 |  | 
|---|
| 4599 | done | 
|---|
| 4600 |  | 
|---|
| 4601 |  | 
|---|
| 4602 | #checking for libSDL | 
|---|
| 4603 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
| 4604 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
| 4605 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
| 4606 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4607 | else | 
|---|
| 4608 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4609 | LIBS="-lsdlmain  $LIBS" | 
|---|
| 4610 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4611 | /* confdefs.h.  */ | 
|---|
| 4612 | _ACEOF | 
|---|
| 4613 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4614 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4615 | /* end confdefs.h.  */ | 
|---|
| 4616 |  | 
|---|
| 4617 |  | 
|---|
| 4618 | int | 
|---|
| 4619 | main () | 
|---|
| 4620 | { | 
|---|
| 4621 | main (); | 
|---|
| 4622 |   ; | 
|---|
| 4623 |   return 0; | 
|---|
| 4624 | } | 
|---|
| 4625 | _ACEOF | 
|---|
| 4626 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4627 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4628 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4629 |   ac_status=$? | 
|---|
| 4630 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4631 |   rm -f conftest.er1 | 
|---|
| 4632 |   cat conftest.err >&5 | 
|---|
| 4633 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4634 |   (exit $ac_status); } && | 
|---|
| 4635 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4636 |                          || test ! -s conftest.err' | 
|---|
| 4637 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4638 |   (eval $ac_try) 2>&5 | 
|---|
| 4639 |   ac_status=$? | 
|---|
| 4640 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4641 |   (exit $ac_status); }; } && | 
|---|
| 4642 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4643 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4644 |   (eval $ac_try) 2>&5 | 
|---|
| 4645 |   ac_status=$? | 
|---|
| 4646 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4647 |   (exit $ac_status); }; }; then | 
|---|
| 4648 |   ac_cv_lib_sdlmain_main=yes | 
|---|
| 4649 | else | 
|---|
| 4650 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4651 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4652 |  | 
|---|
| 4653 | ac_cv_lib_sdlmain_main=no | 
|---|
| 4654 | fi | 
|---|
| 4655 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4656 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4657 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4658 | fi | 
|---|
| 4659 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
| 4660 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
| 4661 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
| 4662 |   FOUND_sdlmain=yes | 
|---|
| 4663 | fi | 
|---|
| 4664 |  | 
|---|
| 4665 |     if test "$FOUND_sdlmain" = "yes" ; then | 
|---|
| 4666 |        LIBS="$LIBS -lsdlmain" | 
|---|
| 4667 |     else | 
|---|
| 4668 |         echo "------------------" | 
|---|
| 4669 |         echo "SDL library not found." | 
|---|
| 4670 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 4671 |         echo "------------------" | 
|---|
| 4672 |         exit 1 | 
|---|
| 4673 |     fi | 
|---|
| 4674 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
| 4675 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
| 4676 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
| 4677 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4678 | else | 
|---|
| 4679 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4680 | LIBS="-lsdl  $LIBS" | 
|---|
| 4681 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4682 | /* confdefs.h.  */ | 
|---|
| 4683 | _ACEOF | 
|---|
| 4684 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4685 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4686 | /* end confdefs.h.  */ | 
|---|
| 4687 |  | 
|---|
| 4688 |  | 
|---|
| 4689 | int | 
|---|
| 4690 | main () | 
|---|
| 4691 | { | 
|---|
| 4692 | main (); | 
|---|
| 4693 |   ; | 
|---|
| 4694 |   return 0; | 
|---|
| 4695 | } | 
|---|
| 4696 | _ACEOF | 
|---|
| 4697 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4698 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4699 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4700 |   ac_status=$? | 
|---|
| 4701 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4702 |   rm -f conftest.er1 | 
|---|
| 4703 |   cat conftest.err >&5 | 
|---|
| 4704 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4705 |   (exit $ac_status); } && | 
|---|
| 4706 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4707 |                          || test ! -s conftest.err' | 
|---|
| 4708 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4709 |   (eval $ac_try) 2>&5 | 
|---|
| 4710 |   ac_status=$? | 
|---|
| 4711 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4712 |   (exit $ac_status); }; } && | 
|---|
| 4713 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4714 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4715 |   (eval $ac_try) 2>&5 | 
|---|
| 4716 |   ac_status=$? | 
|---|
| 4717 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4718 |   (exit $ac_status); }; }; then | 
|---|
| 4719 |   ac_cv_lib_sdl_main=yes | 
|---|
| 4720 | else | 
|---|
| 4721 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4722 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4723 |  | 
|---|
| 4724 | ac_cv_lib_sdl_main=no | 
|---|
| 4725 | fi | 
|---|
| 4726 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4727 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4728 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4729 | fi | 
|---|
| 4730 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
| 4731 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
| 4732 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
| 4733 |   FOUND_sdl=yes | 
|---|
| 4734 | fi | 
|---|
| 4735 |  | 
|---|
| 4736 |     if test "$FOUND_sdl" = "yes" ; then | 
|---|
| 4737 |        LIBS="$LIBS -lsdl" | 
|---|
| 4738 |     else | 
|---|
| 4739 |         echo "------------------" | 
|---|
| 4740 |         echo "SDL library not found." | 
|---|
| 4741 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 4742 |         echo "------------------" | 
|---|
| 4743 |         exit -1 | 
|---|
| 4744 |     fi | 
|---|
| 4745 |  | 
|---|
| 4746 |  | 
|---|
| 4747 |     ;; | 
|---|
| 4748 |  | 
|---|
| 4749 | ### LINUX ### | 
|---|
| 4750 |  *-*-linux*) | 
|---|
| 4751 | echo "Linux detected" | 
|---|
| 4752 |  | 
|---|
| 4753 |  Linux="yes" | 
|---|
| 4754 |  | 
|---|
| 4755 | # checking gl header | 
|---|
| 4756 |  | 
|---|
| 4757 | for ac_header in GL/gl.h | 
|---|
| 4758 | do | 
|---|
| 4759 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4760 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4761 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4762 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4763 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4764 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4765 | fi | 
|---|
| 4766 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4767 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4768 | else | 
|---|
| 4769 |   # Is the header compilable? | 
|---|
| 4770 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4771 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4772 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4773 | /* confdefs.h.  */ | 
|---|
| 4774 | _ACEOF | 
|---|
| 4775 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4776 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4777 | /* end confdefs.h.  */ | 
|---|
| 4778 | $ac_includes_default | 
|---|
| 4779 | #include <$ac_header> | 
|---|
| 4780 | _ACEOF | 
|---|
| 4781 | rm -f conftest.$ac_objext | 
|---|
| 4782 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4783 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4784 |   ac_status=$? | 
|---|
| 4785 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4786 |   rm -f conftest.er1 | 
|---|
| 4787 |   cat conftest.err >&5 | 
|---|
| 4788 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4789 |   (exit $ac_status); } && | 
|---|
| 4790 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4791 |                          || test ! -s conftest.err' | 
|---|
| 4792 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4793 |   (eval $ac_try) 2>&5 | 
|---|
| 4794 |   ac_status=$? | 
|---|
| 4795 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4796 |   (exit $ac_status); }; } && | 
|---|
| 4797 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4798 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4799 |   (eval $ac_try) 2>&5 | 
|---|
| 4800 |   ac_status=$? | 
|---|
| 4801 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4802 |   (exit $ac_status); }; }; then | 
|---|
| 4803 |   ac_header_compiler=yes | 
|---|
| 4804 | else | 
|---|
| 4805 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4806 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4807 |  | 
|---|
| 4808 | ac_header_compiler=no | 
|---|
| 4809 | fi | 
|---|
| 4810 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4811 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4812 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4813 |  | 
|---|
| 4814 | # Is the header present? | 
|---|
| 4815 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4816 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4817 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4818 | /* confdefs.h.  */ | 
|---|
| 4819 | _ACEOF | 
|---|
| 4820 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4821 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4822 | /* end confdefs.h.  */ | 
|---|
| 4823 | #include <$ac_header> | 
|---|
| 4824 | _ACEOF | 
|---|
| 4825 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4826 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4827 |   ac_status=$? | 
|---|
| 4828 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4829 |   rm -f conftest.er1 | 
|---|
| 4830 |   cat conftest.err >&5 | 
|---|
| 4831 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4832 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4833 |   if test -s conftest.err; then | 
|---|
| 4834 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4835 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4836 |   else | 
|---|
| 4837 |     ac_cpp_err= | 
|---|
| 4838 |   fi | 
|---|
| 4839 | else | 
|---|
| 4840 |   ac_cpp_err=yes | 
|---|
| 4841 | fi | 
|---|
| 4842 | if test -z "$ac_cpp_err"; then | 
|---|
| 4843 |   ac_header_preproc=yes | 
|---|
| 4844 | else | 
|---|
| 4845 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4846 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4847 |  | 
|---|
| 4848 |   ac_header_preproc=no | 
|---|
| 4849 | fi | 
|---|
| 4850 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4851 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4852 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4853 |  | 
|---|
| 4854 | # So?  What about this header? | 
|---|
| 4855 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4856 |   yes:no: ) | 
|---|
| 4857 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4858 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4859 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4860 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4861 |     ac_header_preproc=yes | 
|---|
| 4862 |     ;; | 
|---|
| 4863 |   no:yes:* ) | 
|---|
| 4864 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4865 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4866 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4867 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4868 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4869 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4870 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4871 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4872 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4873 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4874 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4875 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4876 |     ( | 
|---|
| 4877 |       cat <<\_ASBOX | 
|---|
| 4878 | ## ------------------------------------------- ## | 
|---|
| 4879 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4880 | ## ------------------------------------------- ## | 
|---|
| 4881 | _ASBOX | 
|---|
| 4882 |     ) | | 
|---|
| 4883 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4884 |     ;; | 
|---|
| 4885 | esac | 
|---|
| 4886 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4887 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4888 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4889 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4890 | else | 
|---|
| 4891 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4892 | fi | 
|---|
| 4893 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4894 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4895 |  | 
|---|
| 4896 | fi | 
|---|
| 4897 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4898 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4899 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4900 | _ACEOF | 
|---|
| 4901 |  | 
|---|
| 4902 | else | 
|---|
| 4903 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 4904 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 4905 |    { (exit 1); exit 1; }; } | 
|---|
| 4906 | fi | 
|---|
| 4907 |  | 
|---|
| 4908 | done | 
|---|
| 4909 |  | 
|---|
| 4910 |  | 
|---|
| 4911 | #  checking for Unix GL | 
|---|
| 4912 |    echo "$as_me:$LINENO: checking for main in -lGL" >&5 | 
|---|
| 4913 | echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 | 
|---|
| 4914 | if test "${ac_cv_lib_GL_main+set}" = set; then | 
|---|
| 4915 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4916 | else | 
|---|
| 4917 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 4918 | LIBS="-lGL  $LIBS" | 
|---|
| 4919 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4920 | /* confdefs.h.  */ | 
|---|
| 4921 | _ACEOF | 
|---|
| 4922 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4923 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4924 | /* end confdefs.h.  */ | 
|---|
| 4925 |  | 
|---|
| 4926 |  | 
|---|
| 4927 | int | 
|---|
| 4928 | main () | 
|---|
| 4929 | { | 
|---|
| 4930 | main (); | 
|---|
| 4931 |   ; | 
|---|
| 4932 |   return 0; | 
|---|
| 4933 | } | 
|---|
| 4934 | _ACEOF | 
|---|
| 4935 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4936 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4937 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4938 |   ac_status=$? | 
|---|
| 4939 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4940 |   rm -f conftest.er1 | 
|---|
| 4941 |   cat conftest.err >&5 | 
|---|
| 4942 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4943 |   (exit $ac_status); } && | 
|---|
| 4944 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4945 |                          || test ! -s conftest.err' | 
|---|
| 4946 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4947 |   (eval $ac_try) 2>&5 | 
|---|
| 4948 |   ac_status=$? | 
|---|
| 4949 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4950 |   (exit $ac_status); }; } && | 
|---|
| 4951 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4952 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4953 |   (eval $ac_try) 2>&5 | 
|---|
| 4954 |   ac_status=$? | 
|---|
| 4955 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4956 |   (exit $ac_status); }; }; then | 
|---|
| 4957 |   ac_cv_lib_GL_main=yes | 
|---|
| 4958 | else | 
|---|
| 4959 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4960 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4961 |  | 
|---|
| 4962 | ac_cv_lib_GL_main=no | 
|---|
| 4963 | fi | 
|---|
| 4964 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4965 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4966 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 4967 | fi | 
|---|
| 4968 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 | 
|---|
| 4969 | echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 | 
|---|
| 4970 | if test $ac_cv_lib_GL_main = yes; then | 
|---|
| 4971 |   FOUND_GL=yes | 
|---|
| 4972 | fi | 
|---|
| 4973 |  | 
|---|
| 4974 |    if test "$FOUND_GL" = "yes" ; then | 
|---|
| 4975 |      LIBS="$LIBS -lGL" | 
|---|
| 4976 |    else | 
|---|
| 4977 |          echo "------------------" | 
|---|
| 4978 |          echo "opengl not found." | 
|---|
| 4979 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
| 4980 |          echo "------------------" | 
|---|
| 4981 |          exit -1 | 
|---|
| 4982 |    fi | 
|---|
| 4983 |  | 
|---|
| 4984 | # cheking for GLU-header | 
|---|
| 4985 |  | 
|---|
| 4986 | for ac_header in GL/glu.h | 
|---|
| 4987 | do | 
|---|
| 4988 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4989 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4990 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4991 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4992 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4993 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4994 | fi | 
|---|
| 4995 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4996 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4997 | else | 
|---|
| 4998 |   # Is the header compilable? | 
|---|
| 4999 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5000 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5001 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5002 | /* confdefs.h.  */ | 
|---|
| 5003 | _ACEOF | 
|---|
| 5004 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5005 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5006 | /* end confdefs.h.  */ | 
|---|
| 5007 | $ac_includes_default | 
|---|
| 5008 | #include <$ac_header> | 
|---|
| 5009 | _ACEOF | 
|---|
| 5010 | rm -f conftest.$ac_objext | 
|---|
| 5011 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5012 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5013 |   ac_status=$? | 
|---|
| 5014 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5015 |   rm -f conftest.er1 | 
|---|
| 5016 |   cat conftest.err >&5 | 
|---|
| 5017 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5018 |   (exit $ac_status); } && | 
|---|
| 5019 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5020 |                          || test ! -s conftest.err' | 
|---|
| 5021 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5022 |   (eval $ac_try) 2>&5 | 
|---|
| 5023 |   ac_status=$? | 
|---|
| 5024 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5025 |   (exit $ac_status); }; } && | 
|---|
| 5026 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5027 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5028 |   (eval $ac_try) 2>&5 | 
|---|
| 5029 |   ac_status=$? | 
|---|
| 5030 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5031 |   (exit $ac_status); }; }; then | 
|---|
| 5032 |   ac_header_compiler=yes | 
|---|
| 5033 | else | 
|---|
| 5034 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5035 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5036 |  | 
|---|
| 5037 | ac_header_compiler=no | 
|---|
| 5038 | fi | 
|---|
| 5039 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5040 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5041 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5042 |  | 
|---|
| 5043 | # Is the header present? | 
|---|
| 5044 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5045 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5046 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5047 | /* confdefs.h.  */ | 
|---|
| 5048 | _ACEOF | 
|---|
| 5049 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5050 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5051 | /* end confdefs.h.  */ | 
|---|
| 5052 | #include <$ac_header> | 
|---|
| 5053 | _ACEOF | 
|---|
| 5054 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5055 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5056 |   ac_status=$? | 
|---|
| 5057 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5058 |   rm -f conftest.er1 | 
|---|
| 5059 |   cat conftest.err >&5 | 
|---|
| 5060 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5061 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5062 |   if test -s conftest.err; then | 
|---|
| 5063 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5064 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5065 |   else | 
|---|
| 5066 |     ac_cpp_err= | 
|---|
| 5067 |   fi | 
|---|
| 5068 | else | 
|---|
| 5069 |   ac_cpp_err=yes | 
|---|
| 5070 | fi | 
|---|
| 5071 | if test -z "$ac_cpp_err"; then | 
|---|
| 5072 |   ac_header_preproc=yes | 
|---|
| 5073 | else | 
|---|
| 5074 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5075 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5076 |  | 
|---|
| 5077 |   ac_header_preproc=no | 
|---|
| 5078 | fi | 
|---|
| 5079 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5080 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5081 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5082 |  | 
|---|
| 5083 | # So?  What about this header? | 
|---|
| 5084 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5085 |   yes:no: ) | 
|---|
| 5086 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5087 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5088 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5089 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5090 |     ac_header_preproc=yes | 
|---|
| 5091 |     ;; | 
|---|
| 5092 |   no:yes:* ) | 
|---|
| 5093 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5094 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5095 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5096 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5097 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5098 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5099 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5100 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5101 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5102 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5103 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5104 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5105 |     ( | 
|---|
| 5106 |       cat <<\_ASBOX | 
|---|
| 5107 | ## ------------------------------------------- ## | 
|---|
| 5108 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 5109 | ## ------------------------------------------- ## | 
|---|
| 5110 | _ASBOX | 
|---|
| 5111 |     ) | | 
|---|
| 5112 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5113 |     ;; | 
|---|
| 5114 | esac | 
|---|
| 5115 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5116 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5117 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5118 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5119 | else | 
|---|
| 5120 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5121 | fi | 
|---|
| 5122 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5123 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5124 |  | 
|---|
| 5125 | fi | 
|---|
| 5126 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5127 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5128 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5129 | _ACEOF | 
|---|
| 5130 |  | 
|---|
| 5131 | else | 
|---|
| 5132 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5133 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5134 |    { (exit 1); exit 1; }; } | 
|---|
| 5135 | fi | 
|---|
| 5136 |  | 
|---|
| 5137 | done | 
|---|
| 5138 |  | 
|---|
| 5139 |  | 
|---|
| 5140 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
| 5141 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
| 5142 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
| 5143 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5144 | else | 
|---|
| 5145 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5146 | LIBS="-lGLU  $LIBS" | 
|---|
| 5147 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5148 | /* confdefs.h.  */ | 
|---|
| 5149 | _ACEOF | 
|---|
| 5150 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5151 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5152 | /* end confdefs.h.  */ | 
|---|
| 5153 |  | 
|---|
| 5154 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 5155 | #ifdef __cplusplus | 
|---|
| 5156 | extern "C" | 
|---|
| 5157 | #endif | 
|---|
| 5158 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 5159 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 5160 | char gluProject (); | 
|---|
| 5161 | int | 
|---|
| 5162 | main () | 
|---|
| 5163 | { | 
|---|
| 5164 | gluProject (); | 
|---|
| 5165 |   ; | 
|---|
| 5166 |   return 0; | 
|---|
| 5167 | } | 
|---|
| 5168 | _ACEOF | 
|---|
| 5169 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5170 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5171 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5172 |   ac_status=$? | 
|---|
| 5173 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5174 |   rm -f conftest.er1 | 
|---|
| 5175 |   cat conftest.err >&5 | 
|---|
| 5176 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5177 |   (exit $ac_status); } && | 
|---|
| 5178 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5179 |                          || test ! -s conftest.err' | 
|---|
| 5180 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5181 |   (eval $ac_try) 2>&5 | 
|---|
| 5182 |   ac_status=$? | 
|---|
| 5183 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5184 |   (exit $ac_status); }; } && | 
|---|
| 5185 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5186 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5187 |   (eval $ac_try) 2>&5 | 
|---|
| 5188 |   ac_status=$? | 
|---|
| 5189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5190 |   (exit $ac_status); }; }; then | 
|---|
| 5191 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| 5192 | else | 
|---|
| 5193 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5194 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5195 |  | 
|---|
| 5196 | ac_cv_lib_GLU_gluProject=no | 
|---|
| 5197 | fi | 
|---|
| 5198 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5199 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5200 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5201 | fi | 
|---|
| 5202 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
| 5203 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
| 5204 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
| 5205 |   FOUND_GLU=yes | 
|---|
| 5206 | fi | 
|---|
| 5207 |  | 
|---|
| 5208 |     if test "$FOUND_GLU" = "yes" ; then | 
|---|
| 5209 |       LIBS="$LIBS -lGLU" | 
|---|
| 5210 |     else | 
|---|
| 5211 |          echo "------------------" | 
|---|
| 5212 |          echo "GLU library not found." | 
|---|
| 5213 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
| 5214 |          echo "------------------" | 
|---|
| 5215 |          exit -1 | 
|---|
| 5216 |     fi | 
|---|
| 5217 |  | 
|---|
| 5218 | # checking for SDL-headers | 
|---|
| 5219 |  | 
|---|
| 5220 | for ac_header in SDL/SDL.h | 
|---|
| 5221 | do | 
|---|
| 5222 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5223 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5224 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5225 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5226 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5227 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5228 | fi | 
|---|
| 5229 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5230 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5231 | else | 
|---|
| 5232 |   # Is the header compilable? | 
|---|
| 5233 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5234 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5235 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5236 | /* confdefs.h.  */ | 
|---|
| 5237 | _ACEOF | 
|---|
| 5238 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5239 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5240 | /* end confdefs.h.  */ | 
|---|
| 5241 | $ac_includes_default | 
|---|
| 5242 | #include <$ac_header> | 
|---|
| 5243 | _ACEOF | 
|---|
| 5244 | rm -f conftest.$ac_objext | 
|---|
| 5245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5246 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5247 |   ac_status=$? | 
|---|
| 5248 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5249 |   rm -f conftest.er1 | 
|---|
| 5250 |   cat conftest.err >&5 | 
|---|
| 5251 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5252 |   (exit $ac_status); } && | 
|---|
| 5253 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5254 |                          || test ! -s conftest.err' | 
|---|
| 5255 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5256 |   (eval $ac_try) 2>&5 | 
|---|
| 5257 |   ac_status=$? | 
|---|
| 5258 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5259 |   (exit $ac_status); }; } && | 
|---|
| 5260 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5261 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5262 |   (eval $ac_try) 2>&5 | 
|---|
| 5263 |   ac_status=$? | 
|---|
| 5264 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5265 |   (exit $ac_status); }; }; then | 
|---|
| 5266 |   ac_header_compiler=yes | 
|---|
| 5267 | else | 
|---|
| 5268 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5269 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5270 |  | 
|---|
| 5271 | ac_header_compiler=no | 
|---|
| 5272 | fi | 
|---|
| 5273 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5274 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5275 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5276 |  | 
|---|
| 5277 | # Is the header present? | 
|---|
| 5278 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5279 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5280 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5281 | /* confdefs.h.  */ | 
|---|
| 5282 | _ACEOF | 
|---|
| 5283 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5284 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5285 | /* end confdefs.h.  */ | 
|---|
| 5286 | #include <$ac_header> | 
|---|
| 5287 | _ACEOF | 
|---|
| 5288 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5289 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5290 |   ac_status=$? | 
|---|
| 5291 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5292 |   rm -f conftest.er1 | 
|---|
| 5293 |   cat conftest.err >&5 | 
|---|
| 5294 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5295 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5296 |   if test -s conftest.err; then | 
|---|
| 5297 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5298 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5299 |   else | 
|---|
| 5300 |     ac_cpp_err= | 
|---|
| 5301 |   fi | 
|---|
| 5302 | else | 
|---|
| 5303 |   ac_cpp_err=yes | 
|---|
| 5304 | fi | 
|---|
| 5305 | if test -z "$ac_cpp_err"; then | 
|---|
| 5306 |   ac_header_preproc=yes | 
|---|
| 5307 | else | 
|---|
| 5308 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5309 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5310 |  | 
|---|
| 5311 |   ac_header_preproc=no | 
|---|
| 5312 | fi | 
|---|
| 5313 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5314 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5315 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5316 |  | 
|---|
| 5317 | # So?  What about this header? | 
|---|
| 5318 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5319 |   yes:no: ) | 
|---|
| 5320 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5321 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5322 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5323 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5324 |     ac_header_preproc=yes | 
|---|
| 5325 |     ;; | 
|---|
| 5326 |   no:yes:* ) | 
|---|
| 5327 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5328 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5329 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5330 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5331 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5332 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5333 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5334 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5335 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5336 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5337 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5338 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5339 |     ( | 
|---|
| 5340 |       cat <<\_ASBOX | 
|---|
| 5341 | ## ------------------------------------------- ## | 
|---|
| 5342 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 5343 | ## ------------------------------------------- ## | 
|---|
| 5344 | _ASBOX | 
|---|
| 5345 |     ) | | 
|---|
| 5346 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5347 |     ;; | 
|---|
| 5348 | esac | 
|---|
| 5349 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5350 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5351 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5352 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5353 | else | 
|---|
| 5354 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5355 | fi | 
|---|
| 5356 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5357 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5358 |  | 
|---|
| 5359 | fi | 
|---|
| 5360 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5361 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5362 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5363 | _ACEOF | 
|---|
| 5364 |  | 
|---|
| 5365 | else | 
|---|
| 5366 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
| 5367 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
| 5368 |    { (exit 1); exit 1; }; } | 
|---|
| 5369 | fi | 
|---|
| 5370 |  | 
|---|
| 5371 | done | 
|---|
| 5372 |  | 
|---|
| 5373 |  | 
|---|
| 5374 | # checking for SDL-libs | 
|---|
| 5375 |     echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
| 5376 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
| 5377 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
| 5378 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5379 | else | 
|---|
| 5380 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5381 | LIBS="-lSDL  $LIBS" | 
|---|
| 5382 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5383 | /* confdefs.h.  */ | 
|---|
| 5384 | _ACEOF | 
|---|
| 5385 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5386 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5387 | /* end confdefs.h.  */ | 
|---|
| 5388 |  | 
|---|
| 5389 |  | 
|---|
| 5390 | int | 
|---|
| 5391 | main () | 
|---|
| 5392 | { | 
|---|
| 5393 | main (); | 
|---|
| 5394 |   ; | 
|---|
| 5395 |   return 0; | 
|---|
| 5396 | } | 
|---|
| 5397 | _ACEOF | 
|---|
| 5398 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5399 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5400 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5401 |   ac_status=$? | 
|---|
| 5402 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5403 |   rm -f conftest.er1 | 
|---|
| 5404 |   cat conftest.err >&5 | 
|---|
| 5405 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5406 |   (exit $ac_status); } && | 
|---|
| 5407 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5408 |                          || test ! -s conftest.err' | 
|---|
| 5409 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5410 |   (eval $ac_try) 2>&5 | 
|---|
| 5411 |   ac_status=$? | 
|---|
| 5412 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5413 |   (exit $ac_status); }; } && | 
|---|
| 5414 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5415 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5416 |   (eval $ac_try) 2>&5 | 
|---|
| 5417 |   ac_status=$? | 
|---|
| 5418 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5419 |   (exit $ac_status); }; }; then | 
|---|
| 5420 |   ac_cv_lib_SDL_main=yes | 
|---|
| 5421 | else | 
|---|
| 5422 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5423 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5424 |  | 
|---|
| 5425 | ac_cv_lib_SDL_main=no | 
|---|
| 5426 | fi | 
|---|
| 5427 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5428 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5429 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5430 | fi | 
|---|
| 5431 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
| 5432 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
| 5433 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
| 5434 |   FOUND_SDL=yes | 
|---|
| 5435 | fi | 
|---|
| 5436 |  | 
|---|
| 5437 |      if test "$FOUND_SDL" = "yes" ; then | 
|---|
| 5438 |        LIBS="$LIBS -lSDL" | 
|---|
| 5439 |      else | 
|---|
| 5440 |         echo "------------------" | 
|---|
| 5441 |         echo "SDL library not found." | 
|---|
| 5442 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
| 5443 |         echo "------------------" | 
|---|
| 5444 |         exit -1 | 
|---|
| 5445 |      fi | 
|---|
| 5446 |  | 
|---|
| 5447 | ## checking for SDL | 
|---|
| 5448 | #    SDL_VERSION=1.2.7 | 
|---|
| 5449 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 5450 | #      :, | 
|---|
| 5451 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 5452 | #      ) | 
|---|
| 5453 | #    CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 5454 | #    LIBS="$LIBS $SDL_LIBS" | 
|---|
| 5455 |     ;; | 
|---|
| 5456 |  | 
|---|
| 5457 | ### OS X ### | 
|---|
| 5458 |  *darwin*) | 
|---|
| 5459 | echo "OS X detected" | 
|---|
| 5460 |  | 
|---|
| 5461 |  osX="yes" | 
|---|
| 5462 |  | 
|---|
| 5463 | # checking gl header | 
|---|
| 5464 |  | 
|---|
| 5465 | for ac_header in OpenGL/gl.h | 
|---|
| 5466 | do | 
|---|
| 5467 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5468 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5469 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5470 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5471 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5472 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5473 | fi | 
|---|
| 5474 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5475 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5476 | else | 
|---|
| 5477 |   # Is the header compilable? | 
|---|
| 5478 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5479 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5480 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5481 | /* confdefs.h.  */ | 
|---|
| 5482 | _ACEOF | 
|---|
| 5483 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5484 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5485 | /* end confdefs.h.  */ | 
|---|
| 5486 | $ac_includes_default | 
|---|
| 5487 | #include <$ac_header> | 
|---|
| 5488 | _ACEOF | 
|---|
| 5489 | rm -f conftest.$ac_objext | 
|---|
| 5490 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5491 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5492 |   ac_status=$? | 
|---|
| 5493 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5494 |   rm -f conftest.er1 | 
|---|
| 5495 |   cat conftest.err >&5 | 
|---|
| 5496 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5497 |   (exit $ac_status); } && | 
|---|
| 5498 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5499 |                          || test ! -s conftest.err' | 
|---|
| 5500 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5501 |   (eval $ac_try) 2>&5 | 
|---|
| 5502 |   ac_status=$? | 
|---|
| 5503 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5504 |   (exit $ac_status); }; } && | 
|---|
| 5505 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5506 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5507 |   (eval $ac_try) 2>&5 | 
|---|
| 5508 |   ac_status=$? | 
|---|
| 5509 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5510 |   (exit $ac_status); }; }; then | 
|---|
| 5511 |   ac_header_compiler=yes | 
|---|
| 5512 | else | 
|---|
| 5513 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5514 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5515 |  | 
|---|
| 5516 | ac_header_compiler=no | 
|---|
| 5517 | fi | 
|---|
| 5518 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5519 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5520 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5521 |  | 
|---|
| 5522 | # Is the header present? | 
|---|
| 5523 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5524 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5525 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5526 | /* confdefs.h.  */ | 
|---|
| 5527 | _ACEOF | 
|---|
| 5528 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5529 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5530 | /* end confdefs.h.  */ | 
|---|
| 5531 | #include <$ac_header> | 
|---|
| 5532 | _ACEOF | 
|---|
| 5533 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5534 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5535 |   ac_status=$? | 
|---|
| 5536 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5537 |   rm -f conftest.er1 | 
|---|
| 5538 |   cat conftest.err >&5 | 
|---|
| 5539 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5540 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5541 |   if test -s conftest.err; then | 
|---|
| 5542 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5543 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5544 |   else | 
|---|
| 5545 |     ac_cpp_err= | 
|---|
| 5546 |   fi | 
|---|
| 5547 | else | 
|---|
| 5548 |   ac_cpp_err=yes | 
|---|
| 5549 | fi | 
|---|
| 5550 | if test -z "$ac_cpp_err"; then | 
|---|
| 5551 |   ac_header_preproc=yes | 
|---|
| 5552 | else | 
|---|
| 5553 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5554 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5555 |  | 
|---|
| 5556 |   ac_header_preproc=no | 
|---|
| 5557 | fi | 
|---|
| 5558 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5559 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5560 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5561 |  | 
|---|
| 5562 | # So?  What about this header? | 
|---|
| 5563 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5564 |   yes:no: ) | 
|---|
| 5565 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5566 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5567 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5568 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5569 |     ac_header_preproc=yes | 
|---|
| 5570 |     ;; | 
|---|
| 5571 |   no:yes:* ) | 
|---|
| 5572 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5573 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5574 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5575 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5576 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5577 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5578 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5579 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5580 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5581 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5582 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5583 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5584 |     ( | 
|---|
| 5585 |       cat <<\_ASBOX | 
|---|
| 5586 | ## ------------------------------------------- ## | 
|---|
| 5587 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 5588 | ## ------------------------------------------- ## | 
|---|
| 5589 | _ASBOX | 
|---|
| 5590 |     ) | | 
|---|
| 5591 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5592 |     ;; | 
|---|
| 5593 | esac | 
|---|
| 5594 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5595 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5596 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5597 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5598 | else | 
|---|
| 5599 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5600 | fi | 
|---|
| 5601 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5602 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5603 |  | 
|---|
| 5604 | fi | 
|---|
| 5605 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5606 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5607 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5608 | _ACEOF | 
|---|
| 5609 |  | 
|---|
| 5610 | else | 
|---|
| 5611 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5612 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5613 |    { (exit 1); exit 1; }; } | 
|---|
| 5614 | fi | 
|---|
| 5615 |  | 
|---|
| 5616 | done | 
|---|
| 5617 |  | 
|---|
| 5618 | # cheking for GLU-header | 
|---|
| 5619 |  | 
|---|
| 5620 | for ac_header in OpenGL/glu.h | 
|---|
| 5621 | do | 
|---|
| 5622 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 5623 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5624 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5625 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5626 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5627 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5628 | fi | 
|---|
| 5629 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5630 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5631 | else | 
|---|
| 5632 |   # Is the header compilable? | 
|---|
| 5633 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 5634 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 5635 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5636 | /* confdefs.h.  */ | 
|---|
| 5637 | _ACEOF | 
|---|
| 5638 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5639 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5640 | /* end confdefs.h.  */ | 
|---|
| 5641 | $ac_includes_default | 
|---|
| 5642 | #include <$ac_header> | 
|---|
| 5643 | _ACEOF | 
|---|
| 5644 | rm -f conftest.$ac_objext | 
|---|
| 5645 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 5646 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 5647 |   ac_status=$? | 
|---|
| 5648 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5649 |   rm -f conftest.er1 | 
|---|
| 5650 |   cat conftest.err >&5 | 
|---|
| 5651 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5652 |   (exit $ac_status); } && | 
|---|
| 5653 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5654 |                          || test ! -s conftest.err' | 
|---|
| 5655 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5656 |   (eval $ac_try) 2>&5 | 
|---|
| 5657 |   ac_status=$? | 
|---|
| 5658 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5659 |   (exit $ac_status); }; } && | 
|---|
| 5660 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 5661 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5662 |   (eval $ac_try) 2>&5 | 
|---|
| 5663 |   ac_status=$? | 
|---|
| 5664 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5665 |   (exit $ac_status); }; }; then | 
|---|
| 5666 |   ac_header_compiler=yes | 
|---|
| 5667 | else | 
|---|
| 5668 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5669 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5670 |  | 
|---|
| 5671 | ac_header_compiler=no | 
|---|
| 5672 | fi | 
|---|
| 5673 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 5674 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 5675 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 5676 |  | 
|---|
| 5677 | # Is the header present? | 
|---|
| 5678 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 5679 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 5680 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5681 | /* confdefs.h.  */ | 
|---|
| 5682 | _ACEOF | 
|---|
| 5683 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5684 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5685 | /* end confdefs.h.  */ | 
|---|
| 5686 | #include <$ac_header> | 
|---|
| 5687 | _ACEOF | 
|---|
| 5688 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 5689 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 5690 |   ac_status=$? | 
|---|
| 5691 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5692 |   rm -f conftest.er1 | 
|---|
| 5693 |   cat conftest.err >&5 | 
|---|
| 5694 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5695 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 5696 |   if test -s conftest.err; then | 
|---|
| 5697 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 5698 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 5699 |   else | 
|---|
| 5700 |     ac_cpp_err= | 
|---|
| 5701 |   fi | 
|---|
| 5702 | else | 
|---|
| 5703 |   ac_cpp_err=yes | 
|---|
| 5704 | fi | 
|---|
| 5705 | if test -z "$ac_cpp_err"; then | 
|---|
| 5706 |   ac_header_preproc=yes | 
|---|
| 5707 | else | 
|---|
| 5708 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5709 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5710 |  | 
|---|
| 5711 |   ac_header_preproc=no | 
|---|
| 5712 | fi | 
|---|
| 5713 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 5714 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 5715 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 5716 |  | 
|---|
| 5717 | # So?  What about this header? | 
|---|
| 5718 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 5719 |   yes:no: ) | 
|---|
| 5720 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 5721 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 5722 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 5723 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 5724 |     ac_header_preproc=yes | 
|---|
| 5725 |     ;; | 
|---|
| 5726 |   no:yes:* ) | 
|---|
| 5727 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 5728 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 5729 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 5730 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 5731 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 5732 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 5733 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 5734 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 5735 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 5736 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 5737 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 5738 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 5739 |     ( | 
|---|
| 5740 |       cat <<\_ASBOX | 
|---|
| 5741 | ## ------------------------------------------- ## | 
|---|
| 5742 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 5743 | ## ------------------------------------------- ## | 
|---|
| 5744 | _ASBOX | 
|---|
| 5745 |     ) | | 
|---|
| 5746 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 5747 |     ;; | 
|---|
| 5748 | esac | 
|---|
| 5749 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 5750 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 5751 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 5752 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5753 | else | 
|---|
| 5754 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 5755 | fi | 
|---|
| 5756 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 5757 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 5758 |  | 
|---|
| 5759 | fi | 
|---|
| 5760 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 5761 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 5762 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 5763 | _ACEOF | 
|---|
| 5764 |  | 
|---|
| 5765 | else | 
|---|
| 5766 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
| 5767 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
| 5768 |    { (exit 1); exit 1; }; } | 
|---|
| 5769 | fi | 
|---|
| 5770 |  | 
|---|
| 5771 | done | 
|---|
| 5772 |  | 
|---|
| 5773 |  | 
|---|
| 5774 |    LIBS="$LIBS -framework OpenGL" | 
|---|
| 5775 |  | 
|---|
| 5776 | # checking for SDL-headers | 
|---|
| 5777 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
| 5778 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| 5779 |  | 
|---|
| 5780 | ## checking for SDL | 
|---|
| 5781 | #    SDL_VERSION=1.2.7 | 
|---|
| 5782 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
| 5783 | #      :, | 
|---|
| 5784 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
| 5785 | #      ) | 
|---|
| 5786 |  | 
|---|
| 5787 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
| 5788 |        SDL_LIBS=`sdl-config --libs` | 
|---|
| 5789 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
| 5790 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
| 5791 |     ;; | 
|---|
| 5792 |  | 
|---|
| 5793 |   *) | 
|---|
| 5794 |     ;; | 
|---|
| 5795 | esac | 
|---|
| 5796 |  | 
|---|
| 5797 |  | 
|---|
| 5798 |  | 
|---|
| 5799 |  | 
|---|
| 5800 |  | 
|---|
| 5801 |  | 
|---|
| 5802 | ## checking for GTK | 
|---|
| 5803 |  | 
|---|
| 5804 |   succeeded=no | 
|---|
| 5805 |  | 
|---|
| 5806 |   if test -z "$PKG_CONFIG"; then | 
|---|
| 5807 |     # Extract the first word of "pkg-config", so it can be a program name with args. | 
|---|
| 5808 | set dummy pkg-config; ac_word=$2 | 
|---|
| 5809 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 5810 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 5811 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 
|---|
| 5812 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5813 | else | 
|---|
| 5814 |   case $PKG_CONFIG in | 
|---|
| 5815 |   [\\/]* | ?:[\\/]*) | 
|---|
| 5816 |   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 
|---|
| 5817 |   ;; | 
|---|
| 5818 |   *) | 
|---|
| 5819 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5820 | for as_dir in $PATH | 
|---|
| 5821 | do | 
|---|
| 5822 |   IFS=$as_save_IFS | 
|---|
| 5823 |   test -z "$as_dir" && as_dir=. | 
|---|
| 5824 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 5825 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 5826 |     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 5827 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 5828 |     break 2 | 
|---|
| 5829 |   fi | 
|---|
| 5830 | done | 
|---|
| 5831 | done | 
|---|
| 5832 |  | 
|---|
| 5833 |   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 
|---|
| 5834 |   ;; | 
|---|
| 5835 | esac | 
|---|
| 5836 | fi | 
|---|
| 5837 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 
|---|
| 5838 |  | 
|---|
| 5839 | if test -n "$PKG_CONFIG"; then | 
|---|
| 5840 |   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 
|---|
| 5841 | echo "${ECHO_T}$PKG_CONFIG" >&6 | 
|---|
| 5842 | else | 
|---|
| 5843 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 5844 | echo "${ECHO_T}no" >&6 | 
|---|
| 5845 | fi | 
|---|
| 5846 |  | 
|---|
| 5847 |   fi | 
|---|
| 5848 |  | 
|---|
| 5849 |   if test "$PKG_CONFIG" = "no" ; then | 
|---|
| 5850 |      echo "*** The pkg-config script could not be found. Make sure it is" | 
|---|
| 5851 |      echo "*** in your path, or set the PKG_CONFIG environment variable" | 
|---|
| 5852 |      echo "*** to the full path to pkg-config." | 
|---|
| 5853 |      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." | 
|---|
| 5854 |   else | 
|---|
| 5855 |      PKG_CONFIG_MIN_VERSION=0.9.0 | 
|---|
| 5856 |      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 
|---|
| 5857 |         echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" >&5 | 
|---|
| 5858 | echo $ECHO_N "checking for gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3... $ECHO_C" >&6 | 
|---|
| 5859 |  | 
|---|
| 5860 |         if $PKG_CONFIG --exists "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3" ; then | 
|---|
| 5861 |             echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 5862 | echo "${ECHO_T}yes" >&6 | 
|---|
| 5863 |             succeeded=yes | 
|---|
| 5864 |  | 
|---|
| 5865 |             echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5 | 
|---|
| 5866 | echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6 | 
|---|
| 5867 |             GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` | 
|---|
| 5868 |             echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5 | 
|---|
| 5869 | echo "${ECHO_T}$GTK2_CFLAGS" >&6 | 
|---|
| 5870 |  | 
|---|
| 5871 |             echo "$as_me:$LINENO: checking GTK2_LIBS" >&5 | 
|---|
| 5872 | echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6 | 
|---|
| 5873 |             GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` | 
|---|
| 5874 |             echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5 | 
|---|
| 5875 | echo "${ECHO_T}$GTK2_LIBS" >&6 | 
|---|
| 5876 |         else | 
|---|
| 5877 |             GTK2_CFLAGS="" | 
|---|
| 5878 |             GTK2_LIBS="" | 
|---|
| 5879 |             ## If we have a custom action on failure, don't print errors, but | 
|---|
| 5880 |             ## do set a variable so people can do so. | 
|---|
| 5881 |             GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3"` | 
|---|
| 5882 |  | 
|---|
| 5883 |         fi | 
|---|
| 5884 |  | 
|---|
| 5885 |  | 
|---|
| 5886 |  | 
|---|
| 5887 |      else | 
|---|
| 5888 |         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | 
|---|
| 5889 |         echo "*** See http://www.freedesktop.org/software/pkgconfig" | 
|---|
| 5890 |      fi | 
|---|
| 5891 |   fi | 
|---|
| 5892 |  | 
|---|
| 5893 |   if test $succeeded = yes; then | 
|---|
| 5894 |      have_gtk2=yes | 
|---|
| 5895 |   else | 
|---|
| 5896 |      have_gtk2=no | 
|---|
| 5897 |   fi | 
|---|
| 5898 |  | 
|---|
| 5899 |  | 
|---|
| 5900 |  | 
|---|
| 5901 |  | 
|---|
| 5902 |  | 
|---|
| 5903 | if test "x$have_gtk2" = xyes; then | 
|---|
| 5904 |   HAVE_GTK2_TRUE= | 
|---|
| 5905 |   HAVE_GTK2_FALSE='#' | 
|---|
| 5906 | else | 
|---|
| 5907 |   HAVE_GTK2_TRUE='#' | 
|---|
| 5908 |   HAVE_GTK2_FALSE= | 
|---|
| 5909 | fi | 
|---|
| 5910 |  | 
|---|
| 5911 |  | 
|---|
| 5912 |  | 
|---|
| 5913 | #checking for pthread libs | 
|---|
| 5914 |  echo "$as_me:$LINENO: checking for main in -lpthread" >&5 | 
|---|
| 5915 | echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 | 
|---|
| 5916 | if test "${ac_cv_lib_pthread_main+set}" = set; then | 
|---|
| 5917 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5918 | else | 
|---|
| 5919 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5920 | LIBS="-lpthread  $LIBS" | 
|---|
| 5921 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5922 | /* confdefs.h.  */ | 
|---|
| 5923 | _ACEOF | 
|---|
| 5924 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5925 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5926 | /* end confdefs.h.  */ | 
|---|
| 5927 |  | 
|---|
| 5928 |  | 
|---|
| 5929 | int | 
|---|
| 5930 | main () | 
|---|
| 5931 | { | 
|---|
| 5932 | main (); | 
|---|
| 5933 |   ; | 
|---|
| 5934 |   return 0; | 
|---|
| 5935 | } | 
|---|
| 5936 | _ACEOF | 
|---|
| 5937 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 5938 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 5939 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 5940 |   ac_status=$? | 
|---|
| 5941 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 5942 |   rm -f conftest.er1 | 
|---|
| 5943 |   cat conftest.err >&5 | 
|---|
| 5944 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5945 |   (exit $ac_status); } && | 
|---|
| 5946 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 5947 |                          || test ! -s conftest.err' | 
|---|
| 5948 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5949 |   (eval $ac_try) 2>&5 | 
|---|
| 5950 |   ac_status=$? | 
|---|
| 5951 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5952 |   (exit $ac_status); }; } && | 
|---|
| 5953 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 5954 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 5955 |   (eval $ac_try) 2>&5 | 
|---|
| 5956 |   ac_status=$? | 
|---|
| 5957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 5958 |   (exit $ac_status); }; }; then | 
|---|
| 5959 |   ac_cv_lib_pthread_main=yes | 
|---|
| 5960 | else | 
|---|
| 5961 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 5962 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 5963 |  | 
|---|
| 5964 | ac_cv_lib_pthread_main=no | 
|---|
| 5965 | fi | 
|---|
| 5966 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 5967 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 5968 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 5969 | fi | 
|---|
| 5970 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 | 
|---|
| 5971 | echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 | 
|---|
| 5972 | if test $ac_cv_lib_pthread_main = yes; then | 
|---|
| 5973 |   FOUND_pthread=yes | 
|---|
| 5974 | fi | 
|---|
| 5975 |  | 
|---|
| 5976 |  if test "$FOUND_pthread" = "yes" ; then | 
|---|
| 5977 |     LIBS="$LIBS -lpthread" | 
|---|
| 5978 |  fi | 
|---|
| 5979 |  | 
|---|
| 5980 |  | 
|---|
| 5981 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
| 5982 |  | 
|---|
| 5983 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
| 5984 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
| 5985 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
| 5986 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 5987 | else | 
|---|
| 5988 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 5989 | LIBS="-lm  $LIBS" | 
|---|
| 5990 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 5991 | /* confdefs.h.  */ | 
|---|
| 5992 | _ACEOF | 
|---|
| 5993 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 5994 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 5995 | /* end confdefs.h.  */ | 
|---|
| 5996 |  | 
|---|
| 5997 |  | 
|---|
| 5998 | int | 
|---|
| 5999 | main () | 
|---|
| 6000 | { | 
|---|
| 6001 | main (); | 
|---|
| 6002 |   ; | 
|---|
| 6003 |   return 0; | 
|---|
| 6004 | } | 
|---|
| 6005 | _ACEOF | 
|---|
| 6006 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6007 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6008 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6009 |   ac_status=$? | 
|---|
| 6010 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6011 |   rm -f conftest.er1 | 
|---|
| 6012 |   cat conftest.err >&5 | 
|---|
| 6013 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6014 |   (exit $ac_status); } && | 
|---|
| 6015 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6016 |                          || test ! -s conftest.err' | 
|---|
| 6017 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6018 |   (eval $ac_try) 2>&5 | 
|---|
| 6019 |   ac_status=$? | 
|---|
| 6020 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6021 |   (exit $ac_status); }; } && | 
|---|
| 6022 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6023 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6024 |   (eval $ac_try) 2>&5 | 
|---|
| 6025 |   ac_status=$? | 
|---|
| 6026 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6027 |   (exit $ac_status); }; }; then | 
|---|
| 6028 |   ac_cv_lib_m_main=yes | 
|---|
| 6029 | else | 
|---|
| 6030 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6031 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6032 |  | 
|---|
| 6033 | ac_cv_lib_m_main=no | 
|---|
| 6034 | fi | 
|---|
| 6035 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6036 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6037 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 6038 | fi | 
|---|
| 6039 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
| 6040 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
| 6041 | if test $ac_cv_lib_m_main = yes; then | 
|---|
| 6042 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6043 | #define HAVE_LIBM 1 | 
|---|
| 6044 | _ACEOF | 
|---|
| 6045 |  | 
|---|
| 6046 |   LIBS="-lm $LIBS" | 
|---|
| 6047 |  | 
|---|
| 6048 | fi | 
|---|
| 6049 |  | 
|---|
| 6050 |  | 
|---|
| 6051 |  | 
|---|
| 6052 | # Checks for header files. | 
|---|
| 6053 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 6054 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 6055 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 6056 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6057 | else | 
|---|
| 6058 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6059 | /* confdefs.h.  */ | 
|---|
| 6060 | _ACEOF | 
|---|
| 6061 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6062 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6063 | /* end confdefs.h.  */ | 
|---|
| 6064 | #include <stdlib.h> | 
|---|
| 6065 | #include <stdarg.h> | 
|---|
| 6066 | #include <string.h> | 
|---|
| 6067 | #include <float.h> | 
|---|
| 6068 |  | 
|---|
| 6069 | int | 
|---|
| 6070 | main () | 
|---|
| 6071 | { | 
|---|
| 6072 |  | 
|---|
| 6073 |   ; | 
|---|
| 6074 |   return 0; | 
|---|
| 6075 | } | 
|---|
| 6076 | _ACEOF | 
|---|
| 6077 | rm -f conftest.$ac_objext | 
|---|
| 6078 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6079 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6080 |   ac_status=$? | 
|---|
| 6081 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6082 |   rm -f conftest.er1 | 
|---|
| 6083 |   cat conftest.err >&5 | 
|---|
| 6084 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6085 |   (exit $ac_status); } && | 
|---|
| 6086 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6087 |                          || test ! -s conftest.err' | 
|---|
| 6088 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6089 |   (eval $ac_try) 2>&5 | 
|---|
| 6090 |   ac_status=$? | 
|---|
| 6091 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6092 |   (exit $ac_status); }; } && | 
|---|
| 6093 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6094 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6095 |   (eval $ac_try) 2>&5 | 
|---|
| 6096 |   ac_status=$? | 
|---|
| 6097 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6098 |   (exit $ac_status); }; }; then | 
|---|
| 6099 |   ac_cv_header_stdc=yes | 
|---|
| 6100 | else | 
|---|
| 6101 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6102 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6103 |  | 
|---|
| 6104 | ac_cv_header_stdc=no | 
|---|
| 6105 | fi | 
|---|
| 6106 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6107 |  | 
|---|
| 6108 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 6109 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 6110 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6111 | /* confdefs.h.  */ | 
|---|
| 6112 | _ACEOF | 
|---|
| 6113 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6114 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6115 | /* end confdefs.h.  */ | 
|---|
| 6116 | #include <string.h> | 
|---|
| 6117 |  | 
|---|
| 6118 | _ACEOF | 
|---|
| 6119 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 6120 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 6121 |   : | 
|---|
| 6122 | else | 
|---|
| 6123 |   ac_cv_header_stdc=no | 
|---|
| 6124 | fi | 
|---|
| 6125 | rm -f conftest* | 
|---|
| 6126 |  | 
|---|
| 6127 | fi | 
|---|
| 6128 |  | 
|---|
| 6129 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 6130 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 6131 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6132 | /* confdefs.h.  */ | 
|---|
| 6133 | _ACEOF | 
|---|
| 6134 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6135 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6136 | /* end confdefs.h.  */ | 
|---|
| 6137 | #include <stdlib.h> | 
|---|
| 6138 |  | 
|---|
| 6139 | _ACEOF | 
|---|
| 6140 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 6141 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 6142 |   : | 
|---|
| 6143 | else | 
|---|
| 6144 |   ac_cv_header_stdc=no | 
|---|
| 6145 | fi | 
|---|
| 6146 | rm -f conftest* | 
|---|
| 6147 |  | 
|---|
| 6148 | fi | 
|---|
| 6149 |  | 
|---|
| 6150 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 6151 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 6152 |   if test "$cross_compiling" = yes; then | 
|---|
| 6153 |   : | 
|---|
| 6154 | else | 
|---|
| 6155 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6156 | /* confdefs.h.  */ | 
|---|
| 6157 | _ACEOF | 
|---|
| 6158 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6159 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6160 | /* end confdefs.h.  */ | 
|---|
| 6161 | #include <ctype.h> | 
|---|
| 6162 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 6163 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 6164 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 6165 | #else | 
|---|
| 6166 | # define ISLOWER(c) \ | 
|---|
| 6167 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 6168 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 6169 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 6170 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 6171 | #endif | 
|---|
| 6172 |  | 
|---|
| 6173 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 6174 | int | 
|---|
| 6175 | main () | 
|---|
| 6176 | { | 
|---|
| 6177 |   int i; | 
|---|
| 6178 |   for (i = 0; i < 256; i++) | 
|---|
| 6179 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 6180 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 6181 |       exit(2); | 
|---|
| 6182 |   exit (0); | 
|---|
| 6183 | } | 
|---|
| 6184 | _ACEOF | 
|---|
| 6185 | rm -f conftest$ac_exeext | 
|---|
| 6186 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6187 |   (eval $ac_link) 2>&5 | 
|---|
| 6188 |   ac_status=$? | 
|---|
| 6189 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6190 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 6191 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6192 |   (eval $ac_try) 2>&5 | 
|---|
| 6193 |   ac_status=$? | 
|---|
| 6194 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6195 |   (exit $ac_status); }; }; then | 
|---|
| 6196 |   : | 
|---|
| 6197 | else | 
|---|
| 6198 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 6199 | echo "$as_me: failed program was:" >&5 | 
|---|
| 6200 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6201 |  | 
|---|
| 6202 | ( exit $ac_status ) | 
|---|
| 6203 | ac_cv_header_stdc=no | 
|---|
| 6204 | fi | 
|---|
| 6205 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6206 | fi | 
|---|
| 6207 | fi | 
|---|
| 6208 | fi | 
|---|
| 6209 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 6210 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 6211 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 6212 |  | 
|---|
| 6213 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 6214 | #define STDC_HEADERS 1 | 
|---|
| 6215 | _ACEOF | 
|---|
| 6216 |  | 
|---|
| 6217 | fi | 
|---|
| 6218 |  | 
|---|
| 6219 |  | 
|---|
| 6220 |  | 
|---|
| 6221 | for ac_header in stdlib.h string.h | 
|---|
| 6222 | do | 
|---|
| 6223 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6224 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6225 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6226 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6227 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6228 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6229 | fi | 
|---|
| 6230 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6231 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6232 | else | 
|---|
| 6233 |   # Is the header compilable? | 
|---|
| 6234 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6235 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6236 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6237 | /* confdefs.h.  */ | 
|---|
| 6238 | _ACEOF | 
|---|
| 6239 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6240 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6241 | /* end confdefs.h.  */ | 
|---|
| 6242 | $ac_includes_default | 
|---|
| 6243 | #include <$ac_header> | 
|---|
| 6244 | _ACEOF | 
|---|
| 6245 | rm -f conftest.$ac_objext | 
|---|
| 6246 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6247 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6248 |   ac_status=$? | 
|---|
| 6249 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6250 |   rm -f conftest.er1 | 
|---|
| 6251 |   cat conftest.err >&5 | 
|---|
| 6252 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6253 |   (exit $ac_status); } && | 
|---|
| 6254 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6255 |                          || test ! -s conftest.err' | 
|---|
| 6256 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6257 |   (eval $ac_try) 2>&5 | 
|---|
| 6258 |   ac_status=$? | 
|---|
| 6259 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6260 |   (exit $ac_status); }; } && | 
|---|
| 6261 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6262 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6263 |   (eval $ac_try) 2>&5 | 
|---|
| 6264 |   ac_status=$? | 
|---|
| 6265 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6266 |   (exit $ac_status); }; }; then | 
|---|
| 6267 |   ac_header_compiler=yes | 
|---|
| 6268 | else | 
|---|
| 6269 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6270 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6271 |  | 
|---|
| 6272 | ac_header_compiler=no | 
|---|
| 6273 | fi | 
|---|
| 6274 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6275 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6276 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6277 |  | 
|---|
| 6278 | # Is the header present? | 
|---|
| 6279 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6280 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6281 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6282 | /* confdefs.h.  */ | 
|---|
| 6283 | _ACEOF | 
|---|
| 6284 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6285 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6286 | /* end confdefs.h.  */ | 
|---|
| 6287 | #include <$ac_header> | 
|---|
| 6288 | _ACEOF | 
|---|
| 6289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6290 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6291 |   ac_status=$? | 
|---|
| 6292 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6293 |   rm -f conftest.er1 | 
|---|
| 6294 |   cat conftest.err >&5 | 
|---|
| 6295 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6296 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6297 |   if test -s conftest.err; then | 
|---|
| 6298 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6299 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6300 |   else | 
|---|
| 6301 |     ac_cpp_err= | 
|---|
| 6302 |   fi | 
|---|
| 6303 | else | 
|---|
| 6304 |   ac_cpp_err=yes | 
|---|
| 6305 | fi | 
|---|
| 6306 | if test -z "$ac_cpp_err"; then | 
|---|
| 6307 |   ac_header_preproc=yes | 
|---|
| 6308 | else | 
|---|
| 6309 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6310 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6311 |  | 
|---|
| 6312 |   ac_header_preproc=no | 
|---|
| 6313 | fi | 
|---|
| 6314 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6315 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6316 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6317 |  | 
|---|
| 6318 | # So?  What about this header? | 
|---|
| 6319 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6320 |   yes:no: ) | 
|---|
| 6321 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6322 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6323 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6324 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6325 |     ac_header_preproc=yes | 
|---|
| 6326 |     ;; | 
|---|
| 6327 |   no:yes:* ) | 
|---|
| 6328 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6329 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6330 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6331 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6332 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6333 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6334 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6335 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6336 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6337 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6338 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6339 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6340 |     ( | 
|---|
| 6341 |       cat <<\_ASBOX | 
|---|
| 6342 | ## ------------------------------------------- ## | 
|---|
| 6343 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 6344 | ## ------------------------------------------- ## | 
|---|
| 6345 | _ASBOX | 
|---|
| 6346 |     ) | | 
|---|
| 6347 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6348 |     ;; | 
|---|
| 6349 | esac | 
|---|
| 6350 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6351 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6352 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6353 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6354 | else | 
|---|
| 6355 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6356 | fi | 
|---|
| 6357 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6358 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6359 |  | 
|---|
| 6360 | fi | 
|---|
| 6361 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6362 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6363 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6364 | _ACEOF | 
|---|
| 6365 |  | 
|---|
| 6366 | fi | 
|---|
| 6367 |  | 
|---|
| 6368 | done | 
|---|
| 6369 |  | 
|---|
| 6370 |  | 
|---|
| 6371 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 6372 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 6373 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
| 6374 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
| 6375 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6376 | else | 
|---|
| 6377 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6378 | /* confdefs.h.  */ | 
|---|
| 6379 | _ACEOF | 
|---|
| 6380 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6381 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6382 | /* end confdefs.h.  */ | 
|---|
| 6383 |  | 
|---|
| 6384 | #include <stdbool.h> | 
|---|
| 6385 | #ifndef bool | 
|---|
| 6386 | # error bool is not defined | 
|---|
| 6387 | #endif | 
|---|
| 6388 | #ifndef false | 
|---|
| 6389 | # error false is not defined | 
|---|
| 6390 | #endif | 
|---|
| 6391 | #if false | 
|---|
| 6392 | # error false is not 0 | 
|---|
| 6393 | #endif | 
|---|
| 6394 | #ifndef true | 
|---|
| 6395 | # error true is not defined | 
|---|
| 6396 | #endif | 
|---|
| 6397 | #if true != 1 | 
|---|
| 6398 | # error true is not 1 | 
|---|
| 6399 | #endif | 
|---|
| 6400 | #ifndef __bool_true_false_are_defined | 
|---|
| 6401 | # error __bool_true_false_are_defined is not defined | 
|---|
| 6402 | #endif | 
|---|
| 6403 |  | 
|---|
| 6404 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 6405 |  | 
|---|
| 6406 |         char a[true == 1 ? 1 : -1]; | 
|---|
| 6407 |         char b[false == 0 ? 1 : -1]; | 
|---|
| 6408 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 6409 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
| 6410 |         bool e = &s; | 
|---|
| 6411 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
| 6412 |         char g[true]; | 
|---|
| 6413 |         char h[sizeof (_Bool)]; | 
|---|
| 6414 |         char i[sizeof s.t]; | 
|---|
| 6415 |  | 
|---|
| 6416 | int | 
|---|
| 6417 | main () | 
|---|
| 6418 | { | 
|---|
| 6419 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
| 6420 |   ; | 
|---|
| 6421 |   return 0; | 
|---|
| 6422 | } | 
|---|
| 6423 | _ACEOF | 
|---|
| 6424 | rm -f conftest.$ac_objext | 
|---|
| 6425 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6426 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6427 |   ac_status=$? | 
|---|
| 6428 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6429 |   rm -f conftest.er1 | 
|---|
| 6430 |   cat conftest.err >&5 | 
|---|
| 6431 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6432 |   (exit $ac_status); } && | 
|---|
| 6433 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6434 |                          || test ! -s conftest.err' | 
|---|
| 6435 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6436 |   (eval $ac_try) 2>&5 | 
|---|
| 6437 |   ac_status=$? | 
|---|
| 6438 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6439 |   (exit $ac_status); }; } && | 
|---|
| 6440 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6441 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6442 |   (eval $ac_try) 2>&5 | 
|---|
| 6443 |   ac_status=$? | 
|---|
| 6444 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6445 |   (exit $ac_status); }; }; then | 
|---|
| 6446 |   ac_cv_header_stdbool_h=yes | 
|---|
| 6447 | else | 
|---|
| 6448 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6449 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6450 |  | 
|---|
| 6451 | ac_cv_header_stdbool_h=no | 
|---|
| 6452 | fi | 
|---|
| 6453 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6454 | fi | 
|---|
| 6455 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 6456 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
| 6457 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
| 6458 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
| 6459 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
| 6460 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6461 | else | 
|---|
| 6462 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6463 | /* confdefs.h.  */ | 
|---|
| 6464 | _ACEOF | 
|---|
| 6465 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6466 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6467 | /* end confdefs.h.  */ | 
|---|
| 6468 | $ac_includes_default | 
|---|
| 6469 | int | 
|---|
| 6470 | main () | 
|---|
| 6471 | { | 
|---|
| 6472 | if ((_Bool *) 0) | 
|---|
| 6473 |   return 0; | 
|---|
| 6474 | if (sizeof (_Bool)) | 
|---|
| 6475 |   return 0; | 
|---|
| 6476 |   ; | 
|---|
| 6477 |   return 0; | 
|---|
| 6478 | } | 
|---|
| 6479 | _ACEOF | 
|---|
| 6480 | rm -f conftest.$ac_objext | 
|---|
| 6481 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6482 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6483 |   ac_status=$? | 
|---|
| 6484 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6485 |   rm -f conftest.er1 | 
|---|
| 6486 |   cat conftest.err >&5 | 
|---|
| 6487 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6488 |   (exit $ac_status); } && | 
|---|
| 6489 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6490 |                          || test ! -s conftest.err' | 
|---|
| 6491 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6492 |   (eval $ac_try) 2>&5 | 
|---|
| 6493 |   ac_status=$? | 
|---|
| 6494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6495 |   (exit $ac_status); }; } && | 
|---|
| 6496 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6497 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6498 |   (eval $ac_try) 2>&5 | 
|---|
| 6499 |   ac_status=$? | 
|---|
| 6500 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6501 |   (exit $ac_status); }; }; then | 
|---|
| 6502 |   ac_cv_type__Bool=yes | 
|---|
| 6503 | else | 
|---|
| 6504 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6505 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6506 |  | 
|---|
| 6507 | ac_cv_type__Bool=no | 
|---|
| 6508 | fi | 
|---|
| 6509 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6510 | fi | 
|---|
| 6511 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
| 6512 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
| 6513 | if test $ac_cv_type__Bool = yes; then | 
|---|
| 6514 |  | 
|---|
| 6515 | cat >>confdefs.h <<_ACEOF | 
|---|
| 6516 | #define HAVE__BOOL 1 | 
|---|
| 6517 | _ACEOF | 
|---|
| 6518 |  | 
|---|
| 6519 |  | 
|---|
| 6520 | fi | 
|---|
| 6521 |  | 
|---|
| 6522 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 6523 |  | 
|---|
| 6524 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 6525 | #define HAVE_STDBOOL_H 1 | 
|---|
| 6526 | _ACEOF | 
|---|
| 6527 |  | 
|---|
| 6528 | fi | 
|---|
| 6529 |  | 
|---|
| 6530 |  | 
|---|
| 6531 | # Checks for library functions. | 
|---|
| 6532 |  | 
|---|
| 6533 | for ac_header in stdlib.h | 
|---|
| 6534 | do | 
|---|
| 6535 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 6536 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6537 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6538 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6539 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6540 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6541 | fi | 
|---|
| 6542 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6543 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6544 | else | 
|---|
| 6545 |   # Is the header compilable? | 
|---|
| 6546 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 6547 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 6548 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6549 | /* confdefs.h.  */ | 
|---|
| 6550 | _ACEOF | 
|---|
| 6551 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6552 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6553 | /* end confdefs.h.  */ | 
|---|
| 6554 | $ac_includes_default | 
|---|
| 6555 | #include <$ac_header> | 
|---|
| 6556 | _ACEOF | 
|---|
| 6557 | rm -f conftest.$ac_objext | 
|---|
| 6558 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 6559 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 6560 |   ac_status=$? | 
|---|
| 6561 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6562 |   rm -f conftest.er1 | 
|---|
| 6563 |   cat conftest.err >&5 | 
|---|
| 6564 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6565 |   (exit $ac_status); } && | 
|---|
| 6566 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6567 |                          || test ! -s conftest.err' | 
|---|
| 6568 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6569 |   (eval $ac_try) 2>&5 | 
|---|
| 6570 |   ac_status=$? | 
|---|
| 6571 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6572 |   (exit $ac_status); }; } && | 
|---|
| 6573 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 6574 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6575 |   (eval $ac_try) 2>&5 | 
|---|
| 6576 |   ac_status=$? | 
|---|
| 6577 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6578 |   (exit $ac_status); }; }; then | 
|---|
| 6579 |   ac_header_compiler=yes | 
|---|
| 6580 | else | 
|---|
| 6581 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6582 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6583 |  | 
|---|
| 6584 | ac_header_compiler=no | 
|---|
| 6585 | fi | 
|---|
| 6586 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6587 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 6588 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 6589 |  | 
|---|
| 6590 | # Is the header present? | 
|---|
| 6591 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 6592 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 6593 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6594 | /* confdefs.h.  */ | 
|---|
| 6595 | _ACEOF | 
|---|
| 6596 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6597 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6598 | /* end confdefs.h.  */ | 
|---|
| 6599 | #include <$ac_header> | 
|---|
| 6600 | _ACEOF | 
|---|
| 6601 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 6602 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 6603 |   ac_status=$? | 
|---|
| 6604 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6605 |   rm -f conftest.er1 | 
|---|
| 6606 |   cat conftest.err >&5 | 
|---|
| 6607 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6608 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 6609 |   if test -s conftest.err; then | 
|---|
| 6610 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 6611 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 6612 |   else | 
|---|
| 6613 |     ac_cpp_err= | 
|---|
| 6614 |   fi | 
|---|
| 6615 | else | 
|---|
| 6616 |   ac_cpp_err=yes | 
|---|
| 6617 | fi | 
|---|
| 6618 | if test -z "$ac_cpp_err"; then | 
|---|
| 6619 |   ac_header_preproc=yes | 
|---|
| 6620 | else | 
|---|
| 6621 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6622 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6623 |  | 
|---|
| 6624 |   ac_header_preproc=no | 
|---|
| 6625 | fi | 
|---|
| 6626 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 6627 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 6628 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 6629 |  | 
|---|
| 6630 | # So?  What about this header? | 
|---|
| 6631 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 6632 |   yes:no: ) | 
|---|
| 6633 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 6634 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 6635 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 6636 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 6637 |     ac_header_preproc=yes | 
|---|
| 6638 |     ;; | 
|---|
| 6639 |   no:yes:* ) | 
|---|
| 6640 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 6641 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 6642 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 6643 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 6644 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 6645 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 6646 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 6647 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 6648 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 6649 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 6650 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 6651 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 6652 |     ( | 
|---|
| 6653 |       cat <<\_ASBOX | 
|---|
| 6654 | ## ------------------------------------------- ## | 
|---|
| 6655 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 6656 | ## ------------------------------------------- ## | 
|---|
| 6657 | _ASBOX | 
|---|
| 6658 |     ) | | 
|---|
| 6659 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 6660 |     ;; | 
|---|
| 6661 | esac | 
|---|
| 6662 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 6663 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 6664 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 6665 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6666 | else | 
|---|
| 6667 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 6668 | fi | 
|---|
| 6669 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 6670 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 6671 |  | 
|---|
| 6672 | fi | 
|---|
| 6673 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 6674 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6675 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 6676 | _ACEOF | 
|---|
| 6677 |  | 
|---|
| 6678 | fi | 
|---|
| 6679 |  | 
|---|
| 6680 | done | 
|---|
| 6681 |  | 
|---|
| 6682 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
| 6683 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
| 6684 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
| 6685 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6686 | else | 
|---|
| 6687 |   if test "$cross_compiling" = yes; then | 
|---|
| 6688 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
| 6689 | else | 
|---|
| 6690 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6691 | /* confdefs.h.  */ | 
|---|
| 6692 | _ACEOF | 
|---|
| 6693 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6694 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6695 | /* end confdefs.h.  */ | 
|---|
| 6696 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
| 6697 | # include <stdlib.h> | 
|---|
| 6698 | #else | 
|---|
| 6699 | char *malloc (); | 
|---|
| 6700 | #endif | 
|---|
| 6701 |  | 
|---|
| 6702 | int | 
|---|
| 6703 | main () | 
|---|
| 6704 | { | 
|---|
| 6705 | exit (malloc (0) ? 0 : 1); | 
|---|
| 6706 |   ; | 
|---|
| 6707 |   return 0; | 
|---|
| 6708 | } | 
|---|
| 6709 | _ACEOF | 
|---|
| 6710 | rm -f conftest$ac_exeext | 
|---|
| 6711 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6712 |   (eval $ac_link) 2>&5 | 
|---|
| 6713 |   ac_status=$? | 
|---|
| 6714 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6715 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 6716 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6717 |   (eval $ac_try) 2>&5 | 
|---|
| 6718 |   ac_status=$? | 
|---|
| 6719 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6720 |   (exit $ac_status); }; }; then | 
|---|
| 6721 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
| 6722 | else | 
|---|
| 6723 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 6724 | echo "$as_me: failed program was:" >&5 | 
|---|
| 6725 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6726 |  | 
|---|
| 6727 | ( exit $ac_status ) | 
|---|
| 6728 | ac_cv_func_malloc_0_nonnull=no | 
|---|
| 6729 | fi | 
|---|
| 6730 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 6731 | fi | 
|---|
| 6732 | fi | 
|---|
| 6733 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
| 6734 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
| 6735 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
| 6736 |  | 
|---|
| 6737 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 6738 | #define HAVE_MALLOC 1 | 
|---|
| 6739 | _ACEOF | 
|---|
| 6740 |  | 
|---|
| 6741 | else | 
|---|
| 6742 |   cat >>confdefs.h <<\_ACEOF | 
|---|
| 6743 | #define HAVE_MALLOC 0 | 
|---|
| 6744 | _ACEOF | 
|---|
| 6745 |  | 
|---|
| 6746 |    case $LIBOBJS in | 
|---|
| 6747 |     "malloc.$ac_objext"   | \ | 
|---|
| 6748 |   *" malloc.$ac_objext"   | \ | 
|---|
| 6749 |     "malloc.$ac_objext "* | \ | 
|---|
| 6750 |   *" malloc.$ac_objext "* ) ;; | 
|---|
| 6751 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
| 6752 | esac | 
|---|
| 6753 |  | 
|---|
| 6754 |  | 
|---|
| 6755 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 6756 | #define malloc rpl_malloc | 
|---|
| 6757 | _ACEOF | 
|---|
| 6758 |  | 
|---|
| 6759 | fi | 
|---|
| 6760 |  | 
|---|
| 6761 |  | 
|---|
| 6762 |  | 
|---|
| 6763 |  | 
|---|
| 6764 |  | 
|---|
| 6765 | for ac_func in bzero sqrt | 
|---|
| 6766 | do | 
|---|
| 6767 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 6768 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
| 6769 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
| 6770 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
| 6771 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 6772 | else | 
|---|
| 6773 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 6774 | /* confdefs.h.  */ | 
|---|
| 6775 | _ACEOF | 
|---|
| 6776 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 6777 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 6778 | /* end confdefs.h.  */ | 
|---|
| 6779 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
| 6780 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 6781 | #define $ac_func innocuous_$ac_func | 
|---|
| 6782 |  | 
|---|
| 6783 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 6784 |     which can conflict with char $ac_func (); below. | 
|---|
| 6785 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 6786 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 6787 |  | 
|---|
| 6788 | #ifdef __STDC__ | 
|---|
| 6789 | # include <limits.h> | 
|---|
| 6790 | #else | 
|---|
| 6791 | # include <assert.h> | 
|---|
| 6792 | #endif | 
|---|
| 6793 |  | 
|---|
| 6794 | #undef $ac_func | 
|---|
| 6795 |  | 
|---|
| 6796 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 6797 | #ifdef __cplusplus | 
|---|
| 6798 | extern "C" | 
|---|
| 6799 | { | 
|---|
| 6800 | #endif | 
|---|
| 6801 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 6802 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 6803 | char $ac_func (); | 
|---|
| 6804 | /* The GNU C library defines this for functions which it implements | 
|---|
| 6805 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 6806 |     something starting with __ and the normal name is an alias.  */ | 
|---|
| 6807 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
| 6808 | choke me | 
|---|
| 6809 | #else | 
|---|
| 6810 | char (*f) () = $ac_func; | 
|---|
| 6811 | #endif | 
|---|
| 6812 | #ifdef __cplusplus | 
|---|
| 6813 | } | 
|---|
| 6814 | #endif | 
|---|
| 6815 |  | 
|---|
| 6816 | int | 
|---|
| 6817 | main () | 
|---|
| 6818 | { | 
|---|
| 6819 | return f != $ac_func; | 
|---|
| 6820 |   ; | 
|---|
| 6821 |   return 0; | 
|---|
| 6822 | } | 
|---|
| 6823 | _ACEOF | 
|---|
| 6824 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 6825 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 6826 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 6827 |   ac_status=$? | 
|---|
| 6828 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 6829 |   rm -f conftest.er1 | 
|---|
| 6830 |   cat conftest.err >&5 | 
|---|
| 6831 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6832 |   (exit $ac_status); } && | 
|---|
| 6833 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 6834 |                          || test ! -s conftest.err' | 
|---|
| 6835 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6836 |   (eval $ac_try) 2>&5 | 
|---|
| 6837 |   ac_status=$? | 
|---|
| 6838 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6839 |   (exit $ac_status); }; } && | 
|---|
| 6840 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 6841 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 6842 |   (eval $ac_try) 2>&5 | 
|---|
| 6843 |   ac_status=$? | 
|---|
| 6844 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 6845 |   (exit $ac_status); }; }; then | 
|---|
| 6846 |   eval "$as_ac_var=yes" | 
|---|
| 6847 | else | 
|---|
| 6848 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 6849 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 6850 |  | 
|---|
| 6851 | eval "$as_ac_var=no" | 
|---|
| 6852 | fi | 
|---|
| 6853 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 6854 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 6855 | fi | 
|---|
| 6856 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
| 6857 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
| 6858 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
| 6859 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 6860 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 6861 | _ACEOF | 
|---|
| 6862 |  | 
|---|
| 6863 | fi | 
|---|
| 6864 | done | 
|---|
| 6865 |  | 
|---|
| 6866 |  | 
|---|
| 6867 |                                                   ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile importer/Makefile" | 
|---|
| 6868 |  | 
|---|
| 6869 | cat >confcache <<\_ACEOF | 
|---|
| 6870 | # This file is a shell script that caches the results of configure | 
|---|
| 6871 | # tests run on this system so they can be shared between configure | 
|---|
| 6872 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 6873 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 6874 | # want to keep, you may remove or edit it. | 
|---|
| 6875 | # | 
|---|
| 6876 | # config.status only pays attention to the cache file if you give it | 
|---|
| 6877 | # the --recheck option to rerun configure. | 
|---|
| 6878 | # | 
|---|
| 6879 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 6880 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 6881 | # following values. | 
|---|
| 6882 |  | 
|---|
| 6883 | _ACEOF | 
|---|
| 6884 |  | 
|---|
| 6885 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 6886 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 6887 | # So, don't put newlines in cache variables' values. | 
|---|
| 6888 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 6889 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 6890 | { | 
|---|
| 6891 |   (set) 2>&1 | | 
|---|
| 6892 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 6893 |     *ac_space=\ *) | 
|---|
| 6894 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
| 6895 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 6896 |       sed -n \ | 
|---|
| 6897 |         "s/'/'\\\\''/g; | 
|---|
| 6898 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 6899 |       ;; | 
|---|
| 6900 |     *) | 
|---|
| 6901 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 6902 |       sed -n \ | 
|---|
| 6903 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 6904 |       ;; | 
|---|
| 6905 |     esac; | 
|---|
| 6906 | } | | 
|---|
| 6907 |   sed ' | 
|---|
| 6908 |      t clear | 
|---|
| 6909 |      : clear | 
|---|
| 6910 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 6911 |      t end | 
|---|
| 6912 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 6913 |      : end' >>confcache | 
|---|
| 6914 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
| 6915 |   if test -w $cache_file; then | 
|---|
| 6916 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
| 6917 |     cat confcache >$cache_file | 
|---|
| 6918 |   else | 
|---|
| 6919 |     echo "not updating unwritable cache $cache_file" | 
|---|
| 6920 |   fi | 
|---|
| 6921 | fi | 
|---|
| 6922 | rm -f confcache | 
|---|
| 6923 |  | 
|---|
| 6924 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 6925 | # Let make expand exec_prefix. | 
|---|
| 6926 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 6927 |  | 
|---|
| 6928 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
| 6929 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
| 6930 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 6931 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 6932 | if test "x$srcdir" = x.; then | 
|---|
| 6933 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
| 6934 | s/:*\$(srcdir):*/:/; | 
|---|
| 6935 | s/:*\${srcdir}:*/:/; | 
|---|
| 6936 | s/:*@srcdir@:*/:/; | 
|---|
| 6937 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
| 6938 | s/:*$//; | 
|---|
| 6939 | s/^[^=]*=[       ]*$//; | 
|---|
| 6940 | }' | 
|---|
| 6941 | fi | 
|---|
| 6942 |  | 
|---|
| 6943 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 6944 |  | 
|---|
| 6945 | ac_libobjs= | 
|---|
| 6946 | ac_ltlibobjs= | 
|---|
| 6947 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 6948 |   # 1. Remove the extension, and $U if already installed. | 
|---|
| 6949 |   ac_i=`echo "$ac_i" | | 
|---|
| 6950 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
| 6951 |   # 2. Add them. | 
|---|
| 6952 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
| 6953 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
| 6954 | done | 
|---|
| 6955 | LIBOBJS=$ac_libobjs | 
|---|
| 6956 |  | 
|---|
| 6957 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 6958 |  | 
|---|
| 6959 |  | 
|---|
| 6960 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 6961 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
| 6962 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 6963 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
| 6964 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 6965 |    { (exit 1); exit 1; }; } | 
|---|
| 6966 | fi | 
|---|
| 6967 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 6968 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 6969 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 6970 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 6971 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 6972 |    { (exit 1); exit 1; }; } | 
|---|
| 6973 | fi | 
|---|
| 6974 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 6975 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 6976 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 6977 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 6978 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 6979 |    { (exit 1); exit 1; }; } | 
|---|
| 6980 | fi | 
|---|
| 6981 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
| 6982 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 6983 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 6984 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
| 6985 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 6986 |    { (exit 1); exit 1; }; } | 
|---|
| 6987 | fi | 
|---|
| 6988 |  | 
|---|
| 6989 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 6990 | ac_clean_files_save=$ac_clean_files | 
|---|
| 6991 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 6992 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
| 6993 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 6994 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
| 6995 | #! $SHELL | 
|---|
| 6996 | # Generated by $as_me. | 
|---|
| 6997 | # Run this file to recreate the current configuration. | 
|---|
| 6998 | # Compiler output produced by configure, useful for debugging | 
|---|
| 6999 | # configure, is in config.log if it exists. | 
|---|
| 7000 |  | 
|---|
| 7001 | debug=false | 
|---|
| 7002 | ac_cs_recheck=false | 
|---|
| 7003 | ac_cs_silent=false | 
|---|
| 7004 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 7005 | _ACEOF | 
|---|
| 7006 |  | 
|---|
| 7007 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7008 | ## --------------------- ## | 
|---|
| 7009 | ## M4sh Initialization.  ## | 
|---|
| 7010 | ## --------------------- ## | 
|---|
| 7011 |  | 
|---|
| 7012 | # Be Bourne compatible | 
|---|
| 7013 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 7014 |   emulate sh | 
|---|
| 7015 |   NULLCMD=: | 
|---|
| 7016 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 7017 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 7018 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 7019 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 7020 |   set -o posix | 
|---|
| 7021 | fi | 
|---|
| 7022 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 7023 |  | 
|---|
| 7024 | # Support unset when possible. | 
|---|
| 7025 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 7026 |   as_unset=unset | 
|---|
| 7027 | else | 
|---|
| 7028 |   as_unset=false | 
|---|
| 7029 | fi | 
|---|
| 7030 |  | 
|---|
| 7031 |  | 
|---|
| 7032 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 7033 | $as_unset ENV MAIL MAILPATH | 
|---|
| 7034 | PS1='$ ' | 
|---|
| 7035 | PS2='> ' | 
|---|
| 7036 | PS4='+ ' | 
|---|
| 7037 |  | 
|---|
| 7038 | # NLS nuisances. | 
|---|
| 7039 | for as_var in \ | 
|---|
| 7040 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 7041 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 7042 |   LC_TELEPHONE LC_TIME | 
|---|
| 7043 | do | 
|---|
| 7044 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 7045 |     eval $as_var=C; export $as_var | 
|---|
| 7046 |   else | 
|---|
| 7047 |     $as_unset $as_var | 
|---|
| 7048 |   fi | 
|---|
| 7049 | done | 
|---|
| 7050 |  | 
|---|
| 7051 | # Required to use basename. | 
|---|
| 7052 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 7053 |   as_expr=expr | 
|---|
| 7054 | else | 
|---|
| 7055 |   as_expr=false | 
|---|
| 7056 | fi | 
|---|
| 7057 |  | 
|---|
| 7058 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 7059 |   as_basename=basename | 
|---|
| 7060 | else | 
|---|
| 7061 |   as_basename=false | 
|---|
| 7062 | fi | 
|---|
| 7063 |  | 
|---|
| 7064 |  | 
|---|
| 7065 | # Name of the executable. | 
|---|
| 7066 | as_me=`$as_basename "$0" || | 
|---|
| 7067 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 7068 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 7069 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 7070 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 7071 | echo X/"$0" | | 
|---|
| 7072 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 7073 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 7074 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 7075 |           s/.*/./; q'` | 
|---|
| 7076 |  | 
|---|
| 7077 |  | 
|---|
| 7078 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 7079 | # Avoid depending upon Character Ranges. | 
|---|
| 7080 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 7081 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 7082 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 7083 | as_cr_digits='0123456789' | 
|---|
| 7084 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 7085 |  | 
|---|
| 7086 | # The user is always right. | 
|---|
| 7087 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 7088 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 7089 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 7090 |   chmod +x conf$$.sh | 
|---|
| 7091 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 7092 |     PATH_SEPARATOR=';' | 
|---|
| 7093 |   else | 
|---|
| 7094 |     PATH_SEPARATOR=: | 
|---|
| 7095 |   fi | 
|---|
| 7096 |   rm -f conf$$.sh | 
|---|
| 7097 | fi | 
|---|
| 7098 |  | 
|---|
| 7099 |  | 
|---|
| 7100 |   as_lineno_1=$LINENO | 
|---|
| 7101 |   as_lineno_2=$LINENO | 
|---|
| 7102 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 7103 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 7104 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 7105 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 7106 |   # relative or not. | 
|---|
| 7107 |   case $0 in | 
|---|
| 7108 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 7109 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 7110 | for as_dir in $PATH | 
|---|
| 7111 | do | 
|---|
| 7112 |   IFS=$as_save_IFS | 
|---|
| 7113 |   test -z "$as_dir" && as_dir=. | 
|---|
| 7114 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 7115 | done | 
|---|
| 7116 |  | 
|---|
| 7117 |        ;; | 
|---|
| 7118 |   esac | 
|---|
| 7119 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 7120 |   # in which case we are not to be found in the path. | 
|---|
| 7121 |   if test "x$as_myself" = x; then | 
|---|
| 7122 |     as_myself=$0 | 
|---|
| 7123 |   fi | 
|---|
| 7124 |   if test ! -f "$as_myself"; then | 
|---|
| 7125 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
| 7126 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
| 7127 |    { (exit 1); exit 1; }; } | 
|---|
| 7128 |   fi | 
|---|
| 7129 |   case $CONFIG_SHELL in | 
|---|
| 7130 |   '') | 
|---|
| 7131 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 7132 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 7133 | do | 
|---|
| 7134 |   IFS=$as_save_IFS | 
|---|
| 7135 |   test -z "$as_dir" && as_dir=. | 
|---|
| 7136 |   for as_base in sh bash ksh sh5; do | 
|---|
| 7137 |          case $as_dir in | 
|---|
| 7138 |          /*) | 
|---|
| 7139 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 7140 |   as_lineno_1=$LINENO | 
|---|
| 7141 |   as_lineno_2=$LINENO | 
|---|
| 7142 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 7143 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 7144 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 7145 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 7146 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 7147 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 7148 |              export CONFIG_SHELL | 
|---|
| 7149 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 7150 |            fi;; | 
|---|
| 7151 |          esac | 
|---|
| 7152 |        done | 
|---|
| 7153 | done | 
|---|
| 7154 | ;; | 
|---|
| 7155 |   esac | 
|---|
| 7156 |  | 
|---|
| 7157 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 7158 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 7159 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 7160 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 7161 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 7162 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 7163 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 7164 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 7165 |   sed '=' <$as_myself | | 
|---|
| 7166 |     sed ' | 
|---|
| 7167 |       N | 
|---|
| 7168 |       s,$,-, | 
|---|
| 7169 |       : loop | 
|---|
| 7170 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 7171 |       t loop | 
|---|
| 7172 |       s,-$,, | 
|---|
| 7173 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 7174 |     ' >$as_me.lineno && | 
|---|
| 7175 |   chmod +x $as_me.lineno || | 
|---|
| 7176 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
| 7177 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
| 7178 |    { (exit 1); exit 1; }; } | 
|---|
| 7179 |  | 
|---|
| 7180 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 7181 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 7182 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 7183 |   . ./$as_me.lineno | 
|---|
| 7184 |   # Exit status is that of the last command. | 
|---|
| 7185 |   exit | 
|---|
| 7186 | } | 
|---|
| 7187 |  | 
|---|
| 7188 |  | 
|---|
| 7189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 7190 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 7191 | ' ECHO_T='      ' ;; | 
|---|
| 7192 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 7193 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 7194 | esac | 
|---|
| 7195 |  | 
|---|
| 7196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 7197 |   as_expr=expr | 
|---|
| 7198 | else | 
|---|
| 7199 |   as_expr=false | 
|---|
| 7200 | fi | 
|---|
| 7201 |  | 
|---|
| 7202 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 7203 | echo >conf$$.file | 
|---|
| 7204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 7205 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 7206 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 7207 |   if test -f conf$$.exe; then | 
|---|
| 7208 |     # Don't use ln at all; we don't have any links | 
|---|
| 7209 |     as_ln_s='cp -p' | 
|---|
| 7210 |   else | 
|---|
| 7211 |     as_ln_s='ln -s' | 
|---|
| 7212 |   fi | 
|---|
| 7213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 7214 |   as_ln_s=ln | 
|---|
| 7215 | else | 
|---|
| 7216 |   as_ln_s='cp -p' | 
|---|
| 7217 | fi | 
|---|
| 7218 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 7219 |  | 
|---|
| 7220 | if mkdir -p . 2>/dev/null; then | 
|---|
| 7221 |   as_mkdir_p=: | 
|---|
| 7222 | else | 
|---|
| 7223 |   test -d ./-p && rmdir ./-p | 
|---|
| 7224 |   as_mkdir_p=false | 
|---|
| 7225 | fi | 
|---|
| 7226 |  | 
|---|
| 7227 | as_executable_p="test -f" | 
|---|
| 7228 |  | 
|---|
| 7229 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 7230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 7231 |  | 
|---|
| 7232 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 7233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 7234 |  | 
|---|
| 7235 |  | 
|---|
| 7236 | # IFS | 
|---|
| 7237 | # We need space, tab and new line, in precisely that order. | 
|---|
| 7238 | as_nl=' | 
|---|
| 7239 | ' | 
|---|
| 7240 | IFS="   $as_nl" | 
|---|
| 7241 |  | 
|---|
| 7242 | # CDPATH. | 
|---|
| 7243 | $as_unset CDPATH | 
|---|
| 7244 |  | 
|---|
| 7245 | exec 6>&1 | 
|---|
| 7246 |  | 
|---|
| 7247 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
| 7248 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 7249 | # values after options handling.  Logging --version etc. is OK. | 
|---|
| 7250 | exec 5>>config.log | 
|---|
| 7251 | { | 
|---|
| 7252 |   echo | 
|---|
| 7253 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 7254 | ## Running $as_me. ## | 
|---|
| 7255 | _ASBOX | 
|---|
| 7256 | } >&5 | 
|---|
| 7257 | cat >&5 <<_CSEOF | 
|---|
| 7258 |  | 
|---|
| 7259 | This file was extended by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
| 7260 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 7261 |  | 
|---|
| 7262 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 7263 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 7264 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 7265 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 7266 |   $ $0 $@ | 
|---|
| 7267 |  | 
|---|
| 7268 | _CSEOF | 
|---|
| 7269 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
| 7270 | echo >&5 | 
|---|
| 7271 | _ACEOF | 
|---|
| 7272 |  | 
|---|
| 7273 | # Files that config.status was made for. | 
|---|
| 7274 | if test -n "$ac_config_files"; then | 
|---|
| 7275 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
| 7276 | fi | 
|---|
| 7277 |  | 
|---|
| 7278 | if test -n "$ac_config_headers"; then | 
|---|
| 7279 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
| 7280 | fi | 
|---|
| 7281 |  | 
|---|
| 7282 | if test -n "$ac_config_links"; then | 
|---|
| 7283 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
| 7284 | fi | 
|---|
| 7285 |  | 
|---|
| 7286 | if test -n "$ac_config_commands"; then | 
|---|
| 7287 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
| 7288 | fi | 
|---|
| 7289 |  | 
|---|
| 7290 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7291 |  | 
|---|
| 7292 | ac_cs_usage="\ | 
|---|
| 7293 | \`$as_me' instantiates files from templates according to the | 
|---|
| 7294 | current configuration. | 
|---|
| 7295 |  | 
|---|
| 7296 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
| 7297 |  | 
|---|
| 7298 |   -h, --help       print this help, then exit | 
|---|
| 7299 |   -V, --version    print version number, then exit | 
|---|
| 7300 |   -q, --quiet      do not print progress messages | 
|---|
| 7301 |   -d, --debug      don't remove temporary files | 
|---|
| 7302 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 7303 |   --file=FILE[:TEMPLATE] | 
|---|
| 7304 |                    instantiate the configuration file FILE | 
|---|
| 7305 |   --header=FILE[:TEMPLATE] | 
|---|
| 7306 |                    instantiate the configuration header FILE | 
|---|
| 7307 |  | 
|---|
| 7308 | Configuration files: | 
|---|
| 7309 | $config_files | 
|---|
| 7310 |  | 
|---|
| 7311 | Configuration headers: | 
|---|
| 7312 | $config_headers | 
|---|
| 7313 |  | 
|---|
| 7314 | Configuration commands: | 
|---|
| 7315 | $config_commands | 
|---|
| 7316 |  | 
|---|
| 7317 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
| 7318 | _ACEOF | 
|---|
| 7319 |  | 
|---|
| 7320 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 7321 | ac_cs_version="\\ | 
|---|
| 7322 | orxonox config.status 0.1-pre-alpha | 
|---|
| 7323 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
| 7324 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
| 7325 |  | 
|---|
| 7326 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 7327 | This config.status script is free software; the Free Software Foundation | 
|---|
| 7328 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 7329 | srcdir=$srcdir | 
|---|
| 7330 | INSTALL="$INSTALL" | 
|---|
| 7331 | _ACEOF | 
|---|
| 7332 |  | 
|---|
| 7333 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7334 | # If no file are specified by the user, then we need to provide default | 
|---|
| 7335 | # value.  By we need to know if files were specified by the user. | 
|---|
| 7336 | ac_need_defaults=: | 
|---|
| 7337 | while test $# != 0 | 
|---|
| 7338 | do | 
|---|
| 7339 |   case $1 in | 
|---|
| 7340 |   --*=*) | 
|---|
| 7341 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
| 7342 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
| 7343 |     ac_shift=: | 
|---|
| 7344 |     ;; | 
|---|
| 7345 |   -*) | 
|---|
| 7346 |     ac_option=$1 | 
|---|
| 7347 |     ac_optarg=$2 | 
|---|
| 7348 |     ac_shift=shift | 
|---|
| 7349 |     ;; | 
|---|
| 7350 |   *) # This is not an option, so the user has probably given explicit | 
|---|
| 7351 |      # arguments. | 
|---|
| 7352 |      ac_option=$1 | 
|---|
| 7353 |      ac_need_defaults=false;; | 
|---|
| 7354 |   esac | 
|---|
| 7355 |  | 
|---|
| 7356 |   case $ac_option in | 
|---|
| 7357 |   # Handling of the options. | 
|---|
| 7358 | _ACEOF | 
|---|
| 7359 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7360 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 7361 |     ac_cs_recheck=: ;; | 
|---|
| 7362 |   --version | --vers* | -V ) | 
|---|
| 7363 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
| 7364 |   --he | --h) | 
|---|
| 7365 |     # Conflict between --help and --header | 
|---|
| 7366 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
| 7367 | Try \`$0 --help' for more information." >&5 | 
|---|
| 7368 | echo "$as_me: error: ambiguous option: $1 | 
|---|
| 7369 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 7370 |    { (exit 1); exit 1; }; };; | 
|---|
| 7371 |   --help | --hel | -h ) | 
|---|
| 7372 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
| 7373 |   --debug | --d* | -d ) | 
|---|
| 7374 |     debug=: ;; | 
|---|
| 7375 |   --file | --fil | --fi | --f ) | 
|---|
| 7376 |     $ac_shift | 
|---|
| 7377 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
| 7378 |     ac_need_defaults=false;; | 
|---|
| 7379 |   --header | --heade | --head | --hea ) | 
|---|
| 7380 |     $ac_shift | 
|---|
| 7381 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
| 7382 |     ac_need_defaults=false;; | 
|---|
| 7383 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 7384 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 7385 |     ac_cs_silent=: ;; | 
|---|
| 7386 |  | 
|---|
| 7387 |   # This is an error. | 
|---|
| 7388 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
| 7389 | Try \`$0 --help' for more information." >&5 | 
|---|
| 7390 | echo "$as_me: error: unrecognized option: $1 | 
|---|
| 7391 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 7392 |    { (exit 1); exit 1; }; } ;; | 
|---|
| 7393 |  | 
|---|
| 7394 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
| 7395 |  | 
|---|
| 7396 |   esac | 
|---|
| 7397 |   shift | 
|---|
| 7398 | done | 
|---|
| 7399 |  | 
|---|
| 7400 | ac_configure_extra_args= | 
|---|
| 7401 |  | 
|---|
| 7402 | if $ac_cs_silent; then | 
|---|
| 7403 |   exec 6>/dev/null | 
|---|
| 7404 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 7405 | fi | 
|---|
| 7406 |  | 
|---|
| 7407 | _ACEOF | 
|---|
| 7408 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 7409 | if \$ac_cs_recheck; then | 
|---|
| 7410 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
| 7411 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 7412 | fi | 
|---|
| 7413 |  | 
|---|
| 7414 | _ACEOF | 
|---|
| 7415 |  | 
|---|
| 7416 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 7417 | # | 
|---|
| 7418 | # INIT-COMMANDS section. | 
|---|
| 7419 | # | 
|---|
| 7420 |  | 
|---|
| 7421 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 7422 |  | 
|---|
| 7423 | _ACEOF | 
|---|
| 7424 |  | 
|---|
| 7425 |  | 
|---|
| 7426 |  | 
|---|
| 7427 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7428 | for ac_config_target in $ac_config_targets | 
|---|
| 7429 | do | 
|---|
| 7430 |   case "$ac_config_target" in | 
|---|
| 7431 |   # Handling of arguments. | 
|---|
| 7432 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 7433 |   "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;; | 
|---|
| 7434 |   "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;; | 
|---|
| 7435 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 7436 |   "importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES importer/Makefile" ;; | 
|---|
| 7437 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 7438 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
| 7439 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
| 7440 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
| 7441 |    { (exit 1); exit 1; }; };; | 
|---|
| 7442 |   esac | 
|---|
| 7443 | done | 
|---|
| 7444 |  | 
|---|
| 7445 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 7446 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 7447 | # We use the long form for the default assignment because of an extremely | 
|---|
| 7448 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 7449 | if $ac_need_defaults; then | 
|---|
| 7450 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 7451 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 7452 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 7453 | fi | 
|---|
| 7454 |  | 
|---|
| 7455 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 7456 | # simply because there is no reason to put it here, and in addition, | 
|---|
| 7457 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 7458 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
| 7459 | $debug || | 
|---|
| 7460 | { | 
|---|
| 7461 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
| 7462 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
| 7463 | } | 
|---|
| 7464 |  | 
|---|
| 7465 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 7466 |  | 
|---|
| 7467 | { | 
|---|
| 7468 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
| 7469 |   test -n "$tmp" && test -d "$tmp" | 
|---|
| 7470 | }  || | 
|---|
| 7471 | { | 
|---|
| 7472 |   tmp=./confstat$$-$RANDOM | 
|---|
| 7473 |   (umask 077 && mkdir $tmp) | 
|---|
| 7474 | } || | 
|---|
| 7475 | { | 
|---|
| 7476 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
| 7477 |    { (exit 1); exit 1; } | 
|---|
| 7478 | } | 
|---|
| 7479 |  | 
|---|
| 7480 | _ACEOF | 
|---|
| 7481 |  | 
|---|
| 7482 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 7483 |  | 
|---|
| 7484 | # | 
|---|
| 7485 | # CONFIG_FILES section. | 
|---|
| 7486 | # | 
|---|
| 7487 |  | 
|---|
| 7488 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
| 7489 | # This happens for instance when ./config.status config.h | 
|---|
| 7490 | if test -n "\$CONFIG_FILES"; then | 
|---|
| 7491 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 7492 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
| 7493 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
| 7494 | s,@SHELL@,$SHELL,;t t | 
|---|
| 7495 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
| 7496 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
| 7497 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
| 7498 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
| 7499 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
| 7500 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
| 7501 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
| 7502 | s,@prefix@,$prefix,;t t | 
|---|
| 7503 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
| 7504 | s,@bindir@,$bindir,;t t | 
|---|
| 7505 | s,@sbindir@,$sbindir,;t t | 
|---|
| 7506 | s,@libexecdir@,$libexecdir,;t t | 
|---|
| 7507 | s,@datadir@,$datadir,;t t | 
|---|
| 7508 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
| 7509 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
| 7510 | s,@localstatedir@,$localstatedir,;t t | 
|---|
| 7511 | s,@libdir@,$libdir,;t t | 
|---|
| 7512 | s,@includedir@,$includedir,;t t | 
|---|
| 7513 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
| 7514 | s,@infodir@,$infodir,;t t | 
|---|
| 7515 | s,@mandir@,$mandir,;t t | 
|---|
| 7516 | s,@build_alias@,$build_alias,;t t | 
|---|
| 7517 | s,@host_alias@,$host_alias,;t t | 
|---|
| 7518 | s,@target_alias@,$target_alias,;t t | 
|---|
| 7519 | s,@DEFS@,$DEFS,;t t | 
|---|
| 7520 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
| 7521 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
| 7522 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
| 7523 | s,@LIBS@,$LIBS,;t t | 
|---|
| 7524 | s,@build@,$build,;t t | 
|---|
| 7525 | s,@build_cpu@,$build_cpu,;t t | 
|---|
| 7526 | s,@build_vendor@,$build_vendor,;t t | 
|---|
| 7527 | s,@build_os@,$build_os,;t t | 
|---|
| 7528 | s,@host@,$host,;t t | 
|---|
| 7529 | s,@host_cpu@,$host_cpu,;t t | 
|---|
| 7530 | s,@host_vendor@,$host_vendor,;t t | 
|---|
| 7531 | s,@host_os@,$host_os,;t t | 
|---|
| 7532 | s,@target@,$target,;t t | 
|---|
| 7533 | s,@target_cpu@,$target_cpu,;t t | 
|---|
| 7534 | s,@target_vendor@,$target_vendor,;t t | 
|---|
| 7535 | s,@target_os@,$target_os,;t t | 
|---|
| 7536 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
| 7537 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
| 7538 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
| 7539 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
| 7540 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
| 7541 | s,@VERSION@,$VERSION,;t t | 
|---|
| 7542 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
| 7543 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
| 7544 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
| 7545 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
| 7546 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
| 7547 | s,@AMTAR@,$AMTAR,;t t | 
|---|
| 7548 | s,@install_sh@,$install_sh,;t t | 
|---|
| 7549 | s,@STRIP@,$STRIP,;t t | 
|---|
| 7550 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
| 7551 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| 7552 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| 7553 | s,@AWK@,$AWK,;t t | 
|---|
| 7554 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
| 7555 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
| 7556 | s,@CXX@,$CXX,;t t | 
|---|
| 7557 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
| 7558 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
| 7559 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
| 7560 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
| 7561 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
| 7562 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
| 7563 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
| 7564 | s,@am__include@,$am__include,;t t | 
|---|
| 7565 | s,@am__quote@,$am__quote,;t t | 
|---|
| 7566 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
| 7567 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
| 7568 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
| 7569 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
| 7570 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
| 7571 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
| 7572 | s,@CC@,$CC,;t t | 
|---|
| 7573 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
| 7574 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
| 7575 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
| 7576 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
| 7577 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
| 7578 | s,@CPP@,$CPP,;t t | 
|---|
| 7579 | s,@EGREP@,$EGREP,;t t | 
|---|
| 7580 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| 7581 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t | 
|---|
| 7582 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
| 7583 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| 7584 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
| 7585 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| 7586 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
| 7587 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
| 7588 | CEOF | 
|---|
| 7589 |  | 
|---|
| 7590 | _ACEOF | 
|---|
| 7591 |  | 
|---|
| 7592 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7593 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 7594 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 7595 |   ac_max_sed_lines=48 | 
|---|
| 7596 |   ac_sed_frag=1 # Number of current file. | 
|---|
| 7597 |   ac_beg=1 # First line for current file. | 
|---|
| 7598 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
| 7599 |   ac_more_lines=: | 
|---|
| 7600 |   ac_sed_cmds= | 
|---|
| 7601 |   while $ac_more_lines; do | 
|---|
| 7602 |     if test $ac_beg -gt 1; then | 
|---|
| 7603 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 7604 |     else | 
|---|
| 7605 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 7606 |     fi | 
|---|
| 7607 |     if test ! -s $tmp/subs.frag; then | 
|---|
| 7608 |       ac_more_lines=false | 
|---|
| 7609 |     else | 
|---|
| 7610 |       # The purpose of the label and of the branching condition is to | 
|---|
| 7611 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
| 7612 |       # is no need to browse any of the substitutions). | 
|---|
| 7613 |       # These are the two extra sed commands mentioned above. | 
|---|
| 7614 |       (echo ':t | 
|---|
| 7615 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
| 7616 |       if test -z "$ac_sed_cmds"; then | 
|---|
| 7617 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 7618 |       else | 
|---|
| 7619 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 7620 |       fi | 
|---|
| 7621 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
| 7622 |       ac_beg=$ac_end | 
|---|
| 7623 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
| 7624 |     fi | 
|---|
| 7625 |   done | 
|---|
| 7626 |   if test -z "$ac_sed_cmds"; then | 
|---|
| 7627 |     ac_sed_cmds=cat | 
|---|
| 7628 |   fi | 
|---|
| 7629 | fi # test -n "$CONFIG_FILES" | 
|---|
| 7630 |  | 
|---|
| 7631 | _ACEOF | 
|---|
| 7632 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7633 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
| 7634 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 7635 |   case $ac_file in | 
|---|
| 7636 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 7637 |         cat >$tmp/stdin | 
|---|
| 7638 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 7639 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 7640 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 7641 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 7642 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 7643 |   esac | 
|---|
| 7644 |  | 
|---|
| 7645 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
| 7646 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 7647 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7648 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 7649 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 7650 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 7651 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 7652 | echo X"$ac_file" | | 
|---|
| 7653 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 7654 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 7655 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 7656 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 7657 |           s/.*/./; q'` | 
|---|
| 7658 |   { if $as_mkdir_p; then | 
|---|
| 7659 |     mkdir -p "$ac_dir" | 
|---|
| 7660 |   else | 
|---|
| 7661 |     as_dir="$ac_dir" | 
|---|
| 7662 |     as_dirs= | 
|---|
| 7663 |     while test ! -d "$as_dir"; do | 
|---|
| 7664 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 7665 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 7666 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 7667 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 7668 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 7669 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 7670 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 7671 | echo X"$as_dir" | | 
|---|
| 7672 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 7673 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 7674 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 7675 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 7676 |           s/.*/./; q'` | 
|---|
| 7677 |     done | 
|---|
| 7678 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 7679 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 7680 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 7681 |    { (exit 1); exit 1; }; }; } | 
|---|
| 7682 |  | 
|---|
| 7683 |   ac_builddir=. | 
|---|
| 7684 |  | 
|---|
| 7685 | if test "$ac_dir" != .; then | 
|---|
| 7686 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 7687 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 7688 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 7689 | else | 
|---|
| 7690 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 7691 | fi | 
|---|
| 7692 |  | 
|---|
| 7693 | case $srcdir in | 
|---|
| 7694 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 7695 |     ac_srcdir=. | 
|---|
| 7696 |     if test -z "$ac_top_builddir"; then | 
|---|
| 7697 |        ac_top_srcdir=. | 
|---|
| 7698 |     else | 
|---|
| 7699 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 7700 |     fi ;; | 
|---|
| 7701 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 7702 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 7703 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 7704 |   *) # Relative path. | 
|---|
| 7705 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 7706 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 7707 | esac | 
|---|
| 7708 |  | 
|---|
| 7709 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 7710 | # the directories may not exist. | 
|---|
| 7711 | case `pwd` in | 
|---|
| 7712 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 7713 | *) | 
|---|
| 7714 |   case "$ac_dir" in | 
|---|
| 7715 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 7716 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 7717 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 7718 |   esac;; | 
|---|
| 7719 | esac | 
|---|
| 7720 | case $ac_abs_builddir in | 
|---|
| 7721 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 7722 | *) | 
|---|
| 7723 |   case ${ac_top_builddir}. in | 
|---|
| 7724 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 7725 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 7726 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 7727 |   esac;; | 
|---|
| 7728 | esac | 
|---|
| 7729 | case $ac_abs_builddir in | 
|---|
| 7730 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 7731 | *) | 
|---|
| 7732 |   case $ac_srcdir in | 
|---|
| 7733 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 7734 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 7735 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 7736 |   esac;; | 
|---|
| 7737 | esac | 
|---|
| 7738 | case $ac_abs_builddir in | 
|---|
| 7739 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 7740 | *) | 
|---|
| 7741 |   case $ac_top_srcdir in | 
|---|
| 7742 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 7743 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 7744 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 7745 |   esac;; | 
|---|
| 7746 | esac | 
|---|
| 7747 |  | 
|---|
| 7748 |  | 
|---|
| 7749 |   case $INSTALL in | 
|---|
| 7750 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 7751 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
| 7752 |   esac | 
|---|
| 7753 |  | 
|---|
| 7754 |   if test x"$ac_file" != x-; then | 
|---|
| 7755 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 7756 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 7757 |     rm -f "$ac_file" | 
|---|
| 7758 |   fi | 
|---|
| 7759 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 7760 |   # use $as_me), people would be surprised to read: | 
|---|
| 7761 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 7762 |   if test x"$ac_file" = x-; then | 
|---|
| 7763 |     configure_input= | 
|---|
| 7764 |   else | 
|---|
| 7765 |     configure_input="$ac_file.  " | 
|---|
| 7766 |   fi | 
|---|
| 7767 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
| 7768 |                                      sed 's,.*/,,'` by configure." | 
|---|
| 7769 |  | 
|---|
| 7770 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 7771 |   # src tree. | 
|---|
| 7772 |   ac_file_inputs=`IFS=: | 
|---|
| 7773 |     for f in $ac_file_in; do | 
|---|
| 7774 |       case $f in | 
|---|
| 7775 |       -) echo $tmp/stdin ;; | 
|---|
| 7776 |       [\\/$]*) | 
|---|
| 7777 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 7778 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 7779 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 7780 |    { (exit 1); exit 1; }; } | 
|---|
| 7781 |          echo "$f";; | 
|---|
| 7782 |       *) # Relative | 
|---|
| 7783 |          if test -f "$f"; then | 
|---|
| 7784 |            # Build tree | 
|---|
| 7785 |            echo "$f" | 
|---|
| 7786 |          elif test -f "$srcdir/$f"; then | 
|---|
| 7787 |            # Source tree | 
|---|
| 7788 |            echo "$srcdir/$f" | 
|---|
| 7789 |          else | 
|---|
| 7790 |            # /dev/null tree | 
|---|
| 7791 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 7792 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 7793 |    { (exit 1); exit 1; }; } | 
|---|
| 7794 |          fi;; | 
|---|
| 7795 |       esac | 
|---|
| 7796 |     done` || { (exit 1); exit 1; } | 
|---|
| 7797 | _ACEOF | 
|---|
| 7798 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 7799 |   sed "$ac_vpsub | 
|---|
| 7800 | $extrasub | 
|---|
| 7801 | _ACEOF | 
|---|
| 7802 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7803 | :t | 
|---|
| 7804 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 7805 | s,@configure_input@,$configure_input,;t t | 
|---|
| 7806 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
| 7807 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
| 7808 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
| 7809 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
| 7810 | s,@builddir@,$ac_builddir,;t t | 
|---|
| 7811 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
| 7812 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
| 7813 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
| 7814 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
| 7815 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
| 7816 |   rm -f $tmp/stdin | 
|---|
| 7817 |   if test x"$ac_file" != x-; then | 
|---|
| 7818 |     mv $tmp/out $ac_file | 
|---|
| 7819 |   else | 
|---|
| 7820 |     cat $tmp/out | 
|---|
| 7821 |     rm -f $tmp/out | 
|---|
| 7822 |   fi | 
|---|
| 7823 |  | 
|---|
| 7824 | done | 
|---|
| 7825 | _ACEOF | 
|---|
| 7826 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7827 |  | 
|---|
| 7828 | # | 
|---|
| 7829 | # CONFIG_HEADER section. | 
|---|
| 7830 | # | 
|---|
| 7831 |  | 
|---|
| 7832 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
| 7833 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
| 7834 | # | 
|---|
| 7835 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
| 7836 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
| 7837 | ac_dB='[         ].*$,\1#\2' | 
|---|
| 7838 | ac_dC=' ' | 
|---|
| 7839 | ac_dD=',;t' | 
|---|
| 7840 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
| 7841 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
| 7842 | ac_uB='$,\1#\2define\3' | 
|---|
| 7843 | ac_uC=' ' | 
|---|
| 7844 | ac_uD=',;t' | 
|---|
| 7845 |  | 
|---|
| 7846 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
| 7847 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 7848 |   case $ac_file in | 
|---|
| 7849 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 7850 |         cat >$tmp/stdin | 
|---|
| 7851 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 7852 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 7853 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 7854 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 7855 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 7856 |   esac | 
|---|
| 7857 |  | 
|---|
| 7858 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 7859 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 7860 |  | 
|---|
| 7861 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 7862 |   # src tree. | 
|---|
| 7863 |   ac_file_inputs=`IFS=: | 
|---|
| 7864 |     for f in $ac_file_in; do | 
|---|
| 7865 |       case $f in | 
|---|
| 7866 |       -) echo $tmp/stdin ;; | 
|---|
| 7867 |       [\\/$]*) | 
|---|
| 7868 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 7869 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 7870 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 7871 |    { (exit 1); exit 1; }; } | 
|---|
| 7872 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
| 7873 |          echo "$f";; | 
|---|
| 7874 |       *) # Relative | 
|---|
| 7875 |          if test -f "$f"; then | 
|---|
| 7876 |            # Build tree | 
|---|
| 7877 |            echo "$f" | 
|---|
| 7878 |          elif test -f "$srcdir/$f"; then | 
|---|
| 7879 |            # Source tree | 
|---|
| 7880 |            echo "$srcdir/$f" | 
|---|
| 7881 |          else | 
|---|
| 7882 |            # /dev/null tree | 
|---|
| 7883 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 7884 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 7885 |    { (exit 1); exit 1; }; } | 
|---|
| 7886 |          fi;; | 
|---|
| 7887 |       esac | 
|---|
| 7888 |     done` || { (exit 1); exit 1; } | 
|---|
| 7889 |   # Remove the trailing spaces. | 
|---|
| 7890 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
| 7891 |  | 
|---|
| 7892 | _ACEOF | 
|---|
| 7893 |  | 
|---|
| 7894 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
| 7895 | # `conftest.undefs', that substitutes the proper values into | 
|---|
| 7896 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
| 7897 | # templates, and the second `#undef' templates. | 
|---|
| 7898 | # And first: Protect against being on the right side of a sed subst in | 
|---|
| 7899 | # config.status.  Protect against being in an unquoted here document | 
|---|
| 7900 | # in config.status. | 
|---|
| 7901 | rm -f conftest.defines conftest.undefs | 
|---|
| 7902 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
| 7903 | # Putting comments in sed scripts is not portable. | 
|---|
| 7904 | # | 
|---|
| 7905 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
| 7906 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
| 7907 | # See the Autoconf documentation for `clear'. | 
|---|
| 7908 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
| 7909 | s/[\\&,]/\\&/g | 
|---|
| 7910 | s,[\\$`],\\&,g | 
|---|
| 7911 | t clear | 
|---|
| 7912 | : clear | 
|---|
| 7913 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
| 7914 | t end | 
|---|
| 7915 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
| 7916 | : end | 
|---|
| 7917 | _ACEOF | 
|---|
| 7918 | # If some macros were called several times there might be several times | 
|---|
| 7919 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
| 7920 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
| 7921 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
| 7922 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
| 7923 | rm -f confdef2sed.sed | 
|---|
| 7924 |  | 
|---|
| 7925 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
| 7926 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 7927 | # on some systems where configure will not decide to define it. | 
|---|
| 7928 | cat >>conftest.undefs <<\_ACEOF | 
|---|
| 7929 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
| 7930 | _ACEOF | 
|---|
| 7931 |  | 
|---|
| 7932 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
| 7933 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 7934 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
| 7935 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
| 7936 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
| 7937 | echo '  :' >>$CONFIG_STATUS | 
|---|
| 7938 | rm -f conftest.tail | 
|---|
| 7939 | while grep . conftest.defines >/dev/null | 
|---|
| 7940 | do | 
|---|
| 7941 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
| 7942 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 7943 |   # Speed up: don't consider the non `#define' lines. | 
|---|
| 7944 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
| 7945 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 7946 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 7947 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 7948 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
| 7949 |   echo 'CEOF | 
|---|
| 7950 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
| 7951 |   rm -f $tmp/in | 
|---|
| 7952 |   mv $tmp/out $tmp/in | 
|---|
| 7953 | ' >>$CONFIG_STATUS | 
|---|
| 7954 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
| 7955 |   rm -f conftest.defines | 
|---|
| 7956 |   mv conftest.tail conftest.defines | 
|---|
| 7957 | done | 
|---|
| 7958 | rm -f conftest.defines | 
|---|
| 7959 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
| 7960 | echo >>$CONFIG_STATUS | 
|---|
| 7961 |  | 
|---|
| 7962 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
| 7963 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 7964 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
| 7965 | rm -f conftest.tail | 
|---|
| 7966 | while grep . conftest.undefs >/dev/null | 
|---|
| 7967 | do | 
|---|
| 7968 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
| 7969 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 7970 |   # Speed up: don't consider the non `#undef' | 
|---|
| 7971 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
| 7972 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 7973 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 7974 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 7975 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
| 7976 |   echo 'CEOF | 
|---|
| 7977 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
| 7978 |   rm -f $tmp/in | 
|---|
| 7979 |   mv $tmp/out $tmp/in | 
|---|
| 7980 | ' >>$CONFIG_STATUS | 
|---|
| 7981 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
| 7982 |   rm -f conftest.undefs | 
|---|
| 7983 |   mv conftest.tail conftest.undefs | 
|---|
| 7984 | done | 
|---|
| 7985 | rm -f conftest.undefs | 
|---|
| 7986 |  | 
|---|
| 7987 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 7988 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 7989 |   # use $as_me), people would be surprised to read: | 
|---|
| 7990 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 7991 |   if test x"$ac_file" = x-; then | 
|---|
| 7992 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
| 7993 |   else | 
|---|
| 7994 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
| 7995 |   fi | 
|---|
| 7996 |   cat $tmp/in >>$tmp/config.h | 
|---|
| 7997 |   rm -f $tmp/in | 
|---|
| 7998 |   if test x"$ac_file" != x-; then | 
|---|
| 7999 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
| 8000 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
| 8001 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 8002 |     else | 
|---|
| 8003 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 8004 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8005 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 8006 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 8007 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 8008 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8009 | echo X"$ac_file" | | 
|---|
| 8010 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8011 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8012 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8013 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8014 |           s/.*/./; q'` | 
|---|
| 8015 |       { if $as_mkdir_p; then | 
|---|
| 8016 |     mkdir -p "$ac_dir" | 
|---|
| 8017 |   else | 
|---|
| 8018 |     as_dir="$ac_dir" | 
|---|
| 8019 |     as_dirs= | 
|---|
| 8020 |     while test ! -d "$as_dir"; do | 
|---|
| 8021 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 8022 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 8023 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8024 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 8025 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 8026 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 8027 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8028 | echo X"$as_dir" | | 
|---|
| 8029 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8030 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8031 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8032 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8033 |           s/.*/./; q'` | 
|---|
| 8034 |     done | 
|---|
| 8035 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 8036 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 8037 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 8038 |    { (exit 1); exit 1; }; }; } | 
|---|
| 8039 |  | 
|---|
| 8040 |       rm -f $ac_file | 
|---|
| 8041 |       mv $tmp/config.h $ac_file | 
|---|
| 8042 |     fi | 
|---|
| 8043 |   else | 
|---|
| 8044 |     cat $tmp/config.h | 
|---|
| 8045 |     rm -f $tmp/config.h | 
|---|
| 8046 |   fi | 
|---|
| 8047 | # Compute $ac_file's index in $config_headers. | 
|---|
| 8048 | _am_stamp_count=1 | 
|---|
| 8049 | for _am_header in $config_headers :; do | 
|---|
| 8050 |   case $_am_header in | 
|---|
| 8051 |     $ac_file | $ac_file:* ) | 
|---|
| 8052 |       break ;; | 
|---|
| 8053 |     * ) | 
|---|
| 8054 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 8055 |   esac | 
|---|
| 8056 | done | 
|---|
| 8057 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
| 8058 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8059 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
| 8060 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
| 8061 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
| 8062 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8063 | echo X$ac_file | | 
|---|
| 8064 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8065 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8066 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8067 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8068 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 8069 | done | 
|---|
| 8070 | _ACEOF | 
|---|
| 8071 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 8072 |  | 
|---|
| 8073 | # | 
|---|
| 8074 | # CONFIG_COMMANDS section. | 
|---|
| 8075 | # | 
|---|
| 8076 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
| 8077 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
| 8078 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 8079 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
| 8080 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8081 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
| 8082 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
| 8083 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
| 8084 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8085 | echo X"$ac_dest" | | 
|---|
| 8086 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8087 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8088 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8089 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8090 |           s/.*/./; q'` | 
|---|
| 8091 |   { if $as_mkdir_p; then | 
|---|
| 8092 |     mkdir -p "$ac_dir" | 
|---|
| 8093 |   else | 
|---|
| 8094 |     as_dir="$ac_dir" | 
|---|
| 8095 |     as_dirs= | 
|---|
| 8096 |     while test ! -d "$as_dir"; do | 
|---|
| 8097 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 8098 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 8099 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8100 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 8101 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 8102 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 8103 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8104 | echo X"$as_dir" | | 
|---|
| 8105 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8106 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8107 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8108 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8109 |           s/.*/./; q'` | 
|---|
| 8110 |     done | 
|---|
| 8111 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 8112 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 8113 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 8114 |    { (exit 1); exit 1; }; }; } | 
|---|
| 8115 |  | 
|---|
| 8116 |   ac_builddir=. | 
|---|
| 8117 |  | 
|---|
| 8118 | if test "$ac_dir" != .; then | 
|---|
| 8119 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 8120 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 8121 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 8122 | else | 
|---|
| 8123 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 8124 | fi | 
|---|
| 8125 |  | 
|---|
| 8126 | case $srcdir in | 
|---|
| 8127 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 8128 |     ac_srcdir=. | 
|---|
| 8129 |     if test -z "$ac_top_builddir"; then | 
|---|
| 8130 |        ac_top_srcdir=. | 
|---|
| 8131 |     else | 
|---|
| 8132 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 8133 |     fi ;; | 
|---|
| 8134 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 8135 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 8136 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 8137 |   *) # Relative path. | 
|---|
| 8138 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 8139 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 8140 | esac | 
|---|
| 8141 |  | 
|---|
| 8142 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 8143 | # the directories may not exist. | 
|---|
| 8144 | case `pwd` in | 
|---|
| 8145 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 8146 | *) | 
|---|
| 8147 |   case "$ac_dir" in | 
|---|
| 8148 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 8149 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 8150 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 8151 |   esac;; | 
|---|
| 8152 | esac | 
|---|
| 8153 | case $ac_abs_builddir in | 
|---|
| 8154 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 8155 | *) | 
|---|
| 8156 |   case ${ac_top_builddir}. in | 
|---|
| 8157 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 8158 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 8159 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 8160 |   esac;; | 
|---|
| 8161 | esac | 
|---|
| 8162 | case $ac_abs_builddir in | 
|---|
| 8163 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 8164 | *) | 
|---|
| 8165 |   case $ac_srcdir in | 
|---|
| 8166 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 8167 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 8168 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 8169 |   esac;; | 
|---|
| 8170 | esac | 
|---|
| 8171 | case $ac_abs_builddir in | 
|---|
| 8172 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 8173 | *) | 
|---|
| 8174 |   case $ac_top_srcdir in | 
|---|
| 8175 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 8176 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 8177 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 8178 |   esac;; | 
|---|
| 8179 | esac | 
|---|
| 8180 |  | 
|---|
| 8181 |  | 
|---|
| 8182 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
| 8183 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
| 8184 |   case $ac_dest in | 
|---|
| 8185 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
| 8186 |   # Strip MF so we end up with the name of the file. | 
|---|
| 8187 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 8188 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
| 8189 |   # We used to match only the files named `Makefile.in', but | 
|---|
| 8190 |   # some people rename them; so instead we look at the file content. | 
|---|
| 8191 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
| 8192 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 8193 |   # So let's grep whole file. | 
|---|
| 8194 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
| 8195 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
| 8196 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8197 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 8198 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 8199 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
| 8200 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8201 | echo X"$mf" | | 
|---|
| 8202 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8203 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8204 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8205 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8206 |           s/.*/./; q'` | 
|---|
| 8207 |   else | 
|---|
| 8208 |     continue | 
|---|
| 8209 |   fi | 
|---|
| 8210 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
| 8211 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
| 8212 |   # running `make'. | 
|---|
| 8213 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| 8214 |   test -z "$DEPDIR" && continue | 
|---|
| 8215 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| 8216 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| 8217 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
| 8218 |   # We invoke sed twice because it is the simplest approach to | 
|---|
| 8219 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| 8220 |   for file in `sed -n ' | 
|---|
| 8221 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
| 8222 |       s/^DEP_FILES = // | 
|---|
| 8223 |       :loop | 
|---|
| 8224 |         s/\\\\$// | 
|---|
| 8225 |         p | 
|---|
| 8226 |         n | 
|---|
| 8227 |         /\\\\$/ b loop | 
|---|
| 8228 |       p | 
|---|
| 8229 |     } | 
|---|
| 8230 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
| 8231 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
| 8232 |     # Make sure the directory exists. | 
|---|
| 8233 |     test -f "$dirpart/$file" && continue | 
|---|
| 8234 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
| 8235 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8236 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 8237 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
| 8238 |          X"$file" : 'X\(/\)' \| \ | 
|---|
| 8239 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8240 | echo X"$file" | | 
|---|
| 8241 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8242 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8243 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8244 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8245 |           s/.*/./; q'` | 
|---|
| 8246 |     { if $as_mkdir_p; then | 
|---|
| 8247 |     mkdir -p $dirpart/$fdir | 
|---|
| 8248 |   else | 
|---|
| 8249 |     as_dir=$dirpart/$fdir | 
|---|
| 8250 |     as_dirs= | 
|---|
| 8251 |     while test ! -d "$as_dir"; do | 
|---|
| 8252 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 8253 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 8254 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 8255 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 8256 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 8257 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 8258 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 8259 | echo X"$as_dir" | | 
|---|
| 8260 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 8261 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 8262 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 8263 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 8264 |           s/.*/./; q'` | 
|---|
| 8265 |     done | 
|---|
| 8266 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 8267 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
| 8268 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
| 8269 |    { (exit 1); exit 1; }; }; } | 
|---|
| 8270 |  | 
|---|
| 8271 |     # echo "creating $dirpart/$file" | 
|---|
| 8272 |     echo '# dummy' > "$dirpart/$file" | 
|---|
| 8273 |   done | 
|---|
| 8274 | done | 
|---|
| 8275 |  ;; | 
|---|
| 8276 |   esac | 
|---|
| 8277 | done | 
|---|
| 8278 | _ACEOF | 
|---|
| 8279 |  | 
|---|
| 8280 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 8281 |  | 
|---|
| 8282 | { (exit 0); exit 0; } | 
|---|
| 8283 | _ACEOF | 
|---|
| 8284 | chmod +x $CONFIG_STATUS | 
|---|
| 8285 | ac_clean_files=$ac_clean_files_save | 
|---|
| 8286 |  | 
|---|
| 8287 |  | 
|---|
| 8288 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 8289 | # config.status does its own redirection, appending to config.log. | 
|---|
| 8290 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 8291 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 8292 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 8293 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 8294 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 8295 | # need to make the FD available again. | 
|---|
| 8296 | if test "$no_create" != yes; then | 
|---|
| 8297 |   ac_cs_success=: | 
|---|
| 8298 |   ac_config_status_args= | 
|---|
| 8299 |   test "$silent" = yes && | 
|---|
| 8300 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 8301 |   exec 5>/dev/null | 
|---|
| 8302 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 8303 |   exec 5>>config.log | 
|---|
| 8304 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 8305 |   # would make configure fail if this is the last instruction. | 
|---|
| 8306 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
| 8307 | fi | 
|---|
| 8308 |  | 
|---|