| [1956] | 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 | ## --------------------- ## | 
|---|
| [1853] | 13 |  | 
|---|
| [1956] | 14 | # Be Bourne compatible | 
|---|
 | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
 | 16 |   emulate sh | 
|---|
 | 17 |   NULLCMD=: | 
|---|
 | 18 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
 | 19 |   # is contrary to our usage.  Disable this feature. | 
|---|
 | 20 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
 | 21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
 | 22 |   set -o posix | 
|---|
 | 23 | fi | 
|---|
 | 24 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| [1853] | 25 |  | 
|---|
| [1956] | 26 | # Support unset when possible. | 
|---|
 | 27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
 | 28 |   as_unset=unset | 
|---|
 | 29 | else | 
|---|
 | 30 |   as_unset=false | 
|---|
 | 31 | fi | 
|---|
| [1853] | 32 |  | 
|---|
 | 33 |  | 
|---|
| [1956] | 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
 | 35 | $as_unset ENV MAIL MAILPATH | 
|---|
 | 36 | PS1='$ ' | 
|---|
 | 37 | PS2='> ' | 
|---|
 | 38 | PS4='+ ' | 
|---|
| [1853] | 39 |  | 
|---|
| [1956] | 40 | # NLS nuisances. | 
|---|
 | 41 | for as_var in \ | 
|---|
 | 42 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
 | 43 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
 | 44 |   LC_TELEPHONE LC_TIME | 
|---|
 | 45 | do | 
|---|
 | 46 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
 | 47 |     eval $as_var=C; export $as_var | 
|---|
 | 48 |   else | 
|---|
 | 49 |     $as_unset $as_var | 
|---|
 | 50 |   fi | 
|---|
 | 51 | done | 
|---|
| [1853] | 52 |  | 
|---|
| [1956] | 53 | # Required to use basename. | 
|---|
 | 54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 55 |   as_expr=expr | 
|---|
 | 56 | else | 
|---|
 | 57 |   as_expr=false | 
|---|
 | 58 | fi | 
|---|
| [1853] | 59 |  | 
|---|
| [1956] | 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
 | 61 |   as_basename=basename | 
|---|
 | 62 | else | 
|---|
 | 63 |   as_basename=false | 
|---|
 | 64 | fi | 
|---|
| [1853] | 65 |  | 
|---|
| [1956] | 66 |  | 
|---|
 | 67 | # Name of the executable. | 
|---|
 | 68 | as_me=`$as_basename "$0" || | 
|---|
 | 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
 | 70 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
 | 71 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
 | 72 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 73 | echo X/"$0" | | 
|---|
 | 74 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
 | 75 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 76 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
 | 77 |           s/.*/./; q'` | 
|---|
 | 78 |  | 
|---|
 | 79 |  | 
|---|
 | 80 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
 | 81 | # Avoid depending upon Character Ranges. | 
|---|
 | 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
 | 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
 | 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
 | 85 | as_cr_digits='0123456789' | 
|---|
 | 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
 | 87 |  | 
|---|
 | 88 | # The user is always right. | 
|---|
 | 89 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
 | 90 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
 | 91 |   echo  "exit 0"   >>conf$$.sh | 
|---|
 | 92 |   chmod +x conf$$.sh | 
|---|
 | 93 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
 | 94 |     PATH_SEPARATOR=';' | 
|---|
 | 95 |   else | 
|---|
 | 96 |     PATH_SEPARATOR=: | 
|---|
 | 97 |   fi | 
|---|
 | 98 |   rm -f conf$$.sh | 
|---|
 | 99 | fi | 
|---|
 | 100 |  | 
|---|
 | 101 |  | 
|---|
 | 102 |   as_lineno_1=$LINENO | 
|---|
 | 103 |   as_lineno_2=$LINENO | 
|---|
 | 104 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 105 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 106 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
 | 107 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
 | 108 |   # relative or not. | 
|---|
 | 109 |   case $0 in | 
|---|
 | 110 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
 | 111 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 112 | for as_dir in $PATH | 
|---|
 | 113 | do | 
|---|
 | 114 |   IFS=$as_save_IFS | 
|---|
 | 115 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 116 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
 | 117 | done | 
|---|
 | 118 |  | 
|---|
 | 119 |        ;; | 
|---|
 | 120 |   esac | 
|---|
 | 121 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
 | 122 |   # in which case we are not to be found in the path. | 
|---|
 | 123 |   if test "x$as_myself" = x; then | 
|---|
 | 124 |     as_myself=$0 | 
|---|
 | 125 |   fi | 
|---|
 | 126 |   if test ! -f "$as_myself"; then | 
|---|
 | 127 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
|---|
 | 128 |    { (exit 1); exit 1; }; } | 
|---|
 | 129 |   fi | 
|---|
 | 130 |   case $CONFIG_SHELL in | 
|---|
 | 131 |   '') | 
|---|
 | 132 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
 | 134 | do | 
|---|
 | 135 |   IFS=$as_save_IFS | 
|---|
 | 136 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 137 |   for as_base in sh bash ksh sh5; do | 
|---|
 | 138 |          case $as_dir in | 
|---|
 | 139 |          /*) | 
|---|
 | 140 |            if ("$as_dir/$as_base" -c ' | 
|---|
 | 141 |   as_lineno_1=$LINENO | 
|---|
 | 142 |   as_lineno_2=$LINENO | 
|---|
 | 143 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 144 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 145 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
 | 146 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
 | 147 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
 | 148 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
 | 149 |              export CONFIG_SHELL | 
|---|
 | 150 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
 | 151 |            fi;; | 
|---|
 | 152 |          esac | 
|---|
 | 153 |        done | 
|---|
 | 154 | done | 
|---|
 | 155 | ;; | 
|---|
 | 156 |   esac | 
|---|
 | 157 |  | 
|---|
 | 158 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
 | 159 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
 | 160 |   # line-number line before each line; the second 'sed' does the real | 
|---|
 | 161 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
 | 162 |   # with the numbered line, and appends trailing '-' during | 
|---|
 | 163 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
 | 164 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
 | 165 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
 | 166 |   sed '=' <$as_myself | | 
|---|
 | 167 |     sed ' | 
|---|
 | 168 |       N | 
|---|
 | 169 |       s,$,-, | 
|---|
 | 170 |       : loop | 
|---|
 | 171 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
 | 172 |       t loop | 
|---|
 | 173 |       s,-$,, | 
|---|
 | 174 |       s,^['$as_cr_digits']*\n,, | 
|---|
 | 175 |     ' >$as_me.lineno && | 
|---|
 | 176 |   chmod +x $as_me.lineno || | 
|---|
 | 177 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
|---|
 | 178 |    { (exit 1); exit 1; }; } | 
|---|
 | 179 |  | 
|---|
 | 180 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
 | 181 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
 | 182 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
 | 183 |   . ./$as_me.lineno | 
|---|
 | 184 |   # Exit status is that of the last command. | 
|---|
 | 185 |   exit | 
|---|
 | 186 | } | 
|---|
 | 187 |  | 
|---|
 | 188 |  | 
|---|
 | 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
 | 190 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
 | 191 | ' ECHO_T='      ' ;; | 
|---|
 | 192 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
 | 193 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
 | 194 | esac | 
|---|
 | 195 |  | 
|---|
 | 196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 197 |   as_expr=expr | 
|---|
| [1853] | 198 | else | 
|---|
| [1956] | 199 |   as_expr=false | 
|---|
| [1853] | 200 | fi | 
|---|
 | 201 |  | 
|---|
| [1956] | 202 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 203 | echo >conf$$.file | 
|---|
 | 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 205 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
 | 206 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
 | 207 |   if test -f conf$$.exe; then | 
|---|
 | 208 |     # Don't use ln at all; we don't have any links | 
|---|
 | 209 |     as_ln_s='cp -p' | 
|---|
 | 210 |   else | 
|---|
 | 211 |     as_ln_s='ln -s' | 
|---|
 | 212 |   fi | 
|---|
 | 213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 214 |   as_ln_s=ln | 
|---|
 | 215 | else | 
|---|
 | 216 |   as_ln_s='cp -p' | 
|---|
| [1853] | 217 | fi | 
|---|
| [1956] | 218 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| [1853] | 219 |  | 
|---|
| [1956] | 220 | if mkdir -p . 2>/dev/null; then | 
|---|
 | 221 |   as_mkdir_p=: | 
|---|
 | 222 | else | 
|---|
 | 223 |   test -d ./-p && rmdir ./-p | 
|---|
 | 224 |   as_mkdir_p=false | 
|---|
 | 225 | fi | 
|---|
| [1853] | 226 |  | 
|---|
| [1956] | 227 | as_executable_p="test -f" | 
|---|
 | 228 |  | 
|---|
 | 229 | # Sed expression to map a string onto a valid CPP name. | 
|---|
 | 230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 231 |  | 
|---|
 | 232 | # Sed expression to map a string onto a valid variable name. | 
|---|
 | 233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 234 |  | 
|---|
 | 235 |  | 
|---|
 | 236 | # IFS | 
|---|
 | 237 | # We need space, tab and new line, in precisely that order. | 
|---|
 | 238 | as_nl=' | 
|---|
 | 239 | ' | 
|---|
 | 240 | IFS="   $as_nl" | 
|---|
 | 241 |  | 
|---|
 | 242 | # CDPATH. | 
|---|
 | 243 | $as_unset CDPATH | 
|---|
 | 244 |  | 
|---|
 | 245 |  | 
|---|
 | 246 | # Name of the host. | 
|---|
 | 247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
|---|
 | 248 | # so uname gets run too. | 
|---|
 | 249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
 | 250 |  | 
|---|
 | 251 | exec 6>&1 | 
|---|
 | 252 |  | 
|---|
 | 253 | # | 
|---|
 | 254 | # Initializations. | 
|---|
 | 255 | # | 
|---|
 | 256 | ac_default_prefix=/usr/local | 
|---|
 | 257 | ac_config_libobj_dir=. | 
|---|
 | 258 | cross_compiling=no | 
|---|
 | 259 | subdirs= | 
|---|
 | 260 | MFLAGS= | 
|---|
 | 261 | MAKEFLAGS= | 
|---|
 | 262 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|---|
 | 263 |  | 
|---|
 | 264 | # Maximum number of lines to put in a shell here document. | 
|---|
 | 265 | # This variable seems obsolete.  It should probably be removed, and | 
|---|
 | 266 | # only ac_max_sed_lines should be used. | 
|---|
 | 267 | : ${ac_max_here_lines=38} | 
|---|
 | 268 |  | 
|---|
 | 269 | # Identity of this package. | 
|---|
 | 270 | PACKAGE_NAME='orxonox' | 
|---|
 | 271 | PACKAGE_TARNAME='orxonox' | 
|---|
 | 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 |  | 
|---|
| [3099] | 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 GTK2_LIBS GTK2_CFLAGS HAVE_GTK2_TRUE HAVE_GTK2_FALSE LIBOBJS LTLIBOBJS' | 
|---|
| [1956] | 315 | ac_subst_files='' | 
|---|
 | 316 |  | 
|---|
 | 317 | # Initialize some variables set by options. | 
|---|
 | 318 | ac_init_help= | 
|---|
 | 319 | ac_init_version=false | 
|---|
 | 320 | # The variables have the same names as the options, with | 
|---|
 | 321 | # dashes changed to underlines. | 
|---|
 | 322 | cache_file=/dev/null | 
|---|
 | 323 | exec_prefix=NONE | 
|---|
 | 324 | no_create= | 
|---|
 | 325 | no_recursion= | 
|---|
 | 326 | prefix=NONE | 
|---|
 | 327 | program_prefix=NONE | 
|---|
 | 328 | program_suffix=NONE | 
|---|
 | 329 | program_transform_name=s,x,x, | 
|---|
 | 330 | silent= | 
|---|
 | 331 | site= | 
|---|
 | 332 | srcdir= | 
|---|
 | 333 | verbose= | 
|---|
 | 334 | x_includes=NONE | 
|---|
 | 335 | x_libraries=NONE | 
|---|
 | 336 |  | 
|---|
 | 337 | # Installation directory options. | 
|---|
 | 338 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
 | 339 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
 | 340 | # by default will actually change. | 
|---|
 | 341 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
 | 342 | bindir='${exec_prefix}/bin' | 
|---|
 | 343 | sbindir='${exec_prefix}/sbin' | 
|---|
 | 344 | libexecdir='${exec_prefix}/libexec' | 
|---|
 | 345 | datadir='${prefix}/share' | 
|---|
 | 346 | sysconfdir='${prefix}/etc' | 
|---|
 | 347 | sharedstatedir='${prefix}/com' | 
|---|
 | 348 | localstatedir='${prefix}/var' | 
|---|
 | 349 | libdir='${exec_prefix}/lib' | 
|---|
 | 350 | includedir='${prefix}/include' | 
|---|
 | 351 | oldincludedir='/usr/include' | 
|---|
 | 352 | infodir='${prefix}/info' | 
|---|
 | 353 | mandir='${prefix}/man' | 
|---|
 | 354 |  | 
|---|
 | 355 | ac_prev= | 
|---|
 | 356 | for ac_option | 
|---|
 | 357 | do | 
|---|
 | 358 |   # If the previous option needs an argument, assign it. | 
|---|
 | 359 |   if test -n "$ac_prev"; then | 
|---|
 | 360 |     eval "$ac_prev=\$ac_option" | 
|---|
 | 361 |     ac_prev= | 
|---|
 | 362 |     continue | 
|---|
 | 363 |   fi | 
|---|
 | 364 |  | 
|---|
 | 365 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
|---|
 | 366 |  | 
|---|
 | 367 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
 | 368 |  | 
|---|
 | 369 |   case $ac_option in | 
|---|
 | 370 |  | 
|---|
 | 371 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
 | 372 |     ac_prev=bindir ;; | 
|---|
 | 373 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
 | 374 |     bindir=$ac_optarg ;; | 
|---|
 | 375 |  | 
|---|
 | 376 |   -build | --build | --buil | --bui | --bu) | 
|---|
 | 377 |     ac_prev=build_alias ;; | 
|---|
 | 378 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
 | 379 |     build_alias=$ac_optarg ;; | 
|---|
 | 380 |  | 
|---|
 | 381 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
 | 382 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
 | 383 |     ac_prev=cache_file ;; | 
|---|
 | 384 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
 | 385 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
 | 386 |     cache_file=$ac_optarg ;; | 
|---|
 | 387 |  | 
|---|
 | 388 |   --config-cache | -C) | 
|---|
 | 389 |     cache_file=config.cache ;; | 
|---|
 | 390 |  | 
|---|
 | 391 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
|---|
 | 392 |     ac_prev=datadir ;; | 
|---|
 | 393 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
|---|
 | 394 |   | --da=*) | 
|---|
 | 395 |     datadir=$ac_optarg ;; | 
|---|
 | 396 |  | 
|---|
 | 397 |   -disable-* | --disable-*) | 
|---|
 | 398 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
 | 399 |     # Reject names that are not valid shell variable names. | 
|---|
 | 400 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
 | 401 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
 | 402 |    { (exit 1); exit 1; }; } | 
|---|
 | 403 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
 | 404 |     eval "enable_$ac_feature=no" ;; | 
|---|
 | 405 |  | 
|---|
 | 406 |   -enable-* | --enable-*) | 
|---|
 | 407 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
 | 408 |     # Reject names that are not valid shell variable names. | 
|---|
 | 409 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
 | 410 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
 | 411 |    { (exit 1); exit 1; }; } | 
|---|
 | 412 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
 | 413 |     case $ac_option in | 
|---|
 | 414 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
 | 415 |       *) ac_optarg=yes ;; | 
|---|
 | 416 |     esac | 
|---|
 | 417 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
|---|
 | 418 |  | 
|---|
 | 419 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
 | 420 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
 | 421 |   | --exec | --exe | --ex) | 
|---|
 | 422 |     ac_prev=exec_prefix ;; | 
|---|
 | 423 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
 | 424 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
 | 425 |   | --exec=* | --exe=* | --ex=*) | 
|---|
 | 426 |     exec_prefix=$ac_optarg ;; | 
|---|
 | 427 |  | 
|---|
 | 428 |   -gas | --gas | --ga | --g) | 
|---|
 | 429 |     # Obsolete; use --with-gas. | 
|---|
 | 430 |     with_gas=yes ;; | 
|---|
 | 431 |  | 
|---|
 | 432 |   -help | --help | --hel | --he | -h) | 
|---|
 | 433 |     ac_init_help=long ;; | 
|---|
 | 434 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
 | 435 |     ac_init_help=recursive ;; | 
|---|
 | 436 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
 | 437 |     ac_init_help=short ;; | 
|---|
 | 438 |  | 
|---|
 | 439 |   -host | --host | --hos | --ho) | 
|---|
 | 440 |     ac_prev=host_alias ;; | 
|---|
 | 441 |   -host=* | --host=* | --hos=* | --ho=*) | 
|---|
 | 442 |     host_alias=$ac_optarg ;; | 
|---|
 | 443 |  | 
|---|
 | 444 |   -includedir | --includedir | --includedi | --included | --include \ | 
|---|
 | 445 |   | --includ | --inclu | --incl | --inc) | 
|---|
 | 446 |     ac_prev=includedir ;; | 
|---|
 | 447 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
 | 448 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
 | 449 |     includedir=$ac_optarg ;; | 
|---|
 | 450 |  | 
|---|
 | 451 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
 | 452 |     ac_prev=infodir ;; | 
|---|
 | 453 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
 | 454 |     infodir=$ac_optarg ;; | 
|---|
 | 455 |  | 
|---|
 | 456 |   -libdir | --libdir | --libdi | --libd) | 
|---|
 | 457 |     ac_prev=libdir ;; | 
|---|
 | 458 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
 | 459 |     libdir=$ac_optarg ;; | 
|---|
 | 460 |  | 
|---|
 | 461 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
 | 462 |   | --libexe | --libex | --libe) | 
|---|
 | 463 |     ac_prev=libexecdir ;; | 
|---|
 | 464 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
 | 465 |   | --libexe=* | --libex=* | --libe=*) | 
|---|
 | 466 |     libexecdir=$ac_optarg ;; | 
|---|
 | 467 |  | 
|---|
 | 468 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
 | 469 |   | --localstate | --localstat | --localsta | --localst \ | 
|---|
 | 470 |   | --locals | --local | --loca | --loc | --lo) | 
|---|
 | 471 |     ac_prev=localstatedir ;; | 
|---|
 | 472 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
 | 473 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
|---|
 | 474 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
|---|
 | 475 |     localstatedir=$ac_optarg ;; | 
|---|
 | 476 |  | 
|---|
 | 477 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
 | 478 |     ac_prev=mandir ;; | 
|---|
 | 479 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
 | 480 |     mandir=$ac_optarg ;; | 
|---|
 | 481 |  | 
|---|
 | 482 |   -nfp | --nfp | --nf) | 
|---|
 | 483 |     # Obsolete; use --without-fp. | 
|---|
 | 484 |     with_fp=no ;; | 
|---|
 | 485 |  | 
|---|
 | 486 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
 | 487 |   | --no-cr | --no-c | -n) | 
|---|
 | 488 |     no_create=yes ;; | 
|---|
 | 489 |  | 
|---|
 | 490 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
 | 491 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
 | 492 |     no_recursion=yes ;; | 
|---|
 | 493 |  | 
|---|
 | 494 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
 | 495 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
 | 496 |   | --oldin | --oldi | --old | --ol | --o) | 
|---|
 | 497 |     ac_prev=oldincludedir ;; | 
|---|
 | 498 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
 | 499 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
 | 500 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
 | 501 |     oldincludedir=$ac_optarg ;; | 
|---|
 | 502 |  | 
|---|
 | 503 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
 | 504 |     ac_prev=prefix ;; | 
|---|
 | 505 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
 | 506 |     prefix=$ac_optarg ;; | 
|---|
 | 507 |  | 
|---|
 | 508 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
 | 509 |   | --program-pre | --program-pr | --program-p) | 
|---|
 | 510 |     ac_prev=program_prefix ;; | 
|---|
 | 511 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
 | 512 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
 | 513 |     program_prefix=$ac_optarg ;; | 
|---|
 | 514 |  | 
|---|
 | 515 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
 | 516 |   | --program-suf | --program-su | --program-s) | 
|---|
 | 517 |     ac_prev=program_suffix ;; | 
|---|
 | 518 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
 | 519 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
 | 520 |     program_suffix=$ac_optarg ;; | 
|---|
 | 521 |  | 
|---|
 | 522 |   -program-transform-name | --program-transform-name \ | 
|---|
 | 523 |   | --program-transform-nam | --program-transform-na \ | 
|---|
 | 524 |   | --program-transform-n | --program-transform- \ | 
|---|
 | 525 |   | --program-transform | --program-transfor \ | 
|---|
 | 526 |   | --program-transfo | --program-transf \ | 
|---|
 | 527 |   | --program-trans | --program-tran \ | 
|---|
 | 528 |   | --progr-tra | --program-tr | --program-t) | 
|---|
 | 529 |     ac_prev=program_transform_name ;; | 
|---|
 | 530 |   -program-transform-name=* | --program-transform-name=* \ | 
|---|
 | 531 |   | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
 | 532 |   | --program-transform-n=* | --program-transform-=* \ | 
|---|
 | 533 |   | --program-transform=* | --program-transfor=* \ | 
|---|
 | 534 |   | --program-transfo=* | --program-transf=* \ | 
|---|
 | 535 |   | --program-trans=* | --program-tran=* \ | 
|---|
 | 536 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
 | 537 |     program_transform_name=$ac_optarg ;; | 
|---|
 | 538 |  | 
|---|
 | 539 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 540 |   | -silent | --silent | --silen | --sile | --sil) | 
|---|
 | 541 |     silent=yes ;; | 
|---|
 | 542 |  | 
|---|
 | 543 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
 | 544 |     ac_prev=sbindir ;; | 
|---|
 | 545 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
 | 546 |   | --sbi=* | --sb=*) | 
|---|
 | 547 |     sbindir=$ac_optarg ;; | 
|---|
 | 548 |  | 
|---|
 | 549 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
 | 550 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
 | 551 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
 | 552 |   | --sha | --sh) | 
|---|
 | 553 |     ac_prev=sharedstatedir ;; | 
|---|
 | 554 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
 | 555 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
 | 556 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
 | 557 |   | --sha=* | --sh=*) | 
|---|
 | 558 |     sharedstatedir=$ac_optarg ;; | 
|---|
 | 559 |  | 
|---|
 | 560 |   -site | --site | --sit) | 
|---|
 | 561 |     ac_prev=site ;; | 
|---|
 | 562 |   -site=* | --site=* | --sit=*) | 
|---|
 | 563 |     site=$ac_optarg ;; | 
|---|
 | 564 |  | 
|---|
 | 565 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
 | 566 |     ac_prev=srcdir ;; | 
|---|
 | 567 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
 | 568 |     srcdir=$ac_optarg ;; | 
|---|
 | 569 |  | 
|---|
 | 570 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
 | 571 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
 | 572 |     ac_prev=sysconfdir ;; | 
|---|
 | 573 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
 | 574 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
 | 575 |     sysconfdir=$ac_optarg ;; | 
|---|
 | 576 |  | 
|---|
 | 577 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
 | 578 |     ac_prev=target_alias ;; | 
|---|
 | 579 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
 | 580 |     target_alias=$ac_optarg ;; | 
|---|
 | 581 |  | 
|---|
 | 582 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
 | 583 |     verbose=yes ;; | 
|---|
 | 584 |  | 
|---|
 | 585 |   -version | --version | --versio | --versi | --vers | -V) | 
|---|
 | 586 |     ac_init_version=: ;; | 
|---|
 | 587 |  | 
|---|
 | 588 |   -with-* | --with-*) | 
|---|
 | 589 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
 | 590 |     # Reject names that are not valid shell variable names. | 
|---|
 | 591 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
 | 592 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
 | 593 |    { (exit 1); exit 1; }; } | 
|---|
 | 594 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
|---|
 | 595 |     case $ac_option in | 
|---|
 | 596 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
 | 597 |       *) ac_optarg=yes ;; | 
|---|
 | 598 |     esac | 
|---|
 | 599 |     eval "with_$ac_package='$ac_optarg'" ;; | 
|---|
 | 600 |  | 
|---|
 | 601 |   -without-* | --without-*) | 
|---|
 | 602 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
 | 603 |     # Reject names that are not valid shell variable names. | 
|---|
 | 604 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
 | 605 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
 | 606 |    { (exit 1); exit 1; }; } | 
|---|
 | 607 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
|---|
 | 608 |     eval "with_$ac_package=no" ;; | 
|---|
 | 609 |  | 
|---|
 | 610 |   --x) | 
|---|
 | 611 |     # Obsolete; use --with-x. | 
|---|
 | 612 |     with_x=yes ;; | 
|---|
 | 613 |  | 
|---|
 | 614 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
 | 615 |   | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
 | 616 |     ac_prev=x_includes ;; | 
|---|
 | 617 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
 | 618 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
 | 619 |     x_includes=$ac_optarg ;; | 
|---|
 | 620 |  | 
|---|
 | 621 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
 | 622 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
 | 623 |     ac_prev=x_libraries ;; | 
|---|
 | 624 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
 | 625 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
 | 626 |     x_libraries=$ac_optarg ;; | 
|---|
 | 627 |  | 
|---|
 | 628 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
|---|
 | 629 | Try \`$0 --help' for more information." >&2 | 
|---|
 | 630 |    { (exit 1); exit 1; }; } | 
|---|
 | 631 |     ;; | 
|---|
 | 632 |  | 
|---|
 | 633 |   *=*) | 
|---|
 | 634 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
 | 635 |     # Reject names that are not valid shell variable names. | 
|---|
 | 636 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
|---|
 | 637 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
|---|
 | 638 |    { (exit 1); exit 1; }; } | 
|---|
 | 639 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
|---|
 | 640 |     eval "$ac_envvar='$ac_optarg'" | 
|---|
 | 641 |     export $ac_envvar ;; | 
|---|
 | 642 |  | 
|---|
 | 643 |   *) | 
|---|
 | 644 |     # FIXME: should be removed in autoconf 3.0. | 
|---|
 | 645 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
 | 646 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
 | 647 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
 | 648 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
|---|
 | 649 |     ;; | 
|---|
 | 650 |  | 
|---|
 | 651 |   esac | 
|---|
 | 652 | done | 
|---|
 | 653 |  | 
|---|
 | 654 | if test -n "$ac_prev"; then | 
|---|
 | 655 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
 | 656 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
|---|
 | 657 |    { (exit 1); exit 1; }; } | 
|---|
| [1853] | 658 | fi | 
|---|
 | 659 |  | 
|---|
| [1956] | 660 | # Be sure to have absolute paths. | 
|---|
 | 661 | for ac_var in exec_prefix prefix | 
|---|
 | 662 | do | 
|---|
 | 663 |   eval ac_val=$`echo $ac_var` | 
|---|
 | 664 |   case $ac_val in | 
|---|
 | 665 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
|---|
 | 666 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
 | 667 |    { (exit 1); exit 1; }; };; | 
|---|
 | 668 |   esac | 
|---|
 | 669 | done | 
|---|
| [1853] | 670 |  | 
|---|
| [1956] | 671 | # Be sure to have absolute paths. | 
|---|
 | 672 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
|---|
 | 673 |               localstatedir libdir includedir oldincludedir infodir mandir | 
|---|
 | 674 | do | 
|---|
 | 675 |   eval ac_val=$`echo $ac_var` | 
|---|
 | 676 |   case $ac_val in | 
|---|
 | 677 |     [\\/$]* | ?:[\\/]* ) ;; | 
|---|
 | 678 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
 | 679 |    { (exit 1); exit 1; }; };; | 
|---|
 | 680 |   esac | 
|---|
 | 681 | done | 
|---|
 | 682 |  | 
|---|
 | 683 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
 | 684 | # used to hold the argument of --host etc. | 
|---|
 | 685 | # FIXME: To remove some day. | 
|---|
 | 686 | build=$build_alias | 
|---|
 | 687 | host=$host_alias | 
|---|
 | 688 | target=$target_alias | 
|---|
 | 689 |  | 
|---|
 | 690 | # FIXME: To remove some day. | 
|---|
 | 691 | if test "x$host_alias" != x; then | 
|---|
 | 692 |   if test "x$build_alias" = x; then | 
|---|
 | 693 |     cross_compiling=maybe | 
|---|
 | 694 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
|---|
 | 695 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
|---|
 | 696 |   elif test "x$build_alias" != "x$host_alias"; then | 
|---|
 | 697 |     cross_compiling=yes | 
|---|
 | 698 |   fi | 
|---|
| [1853] | 699 | fi | 
|---|
 | 700 |  | 
|---|
| [1956] | 701 | ac_tool_prefix= | 
|---|
 | 702 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
 | 703 |  | 
|---|
 | 704 | test "$silent" = yes && exec 6>/dev/null | 
|---|
 | 705 |  | 
|---|
 | 706 |  | 
|---|
 | 707 | # Find the source files, if location was not specified. | 
|---|
 | 708 | if test -z "$srcdir"; then | 
|---|
 | 709 |   ac_srcdir_defaulted=yes | 
|---|
 | 710 |   # Try the directory containing this script, then its parent. | 
|---|
 | 711 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
|---|
 | 712 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 713 |          X"$0" : 'X\(//\)[^/]' \| \ | 
|---|
 | 714 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
 | 715 |          X"$0" : 'X\(/\)' \| \ | 
|---|
 | 716 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 717 | echo X"$0" | | 
|---|
 | 718 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 719 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 720 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 721 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 722 |           s/.*/./; q'` | 
|---|
 | 723 |   srcdir=$ac_confdir | 
|---|
 | 724 |   if test ! -r $srcdir/$ac_unique_file; then | 
|---|
 | 725 |     srcdir=.. | 
|---|
 | 726 |   fi | 
|---|
 | 727 | else | 
|---|
 | 728 |   ac_srcdir_defaulted=no | 
|---|
 | 729 | fi | 
|---|
 | 730 | if test ! -r $srcdir/$ac_unique_file; then | 
|---|
 | 731 |   if test "$ac_srcdir_defaulted" = yes; then | 
|---|
 | 732 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
|---|
 | 733 |    { (exit 1); exit 1; }; } | 
|---|
 | 734 |   else | 
|---|
 | 735 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
|---|
 | 736 |    { (exit 1); exit 1; }; } | 
|---|
 | 737 |   fi | 
|---|
 | 738 | fi | 
|---|
 | 739 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
|---|
 | 740 |   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
|---|
 | 741 |    { (exit 1); exit 1; }; } | 
|---|
 | 742 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
|---|
 | 743 | ac_env_build_alias_set=${build_alias+set} | 
|---|
 | 744 | ac_env_build_alias_value=$build_alias | 
|---|
 | 745 | ac_cv_env_build_alias_set=${build_alias+set} | 
|---|
 | 746 | ac_cv_env_build_alias_value=$build_alias | 
|---|
 | 747 | ac_env_host_alias_set=${host_alias+set} | 
|---|
 | 748 | ac_env_host_alias_value=$host_alias | 
|---|
 | 749 | ac_cv_env_host_alias_set=${host_alias+set} | 
|---|
 | 750 | ac_cv_env_host_alias_value=$host_alias | 
|---|
 | 751 | ac_env_target_alias_set=${target_alias+set} | 
|---|
 | 752 | ac_env_target_alias_value=$target_alias | 
|---|
 | 753 | ac_cv_env_target_alias_set=${target_alias+set} | 
|---|
 | 754 | ac_cv_env_target_alias_value=$target_alias | 
|---|
 | 755 | ac_env_CXX_set=${CXX+set} | 
|---|
 | 756 | ac_env_CXX_value=$CXX | 
|---|
 | 757 | ac_cv_env_CXX_set=${CXX+set} | 
|---|
 | 758 | ac_cv_env_CXX_value=$CXX | 
|---|
 | 759 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
 | 760 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
 | 761 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
 | 762 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
 | 763 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
 | 764 | ac_env_LDFLAGS_value=$LDFLAGS | 
|---|
 | 765 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
 | 766 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
|---|
 | 767 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
 | 768 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
 | 769 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
 | 770 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
 | 771 | ac_env_CC_set=${CC+set} | 
|---|
 | 772 | ac_env_CC_value=$CC | 
|---|
 | 773 | ac_cv_env_CC_set=${CC+set} | 
|---|
 | 774 | ac_cv_env_CC_value=$CC | 
|---|
 | 775 | ac_env_CFLAGS_set=${CFLAGS+set} | 
|---|
 | 776 | ac_env_CFLAGS_value=$CFLAGS | 
|---|
 | 777 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
|---|
 | 778 | ac_cv_env_CFLAGS_value=$CFLAGS | 
|---|
 | 779 | ac_env_CPP_set=${CPP+set} | 
|---|
 | 780 | ac_env_CPP_value=$CPP | 
|---|
 | 781 | ac_cv_env_CPP_set=${CPP+set} | 
|---|
 | 782 | ac_cv_env_CPP_value=$CPP | 
|---|
 | 783 |  | 
|---|
 | 784 | # | 
|---|
 | 785 | # Report the --help message. | 
|---|
 | 786 | # | 
|---|
 | 787 | if test "$ac_init_help" = "long"; then | 
|---|
 | 788 |   # Omit some internal or obsolete options to make the list less imposing. | 
|---|
 | 789 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
 | 790 |   cat <<_ACEOF | 
|---|
 | 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 | 
|---|
| [2980] | 848 |  | 
|---|
 | 849 | System types: | 
|---|
 | 850 |   --build=BUILD     configure for building on BUILD [guessed] | 
|---|
 | 851 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|---|
 | 852 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
|---|
| [1956] | 853 | _ACEOF | 
|---|
 | 854 | fi | 
|---|
 | 855 |  | 
|---|
 | 856 | if test -n "$ac_init_help"; then | 
|---|
 | 857 |   case $ac_init_help in | 
|---|
 | 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] | 
|---|
| [2706] | 865 |   --disable-dependency-tracking  speeds up one-time build | 
|---|
 | 866 |   --enable-dependency-tracking   do not reject slow dependency extractors | 
|---|
| [3100] | 867 |   --disable-gtk           Prevents GTK from being loaded | 
|---|
| [1956] | 868 |  | 
|---|
 | 869 | Some influential environment variables: | 
|---|
 | 870 |   CXX         C++ compiler command | 
|---|
 | 871 |   CXXFLAGS    C++ compiler flags | 
|---|
 | 872 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
 | 873 |               nonstandard directory <lib dir> | 
|---|
 | 874 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
 | 875 |               headers in a nonstandard directory <include dir> | 
|---|
 | 876 |   CC          C compiler command | 
|---|
 | 877 |   CFLAGS      C compiler flags | 
|---|
 | 878 |   CPP         C preprocessor | 
|---|
 | 879 |  | 
|---|
 | 880 | Use these variables to override the choices made by `configure' or to help | 
|---|
 | 881 | it to find libraries and programs with nonstandard names/locations. | 
|---|
 | 882 |  | 
|---|
 | 883 | Report bugs to <orxonox-dev@mail.datacore.ch>. | 
|---|
 | 884 | _ACEOF | 
|---|
 | 885 | fi | 
|---|
 | 886 |  | 
|---|
 | 887 | if test "$ac_init_help" = "recursive"; then | 
|---|
 | 888 |   # If there are subdirs, report their specific --help. | 
|---|
 | 889 |   ac_popdir=`pwd` | 
|---|
 | 890 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
 | 891 |     test -d $ac_dir || continue | 
|---|
 | 892 |     ac_builddir=. | 
|---|
 | 893 |  | 
|---|
 | 894 | if test "$ac_dir" != .; then | 
|---|
 | 895 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 896 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 897 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 898 | else | 
|---|
 | 899 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 900 | fi | 
|---|
 | 901 |  | 
|---|
 | 902 | case $srcdir in | 
|---|
 | 903 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 904 |     ac_srcdir=. | 
|---|
 | 905 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 906 |        ac_top_srcdir=. | 
|---|
 | 907 |     else | 
|---|
 | 908 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 909 |     fi ;; | 
|---|
 | 910 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 911 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 912 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 913 |   *) # Relative path. | 
|---|
 | 914 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 915 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 916 | esac | 
|---|
 | 917 |  | 
|---|
 | 918 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 919 | # the directories may not exist. | 
|---|
 | 920 | case `pwd` in | 
|---|
 | 921 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 922 | *) | 
|---|
 | 923 |   case "$ac_dir" in | 
|---|
 | 924 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 925 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 926 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 927 |   esac;; | 
|---|
 | 928 | esac | 
|---|
 | 929 | case $ac_abs_builddir in | 
|---|
 | 930 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 931 | *) | 
|---|
 | 932 |   case ${ac_top_builddir}. in | 
|---|
 | 933 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 934 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 935 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 936 |   esac;; | 
|---|
 | 937 | esac | 
|---|
 | 938 | case $ac_abs_builddir in | 
|---|
 | 939 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 940 | *) | 
|---|
 | 941 |   case $ac_srcdir in | 
|---|
 | 942 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 943 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 944 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 945 |   esac;; | 
|---|
 | 946 | esac | 
|---|
 | 947 | case $ac_abs_builddir in | 
|---|
 | 948 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 949 | *) | 
|---|
 | 950 |   case $ac_top_srcdir in | 
|---|
 | 951 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 952 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 953 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 954 |   esac;; | 
|---|
 | 955 | esac | 
|---|
 | 956 |  | 
|---|
 | 957 |     cd $ac_dir | 
|---|
 | 958 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
 | 959 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
 | 960 |       echo | 
|---|
 | 961 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
 | 962 |     elif test -f $ac_srcdir/configure; then | 
|---|
 | 963 |       echo | 
|---|
 | 964 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
 | 965 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
 | 966 |            test -f $ac_srcdir/configure.in; then | 
|---|
 | 967 |       echo | 
|---|
 | 968 |       $ac_configure --help | 
|---|
 | 969 |     else | 
|---|
 | 970 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
 | 971 |     fi | 
|---|
 | 972 |     cd $ac_popdir | 
|---|
 | 973 |   done | 
|---|
 | 974 | fi | 
|---|
 | 975 |  | 
|---|
 | 976 | test -n "$ac_init_help" && exit 0 | 
|---|
 | 977 | if $ac_init_version; then | 
|---|
 | 978 |   cat <<\_ACEOF | 
|---|
 | 979 | orxonox configure 0.1-pre-alpha | 
|---|
 | 980 | generated by GNU Autoconf 2.59 | 
|---|
 | 981 |  | 
|---|
 | 982 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 983 | This configure script is free software; the Free Software Foundation | 
|---|
 | 984 | gives unlimited permission to copy, distribute and modify it. | 
|---|
 | 985 | _ACEOF | 
|---|
 | 986 |   exit 0 | 
|---|
 | 987 | fi | 
|---|
 | 988 | exec 5>config.log | 
|---|
 | 989 | cat >&5 <<_ACEOF | 
|---|
 | 990 | This file contains any messages produced by compilers while | 
|---|
 | 991 | running configure, to aid debugging if configure makes a mistake. | 
|---|
 | 992 |  | 
|---|
 | 993 | It was created by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
 | 994 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 995 |  | 
|---|
 | 996 |   $ $0 $@ | 
|---|
 | 997 |  | 
|---|
 | 998 | _ACEOF | 
|---|
 | 999 | { | 
|---|
 | 1000 | cat <<_ASUNAME | 
|---|
 | 1001 | ## --------- ## | 
|---|
 | 1002 | ## Platform. ## | 
|---|
 | 1003 | ## --------- ## | 
|---|
 | 1004 |  | 
|---|
 | 1005 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
 | 1006 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
 | 1007 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
 | 1008 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
 | 1009 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
 | 1010 |  | 
|---|
 | 1011 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
 | 1012 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
 | 1013 |  | 
|---|
 | 1014 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
 | 1015 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
 | 1016 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
 | 1017 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
 | 1018 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
 | 1019 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
 | 1020 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
 | 1021 |  | 
|---|
 | 1022 | _ASUNAME | 
|---|
 | 1023 |  | 
|---|
 | 1024 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1025 | for as_dir in $PATH | 
|---|
 | 1026 | do | 
|---|
 | 1027 |   IFS=$as_save_IFS | 
|---|
 | 1028 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1029 |   echo "PATH: $as_dir" | 
|---|
 | 1030 | done | 
|---|
 | 1031 |  | 
|---|
 | 1032 | } >&5 | 
|---|
 | 1033 |  | 
|---|
 | 1034 | cat >&5 <<_ACEOF | 
|---|
 | 1035 |  | 
|---|
 | 1036 |  | 
|---|
 | 1037 | ## ----------- ## | 
|---|
 | 1038 | ## Core tests. ## | 
|---|
 | 1039 | ## ----------- ## | 
|---|
 | 1040 |  | 
|---|
 | 1041 | _ACEOF | 
|---|
 | 1042 |  | 
|---|
 | 1043 |  | 
|---|
 | 1044 | # Keep a trace of the command line. | 
|---|
 | 1045 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
 | 1046 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
 | 1047 | # Also quote any args containing shell meta-characters. | 
|---|
 | 1048 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
 | 1049 | ac_configure_args= | 
|---|
 | 1050 | ac_configure_args0= | 
|---|
 | 1051 | ac_configure_args1= | 
|---|
 | 1052 | ac_sep= | 
|---|
 | 1053 | ac_must_keep_next=false | 
|---|
 | 1054 | for ac_pass in 1 2 | 
|---|
 | 1055 | do | 
|---|
 | 1056 |   for ac_arg | 
|---|
 | 1057 |   do | 
|---|
 | 1058 |     case $ac_arg in | 
|---|
 | 1059 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
 | 1060 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 1061 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
 | 1062 |       continue ;; | 
|---|
 | 1063 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1064 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1065 |     esac | 
|---|
 | 1066 |     case $ac_pass in | 
|---|
 | 1067 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
 | 1068 |     2) | 
|---|
 | 1069 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
 | 1070 |       if test $ac_must_keep_next = true; then | 
|---|
 | 1071 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
 | 1072 |       else | 
|---|
 | 1073 |         case $ac_arg in | 
|---|
 | 1074 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
 | 1075 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
 | 1076 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
 | 1077 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
 | 1078 |             case "$ac_configure_args0 " in | 
|---|
 | 1079 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
 | 1080 |             esac | 
|---|
 | 1081 |             ;; | 
|---|
 | 1082 |           -* ) ac_must_keep_next=true ;; | 
|---|
 | 1083 |         esac | 
|---|
 | 1084 |       fi | 
|---|
 | 1085 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
 | 1086 |       # Get rid of the leading space. | 
|---|
 | 1087 |       ac_sep=" " | 
|---|
 | 1088 |       ;; | 
|---|
 | 1089 |     esac | 
|---|
 | 1090 |   done | 
|---|
 | 1091 | done | 
|---|
 | 1092 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
 | 1093 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
 | 1094 |  | 
|---|
 | 1095 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
 | 1096 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
 | 1097 | # would cause problems or look ugly. | 
|---|
 | 1098 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
 | 1099 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
 | 1100 | trap 'exit_status=$? | 
|---|
 | 1101 |   # Save into config.log some information that might help in debugging. | 
|---|
 | 1102 |   { | 
|---|
 | 1103 |     echo | 
|---|
 | 1104 |  | 
|---|
 | 1105 |     cat <<\_ASBOX | 
|---|
 | 1106 | ## ---------------- ## | 
|---|
 | 1107 | ## Cache variables. ## | 
|---|
 | 1108 | ## ---------------- ## | 
|---|
 | 1109 | _ASBOX | 
|---|
 | 1110 |     echo | 
|---|
 | 1111 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 1112 | { | 
|---|
 | 1113 |   (set) 2>&1 | | 
|---|
 | 1114 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
 | 1115 |     *ac_space=\ *) | 
|---|
 | 1116 |       sed -n \ | 
|---|
 | 1117 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
 | 1118 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
 | 1119 |       ;; | 
|---|
 | 1120 |     *) | 
|---|
 | 1121 |       sed -n \ | 
|---|
 | 1122 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 1123 |       ;; | 
|---|
 | 1124 |     esac; | 
|---|
 | 1125 | } | 
|---|
 | 1126 |     echo | 
|---|
 | 1127 |  | 
|---|
 | 1128 |     cat <<\_ASBOX | 
|---|
 | 1129 | ## ----------------- ## | 
|---|
 | 1130 | ## Output variables. ## | 
|---|
 | 1131 | ## ----------------- ## | 
|---|
 | 1132 | _ASBOX | 
|---|
 | 1133 |     echo | 
|---|
 | 1134 |     for ac_var in $ac_subst_vars | 
|---|
 | 1135 |     do | 
|---|
 | 1136 |       eval ac_val=$`echo $ac_var` | 
|---|
 | 1137 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1138 |     done | sort | 
|---|
 | 1139 |     echo | 
|---|
 | 1140 |  | 
|---|
 | 1141 |     if test -n "$ac_subst_files"; then | 
|---|
 | 1142 |       cat <<\_ASBOX | 
|---|
 | 1143 | ## ------------- ## | 
|---|
 | 1144 | ## Output files. ## | 
|---|
 | 1145 | ## ------------- ## | 
|---|
 | 1146 | _ASBOX | 
|---|
 | 1147 |       echo | 
|---|
 | 1148 |       for ac_var in $ac_subst_files | 
|---|
 | 1149 |       do | 
|---|
 | 1150 |         eval ac_val=$`echo $ac_var` | 
|---|
 | 1151 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
 | 1152 |       done | sort | 
|---|
 | 1153 |       echo | 
|---|
 | 1154 |     fi | 
|---|
 | 1155 |  | 
|---|
 | 1156 |     if test -s confdefs.h; then | 
|---|
 | 1157 |       cat <<\_ASBOX | 
|---|
 | 1158 | ## ----------- ## | 
|---|
 | 1159 | ## confdefs.h. ## | 
|---|
 | 1160 | ## ----------- ## | 
|---|
 | 1161 | _ASBOX | 
|---|
 | 1162 |       echo | 
|---|
 | 1163 |       sed "/^$/d" confdefs.h | sort | 
|---|
 | 1164 |       echo | 
|---|
 | 1165 |     fi | 
|---|
 | 1166 |     test "$ac_signal" != 0 && | 
|---|
 | 1167 |       echo "$as_me: caught signal $ac_signal" | 
|---|
 | 1168 |     echo "$as_me: exit $exit_status" | 
|---|
 | 1169 |   } >&5 | 
|---|
 | 1170 |   rm -f core *.core && | 
|---|
 | 1171 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
 | 1172 |     exit $exit_status | 
|---|
 | 1173 |      ' 0 | 
|---|
 | 1174 | for ac_signal in 1 2 13 15; do | 
|---|
 | 1175 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
 | 1176 | done | 
|---|
 | 1177 | ac_signal=0 | 
|---|
 | 1178 |  | 
|---|
 | 1179 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
 | 1180 | rm -rf conftest* confdefs.h | 
|---|
 | 1181 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
 | 1182 | echo >confdefs.h | 
|---|
 | 1183 |  | 
|---|
 | 1184 | # Predefined preprocessor variables. | 
|---|
 | 1185 |  | 
|---|
 | 1186 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1187 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
 | 1188 | _ACEOF | 
|---|
 | 1189 |  | 
|---|
 | 1190 |  | 
|---|
 | 1191 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1192 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
 | 1193 | _ACEOF | 
|---|
 | 1194 |  | 
|---|
 | 1195 |  | 
|---|
 | 1196 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1197 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
 | 1198 | _ACEOF | 
|---|
 | 1199 |  | 
|---|
 | 1200 |  | 
|---|
 | 1201 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1202 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
 | 1203 | _ACEOF | 
|---|
 | 1204 |  | 
|---|
 | 1205 |  | 
|---|
 | 1206 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1207 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
 | 1208 | _ACEOF | 
|---|
 | 1209 |  | 
|---|
 | 1210 |  | 
|---|
 | 1211 | # Let the site file select an alternate cache file if it wants to. | 
|---|
 | 1212 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
 | 1213 | if test -z "$CONFIG_SITE"; then | 
|---|
 | 1214 |   if test "x$prefix" != xNONE; then | 
|---|
 | 1215 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
 | 1216 |   else | 
|---|
 | 1217 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
 | 1218 |   fi | 
|---|
 | 1219 | fi | 
|---|
 | 1220 | for ac_site_file in $CONFIG_SITE; do | 
|---|
 | 1221 |   if test -r "$ac_site_file"; then | 
|---|
 | 1222 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
 | 1223 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
 | 1224 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
 | 1225 |     . "$ac_site_file" | 
|---|
 | 1226 |   fi | 
|---|
 | 1227 | done | 
|---|
 | 1228 |  | 
|---|
 | 1229 | if test -r "$cache_file"; then | 
|---|
 | 1230 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
 | 1231 |   # files actually), so we avoid doing that. | 
|---|
 | 1232 |   if test -f "$cache_file"; then | 
|---|
 | 1233 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
 | 1234 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
 | 1235 |     case $cache_file in | 
|---|
 | 1236 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
 | 1237 |       *)                      . ./$cache_file;; | 
|---|
 | 1238 |     esac | 
|---|
 | 1239 |   fi | 
|---|
 | 1240 | else | 
|---|
 | 1241 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
 | 1242 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
 | 1243 |   >$cache_file | 
|---|
 | 1244 | fi | 
|---|
 | 1245 |  | 
|---|
 | 1246 | # Check that the precious variables saved in the cache have kept the same | 
|---|
 | 1247 | # value. | 
|---|
 | 1248 | ac_cache_corrupted=false | 
|---|
 | 1249 | for ac_var in `(set) 2>&1 | | 
|---|
 | 1250 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
 | 1251 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
 | 1252 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
 | 1253 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
 | 1254 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
 | 1255 |   case $ac_old_set,$ac_new_set in | 
|---|
 | 1256 |     set,) | 
|---|
 | 1257 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
 | 1258 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
 | 1259 |       ac_cache_corrupted=: ;; | 
|---|
 | 1260 |     ,set) | 
|---|
 | 1261 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
 | 1262 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
 | 1263 |       ac_cache_corrupted=: ;; | 
|---|
 | 1264 |     ,);; | 
|---|
 | 1265 |     *) | 
|---|
 | 1266 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
 | 1267 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
 | 1268 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
 | 1269 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
 | 1270 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
 | 1271 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
 | 1272 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
 | 1273 |         ac_cache_corrupted=: | 
|---|
 | 1274 |       fi;; | 
|---|
 | 1275 |   esac | 
|---|
 | 1276 |   # Pass precious variables to config.status. | 
|---|
 | 1277 |   if test "$ac_new_set" = set; then | 
|---|
 | 1278 |     case $ac_new_val in | 
|---|
 | 1279 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
 | 1280 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
 | 1281 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
 | 1282 |     esac | 
|---|
 | 1283 |     case " $ac_configure_args " in | 
|---|
 | 1284 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
 | 1285 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
 | 1286 |     esac | 
|---|
 | 1287 |   fi | 
|---|
 | 1288 | done | 
|---|
 | 1289 | if $ac_cache_corrupted; then | 
|---|
 | 1290 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
 | 1291 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
 | 1292 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
 | 1293 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
 | 1294 |    { (exit 1); exit 1; }; } | 
|---|
 | 1295 | fi | 
|---|
 | 1296 |  | 
|---|
 | 1297 | ac_ext=c | 
|---|
 | 1298 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 1299 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1300 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1301 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 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 |  | 
|---|
| [2980] | 1329 |  | 
|---|
 | 1330 | # Detect the canonical host and target build environment. | 
|---|
| [1956] | 1331 | ac_aux_dir= | 
|---|
 | 1332 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
 | 1333 |   if test -f $ac_dir/install-sh; then | 
|---|
 | 1334 |     ac_aux_dir=$ac_dir | 
|---|
 | 1335 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
 | 1336 |     break | 
|---|
 | 1337 |   elif test -f $ac_dir/install.sh; then | 
|---|
 | 1338 |     ac_aux_dir=$ac_dir | 
|---|
 | 1339 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
 | 1340 |     break | 
|---|
 | 1341 |   elif test -f $ac_dir/shtool; then | 
|---|
 | 1342 |     ac_aux_dir=$ac_dir | 
|---|
 | 1343 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
 | 1344 |     break | 
|---|
 | 1345 |   fi | 
|---|
 | 1346 | done | 
|---|
 | 1347 | if test -z "$ac_aux_dir"; then | 
|---|
 | 1348 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
 | 1349 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
 | 1350 |    { (exit 1); exit 1; }; } | 
|---|
 | 1351 | fi | 
|---|
 | 1352 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
 | 1353 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
 | 1354 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
 | 1355 |  | 
|---|
| [2980] | 1356 | # Make sure we can run config.sub. | 
|---|
 | 1357 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|---|
 | 1358 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|---|
 | 1359 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|---|
 | 1360 |    { (exit 1); exit 1; }; } | 
|---|
 | 1361 |  | 
|---|
 | 1362 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|---|
 | 1363 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|---|
 | 1364 | if test "${ac_cv_build+set}" = set; then | 
|---|
 | 1365 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1366 | else | 
|---|
 | 1367 |   ac_cv_build_alias=$build_alias | 
|---|
 | 1368 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1369 |   ac_cv_build_alias=`$ac_config_guess` | 
|---|
 | 1370 | test -z "$ac_cv_build_alias" && | 
|---|
 | 1371 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|---|
 | 1372 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|---|
 | 1373 |    { (exit 1); exit 1; }; } | 
|---|
 | 1374 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|---|
 | 1375 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|---|
 | 1376 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|---|
 | 1377 |    { (exit 1); exit 1; }; } | 
|---|
 | 1378 |  | 
|---|
 | 1379 | fi | 
|---|
 | 1380 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|---|
 | 1381 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|---|
 | 1382 | build=$ac_cv_build | 
|---|
 | 1383 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1384 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1385 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1386 |  | 
|---|
 | 1387 |  | 
|---|
 | 1388 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|---|
 | 1389 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|---|
 | 1390 | if test "${ac_cv_host+set}" = set; then | 
|---|
 | 1391 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1392 | else | 
|---|
 | 1393 |   ac_cv_host_alias=$host_alias | 
|---|
 | 1394 | test -z "$ac_cv_host_alias" && | 
|---|
 | 1395 |   ac_cv_host_alias=$ac_cv_build_alias | 
|---|
 | 1396 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|---|
 | 1397 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|---|
 | 1398 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|---|
 | 1399 |    { (exit 1); exit 1; }; } | 
|---|
 | 1400 |  | 
|---|
 | 1401 | fi | 
|---|
 | 1402 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|---|
 | 1403 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|---|
 | 1404 | host=$ac_cv_host | 
|---|
 | 1405 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1406 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1407 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1408 |  | 
|---|
 | 1409 |  | 
|---|
 | 1410 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|---|
 | 1411 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|---|
 | 1412 | if test "${ac_cv_target+set}" = set; then | 
|---|
 | 1413 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1414 | else | 
|---|
 | 1415 |   ac_cv_target_alias=$target_alias | 
|---|
 | 1416 | test "x$ac_cv_target_alias" = "x" && | 
|---|
 | 1417 |   ac_cv_target_alias=$ac_cv_host_alias | 
|---|
 | 1418 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|---|
 | 1419 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|---|
 | 1420 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|---|
 | 1421 |    { (exit 1); exit 1; }; } | 
|---|
 | 1422 |  | 
|---|
 | 1423 | fi | 
|---|
 | 1424 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|---|
 | 1425 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|---|
 | 1426 | target=$ac_cv_target | 
|---|
 | 1427 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
 | 1428 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
 | 1429 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
 | 1430 |  | 
|---|
 | 1431 |  | 
|---|
 | 1432 | # The aliases save the names the user supplied, while $host etc. | 
|---|
 | 1433 | # will get canonicalized. | 
|---|
 | 1434 | test -n "$target_alias" && | 
|---|
 | 1435 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
 | 1436 |     NONENONEs,x,x, && | 
|---|
 | 1437 |   program_prefix=${target_alias}- | 
|---|
 | 1438 |  | 
|---|
 | 1439 |  | 
|---|
 | 1440 | am__api_version="1.8" | 
|---|
| [1956] | 1441 | # Find a good install program.  We prefer a C program (faster), | 
|---|
 | 1442 | # so one script is as good as another.  But avoid the broken or | 
|---|
 | 1443 | # incompatible versions: | 
|---|
 | 1444 | # SysV /etc/install, /usr/sbin/install | 
|---|
 | 1445 | # SunOS /usr/etc/install | 
|---|
 | 1446 | # IRIX /sbin/install | 
|---|
 | 1447 | # AIX /bin/install | 
|---|
 | 1448 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
 | 1449 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
 | 1450 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
 | 1451 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
 | 1452 | # OS/2's system install, which has a completely different semantic | 
|---|
 | 1453 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
 | 1454 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
 | 1455 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
 | 1456 | if test -z "$INSTALL"; then | 
|---|
 | 1457 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1458 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1459 | else | 
|---|
 | 1460 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1461 | for as_dir in $PATH | 
|---|
 | 1462 | do | 
|---|
 | 1463 |   IFS=$as_save_IFS | 
|---|
 | 1464 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1465 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
 | 1466 | case $as_dir/ in | 
|---|
 | 1467 |   ./ | .// | /cC/* | \ | 
|---|
 | 1468 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
 | 1469 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
 | 1470 |   /usr/ucb/* ) ;; | 
|---|
 | 1471 |   *) | 
|---|
 | 1472 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
 | 1473 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
 | 1474 |     # by default. | 
|---|
 | 1475 |     for ac_prog in ginstall scoinst install; do | 
|---|
 | 1476 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1477 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
 | 1478 |           if test $ac_prog = install && | 
|---|
 | 1479 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1480 |             # AIX install.  It has an incompatible calling convention. | 
|---|
 | 1481 |             : | 
|---|
 | 1482 |           elif test $ac_prog = install && | 
|---|
 | 1483 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
 | 1484 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
 | 1485 |             : | 
|---|
 | 1486 |           else | 
|---|
 | 1487 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
 | 1488 |             break 3 | 
|---|
 | 1489 |           fi | 
|---|
| [1853] | 1490 |         fi | 
|---|
| [1956] | 1491 |       done | 
|---|
 | 1492 |     done | 
|---|
 | 1493 |     ;; | 
|---|
 | 1494 | esac | 
|---|
 | 1495 | done | 
|---|
 | 1496 |  | 
|---|
 | 1497 |  | 
|---|
| [1853] | 1498 | fi | 
|---|
| [1956] | 1499 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
 | 1500 |     INSTALL=$ac_cv_path_install | 
|---|
 | 1501 |   else | 
|---|
 | 1502 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
 | 1503 |     # path for INSTALL within a source directory, because that will | 
|---|
 | 1504 |     # break other packages using the cache if that directory is | 
|---|
 | 1505 |     # removed, or if the path is relative. | 
|---|
 | 1506 |     INSTALL=$ac_install_sh | 
|---|
 | 1507 |   fi | 
|---|
 | 1508 | fi | 
|---|
 | 1509 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
 | 1510 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
 | 1511 |  | 
|---|
 | 1512 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
 | 1513 | # It thinks the first close brace ends the variable substitution. | 
|---|
 | 1514 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
 | 1515 |  | 
|---|
 | 1516 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
 | 1517 |  | 
|---|
 | 1518 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
 | 1519 |  | 
|---|
 | 1520 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
 | 1521 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
 | 1522 | # Just in case | 
|---|
 | 1523 | sleep 1 | 
|---|
 | 1524 | echo timestamp > conftest.file | 
|---|
 | 1525 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
 | 1526 | # arguments.  Must try -L first in case configure is actually a | 
|---|
 | 1527 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
 | 1528 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
 | 1529 | # directory). | 
|---|
 | 1530 | if ( | 
|---|
 | 1531 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
 | 1532 |    if test "$*" = "X"; then | 
|---|
 | 1533 |       # -L didn't work. | 
|---|
 | 1534 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
 | 1535 |    fi | 
|---|
 | 1536 |    rm -f conftest.file | 
|---|
 | 1537 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
 | 1538 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
 | 1539 |  | 
|---|
 | 1540 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
 | 1541 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
 | 1542 |       # broken ls alias from the environment.  This has actually | 
|---|
 | 1543 |       # happened.  Such a system could not be considered "sane". | 
|---|
 | 1544 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1545 | alias in your environment" >&5 | 
|---|
 | 1546 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
 | 1547 | alias in your environment" >&2;} | 
|---|
 | 1548 |    { (exit 1); exit 1; }; } | 
|---|
 | 1549 |    fi | 
|---|
 | 1550 |  | 
|---|
 | 1551 |    test "$2" = conftest.file | 
|---|
 | 1552 |    ) | 
|---|
 | 1553 | then | 
|---|
 | 1554 |    # Ok. | 
|---|
 | 1555 |    : | 
|---|
| [1853] | 1556 | else | 
|---|
| [1956] | 1557 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
 | 1558 | Check your system clock" >&5 | 
|---|
 | 1559 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
 | 1560 | Check your system clock" >&2;} | 
|---|
 | 1561 |    { (exit 1); exit 1; }; } | 
|---|
| [1853] | 1562 | fi | 
|---|
| [1956] | 1563 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1564 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1565 | test "$program_prefix" != NONE && | 
|---|
 | 1566 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
 | 1567 | # Use a double $ so make ignores it. | 
|---|
 | 1568 | test "$program_suffix" != NONE && | 
|---|
 | 1569 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
 | 1570 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
 | 1571 | # By default was `s,x,x', remove it if useless. | 
|---|
 | 1572 | cat <<\_ACEOF >conftest.sed | 
|---|
 | 1573 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
 | 1574 | _ACEOF | 
|---|
 | 1575 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
 | 1576 | rm conftest.sed | 
|---|
| [1853] | 1577 |  | 
|---|
| [1956] | 1578 | # expand $ac_aux_dir to an absolute path | 
|---|
 | 1579 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
 | 1580 |  | 
|---|
 | 1581 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
 | 1582 | # Use eval to expand $SHELL | 
|---|
 | 1583 | if eval "$MISSING --run true"; then | 
|---|
 | 1584 |   am_missing_run="$MISSING --run " | 
|---|
 | 1585 | else | 
|---|
 | 1586 |   am_missing_run= | 
|---|
 | 1587 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
 | 1588 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
 | 1589 | fi | 
|---|
 | 1590 |  | 
|---|
| [2819] | 1591 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 
|---|
| [2706] | 1592 |   # Keeping the `.' argument allows $(mkdir_p) to be used without | 
|---|
 | 1593 |   # argument.  Indeed, we sometimes output rules like | 
|---|
 | 1594 |   #   $(mkdir_p) $(somedir) | 
|---|
 | 1595 |   # where $(somedir) is conditionally defined. | 
|---|
 | 1596 |   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 
|---|
 | 1597 |   # expensive solution, as it forces Make to start a sub-shell.) | 
|---|
 | 1598 |   mkdir_p='mkdir -p -- .' | 
|---|
 | 1599 | else | 
|---|
 | 1600 |   # On NextStep and OpenStep, the `mkdir' command does not | 
|---|
 | 1601 |   # recognize any option.  It will interpret all options as | 
|---|
 | 1602 |   # directories to create, and then abort because `.' already | 
|---|
 | 1603 |   # exists. | 
|---|
| [2819] | 1604 |   for d in ./-p ./--version; | 
|---|
| [2706] | 1605 |   do | 
|---|
 | 1606 |     test -d $d && rmdir $d | 
|---|
 | 1607 |   done | 
|---|
 | 1608 |   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | 
|---|
 | 1609 |   if test -f "$ac_aux_dir/mkinstalldirs"; then | 
|---|
 | 1610 |     mkdir_p='$(mkinstalldirs)' | 
|---|
 | 1611 |   else | 
|---|
 | 1612 |     mkdir_p='$(install_sh) -d' | 
|---|
 | 1613 |   fi | 
|---|
 | 1614 | fi | 
|---|
 | 1615 |  | 
|---|
| [1956] | 1616 | for ac_prog in gawk mawk nawk awk | 
|---|
 | 1617 | do | 
|---|
 | 1618 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1619 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1620 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1621 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1622 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
 | 1623 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1624 | else | 
|---|
 | 1625 |   if test -n "$AWK"; then | 
|---|
 | 1626 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
 | 1627 | else | 
|---|
 | 1628 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1629 | for as_dir in $PATH | 
|---|
 | 1630 | do | 
|---|
 | 1631 |   IFS=$as_save_IFS | 
|---|
 | 1632 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1633 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1634 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1635 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
 | 1636 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1637 |     break 2 | 
|---|
 | 1638 |   fi | 
|---|
 | 1639 | done | 
|---|
 | 1640 | done | 
|---|
 | 1641 |  | 
|---|
 | 1642 | fi | 
|---|
 | 1643 | fi | 
|---|
 | 1644 | AWK=$ac_cv_prog_AWK | 
|---|
 | 1645 | if test -n "$AWK"; then | 
|---|
 | 1646 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
 | 1647 | echo "${ECHO_T}$AWK" >&6 | 
|---|
 | 1648 | else | 
|---|
 | 1649 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1650 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1651 | fi | 
|---|
 | 1652 |  | 
|---|
 | 1653 |   test -n "$AWK" && break | 
|---|
 | 1654 | done | 
|---|
 | 1655 |  | 
|---|
 | 1656 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
 | 1657 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
 | 1658 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
 | 1659 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
 | 1660 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1661 | else | 
|---|
 | 1662 |   cat >conftest.make <<\_ACEOF | 
|---|
 | 1663 | all: | 
|---|
 | 1664 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
 | 1665 | _ACEOF | 
|---|
 | 1666 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
 | 1667 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
 | 1668 | if test -n "$ac_maketemp"; then | 
|---|
 | 1669 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
 | 1670 | else | 
|---|
 | 1671 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
 | 1672 | fi | 
|---|
 | 1673 | rm -f conftest.make | 
|---|
 | 1674 | fi | 
|---|
 | 1675 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
 | 1676 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 1677 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 1678 |   SET_MAKE= | 
|---|
 | 1679 | else | 
|---|
 | 1680 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1681 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1682 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
 | 1683 | fi | 
|---|
 | 1684 |  | 
|---|
 | 1685 | rm -rf .tst 2>/dev/null | 
|---|
 | 1686 | mkdir .tst 2>/dev/null | 
|---|
 | 1687 | if test -d .tst; then | 
|---|
 | 1688 |   am__leading_dot=. | 
|---|
 | 1689 | else | 
|---|
 | 1690 |   am__leading_dot=_ | 
|---|
 | 1691 | fi | 
|---|
 | 1692 | rmdir .tst 2>/dev/null | 
|---|
 | 1693 |  | 
|---|
| [2706] | 1694 | # test to see if srcdir already configured | 
|---|
| [1956] | 1695 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
 | 1696 |    test -f $srcdir/config.status; then | 
|---|
 | 1697 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
 | 1698 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
 | 1699 |    { (exit 1); exit 1; }; } | 
|---|
 | 1700 | fi | 
|---|
 | 1701 |  | 
|---|
 | 1702 | # test whether we have cygpath | 
|---|
 | 1703 | if test -z "$CYGPATH_W"; then | 
|---|
 | 1704 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
 | 1705 |     CYGPATH_W='cygpath -w' | 
|---|
 | 1706 |   else | 
|---|
 | 1707 |     CYGPATH_W=echo | 
|---|
 | 1708 |   fi | 
|---|
 | 1709 | fi | 
|---|
 | 1710 |  | 
|---|
 | 1711 |  | 
|---|
 | 1712 | # Define the identity of the package. | 
|---|
 | 1713 |  PACKAGE='orxonox' | 
|---|
 | 1714 |  VERSION='0.1-pre-alpha' | 
|---|
 | 1715 |  | 
|---|
 | 1716 |  | 
|---|
 | 1717 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1718 | #define PACKAGE "$PACKAGE" | 
|---|
 | 1719 | _ACEOF | 
|---|
 | 1720 |  | 
|---|
 | 1721 |  | 
|---|
 | 1722 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 1723 | #define VERSION "$VERSION" | 
|---|
 | 1724 | _ACEOF | 
|---|
 | 1725 |  | 
|---|
 | 1726 | # Some tools Automake needs. | 
|---|
 | 1727 |  | 
|---|
 | 1728 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
 | 1729 |  | 
|---|
 | 1730 |  | 
|---|
 | 1731 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
 | 1732 |  | 
|---|
 | 1733 |  | 
|---|
 | 1734 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
 | 1735 |  | 
|---|
 | 1736 |  | 
|---|
 | 1737 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
 | 1738 |  | 
|---|
 | 1739 |  | 
|---|
 | 1740 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
 | 1741 |  | 
|---|
 | 1742 |  | 
|---|
 | 1743 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
 | 1744 |  | 
|---|
 | 1745 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
 | 1746 |  | 
|---|
 | 1747 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
 | 1748 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
 | 1749 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
 | 1750 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
 | 1751 | if test "$cross_compiling" != no; then | 
|---|
 | 1752 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 1753 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
 | 1754 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
 | 1755 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1756 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1757 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
 | 1758 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1759 | else | 
|---|
 | 1760 |   if test -n "$STRIP"; then | 
|---|
 | 1761 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
 | 1762 | else | 
|---|
 | 1763 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1764 | for as_dir in $PATH | 
|---|
 | 1765 | do | 
|---|
 | 1766 |   IFS=$as_save_IFS | 
|---|
 | 1767 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1768 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1769 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1770 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
 | 1771 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1772 |     break 2 | 
|---|
 | 1773 |   fi | 
|---|
 | 1774 | done | 
|---|
 | 1775 | done | 
|---|
 | 1776 |  | 
|---|
 | 1777 | fi | 
|---|
 | 1778 | fi | 
|---|
 | 1779 | STRIP=$ac_cv_prog_STRIP | 
|---|
 | 1780 | if test -n "$STRIP"; then | 
|---|
 | 1781 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
 | 1782 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
 | 1783 | else | 
|---|
 | 1784 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1785 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1786 | fi | 
|---|
 | 1787 |  | 
|---|
 | 1788 | fi | 
|---|
 | 1789 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
 | 1790 |   ac_ct_STRIP=$STRIP | 
|---|
 | 1791 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
 | 1792 | set dummy strip; ac_word=$2 | 
|---|
 | 1793 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1794 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1795 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
 | 1796 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1797 | else | 
|---|
 | 1798 |   if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1799 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
 | 1800 | else | 
|---|
 | 1801 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1802 | for as_dir in $PATH | 
|---|
 | 1803 | do | 
|---|
 | 1804 |   IFS=$as_save_IFS | 
|---|
 | 1805 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1806 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1807 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1808 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
 | 1809 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1810 |     break 2 | 
|---|
 | 1811 |   fi | 
|---|
 | 1812 | done | 
|---|
 | 1813 | done | 
|---|
 | 1814 |  | 
|---|
 | 1815 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
 | 1816 | fi | 
|---|
 | 1817 | fi | 
|---|
 | 1818 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
 | 1819 | if test -n "$ac_ct_STRIP"; then | 
|---|
 | 1820 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
 | 1821 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
 | 1822 | else | 
|---|
 | 1823 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1824 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1825 | fi | 
|---|
 | 1826 |  | 
|---|
 | 1827 |   STRIP=$ac_ct_STRIP | 
|---|
 | 1828 | else | 
|---|
 | 1829 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
 | 1830 | fi | 
|---|
 | 1831 |  | 
|---|
 | 1832 | fi | 
|---|
 | 1833 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
 | 1834 |  | 
|---|
 | 1835 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
 | 1836 | # some platforms. | 
|---|
 | 1837 |  | 
|---|
 | 1838 |  | 
|---|
 | 1839 |  | 
|---|
 | 1840 |  | 
|---|
| [2627] | 1841 |  | 
|---|
| [1959] | 1842 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
 | 1843 |  | 
|---|
 | 1844 |  | 
|---|
| [2018] | 1845 |  | 
|---|
| [1956] | 1846 | # Checks for programs. | 
|---|
 | 1847 | ac_ext=cc | 
|---|
 | 1848 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
 | 1849 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 1850 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 1851 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
 | 1852 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 1853 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1854 |   do | 
|---|
 | 1855 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 1856 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 1857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1859 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
 | 1860 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1861 | else | 
|---|
 | 1862 |   if test -n "$CXX"; then | 
|---|
 | 1863 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
 | 1864 | else | 
|---|
 | 1865 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1866 | for as_dir in $PATH | 
|---|
 | 1867 | do | 
|---|
 | 1868 |   IFS=$as_save_IFS | 
|---|
 | 1869 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1870 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1871 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1872 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
 | 1873 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1874 |     break 2 | 
|---|
 | 1875 |   fi | 
|---|
 | 1876 | done | 
|---|
 | 1877 | done | 
|---|
 | 1878 |  | 
|---|
 | 1879 | fi | 
|---|
 | 1880 | fi | 
|---|
 | 1881 | CXX=$ac_cv_prog_CXX | 
|---|
 | 1882 | if test -n "$CXX"; then | 
|---|
 | 1883 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
 | 1884 | echo "${ECHO_T}$CXX" >&6 | 
|---|
 | 1885 | else | 
|---|
 | 1886 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1887 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1888 | fi | 
|---|
 | 1889 |  | 
|---|
 | 1890 |     test -n "$CXX" && break | 
|---|
 | 1891 |   done | 
|---|
 | 1892 | fi | 
|---|
 | 1893 | if test -z "$CXX"; then | 
|---|
 | 1894 |   ac_ct_CXX=$CXX | 
|---|
 | 1895 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
 | 1896 | do | 
|---|
 | 1897 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 1898 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 1899 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 1900 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 1901 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
 | 1902 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 1903 | else | 
|---|
 | 1904 |   if test -n "$ac_ct_CXX"; then | 
|---|
 | 1905 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
 | 1906 | else | 
|---|
 | 1907 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 1908 | for as_dir in $PATH | 
|---|
 | 1909 | do | 
|---|
 | 1910 |   IFS=$as_save_IFS | 
|---|
 | 1911 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 1912 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 1913 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 1914 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
 | 1915 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 1916 |     break 2 | 
|---|
 | 1917 |   fi | 
|---|
 | 1918 | done | 
|---|
 | 1919 | done | 
|---|
 | 1920 |  | 
|---|
 | 1921 | fi | 
|---|
 | 1922 | fi | 
|---|
 | 1923 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
 | 1924 | if test -n "$ac_ct_CXX"; then | 
|---|
 | 1925 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
 | 1926 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
 | 1927 | else | 
|---|
 | 1928 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 1929 | echo "${ECHO_T}no" >&6 | 
|---|
 | 1930 | fi | 
|---|
 | 1931 |  | 
|---|
 | 1932 |   test -n "$ac_ct_CXX" && break | 
|---|
 | 1933 | done | 
|---|
 | 1934 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
 | 1935 |  | 
|---|
 | 1936 |   CXX=$ac_ct_CXX | 
|---|
 | 1937 | fi | 
|---|
 | 1938 |  | 
|---|
 | 1939 |  | 
|---|
 | 1940 | # Provide some information about the compiler. | 
|---|
 | 1941 | echo "$as_me:$LINENO:" \ | 
|---|
 | 1942 |      "checking for C++ compiler version" >&5 | 
|---|
 | 1943 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 1944 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 1945 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
 | 1946 |   ac_status=$? | 
|---|
 | 1947 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1948 |   (exit $ac_status); } | 
|---|
 | 1949 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
 | 1950 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
 | 1951 |   ac_status=$? | 
|---|
 | 1952 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1953 |   (exit $ac_status); } | 
|---|
 | 1954 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 1955 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 1956 |   ac_status=$? | 
|---|
 | 1957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1958 |   (exit $ac_status); } | 
|---|
 | 1959 |  | 
|---|
 | 1960 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 1961 | /* confdefs.h.  */ | 
|---|
 | 1962 | _ACEOF | 
|---|
 | 1963 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 1964 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 1965 | /* end confdefs.h.  */ | 
|---|
 | 1966 |  | 
|---|
 | 1967 | int | 
|---|
 | 1968 | main () | 
|---|
 | 1969 | { | 
|---|
 | 1970 |  | 
|---|
 | 1971 |   ; | 
|---|
 | 1972 |   return 0; | 
|---|
 | 1973 | } | 
|---|
 | 1974 | _ACEOF | 
|---|
 | 1975 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 1976 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
 | 1977 | # Try to create an executable without -o first, disregard a.out. | 
|---|
 | 1978 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
 | 1979 | # of exeext. | 
|---|
 | 1980 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
 | 1981 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
 | 1982 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
 | 1983 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
 | 1984 |   (eval $ac_link_default) 2>&5 | 
|---|
 | 1985 |   ac_status=$? | 
|---|
 | 1986 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 1987 |   (exit $ac_status); }; then | 
|---|
 | 1988 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
 | 1989 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
 | 1990 | # resort. | 
|---|
 | 1991 |  | 
|---|
 | 1992 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
 | 1993 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
 | 1994 | ac_cv_exeext= | 
|---|
 | 1995 | # b.out is created by i960 compilers. | 
|---|
 | 1996 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
 | 1997 | do | 
|---|
 | 1998 |   test -f "$ac_file" || continue | 
|---|
 | 1999 |   case $ac_file in | 
|---|
 | 2000 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
 | 2001 |         ;; | 
|---|
 | 2002 |     conftest.$ac_ext ) | 
|---|
 | 2003 |         # This is the source file. | 
|---|
 | 2004 |         ;; | 
|---|
 | 2005 |     [ab].out ) | 
|---|
 | 2006 |         # We found the default executable, but exeext='' is most | 
|---|
 | 2007 |         # certainly right. | 
|---|
 | 2008 |         break;; | 
|---|
 | 2009 |     *.* ) | 
|---|
 | 2010 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2011 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
 | 2012 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
 | 2013 |         # maintain Libtool? --akim. | 
|---|
 | 2014 |         export ac_cv_exeext | 
|---|
 | 2015 |         break;; | 
|---|
 | 2016 |     * ) | 
|---|
 | 2017 |         break;; | 
|---|
 | 2018 |   esac | 
|---|
 | 2019 | done | 
|---|
 | 2020 | else | 
|---|
 | 2021 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2022 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2023 |  | 
|---|
 | 2024 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
 | 2025 | See \`config.log' for more details." >&5 | 
|---|
 | 2026 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
 | 2027 | See \`config.log' for more details." >&2;} | 
|---|
 | 2028 |    { (exit 77); exit 77; }; } | 
|---|
 | 2029 | fi | 
|---|
 | 2030 |  | 
|---|
 | 2031 | ac_exeext=$ac_cv_exeext | 
|---|
 | 2032 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
 | 2033 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
 | 2034 |  | 
|---|
 | 2035 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2036 | # the compiler is broken, or we cross compile. | 
|---|
 | 2037 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
 | 2038 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
 | 2039 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
 | 2040 | # If not cross compiling, check that we can run a simple program. | 
|---|
 | 2041 | if test "$cross_compiling" != yes; then | 
|---|
 | 2042 |   if { ac_try='./$ac_file' | 
|---|
 | 2043 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2044 |   (eval $ac_try) 2>&5 | 
|---|
 | 2045 |   ac_status=$? | 
|---|
 | 2046 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2047 |   (exit $ac_status); }; }; then | 
|---|
 | 2048 |     cross_compiling=no | 
|---|
 | 2049 |   else | 
|---|
 | 2050 |     if test "$cross_compiling" = maybe; then | 
|---|
 | 2051 |         cross_compiling=yes | 
|---|
 | 2052 |     else | 
|---|
 | 2053 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
 | 2054 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2055 | See \`config.log' for more details." >&5 | 
|---|
 | 2056 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
 | 2057 | If you meant to cross compile, use \`--host'. | 
|---|
 | 2058 | See \`config.log' for more details." >&2;} | 
|---|
 | 2059 |    { (exit 1); exit 1; }; } | 
|---|
 | 2060 |     fi | 
|---|
 | 2061 |   fi | 
|---|
 | 2062 | fi | 
|---|
 | 2063 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
 | 2064 | echo "${ECHO_T}yes" >&6 | 
|---|
 | 2065 |  | 
|---|
 | 2066 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
 | 2067 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 2068 | # Check the compiler produces executables we can run.  If not, either | 
|---|
 | 2069 | # the compiler is broken, or we cross compile. | 
|---|
 | 2070 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
 | 2071 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
 | 2072 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
 | 2073 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
 | 2074 |  | 
|---|
 | 2075 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
 | 2076 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
 | 2077 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 2078 |   (eval $ac_link) 2>&5 | 
|---|
 | 2079 |   ac_status=$? | 
|---|
 | 2080 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2081 |   (exit $ac_status); }; then | 
|---|
 | 2082 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
 | 2083 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
 | 2084 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
 | 2085 | # `rm'. | 
|---|
 | 2086 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
 | 2087 |   test -f "$ac_file" || continue | 
|---|
 | 2088 |   case $ac_file in | 
|---|
 | 2089 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
 | 2090 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
 | 2091 |           export ac_cv_exeext | 
|---|
 | 2092 |           break;; | 
|---|
 | 2093 |     * ) break;; | 
|---|
 | 2094 |   esac | 
|---|
 | 2095 | done | 
|---|
 | 2096 | else | 
|---|
 | 2097 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2098 | See \`config.log' for more details." >&5 | 
|---|
 | 2099 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
 | 2100 | See \`config.log' for more details." >&2;} | 
|---|
 | 2101 |    { (exit 1); exit 1; }; } | 
|---|
 | 2102 | fi | 
|---|
 | 2103 |  | 
|---|
 | 2104 | rm -f conftest$ac_cv_exeext | 
|---|
 | 2105 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
 | 2106 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
 | 2107 |  | 
|---|
 | 2108 | rm -f conftest.$ac_ext | 
|---|
 | 2109 | EXEEXT=$ac_cv_exeext | 
|---|
 | 2110 | ac_exeext=$EXEEXT | 
|---|
 | 2111 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
 | 2112 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
 | 2113 | if test "${ac_cv_objext+set}" = set; then | 
|---|
 | 2114 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2115 | else | 
|---|
 | 2116 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2117 | /* confdefs.h.  */ | 
|---|
 | 2118 | _ACEOF | 
|---|
 | 2119 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2120 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2121 | /* end confdefs.h.  */ | 
|---|
 | 2122 |  | 
|---|
 | 2123 | int | 
|---|
 | 2124 | main () | 
|---|
 | 2125 | { | 
|---|
 | 2126 |  | 
|---|
 | 2127 |   ; | 
|---|
 | 2128 |   return 0; | 
|---|
 | 2129 | } | 
|---|
 | 2130 | _ACEOF | 
|---|
 | 2131 | rm -f conftest.o conftest.obj | 
|---|
 | 2132 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2133 |   (eval $ac_compile) 2>&5 | 
|---|
 | 2134 |   ac_status=$? | 
|---|
 | 2135 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2136 |   (exit $ac_status); }; then | 
|---|
 | 2137 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
 | 2138 |   case $ac_file in | 
|---|
 | 2139 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
 | 2140 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
 | 2141 |        break;; | 
|---|
 | 2142 |   esac | 
|---|
 | 2143 | done | 
|---|
 | 2144 | else | 
|---|
 | 2145 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2146 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2147 |  | 
|---|
 | 2148 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2149 | See \`config.log' for more details." >&5 | 
|---|
 | 2150 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
 | 2151 | See \`config.log' for more details." >&2;} | 
|---|
 | 2152 |    { (exit 1); exit 1; }; } | 
|---|
 | 2153 | fi | 
|---|
 | 2154 |  | 
|---|
 | 2155 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
 | 2156 | fi | 
|---|
 | 2157 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
 | 2158 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
 | 2159 | OBJEXT=$ac_cv_objext | 
|---|
 | 2160 | ac_objext=$OBJEXT | 
|---|
 | 2161 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
 | 2162 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
 | 2163 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
 | 2164 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2165 | else | 
|---|
 | 2166 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2167 | /* confdefs.h.  */ | 
|---|
 | 2168 | _ACEOF | 
|---|
 | 2169 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2170 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2171 | /* end confdefs.h.  */ | 
|---|
 | 2172 |  | 
|---|
 | 2173 | int | 
|---|
 | 2174 | main () | 
|---|
 | 2175 | { | 
|---|
 | 2176 | #ifndef __GNUC__ | 
|---|
 | 2177 |        choke me | 
|---|
 | 2178 | #endif | 
|---|
 | 2179 |  | 
|---|
 | 2180 |   ; | 
|---|
 | 2181 |   return 0; | 
|---|
 | 2182 | } | 
|---|
 | 2183 | _ACEOF | 
|---|
 | 2184 | rm -f conftest.$ac_objext | 
|---|
 | 2185 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2186 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2187 |   ac_status=$? | 
|---|
 | 2188 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2189 |   rm -f conftest.er1 | 
|---|
 | 2190 |   cat conftest.err >&5 | 
|---|
 | 2191 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2192 |   (exit $ac_status); } && | 
|---|
 | 2193 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2194 |                          || test ! -s conftest.err' | 
|---|
 | 2195 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2196 |   (eval $ac_try) 2>&5 | 
|---|
 | 2197 |   ac_status=$? | 
|---|
 | 2198 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2199 |   (exit $ac_status); }; } && | 
|---|
 | 2200 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2201 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2202 |   (eval $ac_try) 2>&5 | 
|---|
 | 2203 |   ac_status=$? | 
|---|
 | 2204 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2205 |   (exit $ac_status); }; }; then | 
|---|
 | 2206 |   ac_compiler_gnu=yes | 
|---|
 | 2207 | else | 
|---|
 | 2208 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2209 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2210 |  | 
|---|
 | 2211 | ac_compiler_gnu=no | 
|---|
 | 2212 | fi | 
|---|
 | 2213 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2214 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2215 |  | 
|---|
 | 2216 | fi | 
|---|
 | 2217 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
 | 2218 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
 | 2219 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2220 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
 | 2221 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
 | 2222 | CXXFLAGS="-g" | 
|---|
 | 2223 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
 | 2224 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
 | 2225 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
 | 2226 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2227 | else | 
|---|
 | 2228 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2229 | /* confdefs.h.  */ | 
|---|
 | 2230 | _ACEOF | 
|---|
 | 2231 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2232 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2233 | /* end confdefs.h.  */ | 
|---|
 | 2234 |  | 
|---|
 | 2235 | int | 
|---|
 | 2236 | main () | 
|---|
 | 2237 | { | 
|---|
 | 2238 |  | 
|---|
 | 2239 |   ; | 
|---|
 | 2240 |   return 0; | 
|---|
 | 2241 | } | 
|---|
 | 2242 | _ACEOF | 
|---|
 | 2243 | rm -f conftest.$ac_objext | 
|---|
 | 2244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2245 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2246 |   ac_status=$? | 
|---|
 | 2247 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2248 |   rm -f conftest.er1 | 
|---|
 | 2249 |   cat conftest.err >&5 | 
|---|
 | 2250 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2251 |   (exit $ac_status); } && | 
|---|
 | 2252 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2253 |                          || test ! -s conftest.err' | 
|---|
 | 2254 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2255 |   (eval $ac_try) 2>&5 | 
|---|
 | 2256 |   ac_status=$? | 
|---|
 | 2257 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2258 |   (exit $ac_status); }; } && | 
|---|
 | 2259 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2260 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2261 |   (eval $ac_try) 2>&5 | 
|---|
 | 2262 |   ac_status=$? | 
|---|
 | 2263 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2264 |   (exit $ac_status); }; }; then | 
|---|
 | 2265 |   ac_cv_prog_cxx_g=yes | 
|---|
 | 2266 | else | 
|---|
 | 2267 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2268 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2269 |  | 
|---|
 | 2270 | ac_cv_prog_cxx_g=no | 
|---|
 | 2271 | fi | 
|---|
 | 2272 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2273 | fi | 
|---|
 | 2274 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
 | 2275 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
 | 2276 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
 | 2277 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
 | 2278 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
 | 2279 |   if test "$GXX" = yes; then | 
|---|
 | 2280 |     CXXFLAGS="-g -O2" | 
|---|
 | 2281 |   else | 
|---|
 | 2282 |     CXXFLAGS="-g" | 
|---|
 | 2283 |   fi | 
|---|
 | 2284 | else | 
|---|
 | 2285 |   if test "$GXX" = yes; then | 
|---|
 | 2286 |     CXXFLAGS="-O2" | 
|---|
 | 2287 |   else | 
|---|
 | 2288 |     CXXFLAGS= | 
|---|
 | 2289 |   fi | 
|---|
 | 2290 | fi | 
|---|
 | 2291 | for ac_declaration in \ | 
|---|
 | 2292 |    '' \ | 
|---|
 | 2293 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 2294 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 2295 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 2296 |    'extern "C" void exit (int);' \ | 
|---|
 | 2297 |    'void exit (int);' | 
|---|
 | 2298 | do | 
|---|
 | 2299 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2300 | /* confdefs.h.  */ | 
|---|
 | 2301 | _ACEOF | 
|---|
 | 2302 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2303 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2304 | /* end confdefs.h.  */ | 
|---|
 | 2305 | $ac_declaration | 
|---|
 | 2306 | #include <stdlib.h> | 
|---|
 | 2307 | int | 
|---|
 | 2308 | main () | 
|---|
 | 2309 | { | 
|---|
 | 2310 | exit (42); | 
|---|
 | 2311 |   ; | 
|---|
 | 2312 |   return 0; | 
|---|
 | 2313 | } | 
|---|
 | 2314 | _ACEOF | 
|---|
 | 2315 | rm -f conftest.$ac_objext | 
|---|
 | 2316 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2317 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2318 |   ac_status=$? | 
|---|
 | 2319 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2320 |   rm -f conftest.er1 | 
|---|
 | 2321 |   cat conftest.err >&5 | 
|---|
 | 2322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2323 |   (exit $ac_status); } && | 
|---|
 | 2324 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2325 |                          || test ! -s conftest.err' | 
|---|
 | 2326 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2327 |   (eval $ac_try) 2>&5 | 
|---|
 | 2328 |   ac_status=$? | 
|---|
 | 2329 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2330 |   (exit $ac_status); }; } && | 
|---|
 | 2331 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2332 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2333 |   (eval $ac_try) 2>&5 | 
|---|
 | 2334 |   ac_status=$? | 
|---|
 | 2335 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2336 |   (exit $ac_status); }; }; then | 
|---|
 | 2337 |   : | 
|---|
 | 2338 | else | 
|---|
 | 2339 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2340 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2341 |  | 
|---|
 | 2342 | continue | 
|---|
 | 2343 | fi | 
|---|
 | 2344 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2345 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2346 | /* confdefs.h.  */ | 
|---|
 | 2347 | _ACEOF | 
|---|
 | 2348 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2349 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2350 | /* end confdefs.h.  */ | 
|---|
 | 2351 | $ac_declaration | 
|---|
 | 2352 | int | 
|---|
 | 2353 | main () | 
|---|
 | 2354 | { | 
|---|
 | 2355 | exit (42); | 
|---|
 | 2356 |   ; | 
|---|
 | 2357 |   return 0; | 
|---|
 | 2358 | } | 
|---|
 | 2359 | _ACEOF | 
|---|
 | 2360 | rm -f conftest.$ac_objext | 
|---|
 | 2361 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2362 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2363 |   ac_status=$? | 
|---|
 | 2364 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2365 |   rm -f conftest.er1 | 
|---|
 | 2366 |   cat conftest.err >&5 | 
|---|
 | 2367 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2368 |   (exit $ac_status); } && | 
|---|
 | 2369 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
 | 2370 |                          || test ! -s conftest.err' | 
|---|
 | 2371 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2372 |   (eval $ac_try) 2>&5 | 
|---|
 | 2373 |   ac_status=$? | 
|---|
 | 2374 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2375 |   (exit $ac_status); }; } && | 
|---|
 | 2376 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2377 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2378 |   (eval $ac_try) 2>&5 | 
|---|
 | 2379 |   ac_status=$? | 
|---|
 | 2380 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2381 |   (exit $ac_status); }; }; then | 
|---|
 | 2382 |   break | 
|---|
 | 2383 | else | 
|---|
 | 2384 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2385 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2386 |  | 
|---|
 | 2387 | fi | 
|---|
 | 2388 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2389 | done | 
|---|
 | 2390 | rm -f conftest* | 
|---|
 | 2391 | if test -n "$ac_declaration"; then | 
|---|
 | 2392 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 2393 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 2394 |   echo '#endif'             >>confdefs.h | 
|---|
 | 2395 | fi | 
|---|
 | 2396 |  | 
|---|
 | 2397 | ac_ext=c | 
|---|
 | 2398 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2399 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2400 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2401 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2402 | DEPDIR="${am__leading_dot}deps" | 
|---|
 | 2403 |  | 
|---|
 | 2404 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
 | 2405 |  | 
|---|
 | 2406 |  | 
|---|
 | 2407 | am_make=${MAKE-make} | 
|---|
 | 2408 | cat > confinc << 'END' | 
|---|
 | 2409 | am__doit: | 
|---|
 | 2410 |         @echo done | 
|---|
 | 2411 | .PHONY: am__doit | 
|---|
 | 2412 | END | 
|---|
 | 2413 | # If we don't find an include directive, just comment out the code. | 
|---|
 | 2414 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
 | 2415 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
 | 2416 | am__include="#" | 
|---|
 | 2417 | am__quote= | 
|---|
 | 2418 | _am_result=none | 
|---|
 | 2419 | # First try GNU make style include. | 
|---|
 | 2420 | echo "include confinc" > confmf | 
|---|
 | 2421 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
 | 2422 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
 | 2423 | # In particular we don't look at `^make:' because GNU make might | 
|---|
 | 2424 | # be invoked under some other name (usually "gmake"), in which | 
|---|
 | 2425 | # case it prints its new name instead of `make'. | 
|---|
 | 2426 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
 | 2427 |    am__include=include | 
|---|
 | 2428 |    am__quote= | 
|---|
 | 2429 |    _am_result=GNU | 
|---|
 | 2430 | fi | 
|---|
 | 2431 | # Now try BSD make style include. | 
|---|
 | 2432 | if test "$am__include" = "#"; then | 
|---|
 | 2433 |    echo '.include "confinc"' > confmf | 
|---|
 | 2434 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
 | 2435 |       am__include=.include | 
|---|
 | 2436 |       am__quote="\"" | 
|---|
 | 2437 |       _am_result=BSD | 
|---|
 | 2438 |    fi | 
|---|
 | 2439 | fi | 
|---|
 | 2440 |  | 
|---|
 | 2441 |  | 
|---|
 | 2442 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
 | 2443 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
 | 2444 | rm -f confinc confmf | 
|---|
 | 2445 |  | 
|---|
 | 2446 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
 | 2447 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
 | 2448 |   enableval="$enable_dependency_tracking" | 
|---|
 | 2449 |  | 
|---|
 | 2450 | fi; | 
|---|
 | 2451 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2452 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
 | 2453 |   AMDEPBACKSLASH='\' | 
|---|
 | 2454 | fi | 
|---|
 | 2455 |  | 
|---|
 | 2456 |  | 
|---|
 | 2457 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
 | 2458 |   AMDEP_TRUE= | 
|---|
 | 2459 |   AMDEP_FALSE='#' | 
|---|
 | 2460 | else | 
|---|
 | 2461 |   AMDEP_TRUE='#' | 
|---|
 | 2462 |   AMDEP_FALSE= | 
|---|
 | 2463 | fi | 
|---|
 | 2464 |  | 
|---|
 | 2465 |  | 
|---|
 | 2466 |  | 
|---|
 | 2467 |  | 
|---|
 | 2468 | depcc="$CXX"  am_compiler_list= | 
|---|
 | 2469 |  | 
|---|
 | 2470 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 2471 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 2472 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
 | 2473 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2474 | else | 
|---|
 | 2475 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 2476 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 2477 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 2478 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 2479 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 2480 |   # in D'. | 
|---|
 | 2481 |   mkdir conftest.dir | 
|---|
 | 2482 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 2483 |   # using a relative directory. | 
|---|
 | 2484 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 2485 |   cd conftest.dir | 
|---|
 | 2486 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 2487 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 2488 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 2489 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 2490 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 2491 |   # directory. | 
|---|
 | 2492 |   mkdir sub | 
|---|
 | 2493 |  | 
|---|
 | 2494 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2495 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 2496 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 2497 |   fi | 
|---|
 | 2498 |   for depmode in $am_compiler_list; do | 
|---|
 | 2499 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 2500 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 2501 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 2502 |     # | 
|---|
 | 2503 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 2504 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 2505 |     # This happens at least with the AIX C compiler. | 
|---|
 | 2506 |     : > sub/conftest.c | 
|---|
 | 2507 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 2508 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 2509 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 2510 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 2511 |       touch sub/conftst$i.h | 
|---|
| [1956] | 2512 |     done | 
|---|
 | 2513 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 2514 |  | 
|---|
 | 2515 |     case $depmode in | 
|---|
 | 2516 |     nosideeffect) | 
|---|
 | 2517 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 2518 |       # only be used when explicitly requested | 
|---|
 | 2519 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 2520 |         continue | 
|---|
 | 2521 |       else | 
|---|
 | 2522 |         break | 
|---|
 | 2523 |       fi | 
|---|
 | 2524 |       ;; | 
|---|
 | 2525 |     none) break ;; | 
|---|
 | 2526 |     esac | 
|---|
 | 2527 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 2528 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 2529 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 2530 |     if depmode=$depmode \ | 
|---|
 | 2531 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 2532 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 2533 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 2534 |          >/dev/null 2>conftest.err && | 
|---|
 | 2535 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2536 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 2537 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 2538 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 2539 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 2540 |       # that says an option was ignored or not supported. | 
|---|
 | 2541 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 2542 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 2543 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 2544 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 2545 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 2546 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 2547 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
 | 2548 |         break | 
|---|
 | 2549 |       fi | 
|---|
 | 2550 |     fi | 
|---|
 | 2551 |   done | 
|---|
 | 2552 |  | 
|---|
 | 2553 |   cd .. | 
|---|
 | 2554 |   rm -rf conftest.dir | 
|---|
 | 2555 | else | 
|---|
 | 2556 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
 | 2557 | fi | 
|---|
 | 2558 |  | 
|---|
 | 2559 | fi | 
|---|
 | 2560 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
 | 2561 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
 | 2562 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
 | 2563 |  | 
|---|
 | 2564 |  | 
|---|
 | 2565 |  | 
|---|
 | 2566 | if | 
|---|
 | 2567 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 2568 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
 | 2569 |   am__fastdepCXX_TRUE= | 
|---|
 | 2570 |   am__fastdepCXX_FALSE='#' | 
|---|
 | 2571 | else | 
|---|
 | 2572 |   am__fastdepCXX_TRUE='#' | 
|---|
 | 2573 |   am__fastdepCXX_FALSE= | 
|---|
 | 2574 | fi | 
|---|
 | 2575 |  | 
|---|
 | 2576 |  | 
|---|
 | 2577 | ac_ext=c | 
|---|
 | 2578 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 2579 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 2580 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 2581 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 2582 | if test -n "$ac_tool_prefix"; then | 
|---|
 | 2583 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
 | 2584 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
 | 2585 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2586 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2587 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2588 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2589 | else | 
|---|
 | 2590 |   if test -n "$CC"; then | 
|---|
 | 2591 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2592 | else | 
|---|
 | 2593 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2594 | for as_dir in $PATH | 
|---|
 | 2595 | do | 
|---|
 | 2596 |   IFS=$as_save_IFS | 
|---|
 | 2597 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2598 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2599 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2600 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
 | 2601 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2602 |     break 2 | 
|---|
 | 2603 |   fi | 
|---|
 | 2604 | done | 
|---|
 | 2605 | done | 
|---|
 | 2606 |  | 
|---|
 | 2607 | fi | 
|---|
 | 2608 | fi | 
|---|
 | 2609 | CC=$ac_cv_prog_CC | 
|---|
 | 2610 | if test -n "$CC"; then | 
|---|
 | 2611 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2612 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2613 | else | 
|---|
 | 2614 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2615 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2616 | fi | 
|---|
 | 2617 |  | 
|---|
 | 2618 | fi | 
|---|
 | 2619 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2620 |   ac_ct_CC=$CC | 
|---|
 | 2621 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
 | 2622 | set dummy gcc; ac_word=$2 | 
|---|
 | 2623 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2624 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2625 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2626 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2627 | else | 
|---|
 | 2628 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2629 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2630 | else | 
|---|
 | 2631 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2632 | for as_dir in $PATH | 
|---|
 | 2633 | do | 
|---|
 | 2634 |   IFS=$as_save_IFS | 
|---|
 | 2635 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2636 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2637 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2638 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
 | 2639 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2640 |     break 2 | 
|---|
 | 2641 |   fi | 
|---|
 | 2642 | done | 
|---|
 | 2643 | done | 
|---|
 | 2644 |  | 
|---|
 | 2645 | fi | 
|---|
 | 2646 | fi | 
|---|
 | 2647 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2648 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2649 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2650 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2651 | else | 
|---|
 | 2652 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2653 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2654 | fi | 
|---|
 | 2655 |  | 
|---|
 | 2656 |   CC=$ac_ct_CC | 
|---|
 | 2657 | else | 
|---|
 | 2658 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2659 | fi | 
|---|
 | 2660 |  | 
|---|
 | 2661 | if test -z "$CC"; then | 
|---|
 | 2662 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2663 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
 | 2664 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
 | 2665 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2666 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2667 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2668 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2669 | else | 
|---|
 | 2670 |   if test -n "$CC"; then | 
|---|
 | 2671 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2672 | else | 
|---|
 | 2673 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2674 | for as_dir in $PATH | 
|---|
 | 2675 | do | 
|---|
 | 2676 |   IFS=$as_save_IFS | 
|---|
 | 2677 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2678 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2679 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2680 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
 | 2681 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2682 |     break 2 | 
|---|
 | 2683 |   fi | 
|---|
 | 2684 | done | 
|---|
 | 2685 | done | 
|---|
 | 2686 |  | 
|---|
 | 2687 | fi | 
|---|
 | 2688 | fi | 
|---|
 | 2689 | CC=$ac_cv_prog_CC | 
|---|
 | 2690 | if test -n "$CC"; then | 
|---|
 | 2691 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2692 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2693 | else | 
|---|
 | 2694 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2695 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2696 | fi | 
|---|
 | 2697 |  | 
|---|
 | 2698 | fi | 
|---|
 | 2699 | if test -z "$ac_cv_prog_CC"; then | 
|---|
 | 2700 |   ac_ct_CC=$CC | 
|---|
 | 2701 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2702 | set dummy cc; ac_word=$2 | 
|---|
 | 2703 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2704 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2705 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2706 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2707 | else | 
|---|
 | 2708 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2709 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2710 | else | 
|---|
 | 2711 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2712 | for as_dir in $PATH | 
|---|
 | 2713 | do | 
|---|
 | 2714 |   IFS=$as_save_IFS | 
|---|
 | 2715 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2716 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2717 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2718 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
 | 2719 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2720 |     break 2 | 
|---|
 | 2721 |   fi | 
|---|
 | 2722 | done | 
|---|
 | 2723 | done | 
|---|
 | 2724 |  | 
|---|
 | 2725 | fi | 
|---|
 | 2726 | fi | 
|---|
 | 2727 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2728 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2729 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2730 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2731 | else | 
|---|
 | 2732 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2733 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2734 | fi | 
|---|
 | 2735 |  | 
|---|
 | 2736 |   CC=$ac_ct_CC | 
|---|
 | 2737 | else | 
|---|
 | 2738 |   CC="$ac_cv_prog_CC" | 
|---|
 | 2739 | fi | 
|---|
 | 2740 |  | 
|---|
 | 2741 | fi | 
|---|
 | 2742 | if test -z "$CC"; then | 
|---|
 | 2743 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
 | 2744 | set dummy cc; ac_word=$2 | 
|---|
 | 2745 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2746 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2747 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2748 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2749 | else | 
|---|
 | 2750 |   if test -n "$CC"; then | 
|---|
 | 2751 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2752 | else | 
|---|
 | 2753 |   ac_prog_rejected=no | 
|---|
 | 2754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2755 | for as_dir in $PATH | 
|---|
 | 2756 | do | 
|---|
 | 2757 |   IFS=$as_save_IFS | 
|---|
 | 2758 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2759 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2760 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2761 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
 | 2762 |        ac_prog_rejected=yes | 
|---|
 | 2763 |        continue | 
|---|
 | 2764 |      fi | 
|---|
 | 2765 |     ac_cv_prog_CC="cc" | 
|---|
 | 2766 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2767 |     break 2 | 
|---|
 | 2768 |   fi | 
|---|
 | 2769 | done | 
|---|
 | 2770 | done | 
|---|
 | 2771 |  | 
|---|
 | 2772 | if test $ac_prog_rejected = yes; then | 
|---|
 | 2773 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
 | 2774 |   set dummy $ac_cv_prog_CC | 
|---|
 | 2775 |   shift | 
|---|
 | 2776 |   if test $# != 0; then | 
|---|
 | 2777 |     # We chose a different compiler from the bogus one. | 
|---|
 | 2778 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
 | 2779 |     # first if we set CC to just the basename; use the full file name. | 
|---|
 | 2780 |     shift | 
|---|
 | 2781 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
 | 2782 |   fi | 
|---|
 | 2783 | fi | 
|---|
 | 2784 | fi | 
|---|
 | 2785 | fi | 
|---|
 | 2786 | CC=$ac_cv_prog_CC | 
|---|
 | 2787 | if test -n "$CC"; then | 
|---|
 | 2788 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2789 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2790 | else | 
|---|
 | 2791 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2792 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2793 | fi | 
|---|
 | 2794 |  | 
|---|
 | 2795 | fi | 
|---|
 | 2796 | if test -z "$CC"; then | 
|---|
 | 2797 |   if test -n "$ac_tool_prefix"; then | 
|---|
 | 2798 |   for ac_prog in cl | 
|---|
 | 2799 |   do | 
|---|
 | 2800 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
 | 2801 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
 | 2802 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2803 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2804 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
 | 2805 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2806 | else | 
|---|
 | 2807 |   if test -n "$CC"; then | 
|---|
 | 2808 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
 | 2809 | else | 
|---|
 | 2810 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2811 | for as_dir in $PATH | 
|---|
 | 2812 | do | 
|---|
 | 2813 |   IFS=$as_save_IFS | 
|---|
 | 2814 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2815 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2816 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2817 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
 | 2818 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2819 |     break 2 | 
|---|
 | 2820 |   fi | 
|---|
 | 2821 | done | 
|---|
 | 2822 | done | 
|---|
 | 2823 |  | 
|---|
 | 2824 | fi | 
|---|
 | 2825 | fi | 
|---|
 | 2826 | CC=$ac_cv_prog_CC | 
|---|
 | 2827 | if test -n "$CC"; then | 
|---|
 | 2828 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
 | 2829 | echo "${ECHO_T}$CC" >&6 | 
|---|
 | 2830 | else | 
|---|
 | 2831 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2832 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2833 | fi | 
|---|
 | 2834 |  | 
|---|
 | 2835 |     test -n "$CC" && break | 
|---|
 | 2836 |   done | 
|---|
 | 2837 | fi | 
|---|
 | 2838 | if test -z "$CC"; then | 
|---|
 | 2839 |   ac_ct_CC=$CC | 
|---|
 | 2840 |   for ac_prog in cl | 
|---|
 | 2841 | do | 
|---|
 | 2842 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
 | 2843 | set dummy $ac_prog; ac_word=$2 | 
|---|
 | 2844 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
 | 2845 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
 | 2846 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
 | 2847 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2848 | else | 
|---|
 | 2849 |   if test -n "$ac_ct_CC"; then | 
|---|
 | 2850 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
 | 2851 | else | 
|---|
 | 2852 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 2853 | for as_dir in $PATH | 
|---|
 | 2854 | do | 
|---|
 | 2855 |   IFS=$as_save_IFS | 
|---|
 | 2856 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 2857 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
 | 2858 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
 | 2859 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
 | 2860 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
 | 2861 |     break 2 | 
|---|
 | 2862 |   fi | 
|---|
 | 2863 | done | 
|---|
 | 2864 | done | 
|---|
 | 2865 |  | 
|---|
 | 2866 | fi | 
|---|
 | 2867 | fi | 
|---|
 | 2868 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
 | 2869 | if test -n "$ac_ct_CC"; then | 
|---|
 | 2870 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
 | 2871 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
 | 2872 | else | 
|---|
 | 2873 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
 | 2874 | echo "${ECHO_T}no" >&6 | 
|---|
 | 2875 | fi | 
|---|
 | 2876 |  | 
|---|
 | 2877 |   test -n "$ac_ct_CC" && break | 
|---|
 | 2878 | done | 
|---|
 | 2879 |  | 
|---|
 | 2880 |   CC=$ac_ct_CC | 
|---|
 | 2881 | fi | 
|---|
 | 2882 |  | 
|---|
 | 2883 | fi | 
|---|
 | 2884 |  | 
|---|
 | 2885 |  | 
|---|
 | 2886 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2887 | See \`config.log' for more details." >&5 | 
|---|
 | 2888 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
 | 2889 | See \`config.log' for more details." >&2;} | 
|---|
 | 2890 |    { (exit 1); exit 1; }; } | 
|---|
 | 2891 |  | 
|---|
 | 2892 | # Provide some information about the compiler. | 
|---|
 | 2893 | echo "$as_me:$LINENO:" \ | 
|---|
 | 2894 |      "checking for C compiler version" >&5 | 
|---|
 | 2895 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
 | 2896 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
 | 2897 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
 | 2898 |   ac_status=$? | 
|---|
 | 2899 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2900 |   (exit $ac_status); } | 
|---|
 | 2901 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
 | 2902 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
 | 2903 |   ac_status=$? | 
|---|
 | 2904 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2905 |   (exit $ac_status); } | 
|---|
 | 2906 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
 | 2907 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
 | 2908 |   ac_status=$? | 
|---|
 | 2909 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2910 |   (exit $ac_status); } | 
|---|
 | 2911 |  | 
|---|
 | 2912 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
 | 2913 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
 | 2914 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
 | 2915 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2916 | else | 
|---|
 | 2917 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2918 | /* confdefs.h.  */ | 
|---|
 | 2919 | _ACEOF | 
|---|
 | 2920 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2921 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2922 | /* end confdefs.h.  */ | 
|---|
 | 2923 |  | 
|---|
 | 2924 | int | 
|---|
 | 2925 | main () | 
|---|
 | 2926 | { | 
|---|
 | 2927 | #ifndef __GNUC__ | 
|---|
 | 2928 |        choke me | 
|---|
 | 2929 | #endif | 
|---|
 | 2930 |  | 
|---|
 | 2931 |   ; | 
|---|
 | 2932 |   return 0; | 
|---|
 | 2933 | } | 
|---|
 | 2934 | _ACEOF | 
|---|
 | 2935 | rm -f conftest.$ac_objext | 
|---|
 | 2936 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2937 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2938 |   ac_status=$? | 
|---|
 | 2939 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2940 |   rm -f conftest.er1 | 
|---|
 | 2941 |   cat conftest.err >&5 | 
|---|
 | 2942 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2943 |   (exit $ac_status); } && | 
|---|
 | 2944 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 2945 |                          || test ! -s conftest.err' | 
|---|
 | 2946 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2947 |   (eval $ac_try) 2>&5 | 
|---|
 | 2948 |   ac_status=$? | 
|---|
 | 2949 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2950 |   (exit $ac_status); }; } && | 
|---|
 | 2951 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 2952 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 2953 |   (eval $ac_try) 2>&5 | 
|---|
 | 2954 |   ac_status=$? | 
|---|
 | 2955 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 2956 |   (exit $ac_status); }; }; then | 
|---|
 | 2957 |   ac_compiler_gnu=yes | 
|---|
 | 2958 | else | 
|---|
 | 2959 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 2960 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 2961 |  | 
|---|
 | 2962 | ac_compiler_gnu=no | 
|---|
 | 2963 | fi | 
|---|
 | 2964 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 2965 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
 | 2966 |  | 
|---|
 | 2967 | fi | 
|---|
 | 2968 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
 | 2969 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
 | 2970 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
 | 2971 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
 | 2972 | ac_save_CFLAGS=$CFLAGS | 
|---|
 | 2973 | CFLAGS="-g" | 
|---|
 | 2974 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
 | 2975 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
 | 2976 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
 | 2977 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 2978 | else | 
|---|
 | 2979 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 2980 | /* confdefs.h.  */ | 
|---|
 | 2981 | _ACEOF | 
|---|
 | 2982 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 2983 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 2984 | /* end confdefs.h.  */ | 
|---|
 | 2985 |  | 
|---|
 | 2986 | int | 
|---|
 | 2987 | main () | 
|---|
 | 2988 | { | 
|---|
 | 2989 |  | 
|---|
 | 2990 |   ; | 
|---|
 | 2991 |   return 0; | 
|---|
 | 2992 | } | 
|---|
 | 2993 | _ACEOF | 
|---|
 | 2994 | rm -f conftest.$ac_objext | 
|---|
 | 2995 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 2996 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 2997 |   ac_status=$? | 
|---|
 | 2998 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 2999 |   rm -f conftest.er1 | 
|---|
 | 3000 |   cat conftest.err >&5 | 
|---|
 | 3001 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3002 |   (exit $ac_status); } && | 
|---|
 | 3003 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3004 |                          || test ! -s conftest.err' | 
|---|
 | 3005 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3006 |   (eval $ac_try) 2>&5 | 
|---|
 | 3007 |   ac_status=$? | 
|---|
 | 3008 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3009 |   (exit $ac_status); }; } && | 
|---|
 | 3010 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3011 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3012 |   (eval $ac_try) 2>&5 | 
|---|
 | 3013 |   ac_status=$? | 
|---|
 | 3014 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3015 |   (exit $ac_status); }; }; then | 
|---|
 | 3016 |   ac_cv_prog_cc_g=yes | 
|---|
 | 3017 | else | 
|---|
 | 3018 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3019 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3020 |  | 
|---|
 | 3021 | ac_cv_prog_cc_g=no | 
|---|
 | 3022 | fi | 
|---|
 | 3023 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3024 | fi | 
|---|
 | 3025 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
 | 3026 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
 | 3027 | if test "$ac_test_CFLAGS" = set; then | 
|---|
 | 3028 |   CFLAGS=$ac_save_CFLAGS | 
|---|
 | 3029 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
 | 3030 |   if test "$GCC" = yes; then | 
|---|
 | 3031 |     CFLAGS="-g -O2" | 
|---|
 | 3032 |   else | 
|---|
 | 3033 |     CFLAGS="-g" | 
|---|
 | 3034 |   fi | 
|---|
 | 3035 | else | 
|---|
 | 3036 |   if test "$GCC" = yes; then | 
|---|
 | 3037 |     CFLAGS="-O2" | 
|---|
 | 3038 |   else | 
|---|
 | 3039 |     CFLAGS= | 
|---|
 | 3040 |   fi | 
|---|
 | 3041 | fi | 
|---|
 | 3042 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
 | 3043 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
 | 3044 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
 | 3045 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3046 | else | 
|---|
 | 3047 |   ac_cv_prog_cc_stdc=no | 
|---|
 | 3048 | ac_save_CC=$CC | 
|---|
 | 3049 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3050 | /* confdefs.h.  */ | 
|---|
 | 3051 | _ACEOF | 
|---|
 | 3052 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3053 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3054 | /* end confdefs.h.  */ | 
|---|
 | 3055 | #include <stdarg.h> | 
|---|
 | 3056 | #include <stdio.h> | 
|---|
 | 3057 | #include <sys/types.h> | 
|---|
 | 3058 | #include <sys/stat.h> | 
|---|
 | 3059 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
 | 3060 | struct buf { int x; }; | 
|---|
 | 3061 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
 | 3062 | static char *e (p, i) | 
|---|
 | 3063 |      char **p; | 
|---|
 | 3064 |      int i; | 
|---|
 | 3065 | { | 
|---|
 | 3066 |   return p[i]; | 
|---|
 | 3067 | } | 
|---|
 | 3068 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
 | 3069 | { | 
|---|
 | 3070 |   char *s; | 
|---|
 | 3071 |   va_list v; | 
|---|
 | 3072 |   va_start (v,p); | 
|---|
 | 3073 |   s = g (p, va_arg (v,int)); | 
|---|
 | 3074 |   va_end (v); | 
|---|
 | 3075 |   return s; | 
|---|
 | 3076 | } | 
|---|
 | 3077 |  | 
|---|
 | 3078 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
 | 3079 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
 | 3080 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
 | 3081 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
 | 3082 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
 | 3083 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
 | 3084 |    that's true only with -std1.  */ | 
|---|
 | 3085 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
 | 3086 |  | 
|---|
 | 3087 | int test (int i, double x); | 
|---|
 | 3088 | struct s1 {int (*f) (int a);}; | 
|---|
 | 3089 | struct s2 {int (*f) (double a);}; | 
|---|
 | 3090 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
 | 3091 | int argc; | 
|---|
 | 3092 | char **argv; | 
|---|
 | 3093 | int | 
|---|
 | 3094 | main () | 
|---|
 | 3095 | { | 
|---|
 | 3096 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
 | 3097 |   ; | 
|---|
 | 3098 |   return 0; | 
|---|
 | 3099 | } | 
|---|
 | 3100 | _ACEOF | 
|---|
 | 3101 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
 | 3102 | # breaks some systems' header files. | 
|---|
 | 3103 | # AIX                   -qlanglvl=ansi | 
|---|
 | 3104 | # Ultrix and OSF/1      -std1 | 
|---|
 | 3105 | # HP-UX 10.20 and later -Ae | 
|---|
 | 3106 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
 | 3107 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
 | 3108 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
 | 3109 | do | 
|---|
 | 3110 |   CC="$ac_save_CC $ac_arg" | 
|---|
 | 3111 |   rm -f conftest.$ac_objext | 
|---|
 | 3112 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3113 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3114 |   ac_status=$? | 
|---|
 | 3115 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3116 |   rm -f conftest.er1 | 
|---|
 | 3117 |   cat conftest.err >&5 | 
|---|
 | 3118 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3119 |   (exit $ac_status); } && | 
|---|
 | 3120 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3121 |                          || test ! -s conftest.err' | 
|---|
 | 3122 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3123 |   (eval $ac_try) 2>&5 | 
|---|
 | 3124 |   ac_status=$? | 
|---|
 | 3125 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3126 |   (exit $ac_status); }; } && | 
|---|
 | 3127 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3128 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3129 |   (eval $ac_try) 2>&5 | 
|---|
 | 3130 |   ac_status=$? | 
|---|
 | 3131 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3132 |   (exit $ac_status); }; }; then | 
|---|
 | 3133 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
 | 3134 | break | 
|---|
 | 3135 | else | 
|---|
 | 3136 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3137 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3138 |  | 
|---|
 | 3139 | fi | 
|---|
 | 3140 | rm -f conftest.err conftest.$ac_objext | 
|---|
 | 3141 | done | 
|---|
 | 3142 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
 | 3143 | CC=$ac_save_CC | 
|---|
 | 3144 |  | 
|---|
 | 3145 | fi | 
|---|
 | 3146 |  | 
|---|
 | 3147 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
 | 3148 |   x|xno) | 
|---|
 | 3149 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
 | 3150 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
 | 3151 |   *) | 
|---|
 | 3152 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
 | 3153 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
 | 3154 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
 | 3155 | esac | 
|---|
 | 3156 |  | 
|---|
 | 3157 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
 | 3158 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
 | 3159 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
 | 3160 | # the declaration of exit, since it's the most demanding environment. | 
|---|
 | 3161 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3162 | #ifndef __cplusplus | 
|---|
 | 3163 |   choke me | 
|---|
 | 3164 | #endif | 
|---|
 | 3165 | _ACEOF | 
|---|
 | 3166 | rm -f conftest.$ac_objext | 
|---|
 | 3167 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3168 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3169 |   ac_status=$? | 
|---|
 | 3170 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3171 |   rm -f conftest.er1 | 
|---|
 | 3172 |   cat conftest.err >&5 | 
|---|
 | 3173 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3174 |   (exit $ac_status); } && | 
|---|
 | 3175 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3176 |                          || test ! -s conftest.err' | 
|---|
 | 3177 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3178 |   (eval $ac_try) 2>&5 | 
|---|
 | 3179 |   ac_status=$? | 
|---|
 | 3180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3181 |   (exit $ac_status); }; } && | 
|---|
 | 3182 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3183 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3184 |   (eval $ac_try) 2>&5 | 
|---|
 | 3185 |   ac_status=$? | 
|---|
 | 3186 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3187 |   (exit $ac_status); }; }; then | 
|---|
 | 3188 |   for ac_declaration in \ | 
|---|
 | 3189 |    '' \ | 
|---|
 | 3190 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
 | 3191 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
 | 3192 |    'extern "C" void exit (int) throw ();' \ | 
|---|
 | 3193 |    'extern "C" void exit (int);' \ | 
|---|
 | 3194 |    'void exit (int);' | 
|---|
 | 3195 | do | 
|---|
 | 3196 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3197 | /* confdefs.h.  */ | 
|---|
 | 3198 | _ACEOF | 
|---|
 | 3199 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3200 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3201 | /* end confdefs.h.  */ | 
|---|
 | 3202 | $ac_declaration | 
|---|
 | 3203 | #include <stdlib.h> | 
|---|
 | 3204 | int | 
|---|
 | 3205 | main () | 
|---|
 | 3206 | { | 
|---|
 | 3207 | exit (42); | 
|---|
 | 3208 |   ; | 
|---|
 | 3209 |   return 0; | 
|---|
 | 3210 | } | 
|---|
 | 3211 | _ACEOF | 
|---|
 | 3212 | rm -f conftest.$ac_objext | 
|---|
 | 3213 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3214 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3215 |   ac_status=$? | 
|---|
 | 3216 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3217 |   rm -f conftest.er1 | 
|---|
 | 3218 |   cat conftest.err >&5 | 
|---|
 | 3219 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3220 |   (exit $ac_status); } && | 
|---|
 | 3221 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3222 |                          || test ! -s conftest.err' | 
|---|
 | 3223 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3224 |   (eval $ac_try) 2>&5 | 
|---|
 | 3225 |   ac_status=$? | 
|---|
 | 3226 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3227 |   (exit $ac_status); }; } && | 
|---|
 | 3228 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3229 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3230 |   (eval $ac_try) 2>&5 | 
|---|
 | 3231 |   ac_status=$? | 
|---|
 | 3232 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3233 |   (exit $ac_status); }; }; then | 
|---|
 | 3234 |   : | 
|---|
 | 3235 | else | 
|---|
 | 3236 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3237 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3238 |  | 
|---|
 | 3239 | continue | 
|---|
 | 3240 | fi | 
|---|
 | 3241 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3242 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3243 | /* confdefs.h.  */ | 
|---|
 | 3244 | _ACEOF | 
|---|
 | 3245 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3246 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3247 | /* end confdefs.h.  */ | 
|---|
 | 3248 | $ac_declaration | 
|---|
 | 3249 | int | 
|---|
 | 3250 | main () | 
|---|
 | 3251 | { | 
|---|
 | 3252 | exit (42); | 
|---|
 | 3253 |   ; | 
|---|
 | 3254 |   return 0; | 
|---|
 | 3255 | } | 
|---|
 | 3256 | _ACEOF | 
|---|
 | 3257 | rm -f conftest.$ac_objext | 
|---|
 | 3258 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3259 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3260 |   ac_status=$? | 
|---|
 | 3261 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3262 |   rm -f conftest.er1 | 
|---|
 | 3263 |   cat conftest.err >&5 | 
|---|
 | 3264 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3265 |   (exit $ac_status); } && | 
|---|
 | 3266 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3267 |                          || test ! -s conftest.err' | 
|---|
 | 3268 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3269 |   (eval $ac_try) 2>&5 | 
|---|
 | 3270 |   ac_status=$? | 
|---|
 | 3271 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3272 |   (exit $ac_status); }; } && | 
|---|
 | 3273 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3274 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3275 |   (eval $ac_try) 2>&5 | 
|---|
 | 3276 |   ac_status=$? | 
|---|
 | 3277 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3278 |   (exit $ac_status); }; }; then | 
|---|
 | 3279 |   break | 
|---|
 | 3280 | else | 
|---|
 | 3281 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3282 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3283 |  | 
|---|
 | 3284 | fi | 
|---|
 | 3285 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3286 | done | 
|---|
 | 3287 | rm -f conftest* | 
|---|
 | 3288 | if test -n "$ac_declaration"; then | 
|---|
 | 3289 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
 | 3290 |   echo $ac_declaration      >>confdefs.h | 
|---|
 | 3291 |   echo '#endif'             >>confdefs.h | 
|---|
 | 3292 | fi | 
|---|
 | 3293 |  | 
|---|
 | 3294 | else | 
|---|
 | 3295 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3296 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3297 |  | 
|---|
 | 3298 | fi | 
|---|
 | 3299 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3300 | ac_ext=c | 
|---|
 | 3301 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3302 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3303 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3304 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3305 |  | 
|---|
 | 3306 | depcc="$CC"   am_compiler_list= | 
|---|
 | 3307 |  | 
|---|
 | 3308 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
 | 3309 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
 | 3310 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
 | 3311 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3312 | else | 
|---|
 | 3313 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
 | 3314 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
 | 3315 |   # making bogus files that we don't know about and never remove.  For | 
|---|
 | 3316 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
 | 3317 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
 | 3318 |   # in D'. | 
|---|
 | 3319 |   mkdir conftest.dir | 
|---|
 | 3320 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
 | 3321 |   # using a relative directory. | 
|---|
 | 3322 |   cp "$am_depcomp" conftest.dir | 
|---|
 | 3323 |   cd conftest.dir | 
|---|
 | 3324 |   # We will build objects and dependencies in a subdirectory because | 
|---|
 | 3325 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
 | 3326 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
 | 3327 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
 | 3328 |   # the current directory while Tru64 will put them in the object | 
|---|
 | 3329 |   # directory. | 
|---|
 | 3330 |   mkdir sub | 
|---|
 | 3331 |  | 
|---|
 | 3332 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3333 |   if test "$am_compiler_list" = ""; then | 
|---|
 | 3334 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
 | 3335 |   fi | 
|---|
 | 3336 |   for depmode in $am_compiler_list; do | 
|---|
 | 3337 |     # Setup a source with many dependencies, because some compilers | 
|---|
 | 3338 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
 | 3339 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
 | 3340 |     # | 
|---|
 | 3341 |     # We need to recreate these files for each test, as the compiler may | 
|---|
 | 3342 |     # overwrite some of them when testing with obscure command lines. | 
|---|
 | 3343 |     # This happens at least with the AIX C compiler. | 
|---|
 | 3344 |     : > sub/conftest.c | 
|---|
 | 3345 |     for i in 1 2 3 4 5 6; do | 
|---|
 | 3346 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| [2819] | 3347 |       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 
|---|
 | 3348 |       # Solaris 8's {/usr,}/bin/sh. | 
|---|
 | 3349 |       touch sub/conftst$i.h | 
|---|
| [1956] | 3350 |     done | 
|---|
 | 3351 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
 | 3352 |  | 
|---|
 | 3353 |     case $depmode in | 
|---|
 | 3354 |     nosideeffect) | 
|---|
 | 3355 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
 | 3356 |       # only be used when explicitly requested | 
|---|
 | 3357 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
 | 3358 |         continue | 
|---|
 | 3359 |       else | 
|---|
 | 3360 |         break | 
|---|
 | 3361 |       fi | 
|---|
 | 3362 |       ;; | 
|---|
 | 3363 |     none) break ;; | 
|---|
 | 3364 |     esac | 
|---|
 | 3365 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
 | 3366 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
 | 3367 |     # handle `-M -o', and we need to detect this. | 
|---|
 | 3368 |     if depmode=$depmode \ | 
|---|
 | 3369 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
 | 3370 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
 | 3371 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
 | 3372 |          >/dev/null 2>conftest.err && | 
|---|
 | 3373 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3374 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
 | 3375 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
 | 3376 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| [2819] | 3377 |       # or remarks (even with -Werror).  So we grep stderr for any message | 
|---|
 | 3378 |       # that says an option was ignored or not supported. | 
|---|
 | 3379 |       # When given -MP, icc 7.0 and 7.1 complain thusly: | 
|---|
 | 3380 |       #   icc: Command line warning: ignoring option '-M'; no argument required | 
|---|
 | 3381 |       # The diagnosis changed in icc 8.0: | 
|---|
 | 3382 |       #   icc: Command line remark: option '-MP' not supported | 
|---|
 | 3383 |       if (grep 'ignoring option' conftest.err || | 
|---|
 | 3384 |           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 
|---|
| [1956] | 3385 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
 | 3386 |         break | 
|---|
 | 3387 |       fi | 
|---|
 | 3388 |     fi | 
|---|
 | 3389 |   done | 
|---|
 | 3390 |  | 
|---|
 | 3391 |   cd .. | 
|---|
 | 3392 |   rm -rf conftest.dir | 
|---|
 | 3393 | else | 
|---|
 | 3394 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
 | 3395 | fi | 
|---|
 | 3396 |  | 
|---|
 | 3397 | fi | 
|---|
 | 3398 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
 | 3399 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
 | 3400 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
 | 3401 |  | 
|---|
 | 3402 |  | 
|---|
 | 3403 |  | 
|---|
 | 3404 | if | 
|---|
 | 3405 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
 | 3406 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
 | 3407 |   am__fastdepCC_TRUE= | 
|---|
 | 3408 |   am__fastdepCC_FALSE='#' | 
|---|
 | 3409 | else | 
|---|
 | 3410 |   am__fastdepCC_TRUE='#' | 
|---|
 | 3411 |   am__fastdepCC_FALSE= | 
|---|
 | 3412 | fi | 
|---|
 | 3413 |  | 
|---|
 | 3414 |  | 
|---|
 | 3415 |  | 
|---|
| [1971] | 3416 | ac_ext=c | 
|---|
 | 3417 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3418 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3419 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3420 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3421 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
 | 3422 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
 | 3423 | # On Suns, sometimes $CPP names a directory. | 
|---|
 | 3424 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
 | 3425 |   CPP= | 
|---|
 | 3426 | fi | 
|---|
 | 3427 | if test -z "$CPP"; then | 
|---|
 | 3428 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| [1956] | 3429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3430 | else | 
|---|
| [1971] | 3431 |       # Double quotes because CPP needs to be expanded | 
|---|
 | 3432 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
 | 3433 |     do | 
|---|
 | 3434 |       ac_preproc_ok=false | 
|---|
 | 3435 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3436 | do | 
|---|
 | 3437 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3438 |   # with a fresh cross-compiler works. | 
|---|
 | 3439 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3440 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3441 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3442 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3443 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3444 | /* confdefs.h.  */ | 
|---|
 | 3445 | _ACEOF | 
|---|
 | 3446 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3447 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3448 | /* end confdefs.h.  */ | 
|---|
 | 3449 | #ifdef __STDC__ | 
|---|
 | 3450 | # include <limits.h> | 
|---|
 | 3451 | #else | 
|---|
 | 3452 | # include <assert.h> | 
|---|
 | 3453 | #endif | 
|---|
 | 3454 |                      Syntax error | 
|---|
 | 3455 | _ACEOF | 
|---|
 | 3456 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3457 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3458 |   ac_status=$? | 
|---|
 | 3459 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3460 |   rm -f conftest.er1 | 
|---|
 | 3461 |   cat conftest.err >&5 | 
|---|
 | 3462 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3463 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3464 |   if test -s conftest.err; then | 
|---|
 | 3465 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3466 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3467 |   else | 
|---|
 | 3468 |     ac_cpp_err= | 
|---|
 | 3469 |   fi | 
|---|
 | 3470 | else | 
|---|
 | 3471 |   ac_cpp_err=yes | 
|---|
 | 3472 | fi | 
|---|
 | 3473 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3474 |   : | 
|---|
 | 3475 | else | 
|---|
 | 3476 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3477 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3478 |  | 
|---|
 | 3479 |   # Broken: fails on valid input. | 
|---|
 | 3480 | continue | 
|---|
 | 3481 | fi | 
|---|
 | 3482 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3483 |  | 
|---|
 | 3484 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3485 |   # can be detected and how. | 
|---|
 | 3486 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3487 | /* confdefs.h.  */ | 
|---|
 | 3488 | _ACEOF | 
|---|
 | 3489 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3490 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3491 | /* end confdefs.h.  */ | 
|---|
 | 3492 | #include <ac_nonexistent.h> | 
|---|
 | 3493 | _ACEOF | 
|---|
 | 3494 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3495 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3496 |   ac_status=$? | 
|---|
 | 3497 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3498 |   rm -f conftest.er1 | 
|---|
 | 3499 |   cat conftest.err >&5 | 
|---|
 | 3500 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3501 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3502 |   if test -s conftest.err; then | 
|---|
 | 3503 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3504 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3505 |   else | 
|---|
 | 3506 |     ac_cpp_err= | 
|---|
 | 3507 |   fi | 
|---|
 | 3508 | else | 
|---|
 | 3509 |   ac_cpp_err=yes | 
|---|
 | 3510 | fi | 
|---|
 | 3511 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3512 |   # Broken: success on invalid input. | 
|---|
 | 3513 | continue | 
|---|
 | 3514 | else | 
|---|
 | 3515 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3516 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3517 |  | 
|---|
 | 3518 |   # Passes both tests. | 
|---|
 | 3519 | ac_preproc_ok=: | 
|---|
 | 3520 | break | 
|---|
 | 3521 | fi | 
|---|
 | 3522 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3523 |  | 
|---|
 | 3524 | done | 
|---|
 | 3525 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3526 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3527 | if $ac_preproc_ok; then | 
|---|
 | 3528 |   break | 
|---|
 | 3529 | fi | 
|---|
 | 3530 |  | 
|---|
 | 3531 |     done | 
|---|
 | 3532 |     ac_cv_prog_CPP=$CPP | 
|---|
 | 3533 |  | 
|---|
 | 3534 | fi | 
|---|
 | 3535 |   CPP=$ac_cv_prog_CPP | 
|---|
 | 3536 | else | 
|---|
 | 3537 |   ac_cv_prog_CPP=$CPP | 
|---|
 | 3538 | fi | 
|---|
 | 3539 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
 | 3540 | echo "${ECHO_T}$CPP" >&6 | 
|---|
 | 3541 | ac_preproc_ok=false | 
|---|
 | 3542 | for ac_c_preproc_warn_flag in '' yes | 
|---|
 | 3543 | do | 
|---|
 | 3544 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
 | 3545 |   # with a fresh cross-compiler works. | 
|---|
 | 3546 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 3547 |   # <limits.h> exists even on freestanding compilers. | 
|---|
 | 3548 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
 | 3549 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
 | 3550 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3551 | /* confdefs.h.  */ | 
|---|
 | 3552 | _ACEOF | 
|---|
 | 3553 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3554 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3555 | /* end confdefs.h.  */ | 
|---|
 | 3556 | #ifdef __STDC__ | 
|---|
 | 3557 | # include <limits.h> | 
|---|
 | 3558 | #else | 
|---|
 | 3559 | # include <assert.h> | 
|---|
 | 3560 | #endif | 
|---|
 | 3561 |                      Syntax error | 
|---|
 | 3562 | _ACEOF | 
|---|
 | 3563 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3564 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3565 |   ac_status=$? | 
|---|
 | 3566 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3567 |   rm -f conftest.er1 | 
|---|
 | 3568 |   cat conftest.err >&5 | 
|---|
 | 3569 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3570 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3571 |   if test -s conftest.err; then | 
|---|
 | 3572 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3573 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3574 |   else | 
|---|
 | 3575 |     ac_cpp_err= | 
|---|
 | 3576 |   fi | 
|---|
 | 3577 | else | 
|---|
 | 3578 |   ac_cpp_err=yes | 
|---|
 | 3579 | fi | 
|---|
 | 3580 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3581 |   : | 
|---|
 | 3582 | else | 
|---|
 | 3583 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3584 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3585 |  | 
|---|
 | 3586 |   # Broken: fails on valid input. | 
|---|
 | 3587 | continue | 
|---|
 | 3588 | fi | 
|---|
 | 3589 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3590 |  | 
|---|
 | 3591 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
 | 3592 |   # can be detected and how. | 
|---|
 | 3593 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3594 | /* confdefs.h.  */ | 
|---|
 | 3595 | _ACEOF | 
|---|
 | 3596 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3597 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3598 | /* end confdefs.h.  */ | 
|---|
 | 3599 | #include <ac_nonexistent.h> | 
|---|
 | 3600 | _ACEOF | 
|---|
 | 3601 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 3602 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 3603 |   ac_status=$? | 
|---|
 | 3604 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3605 |   rm -f conftest.er1 | 
|---|
 | 3606 |   cat conftest.err >&5 | 
|---|
 | 3607 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3608 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 3609 |   if test -s conftest.err; then | 
|---|
 | 3610 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 3611 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 3612 |   else | 
|---|
 | 3613 |     ac_cpp_err= | 
|---|
 | 3614 |   fi | 
|---|
 | 3615 | else | 
|---|
 | 3616 |   ac_cpp_err=yes | 
|---|
 | 3617 | fi | 
|---|
 | 3618 | if test -z "$ac_cpp_err"; then | 
|---|
 | 3619 |   # Broken: success on invalid input. | 
|---|
 | 3620 | continue | 
|---|
 | 3621 | else | 
|---|
 | 3622 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3623 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3624 |  | 
|---|
 | 3625 |   # Passes both tests. | 
|---|
 | 3626 | ac_preproc_ok=: | 
|---|
 | 3627 | break | 
|---|
 | 3628 | fi | 
|---|
 | 3629 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3630 |  | 
|---|
 | 3631 | done | 
|---|
 | 3632 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
 | 3633 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 3634 | if $ac_preproc_ok; then | 
|---|
 | 3635 |   : | 
|---|
 | 3636 | else | 
|---|
 | 3637 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3638 | See \`config.log' for more details." >&5 | 
|---|
 | 3639 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
 | 3640 | See \`config.log' for more details." >&2;} | 
|---|
 | 3641 |    { (exit 1); exit 1; }; } | 
|---|
 | 3642 | fi | 
|---|
 | 3643 |  | 
|---|
 | 3644 | ac_ext=c | 
|---|
 | 3645 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
 | 3646 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
 | 3647 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
 | 3648 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
 | 3649 |  | 
|---|
 | 3650 |  | 
|---|
 | 3651 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
 | 3652 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
 | 3653 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
 | 3654 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3655 | else | 
|---|
 | 3656 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
 | 3657 |     then ac_cv_prog_egrep='grep -E' | 
|---|
 | 3658 |     else ac_cv_prog_egrep='egrep' | 
|---|
 | 3659 |     fi | 
|---|
 | 3660 | fi | 
|---|
 | 3661 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
 | 3662 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
 | 3663 |  EGREP=$ac_cv_prog_egrep | 
|---|
 | 3664 |  | 
|---|
 | 3665 |  | 
|---|
 | 3666 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 3667 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 3668 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 3669 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3670 | else | 
|---|
 | 3671 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3672 | /* confdefs.h.  */ | 
|---|
 | 3673 | _ACEOF | 
|---|
 | 3674 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3675 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3676 | /* end confdefs.h.  */ | 
|---|
 | 3677 | #include <stdlib.h> | 
|---|
 | 3678 | #include <stdarg.h> | 
|---|
 | 3679 | #include <string.h> | 
|---|
 | 3680 | #include <float.h> | 
|---|
 | 3681 |  | 
|---|
 | 3682 | int | 
|---|
 | 3683 | main () | 
|---|
 | 3684 | { | 
|---|
 | 3685 |  | 
|---|
 | 3686 |   ; | 
|---|
 | 3687 |   return 0; | 
|---|
 | 3688 | } | 
|---|
 | 3689 | _ACEOF | 
|---|
 | 3690 | rm -f conftest.$ac_objext | 
|---|
 | 3691 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3692 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3693 |   ac_status=$? | 
|---|
 | 3694 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3695 |   rm -f conftest.er1 | 
|---|
 | 3696 |   cat conftest.err >&5 | 
|---|
 | 3697 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3698 |   (exit $ac_status); } && | 
|---|
 | 3699 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3700 |                          || test ! -s conftest.err' | 
|---|
 | 3701 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3702 |   (eval $ac_try) 2>&5 | 
|---|
 | 3703 |   ac_status=$? | 
|---|
 | 3704 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3705 |   (exit $ac_status); }; } && | 
|---|
 | 3706 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3707 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3708 |   (eval $ac_try) 2>&5 | 
|---|
 | 3709 |   ac_status=$? | 
|---|
 | 3710 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3711 |   (exit $ac_status); }; }; then | 
|---|
 | 3712 |   ac_cv_header_stdc=yes | 
|---|
 | 3713 | else | 
|---|
 | 3714 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3715 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3716 |  | 
|---|
 | 3717 | ac_cv_header_stdc=no | 
|---|
 | 3718 | fi | 
|---|
 | 3719 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3720 |  | 
|---|
 | 3721 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3722 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 3723 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3724 | /* confdefs.h.  */ | 
|---|
 | 3725 | _ACEOF | 
|---|
 | 3726 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3727 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3728 | /* end confdefs.h.  */ | 
|---|
 | 3729 | #include <string.h> | 
|---|
 | 3730 |  | 
|---|
 | 3731 | _ACEOF | 
|---|
 | 3732 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3733 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 3734 |   : | 
|---|
 | 3735 | else | 
|---|
 | 3736 |   ac_cv_header_stdc=no | 
|---|
 | 3737 | fi | 
|---|
 | 3738 | rm -f conftest* | 
|---|
 | 3739 |  | 
|---|
 | 3740 | fi | 
|---|
 | 3741 |  | 
|---|
 | 3742 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3743 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 3744 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3745 | /* confdefs.h.  */ | 
|---|
 | 3746 | _ACEOF | 
|---|
 | 3747 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3748 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3749 | /* end confdefs.h.  */ | 
|---|
 | 3750 | #include <stdlib.h> | 
|---|
 | 3751 |  | 
|---|
 | 3752 | _ACEOF | 
|---|
 | 3753 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 3754 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 3755 |   : | 
|---|
 | 3756 | else | 
|---|
 | 3757 |   ac_cv_header_stdc=no | 
|---|
 | 3758 | fi | 
|---|
 | 3759 | rm -f conftest* | 
|---|
 | 3760 |  | 
|---|
 | 3761 | fi | 
|---|
 | 3762 |  | 
|---|
 | 3763 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3764 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 3765 |   if test "$cross_compiling" = yes; then | 
|---|
 | 3766 |   : | 
|---|
 | 3767 | else | 
|---|
 | 3768 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3769 | /* confdefs.h.  */ | 
|---|
 | 3770 | _ACEOF | 
|---|
 | 3771 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3772 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3773 | /* end confdefs.h.  */ | 
|---|
 | 3774 | #include <ctype.h> | 
|---|
 | 3775 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 3776 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 3777 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 3778 | #else | 
|---|
 | 3779 | # define ISLOWER(c) \ | 
|---|
 | 3780 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 3781 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 3782 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 3783 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 3784 | #endif | 
|---|
 | 3785 |  | 
|---|
 | 3786 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 3787 | int | 
|---|
 | 3788 | main () | 
|---|
 | 3789 | { | 
|---|
 | 3790 |   int i; | 
|---|
 | 3791 |   for (i = 0; i < 256; i++) | 
|---|
 | 3792 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 3793 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 3794 |       exit(2); | 
|---|
 | 3795 |   exit (0); | 
|---|
 | 3796 | } | 
|---|
 | 3797 | _ACEOF | 
|---|
 | 3798 | rm -f conftest$ac_exeext | 
|---|
 | 3799 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 3800 |   (eval $ac_link) 2>&5 | 
|---|
 | 3801 |   ac_status=$? | 
|---|
 | 3802 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3803 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 3804 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3805 |   (eval $ac_try) 2>&5 | 
|---|
 | 3806 |   ac_status=$? | 
|---|
 | 3807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3808 |   (exit $ac_status); }; }; then | 
|---|
 | 3809 |   : | 
|---|
 | 3810 | else | 
|---|
 | 3811 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 3812 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 3813 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3814 |  | 
|---|
 | 3815 | ( exit $ac_status ) | 
|---|
 | 3816 | ac_cv_header_stdc=no | 
|---|
 | 3817 | fi | 
|---|
 | 3818 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3819 | fi | 
|---|
 | 3820 | fi | 
|---|
 | 3821 | fi | 
|---|
 | 3822 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 3823 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 3824 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 3825 |  | 
|---|
 | 3826 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 3827 | #define STDC_HEADERS 1 | 
|---|
 | 3828 | _ACEOF | 
|---|
 | 3829 |  | 
|---|
 | 3830 | fi | 
|---|
 | 3831 |  | 
|---|
 | 3832 |  | 
|---|
| [3100] | 3833 |  | 
|---|
 | 3834 | ### CHECKING  OPTIONAT ARGUMENTS | 
|---|
 | 3835 | ## GTK-disabled | 
|---|
 | 3836 | def_gtk=yes | 
|---|
 | 3837 | echo "$as_me:$LINENO: checking if gtk should be enabled" >&5 | 
|---|
 | 3838 | echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6 | 
|---|
 | 3839 | # Check whether --enable-gtk or --disable-gtk was given. | 
|---|
 | 3840 | if test "${enable_gtk+set}" = set; then | 
|---|
 | 3841 |   enableval="$enable_gtk" | 
|---|
 | 3842 |   def_gtk=no | 
|---|
 | 3843 | fi; | 
|---|
 | 3844 | if test "$def_gtk" = yes; then | 
|---|
 | 3845 |   echo "yes" | 
|---|
 | 3846 | fi | 
|---|
 | 3847 | if test "$def_gtk" = no; then | 
|---|
 | 3848 |   echo "no" | 
|---|
 | 3849 | fi | 
|---|
 | 3850 |  | 
|---|
 | 3851 |  | 
|---|
 | 3852 |  | 
|---|
| [2925] | 3853 | ### CHECKING FOR SYSTEM ### | 
|---|
| [1971] | 3854 |  | 
|---|
| [2925] | 3855 | echo "$as_me:$LINENO: checking for System" >&5 | 
|---|
 | 3856 | echo $ECHO_N "checking for System... $ECHO_C" >&6 | 
|---|
| [2980] | 3857 | ## checking for openGL-environment and other sys-specific parameters | 
|---|
 | 3858 | case "$target" in | 
|---|
| [2925] | 3859 | ### WINDOWS ### | 
|---|
| [2980] | 3860 |   *-*-mingw32*) | 
|---|
| [2925] | 3861 | echo "mingw-WINDOWS detected" | 
|---|
| [1971] | 3862 |  | 
|---|
| [2925] | 3863 |     mingw="yes" | 
|---|
 | 3864 |     MSBITFIELDS="-mms-bitfields" | 
|---|
 | 3865 |     MWINDOWS="-mwindows" | 
|---|
| [1971] | 3866 |  | 
|---|
| [2925] | 3867 | # checking gl header | 
|---|
 | 3868 |         #done before loop | 
|---|
| [1971] | 3869 |  | 
|---|
| [2968] | 3870 | # checking gl header | 
|---|
| [2925] | 3871 |    # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| [1971] | 3872 |  | 
|---|
 | 3873 |  | 
|---|
 | 3874 |  | 
|---|
 | 3875 |  | 
|---|
| [2925] | 3876 |  | 
|---|
 | 3877 |  | 
|---|
 | 3878 |  | 
|---|
 | 3879 |  | 
|---|
 | 3880 |  | 
|---|
| [1971] | 3881 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
 | 3882 |                   inttypes.h stdint.h unistd.h | 
|---|
 | 3883 | do | 
|---|
 | 3884 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 3885 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 3886 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 3887 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 3888 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3889 | else | 
|---|
 | 3890 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3891 | /* confdefs.h.  */ | 
|---|
 | 3892 | _ACEOF | 
|---|
 | 3893 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3894 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3895 | /* end confdefs.h.  */ | 
|---|
 | 3896 | $ac_includes_default | 
|---|
 | 3897 |  | 
|---|
 | 3898 | #include <$ac_header> | 
|---|
 | 3899 | _ACEOF | 
|---|
 | 3900 | rm -f conftest.$ac_objext | 
|---|
 | 3901 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3902 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3903 |   ac_status=$? | 
|---|
 | 3904 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3905 |   rm -f conftest.er1 | 
|---|
 | 3906 |   cat conftest.err >&5 | 
|---|
 | 3907 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3908 |   (exit $ac_status); } && | 
|---|
 | 3909 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3910 |                          || test ! -s conftest.err' | 
|---|
 | 3911 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3912 |   (eval $ac_try) 2>&5 | 
|---|
 | 3913 |   ac_status=$? | 
|---|
 | 3914 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3915 |   (exit $ac_status); }; } && | 
|---|
 | 3916 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3917 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3918 |   (eval $ac_try) 2>&5 | 
|---|
 | 3919 |   ac_status=$? | 
|---|
 | 3920 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3921 |   (exit $ac_status); }; }; then | 
|---|
 | 3922 |   eval "$as_ac_Header=yes" | 
|---|
 | 3923 | else | 
|---|
 | 3924 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3925 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3926 |  | 
|---|
 | 3927 | eval "$as_ac_Header=no" | 
|---|
 | 3928 | fi | 
|---|
 | 3929 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3930 | fi | 
|---|
 | 3931 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 3932 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 3933 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 3934 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 3935 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 3936 | _ACEOF | 
|---|
 | 3937 |  | 
|---|
 | 3938 | fi | 
|---|
 | 3939 |  | 
|---|
 | 3940 | done | 
|---|
 | 3941 |  | 
|---|
 | 3942 |  | 
|---|
 | 3943 |  | 
|---|
| [2879] | 3944 | for ac_header in GL/gl.h | 
|---|
 | 3945 | do | 
|---|
 | 3946 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 3947 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 3948 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 3949 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 3950 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 3951 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 3952 | fi | 
|---|
 | 3953 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 3954 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 3955 | else | 
|---|
 | 3956 |   # Is the header compilable? | 
|---|
 | 3957 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 3958 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 3959 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 3960 | /* confdefs.h.  */ | 
|---|
 | 3961 | _ACEOF | 
|---|
 | 3962 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 3963 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 3964 | /* end confdefs.h.  */ | 
|---|
 | 3965 | $ac_includes_default | 
|---|
 | 3966 | #include <$ac_header> | 
|---|
 | 3967 | _ACEOF | 
|---|
 | 3968 | rm -f conftest.$ac_objext | 
|---|
 | 3969 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 3970 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 3971 |   ac_status=$? | 
|---|
 | 3972 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 3973 |   rm -f conftest.er1 | 
|---|
 | 3974 |   cat conftest.err >&5 | 
|---|
 | 3975 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3976 |   (exit $ac_status); } && | 
|---|
 | 3977 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 3978 |                          || test ! -s conftest.err' | 
|---|
 | 3979 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3980 |   (eval $ac_try) 2>&5 | 
|---|
 | 3981 |   ac_status=$? | 
|---|
 | 3982 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3983 |   (exit $ac_status); }; } && | 
|---|
 | 3984 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 3985 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 3986 |   (eval $ac_try) 2>&5 | 
|---|
 | 3987 |   ac_status=$? | 
|---|
 | 3988 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 3989 |   (exit $ac_status); }; }; then | 
|---|
 | 3990 |   ac_header_compiler=yes | 
|---|
 | 3991 | else | 
|---|
 | 3992 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 3993 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 3994 |  | 
|---|
 | 3995 | ac_header_compiler=no | 
|---|
 | 3996 | fi | 
|---|
 | 3997 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 3998 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 3999 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4000 |  | 
|---|
 | 4001 | # Is the header present? | 
|---|
 | 4002 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4003 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4004 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4005 | /* confdefs.h.  */ | 
|---|
 | 4006 | _ACEOF | 
|---|
 | 4007 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4008 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4009 | /* end confdefs.h.  */ | 
|---|
 | 4010 | #include <$ac_header> | 
|---|
 | 4011 | _ACEOF | 
|---|
 | 4012 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4013 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4014 |   ac_status=$? | 
|---|
 | 4015 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4016 |   rm -f conftest.er1 | 
|---|
 | 4017 |   cat conftest.err >&5 | 
|---|
 | 4018 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4019 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4020 |   if test -s conftest.err; then | 
|---|
 | 4021 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4022 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4023 |   else | 
|---|
 | 4024 |     ac_cpp_err= | 
|---|
 | 4025 |   fi | 
|---|
 | 4026 | else | 
|---|
 | 4027 |   ac_cpp_err=yes | 
|---|
 | 4028 | fi | 
|---|
 | 4029 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4030 |   ac_header_preproc=yes | 
|---|
 | 4031 | else | 
|---|
 | 4032 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4033 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4034 |  | 
|---|
 | 4035 |   ac_header_preproc=no | 
|---|
 | 4036 | fi | 
|---|
 | 4037 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4038 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4039 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4040 |  | 
|---|
 | 4041 | # So?  What about this header? | 
|---|
 | 4042 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4043 |   yes:no: ) | 
|---|
 | 4044 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4045 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4046 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4047 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4048 |     ac_header_preproc=yes | 
|---|
 | 4049 |     ;; | 
|---|
 | 4050 |   no:yes:* ) | 
|---|
 | 4051 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4052 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4053 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4054 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4055 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4056 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4057 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4058 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4059 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4060 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4061 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4062 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4063 |     ( | 
|---|
 | 4064 |       cat <<\_ASBOX | 
|---|
 | 4065 | ## ------------------------------------------- ## | 
|---|
 | 4066 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 4067 | ## ------------------------------------------- ## | 
|---|
 | 4068 | _ASBOX | 
|---|
 | 4069 |     ) | | 
|---|
 | 4070 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4071 |     ;; | 
|---|
 | 4072 | esac | 
|---|
 | 4073 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4074 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4075 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4076 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4077 | else | 
|---|
 | 4078 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4079 | fi | 
|---|
 | 4080 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4081 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4082 |  | 
|---|
 | 4083 | fi | 
|---|
 | 4084 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4085 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4086 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4087 | _ACEOF | 
|---|
 | 4088 |  | 
|---|
 | 4089 | else | 
|---|
 | 4090 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4091 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4092 |    { (exit 1); exit 1; }; } | 
|---|
 | 4093 | fi | 
|---|
 | 4094 |  | 
|---|
 | 4095 | done | 
|---|
 | 4096 |  | 
|---|
| [2701] | 4097 | #   checking for Windows openGl library | 
|---|
| [1971] | 4098 |     echo "$as_me:$LINENO: checking for main in -lopengl32" >&5 | 
|---|
 | 4099 | echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6 | 
|---|
 | 4100 | if test "${ac_cv_lib_opengl32_main+set}" = set; then | 
|---|
| [1959] | 4101 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4102 | else | 
|---|
 | 4103 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4104 | LIBS="-lopengl32  $LIBS" | 
|---|
 | 4105 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4106 | /* confdefs.h.  */ | 
|---|
| [1956] | 4107 | _ACEOF | 
|---|
| [1959] | 4108 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4109 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4110 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4111 |  | 
|---|
| [1971] | 4112 |  | 
|---|
| [1959] | 4113 | int | 
|---|
 | 4114 | main () | 
|---|
 | 4115 | { | 
|---|
| [1971] | 4116 | main (); | 
|---|
| [1959] | 4117 |   ; | 
|---|
 | 4118 |   return 0; | 
|---|
 | 4119 | } | 
|---|
 | 4120 | _ACEOF | 
|---|
 | 4121 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4122 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4123 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4124 |   ac_status=$? | 
|---|
 | 4125 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4126 |   rm -f conftest.er1 | 
|---|
 | 4127 |   cat conftest.err >&5 | 
|---|
 | 4128 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4129 |   (exit $ac_status); } && | 
|---|
 | 4130 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4131 |                          || test ! -s conftest.err' | 
|---|
 | 4132 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4133 |   (eval $ac_try) 2>&5 | 
|---|
 | 4134 |   ac_status=$? | 
|---|
 | 4135 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4136 |   (exit $ac_status); }; } && | 
|---|
 | 4137 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4138 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4139 |   (eval $ac_try) 2>&5 | 
|---|
 | 4140 |   ac_status=$? | 
|---|
 | 4141 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4142 |   (exit $ac_status); }; }; then | 
|---|
| [1971] | 4143 |   ac_cv_lib_opengl32_main=yes | 
|---|
| [1959] | 4144 | else | 
|---|
 | 4145 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4146 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4147 |  | 
|---|
| [1971] | 4148 | ac_cv_lib_opengl32_main=no | 
|---|
| [1956] | 4149 | fi | 
|---|
| [1959] | 4150 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4151 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4152 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4153 | fi | 
|---|
| [1971] | 4154 | echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5 | 
|---|
 | 4155 | echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6 | 
|---|
 | 4156 | if test $ac_cv_lib_opengl32_main = yes; then | 
|---|
 | 4157 |   FOUND_opengl32=yes | 
|---|
 | 4158 | else | 
|---|
 | 4159 |   "gl/gl.h" | 
|---|
| [1959] | 4160 | fi | 
|---|
| [1956] | 4161 |  | 
|---|
| [1971] | 4162 |     if test "$FOUND_opengl32" = "yes" ; then | 
|---|
| [1959] | 4163 |         LIBS="$LIBS -lopengl32" | 
|---|
| [1971] | 4164 |     else | 
|---|
| [1959] | 4165 |          echo "------------------" | 
|---|
 | 4166 |          echo "opengl not found." | 
|---|
 | 4167 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 4168 |          echo "------------------" | 
|---|
 | 4169 |          exit -1 | 
|---|
 | 4170 |     fi | 
|---|
 | 4171 |  | 
|---|
| [2701] | 4172 | # cheking for GLU-header | 
|---|
| [1971] | 4173 |  | 
|---|
 | 4174 | for ac_header in GL/glu.h | 
|---|
 | 4175 | do | 
|---|
 | 4176 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4177 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4178 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4179 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4180 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4181 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4182 | fi | 
|---|
 | 4183 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4184 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4185 | else | 
|---|
 | 4186 |   # Is the header compilable? | 
|---|
 | 4187 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4188 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4189 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4190 | /* confdefs.h.  */ | 
|---|
 | 4191 | _ACEOF | 
|---|
 | 4192 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4193 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4194 | /* end confdefs.h.  */ | 
|---|
 | 4195 | $ac_includes_default | 
|---|
 | 4196 | #include <$ac_header> | 
|---|
 | 4197 | _ACEOF | 
|---|
 | 4198 | rm -f conftest.$ac_objext | 
|---|
 | 4199 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4200 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4201 |   ac_status=$? | 
|---|
 | 4202 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4203 |   rm -f conftest.er1 | 
|---|
 | 4204 |   cat conftest.err >&5 | 
|---|
 | 4205 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4206 |   (exit $ac_status); } && | 
|---|
 | 4207 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4208 |                          || test ! -s conftest.err' | 
|---|
 | 4209 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4210 |   (eval $ac_try) 2>&5 | 
|---|
 | 4211 |   ac_status=$? | 
|---|
 | 4212 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4213 |   (exit $ac_status); }; } && | 
|---|
 | 4214 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4215 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4216 |   (eval $ac_try) 2>&5 | 
|---|
 | 4217 |   ac_status=$? | 
|---|
 | 4218 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4219 |   (exit $ac_status); }; }; then | 
|---|
 | 4220 |   ac_header_compiler=yes | 
|---|
 | 4221 | else | 
|---|
 | 4222 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4223 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4224 |  | 
|---|
 | 4225 | ac_header_compiler=no | 
|---|
 | 4226 | fi | 
|---|
 | 4227 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4228 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4229 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4230 |  | 
|---|
 | 4231 | # Is the header present? | 
|---|
 | 4232 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4233 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4234 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4235 | /* confdefs.h.  */ | 
|---|
 | 4236 | _ACEOF | 
|---|
 | 4237 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4238 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4239 | /* end confdefs.h.  */ | 
|---|
 | 4240 | #include <$ac_header> | 
|---|
 | 4241 | _ACEOF | 
|---|
 | 4242 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4243 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4244 |   ac_status=$? | 
|---|
 | 4245 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4246 |   rm -f conftest.er1 | 
|---|
 | 4247 |   cat conftest.err >&5 | 
|---|
 | 4248 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4249 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4250 |   if test -s conftest.err; then | 
|---|
 | 4251 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4252 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4253 |   else | 
|---|
 | 4254 |     ac_cpp_err= | 
|---|
 | 4255 |   fi | 
|---|
 | 4256 | else | 
|---|
 | 4257 |   ac_cpp_err=yes | 
|---|
 | 4258 | fi | 
|---|
 | 4259 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4260 |   ac_header_preproc=yes | 
|---|
 | 4261 | else | 
|---|
 | 4262 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4263 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4264 |  | 
|---|
 | 4265 |   ac_header_preproc=no | 
|---|
 | 4266 | fi | 
|---|
 | 4267 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4268 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4269 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4270 |  | 
|---|
 | 4271 | # So?  What about this header? | 
|---|
 | 4272 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4273 |   yes:no: ) | 
|---|
 | 4274 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4275 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4276 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4277 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4278 |     ac_header_preproc=yes | 
|---|
 | 4279 |     ;; | 
|---|
 | 4280 |   no:yes:* ) | 
|---|
 | 4281 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4282 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4283 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4284 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4285 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4286 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4287 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4288 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4289 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4290 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4291 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4292 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4293 |     ( | 
|---|
 | 4294 |       cat <<\_ASBOX | 
|---|
 | 4295 | ## ------------------------------------------- ## | 
|---|
 | 4296 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 4297 | ## ------------------------------------------- ## | 
|---|
 | 4298 | _ASBOX | 
|---|
 | 4299 |     ) | | 
|---|
 | 4300 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4301 |     ;; | 
|---|
 | 4302 | esac | 
|---|
 | 4303 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4304 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4305 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4306 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4307 | else | 
|---|
 | 4308 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4309 | fi | 
|---|
 | 4310 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4311 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4312 |  | 
|---|
 | 4313 | fi | 
|---|
 | 4314 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4315 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4316 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4317 | _ACEOF | 
|---|
 | 4318 |  | 
|---|
 | 4319 | else | 
|---|
 | 4320 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4321 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4322 |    { (exit 1); exit 1; }; } | 
|---|
 | 4323 | fi | 
|---|
 | 4324 |  | 
|---|
 | 4325 | done | 
|---|
 | 4326 |  | 
|---|
 | 4327 |  | 
|---|
| [2701] | 4328 | # checking for libGLU | 
|---|
 | 4329 |     echo "$as_me:$LINENO: checking for main in -lglu32" >&5 | 
|---|
 | 4330 | echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6 | 
|---|
 | 4331 | if test "${ac_cv_lib_glu32_main+set}" = set; then | 
|---|
| [1956] | 4332 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4333 | else | 
|---|
 | 4334 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4335 | LIBS="-lglu32  $LIBS" | 
|---|
| [1956] | 4336 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4337 | /* confdefs.h.  */ | 
|---|
 | 4338 | _ACEOF | 
|---|
 | 4339 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4340 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4341 | /* end confdefs.h.  */ | 
|---|
 | 4342 |  | 
|---|
| [2701] | 4343 |  | 
|---|
| [1956] | 4344 | int | 
|---|
 | 4345 | main () | 
|---|
 | 4346 | { | 
|---|
| [2701] | 4347 | main (); | 
|---|
| [1956] | 4348 |   ; | 
|---|
 | 4349 |   return 0; | 
|---|
 | 4350 | } | 
|---|
 | 4351 | _ACEOF | 
|---|
 | 4352 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4353 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4354 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4355 |   ac_status=$? | 
|---|
 | 4356 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4357 |   rm -f conftest.er1 | 
|---|
 | 4358 |   cat conftest.err >&5 | 
|---|
 | 4359 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4360 |   (exit $ac_status); } && | 
|---|
 | 4361 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4362 |                          || test ! -s conftest.err' | 
|---|
 | 4363 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4364 |   (eval $ac_try) 2>&5 | 
|---|
 | 4365 |   ac_status=$? | 
|---|
 | 4366 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4367 |   (exit $ac_status); }; } && | 
|---|
 | 4368 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4369 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4370 |   (eval $ac_try) 2>&5 | 
|---|
 | 4371 |   ac_status=$? | 
|---|
 | 4372 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4373 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4374 |   ac_cv_lib_glu32_main=yes | 
|---|
| [1956] | 4375 | else | 
|---|
 | 4376 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4377 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4378 |  | 
|---|
| [2701] | 4379 | ac_cv_lib_glu32_main=no | 
|---|
| [1956] | 4380 | fi | 
|---|
 | 4381 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4382 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4383 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4384 | fi | 
|---|
| [2701] | 4385 | echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5 | 
|---|
 | 4386 | echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6 | 
|---|
 | 4387 | if test $ac_cv_lib_glu32_main = yes; then | 
|---|
 | 4388 |   FOUND_glu32=yes | 
|---|
| [1959] | 4389 | fi | 
|---|
 | 4390 |  | 
|---|
| [2701] | 4391 |     if test "$FOUND_glu32" = "yes" ; then | 
|---|
 | 4392 |         LIBS="$LIBS -lGLU32" | 
|---|
 | 4393 |     else | 
|---|
 | 4394 |          echo "------------------" | 
|---|
 | 4395 |          echo "GLU library not found." | 
|---|
 | 4396 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 4397 |          echo "------------------" | 
|---|
 | 4398 |          exit -1 | 
|---|
 | 4399 |     fi | 
|---|
 | 4400 |  | 
|---|
 | 4401 | # checking for mingw32 | 
|---|
 | 4402 |     echo "$as_me:$LINENO: checking for main in -lmingw32" >&5 | 
|---|
 | 4403 | echo $ECHO_N "checking for main in -lmingw32... $ECHO_C" >&6 | 
|---|
 | 4404 | if test "${ac_cv_lib_mingw32_main+set}" = set; then | 
|---|
| [1959] | 4405 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4406 | else | 
|---|
 | 4407 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4408 | LIBS="-lmingw32  $LIBS" | 
|---|
| [1959] | 4409 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4410 | /* confdefs.h.  */ | 
|---|
| [1956] | 4411 | _ACEOF | 
|---|
| [1959] | 4412 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4413 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4414 | /* end confdefs.h.  */ | 
|---|
| [1956] | 4415 |  | 
|---|
| [1971] | 4416 |  | 
|---|
| [1959] | 4417 | int | 
|---|
 | 4418 | main () | 
|---|
 | 4419 | { | 
|---|
| [1971] | 4420 | main (); | 
|---|
| [1959] | 4421 |   ; | 
|---|
 | 4422 |   return 0; | 
|---|
 | 4423 | } | 
|---|
 | 4424 | _ACEOF | 
|---|
 | 4425 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4426 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4427 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4428 |   ac_status=$? | 
|---|
 | 4429 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4430 |   rm -f conftest.er1 | 
|---|
 | 4431 |   cat conftest.err >&5 | 
|---|
 | 4432 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4433 |   (exit $ac_status); } && | 
|---|
 | 4434 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4435 |                          || test ! -s conftest.err' | 
|---|
 | 4436 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4437 |   (eval $ac_try) 2>&5 | 
|---|
 | 4438 |   ac_status=$? | 
|---|
 | 4439 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4440 |   (exit $ac_status); }; } && | 
|---|
 | 4441 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4442 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4443 |   (eval $ac_try) 2>&5 | 
|---|
 | 4444 |   ac_status=$? | 
|---|
 | 4445 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4446 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4447 |   ac_cv_lib_mingw32_main=yes | 
|---|
| [1959] | 4448 | else | 
|---|
 | 4449 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4450 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 4451 |  | 
|---|
| [2701] | 4452 | ac_cv_lib_mingw32_main=no | 
|---|
| [1956] | 4453 | fi | 
|---|
| [1959] | 4454 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4455 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4456 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4457 | fi | 
|---|
| [2701] | 4458 | echo "$as_me:$LINENO: result: $ac_cv_lib_mingw32_main" >&5 | 
|---|
 | 4459 | echo "${ECHO_T}$ac_cv_lib_mingw32_main" >&6 | 
|---|
 | 4460 | if test $ac_cv_lib_mingw32_main = yes; then | 
|---|
 | 4461 |   FOUND_mingw32=yes | 
|---|
| [1959] | 4462 | fi | 
|---|
| [1956] | 4463 |  | 
|---|
| [2701] | 4464 |     if test $FOUND_mingw32 = "yes"; then | 
|---|
 | 4465 |         LIBS="$LIBS -lmingw32" | 
|---|
 | 4466 |     fi | 
|---|
| [2989] | 4467 | # checking for SDL-headers | 
|---|
| [1959] | 4468 |  | 
|---|
| [2989] | 4469 | for ac_header in SDL/SDL.h | 
|---|
 | 4470 | do | 
|---|
 | 4471 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4472 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4473 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4474 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4475 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4476 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4477 | fi | 
|---|
 | 4478 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4479 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4480 | else | 
|---|
 | 4481 |   # Is the header compilable? | 
|---|
 | 4482 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4483 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4484 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4485 | /* confdefs.h.  */ | 
|---|
 | 4486 | _ACEOF | 
|---|
 | 4487 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4488 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4489 | /* end confdefs.h.  */ | 
|---|
 | 4490 | $ac_includes_default | 
|---|
 | 4491 | #include <$ac_header> | 
|---|
 | 4492 | _ACEOF | 
|---|
 | 4493 | rm -f conftest.$ac_objext | 
|---|
 | 4494 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4495 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4496 |   ac_status=$? | 
|---|
 | 4497 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4498 |   rm -f conftest.er1 | 
|---|
 | 4499 |   cat conftest.err >&5 | 
|---|
 | 4500 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4501 |   (exit $ac_status); } && | 
|---|
 | 4502 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4503 |                          || test ! -s conftest.err' | 
|---|
 | 4504 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4505 |   (eval $ac_try) 2>&5 | 
|---|
 | 4506 |   ac_status=$? | 
|---|
 | 4507 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4508 |   (exit $ac_status); }; } && | 
|---|
 | 4509 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4510 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4511 |   (eval $ac_try) 2>&5 | 
|---|
 | 4512 |   ac_status=$? | 
|---|
 | 4513 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4514 |   (exit $ac_status); }; }; then | 
|---|
 | 4515 |   ac_header_compiler=yes | 
|---|
 | 4516 | else | 
|---|
 | 4517 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4518 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4519 |  | 
|---|
 | 4520 | ac_header_compiler=no | 
|---|
 | 4521 | fi | 
|---|
 | 4522 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4523 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4524 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4525 |  | 
|---|
 | 4526 | # Is the header present? | 
|---|
 | 4527 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4528 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4529 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4530 | /* confdefs.h.  */ | 
|---|
 | 4531 | _ACEOF | 
|---|
 | 4532 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4533 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4534 | /* end confdefs.h.  */ | 
|---|
 | 4535 | #include <$ac_header> | 
|---|
 | 4536 | _ACEOF | 
|---|
 | 4537 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4538 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4539 |   ac_status=$? | 
|---|
 | 4540 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4541 |   rm -f conftest.er1 | 
|---|
 | 4542 |   cat conftest.err >&5 | 
|---|
 | 4543 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4544 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4545 |   if test -s conftest.err; then | 
|---|
 | 4546 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4547 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4548 |   else | 
|---|
 | 4549 |     ac_cpp_err= | 
|---|
 | 4550 |   fi | 
|---|
 | 4551 | else | 
|---|
 | 4552 |   ac_cpp_err=yes | 
|---|
 | 4553 | fi | 
|---|
 | 4554 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4555 |   ac_header_preproc=yes | 
|---|
 | 4556 | else | 
|---|
 | 4557 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4558 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4559 |  | 
|---|
 | 4560 |   ac_header_preproc=no | 
|---|
 | 4561 | fi | 
|---|
 | 4562 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4563 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4564 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4565 |  | 
|---|
 | 4566 | # So?  What about this header? | 
|---|
 | 4567 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4568 |   yes:no: ) | 
|---|
 | 4569 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4570 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4571 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4572 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4573 |     ac_header_preproc=yes | 
|---|
| [2701] | 4574 |     ;; | 
|---|
| [2989] | 4575 |   no:yes:* ) | 
|---|
 | 4576 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4577 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4578 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4579 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4580 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4581 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4582 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4583 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4584 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4585 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4586 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4587 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4588 |     ( | 
|---|
 | 4589 |       cat <<\_ASBOX | 
|---|
 | 4590 | ## ------------------------------------------- ## | 
|---|
 | 4591 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 4592 | ## ------------------------------------------- ## | 
|---|
 | 4593 | _ASBOX | 
|---|
 | 4594 |     ) | | 
|---|
 | 4595 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4596 |     ;; | 
|---|
 | 4597 | esac | 
|---|
 | 4598 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4599 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4600 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4601 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4602 | else | 
|---|
 | 4603 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4604 | fi | 
|---|
 | 4605 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4606 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2701] | 4607 |  | 
|---|
| [2989] | 4608 | fi | 
|---|
 | 4609 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4610 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4611 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4612 | _ACEOF | 
|---|
 | 4613 |  | 
|---|
 | 4614 | else | 
|---|
 | 4615 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 4616 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 4617 |    { (exit 1); exit 1; }; } | 
|---|
 | 4618 | fi | 
|---|
 | 4619 |  | 
|---|
 | 4620 | done | 
|---|
 | 4621 |  | 
|---|
 | 4622 |  | 
|---|
 | 4623 | #checking for libSDL | 
|---|
 | 4624 |     echo "$as_me:$LINENO: checking for main in -lsdlmain" >&5 | 
|---|
 | 4625 | echo $ECHO_N "checking for main in -lsdlmain... $ECHO_C" >&6 | 
|---|
 | 4626 | if test "${ac_cv_lib_sdlmain_main+set}" = set; then | 
|---|
 | 4627 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4628 | else | 
|---|
 | 4629 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4630 | LIBS="-lsdlmain  $LIBS" | 
|---|
 | 4631 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4632 | /* confdefs.h.  */ | 
|---|
 | 4633 | _ACEOF | 
|---|
 | 4634 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4635 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4636 | /* end confdefs.h.  */ | 
|---|
 | 4637 |  | 
|---|
 | 4638 |  | 
|---|
 | 4639 | int | 
|---|
 | 4640 | main () | 
|---|
 | 4641 | { | 
|---|
 | 4642 | main (); | 
|---|
 | 4643 |   ; | 
|---|
 | 4644 |   return 0; | 
|---|
 | 4645 | } | 
|---|
 | 4646 | _ACEOF | 
|---|
 | 4647 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4648 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4649 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4650 |   ac_status=$? | 
|---|
 | 4651 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4652 |   rm -f conftest.er1 | 
|---|
 | 4653 |   cat conftest.err >&5 | 
|---|
 | 4654 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4655 |   (exit $ac_status); } && | 
|---|
 | 4656 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4657 |                          || test ! -s conftest.err' | 
|---|
 | 4658 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4659 |   (eval $ac_try) 2>&5 | 
|---|
 | 4660 |   ac_status=$? | 
|---|
 | 4661 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4662 |   (exit $ac_status); }; } && | 
|---|
 | 4663 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4664 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4665 |   (eval $ac_try) 2>&5 | 
|---|
 | 4666 |   ac_status=$? | 
|---|
 | 4667 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4668 |   (exit $ac_status); }; }; then | 
|---|
 | 4669 |   ac_cv_lib_sdlmain_main=yes | 
|---|
 | 4670 | else | 
|---|
 | 4671 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4672 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4673 |  | 
|---|
 | 4674 | ac_cv_lib_sdlmain_main=no | 
|---|
 | 4675 | fi | 
|---|
 | 4676 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4677 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4678 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4679 | fi | 
|---|
 | 4680 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdlmain_main" >&5 | 
|---|
 | 4681 | echo "${ECHO_T}$ac_cv_lib_sdlmain_main" >&6 | 
|---|
 | 4682 | if test $ac_cv_lib_sdlmain_main = yes; then | 
|---|
 | 4683 |   FOUND_sdlmain=yes | 
|---|
 | 4684 | fi | 
|---|
 | 4685 |  | 
|---|
 | 4686 |     if test "$FOUND_sdlmain" = "yes" ; then | 
|---|
 | 4687 |        LIBS="$LIBS -lsdlmain" | 
|---|
 | 4688 |     else | 
|---|
 | 4689 |         echo "------------------" | 
|---|
 | 4690 |         echo "SDL library not found." | 
|---|
 | 4691 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 4692 |         echo "------------------" | 
|---|
 | 4693 |         exit 1 | 
|---|
 | 4694 |     fi | 
|---|
 | 4695 |     echo "$as_me:$LINENO: checking for main in -lsdl" >&5 | 
|---|
 | 4696 | echo $ECHO_N "checking for main in -lsdl... $ECHO_C" >&6 | 
|---|
 | 4697 | if test "${ac_cv_lib_sdl_main+set}" = set; then | 
|---|
 | 4698 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4699 | else | 
|---|
 | 4700 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 4701 | LIBS="-lsdl  $LIBS" | 
|---|
 | 4702 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4703 | /* confdefs.h.  */ | 
|---|
 | 4704 | _ACEOF | 
|---|
 | 4705 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4706 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4707 | /* end confdefs.h.  */ | 
|---|
 | 4708 |  | 
|---|
 | 4709 |  | 
|---|
 | 4710 | int | 
|---|
 | 4711 | main () | 
|---|
 | 4712 | { | 
|---|
 | 4713 | main (); | 
|---|
 | 4714 |   ; | 
|---|
 | 4715 |   return 0; | 
|---|
 | 4716 | } | 
|---|
 | 4717 | _ACEOF | 
|---|
 | 4718 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4719 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4720 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4721 |   ac_status=$? | 
|---|
 | 4722 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4723 |   rm -f conftest.er1 | 
|---|
 | 4724 |   cat conftest.err >&5 | 
|---|
 | 4725 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4726 |   (exit $ac_status); } && | 
|---|
 | 4727 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4728 |                          || test ! -s conftest.err' | 
|---|
 | 4729 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4730 |   (eval $ac_try) 2>&5 | 
|---|
 | 4731 |   ac_status=$? | 
|---|
 | 4732 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4733 |   (exit $ac_status); }; } && | 
|---|
 | 4734 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4735 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4736 |   (eval $ac_try) 2>&5 | 
|---|
 | 4737 |   ac_status=$? | 
|---|
 | 4738 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4739 |   (exit $ac_status); }; }; then | 
|---|
 | 4740 |   ac_cv_lib_sdl_main=yes | 
|---|
 | 4741 | else | 
|---|
 | 4742 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4743 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4744 |  | 
|---|
 | 4745 | ac_cv_lib_sdl_main=no | 
|---|
 | 4746 | fi | 
|---|
 | 4747 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4748 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4749 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4750 | fi | 
|---|
 | 4751 | echo "$as_me:$LINENO: result: $ac_cv_lib_sdl_main" >&5 | 
|---|
 | 4752 | echo "${ECHO_T}$ac_cv_lib_sdl_main" >&6 | 
|---|
 | 4753 | if test $ac_cv_lib_sdl_main = yes; then | 
|---|
 | 4754 |   FOUND_sdl=yes | 
|---|
 | 4755 | fi | 
|---|
 | 4756 |  | 
|---|
 | 4757 |     if test "$FOUND_sdl" = "yes" ; then | 
|---|
 | 4758 |        LIBS="$LIBS -lsdl" | 
|---|
 | 4759 |     else | 
|---|
 | 4760 |         echo "------------------" | 
|---|
 | 4761 |         echo "SDL library not found." | 
|---|
 | 4762 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 4763 |         echo "------------------" | 
|---|
 | 4764 |         exit -1 | 
|---|
 | 4765 |     fi | 
|---|
 | 4766 |  | 
|---|
 | 4767 |  | 
|---|
 | 4768 |     ;; | 
|---|
 | 4769 |  | 
|---|
| [2701] | 4770 | ### LINUX ### | 
|---|
| [2980] | 4771 |  *-*-linux*) | 
|---|
| [2701] | 4772 | echo "Linux detected" | 
|---|
| [1956] | 4773 |  | 
|---|
| [2701] | 4774 |  Linux="yes" | 
|---|
 | 4775 |  | 
|---|
| [2968] | 4776 | # checking gl header | 
|---|
| [2701] | 4777 |  | 
|---|
| [2879] | 4778 | for ac_header in GL/gl.h | 
|---|
 | 4779 | do | 
|---|
 | 4780 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 4781 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4782 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4783 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4784 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4785 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4786 | fi | 
|---|
 | 4787 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4788 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4789 | else | 
|---|
 | 4790 |   # Is the header compilable? | 
|---|
 | 4791 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 4792 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 4793 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4794 | /* confdefs.h.  */ | 
|---|
 | 4795 | _ACEOF | 
|---|
 | 4796 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4797 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4798 | /* end confdefs.h.  */ | 
|---|
 | 4799 | $ac_includes_default | 
|---|
 | 4800 | #include <$ac_header> | 
|---|
 | 4801 | _ACEOF | 
|---|
 | 4802 | rm -f conftest.$ac_objext | 
|---|
 | 4803 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 4804 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 4805 |   ac_status=$? | 
|---|
 | 4806 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4807 |   rm -f conftest.er1 | 
|---|
 | 4808 |   cat conftest.err >&5 | 
|---|
 | 4809 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4810 |   (exit $ac_status); } && | 
|---|
 | 4811 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4812 |                          || test ! -s conftest.err' | 
|---|
 | 4813 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4814 |   (eval $ac_try) 2>&5 | 
|---|
 | 4815 |   ac_status=$? | 
|---|
 | 4816 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4817 |   (exit $ac_status); }; } && | 
|---|
 | 4818 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 4819 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4820 |   (eval $ac_try) 2>&5 | 
|---|
 | 4821 |   ac_status=$? | 
|---|
 | 4822 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4823 |   (exit $ac_status); }; }; then | 
|---|
 | 4824 |   ac_header_compiler=yes | 
|---|
 | 4825 | else | 
|---|
 | 4826 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4827 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4828 |  | 
|---|
 | 4829 | ac_header_compiler=no | 
|---|
 | 4830 | fi | 
|---|
 | 4831 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 4832 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 4833 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 4834 |  | 
|---|
 | 4835 | # Is the header present? | 
|---|
 | 4836 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 4837 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 4838 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4839 | /* confdefs.h.  */ | 
|---|
 | 4840 | _ACEOF | 
|---|
 | 4841 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4842 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4843 | /* end confdefs.h.  */ | 
|---|
 | 4844 | #include <$ac_header> | 
|---|
 | 4845 | _ACEOF | 
|---|
 | 4846 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 4847 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 4848 |   ac_status=$? | 
|---|
 | 4849 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4850 |   rm -f conftest.er1 | 
|---|
 | 4851 |   cat conftest.err >&5 | 
|---|
 | 4852 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4853 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 4854 |   if test -s conftest.err; then | 
|---|
 | 4855 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 4856 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 4857 |   else | 
|---|
 | 4858 |     ac_cpp_err= | 
|---|
 | 4859 |   fi | 
|---|
 | 4860 | else | 
|---|
 | 4861 |   ac_cpp_err=yes | 
|---|
 | 4862 | fi | 
|---|
 | 4863 | if test -z "$ac_cpp_err"; then | 
|---|
 | 4864 |   ac_header_preproc=yes | 
|---|
 | 4865 | else | 
|---|
 | 4866 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4867 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4868 |  | 
|---|
 | 4869 |   ac_header_preproc=no | 
|---|
 | 4870 | fi | 
|---|
 | 4871 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 4872 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 4873 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 4874 |  | 
|---|
 | 4875 | # So?  What about this header? | 
|---|
 | 4876 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 4877 |   yes:no: ) | 
|---|
 | 4878 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 4879 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 4880 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 4881 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 4882 |     ac_header_preproc=yes | 
|---|
 | 4883 |     ;; | 
|---|
 | 4884 |   no:yes:* ) | 
|---|
 | 4885 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 4886 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 4887 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 4888 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 4889 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 4890 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 4891 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 4892 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 4893 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 4894 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 4895 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 4896 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 4897 |     ( | 
|---|
 | 4898 |       cat <<\_ASBOX | 
|---|
 | 4899 | ## ------------------------------------------- ## | 
|---|
 | 4900 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 4901 | ## ------------------------------------------- ## | 
|---|
 | 4902 | _ASBOX | 
|---|
 | 4903 |     ) | | 
|---|
 | 4904 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 4905 |     ;; | 
|---|
 | 4906 | esac | 
|---|
 | 4907 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 4908 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 4909 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 4910 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4911 | else | 
|---|
 | 4912 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 4913 | fi | 
|---|
 | 4914 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 4915 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 4916 |  | 
|---|
 | 4917 | fi | 
|---|
 | 4918 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 4919 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 4920 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 4921 | _ACEOF | 
|---|
 | 4922 |  | 
|---|
 | 4923 | else | 
|---|
 | 4924 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 4925 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 4926 |    { (exit 1); exit 1; }; } | 
|---|
 | 4927 | fi | 
|---|
 | 4928 |  | 
|---|
 | 4929 | done | 
|---|
 | 4930 |  | 
|---|
 | 4931 |  | 
|---|
| [2701] | 4932 | #  checking for Unix GL | 
|---|
 | 4933 |    echo "$as_me:$LINENO: checking for main in -lGL" >&5 | 
|---|
 | 4934 | echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 | 
|---|
 | 4935 | if test "${ac_cv_lib_GL_main+set}" = set; then | 
|---|
| [1956] | 4936 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 4937 | else | 
|---|
 | 4938 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 4939 | LIBS="-lGL  $LIBS" | 
|---|
| [1956] | 4940 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 4941 | /* confdefs.h.  */ | 
|---|
 | 4942 | _ACEOF | 
|---|
 | 4943 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 4944 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 4945 | /* end confdefs.h.  */ | 
|---|
 | 4946 |  | 
|---|
 | 4947 |  | 
|---|
 | 4948 | int | 
|---|
 | 4949 | main () | 
|---|
 | 4950 | { | 
|---|
 | 4951 | main (); | 
|---|
 | 4952 |   ; | 
|---|
 | 4953 |   return 0; | 
|---|
 | 4954 | } | 
|---|
 | 4955 | _ACEOF | 
|---|
 | 4956 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 4957 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 4958 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 4959 |   ac_status=$? | 
|---|
 | 4960 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 4961 |   rm -f conftest.er1 | 
|---|
 | 4962 |   cat conftest.err >&5 | 
|---|
 | 4963 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4964 |   (exit $ac_status); } && | 
|---|
 | 4965 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 4966 |                          || test ! -s conftest.err' | 
|---|
 | 4967 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4968 |   (eval $ac_try) 2>&5 | 
|---|
 | 4969 |   ac_status=$? | 
|---|
 | 4970 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4971 |   (exit $ac_status); }; } && | 
|---|
 | 4972 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 4973 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 4974 |   (eval $ac_try) 2>&5 | 
|---|
 | 4975 |   ac_status=$? | 
|---|
 | 4976 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 4977 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 4978 |   ac_cv_lib_GL_main=yes | 
|---|
| [1956] | 4979 | else | 
|---|
 | 4980 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 4981 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 4982 |  | 
|---|
| [2701] | 4983 | ac_cv_lib_GL_main=no | 
|---|
| [1956] | 4984 | fi | 
|---|
 | 4985 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 4986 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 4987 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 4988 | fi | 
|---|
| [2701] | 4989 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 | 
|---|
 | 4990 | echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 | 
|---|
 | 4991 | if test $ac_cv_lib_GL_main = yes; then | 
|---|
 | 4992 |   FOUND_GL=yes | 
|---|
 | 4993 | fi | 
|---|
 | 4994 |  | 
|---|
 | 4995 |    if test "$FOUND_GL" = "yes" ; then | 
|---|
 | 4996 |      LIBS="$LIBS -lGL" | 
|---|
 | 4997 |    else | 
|---|
 | 4998 |          echo "------------------" | 
|---|
 | 4999 |          echo "opengl not found." | 
|---|
 | 5000 |          echo "please install the opengl package which can be found at http://www.opengl.org" | 
|---|
 | 5001 |          echo "------------------" | 
|---|
 | 5002 |          exit -1 | 
|---|
 | 5003 |    fi | 
|---|
 | 5004 |  | 
|---|
 | 5005 | # cheking for GLU-header | 
|---|
 | 5006 |  | 
|---|
 | 5007 | for ac_header in GL/glu.h | 
|---|
 | 5008 | do | 
|---|
 | 5009 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5010 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5011 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5012 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5013 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5014 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5015 | fi | 
|---|
 | 5016 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5017 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5018 | else | 
|---|
 | 5019 |   # Is the header compilable? | 
|---|
 | 5020 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5021 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5022 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5023 | /* confdefs.h.  */ | 
|---|
| [1956] | 5024 | _ACEOF | 
|---|
| [2701] | 5025 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5026 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5027 | /* end confdefs.h.  */ | 
|---|
 | 5028 | $ac_includes_default | 
|---|
 | 5029 | #include <$ac_header> | 
|---|
 | 5030 | _ACEOF | 
|---|
 | 5031 | rm -f conftest.$ac_objext | 
|---|
 | 5032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5033 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5034 |   ac_status=$? | 
|---|
 | 5035 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5036 |   rm -f conftest.er1 | 
|---|
 | 5037 |   cat conftest.err >&5 | 
|---|
 | 5038 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5039 |   (exit $ac_status); } && | 
|---|
 | 5040 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5041 |                          || test ! -s conftest.err' | 
|---|
 | 5042 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5043 |   (eval $ac_try) 2>&5 | 
|---|
 | 5044 |   ac_status=$? | 
|---|
 | 5045 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5046 |   (exit $ac_status); }; } && | 
|---|
 | 5047 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5048 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5049 |   (eval $ac_try) 2>&5 | 
|---|
 | 5050 |   ac_status=$? | 
|---|
 | 5051 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5052 |   (exit $ac_status); }; }; then | 
|---|
 | 5053 |   ac_header_compiler=yes | 
|---|
 | 5054 | else | 
|---|
 | 5055 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5056 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5057 |  | 
|---|
| [2701] | 5058 | ac_header_compiler=no | 
|---|
 | 5059 | fi | 
|---|
 | 5060 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5061 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5062 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| [1956] | 5063 |  | 
|---|
| [2701] | 5064 | # Is the header present? | 
|---|
 | 5065 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5066 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5067 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5068 | /* confdefs.h.  */ | 
|---|
 | 5069 | _ACEOF | 
|---|
 | 5070 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5071 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5072 | /* end confdefs.h.  */ | 
|---|
 | 5073 | #include <$ac_header> | 
|---|
 | 5074 | _ACEOF | 
|---|
 | 5075 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5076 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5077 |   ac_status=$? | 
|---|
 | 5078 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5079 |   rm -f conftest.er1 | 
|---|
 | 5080 |   cat conftest.err >&5 | 
|---|
 | 5081 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5082 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5083 |   if test -s conftest.err; then | 
|---|
 | 5084 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5085 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5086 |   else | 
|---|
 | 5087 |     ac_cpp_err= | 
|---|
 | 5088 |   fi | 
|---|
 | 5089 | else | 
|---|
 | 5090 |   ac_cpp_err=yes | 
|---|
| [1956] | 5091 | fi | 
|---|
| [2701] | 5092 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5093 |   ac_header_preproc=yes | 
|---|
 | 5094 | else | 
|---|
 | 5095 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5096 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| [1956] | 5097 |  | 
|---|
| [2701] | 5098 |   ac_header_preproc=no | 
|---|
 | 5099 | fi | 
|---|
 | 5100 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5101 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5102 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| [1956] | 5103 |  | 
|---|
| [2701] | 5104 | # So?  What about this header? | 
|---|
 | 5105 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5106 |   yes:no: ) | 
|---|
 | 5107 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5108 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5109 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5110 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5111 |     ac_header_preproc=yes | 
|---|
 | 5112 |     ;; | 
|---|
 | 5113 |   no:yes:* ) | 
|---|
 | 5114 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5115 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5116 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5117 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5118 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5119 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5120 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5121 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5122 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5123 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5124 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5125 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5126 |     ( | 
|---|
 | 5127 |       cat <<\_ASBOX | 
|---|
 | 5128 | ## ------------------------------------------- ## | 
|---|
 | 5129 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 5130 | ## ------------------------------------------- ## | 
|---|
 | 5131 | _ASBOX | 
|---|
 | 5132 |     ) | | 
|---|
 | 5133 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5134 |     ;; | 
|---|
 | 5135 | esac | 
|---|
 | 5136 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5137 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5138 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5139 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5140 | else | 
|---|
| [2701] | 5141 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5142 | fi | 
|---|
 | 5143 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5144 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5145 |  | 
|---|
 | 5146 | fi | 
|---|
 | 5147 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5148 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5149 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5150 | _ACEOF | 
|---|
 | 5151 |  | 
|---|
 | 5152 | else | 
|---|
 | 5153 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5154 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5155 |    { (exit 1); exit 1; }; } | 
|---|
 | 5156 | fi | 
|---|
 | 5157 |  | 
|---|
 | 5158 | done | 
|---|
 | 5159 |  | 
|---|
 | 5160 |  | 
|---|
 | 5161 |     echo "$as_me:$LINENO: checking for gluProject in -lGLU" >&5 | 
|---|
 | 5162 | echo $ECHO_N "checking for gluProject in -lGLU... $ECHO_C" >&6 | 
|---|
 | 5163 | if test "${ac_cv_lib_GLU_gluProject+set}" = set; then | 
|---|
 | 5164 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5165 | else | 
|---|
| [2190] | 5166 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| [2701] | 5167 | LIBS="-lGLU  $LIBS" | 
|---|
| [2190] | 5168 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5169 | /* confdefs.h.  */ | 
|---|
 | 5170 | _ACEOF | 
|---|
 | 5171 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5172 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5173 | /* end confdefs.h.  */ | 
|---|
 | 5174 |  | 
|---|
| [2701] | 5175 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 5176 | #ifdef __cplusplus | 
|---|
 | 5177 | extern "C" | 
|---|
 | 5178 | #endif | 
|---|
 | 5179 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 5180 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 5181 | char gluProject (); | 
|---|
| [2190] | 5182 | int | 
|---|
 | 5183 | main () | 
|---|
 | 5184 | { | 
|---|
| [2701] | 5185 | gluProject (); | 
|---|
| [2190] | 5186 |   ; | 
|---|
 | 5187 |   return 0; | 
|---|
 | 5188 | } | 
|---|
 | 5189 | _ACEOF | 
|---|
 | 5190 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5191 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5192 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5193 |   ac_status=$? | 
|---|
 | 5194 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5195 |   rm -f conftest.er1 | 
|---|
 | 5196 |   cat conftest.err >&5 | 
|---|
 | 5197 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5198 |   (exit $ac_status); } && | 
|---|
 | 5199 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5200 |                          || test ! -s conftest.err' | 
|---|
 | 5201 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5202 |   (eval $ac_try) 2>&5 | 
|---|
 | 5203 |   ac_status=$? | 
|---|
 | 5204 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5205 |   (exit $ac_status); }; } && | 
|---|
 | 5206 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5207 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5208 |   (eval $ac_try) 2>&5 | 
|---|
 | 5209 |   ac_status=$? | 
|---|
 | 5210 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5211 |   (exit $ac_status); }; }; then | 
|---|
| [2701] | 5212 |   ac_cv_lib_GLU_gluProject=yes | 
|---|
| [2190] | 5213 | else | 
|---|
 | 5214 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5215 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5216 |  | 
|---|
| [2701] | 5217 | ac_cv_lib_GLU_gluProject=no | 
|---|
| [2190] | 5218 | fi | 
|---|
 | 5219 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5220 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5221 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5222 | fi | 
|---|
| [2701] | 5223 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluProject" >&5 | 
|---|
 | 5224 | echo "${ECHO_T}$ac_cv_lib_GLU_gluProject" >&6 | 
|---|
 | 5225 | if test $ac_cv_lib_GLU_gluProject = yes; then | 
|---|
 | 5226 |   FOUND_GLU=yes | 
|---|
| [2190] | 5227 | fi | 
|---|
 | 5228 |  | 
|---|
| [2701] | 5229 |     if test "$FOUND_GLU" = "yes" ; then | 
|---|
 | 5230 |       LIBS="$LIBS -lGLU" | 
|---|
 | 5231 |     else | 
|---|
 | 5232 |          echo "------------------" | 
|---|
 | 5233 |          echo "GLU library not found." | 
|---|
 | 5234 |          echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org" | 
|---|
 | 5235 |          echo "------------------" | 
|---|
 | 5236 |          exit -1 | 
|---|
 | 5237 |     fi | 
|---|
| [2995] | 5238 |  | 
|---|
| [2991] | 5239 | # checking for SDL-headers | 
|---|
| [2190] | 5240 |  | 
|---|
| [2991] | 5241 | for ac_header in SDL/SDL.h | 
|---|
 | 5242 | do | 
|---|
 | 5243 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5244 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5245 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5246 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5247 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| [2190] | 5248 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5249 | fi | 
|---|
| [2991] | 5250 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5251 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| [2190] | 5252 | else | 
|---|
| [2991] | 5253 |   # Is the header compilable? | 
|---|
 | 5254 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5255 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5256 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5257 | /* confdefs.h.  */ | 
|---|
 | 5258 | _ACEOF | 
|---|
 | 5259 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5260 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5261 | /* end confdefs.h.  */ | 
|---|
| [2991] | 5262 | $ac_includes_default | 
|---|
 | 5263 | #include <$ac_header> | 
|---|
| [2190] | 5264 | _ACEOF | 
|---|
| [2991] | 5265 | rm -f conftest.$ac_objext | 
|---|
 | 5266 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5267 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| [2190] | 5268 |   ac_status=$? | 
|---|
| [2991] | 5269 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5270 |   rm -f conftest.er1 | 
|---|
 | 5271 |   cat conftest.err >&5 | 
|---|
| [2190] | 5272 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5273 |   (exit $ac_status); } && | 
|---|
 | 5274 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5275 |                          || test ! -s conftest.err' | 
|---|
| [2190] | 5276 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5277 |   (eval $ac_try) 2>&5 | 
|---|
 | 5278 |   ac_status=$? | 
|---|
 | 5279 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2991] | 5280 |   (exit $ac_status); }; } && | 
|---|
 | 5281 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5282 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5283 |   (eval $ac_try) 2>&5 | 
|---|
 | 5284 |   ac_status=$? | 
|---|
 | 5285 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| [2190] | 5286 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5287 |   ac_header_compiler=yes | 
|---|
| [2190] | 5288 | else | 
|---|
| [2991] | 5289 |   echo "$as_me: failed program was:" >&5 | 
|---|
| [2190] | 5290 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5291 |  | 
|---|
| [2991] | 5292 | ac_header_compiler=no | 
|---|
| [2190] | 5293 | fi | 
|---|
| [2991] | 5294 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5295 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5296 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5297 |  | 
|---|
 | 5298 | # Is the header present? | 
|---|
 | 5299 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5300 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5301 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5302 | /* confdefs.h.  */ | 
|---|
 | 5303 | _ACEOF | 
|---|
 | 5304 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5305 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5306 | /* end confdefs.h.  */ | 
|---|
 | 5307 | #include <$ac_header> | 
|---|
 | 5308 | _ACEOF | 
|---|
 | 5309 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5310 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5311 |   ac_status=$? | 
|---|
 | 5312 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5313 |   rm -f conftest.er1 | 
|---|
 | 5314 |   cat conftest.err >&5 | 
|---|
 | 5315 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5316 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5317 |   if test -s conftest.err; then | 
|---|
 | 5318 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5319 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5320 |   else | 
|---|
 | 5321 |     ac_cpp_err= | 
|---|
 | 5322 |   fi | 
|---|
 | 5323 | else | 
|---|
 | 5324 |   ac_cpp_err=yes | 
|---|
| [2190] | 5325 | fi | 
|---|
| [2991] | 5326 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5327 |   ac_header_preproc=yes | 
|---|
 | 5328 | else | 
|---|
 | 5329 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5330 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5331 |  | 
|---|
 | 5332 |   ac_header_preproc=no | 
|---|
 | 5333 | fi | 
|---|
 | 5334 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5335 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5336 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5337 |  | 
|---|
 | 5338 | # So?  What about this header? | 
|---|
 | 5339 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5340 |   yes:no: ) | 
|---|
 | 5341 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5342 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5343 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5344 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5345 |     ac_header_preproc=yes | 
|---|
 | 5346 |     ;; | 
|---|
 | 5347 |   no:yes:* ) | 
|---|
 | 5348 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5349 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5350 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5351 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5352 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5353 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5354 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5355 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5356 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5357 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5358 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5359 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5360 |     ( | 
|---|
 | 5361 |       cat <<\_ASBOX | 
|---|
 | 5362 | ## ------------------------------------------- ## | 
|---|
 | 5363 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 5364 | ## ------------------------------------------- ## | 
|---|
 | 5365 | _ASBOX | 
|---|
 | 5366 |     ) | | 
|---|
 | 5367 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5368 |     ;; | 
|---|
 | 5369 | esac | 
|---|
 | 5370 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5371 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5372 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5373 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5374 | else | 
|---|
 | 5375 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5376 | fi | 
|---|
 | 5377 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5378 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5379 |  | 
|---|
 | 5380 | fi | 
|---|
 | 5381 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5382 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5383 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5384 | _ACEOF | 
|---|
 | 5385 |  | 
|---|
 | 5386 | else | 
|---|
 | 5387 |   { { echo "$as_me:$LINENO: error: cannot find SDL headers" >&5 | 
|---|
 | 5388 | echo "$as_me: error: cannot find SDL headers" >&2;} | 
|---|
 | 5389 |    { (exit 1); exit 1; }; } | 
|---|
 | 5390 | fi | 
|---|
 | 5391 |  | 
|---|
 | 5392 | done | 
|---|
 | 5393 |  | 
|---|
 | 5394 |  | 
|---|
| [2995] | 5395 | # checking for SDL-libs | 
|---|
| [2991] | 5396 |     echo "$as_me:$LINENO: checking for main in -lSDL" >&5 | 
|---|
 | 5397 | echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 | 
|---|
 | 5398 | if test "${ac_cv_lib_SDL_main+set}" = set; then | 
|---|
 | 5399 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5400 | else | 
|---|
 | 5401 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 5402 | LIBS="-lSDL  $LIBS" | 
|---|
 | 5403 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| [2190] | 5404 | /* confdefs.h.  */ | 
|---|
 | 5405 | _ACEOF | 
|---|
 | 5406 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5407 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5408 | /* end confdefs.h.  */ | 
|---|
 | 5409 |  | 
|---|
 | 5410 |  | 
|---|
 | 5411 | int | 
|---|
 | 5412 | main () | 
|---|
 | 5413 | { | 
|---|
| [2991] | 5414 | main (); | 
|---|
| [2190] | 5415 |   ; | 
|---|
 | 5416 |   return 0; | 
|---|
 | 5417 | } | 
|---|
 | 5418 | _ACEOF | 
|---|
 | 5419 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5420 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5421 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5422 |   ac_status=$? | 
|---|
 | 5423 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5424 |   rm -f conftest.er1 | 
|---|
 | 5425 |   cat conftest.err >&5 | 
|---|
 | 5426 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5427 |   (exit $ac_status); } && | 
|---|
 | 5428 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5429 |                          || test ! -s conftest.err' | 
|---|
 | 5430 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5431 |   (eval $ac_try) 2>&5 | 
|---|
 | 5432 |   ac_status=$? | 
|---|
 | 5433 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5434 |   (exit $ac_status); }; } && | 
|---|
 | 5435 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5436 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5437 |   (eval $ac_try) 2>&5 | 
|---|
 | 5438 |   ac_status=$? | 
|---|
 | 5439 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5440 |   (exit $ac_status); }; }; then | 
|---|
| [2991] | 5441 |   ac_cv_lib_SDL_main=yes | 
|---|
| [2190] | 5442 | else | 
|---|
 | 5443 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5444 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5445 |  | 
|---|
| [2991] | 5446 | ac_cv_lib_SDL_main=no | 
|---|
| [2190] | 5447 | fi | 
|---|
 | 5448 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5449 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| [2991] | 5450 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5451 | fi | 
|---|
 | 5452 | echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 | 
|---|
 | 5453 | echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 | 
|---|
 | 5454 | if test $ac_cv_lib_SDL_main = yes; then | 
|---|
 | 5455 |   FOUND_SDL=yes | 
|---|
 | 5456 | fi | 
|---|
 | 5457 |  | 
|---|
 | 5458 |      if test "$FOUND_SDL" = "yes" ; then | 
|---|
 | 5459 |        LIBS="$LIBS -lSDL" | 
|---|
 | 5460 |      else | 
|---|
 | 5461 |         echo "------------------" | 
|---|
 | 5462 |         echo "SDL library not found." | 
|---|
 | 5463 |         echo "please install the SDL library, which can be found at http://www.libsdl.org" | 
|---|
 | 5464 |         echo "------------------" | 
|---|
 | 5465 |         exit -1 | 
|---|
| [2980] | 5466 |      fi | 
|---|
| [2701] | 5467 |  | 
|---|
| [2991] | 5468 | ## checking for SDL | 
|---|
 | 5469 | #    SDL_VERSION=1.2.7 | 
|---|
 | 5470 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 5471 | #      :, | 
|---|
 | 5472 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 5473 | #      ) | 
|---|
 | 5474 | #    CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 5475 | #    LIBS="$LIBS $SDL_LIBS" | 
|---|
| [2989] | 5476 |     ;; | 
|---|
| [2995] | 5477 |  | 
|---|
 | 5478 | ### OS X ### | 
|---|
 | 5479 |  *darwin*) | 
|---|
 | 5480 | echo "OS X detected" | 
|---|
 | 5481 |  | 
|---|
 | 5482 |  osX="yes" | 
|---|
 | 5483 |  | 
|---|
 | 5484 | # checking gl header | 
|---|
 | 5485 |  | 
|---|
 | 5486 | for ac_header in OpenGL/gl.h | 
|---|
 | 5487 | do | 
|---|
 | 5488 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5489 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5490 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5491 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5492 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5493 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5494 | fi | 
|---|
 | 5495 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5496 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5497 | else | 
|---|
 | 5498 |   # Is the header compilable? | 
|---|
 | 5499 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5500 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5501 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5502 | /* confdefs.h.  */ | 
|---|
 | 5503 | _ACEOF | 
|---|
 | 5504 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5505 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5506 | /* end confdefs.h.  */ | 
|---|
 | 5507 | $ac_includes_default | 
|---|
 | 5508 | #include <$ac_header> | 
|---|
 | 5509 | _ACEOF | 
|---|
 | 5510 | rm -f conftest.$ac_objext | 
|---|
 | 5511 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5512 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5513 |   ac_status=$? | 
|---|
 | 5514 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5515 |   rm -f conftest.er1 | 
|---|
 | 5516 |   cat conftest.err >&5 | 
|---|
 | 5517 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5518 |   (exit $ac_status); } && | 
|---|
 | 5519 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5520 |                          || test ! -s conftest.err' | 
|---|
 | 5521 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5522 |   (eval $ac_try) 2>&5 | 
|---|
 | 5523 |   ac_status=$? | 
|---|
 | 5524 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5525 |   (exit $ac_status); }; } && | 
|---|
 | 5526 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5527 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5528 |   (eval $ac_try) 2>&5 | 
|---|
 | 5529 |   ac_status=$? | 
|---|
 | 5530 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5531 |   (exit $ac_status); }; }; then | 
|---|
 | 5532 |   ac_header_compiler=yes | 
|---|
 | 5533 | else | 
|---|
 | 5534 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5535 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5536 |  | 
|---|
 | 5537 | ac_header_compiler=no | 
|---|
 | 5538 | fi | 
|---|
 | 5539 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5540 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5541 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5542 |  | 
|---|
 | 5543 | # Is the header present? | 
|---|
 | 5544 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5545 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5546 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5547 | /* confdefs.h.  */ | 
|---|
 | 5548 | _ACEOF | 
|---|
 | 5549 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5550 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5551 | /* end confdefs.h.  */ | 
|---|
 | 5552 | #include <$ac_header> | 
|---|
 | 5553 | _ACEOF | 
|---|
 | 5554 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5555 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5556 |   ac_status=$? | 
|---|
 | 5557 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5558 |   rm -f conftest.er1 | 
|---|
 | 5559 |   cat conftest.err >&5 | 
|---|
 | 5560 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5561 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5562 |   if test -s conftest.err; then | 
|---|
 | 5563 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5564 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5565 |   else | 
|---|
 | 5566 |     ac_cpp_err= | 
|---|
 | 5567 |   fi | 
|---|
 | 5568 | else | 
|---|
 | 5569 |   ac_cpp_err=yes | 
|---|
 | 5570 | fi | 
|---|
 | 5571 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5572 |   ac_header_preproc=yes | 
|---|
 | 5573 | else | 
|---|
 | 5574 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5575 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5576 |  | 
|---|
 | 5577 |   ac_header_preproc=no | 
|---|
 | 5578 | fi | 
|---|
 | 5579 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5580 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5581 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5582 |  | 
|---|
 | 5583 | # So?  What about this header? | 
|---|
 | 5584 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5585 |   yes:no: ) | 
|---|
 | 5586 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5587 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5588 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5589 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5590 |     ac_header_preproc=yes | 
|---|
 | 5591 |     ;; | 
|---|
 | 5592 |   no:yes:* ) | 
|---|
 | 5593 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5594 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5595 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5596 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5597 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5598 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5599 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5600 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5601 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5602 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5603 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5604 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5605 |     ( | 
|---|
 | 5606 |       cat <<\_ASBOX | 
|---|
 | 5607 | ## ------------------------------------------- ## | 
|---|
 | 5608 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 5609 | ## ------------------------------------------- ## | 
|---|
 | 5610 | _ASBOX | 
|---|
 | 5611 |     ) | | 
|---|
 | 5612 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5613 |     ;; | 
|---|
 | 5614 | esac | 
|---|
 | 5615 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5616 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5617 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5618 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5619 | else | 
|---|
 | 5620 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5621 | fi | 
|---|
 | 5622 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5623 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5624 |  | 
|---|
 | 5625 | fi | 
|---|
 | 5626 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5627 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5628 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5629 | _ACEOF | 
|---|
 | 5630 |  | 
|---|
 | 5631 | else | 
|---|
 | 5632 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5633 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5634 |    { (exit 1); exit 1; }; } | 
|---|
 | 5635 | fi | 
|---|
 | 5636 |  | 
|---|
 | 5637 | done | 
|---|
 | 5638 |  | 
|---|
 | 5639 | # cheking for GLU-header | 
|---|
 | 5640 |  | 
|---|
 | 5641 | for ac_header in OpenGL/glu.h | 
|---|
 | 5642 | do | 
|---|
 | 5643 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 5644 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5645 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5646 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5647 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5648 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5649 | fi | 
|---|
 | 5650 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5651 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5652 | else | 
|---|
 | 5653 |   # Is the header compilable? | 
|---|
 | 5654 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 5655 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 5656 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5657 | /* confdefs.h.  */ | 
|---|
 | 5658 | _ACEOF | 
|---|
 | 5659 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5660 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5661 | /* end confdefs.h.  */ | 
|---|
 | 5662 | $ac_includes_default | 
|---|
 | 5663 | #include <$ac_header> | 
|---|
 | 5664 | _ACEOF | 
|---|
 | 5665 | rm -f conftest.$ac_objext | 
|---|
 | 5666 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 5667 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 5668 |   ac_status=$? | 
|---|
 | 5669 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5670 |   rm -f conftest.er1 | 
|---|
 | 5671 |   cat conftest.err >&5 | 
|---|
 | 5672 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5673 |   (exit $ac_status); } && | 
|---|
 | 5674 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5675 |                          || test ! -s conftest.err' | 
|---|
 | 5676 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5677 |   (eval $ac_try) 2>&5 | 
|---|
 | 5678 |   ac_status=$? | 
|---|
 | 5679 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5680 |   (exit $ac_status); }; } && | 
|---|
 | 5681 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 5682 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5683 |   (eval $ac_try) 2>&5 | 
|---|
 | 5684 |   ac_status=$? | 
|---|
 | 5685 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5686 |   (exit $ac_status); }; }; then | 
|---|
 | 5687 |   ac_header_compiler=yes | 
|---|
 | 5688 | else | 
|---|
 | 5689 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5690 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5691 |  | 
|---|
 | 5692 | ac_header_compiler=no | 
|---|
 | 5693 | fi | 
|---|
 | 5694 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 5695 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 5696 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 5697 |  | 
|---|
 | 5698 | # Is the header present? | 
|---|
 | 5699 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 5700 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 5701 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5702 | /* confdefs.h.  */ | 
|---|
 | 5703 | _ACEOF | 
|---|
 | 5704 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5705 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5706 | /* end confdefs.h.  */ | 
|---|
 | 5707 | #include <$ac_header> | 
|---|
 | 5708 | _ACEOF | 
|---|
 | 5709 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 5710 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 5711 |   ac_status=$? | 
|---|
 | 5712 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5713 |   rm -f conftest.er1 | 
|---|
 | 5714 |   cat conftest.err >&5 | 
|---|
 | 5715 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5716 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 5717 |   if test -s conftest.err; then | 
|---|
 | 5718 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 5719 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 5720 |   else | 
|---|
 | 5721 |     ac_cpp_err= | 
|---|
 | 5722 |   fi | 
|---|
 | 5723 | else | 
|---|
 | 5724 |   ac_cpp_err=yes | 
|---|
 | 5725 | fi | 
|---|
 | 5726 | if test -z "$ac_cpp_err"; then | 
|---|
 | 5727 |   ac_header_preproc=yes | 
|---|
 | 5728 | else | 
|---|
 | 5729 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5730 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5731 |  | 
|---|
 | 5732 |   ac_header_preproc=no | 
|---|
 | 5733 | fi | 
|---|
 | 5734 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 5735 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 5736 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 5737 |  | 
|---|
 | 5738 | # So?  What about this header? | 
|---|
 | 5739 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 5740 |   yes:no: ) | 
|---|
 | 5741 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 5742 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 5743 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 5744 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 5745 |     ac_header_preproc=yes | 
|---|
 | 5746 |     ;; | 
|---|
 | 5747 |   no:yes:* ) | 
|---|
 | 5748 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 5749 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 5750 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 5751 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 5752 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 5753 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 5754 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 5755 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 5756 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 5757 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 5758 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 5759 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 5760 |     ( | 
|---|
 | 5761 |       cat <<\_ASBOX | 
|---|
 | 5762 | ## ------------------------------------------- ## | 
|---|
 | 5763 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 5764 | ## ------------------------------------------- ## | 
|---|
 | 5765 | _ASBOX | 
|---|
 | 5766 |     ) | | 
|---|
 | 5767 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 5768 |     ;; | 
|---|
 | 5769 | esac | 
|---|
 | 5770 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 5771 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 5772 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 5773 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5774 | else | 
|---|
 | 5775 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 5776 | fi | 
|---|
 | 5777 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 5778 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 5779 |  | 
|---|
 | 5780 | fi | 
|---|
 | 5781 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 5782 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5783 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 5784 | _ACEOF | 
|---|
 | 5785 |  | 
|---|
 | 5786 | else | 
|---|
 | 5787 |   { { echo "$as_me:$LINENO: error: cannot find opengl headers" >&5 | 
|---|
 | 5788 | echo "$as_me: error: cannot find opengl headers" >&2;} | 
|---|
 | 5789 |    { (exit 1); exit 1; }; } | 
|---|
 | 5790 | fi | 
|---|
 | 5791 |  | 
|---|
 | 5792 | done | 
|---|
 | 5793 |  | 
|---|
 | 5794 |  | 
|---|
 | 5795 |    LIBS="$LIBS -framework OpenGL" | 
|---|
 | 5796 |  | 
|---|
 | 5797 | # checking for SDL-headers | 
|---|
| [3001] | 5798 | #    AC_CHECK_HEADERS(SDL/SDL.h ,, | 
|---|
 | 5799 | #      [AC_MSG_ERROR([cannot find SDL headers]) ]) | 
|---|
| [2995] | 5800 |  | 
|---|
 | 5801 | ## checking for SDL | 
|---|
 | 5802 | #    SDL_VERSION=1.2.7 | 
|---|
 | 5803 | #    AM_PATH_SDL($SDL_VERSION, | 
|---|
 | 5804 | #      :, | 
|---|
 | 5805 | #      AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) | 
|---|
 | 5806 | #      ) | 
|---|
 | 5807 |  | 
|---|
 | 5808 |        SDL_CFLAGS=`sdl-config --cflags` | 
|---|
 | 5809 |        SDL_LIBS=`sdl-config --libs` | 
|---|
 | 5810 |        CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" | 
|---|
 | 5811 |        LIBS="$LIBS $SDL_LIBS" | 
|---|
 | 5812 |     ;; | 
|---|
 | 5813 |  | 
|---|
| [2989] | 5814 |   *) | 
|---|
 | 5815 |     ;; | 
|---|
 | 5816 | esac | 
|---|
| [2980] | 5817 |  | 
|---|
| [2981] | 5818 |  | 
|---|
| [2989] | 5819 |  | 
|---|
 | 5820 |  | 
|---|
 | 5821 |  | 
|---|
 | 5822 |  | 
|---|
| [2980] | 5823 | ## checking for GTK | 
|---|
| [3100] | 5824 | if test "$def_gtk" = yes; then | 
|---|
 | 5825 |  | 
|---|
 | 5826 |         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no) | 
|---|
 | 5827 |         echo "$as_me:$LINENO: checking for gtk2.0" >&5 | 
|---|
| [3099] | 5828 | echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6 | 
|---|
| [3100] | 5829 |         if `pkg-config --exists gtk+-2.0`; then | 
|---|
 | 5830 |                 echo "yes" | 
|---|
 | 5831 |                 have_gtk2=yes | 
|---|
 | 5832 |                 GTK2_LIBS=`pkg-config --libs gtk+-2.0` | 
|---|
 | 5833 |                 GTK2_CFLAGS=`pkg-config --cflags gtk+-2.0` | 
|---|
| [3101] | 5834 |  | 
|---|
 | 5835 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 5836 | #define HAVE_GTK2 1 | 
|---|
 | 5837 | _ACEOF | 
|---|
 | 5838 |  | 
|---|
| [3100] | 5839 |         else | 
|---|
 | 5840 |                 echo "no" | 
|---|
 | 5841 |         fi | 
|---|
 | 5842 |  | 
|---|
| [2980] | 5843 | fi | 
|---|
| [2190] | 5844 |  | 
|---|
| [2701] | 5845 |  | 
|---|
 | 5846 |  | 
|---|
| [2190] | 5847 |  | 
|---|
| [3100] | 5848 | if test x$have_gtk2 = xyes; then | 
|---|
| [2980] | 5849 |   HAVE_GTK2_TRUE= | 
|---|
 | 5850 |   HAVE_GTK2_FALSE='#' | 
|---|
 | 5851 | else | 
|---|
 | 5852 |   HAVE_GTK2_TRUE='#' | 
|---|
 | 5853 |   HAVE_GTK2_FALSE= | 
|---|
 | 5854 | fi | 
|---|
 | 5855 |  | 
|---|
 | 5856 |  | 
|---|
 | 5857 |  | 
|---|
| [3100] | 5858 |  | 
|---|
| [2190] | 5859 | #checking for pthread libs | 
|---|
| [2968] | 5860 |  echo "$as_me:$LINENO: checking for main in -lpthread" >&5 | 
|---|
| [2190] | 5861 | echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6 | 
|---|
 | 5862 | if test "${ac_cv_lib_pthread_main+set}" = set; then | 
|---|
 | 5863 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5864 | else | 
|---|
 | 5865 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 5866 | LIBS="-lpthread  $LIBS" | 
|---|
 | 5867 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5868 | /* confdefs.h.  */ | 
|---|
 | 5869 | _ACEOF | 
|---|
 | 5870 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5871 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5872 | /* end confdefs.h.  */ | 
|---|
 | 5873 |  | 
|---|
 | 5874 |  | 
|---|
 | 5875 | int | 
|---|
 | 5876 | main () | 
|---|
 | 5877 | { | 
|---|
 | 5878 | main (); | 
|---|
 | 5879 |   ; | 
|---|
 | 5880 |   return 0; | 
|---|
 | 5881 | } | 
|---|
 | 5882 | _ACEOF | 
|---|
 | 5883 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5884 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5885 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5886 |   ac_status=$? | 
|---|
 | 5887 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5888 |   rm -f conftest.er1 | 
|---|
 | 5889 |   cat conftest.err >&5 | 
|---|
 | 5890 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5891 |   (exit $ac_status); } && | 
|---|
 | 5892 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5893 |                          || test ! -s conftest.err' | 
|---|
 | 5894 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5895 |   (eval $ac_try) 2>&5 | 
|---|
 | 5896 |   ac_status=$? | 
|---|
 | 5897 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5898 |   (exit $ac_status); }; } && | 
|---|
 | 5899 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5900 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5901 |   (eval $ac_try) 2>&5 | 
|---|
 | 5902 |   ac_status=$? | 
|---|
 | 5903 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5904 |   (exit $ac_status); }; }; then | 
|---|
 | 5905 |   ac_cv_lib_pthread_main=yes | 
|---|
 | 5906 | else | 
|---|
 | 5907 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5908 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5909 |  | 
|---|
 | 5910 | ac_cv_lib_pthread_main=no | 
|---|
 | 5911 | fi | 
|---|
 | 5912 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5913 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5914 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5915 | fi | 
|---|
 | 5916 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5 | 
|---|
 | 5917 | echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6 | 
|---|
 | 5918 | if test $ac_cv_lib_pthread_main = yes; then | 
|---|
 | 5919 |   FOUND_pthread=yes | 
|---|
 | 5920 | fi | 
|---|
 | 5921 |  | 
|---|
| [2968] | 5922 |  if test "$FOUND_pthread" = "yes" ; then | 
|---|
| [2190] | 5923 |     LIBS="$LIBS -lpthread" | 
|---|
| [2968] | 5924 |  fi | 
|---|
| [2190] | 5925 |  | 
|---|
 | 5926 |  | 
|---|
| [1956] | 5927 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
 | 5928 |  | 
|---|
 | 5929 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
 | 5930 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
 | 5931 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
 | 5932 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 5933 | else | 
|---|
 | 5934 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
 | 5935 | LIBS="-lm  $LIBS" | 
|---|
 | 5936 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 5937 | /* confdefs.h.  */ | 
|---|
 | 5938 | _ACEOF | 
|---|
 | 5939 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 5940 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 5941 | /* end confdefs.h.  */ | 
|---|
 | 5942 |  | 
|---|
 | 5943 |  | 
|---|
 | 5944 | int | 
|---|
 | 5945 | main () | 
|---|
 | 5946 | { | 
|---|
 | 5947 | main (); | 
|---|
 | 5948 |   ; | 
|---|
 | 5949 |   return 0; | 
|---|
 | 5950 | } | 
|---|
 | 5951 | _ACEOF | 
|---|
 | 5952 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 5953 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 5954 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 5955 |   ac_status=$? | 
|---|
 | 5956 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 5957 |   rm -f conftest.er1 | 
|---|
 | 5958 |   cat conftest.err >&5 | 
|---|
 | 5959 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5960 |   (exit $ac_status); } && | 
|---|
 | 5961 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 5962 |                          || test ! -s conftest.err' | 
|---|
 | 5963 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5964 |   (eval $ac_try) 2>&5 | 
|---|
 | 5965 |   ac_status=$? | 
|---|
 | 5966 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5967 |   (exit $ac_status); }; } && | 
|---|
 | 5968 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 5969 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 5970 |   (eval $ac_try) 2>&5 | 
|---|
 | 5971 |   ac_status=$? | 
|---|
 | 5972 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 5973 |   (exit $ac_status); }; }; then | 
|---|
 | 5974 |   ac_cv_lib_m_main=yes | 
|---|
 | 5975 | else | 
|---|
 | 5976 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 5977 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 5978 |  | 
|---|
 | 5979 | ac_cv_lib_m_main=no | 
|---|
 | 5980 | fi | 
|---|
 | 5981 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 5982 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 5983 | LIBS=$ac_check_lib_save_LIBS | 
|---|
 | 5984 | fi | 
|---|
 | 5985 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
 | 5986 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
 | 5987 | if test $ac_cv_lib_m_main = yes; then | 
|---|
 | 5988 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 5989 | #define HAVE_LIBM 1 | 
|---|
 | 5990 | _ACEOF | 
|---|
 | 5991 |  | 
|---|
 | 5992 |   LIBS="-lm $LIBS" | 
|---|
 | 5993 |  | 
|---|
 | 5994 | fi | 
|---|
 | 5995 |  | 
|---|
 | 5996 |  | 
|---|
| [2018] | 5997 |  | 
|---|
| [1956] | 5998 | # Checks for header files. | 
|---|
 | 5999 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
 | 6000 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
 | 6001 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
 | 6002 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6003 | else | 
|---|
 | 6004 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6005 | /* confdefs.h.  */ | 
|---|
 | 6006 | _ACEOF | 
|---|
 | 6007 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6008 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6009 | /* end confdefs.h.  */ | 
|---|
 | 6010 | #include <stdlib.h> | 
|---|
 | 6011 | #include <stdarg.h> | 
|---|
 | 6012 | #include <string.h> | 
|---|
 | 6013 | #include <float.h> | 
|---|
 | 6014 |  | 
|---|
 | 6015 | int | 
|---|
 | 6016 | main () | 
|---|
 | 6017 | { | 
|---|
 | 6018 |  | 
|---|
 | 6019 |   ; | 
|---|
 | 6020 |   return 0; | 
|---|
 | 6021 | } | 
|---|
 | 6022 | _ACEOF | 
|---|
 | 6023 | rm -f conftest.$ac_objext | 
|---|
 | 6024 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6025 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6026 |   ac_status=$? | 
|---|
 | 6027 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6028 |   rm -f conftest.er1 | 
|---|
 | 6029 |   cat conftest.err >&5 | 
|---|
 | 6030 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6031 |   (exit $ac_status); } && | 
|---|
 | 6032 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6033 |                          || test ! -s conftest.err' | 
|---|
 | 6034 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6035 |   (eval $ac_try) 2>&5 | 
|---|
 | 6036 |   ac_status=$? | 
|---|
 | 6037 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6038 |   (exit $ac_status); }; } && | 
|---|
 | 6039 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6040 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6041 |   (eval $ac_try) 2>&5 | 
|---|
 | 6042 |   ac_status=$? | 
|---|
 | 6043 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6044 |   (exit $ac_status); }; }; then | 
|---|
 | 6045 |   ac_cv_header_stdc=yes | 
|---|
 | 6046 | else | 
|---|
 | 6047 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6048 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6049 |  | 
|---|
 | 6050 | ac_cv_header_stdc=no | 
|---|
 | 6051 | fi | 
|---|
 | 6052 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6053 |  | 
|---|
 | 6054 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 6055 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
 | 6056 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6057 | /* confdefs.h.  */ | 
|---|
 | 6058 | _ACEOF | 
|---|
 | 6059 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6060 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6061 | /* end confdefs.h.  */ | 
|---|
 | 6062 | #include <string.h> | 
|---|
 | 6063 |  | 
|---|
 | 6064 | _ACEOF | 
|---|
 | 6065 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 6066 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
 | 6067 |   : | 
|---|
 | 6068 | else | 
|---|
 | 6069 |   ac_cv_header_stdc=no | 
|---|
 | 6070 | fi | 
|---|
 | 6071 | rm -f conftest* | 
|---|
 | 6072 |  | 
|---|
 | 6073 | fi | 
|---|
 | 6074 |  | 
|---|
 | 6075 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 6076 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
 | 6077 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6078 | /* confdefs.h.  */ | 
|---|
 | 6079 | _ACEOF | 
|---|
 | 6080 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6081 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6082 | /* end confdefs.h.  */ | 
|---|
 | 6083 | #include <stdlib.h> | 
|---|
 | 6084 |  | 
|---|
 | 6085 | _ACEOF | 
|---|
 | 6086 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
 | 6087 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
 | 6088 |   : | 
|---|
 | 6089 | else | 
|---|
 | 6090 |   ac_cv_header_stdc=no | 
|---|
 | 6091 | fi | 
|---|
 | 6092 | rm -f conftest* | 
|---|
 | 6093 |  | 
|---|
 | 6094 | fi | 
|---|
 | 6095 |  | 
|---|
 | 6096 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 6097 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
 | 6098 |   if test "$cross_compiling" = yes; then | 
|---|
 | 6099 |   : | 
|---|
 | 6100 | else | 
|---|
 | 6101 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6102 | /* confdefs.h.  */ | 
|---|
 | 6103 | _ACEOF | 
|---|
 | 6104 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6105 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6106 | /* end confdefs.h.  */ | 
|---|
 | 6107 | #include <ctype.h> | 
|---|
 | 6108 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
 | 6109 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
 | 6110 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
 | 6111 | #else | 
|---|
 | 6112 | # define ISLOWER(c) \ | 
|---|
 | 6113 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
 | 6114 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
 | 6115 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
 | 6116 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
 | 6117 | #endif | 
|---|
 | 6118 |  | 
|---|
 | 6119 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
 | 6120 | int | 
|---|
 | 6121 | main () | 
|---|
 | 6122 | { | 
|---|
 | 6123 |   int i; | 
|---|
 | 6124 |   for (i = 0; i < 256; i++) | 
|---|
 | 6125 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
 | 6126 |         || toupper (i) != TOUPPER (i)) | 
|---|
 | 6127 |       exit(2); | 
|---|
 | 6128 |   exit (0); | 
|---|
 | 6129 | } | 
|---|
 | 6130 | _ACEOF | 
|---|
 | 6131 | rm -f conftest$ac_exeext | 
|---|
 | 6132 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6133 |   (eval $ac_link) 2>&5 | 
|---|
 | 6134 |   ac_status=$? | 
|---|
 | 6135 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6136 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 6137 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6138 |   (eval $ac_try) 2>&5 | 
|---|
 | 6139 |   ac_status=$? | 
|---|
 | 6140 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6141 |   (exit $ac_status); }; }; then | 
|---|
 | 6142 |   : | 
|---|
 | 6143 | else | 
|---|
 | 6144 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 6145 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 6146 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6147 |  | 
|---|
 | 6148 | ( exit $ac_status ) | 
|---|
 | 6149 | ac_cv_header_stdc=no | 
|---|
 | 6150 | fi | 
|---|
 | 6151 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6152 | fi | 
|---|
 | 6153 | fi | 
|---|
 | 6154 | fi | 
|---|
 | 6155 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
 | 6156 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
 | 6157 | if test $ac_cv_header_stdc = yes; then | 
|---|
 | 6158 |  | 
|---|
 | 6159 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 6160 | #define STDC_HEADERS 1 | 
|---|
 | 6161 | _ACEOF | 
|---|
 | 6162 |  | 
|---|
 | 6163 | fi | 
|---|
 | 6164 |  | 
|---|
 | 6165 |  | 
|---|
 | 6166 |  | 
|---|
 | 6167 | for ac_header in stdlib.h string.h | 
|---|
 | 6168 | do | 
|---|
 | 6169 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6170 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6171 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6172 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6173 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6174 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6175 | fi | 
|---|
 | 6176 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6177 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6178 | else | 
|---|
 | 6179 |   # Is the header compilable? | 
|---|
 | 6180 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6181 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6182 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6183 | /* confdefs.h.  */ | 
|---|
 | 6184 | _ACEOF | 
|---|
 | 6185 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6186 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6187 | /* end confdefs.h.  */ | 
|---|
 | 6188 | $ac_includes_default | 
|---|
 | 6189 | #include <$ac_header> | 
|---|
 | 6190 | _ACEOF | 
|---|
 | 6191 | rm -f conftest.$ac_objext | 
|---|
 | 6192 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6193 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6194 |   ac_status=$? | 
|---|
 | 6195 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6196 |   rm -f conftest.er1 | 
|---|
 | 6197 |   cat conftest.err >&5 | 
|---|
 | 6198 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6199 |   (exit $ac_status); } && | 
|---|
 | 6200 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6201 |                          || test ! -s conftest.err' | 
|---|
 | 6202 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6203 |   (eval $ac_try) 2>&5 | 
|---|
 | 6204 |   ac_status=$? | 
|---|
 | 6205 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6206 |   (exit $ac_status); }; } && | 
|---|
 | 6207 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6208 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6209 |   (eval $ac_try) 2>&5 | 
|---|
 | 6210 |   ac_status=$? | 
|---|
 | 6211 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6212 |   (exit $ac_status); }; }; then | 
|---|
 | 6213 |   ac_header_compiler=yes | 
|---|
 | 6214 | else | 
|---|
 | 6215 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6216 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6217 |  | 
|---|
 | 6218 | ac_header_compiler=no | 
|---|
 | 6219 | fi | 
|---|
 | 6220 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6221 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6222 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6223 |  | 
|---|
 | 6224 | # Is the header present? | 
|---|
 | 6225 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6226 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6227 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6228 | /* confdefs.h.  */ | 
|---|
 | 6229 | _ACEOF | 
|---|
 | 6230 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6231 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6232 | /* end confdefs.h.  */ | 
|---|
 | 6233 | #include <$ac_header> | 
|---|
 | 6234 | _ACEOF | 
|---|
 | 6235 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6236 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6237 |   ac_status=$? | 
|---|
 | 6238 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6239 |   rm -f conftest.er1 | 
|---|
 | 6240 |   cat conftest.err >&5 | 
|---|
 | 6241 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6242 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6243 |   if test -s conftest.err; then | 
|---|
 | 6244 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6245 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6246 |   else | 
|---|
 | 6247 |     ac_cpp_err= | 
|---|
 | 6248 |   fi | 
|---|
 | 6249 | else | 
|---|
 | 6250 |   ac_cpp_err=yes | 
|---|
 | 6251 | fi | 
|---|
 | 6252 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6253 |   ac_header_preproc=yes | 
|---|
 | 6254 | else | 
|---|
 | 6255 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6256 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6257 |  | 
|---|
 | 6258 |   ac_header_preproc=no | 
|---|
 | 6259 | fi | 
|---|
 | 6260 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6261 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6262 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6263 |  | 
|---|
 | 6264 | # So?  What about this header? | 
|---|
 | 6265 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6266 |   yes:no: ) | 
|---|
 | 6267 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6268 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6269 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6270 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6271 |     ac_header_preproc=yes | 
|---|
 | 6272 |     ;; | 
|---|
 | 6273 |   no:yes:* ) | 
|---|
 | 6274 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6275 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6276 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6277 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6278 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6279 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6280 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6281 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6282 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6283 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6284 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6285 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6286 |     ( | 
|---|
 | 6287 |       cat <<\_ASBOX | 
|---|
 | 6288 | ## ------------------------------------------- ## | 
|---|
 | 6289 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 6290 | ## ------------------------------------------- ## | 
|---|
 | 6291 | _ASBOX | 
|---|
 | 6292 |     ) | | 
|---|
 | 6293 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6294 |     ;; | 
|---|
 | 6295 | esac | 
|---|
 | 6296 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6297 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6298 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6299 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6300 | else | 
|---|
 | 6301 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6302 | fi | 
|---|
 | 6303 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6304 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6305 |  | 
|---|
 | 6306 | fi | 
|---|
 | 6307 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6308 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6309 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6310 | _ACEOF | 
|---|
 | 6311 |  | 
|---|
 | 6312 | fi | 
|---|
 | 6313 |  | 
|---|
 | 6314 | done | 
|---|
 | 6315 |  | 
|---|
 | 6316 |  | 
|---|
 | 6317 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
 | 6318 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
 | 6319 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
 | 6320 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
 | 6321 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6322 | else | 
|---|
 | 6323 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6324 | /* confdefs.h.  */ | 
|---|
 | 6325 | _ACEOF | 
|---|
 | 6326 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6327 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6328 | /* end confdefs.h.  */ | 
|---|
 | 6329 |  | 
|---|
 | 6330 | #include <stdbool.h> | 
|---|
 | 6331 | #ifndef bool | 
|---|
 | 6332 | # error bool is not defined | 
|---|
 | 6333 | #endif | 
|---|
 | 6334 | #ifndef false | 
|---|
 | 6335 | # error false is not defined | 
|---|
 | 6336 | #endif | 
|---|
 | 6337 | #if false | 
|---|
 | 6338 | # error false is not 0 | 
|---|
 | 6339 | #endif | 
|---|
 | 6340 | #ifndef true | 
|---|
 | 6341 | # error true is not defined | 
|---|
 | 6342 | #endif | 
|---|
 | 6343 | #if true != 1 | 
|---|
 | 6344 | # error true is not 1 | 
|---|
 | 6345 | #endif | 
|---|
 | 6346 | #ifndef __bool_true_false_are_defined | 
|---|
 | 6347 | # error __bool_true_false_are_defined is not defined | 
|---|
 | 6348 | #endif | 
|---|
 | 6349 |  | 
|---|
 | 6350 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
 | 6351 |  | 
|---|
 | 6352 |         char a[true == 1 ? 1 : -1]; | 
|---|
 | 6353 |         char b[false == 0 ? 1 : -1]; | 
|---|
 | 6354 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
 | 6355 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
 | 6356 |         bool e = &s; | 
|---|
 | 6357 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
 | 6358 |         char g[true]; | 
|---|
 | 6359 |         char h[sizeof (_Bool)]; | 
|---|
 | 6360 |         char i[sizeof s.t]; | 
|---|
 | 6361 |  | 
|---|
 | 6362 | int | 
|---|
 | 6363 | main () | 
|---|
 | 6364 | { | 
|---|
 | 6365 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
 | 6366 |   ; | 
|---|
 | 6367 |   return 0; | 
|---|
 | 6368 | } | 
|---|
 | 6369 | _ACEOF | 
|---|
 | 6370 | rm -f conftest.$ac_objext | 
|---|
 | 6371 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6372 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6373 |   ac_status=$? | 
|---|
 | 6374 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6375 |   rm -f conftest.er1 | 
|---|
 | 6376 |   cat conftest.err >&5 | 
|---|
 | 6377 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6378 |   (exit $ac_status); } && | 
|---|
 | 6379 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6380 |                          || test ! -s conftest.err' | 
|---|
 | 6381 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6382 |   (eval $ac_try) 2>&5 | 
|---|
 | 6383 |   ac_status=$? | 
|---|
 | 6384 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6385 |   (exit $ac_status); }; } && | 
|---|
 | 6386 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6387 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6388 |   (eval $ac_try) 2>&5 | 
|---|
 | 6389 |   ac_status=$? | 
|---|
 | 6390 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6391 |   (exit $ac_status); }; }; then | 
|---|
 | 6392 |   ac_cv_header_stdbool_h=yes | 
|---|
 | 6393 | else | 
|---|
 | 6394 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6395 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6396 |  | 
|---|
 | 6397 | ac_cv_header_stdbool_h=no | 
|---|
 | 6398 | fi | 
|---|
 | 6399 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6400 | fi | 
|---|
 | 6401 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
 | 6402 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
 | 6403 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
 | 6404 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
 | 6405 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
 | 6406 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6407 | else | 
|---|
 | 6408 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6409 | /* confdefs.h.  */ | 
|---|
 | 6410 | _ACEOF | 
|---|
 | 6411 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6412 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6413 | /* end confdefs.h.  */ | 
|---|
 | 6414 | $ac_includes_default | 
|---|
 | 6415 | int | 
|---|
 | 6416 | main () | 
|---|
 | 6417 | { | 
|---|
 | 6418 | if ((_Bool *) 0) | 
|---|
 | 6419 |   return 0; | 
|---|
 | 6420 | if (sizeof (_Bool)) | 
|---|
 | 6421 |   return 0; | 
|---|
 | 6422 |   ; | 
|---|
 | 6423 |   return 0; | 
|---|
 | 6424 | } | 
|---|
 | 6425 | _ACEOF | 
|---|
 | 6426 | rm -f conftest.$ac_objext | 
|---|
 | 6427 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6428 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6429 |   ac_status=$? | 
|---|
 | 6430 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6431 |   rm -f conftest.er1 | 
|---|
 | 6432 |   cat conftest.err >&5 | 
|---|
 | 6433 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6434 |   (exit $ac_status); } && | 
|---|
 | 6435 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6436 |                          || test ! -s conftest.err' | 
|---|
 | 6437 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6438 |   (eval $ac_try) 2>&5 | 
|---|
 | 6439 |   ac_status=$? | 
|---|
 | 6440 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6441 |   (exit $ac_status); }; } && | 
|---|
 | 6442 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6443 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6444 |   (eval $ac_try) 2>&5 | 
|---|
 | 6445 |   ac_status=$? | 
|---|
 | 6446 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6447 |   (exit $ac_status); }; }; then | 
|---|
 | 6448 |   ac_cv_type__Bool=yes | 
|---|
 | 6449 | else | 
|---|
 | 6450 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6451 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6452 |  | 
|---|
 | 6453 | ac_cv_type__Bool=no | 
|---|
 | 6454 | fi | 
|---|
 | 6455 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6456 | fi | 
|---|
 | 6457 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
 | 6458 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
 | 6459 | if test $ac_cv_type__Bool = yes; then | 
|---|
 | 6460 |  | 
|---|
 | 6461 | cat >>confdefs.h <<_ACEOF | 
|---|
 | 6462 | #define HAVE__BOOL 1 | 
|---|
 | 6463 | _ACEOF | 
|---|
 | 6464 |  | 
|---|
 | 6465 |  | 
|---|
 | 6466 | fi | 
|---|
 | 6467 |  | 
|---|
 | 6468 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
 | 6469 |  | 
|---|
 | 6470 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 6471 | #define HAVE_STDBOOL_H 1 | 
|---|
 | 6472 | _ACEOF | 
|---|
 | 6473 |  | 
|---|
 | 6474 | fi | 
|---|
 | 6475 |  | 
|---|
 | 6476 |  | 
|---|
 | 6477 | # Checks for library functions. | 
|---|
 | 6478 |  | 
|---|
 | 6479 | for ac_header in stdlib.h | 
|---|
 | 6480 | do | 
|---|
 | 6481 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
 | 6482 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6483 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6484 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6485 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6486 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6487 | fi | 
|---|
 | 6488 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6489 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6490 | else | 
|---|
 | 6491 |   # Is the header compilable? | 
|---|
 | 6492 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
 | 6493 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
 | 6494 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6495 | /* confdefs.h.  */ | 
|---|
 | 6496 | _ACEOF | 
|---|
 | 6497 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6498 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6499 | /* end confdefs.h.  */ | 
|---|
 | 6500 | $ac_includes_default | 
|---|
 | 6501 | #include <$ac_header> | 
|---|
 | 6502 | _ACEOF | 
|---|
 | 6503 | rm -f conftest.$ac_objext | 
|---|
 | 6504 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
 | 6505 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
 | 6506 |   ac_status=$? | 
|---|
 | 6507 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6508 |   rm -f conftest.er1 | 
|---|
 | 6509 |   cat conftest.err >&5 | 
|---|
 | 6510 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6511 |   (exit $ac_status); } && | 
|---|
 | 6512 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6513 |                          || test ! -s conftest.err' | 
|---|
 | 6514 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6515 |   (eval $ac_try) 2>&5 | 
|---|
 | 6516 |   ac_status=$? | 
|---|
 | 6517 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6518 |   (exit $ac_status); }; } && | 
|---|
 | 6519 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
 | 6520 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6521 |   (eval $ac_try) 2>&5 | 
|---|
 | 6522 |   ac_status=$? | 
|---|
 | 6523 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6524 |   (exit $ac_status); }; }; then | 
|---|
 | 6525 |   ac_header_compiler=yes | 
|---|
 | 6526 | else | 
|---|
 | 6527 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6528 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6529 |  | 
|---|
 | 6530 | ac_header_compiler=no | 
|---|
 | 6531 | fi | 
|---|
 | 6532 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6533 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
 | 6534 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
 | 6535 |  | 
|---|
 | 6536 | # Is the header present? | 
|---|
 | 6537 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
 | 6538 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
 | 6539 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6540 | /* confdefs.h.  */ | 
|---|
 | 6541 | _ACEOF | 
|---|
 | 6542 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6543 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6544 | /* end confdefs.h.  */ | 
|---|
 | 6545 | #include <$ac_header> | 
|---|
 | 6546 | _ACEOF | 
|---|
 | 6547 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
 | 6548 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
 | 6549 |   ac_status=$? | 
|---|
 | 6550 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6551 |   rm -f conftest.er1 | 
|---|
 | 6552 |   cat conftest.err >&5 | 
|---|
 | 6553 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6554 |   (exit $ac_status); } >/dev/null; then | 
|---|
 | 6555 |   if test -s conftest.err; then | 
|---|
 | 6556 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
 | 6557 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
 | 6558 |   else | 
|---|
 | 6559 |     ac_cpp_err= | 
|---|
 | 6560 |   fi | 
|---|
 | 6561 | else | 
|---|
 | 6562 |   ac_cpp_err=yes | 
|---|
 | 6563 | fi | 
|---|
 | 6564 | if test -z "$ac_cpp_err"; then | 
|---|
 | 6565 |   ac_header_preproc=yes | 
|---|
 | 6566 | else | 
|---|
 | 6567 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6568 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6569 |  | 
|---|
 | 6570 |   ac_header_preproc=no | 
|---|
 | 6571 | fi | 
|---|
 | 6572 | rm -f conftest.err conftest.$ac_ext | 
|---|
 | 6573 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
 | 6574 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
 | 6575 |  | 
|---|
 | 6576 | # So?  What about this header? | 
|---|
 | 6577 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
 | 6578 |   yes:no: ) | 
|---|
 | 6579 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
 | 6580 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
 | 6581 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
 | 6582 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
 | 6583 |     ac_header_preproc=yes | 
|---|
 | 6584 |     ;; | 
|---|
 | 6585 |   no:yes:* ) | 
|---|
 | 6586 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
 | 6587 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
 | 6588 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
 | 6589 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
 | 6590 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
 | 6591 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
 | 6592 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
 | 6593 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
 | 6594 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
 | 6595 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
 | 6596 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
 | 6597 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
 | 6598 |     ( | 
|---|
 | 6599 |       cat <<\_ASBOX | 
|---|
 | 6600 | ## ------------------------------------------- ## | 
|---|
 | 6601 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
 | 6602 | ## ------------------------------------------- ## | 
|---|
 | 6603 | _ASBOX | 
|---|
 | 6604 |     ) | | 
|---|
 | 6605 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
 | 6606 |     ;; | 
|---|
 | 6607 | esac | 
|---|
 | 6608 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
 | 6609 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
 | 6610 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
 | 6611 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6612 | else | 
|---|
 | 6613 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
 | 6614 | fi | 
|---|
 | 6615 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
 | 6616 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
 | 6617 |  | 
|---|
 | 6618 | fi | 
|---|
 | 6619 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
 | 6620 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6621 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
 | 6622 | _ACEOF | 
|---|
 | 6623 |  | 
|---|
 | 6624 | fi | 
|---|
 | 6625 |  | 
|---|
 | 6626 | done | 
|---|
 | 6627 |  | 
|---|
 | 6628 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
 | 6629 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
 | 6630 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
 | 6631 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6632 | else | 
|---|
 | 6633 |   if test "$cross_compiling" = yes; then | 
|---|
 | 6634 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 6635 | else | 
|---|
 | 6636 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6637 | /* confdefs.h.  */ | 
|---|
 | 6638 | _ACEOF | 
|---|
 | 6639 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6640 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6641 | /* end confdefs.h.  */ | 
|---|
 | 6642 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
 | 6643 | # include <stdlib.h> | 
|---|
 | 6644 | #else | 
|---|
 | 6645 | char *malloc (); | 
|---|
 | 6646 | #endif | 
|---|
 | 6647 |  | 
|---|
 | 6648 | int | 
|---|
 | 6649 | main () | 
|---|
 | 6650 | { | 
|---|
 | 6651 | exit (malloc (0) ? 0 : 1); | 
|---|
 | 6652 |   ; | 
|---|
 | 6653 |   return 0; | 
|---|
 | 6654 | } | 
|---|
 | 6655 | _ACEOF | 
|---|
 | 6656 | rm -f conftest$ac_exeext | 
|---|
 | 6657 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6658 |   (eval $ac_link) 2>&5 | 
|---|
 | 6659 |   ac_status=$? | 
|---|
 | 6660 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6661 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
 | 6662 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6663 |   (eval $ac_try) 2>&5 | 
|---|
 | 6664 |   ac_status=$? | 
|---|
 | 6665 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6666 |   (exit $ac_status); }; }; then | 
|---|
 | 6667 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
 | 6668 | else | 
|---|
 | 6669 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
 | 6670 | echo "$as_me: failed program was:" >&5 | 
|---|
 | 6671 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6672 |  | 
|---|
 | 6673 | ( exit $ac_status ) | 
|---|
 | 6674 | ac_cv_func_malloc_0_nonnull=no | 
|---|
 | 6675 | fi | 
|---|
 | 6676 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
 | 6677 | fi | 
|---|
 | 6678 | fi | 
|---|
 | 6679 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
 | 6680 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
 | 6681 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
 | 6682 |  | 
|---|
 | 6683 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 6684 | #define HAVE_MALLOC 1 | 
|---|
 | 6685 | _ACEOF | 
|---|
 | 6686 |  | 
|---|
 | 6687 | else | 
|---|
 | 6688 |   cat >>confdefs.h <<\_ACEOF | 
|---|
 | 6689 | #define HAVE_MALLOC 0 | 
|---|
 | 6690 | _ACEOF | 
|---|
 | 6691 |  | 
|---|
 | 6692 |    case $LIBOBJS in | 
|---|
 | 6693 |     "malloc.$ac_objext"   | \ | 
|---|
 | 6694 |   *" malloc.$ac_objext"   | \ | 
|---|
 | 6695 |     "malloc.$ac_objext "* | \ | 
|---|
 | 6696 |   *" malloc.$ac_objext "* ) ;; | 
|---|
 | 6697 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
 | 6698 | esac | 
|---|
 | 6699 |  | 
|---|
 | 6700 |  | 
|---|
 | 6701 | cat >>confdefs.h <<\_ACEOF | 
|---|
 | 6702 | #define malloc rpl_malloc | 
|---|
 | 6703 | _ACEOF | 
|---|
 | 6704 |  | 
|---|
 | 6705 | fi | 
|---|
 | 6706 |  | 
|---|
 | 6707 |  | 
|---|
 | 6708 |  | 
|---|
 | 6709 |  | 
|---|
 | 6710 |  | 
|---|
 | 6711 | for ac_func in bzero sqrt | 
|---|
 | 6712 | do | 
|---|
 | 6713 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
 | 6714 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
 | 6715 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
 | 6716 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
 | 6717 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
 | 6718 | else | 
|---|
 | 6719 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
 | 6720 | /* confdefs.h.  */ | 
|---|
 | 6721 | _ACEOF | 
|---|
 | 6722 | cat confdefs.h >>conftest.$ac_ext | 
|---|
 | 6723 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
 | 6724 | /* end confdefs.h.  */ | 
|---|
 | 6725 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
 | 6726 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
 | 6727 | #define $ac_func innocuous_$ac_func | 
|---|
 | 6728 |  | 
|---|
 | 6729 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
 | 6730 |     which can conflict with char $ac_func (); below. | 
|---|
 | 6731 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
 | 6732 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
 | 6733 |  | 
|---|
 | 6734 | #ifdef __STDC__ | 
|---|
 | 6735 | # include <limits.h> | 
|---|
 | 6736 | #else | 
|---|
 | 6737 | # include <assert.h> | 
|---|
 | 6738 | #endif | 
|---|
 | 6739 |  | 
|---|
 | 6740 | #undef $ac_func | 
|---|
 | 6741 |  | 
|---|
 | 6742 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
 | 6743 | #ifdef __cplusplus | 
|---|
 | 6744 | extern "C" | 
|---|
 | 6745 | { | 
|---|
 | 6746 | #endif | 
|---|
 | 6747 | /* We use char because int might match the return type of a gcc2 | 
|---|
 | 6748 |    builtin and then its argument prototype would still apply.  */ | 
|---|
 | 6749 | char $ac_func (); | 
|---|
 | 6750 | /* The GNU C library defines this for functions which it implements | 
|---|
 | 6751 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
 | 6752 |     something starting with __ and the normal name is an alias.  */ | 
|---|
 | 6753 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
 | 6754 | choke me | 
|---|
 | 6755 | #else | 
|---|
 | 6756 | char (*f) () = $ac_func; | 
|---|
 | 6757 | #endif | 
|---|
 | 6758 | #ifdef __cplusplus | 
|---|
 | 6759 | } | 
|---|
 | 6760 | #endif | 
|---|
 | 6761 |  | 
|---|
 | 6762 | int | 
|---|
 | 6763 | main () | 
|---|
 | 6764 | { | 
|---|
 | 6765 | return f != $ac_func; | 
|---|
 | 6766 |   ; | 
|---|
 | 6767 |   return 0; | 
|---|
 | 6768 | } | 
|---|
 | 6769 | _ACEOF | 
|---|
 | 6770 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
 | 6771 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
 | 6772 |   (eval $ac_link) 2>conftest.er1 | 
|---|
 | 6773 |   ac_status=$? | 
|---|
 | 6774 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
 | 6775 |   rm -f conftest.er1 | 
|---|
 | 6776 |   cat conftest.err >&5 | 
|---|
 | 6777 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6778 |   (exit $ac_status); } && | 
|---|
 | 6779 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
 | 6780 |                          || test ! -s conftest.err' | 
|---|
 | 6781 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6782 |   (eval $ac_try) 2>&5 | 
|---|
 | 6783 |   ac_status=$? | 
|---|
 | 6784 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6785 |   (exit $ac_status); }; } && | 
|---|
 | 6786 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
 | 6787 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
 | 6788 |   (eval $ac_try) 2>&5 | 
|---|
 | 6789 |   ac_status=$? | 
|---|
 | 6790 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
 | 6791 |   (exit $ac_status); }; }; then | 
|---|
 | 6792 |   eval "$as_ac_var=yes" | 
|---|
 | 6793 | else | 
|---|
 | 6794 |   echo "$as_me: failed program was:" >&5 | 
|---|
 | 6795 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
 | 6796 |  | 
|---|
 | 6797 | eval "$as_ac_var=no" | 
|---|
 | 6798 | fi | 
|---|
 | 6799 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
 | 6800 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
 | 6801 | fi | 
|---|
 | 6802 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
 | 6803 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
 | 6804 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
 | 6805 |   cat >>confdefs.h <<_ACEOF | 
|---|
 | 6806 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
 | 6807 | _ACEOF | 
|---|
 | 6808 |  | 
|---|
 | 6809 | fi | 
|---|
 | 6810 | done | 
|---|
 | 6811 |  | 
|---|
 | 6812 |  | 
|---|
| [2819] | 6813 |                                                   ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile importer/Makefile" | 
|---|
| [1956] | 6814 |  | 
|---|
 | 6815 | cat >confcache <<\_ACEOF | 
|---|
 | 6816 | # This file is a shell script that caches the results of configure | 
|---|
 | 6817 | # tests run on this system so they can be shared between configure | 
|---|
 | 6818 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
 | 6819 | # It is not useful on other systems.  If it contains results you don't | 
|---|
 | 6820 | # want to keep, you may remove or edit it. | 
|---|
 | 6821 | # | 
|---|
 | 6822 | # config.status only pays attention to the cache file if you give it | 
|---|
 | 6823 | # the --recheck option to rerun configure. | 
|---|
 | 6824 | # | 
|---|
 | 6825 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
 | 6826 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
 | 6827 | # following values. | 
|---|
 | 6828 |  | 
|---|
 | 6829 | _ACEOF | 
|---|
 | 6830 |  | 
|---|
 | 6831 | # The following way of writing the cache mishandles newlines in values, | 
|---|
 | 6832 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
 | 6833 | # So, don't put newlines in cache variables' values. | 
|---|
 | 6834 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
 | 6835 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
 | 6836 | { | 
|---|
 | 6837 |   (set) 2>&1 | | 
|---|
 | 6838 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
 | 6839 |     *ac_space=\ *) | 
|---|
 | 6840 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
 | 6841 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
 | 6842 |       sed -n \ | 
|---|
 | 6843 |         "s/'/'\\\\''/g; | 
|---|
 | 6844 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
 | 6845 |       ;; | 
|---|
 | 6846 |     *) | 
|---|
 | 6847 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
 | 6848 |       sed -n \ | 
|---|
 | 6849 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
 | 6850 |       ;; | 
|---|
 | 6851 |     esac; | 
|---|
 | 6852 | } | | 
|---|
 | 6853 |   sed ' | 
|---|
 | 6854 |      t clear | 
|---|
 | 6855 |      : clear | 
|---|
 | 6856 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
 | 6857 |      t end | 
|---|
 | 6858 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
 | 6859 |      : end' >>confcache | 
|---|
 | 6860 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
 | 6861 |   if test -w $cache_file; then | 
|---|
 | 6862 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
 | 6863 |     cat confcache >$cache_file | 
|---|
 | 6864 |   else | 
|---|
 | 6865 |     echo "not updating unwritable cache $cache_file" | 
|---|
 | 6866 |   fi | 
|---|
 | 6867 | fi | 
|---|
 | 6868 | rm -f confcache | 
|---|
 | 6869 |  | 
|---|
 | 6870 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
 | 6871 | # Let make expand exec_prefix. | 
|---|
 | 6872 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
 | 6873 |  | 
|---|
 | 6874 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
 | 6875 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
 | 6876 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
 | 6877 | # (actually we leave an empty line to preserve line numbers). | 
|---|
 | 6878 | if test "x$srcdir" = x.; then | 
|---|
 | 6879 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
 | 6880 | s/:*\$(srcdir):*/:/; | 
|---|
 | 6881 | s/:*\${srcdir}:*/:/; | 
|---|
 | 6882 | s/:*@srcdir@:*/:/; | 
|---|
 | 6883 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
 | 6884 | s/:*$//; | 
|---|
 | 6885 | s/^[^=]*=[       ]*$//; | 
|---|
 | 6886 | }' | 
|---|
 | 6887 | fi | 
|---|
 | 6888 |  | 
|---|
 | 6889 | DEFS=-DHAVE_CONFIG_H | 
|---|
 | 6890 |  | 
|---|
 | 6891 | ac_libobjs= | 
|---|
 | 6892 | ac_ltlibobjs= | 
|---|
 | 6893 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
 | 6894 |   # 1. Remove the extension, and $U if already installed. | 
|---|
 | 6895 |   ac_i=`echo "$ac_i" | | 
|---|
 | 6896 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
 | 6897 |   # 2. Add them. | 
|---|
 | 6898 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
 | 6899 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
 | 6900 | done | 
|---|
 | 6901 | LIBOBJS=$ac_libobjs | 
|---|
 | 6902 |  | 
|---|
 | 6903 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
 | 6904 |  | 
|---|
 | 6905 |  | 
|---|
 | 6906 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
 | 6907 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 6908 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 6909 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
 | 6910 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 6911 |    { (exit 1); exit 1; }; } | 
|---|
 | 6912 | fi | 
|---|
 | 6913 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
 | 6914 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 6915 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 6916 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
 | 6917 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 6918 |    { (exit 1); exit 1; }; } | 
|---|
 | 6919 | fi | 
|---|
 | 6920 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
 | 6921 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 6922 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 6923 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
 | 6924 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 6925 |    { (exit 1); exit 1; }; } | 
|---|
 | 6926 | fi | 
|---|
| [2980] | 6927 | if test -z "${HAVE_GTK2_TRUE}" && test -z "${HAVE_GTK2_FALSE}"; then | 
|---|
 | 6928 |   { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 6929 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
 | 6930 | echo "$as_me: error: conditional \"HAVE_GTK2\" was never defined. | 
|---|
 | 6931 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
 | 6932 |    { (exit 1); exit 1; }; } | 
|---|
 | 6933 | fi | 
|---|
| [1956] | 6934 |  | 
|---|
 | 6935 | : ${CONFIG_STATUS=./config.status} | 
|---|
 | 6936 | ac_clean_files_save=$ac_clean_files | 
|---|
 | 6937 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
 | 6938 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
 | 6939 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
 | 6940 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
 | 6941 | #! $SHELL | 
|---|
 | 6942 | # Generated by $as_me. | 
|---|
 | 6943 | # Run this file to recreate the current configuration. | 
|---|
 | 6944 | # Compiler output produced by configure, useful for debugging | 
|---|
 | 6945 | # configure, is in config.log if it exists. | 
|---|
 | 6946 |  | 
|---|
 | 6947 | debug=false | 
|---|
 | 6948 | ac_cs_recheck=false | 
|---|
 | 6949 | ac_cs_silent=false | 
|---|
 | 6950 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
 | 6951 | _ACEOF | 
|---|
 | 6952 |  | 
|---|
 | 6953 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 6954 | ## --------------------- ## | 
|---|
 | 6955 | ## M4sh Initialization.  ## | 
|---|
 | 6956 | ## --------------------- ## | 
|---|
 | 6957 |  | 
|---|
 | 6958 | # Be Bourne compatible | 
|---|
 | 6959 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
 | 6960 |   emulate sh | 
|---|
 | 6961 |   NULLCMD=: | 
|---|
 | 6962 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
 | 6963 |   # is contrary to our usage.  Disable this feature. | 
|---|
 | 6964 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
 | 6965 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
 | 6966 |   set -o posix | 
|---|
 | 6967 | fi | 
|---|
 | 6968 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
 | 6969 |  | 
|---|
 | 6970 | # Support unset when possible. | 
|---|
 | 6971 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
 | 6972 |   as_unset=unset | 
|---|
 | 6973 | else | 
|---|
 | 6974 |   as_unset=false | 
|---|
 | 6975 | fi | 
|---|
 | 6976 |  | 
|---|
 | 6977 |  | 
|---|
 | 6978 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
 | 6979 | $as_unset ENV MAIL MAILPATH | 
|---|
 | 6980 | PS1='$ ' | 
|---|
 | 6981 | PS2='> ' | 
|---|
 | 6982 | PS4='+ ' | 
|---|
 | 6983 |  | 
|---|
 | 6984 | # NLS nuisances. | 
|---|
 | 6985 | for as_var in \ | 
|---|
 | 6986 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
 | 6987 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
 | 6988 |   LC_TELEPHONE LC_TIME | 
|---|
 | 6989 | do | 
|---|
 | 6990 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
 | 6991 |     eval $as_var=C; export $as_var | 
|---|
 | 6992 |   else | 
|---|
 | 6993 |     $as_unset $as_var | 
|---|
 | 6994 |   fi | 
|---|
 | 6995 | done | 
|---|
 | 6996 |  | 
|---|
 | 6997 | # Required to use basename. | 
|---|
 | 6998 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 6999 |   as_expr=expr | 
|---|
 | 7000 | else | 
|---|
 | 7001 |   as_expr=false | 
|---|
 | 7002 | fi | 
|---|
 | 7003 |  | 
|---|
 | 7004 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
 | 7005 |   as_basename=basename | 
|---|
 | 7006 | else | 
|---|
 | 7007 |   as_basename=false | 
|---|
 | 7008 | fi | 
|---|
 | 7009 |  | 
|---|
 | 7010 |  | 
|---|
 | 7011 | # Name of the executable. | 
|---|
 | 7012 | as_me=`$as_basename "$0" || | 
|---|
 | 7013 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
 | 7014 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
 | 7015 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
 | 7016 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 7017 | echo X/"$0" | | 
|---|
 | 7018 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
 | 7019 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 7020 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
 | 7021 |           s/.*/./; q'` | 
|---|
 | 7022 |  | 
|---|
 | 7023 |  | 
|---|
 | 7024 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
 | 7025 | # Avoid depending upon Character Ranges. | 
|---|
 | 7026 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
 | 7027 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
 | 7028 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
 | 7029 | as_cr_digits='0123456789' | 
|---|
 | 7030 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
 | 7031 |  | 
|---|
 | 7032 | # The user is always right. | 
|---|
 | 7033 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
 | 7034 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
 | 7035 |   echo  "exit 0"   >>conf$$.sh | 
|---|
 | 7036 |   chmod +x conf$$.sh | 
|---|
 | 7037 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
 | 7038 |     PATH_SEPARATOR=';' | 
|---|
 | 7039 |   else | 
|---|
 | 7040 |     PATH_SEPARATOR=: | 
|---|
 | 7041 |   fi | 
|---|
 | 7042 |   rm -f conf$$.sh | 
|---|
 | 7043 | fi | 
|---|
 | 7044 |  | 
|---|
 | 7045 |  | 
|---|
 | 7046 |   as_lineno_1=$LINENO | 
|---|
 | 7047 |   as_lineno_2=$LINENO | 
|---|
 | 7048 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 7049 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 7050 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
 | 7051 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
 | 7052 |   # relative or not. | 
|---|
 | 7053 |   case $0 in | 
|---|
 | 7054 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
 | 7055 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 7056 | for as_dir in $PATH | 
|---|
 | 7057 | do | 
|---|
 | 7058 |   IFS=$as_save_IFS | 
|---|
 | 7059 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 7060 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
 | 7061 | done | 
|---|
 | 7062 |  | 
|---|
 | 7063 |        ;; | 
|---|
 | 7064 |   esac | 
|---|
 | 7065 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
 | 7066 |   # in which case we are not to be found in the path. | 
|---|
 | 7067 |   if test "x$as_myself" = x; then | 
|---|
 | 7068 |     as_myself=$0 | 
|---|
 | 7069 |   fi | 
|---|
 | 7070 |   if test ! -f "$as_myself"; then | 
|---|
 | 7071 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
 | 7072 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
 | 7073 |    { (exit 1); exit 1; }; } | 
|---|
 | 7074 |   fi | 
|---|
 | 7075 |   case $CONFIG_SHELL in | 
|---|
 | 7076 |   '') | 
|---|
 | 7077 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
 | 7078 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
 | 7079 | do | 
|---|
 | 7080 |   IFS=$as_save_IFS | 
|---|
 | 7081 |   test -z "$as_dir" && as_dir=. | 
|---|
 | 7082 |   for as_base in sh bash ksh sh5; do | 
|---|
 | 7083 |          case $as_dir in | 
|---|
 | 7084 |          /*) | 
|---|
 | 7085 |            if ("$as_dir/$as_base" -c ' | 
|---|
 | 7086 |   as_lineno_1=$LINENO | 
|---|
 | 7087 |   as_lineno_2=$LINENO | 
|---|
 | 7088 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
 | 7089 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
 | 7090 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
 | 7091 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
 | 7092 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
 | 7093 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
 | 7094 |              export CONFIG_SHELL | 
|---|
 | 7095 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
 | 7096 |            fi;; | 
|---|
 | 7097 |          esac | 
|---|
 | 7098 |        done | 
|---|
 | 7099 | done | 
|---|
 | 7100 | ;; | 
|---|
 | 7101 |   esac | 
|---|
 | 7102 |  | 
|---|
 | 7103 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
 | 7104 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
 | 7105 |   # line-number line before each line; the second 'sed' does the real | 
|---|
 | 7106 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
 | 7107 |   # with the numbered line, and appends trailing '-' during | 
|---|
 | 7108 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
 | 7109 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
 | 7110 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
 | 7111 |   sed '=' <$as_myself | | 
|---|
 | 7112 |     sed ' | 
|---|
 | 7113 |       N | 
|---|
 | 7114 |       s,$,-, | 
|---|
 | 7115 |       : loop | 
|---|
 | 7116 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
 | 7117 |       t loop | 
|---|
 | 7118 |       s,-$,, | 
|---|
 | 7119 |       s,^['$as_cr_digits']*\n,, | 
|---|
 | 7120 |     ' >$as_me.lineno && | 
|---|
 | 7121 |   chmod +x $as_me.lineno || | 
|---|
 | 7122 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
 | 7123 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
 | 7124 |    { (exit 1); exit 1; }; } | 
|---|
 | 7125 |  | 
|---|
 | 7126 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
 | 7127 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
 | 7128 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
 | 7129 |   . ./$as_me.lineno | 
|---|
 | 7130 |   # Exit status is that of the last command. | 
|---|
 | 7131 |   exit | 
|---|
 | 7132 | } | 
|---|
 | 7133 |  | 
|---|
 | 7134 |  | 
|---|
 | 7135 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
 | 7136 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
 | 7137 | ' ECHO_T='      ' ;; | 
|---|
 | 7138 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
 | 7139 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
 | 7140 | esac | 
|---|
 | 7141 |  | 
|---|
 | 7142 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
 | 7143 |   as_expr=expr | 
|---|
 | 7144 | else | 
|---|
 | 7145 |   as_expr=false | 
|---|
 | 7146 | fi | 
|---|
 | 7147 |  | 
|---|
 | 7148 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 7149 | echo >conf$$.file | 
|---|
 | 7150 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 7151 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
 | 7152 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
 | 7153 |   if test -f conf$$.exe; then | 
|---|
 | 7154 |     # Don't use ln at all; we don't have any links | 
|---|
 | 7155 |     as_ln_s='cp -p' | 
|---|
 | 7156 |   else | 
|---|
 | 7157 |     as_ln_s='ln -s' | 
|---|
 | 7158 |   fi | 
|---|
 | 7159 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
 | 7160 |   as_ln_s=ln | 
|---|
 | 7161 | else | 
|---|
 | 7162 |   as_ln_s='cp -p' | 
|---|
 | 7163 | fi | 
|---|
 | 7164 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
 | 7165 |  | 
|---|
 | 7166 | if mkdir -p . 2>/dev/null; then | 
|---|
 | 7167 |   as_mkdir_p=: | 
|---|
 | 7168 | else | 
|---|
 | 7169 |   test -d ./-p && rmdir ./-p | 
|---|
 | 7170 |   as_mkdir_p=false | 
|---|
 | 7171 | fi | 
|---|
 | 7172 |  | 
|---|
 | 7173 | as_executable_p="test -f" | 
|---|
 | 7174 |  | 
|---|
 | 7175 | # Sed expression to map a string onto a valid CPP name. | 
|---|
 | 7176 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 7177 |  | 
|---|
 | 7178 | # Sed expression to map a string onto a valid variable name. | 
|---|
 | 7179 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
 | 7180 |  | 
|---|
 | 7181 |  | 
|---|
 | 7182 | # IFS | 
|---|
 | 7183 | # We need space, tab and new line, in precisely that order. | 
|---|
 | 7184 | as_nl=' | 
|---|
 | 7185 | ' | 
|---|
 | 7186 | IFS="   $as_nl" | 
|---|
 | 7187 |  | 
|---|
 | 7188 | # CDPATH. | 
|---|
 | 7189 | $as_unset CDPATH | 
|---|
 | 7190 |  | 
|---|
 | 7191 | exec 6>&1 | 
|---|
 | 7192 |  | 
|---|
 | 7193 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
 | 7194 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
 | 7195 | # values after options handling.  Logging --version etc. is OK. | 
|---|
 | 7196 | exec 5>>config.log | 
|---|
 | 7197 | { | 
|---|
 | 7198 |   echo | 
|---|
 | 7199 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
 | 7200 | ## Running $as_me. ## | 
|---|
 | 7201 | _ASBOX | 
|---|
 | 7202 | } >&5 | 
|---|
 | 7203 | cat >&5 <<_CSEOF | 
|---|
 | 7204 |  | 
|---|
 | 7205 | This file was extended by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
 | 7206 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
 | 7207 |  | 
|---|
 | 7208 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
 | 7209 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
 | 7210 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
 | 7211 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
 | 7212 |   $ $0 $@ | 
|---|
 | 7213 |  | 
|---|
 | 7214 | _CSEOF | 
|---|
 | 7215 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
 | 7216 | echo >&5 | 
|---|
 | 7217 | _ACEOF | 
|---|
 | 7218 |  | 
|---|
 | 7219 | # Files that config.status was made for. | 
|---|
 | 7220 | if test -n "$ac_config_files"; then | 
|---|
 | 7221 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
 | 7222 | fi | 
|---|
 | 7223 |  | 
|---|
 | 7224 | if test -n "$ac_config_headers"; then | 
|---|
 | 7225 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
 | 7226 | fi | 
|---|
 | 7227 |  | 
|---|
 | 7228 | if test -n "$ac_config_links"; then | 
|---|
 | 7229 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
 | 7230 | fi | 
|---|
 | 7231 |  | 
|---|
 | 7232 | if test -n "$ac_config_commands"; then | 
|---|
 | 7233 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
 | 7234 | fi | 
|---|
 | 7235 |  | 
|---|
 | 7236 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7237 |  | 
|---|
 | 7238 | ac_cs_usage="\ | 
|---|
 | 7239 | \`$as_me' instantiates files from templates according to the | 
|---|
 | 7240 | current configuration. | 
|---|
 | 7241 |  | 
|---|
 | 7242 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
 | 7243 |  | 
|---|
 | 7244 |   -h, --help       print this help, then exit | 
|---|
 | 7245 |   -V, --version    print version number, then exit | 
|---|
 | 7246 |   -q, --quiet      do not print progress messages | 
|---|
 | 7247 |   -d, --debug      don't remove temporary files | 
|---|
 | 7248 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
 | 7249 |   --file=FILE[:TEMPLATE] | 
|---|
 | 7250 |                    instantiate the configuration file FILE | 
|---|
 | 7251 |   --header=FILE[:TEMPLATE] | 
|---|
 | 7252 |                    instantiate the configuration header FILE | 
|---|
 | 7253 |  | 
|---|
 | 7254 | Configuration files: | 
|---|
 | 7255 | $config_files | 
|---|
 | 7256 |  | 
|---|
 | 7257 | Configuration headers: | 
|---|
 | 7258 | $config_headers | 
|---|
 | 7259 |  | 
|---|
 | 7260 | Configuration commands: | 
|---|
 | 7261 | $config_commands | 
|---|
 | 7262 |  | 
|---|
 | 7263 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
 | 7264 | _ACEOF | 
|---|
 | 7265 |  | 
|---|
 | 7266 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 7267 | ac_cs_version="\\ | 
|---|
 | 7268 | orxonox config.status 0.1-pre-alpha | 
|---|
 | 7269 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
 | 7270 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
 | 7271 |  | 
|---|
 | 7272 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
 | 7273 | This config.status script is free software; the Free Software Foundation | 
|---|
 | 7274 | gives unlimited permission to copy, distribute and modify it." | 
|---|
 | 7275 | srcdir=$srcdir | 
|---|
 | 7276 | INSTALL="$INSTALL" | 
|---|
 | 7277 | _ACEOF | 
|---|
 | 7278 |  | 
|---|
 | 7279 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7280 | # If no file are specified by the user, then we need to provide default | 
|---|
 | 7281 | # value.  By we need to know if files were specified by the user. | 
|---|
 | 7282 | ac_need_defaults=: | 
|---|
 | 7283 | while test $# != 0 | 
|---|
 | 7284 | do | 
|---|
 | 7285 |   case $1 in | 
|---|
 | 7286 |   --*=*) | 
|---|
 | 7287 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
 | 7288 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
 | 7289 |     ac_shift=: | 
|---|
 | 7290 |     ;; | 
|---|
 | 7291 |   -*) | 
|---|
 | 7292 |     ac_option=$1 | 
|---|
 | 7293 |     ac_optarg=$2 | 
|---|
 | 7294 |     ac_shift=shift | 
|---|
 | 7295 |     ;; | 
|---|
 | 7296 |   *) # This is not an option, so the user has probably given explicit | 
|---|
 | 7297 |      # arguments. | 
|---|
 | 7298 |      ac_option=$1 | 
|---|
 | 7299 |      ac_need_defaults=false;; | 
|---|
 | 7300 |   esac | 
|---|
 | 7301 |  | 
|---|
 | 7302 |   case $ac_option in | 
|---|
 | 7303 |   # Handling of the options. | 
|---|
 | 7304 | _ACEOF | 
|---|
 | 7305 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7306 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
 | 7307 |     ac_cs_recheck=: ;; | 
|---|
 | 7308 |   --version | --vers* | -V ) | 
|---|
 | 7309 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
 | 7310 |   --he | --h) | 
|---|
 | 7311 |     # Conflict between --help and --header | 
|---|
 | 7312 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
 | 7313 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 7314 | echo "$as_me: error: ambiguous option: $1 | 
|---|
 | 7315 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 7316 |    { (exit 1); exit 1; }; };; | 
|---|
 | 7317 |   --help | --hel | -h ) | 
|---|
 | 7318 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
 | 7319 |   --debug | --d* | -d ) | 
|---|
 | 7320 |     debug=: ;; | 
|---|
 | 7321 |   --file | --fil | --fi | --f ) | 
|---|
 | 7322 |     $ac_shift | 
|---|
 | 7323 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
 | 7324 |     ac_need_defaults=false;; | 
|---|
 | 7325 |   --header | --heade | --head | --hea ) | 
|---|
 | 7326 |     $ac_shift | 
|---|
 | 7327 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
 | 7328 |     ac_need_defaults=false;; | 
|---|
 | 7329 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
 | 7330 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
 | 7331 |     ac_cs_silent=: ;; | 
|---|
 | 7332 |  | 
|---|
 | 7333 |   # This is an error. | 
|---|
 | 7334 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
 | 7335 | Try \`$0 --help' for more information." >&5 | 
|---|
 | 7336 | echo "$as_me: error: unrecognized option: $1 | 
|---|
 | 7337 | Try \`$0 --help' for more information." >&2;} | 
|---|
 | 7338 |    { (exit 1); exit 1; }; } ;; | 
|---|
 | 7339 |  | 
|---|
 | 7340 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
 | 7341 |  | 
|---|
 | 7342 |   esac | 
|---|
 | 7343 |   shift | 
|---|
 | 7344 | done | 
|---|
 | 7345 |  | 
|---|
 | 7346 | ac_configure_extra_args= | 
|---|
 | 7347 |  | 
|---|
 | 7348 | if $ac_cs_silent; then | 
|---|
 | 7349 |   exec 6>/dev/null | 
|---|
 | 7350 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
 | 7351 | fi | 
|---|
 | 7352 |  | 
|---|
 | 7353 | _ACEOF | 
|---|
 | 7354 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 7355 | if \$ac_cs_recheck; then | 
|---|
 | 7356 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
 | 7357 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
 | 7358 | fi | 
|---|
 | 7359 |  | 
|---|
 | 7360 | _ACEOF | 
|---|
 | 7361 |  | 
|---|
 | 7362 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 7363 | # | 
|---|
 | 7364 | # INIT-COMMANDS section. | 
|---|
 | 7365 | # | 
|---|
 | 7366 |  | 
|---|
 | 7367 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
 | 7368 |  | 
|---|
 | 7369 | _ACEOF | 
|---|
 | 7370 |  | 
|---|
 | 7371 |  | 
|---|
 | 7372 |  | 
|---|
 | 7373 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7374 | for ac_config_target in $ac_config_targets | 
|---|
 | 7375 | do | 
|---|
 | 7376 |   case "$ac_config_target" in | 
|---|
 | 7377 |   # Handling of arguments. | 
|---|
 | 7378 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
 | 7379 |   "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;; | 
|---|
 | 7380 |   "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;; | 
|---|
 | 7381 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| [2819] | 7382 |   "importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES importer/Makefile" ;; | 
|---|
| [1956] | 7383 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
 | 7384 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
 | 7385 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
 | 7386 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
 | 7387 |    { (exit 1); exit 1; }; };; | 
|---|
 | 7388 |   esac | 
|---|
 | 7389 | done | 
|---|
 | 7390 |  | 
|---|
 | 7391 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
 | 7392 | # then the envvar interface is used.  Set only those that are not. | 
|---|
 | 7393 | # We use the long form for the default assignment because of an extremely | 
|---|
 | 7394 | # bizarre bug on SunOS 4.1.3. | 
|---|
 | 7395 | if $ac_need_defaults; then | 
|---|
 | 7396 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
 | 7397 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
 | 7398 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
 | 7399 | fi | 
|---|
 | 7400 |  | 
|---|
 | 7401 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
 | 7402 | # simply because there is no reason to put it here, and in addition, | 
|---|
 | 7403 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
 | 7404 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
 | 7405 | $debug || | 
|---|
 | 7406 | { | 
|---|
 | 7407 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
 | 7408 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
 | 7409 | } | 
|---|
 | 7410 |  | 
|---|
 | 7411 | # Create a (secure) tmp directory for tmp files. | 
|---|
 | 7412 |  | 
|---|
 | 7413 | { | 
|---|
 | 7414 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
 | 7415 |   test -n "$tmp" && test -d "$tmp" | 
|---|
 | 7416 | }  || | 
|---|
 | 7417 | { | 
|---|
 | 7418 |   tmp=./confstat$$-$RANDOM | 
|---|
 | 7419 |   (umask 077 && mkdir $tmp) | 
|---|
 | 7420 | } || | 
|---|
 | 7421 | { | 
|---|
 | 7422 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
 | 7423 |    { (exit 1); exit 1; } | 
|---|
 | 7424 | } | 
|---|
 | 7425 |  | 
|---|
 | 7426 | _ACEOF | 
|---|
 | 7427 |  | 
|---|
 | 7428 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 7429 |  | 
|---|
 | 7430 | # | 
|---|
 | 7431 | # CONFIG_FILES section. | 
|---|
 | 7432 | # | 
|---|
 | 7433 |  | 
|---|
 | 7434 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
 | 7435 | # This happens for instance when ./config.status config.h | 
|---|
 | 7436 | if test -n "\$CONFIG_FILES"; then | 
|---|
 | 7437 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
 | 7438 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
 | 7439 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
 | 7440 | s,@SHELL@,$SHELL,;t t | 
|---|
 | 7441 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
 | 7442 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
 | 7443 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
 | 7444 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
 | 7445 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
 | 7446 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
 | 7447 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
 | 7448 | s,@prefix@,$prefix,;t t | 
|---|
 | 7449 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
 | 7450 | s,@bindir@,$bindir,;t t | 
|---|
 | 7451 | s,@sbindir@,$sbindir,;t t | 
|---|
 | 7452 | s,@libexecdir@,$libexecdir,;t t | 
|---|
 | 7453 | s,@datadir@,$datadir,;t t | 
|---|
 | 7454 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
 | 7455 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
 | 7456 | s,@localstatedir@,$localstatedir,;t t | 
|---|
 | 7457 | s,@libdir@,$libdir,;t t | 
|---|
 | 7458 | s,@includedir@,$includedir,;t t | 
|---|
 | 7459 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
 | 7460 | s,@infodir@,$infodir,;t t | 
|---|
 | 7461 | s,@mandir@,$mandir,;t t | 
|---|
 | 7462 | s,@build_alias@,$build_alias,;t t | 
|---|
 | 7463 | s,@host_alias@,$host_alias,;t t | 
|---|
 | 7464 | s,@target_alias@,$target_alias,;t t | 
|---|
 | 7465 | s,@DEFS@,$DEFS,;t t | 
|---|
 | 7466 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
 | 7467 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
 | 7468 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
 | 7469 | s,@LIBS@,$LIBS,;t t | 
|---|
| [2980] | 7470 | s,@build@,$build,;t t | 
|---|
 | 7471 | s,@build_cpu@,$build_cpu,;t t | 
|---|
 | 7472 | s,@build_vendor@,$build_vendor,;t t | 
|---|
 | 7473 | s,@build_os@,$build_os,;t t | 
|---|
 | 7474 | s,@host@,$host,;t t | 
|---|
 | 7475 | s,@host_cpu@,$host_cpu,;t t | 
|---|
 | 7476 | s,@host_vendor@,$host_vendor,;t t | 
|---|
 | 7477 | s,@host_os@,$host_os,;t t | 
|---|
 | 7478 | s,@target@,$target,;t t | 
|---|
 | 7479 | s,@target_cpu@,$target_cpu,;t t | 
|---|
 | 7480 | s,@target_vendor@,$target_vendor,;t t | 
|---|
 | 7481 | s,@target_os@,$target_os,;t t | 
|---|
| [1956] | 7482 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
 | 7483 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
 | 7484 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
 | 7485 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
 | 7486 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
 | 7487 | s,@VERSION@,$VERSION,;t t | 
|---|
 | 7488 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
 | 7489 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
 | 7490 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
 | 7491 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
 | 7492 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
 | 7493 | s,@AMTAR@,$AMTAR,;t t | 
|---|
 | 7494 | s,@install_sh@,$install_sh,;t t | 
|---|
 | 7495 | s,@STRIP@,$STRIP,;t t | 
|---|
 | 7496 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
 | 7497 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| [2706] | 7498 | s,@mkdir_p@,$mkdir_p,;t t | 
|---|
| [1956] | 7499 | s,@AWK@,$AWK,;t t | 
|---|
 | 7500 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
 | 7501 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
 | 7502 | s,@CXX@,$CXX,;t t | 
|---|
 | 7503 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
 | 7504 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
 | 7505 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
 | 7506 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
 | 7507 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
 | 7508 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
 | 7509 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
 | 7510 | s,@am__include@,$am__include,;t t | 
|---|
 | 7511 | s,@am__quote@,$am__quote,;t t | 
|---|
 | 7512 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
 | 7513 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
 | 7514 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
 | 7515 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
 | 7516 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
 | 7517 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
 | 7518 | s,@CC@,$CC,;t t | 
|---|
 | 7519 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
 | 7520 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
 | 7521 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
 | 7522 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
 | 7523 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
 | 7524 | s,@CPP@,$CPP,;t t | 
|---|
 | 7525 | s,@EGREP@,$EGREP,;t t | 
|---|
| [2989] | 7526 | s,@MSBITFIELDS@,$MSBITFIELDS,;t t | 
|---|
| [3099] | 7527 | s,@GTK2_LIBS@,$GTK2_LIBS,;t t | 
|---|
| [2980] | 7528 | s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t | 
|---|
 | 7529 | s,@HAVE_GTK2_TRUE@,$HAVE_GTK2_TRUE,;t t | 
|---|
 | 7530 | s,@HAVE_GTK2_FALSE@,$HAVE_GTK2_FALSE,;t t | 
|---|
| [1956] | 7531 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
 | 7532 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
 | 7533 | CEOF | 
|---|
 | 7534 |  | 
|---|
 | 7535 | _ACEOF | 
|---|
 | 7536 |  | 
|---|
 | 7537 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7538 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
 | 7539 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
 | 7540 |   ac_max_sed_lines=48 | 
|---|
 | 7541 |   ac_sed_frag=1 # Number of current file. | 
|---|
 | 7542 |   ac_beg=1 # First line for current file. | 
|---|
 | 7543 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
 | 7544 |   ac_more_lines=: | 
|---|
 | 7545 |   ac_sed_cmds= | 
|---|
 | 7546 |   while $ac_more_lines; do | 
|---|
 | 7547 |     if test $ac_beg -gt 1; then | 
|---|
 | 7548 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 7549 |     else | 
|---|
 | 7550 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
 | 7551 |     fi | 
|---|
 | 7552 |     if test ! -s $tmp/subs.frag; then | 
|---|
 | 7553 |       ac_more_lines=false | 
|---|
 | 7554 |     else | 
|---|
 | 7555 |       # The purpose of the label and of the branching condition is to | 
|---|
 | 7556 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
 | 7557 |       # is no need to browse any of the substitutions). | 
|---|
 | 7558 |       # These are the two extra sed commands mentioned above. | 
|---|
 | 7559 |       (echo ':t | 
|---|
 | 7560 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
 | 7561 |       if test -z "$ac_sed_cmds"; then | 
|---|
 | 7562 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 7563 |       else | 
|---|
 | 7564 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
 | 7565 |       fi | 
|---|
 | 7566 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
 | 7567 |       ac_beg=$ac_end | 
|---|
 | 7568 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
 | 7569 |     fi | 
|---|
 | 7570 |   done | 
|---|
 | 7571 |   if test -z "$ac_sed_cmds"; then | 
|---|
 | 7572 |     ac_sed_cmds=cat | 
|---|
 | 7573 |   fi | 
|---|
 | 7574 | fi # test -n "$CONFIG_FILES" | 
|---|
 | 7575 |  | 
|---|
 | 7576 | _ACEOF | 
|---|
 | 7577 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7578 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
 | 7579 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 7580 |   case $ac_file in | 
|---|
 | 7581 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 7582 |         cat >$tmp/stdin | 
|---|
 | 7583 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 7584 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 7585 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 7586 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 7587 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 7588 |   esac | 
|---|
 | 7589 |  | 
|---|
 | 7590 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
 | 7591 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 7592 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 7593 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 7594 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 7595 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 7596 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 7597 | echo X"$ac_file" | | 
|---|
 | 7598 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 7599 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 7600 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 7601 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 7602 |           s/.*/./; q'` | 
|---|
 | 7603 |   { if $as_mkdir_p; then | 
|---|
 | 7604 |     mkdir -p "$ac_dir" | 
|---|
 | 7605 |   else | 
|---|
 | 7606 |     as_dir="$ac_dir" | 
|---|
 | 7607 |     as_dirs= | 
|---|
 | 7608 |     while test ! -d "$as_dir"; do | 
|---|
 | 7609 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 7610 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 7611 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 7612 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 7613 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 7614 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 7615 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 7616 | echo X"$as_dir" | | 
|---|
 | 7617 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 7618 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 7619 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 7620 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 7621 |           s/.*/./; q'` | 
|---|
 | 7622 |     done | 
|---|
 | 7623 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 7624 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 7625 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 7626 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 7627 |  | 
|---|
 | 7628 |   ac_builddir=. | 
|---|
 | 7629 |  | 
|---|
 | 7630 | if test "$ac_dir" != .; then | 
|---|
 | 7631 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 7632 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 7633 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 7634 | else | 
|---|
 | 7635 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 7636 | fi | 
|---|
 | 7637 |  | 
|---|
 | 7638 | case $srcdir in | 
|---|
 | 7639 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 7640 |     ac_srcdir=. | 
|---|
 | 7641 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 7642 |        ac_top_srcdir=. | 
|---|
 | 7643 |     else | 
|---|
 | 7644 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 7645 |     fi ;; | 
|---|
 | 7646 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 7647 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 7648 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 7649 |   *) # Relative path. | 
|---|
 | 7650 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 7651 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 7652 | esac | 
|---|
 | 7653 |  | 
|---|
 | 7654 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 7655 | # the directories may not exist. | 
|---|
 | 7656 | case `pwd` in | 
|---|
 | 7657 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 7658 | *) | 
|---|
 | 7659 |   case "$ac_dir" in | 
|---|
 | 7660 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 7661 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 7662 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 7663 |   esac;; | 
|---|
 | 7664 | esac | 
|---|
 | 7665 | case $ac_abs_builddir in | 
|---|
 | 7666 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 7667 | *) | 
|---|
 | 7668 |   case ${ac_top_builddir}. in | 
|---|
 | 7669 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 7670 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 7671 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 7672 |   esac;; | 
|---|
 | 7673 | esac | 
|---|
 | 7674 | case $ac_abs_builddir in | 
|---|
 | 7675 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 7676 | *) | 
|---|
 | 7677 |   case $ac_srcdir in | 
|---|
 | 7678 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 7679 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 7680 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 7681 |   esac;; | 
|---|
 | 7682 | esac | 
|---|
 | 7683 | case $ac_abs_builddir in | 
|---|
 | 7684 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 7685 | *) | 
|---|
 | 7686 |   case $ac_top_srcdir in | 
|---|
 | 7687 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 7688 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 7689 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 7690 |   esac;; | 
|---|
 | 7691 | esac | 
|---|
 | 7692 |  | 
|---|
 | 7693 |  | 
|---|
 | 7694 |   case $INSTALL in | 
|---|
 | 7695 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
 | 7696 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
 | 7697 |   esac | 
|---|
 | 7698 |  | 
|---|
 | 7699 |   if test x"$ac_file" != x-; then | 
|---|
 | 7700 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 7701 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 7702 |     rm -f "$ac_file" | 
|---|
 | 7703 |   fi | 
|---|
 | 7704 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 7705 |   # use $as_me), people would be surprised to read: | 
|---|
 | 7706 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 7707 |   if test x"$ac_file" = x-; then | 
|---|
 | 7708 |     configure_input= | 
|---|
 | 7709 |   else | 
|---|
 | 7710 |     configure_input="$ac_file.  " | 
|---|
 | 7711 |   fi | 
|---|
 | 7712 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
 | 7713 |                                      sed 's,.*/,,'` by configure." | 
|---|
 | 7714 |  | 
|---|
 | 7715 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 7716 |   # src tree. | 
|---|
 | 7717 |   ac_file_inputs=`IFS=: | 
|---|
 | 7718 |     for f in $ac_file_in; do | 
|---|
 | 7719 |       case $f in | 
|---|
 | 7720 |       -) echo $tmp/stdin ;; | 
|---|
 | 7721 |       [\\/$]*) | 
|---|
 | 7722 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 7723 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 7724 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 7725 |    { (exit 1); exit 1; }; } | 
|---|
 | 7726 |          echo "$f";; | 
|---|
 | 7727 |       *) # Relative | 
|---|
 | 7728 |          if test -f "$f"; then | 
|---|
 | 7729 |            # Build tree | 
|---|
 | 7730 |            echo "$f" | 
|---|
 | 7731 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 7732 |            # Source tree | 
|---|
 | 7733 |            echo "$srcdir/$f" | 
|---|
 | 7734 |          else | 
|---|
 | 7735 |            # /dev/null tree | 
|---|
 | 7736 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 7737 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 7738 |    { (exit 1); exit 1; }; } | 
|---|
 | 7739 |          fi;; | 
|---|
 | 7740 |       esac | 
|---|
 | 7741 |     done` || { (exit 1); exit 1; } | 
|---|
 | 7742 | _ACEOF | 
|---|
 | 7743 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
 | 7744 |   sed "$ac_vpsub | 
|---|
 | 7745 | $extrasub | 
|---|
 | 7746 | _ACEOF | 
|---|
 | 7747 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7748 | :t | 
|---|
 | 7749 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
 | 7750 | s,@configure_input@,$configure_input,;t t | 
|---|
 | 7751 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
 | 7752 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
 | 7753 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
 | 7754 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
 | 7755 | s,@builddir@,$ac_builddir,;t t | 
|---|
 | 7756 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
 | 7757 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
 | 7758 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
 | 7759 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
 | 7760 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
 | 7761 |   rm -f $tmp/stdin | 
|---|
 | 7762 |   if test x"$ac_file" != x-; then | 
|---|
 | 7763 |     mv $tmp/out $ac_file | 
|---|
 | 7764 |   else | 
|---|
 | 7765 |     cat $tmp/out | 
|---|
 | 7766 |     rm -f $tmp/out | 
|---|
 | 7767 |   fi | 
|---|
 | 7768 |  | 
|---|
 | 7769 | done | 
|---|
 | 7770 | _ACEOF | 
|---|
 | 7771 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7772 |  | 
|---|
 | 7773 | # | 
|---|
 | 7774 | # CONFIG_HEADER section. | 
|---|
 | 7775 | # | 
|---|
 | 7776 |  | 
|---|
 | 7777 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
 | 7778 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
 | 7779 | # | 
|---|
 | 7780 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
 | 7781 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
 | 7782 | ac_dB='[         ].*$,\1#\2' | 
|---|
 | 7783 | ac_dC=' ' | 
|---|
 | 7784 | ac_dD=',;t' | 
|---|
 | 7785 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
 | 7786 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
 | 7787 | ac_uB='$,\1#\2define\3' | 
|---|
 | 7788 | ac_uC=' ' | 
|---|
 | 7789 | ac_uD=',;t' | 
|---|
 | 7790 |  | 
|---|
 | 7791 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
 | 7792 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
 | 7793 |   case $ac_file in | 
|---|
 | 7794 |   - | *:- | *:-:* ) # input from stdin | 
|---|
 | 7795 |         cat >$tmp/stdin | 
|---|
 | 7796 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 7797 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 7798 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 7799 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
 | 7800 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
 | 7801 |   esac | 
|---|
 | 7802 |  | 
|---|
 | 7803 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
 | 7804 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
 | 7805 |  | 
|---|
 | 7806 |   # First look for the input files in the build tree, otherwise in the | 
|---|
 | 7807 |   # src tree. | 
|---|
 | 7808 |   ac_file_inputs=`IFS=: | 
|---|
 | 7809 |     for f in $ac_file_in; do | 
|---|
 | 7810 |       case $f in | 
|---|
 | 7811 |       -) echo $tmp/stdin ;; | 
|---|
 | 7812 |       [\\/$]*) | 
|---|
 | 7813 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
 | 7814 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 7815 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 7816 |    { (exit 1); exit 1; }; } | 
|---|
 | 7817 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
 | 7818 |          echo "$f";; | 
|---|
 | 7819 |       *) # Relative | 
|---|
 | 7820 |          if test -f "$f"; then | 
|---|
 | 7821 |            # Build tree | 
|---|
 | 7822 |            echo "$f" | 
|---|
 | 7823 |          elif test -f "$srcdir/$f"; then | 
|---|
 | 7824 |            # Source tree | 
|---|
 | 7825 |            echo "$srcdir/$f" | 
|---|
 | 7826 |          else | 
|---|
 | 7827 |            # /dev/null tree | 
|---|
 | 7828 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
 | 7829 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
 | 7830 |    { (exit 1); exit 1; }; } | 
|---|
 | 7831 |          fi;; | 
|---|
 | 7832 |       esac | 
|---|
 | 7833 |     done` || { (exit 1); exit 1; } | 
|---|
 | 7834 |   # Remove the trailing spaces. | 
|---|
 | 7835 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
 | 7836 |  | 
|---|
 | 7837 | _ACEOF | 
|---|
 | 7838 |  | 
|---|
 | 7839 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
 | 7840 | # `conftest.undefs', that substitutes the proper values into | 
|---|
 | 7841 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
 | 7842 | # templates, and the second `#undef' templates. | 
|---|
 | 7843 | # And first: Protect against being on the right side of a sed subst in | 
|---|
 | 7844 | # config.status.  Protect against being in an unquoted here document | 
|---|
 | 7845 | # in config.status. | 
|---|
 | 7846 | rm -f conftest.defines conftest.undefs | 
|---|
 | 7847 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
 | 7848 | # Putting comments in sed scripts is not portable. | 
|---|
 | 7849 | # | 
|---|
 | 7850 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
 | 7851 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
 | 7852 | # See the Autoconf documentation for `clear'. | 
|---|
 | 7853 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
 | 7854 | s/[\\&,]/\\&/g | 
|---|
 | 7855 | s,[\\$`],\\&,g | 
|---|
 | 7856 | t clear | 
|---|
 | 7857 | : clear | 
|---|
 | 7858 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
 | 7859 | t end | 
|---|
 | 7860 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
 | 7861 | : end | 
|---|
 | 7862 | _ACEOF | 
|---|
 | 7863 | # If some macros were called several times there might be several times | 
|---|
 | 7864 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
 | 7865 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
 | 7866 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
 | 7867 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
 | 7868 | rm -f confdef2sed.sed | 
|---|
 | 7869 |  | 
|---|
 | 7870 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
 | 7871 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
 | 7872 | # on some systems where configure will not decide to define it. | 
|---|
 | 7873 | cat >>conftest.undefs <<\_ACEOF | 
|---|
 | 7874 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
 | 7875 | _ACEOF | 
|---|
 | 7876 |  | 
|---|
 | 7877 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
 | 7878 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 7879 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
 | 7880 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
 | 7881 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
 | 7882 | echo '  :' >>$CONFIG_STATUS | 
|---|
 | 7883 | rm -f conftest.tail | 
|---|
 | 7884 | while grep . conftest.defines >/dev/null | 
|---|
 | 7885 | do | 
|---|
 | 7886 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
 | 7887 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 7888 |   # Speed up: don't consider the non `#define' lines. | 
|---|
 | 7889 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
 | 7890 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 7891 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 7892 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 7893 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
 | 7894 |   echo 'CEOF | 
|---|
 | 7895 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
 | 7896 |   rm -f $tmp/in | 
|---|
 | 7897 |   mv $tmp/out $tmp/in | 
|---|
 | 7898 | ' >>$CONFIG_STATUS | 
|---|
 | 7899 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
 | 7900 |   rm -f conftest.defines | 
|---|
 | 7901 |   mv conftest.tail conftest.defines | 
|---|
 | 7902 | done | 
|---|
 | 7903 | rm -f conftest.defines | 
|---|
 | 7904 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
 | 7905 | echo >>$CONFIG_STATUS | 
|---|
 | 7906 |  | 
|---|
 | 7907 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
 | 7908 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
 | 7909 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
 | 7910 | rm -f conftest.tail | 
|---|
 | 7911 | while grep . conftest.undefs >/dev/null | 
|---|
 | 7912 | do | 
|---|
 | 7913 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
 | 7914 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
 | 7915 |   # Speed up: don't consider the non `#undef' | 
|---|
 | 7916 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
 | 7917 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
 | 7918 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
 | 7919 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
 | 7920 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
 | 7921 |   echo 'CEOF | 
|---|
 | 7922 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
 | 7923 |   rm -f $tmp/in | 
|---|
 | 7924 |   mv $tmp/out $tmp/in | 
|---|
 | 7925 | ' >>$CONFIG_STATUS | 
|---|
 | 7926 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
 | 7927 |   rm -f conftest.undefs | 
|---|
 | 7928 |   mv conftest.tail conftest.undefs | 
|---|
 | 7929 | done | 
|---|
 | 7930 | rm -f conftest.undefs | 
|---|
 | 7931 |  | 
|---|
 | 7932 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 7933 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
 | 7934 |   # use $as_me), people would be surprised to read: | 
|---|
 | 7935 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
 | 7936 |   if test x"$ac_file" = x-; then | 
|---|
 | 7937 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
 | 7938 |   else | 
|---|
 | 7939 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
 | 7940 |   fi | 
|---|
 | 7941 |   cat $tmp/in >>$tmp/config.h | 
|---|
 | 7942 |   rm -f $tmp/in | 
|---|
 | 7943 |   if test x"$ac_file" != x-; then | 
|---|
 | 7944 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
 | 7945 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
 | 7946 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
 | 7947 |     else | 
|---|
 | 7948 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
 | 7949 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 7950 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 7951 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
 | 7952 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
 | 7953 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 7954 | echo X"$ac_file" | | 
|---|
 | 7955 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 7956 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 7957 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 7958 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 7959 |           s/.*/./; q'` | 
|---|
 | 7960 |       { if $as_mkdir_p; then | 
|---|
 | 7961 |     mkdir -p "$ac_dir" | 
|---|
 | 7962 |   else | 
|---|
 | 7963 |     as_dir="$ac_dir" | 
|---|
 | 7964 |     as_dirs= | 
|---|
 | 7965 |     while test ! -d "$as_dir"; do | 
|---|
 | 7966 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 7967 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 7968 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 7969 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 7970 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 7971 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 7972 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 7973 | echo X"$as_dir" | | 
|---|
 | 7974 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 7975 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 7976 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 7977 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 7978 |           s/.*/./; q'` | 
|---|
 | 7979 |     done | 
|---|
 | 7980 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 7981 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 7982 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 7983 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 7984 |  | 
|---|
 | 7985 |       rm -f $ac_file | 
|---|
 | 7986 |       mv $tmp/config.h $ac_file | 
|---|
 | 7987 |     fi | 
|---|
 | 7988 |   else | 
|---|
 | 7989 |     cat $tmp/config.h | 
|---|
 | 7990 |     rm -f $tmp/config.h | 
|---|
 | 7991 |   fi | 
|---|
 | 7992 | # Compute $ac_file's index in $config_headers. | 
|---|
 | 7993 | _am_stamp_count=1 | 
|---|
 | 7994 | for _am_header in $config_headers :; do | 
|---|
 | 7995 |   case $_am_header in | 
|---|
 | 7996 |     $ac_file | $ac_file:* ) | 
|---|
 | 7997 |       break ;; | 
|---|
 | 7998 |     * ) | 
|---|
 | 7999 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
 | 8000 |   esac | 
|---|
 | 8001 | done | 
|---|
 | 8002 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
 | 8003 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8004 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
 | 8005 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
 | 8006 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
 | 8007 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8008 | echo X$ac_file | | 
|---|
 | 8009 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8010 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8011 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8012 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8013 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
 | 8014 | done | 
|---|
 | 8015 | _ACEOF | 
|---|
 | 8016 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8017 |  | 
|---|
 | 8018 | # | 
|---|
 | 8019 | # CONFIG_COMMANDS section. | 
|---|
 | 8020 | # | 
|---|
 | 8021 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
 | 8022 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
 | 8023 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
 | 8024 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
 | 8025 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8026 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8027 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
 | 8028 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
 | 8029 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8030 | echo X"$ac_dest" | | 
|---|
 | 8031 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8032 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8033 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8034 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8035 |           s/.*/./; q'` | 
|---|
 | 8036 |   { if $as_mkdir_p; then | 
|---|
 | 8037 |     mkdir -p "$ac_dir" | 
|---|
 | 8038 |   else | 
|---|
 | 8039 |     as_dir="$ac_dir" | 
|---|
 | 8040 |     as_dirs= | 
|---|
 | 8041 |     while test ! -d "$as_dir"; do | 
|---|
 | 8042 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 8043 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 8044 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8045 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8046 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 8047 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 8048 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8049 | echo X"$as_dir" | | 
|---|
 | 8050 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8051 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8052 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8053 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8054 |           s/.*/./; q'` | 
|---|
 | 8055 |     done | 
|---|
 | 8056 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 8057 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
 | 8058 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
 | 8059 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 8060 |  | 
|---|
 | 8061 |   ac_builddir=. | 
|---|
 | 8062 |  | 
|---|
 | 8063 | if test "$ac_dir" != .; then | 
|---|
 | 8064 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
 | 8065 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
 | 8066 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
 | 8067 | else | 
|---|
 | 8068 |   ac_dir_suffix= ac_top_builddir= | 
|---|
 | 8069 | fi | 
|---|
 | 8070 |  | 
|---|
 | 8071 | case $srcdir in | 
|---|
 | 8072 |   .)  # No --srcdir option.  We are building in place. | 
|---|
 | 8073 |     ac_srcdir=. | 
|---|
 | 8074 |     if test -z "$ac_top_builddir"; then | 
|---|
 | 8075 |        ac_top_srcdir=. | 
|---|
 | 8076 |     else | 
|---|
 | 8077 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
 | 8078 |     fi ;; | 
|---|
 | 8079 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
 | 8080 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
 | 8081 |     ac_top_srcdir=$srcdir ;; | 
|---|
 | 8082 |   *) # Relative path. | 
|---|
 | 8083 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
 | 8084 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
 | 8085 | esac | 
|---|
 | 8086 |  | 
|---|
 | 8087 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
 | 8088 | # the directories may not exist. | 
|---|
 | 8089 | case `pwd` in | 
|---|
 | 8090 | .) ac_abs_builddir="$ac_dir";; | 
|---|
 | 8091 | *) | 
|---|
 | 8092 |   case "$ac_dir" in | 
|---|
 | 8093 |   .) ac_abs_builddir=`pwd`;; | 
|---|
 | 8094 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
 | 8095 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
 | 8096 |   esac;; | 
|---|
 | 8097 | esac | 
|---|
 | 8098 | case $ac_abs_builddir in | 
|---|
 | 8099 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 8100 | *) | 
|---|
 | 8101 |   case ${ac_top_builddir}. in | 
|---|
 | 8102 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
 | 8103 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
 | 8104 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
 | 8105 |   esac;; | 
|---|
 | 8106 | esac | 
|---|
 | 8107 | case $ac_abs_builddir in | 
|---|
 | 8108 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 8109 | *) | 
|---|
 | 8110 |   case $ac_srcdir in | 
|---|
 | 8111 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
 | 8112 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
 | 8113 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
 | 8114 |   esac;; | 
|---|
 | 8115 | esac | 
|---|
 | 8116 | case $ac_abs_builddir in | 
|---|
 | 8117 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 8118 | *) | 
|---|
 | 8119 |   case $ac_top_srcdir in | 
|---|
 | 8120 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
 | 8121 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
 | 8122 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
 | 8123 |   esac;; | 
|---|
 | 8124 | esac | 
|---|
 | 8125 |  | 
|---|
 | 8126 |  | 
|---|
 | 8127 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
 | 8128 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
 | 8129 |   case $ac_dest in | 
|---|
 | 8130 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
 | 8131 |   # Strip MF so we end up with the name of the file. | 
|---|
 | 8132 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
 | 8133 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
 | 8134 |   # We used to match only the files named `Makefile.in', but | 
|---|
 | 8135 |   # some people rename them; so instead we look at the file content. | 
|---|
 | 8136 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
 | 8137 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
 | 8138 |   # So let's grep whole file. | 
|---|
 | 8139 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
 | 8140 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
 | 8141 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8142 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8143 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
 | 8144 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
 | 8145 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8146 | echo X"$mf" | | 
|---|
 | 8147 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8148 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8149 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8150 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8151 |           s/.*/./; q'` | 
|---|
 | 8152 |   else | 
|---|
 | 8153 |     continue | 
|---|
 | 8154 |   fi | 
|---|
 | 8155 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
 | 8156 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
 | 8157 |   # running `make'. | 
|---|
| [2819] | 8158 |   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|---|
| [1956] | 8159 |   test -z "$DEPDIR" && continue | 
|---|
 | 8160 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| [2819] | 8161 |   U=`sed -n 's/^U = //p' < "$mf"` | 
|---|
| [1956] | 8162 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
 | 8163 |   # We invoke sed twice because it is the simplest approach to | 
|---|
 | 8164 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| [2819] | 8165 |   for file in `sed -n ' | 
|---|
| [1956] | 8166 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
 | 8167 |       s/^DEP_FILES = // | 
|---|
 | 8168 |       :loop | 
|---|
 | 8169 |         s/\\\\$// | 
|---|
 | 8170 |         p | 
|---|
 | 8171 |         n | 
|---|
 | 8172 |         /\\\\$/ b loop | 
|---|
 | 8173 |       p | 
|---|
 | 8174 |     } | 
|---|
 | 8175 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
 | 8176 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
 | 8177 |     # Make sure the directory exists. | 
|---|
 | 8178 |     test -f "$dirpart/$file" && continue | 
|---|
 | 8179 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
 | 8180 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8181 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8182 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
 | 8183 |          X"$file" : 'X\(/\)' \| \ | 
|---|
 | 8184 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8185 | echo X"$file" | | 
|---|
 | 8186 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8187 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8188 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8189 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8190 |           s/.*/./; q'` | 
|---|
 | 8191 |     { if $as_mkdir_p; then | 
|---|
 | 8192 |     mkdir -p $dirpart/$fdir | 
|---|
 | 8193 |   else | 
|---|
 | 8194 |     as_dir=$dirpart/$fdir | 
|---|
 | 8195 |     as_dirs= | 
|---|
 | 8196 |     while test ! -d "$as_dir"; do | 
|---|
 | 8197 |       as_dirs="$as_dir $as_dirs" | 
|---|
 | 8198 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
 | 8199 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
 | 8200 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
 | 8201 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
 | 8202 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
 | 8203 |          .     : '\(.\)' 2>/dev/null || | 
|---|
 | 8204 | echo X"$as_dir" | | 
|---|
 | 8205 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
 | 8206 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
 | 8207 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
 | 8208 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
 | 8209 |           s/.*/./; q'` | 
|---|
 | 8210 |     done | 
|---|
 | 8211 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
 | 8212 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
 | 8213 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
 | 8214 |    { (exit 1); exit 1; }; }; } | 
|---|
 | 8215 |  | 
|---|
 | 8216 |     # echo "creating $dirpart/$file" | 
|---|
 | 8217 |     echo '# dummy' > "$dirpart/$file" | 
|---|
 | 8218 |   done | 
|---|
 | 8219 | done | 
|---|
 | 8220 |  ;; | 
|---|
 | 8221 |   esac | 
|---|
 | 8222 | done | 
|---|
 | 8223 | _ACEOF | 
|---|
 | 8224 |  | 
|---|
 | 8225 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
 | 8226 |  | 
|---|
 | 8227 | { (exit 0); exit 0; } | 
|---|
 | 8228 | _ACEOF | 
|---|
 | 8229 | chmod +x $CONFIG_STATUS | 
|---|
 | 8230 | ac_clean_files=$ac_clean_files_save | 
|---|
 | 8231 |  | 
|---|
 | 8232 |  | 
|---|
 | 8233 | # configure is writing to config.log, and then calls config.status. | 
|---|
 | 8234 | # config.status does its own redirection, appending to config.log. | 
|---|
 | 8235 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
 | 8236 | # by configure, so config.status won't be able to write to it; its | 
|---|
 | 8237 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
 | 8238 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
 | 8239 | # appended to by config.status.  When coming back to configure, we | 
|---|
 | 8240 | # need to make the FD available again. | 
|---|
 | 8241 | if test "$no_create" != yes; then | 
|---|
 | 8242 |   ac_cs_success=: | 
|---|
 | 8243 |   ac_config_status_args= | 
|---|
 | 8244 |   test "$silent" = yes && | 
|---|
 | 8245 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
 | 8246 |   exec 5>/dev/null | 
|---|
 | 8247 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
 | 8248 |   exec 5>>config.log | 
|---|
 | 8249 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
 | 8250 |   # would make configure fail if this is the last instruction. | 
|---|
 | 8251 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
 | 8252 | fi | 
|---|
 | 8253 |  | 
|---|