| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.59 for orxonox 0.1-pre-alpha. | 
|---|
| 4 | # | 
|---|
| 5 | # Report bugs to <orxonox-dev@mail.datacore.ch>. | 
|---|
| 6 | # | 
|---|
| 7 | # Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 8 | # This configure script is free software; the Free Software Foundation | 
|---|
| 9 | # gives unlimited permission to copy, distribute and modify it. | 
|---|
| 10 | ## --------------------- ## | 
|---|
| 11 | ## M4sh Initialization.  ## | 
|---|
| 12 | ## --------------------- ## | 
|---|
| 13 |  | 
|---|
| 14 | # Be Bourne compatible | 
|---|
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 16 |   emulate sh | 
|---|
| 17 |   NULLCMD=: | 
|---|
| 18 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 19 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 20 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 22 |   set -o posix | 
|---|
| 23 | fi | 
|---|
| 24 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 25 |  | 
|---|
| 26 | # Support unset when possible. | 
|---|
| 27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 28 |   as_unset=unset | 
|---|
| 29 | else | 
|---|
| 30 |   as_unset=false | 
|---|
| 31 | fi | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 35 | $as_unset ENV MAIL MAILPATH | 
|---|
| 36 | PS1='$ ' | 
|---|
| 37 | PS2='> ' | 
|---|
| 38 | PS4='+ ' | 
|---|
| 39 |  | 
|---|
| 40 | # NLS nuisances. | 
|---|
| 41 | for as_var in \ | 
|---|
| 42 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 43 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 44 |   LC_TELEPHONE LC_TIME | 
|---|
| 45 | do | 
|---|
| 46 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 47 |     eval $as_var=C; export $as_var | 
|---|
| 48 |   else | 
|---|
| 49 |     $as_unset $as_var | 
|---|
| 50 |   fi | 
|---|
| 51 | done | 
|---|
| 52 |  | 
|---|
| 53 | # Required to use basename. | 
|---|
| 54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 55 |   as_expr=expr | 
|---|
| 56 | else | 
|---|
| 57 |   as_expr=false | 
|---|
| 58 | fi | 
|---|
| 59 |  | 
|---|
| 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 61 |   as_basename=basename | 
|---|
| 62 | else | 
|---|
| 63 |   as_basename=false | 
|---|
| 64 | fi | 
|---|
| 65 |  | 
|---|
| 66 |  | 
|---|
| 67 | # Name of the executable. | 
|---|
| 68 | as_me=`$as_basename "$0" || | 
|---|
| 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 70 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 71 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 72 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 73 | echo X/"$0" | | 
|---|
| 74 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 75 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 76 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 77 |           s/.*/./; q'` | 
|---|
| 78 |  | 
|---|
| 79 |  | 
|---|
| 80 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 81 | # Avoid depending upon Character Ranges. | 
|---|
| 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 85 | as_cr_digits='0123456789' | 
|---|
| 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 87 |  | 
|---|
| 88 | # The user is always right. | 
|---|
| 89 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 90 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 91 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 92 |   chmod +x conf$$.sh | 
|---|
| 93 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 94 |     PATH_SEPARATOR=';' | 
|---|
| 95 |   else | 
|---|
| 96 |     PATH_SEPARATOR=: | 
|---|
| 97 |   fi | 
|---|
| 98 |   rm -f conf$$.sh | 
|---|
| 99 | fi | 
|---|
| 100 |  | 
|---|
| 101 |  | 
|---|
| 102 |   as_lineno_1=$LINENO | 
|---|
| 103 |   as_lineno_2=$LINENO | 
|---|
| 104 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 105 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 106 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 107 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 108 |   # relative or not. | 
|---|
| 109 |   case $0 in | 
|---|
| 110 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 111 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 112 | for as_dir in $PATH | 
|---|
| 113 | do | 
|---|
| 114 |   IFS=$as_save_IFS | 
|---|
| 115 |   test -z "$as_dir" && as_dir=. | 
|---|
| 116 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 117 | done | 
|---|
| 118 |  | 
|---|
| 119 |        ;; | 
|---|
| 120 |   esac | 
|---|
| 121 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 122 |   # in which case we are not to be found in the path. | 
|---|
| 123 |   if test "x$as_myself" = x; then | 
|---|
| 124 |     as_myself=$0 | 
|---|
| 125 |   fi | 
|---|
| 126 |   if test ! -f "$as_myself"; then | 
|---|
| 127 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
|---|
| 128 |    { (exit 1); exit 1; }; } | 
|---|
| 129 |   fi | 
|---|
| 130 |   case $CONFIG_SHELL in | 
|---|
| 131 |   '') | 
|---|
| 132 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 134 | do | 
|---|
| 135 |   IFS=$as_save_IFS | 
|---|
| 136 |   test -z "$as_dir" && as_dir=. | 
|---|
| 137 |   for as_base in sh bash ksh sh5; do | 
|---|
| 138 |          case $as_dir in | 
|---|
| 139 |          /*) | 
|---|
| 140 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 141 |   as_lineno_1=$LINENO | 
|---|
| 142 |   as_lineno_2=$LINENO | 
|---|
| 143 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 144 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 145 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 146 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 147 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 148 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 149 |              export CONFIG_SHELL | 
|---|
| 150 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 151 |            fi;; | 
|---|
| 152 |          esac | 
|---|
| 153 |        done | 
|---|
| 154 | done | 
|---|
| 155 | ;; | 
|---|
| 156 |   esac | 
|---|
| 157 |  | 
|---|
| 158 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 159 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 160 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 161 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 162 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 163 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 164 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 165 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 166 |   sed '=' <$as_myself | | 
|---|
| 167 |     sed ' | 
|---|
| 168 |       N | 
|---|
| 169 |       s,$,-, | 
|---|
| 170 |       : loop | 
|---|
| 171 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 172 |       t loop | 
|---|
| 173 |       s,-$,, | 
|---|
| 174 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 175 |     ' >$as_me.lineno && | 
|---|
| 176 |   chmod +x $as_me.lineno || | 
|---|
| 177 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
|---|
| 178 |    { (exit 1); exit 1; }; } | 
|---|
| 179 |  | 
|---|
| 180 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 181 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 182 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 183 |   . ./$as_me.lineno | 
|---|
| 184 |   # Exit status is that of the last command. | 
|---|
| 185 |   exit | 
|---|
| 186 | } | 
|---|
| 187 |  | 
|---|
| 188 |  | 
|---|
| 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 190 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 191 | ' ECHO_T='      ' ;; | 
|---|
| 192 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 193 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 194 | esac | 
|---|
| 195 |  | 
|---|
| 196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 197 |   as_expr=expr | 
|---|
| 198 | else | 
|---|
| 199 |   as_expr=false | 
|---|
| 200 | fi | 
|---|
| 201 |  | 
|---|
| 202 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 203 | echo >conf$$.file | 
|---|
| 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 205 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 206 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 207 |   if test -f conf$$.exe; then | 
|---|
| 208 |     # Don't use ln at all; we don't have any links | 
|---|
| 209 |     as_ln_s='cp -p' | 
|---|
| 210 |   else | 
|---|
| 211 |     as_ln_s='ln -s' | 
|---|
| 212 |   fi | 
|---|
| 213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 214 |   as_ln_s=ln | 
|---|
| 215 | else | 
|---|
| 216 |   as_ln_s='cp -p' | 
|---|
| 217 | fi | 
|---|
| 218 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 219 |  | 
|---|
| 220 | if mkdir -p . 2>/dev/null; then | 
|---|
| 221 |   as_mkdir_p=: | 
|---|
| 222 | else | 
|---|
| 223 |   test -d ./-p && rmdir ./-p | 
|---|
| 224 |   as_mkdir_p=false | 
|---|
| 225 | fi | 
|---|
| 226 |  | 
|---|
| 227 | as_executable_p="test -f" | 
|---|
| 228 |  | 
|---|
| 229 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 231 |  | 
|---|
| 232 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 234 |  | 
|---|
| 235 |  | 
|---|
| 236 | # IFS | 
|---|
| 237 | # We need space, tab and new line, in precisely that order. | 
|---|
| 238 | as_nl=' | 
|---|
| 239 | ' | 
|---|
| 240 | IFS="   $as_nl" | 
|---|
| 241 |  | 
|---|
| 242 | # CDPATH. | 
|---|
| 243 | $as_unset CDPATH | 
|---|
| 244 |  | 
|---|
| 245 |  | 
|---|
| 246 | # Name of the host. | 
|---|
| 247 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
|---|
| 248 | # so uname gets run too. | 
|---|
| 249 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 250 |  | 
|---|
| 251 | exec 6>&1 | 
|---|
| 252 |  | 
|---|
| 253 | # | 
|---|
| 254 | # Initializations. | 
|---|
| 255 | # | 
|---|
| 256 | ac_default_prefix=/usr/local | 
|---|
| 257 | ac_config_libobj_dir=. | 
|---|
| 258 | cross_compiling=no | 
|---|
| 259 | subdirs= | 
|---|
| 260 | MFLAGS= | 
|---|
| 261 | MAKEFLAGS= | 
|---|
| 262 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|---|
| 263 |  | 
|---|
| 264 | # Maximum number of lines to put in a shell here document. | 
|---|
| 265 | # This variable seems obsolete.  It should probably be removed, and | 
|---|
| 266 | # only ac_max_sed_lines should be used. | 
|---|
| 267 | : ${ac_max_here_lines=38} | 
|---|
| 268 |  | 
|---|
| 269 | # Identity of this package. | 
|---|
| 270 | PACKAGE_NAME='orxonox' | 
|---|
| 271 | PACKAGE_TARNAME='orxonox' | 
|---|
| 272 | PACKAGE_VERSION='0.1-pre-alpha' | 
|---|
| 273 | PACKAGE_STRING='orxonox 0.1-pre-alpha' | 
|---|
| 274 | PACKAGE_BUGREPORT='orxonox-dev@mail.datacore.ch' | 
|---|
| 275 |  | 
|---|
| 276 | ac_unique_file="." | 
|---|
| 277 | # Factoring default headers for most tests. | 
|---|
| 278 | ac_includes_default="\ | 
|---|
| 279 | #include <stdio.h> | 
|---|
| 280 | #if HAVE_SYS_TYPES_H | 
|---|
| 281 | # include <sys/types.h> | 
|---|
| 282 | #endif | 
|---|
| 283 | #if HAVE_SYS_STAT_H | 
|---|
| 284 | # include <sys/stat.h> | 
|---|
| 285 | #endif | 
|---|
| 286 | #if STDC_HEADERS | 
|---|
| 287 | # include <stdlib.h> | 
|---|
| 288 | # include <stddef.h> | 
|---|
| 289 | #else | 
|---|
| 290 | # if HAVE_STDLIB_H | 
|---|
| 291 | #  include <stdlib.h> | 
|---|
| 292 | # endif | 
|---|
| 293 | #endif | 
|---|
| 294 | #if HAVE_STRING_H | 
|---|
| 295 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
|---|
| 296 | #  include <memory.h> | 
|---|
| 297 | # endif | 
|---|
| 298 | # include <string.h> | 
|---|
| 299 | #endif | 
|---|
| 300 | #if HAVE_STRINGS_H | 
|---|
| 301 | # include <strings.h> | 
|---|
| 302 | #endif | 
|---|
| 303 | #if HAVE_INTTYPES_H | 
|---|
| 304 | # include <inttypes.h> | 
|---|
| 305 | #else | 
|---|
| 306 | # if HAVE_STDINT_H | 
|---|
| 307 | #  include <stdint.h> | 
|---|
| 308 | # endif | 
|---|
| 309 | #endif | 
|---|
| 310 | #if HAVE_UNISTD_H | 
|---|
| 311 | # include <unistd.h> | 
|---|
| 312 | #endif" | 
|---|
| 313 |  | 
|---|
| 314 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 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 LIBOBJS LTLIBOBJS' | 
|---|
| 315 | ac_subst_files='' | 
|---|
| 316 |  | 
|---|
| 317 | # Initialize some variables set by options. | 
|---|
| 318 | ac_init_help= | 
|---|
| 319 | ac_init_version=false | 
|---|
| 320 | # The variables have the same names as the options, with | 
|---|
| 321 | # dashes changed to underlines. | 
|---|
| 322 | cache_file=/dev/null | 
|---|
| 323 | exec_prefix=NONE | 
|---|
| 324 | no_create= | 
|---|
| 325 | no_recursion= | 
|---|
| 326 | prefix=NONE | 
|---|
| 327 | program_prefix=NONE | 
|---|
| 328 | program_suffix=NONE | 
|---|
| 329 | program_transform_name=s,x,x, | 
|---|
| 330 | silent= | 
|---|
| 331 | site= | 
|---|
| 332 | srcdir= | 
|---|
| 333 | verbose= | 
|---|
| 334 | x_includes=NONE | 
|---|
| 335 | x_libraries=NONE | 
|---|
| 336 |  | 
|---|
| 337 | # Installation directory options. | 
|---|
| 338 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
| 339 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
| 340 | # by default will actually change. | 
|---|
| 341 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
| 342 | bindir='${exec_prefix}/bin' | 
|---|
| 343 | sbindir='${exec_prefix}/sbin' | 
|---|
| 344 | libexecdir='${exec_prefix}/libexec' | 
|---|
| 345 | datadir='${prefix}/share' | 
|---|
| 346 | sysconfdir='${prefix}/etc' | 
|---|
| 347 | sharedstatedir='${prefix}/com' | 
|---|
| 348 | localstatedir='${prefix}/var' | 
|---|
| 349 | libdir='${exec_prefix}/lib' | 
|---|
| 350 | includedir='${prefix}/include' | 
|---|
| 351 | oldincludedir='/usr/include' | 
|---|
| 352 | infodir='${prefix}/info' | 
|---|
| 353 | mandir='${prefix}/man' | 
|---|
| 354 |  | 
|---|
| 355 | ac_prev= | 
|---|
| 356 | for ac_option | 
|---|
| 357 | do | 
|---|
| 358 |   # If the previous option needs an argument, assign it. | 
|---|
| 359 |   if test -n "$ac_prev"; then | 
|---|
| 360 |     eval "$ac_prev=\$ac_option" | 
|---|
| 361 |     ac_prev= | 
|---|
| 362 |     continue | 
|---|
| 363 |   fi | 
|---|
| 364 |  | 
|---|
| 365 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
|---|
| 366 |  | 
|---|
| 367 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
| 368 |  | 
|---|
| 369 |   case $ac_option in | 
|---|
| 370 |  | 
|---|
| 371 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
| 372 |     ac_prev=bindir ;; | 
|---|
| 373 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
| 374 |     bindir=$ac_optarg ;; | 
|---|
| 375 |  | 
|---|
| 376 |   -build | --build | --buil | --bui | --bu) | 
|---|
| 377 |     ac_prev=build_alias ;; | 
|---|
| 378 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
| 379 |     build_alias=$ac_optarg ;; | 
|---|
| 380 |  | 
|---|
| 381 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
| 382 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
| 383 |     ac_prev=cache_file ;; | 
|---|
| 384 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
| 385 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
| 386 |     cache_file=$ac_optarg ;; | 
|---|
| 387 |  | 
|---|
| 388 |   --config-cache | -C) | 
|---|
| 389 |     cache_file=config.cache ;; | 
|---|
| 390 |  | 
|---|
| 391 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
|---|
| 392 |     ac_prev=datadir ;; | 
|---|
| 393 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
|---|
| 394 |   | --da=*) | 
|---|
| 395 |     datadir=$ac_optarg ;; | 
|---|
| 396 |  | 
|---|
| 397 |   -disable-* | --disable-*) | 
|---|
| 398 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
| 399 |     # Reject names that are not valid shell variable names. | 
|---|
| 400 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 401 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
| 402 |    { (exit 1); exit 1; }; } | 
|---|
| 403 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
| 404 |     eval "enable_$ac_feature=no" ;; | 
|---|
| 405 |  | 
|---|
| 406 |   -enable-* | --enable-*) | 
|---|
| 407 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
| 408 |     # Reject names that are not valid shell variable names. | 
|---|
| 409 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 410 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|---|
| 411 |    { (exit 1); exit 1; }; } | 
|---|
| 412 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|---|
| 413 |     case $ac_option in | 
|---|
| 414 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
| 415 |       *) ac_optarg=yes ;; | 
|---|
| 416 |     esac | 
|---|
| 417 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
|---|
| 418 |  | 
|---|
| 419 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
| 420 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
| 421 |   | --exec | --exe | --ex) | 
|---|
| 422 |     ac_prev=exec_prefix ;; | 
|---|
| 423 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
| 424 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
| 425 |   | --exec=* | --exe=* | --ex=*) | 
|---|
| 426 |     exec_prefix=$ac_optarg ;; | 
|---|
| 427 |  | 
|---|
| 428 |   -gas | --gas | --ga | --g) | 
|---|
| 429 |     # Obsolete; use --with-gas. | 
|---|
| 430 |     with_gas=yes ;; | 
|---|
| 431 |  | 
|---|
| 432 |   -help | --help | --hel | --he | -h) | 
|---|
| 433 |     ac_init_help=long ;; | 
|---|
| 434 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
| 435 |     ac_init_help=recursive ;; | 
|---|
| 436 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
| 437 |     ac_init_help=short ;; | 
|---|
| 438 |  | 
|---|
| 439 |   -host | --host | --hos | --ho) | 
|---|
| 440 |     ac_prev=host_alias ;; | 
|---|
| 441 |   -host=* | --host=* | --hos=* | --ho=*) | 
|---|
| 442 |     host_alias=$ac_optarg ;; | 
|---|
| 443 |  | 
|---|
| 444 |   -includedir | --includedir | --includedi | --included | --include \ | 
|---|
| 445 |   | --includ | --inclu | --incl | --inc) | 
|---|
| 446 |     ac_prev=includedir ;; | 
|---|
| 447 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
| 448 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
| 449 |     includedir=$ac_optarg ;; | 
|---|
| 450 |  | 
|---|
| 451 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
| 452 |     ac_prev=infodir ;; | 
|---|
| 453 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
| 454 |     infodir=$ac_optarg ;; | 
|---|
| 455 |  | 
|---|
| 456 |   -libdir | --libdir | --libdi | --libd) | 
|---|
| 457 |     ac_prev=libdir ;; | 
|---|
| 458 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
| 459 |     libdir=$ac_optarg ;; | 
|---|
| 460 |  | 
|---|
| 461 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
| 462 |   | --libexe | --libex | --libe) | 
|---|
| 463 |     ac_prev=libexecdir ;; | 
|---|
| 464 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
| 465 |   | --libexe=* | --libex=* | --libe=*) | 
|---|
| 466 |     libexecdir=$ac_optarg ;; | 
|---|
| 467 |  | 
|---|
| 468 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
| 469 |   | --localstate | --localstat | --localsta | --localst \ | 
|---|
| 470 |   | --locals | --local | --loca | --loc | --lo) | 
|---|
| 471 |     ac_prev=localstatedir ;; | 
|---|
| 472 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
| 473 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
|---|
| 474 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
|---|
| 475 |     localstatedir=$ac_optarg ;; | 
|---|
| 476 |  | 
|---|
| 477 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
| 478 |     ac_prev=mandir ;; | 
|---|
| 479 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
| 480 |     mandir=$ac_optarg ;; | 
|---|
| 481 |  | 
|---|
| 482 |   -nfp | --nfp | --nf) | 
|---|
| 483 |     # Obsolete; use --without-fp. | 
|---|
| 484 |     with_fp=no ;; | 
|---|
| 485 |  | 
|---|
| 486 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
| 487 |   | --no-cr | --no-c | -n) | 
|---|
| 488 |     no_create=yes ;; | 
|---|
| 489 |  | 
|---|
| 490 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
| 491 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
| 492 |     no_recursion=yes ;; | 
|---|
| 493 |  | 
|---|
| 494 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
| 495 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
| 496 |   | --oldin | --oldi | --old | --ol | --o) | 
|---|
| 497 |     ac_prev=oldincludedir ;; | 
|---|
| 498 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
| 499 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
| 500 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
| 501 |     oldincludedir=$ac_optarg ;; | 
|---|
| 502 |  | 
|---|
| 503 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
| 504 |     ac_prev=prefix ;; | 
|---|
| 505 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
| 506 |     prefix=$ac_optarg ;; | 
|---|
| 507 |  | 
|---|
| 508 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
| 509 |   | --program-pre | --program-pr | --program-p) | 
|---|
| 510 |     ac_prev=program_prefix ;; | 
|---|
| 511 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
| 512 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
| 513 |     program_prefix=$ac_optarg ;; | 
|---|
| 514 |  | 
|---|
| 515 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
| 516 |   | --program-suf | --program-su | --program-s) | 
|---|
| 517 |     ac_prev=program_suffix ;; | 
|---|
| 518 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
| 519 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
| 520 |     program_suffix=$ac_optarg ;; | 
|---|
| 521 |  | 
|---|
| 522 |   -program-transform-name | --program-transform-name \ | 
|---|
| 523 |   | --program-transform-nam | --program-transform-na \ | 
|---|
| 524 |   | --program-transform-n | --program-transform- \ | 
|---|
| 525 |   | --program-transform | --program-transfor \ | 
|---|
| 526 |   | --program-transfo | --program-transf \ | 
|---|
| 527 |   | --program-trans | --program-tran \ | 
|---|
| 528 |   | --progr-tra | --program-tr | --program-t) | 
|---|
| 529 |     ac_prev=program_transform_name ;; | 
|---|
| 530 |   -program-transform-name=* | --program-transform-name=* \ | 
|---|
| 531 |   | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
| 532 |   | --program-transform-n=* | --program-transform-=* \ | 
|---|
| 533 |   | --program-transform=* | --program-transfor=* \ | 
|---|
| 534 |   | --program-transfo=* | --program-transf=* \ | 
|---|
| 535 |   | --program-trans=* | --program-tran=* \ | 
|---|
| 536 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
| 537 |     program_transform_name=$ac_optarg ;; | 
|---|
| 538 |  | 
|---|
| 539 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 540 |   | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 541 |     silent=yes ;; | 
|---|
| 542 |  | 
|---|
| 543 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
| 544 |     ac_prev=sbindir ;; | 
|---|
| 545 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
| 546 |   | --sbi=* | --sb=*) | 
|---|
| 547 |     sbindir=$ac_optarg ;; | 
|---|
| 548 |  | 
|---|
| 549 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
| 550 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
| 551 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
| 552 |   | --sha | --sh) | 
|---|
| 553 |     ac_prev=sharedstatedir ;; | 
|---|
| 554 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
| 555 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
| 556 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
| 557 |   | --sha=* | --sh=*) | 
|---|
| 558 |     sharedstatedir=$ac_optarg ;; | 
|---|
| 559 |  | 
|---|
| 560 |   -site | --site | --sit) | 
|---|
| 561 |     ac_prev=site ;; | 
|---|
| 562 |   -site=* | --site=* | --sit=*) | 
|---|
| 563 |     site=$ac_optarg ;; | 
|---|
| 564 |  | 
|---|
| 565 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
| 566 |     ac_prev=srcdir ;; | 
|---|
| 567 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
| 568 |     srcdir=$ac_optarg ;; | 
|---|
| 569 |  | 
|---|
| 570 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
| 571 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
| 572 |     ac_prev=sysconfdir ;; | 
|---|
| 573 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
| 574 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
| 575 |     sysconfdir=$ac_optarg ;; | 
|---|
| 576 |  | 
|---|
| 577 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
| 578 |     ac_prev=target_alias ;; | 
|---|
| 579 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
| 580 |     target_alias=$ac_optarg ;; | 
|---|
| 581 |  | 
|---|
| 582 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
| 583 |     verbose=yes ;; | 
|---|
| 584 |  | 
|---|
| 585 |   -version | --version | --versio | --versi | --vers | -V) | 
|---|
| 586 |     ac_init_version=: ;; | 
|---|
| 587 |  | 
|---|
| 588 |   -with-* | --with-*) | 
|---|
| 589 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
| 590 |     # Reject names that are not valid shell variable names. | 
|---|
| 591 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 592 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
| 593 |    { (exit 1); exit 1; }; } | 
|---|
| 594 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
|---|
| 595 |     case $ac_option in | 
|---|
| 596 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|---|
| 597 |       *) ac_optarg=yes ;; | 
|---|
| 598 |     esac | 
|---|
| 599 |     eval "with_$ac_package='$ac_optarg'" ;; | 
|---|
| 600 |  | 
|---|
| 601 |   -without-* | --without-*) | 
|---|
| 602 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
| 603 |     # Reject names that are not valid shell variable names. | 
|---|
| 604 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|---|
| 605 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|---|
| 606 |    { (exit 1); exit 1; }; } | 
|---|
| 607 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
|---|
| 608 |     eval "with_$ac_package=no" ;; | 
|---|
| 609 |  | 
|---|
| 610 |   --x) | 
|---|
| 611 |     # Obsolete; use --with-x. | 
|---|
| 612 |     with_x=yes ;; | 
|---|
| 613 |  | 
|---|
| 614 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
| 615 |   | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
| 616 |     ac_prev=x_includes ;; | 
|---|
| 617 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
| 618 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
| 619 |     x_includes=$ac_optarg ;; | 
|---|
| 620 |  | 
|---|
| 621 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
| 622 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
| 623 |     ac_prev=x_libraries ;; | 
|---|
| 624 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
| 625 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
| 626 |     x_libraries=$ac_optarg ;; | 
|---|
| 627 |  | 
|---|
| 628 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
|---|
| 629 | Try \`$0 --help' for more information." >&2 | 
|---|
| 630 |    { (exit 1); exit 1; }; } | 
|---|
| 631 |     ;; | 
|---|
| 632 |  | 
|---|
| 633 |   *=*) | 
|---|
| 634 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
| 635 |     # Reject names that are not valid shell variable names. | 
|---|
| 636 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
|---|
| 637 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
|---|
| 638 |    { (exit 1); exit 1; }; } | 
|---|
| 639 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
|---|
| 640 |     eval "$ac_envvar='$ac_optarg'" | 
|---|
| 641 |     export $ac_envvar ;; | 
|---|
| 642 |  | 
|---|
| 643 |   *) | 
|---|
| 644 |     # FIXME: should be removed in autoconf 3.0. | 
|---|
| 645 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
| 646 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
| 647 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
| 648 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
|---|
| 649 |     ;; | 
|---|
| 650 |  | 
|---|
| 651 |   esac | 
|---|
| 652 | done | 
|---|
| 653 |  | 
|---|
| 654 | if test -n "$ac_prev"; then | 
|---|
| 655 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
| 656 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
|---|
| 657 |    { (exit 1); exit 1; }; } | 
|---|
| 658 | fi | 
|---|
| 659 |  | 
|---|
| 660 | # Be sure to have absolute paths. | 
|---|
| 661 | for ac_var in exec_prefix prefix | 
|---|
| 662 | do | 
|---|
| 663 |   eval ac_val=$`echo $ac_var` | 
|---|
| 664 |   case $ac_val in | 
|---|
| 665 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
|---|
| 666 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
| 667 |    { (exit 1); exit 1; }; };; | 
|---|
| 668 |   esac | 
|---|
| 669 | done | 
|---|
| 670 |  | 
|---|
| 671 | # Be sure to have absolute paths. | 
|---|
| 672 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
|---|
| 673 |               localstatedir libdir includedir oldincludedir infodir mandir | 
|---|
| 674 | do | 
|---|
| 675 |   eval ac_val=$`echo $ac_var` | 
|---|
| 676 |   case $ac_val in | 
|---|
| 677 |     [\\/$]* | ?:[\\/]* ) ;; | 
|---|
| 678 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|---|
| 679 |    { (exit 1); exit 1; }; };; | 
|---|
| 680 |   esac | 
|---|
| 681 | done | 
|---|
| 682 |  | 
|---|
| 683 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
| 684 | # used to hold the argument of --host etc. | 
|---|
| 685 | # FIXME: To remove some day. | 
|---|
| 686 | build=$build_alias | 
|---|
| 687 | host=$host_alias | 
|---|
| 688 | target=$target_alias | 
|---|
| 689 |  | 
|---|
| 690 | # FIXME: To remove some day. | 
|---|
| 691 | if test "x$host_alias" != x; then | 
|---|
| 692 |   if test "x$build_alias" = x; then | 
|---|
| 693 |     cross_compiling=maybe | 
|---|
| 694 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
|---|
| 695 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
|---|
| 696 |   elif test "x$build_alias" != "x$host_alias"; then | 
|---|
| 697 |     cross_compiling=yes | 
|---|
| 698 |   fi | 
|---|
| 699 | fi | 
|---|
| 700 |  | 
|---|
| 701 | ac_tool_prefix= | 
|---|
| 702 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
| 703 |  | 
|---|
| 704 | test "$silent" = yes && exec 6>/dev/null | 
|---|
| 705 |  | 
|---|
| 706 |  | 
|---|
| 707 | # Find the source files, if location was not specified. | 
|---|
| 708 | if test -z "$srcdir"; then | 
|---|
| 709 |   ac_srcdir_defaulted=yes | 
|---|
| 710 |   # Try the directory containing this script, then its parent. | 
|---|
| 711 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
|---|
| 712 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 713 |          X"$0" : 'X\(//\)[^/]' \| \ | 
|---|
| 714 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 715 |          X"$0" : 'X\(/\)' \| \ | 
|---|
| 716 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 717 | echo X"$0" | | 
|---|
| 718 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 719 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 720 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 721 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 722 |           s/.*/./; q'` | 
|---|
| 723 |   srcdir=$ac_confdir | 
|---|
| 724 |   if test ! -r $srcdir/$ac_unique_file; then | 
|---|
| 725 |     srcdir=.. | 
|---|
| 726 |   fi | 
|---|
| 727 | else | 
|---|
| 728 |   ac_srcdir_defaulted=no | 
|---|
| 729 | fi | 
|---|
| 730 | if test ! -r $srcdir/$ac_unique_file; then | 
|---|
| 731 |   if test "$ac_srcdir_defaulted" = yes; then | 
|---|
| 732 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
|---|
| 733 |    { (exit 1); exit 1; }; } | 
|---|
| 734 |   else | 
|---|
| 735 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
|---|
| 736 |    { (exit 1); exit 1; }; } | 
|---|
| 737 |   fi | 
|---|
| 738 | fi | 
|---|
| 739 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
|---|
| 740 |   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
|---|
| 741 |    { (exit 1); exit 1; }; } | 
|---|
| 742 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
|---|
| 743 | ac_env_build_alias_set=${build_alias+set} | 
|---|
| 744 | ac_env_build_alias_value=$build_alias | 
|---|
| 745 | ac_cv_env_build_alias_set=${build_alias+set} | 
|---|
| 746 | ac_cv_env_build_alias_value=$build_alias | 
|---|
| 747 | ac_env_host_alias_set=${host_alias+set} | 
|---|
| 748 | ac_env_host_alias_value=$host_alias | 
|---|
| 749 | ac_cv_env_host_alias_set=${host_alias+set} | 
|---|
| 750 | ac_cv_env_host_alias_value=$host_alias | 
|---|
| 751 | ac_env_target_alias_set=${target_alias+set} | 
|---|
| 752 | ac_env_target_alias_value=$target_alias | 
|---|
| 753 | ac_cv_env_target_alias_set=${target_alias+set} | 
|---|
| 754 | ac_cv_env_target_alias_value=$target_alias | 
|---|
| 755 | ac_env_CXX_set=${CXX+set} | 
|---|
| 756 | ac_env_CXX_value=$CXX | 
|---|
| 757 | ac_cv_env_CXX_set=${CXX+set} | 
|---|
| 758 | ac_cv_env_CXX_value=$CXX | 
|---|
| 759 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
| 760 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
| 761 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|---|
| 762 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
|---|
| 763 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
| 764 | ac_env_LDFLAGS_value=$LDFLAGS | 
|---|
| 765 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
|---|
| 766 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
|---|
| 767 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
| 768 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
| 769 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|---|
| 770 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
|---|
| 771 | ac_env_CC_set=${CC+set} | 
|---|
| 772 | ac_env_CC_value=$CC | 
|---|
| 773 | ac_cv_env_CC_set=${CC+set} | 
|---|
| 774 | ac_cv_env_CC_value=$CC | 
|---|
| 775 | ac_env_CFLAGS_set=${CFLAGS+set} | 
|---|
| 776 | ac_env_CFLAGS_value=$CFLAGS | 
|---|
| 777 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
|---|
| 778 | ac_cv_env_CFLAGS_value=$CFLAGS | 
|---|
| 779 | ac_env_CPP_set=${CPP+set} | 
|---|
| 780 | ac_env_CPP_value=$CPP | 
|---|
| 781 | ac_cv_env_CPP_set=${CPP+set} | 
|---|
| 782 | ac_cv_env_CPP_value=$CPP | 
|---|
| 783 |  | 
|---|
| 784 | # | 
|---|
| 785 | # Report the --help message. | 
|---|
| 786 | # | 
|---|
| 787 | if test "$ac_init_help" = "long"; then | 
|---|
| 788 |   # Omit some internal or obsolete options to make the list less imposing. | 
|---|
| 789 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
| 790 |   cat <<_ACEOF | 
|---|
| 791 | \`configure' configures orxonox 0.1-pre-alpha to adapt to many kinds of systems. | 
|---|
| 792 |  | 
|---|
| 793 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
| 794 |  | 
|---|
| 795 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
| 796 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
| 797 |  | 
|---|
| 798 | Defaults for the options are specified in brackets. | 
|---|
| 799 |  | 
|---|
| 800 | Configuration: | 
|---|
| 801 |   -h, --help              display this help and exit | 
|---|
| 802 |       --help=short        display options specific to this package | 
|---|
| 803 |       --help=recursive    display the short help of all the included packages | 
|---|
| 804 |   -V, --version           display version information and exit | 
|---|
| 805 |   -q, --quiet, --silent   do not print \`checking...' messages | 
|---|
| 806 |       --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
| 807 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
| 808 |   -n, --no-create         do not create output files | 
|---|
| 809 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
| 810 |  | 
|---|
| 811 | _ACEOF | 
|---|
| 812 |  | 
|---|
| 813 |   cat <<_ACEOF | 
|---|
| 814 | Installation directories: | 
|---|
| 815 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
| 816 |                           [$ac_default_prefix] | 
|---|
| 817 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
| 818 |                           [PREFIX] | 
|---|
| 819 |  | 
|---|
| 820 | By default, \`make install' will install all the files in | 
|---|
| 821 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
| 822 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
| 823 | for instance \`--prefix=\$HOME'. | 
|---|
| 824 |  | 
|---|
| 825 | For better control, use the options below. | 
|---|
| 826 |  | 
|---|
| 827 | Fine tuning of the installation directories: | 
|---|
| 828 |   --bindir=DIR           user executables [EPREFIX/bin] | 
|---|
| 829 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
|---|
| 830 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
|---|
| 831 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
|---|
| 832 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
|---|
| 833 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
|---|
| 834 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
|---|
| 835 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
|---|
| 836 |   --includedir=DIR       C header files [PREFIX/include] | 
|---|
| 837 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
|---|
| 838 |   --infodir=DIR          info documentation [PREFIX/info] | 
|---|
| 839 |   --mandir=DIR           man documentation [PREFIX/man] | 
|---|
| 840 | _ACEOF | 
|---|
| 841 |  | 
|---|
| 842 |   cat <<\_ACEOF | 
|---|
| 843 |  | 
|---|
| 844 | Program names: | 
|---|
| 845 |   --program-prefix=PREFIX            prepend PREFIX to installed program names | 
|---|
| 846 |   --program-suffix=SUFFIX            append SUFFIX to installed program names | 
|---|
| 847 |   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names | 
|---|
| 848 | _ACEOF | 
|---|
| 849 | fi | 
|---|
| 850 |  | 
|---|
| 851 | if test -n "$ac_init_help"; then | 
|---|
| 852 |   case $ac_init_help in | 
|---|
| 853 |      short | recursive ) echo "Configuration of orxonox 0.1-pre-alpha:";; | 
|---|
| 854 |    esac | 
|---|
| 855 |   cat <<\_ACEOF | 
|---|
| 856 |  | 
|---|
| 857 | Optional Features: | 
|---|
| 858 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
| 859 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| 860 |   --disable-dependency-tracking Speeds up one-time builds | 
|---|
| 861 |   --enable-dependency-tracking  Do not reject slow dependency extractors | 
|---|
| 862 |  | 
|---|
| 863 | Some influential environment variables: | 
|---|
| 864 |   CXX         C++ compiler command | 
|---|
| 865 |   CXXFLAGS    C++ compiler flags | 
|---|
| 866 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 867 |               nonstandard directory <lib dir> | 
|---|
| 868 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|---|
| 869 |               headers in a nonstandard directory <include dir> | 
|---|
| 870 |   CC          C compiler command | 
|---|
| 871 |   CFLAGS      C compiler flags | 
|---|
| 872 |   CPP         C preprocessor | 
|---|
| 873 |  | 
|---|
| 874 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 875 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 876 |  | 
|---|
| 877 | Report bugs to <orxonox-dev@mail.datacore.ch>. | 
|---|
| 878 | _ACEOF | 
|---|
| 879 | fi | 
|---|
| 880 |  | 
|---|
| 881 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 882 |   # If there are subdirs, report their specific --help. | 
|---|
| 883 |   ac_popdir=`pwd` | 
|---|
| 884 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 885 |     test -d $ac_dir || continue | 
|---|
| 886 |     ac_builddir=. | 
|---|
| 887 |  | 
|---|
| 888 | if test "$ac_dir" != .; then | 
|---|
| 889 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 890 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 891 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 892 | else | 
|---|
| 893 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 894 | fi | 
|---|
| 895 |  | 
|---|
| 896 | case $srcdir in | 
|---|
| 897 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 898 |     ac_srcdir=. | 
|---|
| 899 |     if test -z "$ac_top_builddir"; then | 
|---|
| 900 |        ac_top_srcdir=. | 
|---|
| 901 |     else | 
|---|
| 902 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 903 |     fi ;; | 
|---|
| 904 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 905 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 906 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 907 |   *) # Relative path. | 
|---|
| 908 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 909 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 910 | esac | 
|---|
| 911 |  | 
|---|
| 912 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 913 | # the directories may not exist. | 
|---|
| 914 | case `pwd` in | 
|---|
| 915 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 916 | *) | 
|---|
| 917 |   case "$ac_dir" in | 
|---|
| 918 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 919 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 920 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 921 |   esac;; | 
|---|
| 922 | esac | 
|---|
| 923 | case $ac_abs_builddir in | 
|---|
| 924 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 925 | *) | 
|---|
| 926 |   case ${ac_top_builddir}. in | 
|---|
| 927 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 928 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 929 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 930 |   esac;; | 
|---|
| 931 | esac | 
|---|
| 932 | case $ac_abs_builddir in | 
|---|
| 933 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 934 | *) | 
|---|
| 935 |   case $ac_srcdir in | 
|---|
| 936 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 937 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 938 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 939 |   esac;; | 
|---|
| 940 | esac | 
|---|
| 941 | case $ac_abs_builddir in | 
|---|
| 942 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 943 | *) | 
|---|
| 944 |   case $ac_top_srcdir in | 
|---|
| 945 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 946 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 947 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 948 |   esac;; | 
|---|
| 949 | esac | 
|---|
| 950 |  | 
|---|
| 951 |     cd $ac_dir | 
|---|
| 952 |     # Check for guested configure; otherwise get Cygnus style configure. | 
|---|
| 953 |     if test -f $ac_srcdir/configure.gnu; then | 
|---|
| 954 |       echo | 
|---|
| 955 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|---|
| 956 |     elif test -f $ac_srcdir/configure; then | 
|---|
| 957 |       echo | 
|---|
| 958 |       $SHELL $ac_srcdir/configure  --help=recursive | 
|---|
| 959 |     elif test -f $ac_srcdir/configure.ac || | 
|---|
| 960 |            test -f $ac_srcdir/configure.in; then | 
|---|
| 961 |       echo | 
|---|
| 962 |       $ac_configure --help | 
|---|
| 963 |     else | 
|---|
| 964 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 965 |     fi | 
|---|
| 966 |     cd $ac_popdir | 
|---|
| 967 |   done | 
|---|
| 968 | fi | 
|---|
| 969 |  | 
|---|
| 970 | test -n "$ac_init_help" && exit 0 | 
|---|
| 971 | if $ac_init_version; then | 
|---|
| 972 |   cat <<\_ACEOF | 
|---|
| 973 | orxonox configure 0.1-pre-alpha | 
|---|
| 974 | generated by GNU Autoconf 2.59 | 
|---|
| 975 |  | 
|---|
| 976 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 977 | This configure script is free software; the Free Software Foundation | 
|---|
| 978 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 979 | _ACEOF | 
|---|
| 980 |   exit 0 | 
|---|
| 981 | fi | 
|---|
| 982 | exec 5>config.log | 
|---|
| 983 | cat >&5 <<_ACEOF | 
|---|
| 984 | This file contains any messages produced by compilers while | 
|---|
| 985 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 986 |  | 
|---|
| 987 | It was created by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
| 988 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 989 |  | 
|---|
| 990 |   $ $0 $@ | 
|---|
| 991 |  | 
|---|
| 992 | _ACEOF | 
|---|
| 993 | { | 
|---|
| 994 | cat <<_ASUNAME | 
|---|
| 995 | ## --------- ## | 
|---|
| 996 | ## Platform. ## | 
|---|
| 997 | ## --------- ## | 
|---|
| 998 |  | 
|---|
| 999 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1000 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1001 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1002 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1003 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1004 |  | 
|---|
| 1005 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1006 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1007 |  | 
|---|
| 1008 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1009 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1010 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1011 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|---|
| 1012 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1013 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1014 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1015 |  | 
|---|
| 1016 | _ASUNAME | 
|---|
| 1017 |  | 
|---|
| 1018 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1019 | for as_dir in $PATH | 
|---|
| 1020 | do | 
|---|
| 1021 |   IFS=$as_save_IFS | 
|---|
| 1022 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1023 |   echo "PATH: $as_dir" | 
|---|
| 1024 | done | 
|---|
| 1025 |  | 
|---|
| 1026 | } >&5 | 
|---|
| 1027 |  | 
|---|
| 1028 | cat >&5 <<_ACEOF | 
|---|
| 1029 |  | 
|---|
| 1030 |  | 
|---|
| 1031 | ## ----------- ## | 
|---|
| 1032 | ## Core tests. ## | 
|---|
| 1033 | ## ----------- ## | 
|---|
| 1034 |  | 
|---|
| 1035 | _ACEOF | 
|---|
| 1036 |  | 
|---|
| 1037 |  | 
|---|
| 1038 | # Keep a trace of the command line. | 
|---|
| 1039 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1040 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1041 | # Also quote any args containing shell meta-characters. | 
|---|
| 1042 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1043 | ac_configure_args= | 
|---|
| 1044 | ac_configure_args0= | 
|---|
| 1045 | ac_configure_args1= | 
|---|
| 1046 | ac_sep= | 
|---|
| 1047 | ac_must_keep_next=false | 
|---|
| 1048 | for ac_pass in 1 2 | 
|---|
| 1049 | do | 
|---|
| 1050 |   for ac_arg | 
|---|
| 1051 |   do | 
|---|
| 1052 |     case $ac_arg in | 
|---|
| 1053 |     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1054 |     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1055 |     | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1056 |       continue ;; | 
|---|
| 1057 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1058 |       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1059 |     esac | 
|---|
| 1060 |     case $ac_pass in | 
|---|
| 1061 |     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|---|
| 1062 |     2) | 
|---|
| 1063 |       ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|---|
| 1064 |       if test $ac_must_keep_next = true; then | 
|---|
| 1065 |         ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1066 |       else | 
|---|
| 1067 |         case $ac_arg in | 
|---|
| 1068 |           *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1069 |           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1070 |           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1071 |           | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1072 |             case "$ac_configure_args0 " in | 
|---|
| 1073 |               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1074 |             esac | 
|---|
| 1075 |             ;; | 
|---|
| 1076 |           -* ) ac_must_keep_next=true ;; | 
|---|
| 1077 |         esac | 
|---|
| 1078 |       fi | 
|---|
| 1079 |       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|---|
| 1080 |       # Get rid of the leading space. | 
|---|
| 1081 |       ac_sep=" " | 
|---|
| 1082 |       ;; | 
|---|
| 1083 |     esac | 
|---|
| 1084 |   done | 
|---|
| 1085 | done | 
|---|
| 1086 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|---|
| 1087 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
|---|
| 1088 |  | 
|---|
| 1089 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1090 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1091 | # would cause problems or look ugly. | 
|---|
| 1092 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|---|
| 1093 | # such as our DU 5.0 friend, will then `close' the trap. | 
|---|
| 1094 | trap 'exit_status=$? | 
|---|
| 1095 |   # Save into config.log some information that might help in debugging. | 
|---|
| 1096 |   { | 
|---|
| 1097 |     echo | 
|---|
| 1098 |  | 
|---|
| 1099 |     cat <<\_ASBOX | 
|---|
| 1100 | ## ---------------- ## | 
|---|
| 1101 | ## Cache variables. ## | 
|---|
| 1102 | ## ---------------- ## | 
|---|
| 1103 | _ASBOX | 
|---|
| 1104 |     echo | 
|---|
| 1105 |     # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1106 | { | 
|---|
| 1107 |   (set) 2>&1 | | 
|---|
| 1108 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|---|
| 1109 |     *ac_space=\ *) | 
|---|
| 1110 |       sed -n \ | 
|---|
| 1111 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|---|
| 1112 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|---|
| 1113 |       ;; | 
|---|
| 1114 |     *) | 
|---|
| 1115 |       sed -n \ | 
|---|
| 1116 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 1117 |       ;; | 
|---|
| 1118 |     esac; | 
|---|
| 1119 | } | 
|---|
| 1120 |     echo | 
|---|
| 1121 |  | 
|---|
| 1122 |     cat <<\_ASBOX | 
|---|
| 1123 | ## ----------------- ## | 
|---|
| 1124 | ## Output variables. ## | 
|---|
| 1125 | ## ----------------- ## | 
|---|
| 1126 | _ASBOX | 
|---|
| 1127 |     echo | 
|---|
| 1128 |     for ac_var in $ac_subst_vars | 
|---|
| 1129 |     do | 
|---|
| 1130 |       eval ac_val=$`echo $ac_var` | 
|---|
| 1131 |       echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1132 |     done | sort | 
|---|
| 1133 |     echo | 
|---|
| 1134 |  | 
|---|
| 1135 |     if test -n "$ac_subst_files"; then | 
|---|
| 1136 |       cat <<\_ASBOX | 
|---|
| 1137 | ## ------------- ## | 
|---|
| 1138 | ## Output files. ## | 
|---|
| 1139 | ## ------------- ## | 
|---|
| 1140 | _ASBOX | 
|---|
| 1141 |       echo | 
|---|
| 1142 |       for ac_var in $ac_subst_files | 
|---|
| 1143 |       do | 
|---|
| 1144 |         eval ac_val=$`echo $ac_var` | 
|---|
| 1145 |         echo "$ac_var='"'"'$ac_val'"'"'" | 
|---|
| 1146 |       done | sort | 
|---|
| 1147 |       echo | 
|---|
| 1148 |     fi | 
|---|
| 1149 |  | 
|---|
| 1150 |     if test -s confdefs.h; then | 
|---|
| 1151 |       cat <<\_ASBOX | 
|---|
| 1152 | ## ----------- ## | 
|---|
| 1153 | ## confdefs.h. ## | 
|---|
| 1154 | ## ----------- ## | 
|---|
| 1155 | _ASBOX | 
|---|
| 1156 |       echo | 
|---|
| 1157 |       sed "/^$/d" confdefs.h | sort | 
|---|
| 1158 |       echo | 
|---|
| 1159 |     fi | 
|---|
| 1160 |     test "$ac_signal" != 0 && | 
|---|
| 1161 |       echo "$as_me: caught signal $ac_signal" | 
|---|
| 1162 |     echo "$as_me: exit $exit_status" | 
|---|
| 1163 |   } >&5 | 
|---|
| 1164 |   rm -f core *.core && | 
|---|
| 1165 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1166 |     exit $exit_status | 
|---|
| 1167 |      ' 0 | 
|---|
| 1168 | for ac_signal in 1 2 13 15; do | 
|---|
| 1169 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|---|
| 1170 | done | 
|---|
| 1171 | ac_signal=0 | 
|---|
| 1172 |  | 
|---|
| 1173 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1174 | rm -rf conftest* confdefs.h | 
|---|
| 1175 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|---|
| 1176 | echo >confdefs.h | 
|---|
| 1177 |  | 
|---|
| 1178 | # Predefined preprocessor variables. | 
|---|
| 1179 |  | 
|---|
| 1180 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1181 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1182 | _ACEOF | 
|---|
| 1183 |  | 
|---|
| 1184 |  | 
|---|
| 1185 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1186 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1187 | _ACEOF | 
|---|
| 1188 |  | 
|---|
| 1189 |  | 
|---|
| 1190 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1191 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1192 | _ACEOF | 
|---|
| 1193 |  | 
|---|
| 1194 |  | 
|---|
| 1195 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1196 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1197 | _ACEOF | 
|---|
| 1198 |  | 
|---|
| 1199 |  | 
|---|
| 1200 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1201 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1202 | _ACEOF | 
|---|
| 1203 |  | 
|---|
| 1204 |  | 
|---|
| 1205 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1206 | # Prefer explicitly selected file to automatically selected ones. | 
|---|
| 1207 | if test -z "$CONFIG_SITE"; then | 
|---|
| 1208 |   if test "x$prefix" != xNONE; then | 
|---|
| 1209 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|---|
| 1210 |   else | 
|---|
| 1211 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|---|
| 1212 |   fi | 
|---|
| 1213 | fi | 
|---|
| 1214 | for ac_site_file in $CONFIG_SITE; do | 
|---|
| 1215 |   if test -r "$ac_site_file"; then | 
|---|
| 1216 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|---|
| 1217 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1218 |     sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1219 |     . "$ac_site_file" | 
|---|
| 1220 |   fi | 
|---|
| 1221 | done | 
|---|
| 1222 |  | 
|---|
| 1223 | if test -r "$cache_file"; then | 
|---|
| 1224 |   # Some versions of bash will fail to source /dev/null (special | 
|---|
| 1225 |   # files actually), so we avoid doing that. | 
|---|
| 1226 |   if test -f "$cache_file"; then | 
|---|
| 1227 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|---|
| 1228 | echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1229 |     case $cache_file in | 
|---|
| 1230 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|---|
| 1231 |       *)                      . ./$cache_file;; | 
|---|
| 1232 |     esac | 
|---|
| 1233 |   fi | 
|---|
| 1234 | else | 
|---|
| 1235 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|---|
| 1236 | echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1237 |   >$cache_file | 
|---|
| 1238 | fi | 
|---|
| 1239 |  | 
|---|
| 1240 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1241 | # value. | 
|---|
| 1242 | ac_cache_corrupted=false | 
|---|
| 1243 | for ac_var in `(set) 2>&1 | | 
|---|
| 1244 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|---|
| 1245 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1246 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1247 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|---|
| 1248 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
|---|
| 1249 |   case $ac_old_set,$ac_new_set in | 
|---|
| 1250 |     set,) | 
|---|
| 1251 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1252 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1253 |       ac_cache_corrupted=: ;; | 
|---|
| 1254 |     ,set) | 
|---|
| 1255 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1256 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1257 |       ac_cache_corrupted=: ;; | 
|---|
| 1258 |     ,);; | 
|---|
| 1259 |     *) | 
|---|
| 1260 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1261 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1262 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1263 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|---|
| 1264 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|---|
| 1265 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|---|
| 1266 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|---|
| 1267 |         ac_cache_corrupted=: | 
|---|
| 1268 |       fi;; | 
|---|
| 1269 |   esac | 
|---|
| 1270 |   # Pass precious variables to config.status. | 
|---|
| 1271 |   if test "$ac_new_set" = set; then | 
|---|
| 1272 |     case $ac_new_val in | 
|---|
| 1273 |     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|---|
| 1274 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1275 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1276 |     esac | 
|---|
| 1277 |     case " $ac_configure_args " in | 
|---|
| 1278 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1279 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|---|
| 1280 |     esac | 
|---|
| 1281 |   fi | 
|---|
| 1282 | done | 
|---|
| 1283 | if $ac_cache_corrupted; then | 
|---|
| 1284 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1285 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1286 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|---|
| 1287 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|---|
| 1288 |    { (exit 1); exit 1; }; } | 
|---|
| 1289 | fi | 
|---|
| 1290 |  | 
|---|
| 1291 | ac_ext=c | 
|---|
| 1292 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1293 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1294 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1295 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1296 |  | 
|---|
| 1297 |  | 
|---|
| 1298 |  | 
|---|
| 1299 |  | 
|---|
| 1300 |  | 
|---|
| 1301 |  | 
|---|
| 1302 |  | 
|---|
| 1303 |  | 
|---|
| 1304 |  | 
|---|
| 1305 |  | 
|---|
| 1306 |  | 
|---|
| 1307 |  | 
|---|
| 1308 |  | 
|---|
| 1309 |  | 
|---|
| 1310 |  | 
|---|
| 1311 |  | 
|---|
| 1312 |  | 
|---|
| 1313 |  | 
|---|
| 1314 |  | 
|---|
| 1315 |  | 
|---|
| 1316 |  | 
|---|
| 1317 |  | 
|---|
| 1318 |  | 
|---|
| 1319 |  | 
|---|
| 1320 |  | 
|---|
| 1321 |  | 
|---|
| 1322 |  | 
|---|
| 1323 |  | 
|---|
| 1324 |           ac_config_headers="$ac_config_headers config.h" | 
|---|
| 1325 |  | 
|---|
| 1326 | am__api_version="1.7" | 
|---|
| 1327 | ac_aux_dir= | 
|---|
| 1328 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
|---|
| 1329 |   if test -f $ac_dir/install-sh; then | 
|---|
| 1330 |     ac_aux_dir=$ac_dir | 
|---|
| 1331 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 1332 |     break | 
|---|
| 1333 |   elif 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/shtool; then | 
|---|
| 1338 |     ac_aux_dir=$ac_dir | 
|---|
| 1339 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 1340 |     break | 
|---|
| 1341 |   fi | 
|---|
| 1342 | done | 
|---|
| 1343 | if test -z "$ac_aux_dir"; then | 
|---|
| 1344 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
|---|
| 1345 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
|---|
| 1346 |    { (exit 1); exit 1; }; } | 
|---|
| 1347 | fi | 
|---|
| 1348 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|---|
| 1349 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|---|
| 1350 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|---|
| 1351 |  | 
|---|
| 1352 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1353 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1354 | # incompatible versions: | 
|---|
| 1355 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1356 | # SunOS /usr/etc/install | 
|---|
| 1357 | # IRIX /sbin/install | 
|---|
| 1358 | # AIX /bin/install | 
|---|
| 1359 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 1360 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1361 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1362 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1363 | # OS/2's system install, which has a completely different semantic | 
|---|
| 1364 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1365 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|---|
| 1366 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|---|
| 1367 | if test -z "$INSTALL"; then | 
|---|
| 1368 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1369 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1370 | else | 
|---|
| 1371 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1372 | for as_dir in $PATH | 
|---|
| 1373 | do | 
|---|
| 1374 |   IFS=$as_save_IFS | 
|---|
| 1375 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1376 |   # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1377 | case $as_dir/ in | 
|---|
| 1378 |   ./ | .// | /cC/* | \ | 
|---|
| 1379 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 1380 |   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 
|---|
| 1381 |   /usr/ucb/* ) ;; | 
|---|
| 1382 |   *) | 
|---|
| 1383 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1384 |     # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1385 |     # by default. | 
|---|
| 1386 |     for ac_prog in ginstall scoinst install; do | 
|---|
| 1387 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1388 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|---|
| 1389 |           if test $ac_prog = install && | 
|---|
| 1390 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1391 |             # AIX install.  It has an incompatible calling convention. | 
|---|
| 1392 |             : | 
|---|
| 1393 |           elif test $ac_prog = install && | 
|---|
| 1394 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 1395 |             # program-specific install script used by HP pwplus--don't use. | 
|---|
| 1396 |             : | 
|---|
| 1397 |           else | 
|---|
| 1398 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 1399 |             break 3 | 
|---|
| 1400 |           fi | 
|---|
| 1401 |         fi | 
|---|
| 1402 |       done | 
|---|
| 1403 |     done | 
|---|
| 1404 |     ;; | 
|---|
| 1405 | esac | 
|---|
| 1406 | done | 
|---|
| 1407 |  | 
|---|
| 1408 |  | 
|---|
| 1409 | fi | 
|---|
| 1410 |   if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1411 |     INSTALL=$ac_cv_path_install | 
|---|
| 1412 |   else | 
|---|
| 1413 |     # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1414 |     # path for INSTALL within a source directory, because that will | 
|---|
| 1415 |     # break other packages using the cache if that directory is | 
|---|
| 1416 |     # removed, or if the path is relative. | 
|---|
| 1417 |     INSTALL=$ac_install_sh | 
|---|
| 1418 |   fi | 
|---|
| 1419 | fi | 
|---|
| 1420 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|---|
| 1421 | echo "${ECHO_T}$INSTALL" >&6 | 
|---|
| 1422 |  | 
|---|
| 1423 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1424 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1425 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1426 |  | 
|---|
| 1427 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 1428 |  | 
|---|
| 1429 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1430 |  | 
|---|
| 1431 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | 
|---|
| 1432 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 | 
|---|
| 1433 | # Just in case | 
|---|
| 1434 | sleep 1 | 
|---|
| 1435 | echo timestamp > conftest.file | 
|---|
| 1436 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 1437 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 1438 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 1439 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 1440 | # directory). | 
|---|
| 1441 | if ( | 
|---|
| 1442 |    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | 
|---|
| 1443 |    if test "$*" = "X"; then | 
|---|
| 1444 |       # -L didn't work. | 
|---|
| 1445 |       set X `ls -t $srcdir/configure conftest.file` | 
|---|
| 1446 |    fi | 
|---|
| 1447 |    rm -f conftest.file | 
|---|
| 1448 |    if test "$*" != "X $srcdir/configure conftest.file" \ | 
|---|
| 1449 |       && test "$*" != "X conftest.file $srcdir/configure"; then | 
|---|
| 1450 |  | 
|---|
| 1451 |       # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 1452 |       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 1453 |       # broken ls alias from the environment.  This has actually | 
|---|
| 1454 |       # happened.  Such a system could not be considered "sane". | 
|---|
| 1455 |       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1456 | alias in your environment" >&5 | 
|---|
| 1457 | echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 1458 | alias in your environment" >&2;} | 
|---|
| 1459 |    { (exit 1); exit 1; }; } | 
|---|
| 1460 |    fi | 
|---|
| 1461 |  | 
|---|
| 1462 |    test "$2" = conftest.file | 
|---|
| 1463 |    ) | 
|---|
| 1464 | then | 
|---|
| 1465 |    # Ok. | 
|---|
| 1466 |    : | 
|---|
| 1467 | else | 
|---|
| 1468 |    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! | 
|---|
| 1469 | Check your system clock" >&5 | 
|---|
| 1470 | echo "$as_me: error: newly created file is older than distributed files! | 
|---|
| 1471 | Check your system clock" >&2;} | 
|---|
| 1472 |    { (exit 1); exit 1; }; } | 
|---|
| 1473 | fi | 
|---|
| 1474 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1475 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1476 | test "$program_prefix" != NONE && | 
|---|
| 1477 |   program_transform_name="s,^,$program_prefix,;$program_transform_name" | 
|---|
| 1478 | # Use a double $ so make ignores it. | 
|---|
| 1479 | test "$program_suffix" != NONE && | 
|---|
| 1480 |   program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 
|---|
| 1481 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 1482 | # By default was `s,x,x', remove it if useless. | 
|---|
| 1483 | cat <<\_ACEOF >conftest.sed | 
|---|
| 1484 | s/[\\$]/&&/g;s/;s,x,x,$// | 
|---|
| 1485 | _ACEOF | 
|---|
| 1486 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 
|---|
| 1487 | rm conftest.sed | 
|---|
| 1488 |  | 
|---|
| 1489 |  | 
|---|
| 1490 | # expand $ac_aux_dir to an absolute path | 
|---|
| 1491 | am_aux_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 1492 |  | 
|---|
| 1493 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | 
|---|
| 1494 | # Use eval to expand $SHELL | 
|---|
| 1495 | if eval "$MISSING --run true"; then | 
|---|
| 1496 |   am_missing_run="$MISSING --run " | 
|---|
| 1497 | else | 
|---|
| 1498 |   am_missing_run= | 
|---|
| 1499 |   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | 
|---|
| 1500 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 
|---|
| 1501 | fi | 
|---|
| 1502 |  | 
|---|
| 1503 | for ac_prog in gawk mawk nawk awk | 
|---|
| 1504 | do | 
|---|
| 1505 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1506 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1507 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1508 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1509 | if test "${ac_cv_prog_AWK+set}" = set; then | 
|---|
| 1510 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1511 | else | 
|---|
| 1512 |   if test -n "$AWK"; then | 
|---|
| 1513 |   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
|---|
| 1514 | else | 
|---|
| 1515 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1516 | for as_dir in $PATH | 
|---|
| 1517 | do | 
|---|
| 1518 |   IFS=$as_save_IFS | 
|---|
| 1519 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1520 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1521 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1522 |     ac_cv_prog_AWK="$ac_prog" | 
|---|
| 1523 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1524 |     break 2 | 
|---|
| 1525 |   fi | 
|---|
| 1526 | done | 
|---|
| 1527 | done | 
|---|
| 1528 |  | 
|---|
| 1529 | fi | 
|---|
| 1530 | fi | 
|---|
| 1531 | AWK=$ac_cv_prog_AWK | 
|---|
| 1532 | if test -n "$AWK"; then | 
|---|
| 1533 |   echo "$as_me:$LINENO: result: $AWK" >&5 | 
|---|
| 1534 | echo "${ECHO_T}$AWK" >&6 | 
|---|
| 1535 | else | 
|---|
| 1536 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1537 | echo "${ECHO_T}no" >&6 | 
|---|
| 1538 | fi | 
|---|
| 1539 |  | 
|---|
| 1540 |   test -n "$AWK" && break | 
|---|
| 1541 | done | 
|---|
| 1542 |  | 
|---|
| 1543 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 
|---|
| 1544 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 
|---|
| 1545 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 
|---|
| 1546 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 
|---|
| 1547 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1548 | else | 
|---|
| 1549 |   cat >conftest.make <<\_ACEOF | 
|---|
| 1550 | all: | 
|---|
| 1551 |         @echo 'ac_maketemp="$(MAKE)"' | 
|---|
| 1552 | _ACEOF | 
|---|
| 1553 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 1554 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 
|---|
| 1555 | if test -n "$ac_maketemp"; then | 
|---|
| 1556 |   eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 1557 | else | 
|---|
| 1558 |   eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 1559 | fi | 
|---|
| 1560 | rm -f conftest.make | 
|---|
| 1561 | fi | 
|---|
| 1562 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 1563 |   echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1564 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1565 |   SET_MAKE= | 
|---|
| 1566 | else | 
|---|
| 1567 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1568 | echo "${ECHO_T}no" >&6 | 
|---|
| 1569 |   SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 1570 | fi | 
|---|
| 1571 |  | 
|---|
| 1572 | rm -rf .tst 2>/dev/null | 
|---|
| 1573 | mkdir .tst 2>/dev/null | 
|---|
| 1574 | if test -d .tst; then | 
|---|
| 1575 |   am__leading_dot=. | 
|---|
| 1576 | else | 
|---|
| 1577 |   am__leading_dot=_ | 
|---|
| 1578 | fi | 
|---|
| 1579 | rmdir .tst 2>/dev/null | 
|---|
| 1580 |  | 
|---|
| 1581 |  # test to see if srcdir already configured | 
|---|
| 1582 | if test "`cd $srcdir && pwd`" != "`pwd`" && | 
|---|
| 1583 |    test -f $srcdir/config.status; then | 
|---|
| 1584 |   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | 
|---|
| 1585 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | 
|---|
| 1586 |    { (exit 1); exit 1; }; } | 
|---|
| 1587 | fi | 
|---|
| 1588 |  | 
|---|
| 1589 | # test whether we have cygpath | 
|---|
| 1590 | if test -z "$CYGPATH_W"; then | 
|---|
| 1591 |   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|---|
| 1592 |     CYGPATH_W='cygpath -w' | 
|---|
| 1593 |   else | 
|---|
| 1594 |     CYGPATH_W=echo | 
|---|
| 1595 |   fi | 
|---|
| 1596 | fi | 
|---|
| 1597 |  | 
|---|
| 1598 |  | 
|---|
| 1599 | # Define the identity of the package. | 
|---|
| 1600 |  PACKAGE='orxonox' | 
|---|
| 1601 |  VERSION='0.1-pre-alpha' | 
|---|
| 1602 |  | 
|---|
| 1603 |  | 
|---|
| 1604 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1605 | #define PACKAGE "$PACKAGE" | 
|---|
| 1606 | _ACEOF | 
|---|
| 1607 |  | 
|---|
| 1608 |  | 
|---|
| 1609 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1610 | #define VERSION "$VERSION" | 
|---|
| 1611 | _ACEOF | 
|---|
| 1612 |  | 
|---|
| 1613 | # Some tools Automake needs. | 
|---|
| 1614 |  | 
|---|
| 1615 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 
|---|
| 1616 |  | 
|---|
| 1617 |  | 
|---|
| 1618 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 
|---|
| 1619 |  | 
|---|
| 1620 |  | 
|---|
| 1621 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 
|---|
| 1622 |  | 
|---|
| 1623 |  | 
|---|
| 1624 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 
|---|
| 1625 |  | 
|---|
| 1626 |  | 
|---|
| 1627 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 
|---|
| 1628 |  | 
|---|
| 1629 |  | 
|---|
| 1630 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 
|---|
| 1631 |  | 
|---|
| 1632 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 
|---|
| 1633 |  | 
|---|
| 1634 | # Installed binaries are usually stripped using `strip' when the user | 
|---|
| 1635 | # run `make install-strip'.  However `strip' might not be the right | 
|---|
| 1636 | # tool to use in cross-compilation environments, therefore Automake | 
|---|
| 1637 | # will honor the `STRIP' environment variable to overrule this program. | 
|---|
| 1638 | if test "$cross_compiling" != no; then | 
|---|
| 1639 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 1640 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 1641 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 1642 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1643 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1644 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|---|
| 1645 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1646 | else | 
|---|
| 1647 |   if test -n "$STRIP"; then | 
|---|
| 1648 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 1649 | else | 
|---|
| 1650 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1651 | for as_dir in $PATH | 
|---|
| 1652 | do | 
|---|
| 1653 |   IFS=$as_save_IFS | 
|---|
| 1654 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1655 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1656 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1657 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 1658 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1659 |     break 2 | 
|---|
| 1660 |   fi | 
|---|
| 1661 | done | 
|---|
| 1662 | done | 
|---|
| 1663 |  | 
|---|
| 1664 | fi | 
|---|
| 1665 | fi | 
|---|
| 1666 | STRIP=$ac_cv_prog_STRIP | 
|---|
| 1667 | if test -n "$STRIP"; then | 
|---|
| 1668 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|---|
| 1669 | echo "${ECHO_T}$STRIP" >&6 | 
|---|
| 1670 | else | 
|---|
| 1671 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1672 | echo "${ECHO_T}no" >&6 | 
|---|
| 1673 | fi | 
|---|
| 1674 |  | 
|---|
| 1675 | fi | 
|---|
| 1676 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 1677 |   ac_ct_STRIP=$STRIP | 
|---|
| 1678 |   # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 1679 | set dummy strip; ac_word=$2 | 
|---|
| 1680 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1681 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1682 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|---|
| 1683 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1684 | else | 
|---|
| 1685 |   if test -n "$ac_ct_STRIP"; then | 
|---|
| 1686 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|---|
| 1687 | else | 
|---|
| 1688 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1689 | for as_dir in $PATH | 
|---|
| 1690 | do | 
|---|
| 1691 |   IFS=$as_save_IFS | 
|---|
| 1692 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1693 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1694 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1695 |     ac_cv_prog_ac_ct_STRIP="strip" | 
|---|
| 1696 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1697 |     break 2 | 
|---|
| 1698 |   fi | 
|---|
| 1699 | done | 
|---|
| 1700 | done | 
|---|
| 1701 |  | 
|---|
| 1702 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|---|
| 1703 | fi | 
|---|
| 1704 | fi | 
|---|
| 1705 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|---|
| 1706 | if test -n "$ac_ct_STRIP"; then | 
|---|
| 1707 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|---|
| 1708 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|---|
| 1709 | else | 
|---|
| 1710 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1711 | echo "${ECHO_T}no" >&6 | 
|---|
| 1712 | fi | 
|---|
| 1713 |  | 
|---|
| 1714 |   STRIP=$ac_ct_STRIP | 
|---|
| 1715 | else | 
|---|
| 1716 |   STRIP="$ac_cv_prog_STRIP" | 
|---|
| 1717 | fi | 
|---|
| 1718 |  | 
|---|
| 1719 | fi | 
|---|
| 1720 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 
|---|
| 1721 |  | 
|---|
| 1722 | # We need awk for the "check" target.  The system "awk" is bad on | 
|---|
| 1723 | # some platforms. | 
|---|
| 1724 |  | 
|---|
| 1725 |  | 
|---|
| 1726 |  | 
|---|
| 1727 |  | 
|---|
| 1728 | # Checks for programs. | 
|---|
| 1729 | ac_ext=cc | 
|---|
| 1730 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 1731 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1732 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1733 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|---|
| 1734 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1735 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1736 |   do | 
|---|
| 1737 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 1738 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 1739 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1740 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1741 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|---|
| 1742 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1743 | else | 
|---|
| 1744 |   if test -n "$CXX"; then | 
|---|
| 1745 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1746 | else | 
|---|
| 1747 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1748 | for as_dir in $PATH | 
|---|
| 1749 | do | 
|---|
| 1750 |   IFS=$as_save_IFS | 
|---|
| 1751 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1752 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1753 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1754 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|---|
| 1755 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1756 |     break 2 | 
|---|
| 1757 |   fi | 
|---|
| 1758 | done | 
|---|
| 1759 | done | 
|---|
| 1760 |  | 
|---|
| 1761 | fi | 
|---|
| 1762 | fi | 
|---|
| 1763 | CXX=$ac_cv_prog_CXX | 
|---|
| 1764 | if test -n "$CXX"; then | 
|---|
| 1765 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
|---|
| 1766 | echo "${ECHO_T}$CXX" >&6 | 
|---|
| 1767 | else | 
|---|
| 1768 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1769 | echo "${ECHO_T}no" >&6 | 
|---|
| 1770 | fi | 
|---|
| 1771 |  | 
|---|
| 1772 |     test -n "$CXX" && break | 
|---|
| 1773 |   done | 
|---|
| 1774 | fi | 
|---|
| 1775 | if test -z "$CXX"; then | 
|---|
| 1776 |   ac_ct_CXX=$CXX | 
|---|
| 1777 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|---|
| 1778 | do | 
|---|
| 1779 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1780 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1781 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 1782 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 1783 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|---|
| 1784 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1785 | else | 
|---|
| 1786 |   if test -n "$ac_ct_CXX"; then | 
|---|
| 1787 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|---|
| 1788 | else | 
|---|
| 1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1790 | for as_dir in $PATH | 
|---|
| 1791 | do | 
|---|
| 1792 |   IFS=$as_save_IFS | 
|---|
| 1793 |   test -z "$as_dir" && as_dir=. | 
|---|
| 1794 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 1795 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 1796 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|---|
| 1797 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 1798 |     break 2 | 
|---|
| 1799 |   fi | 
|---|
| 1800 | done | 
|---|
| 1801 | done | 
|---|
| 1802 |  | 
|---|
| 1803 | fi | 
|---|
| 1804 | fi | 
|---|
| 1805 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|---|
| 1806 | if test -n "$ac_ct_CXX"; then | 
|---|
| 1807 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|---|
| 1808 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|---|
| 1809 | else | 
|---|
| 1810 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 1811 | echo "${ECHO_T}no" >&6 | 
|---|
| 1812 | fi | 
|---|
| 1813 |  | 
|---|
| 1814 |   test -n "$ac_ct_CXX" && break | 
|---|
| 1815 | done | 
|---|
| 1816 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|---|
| 1817 |  | 
|---|
| 1818 |   CXX=$ac_ct_CXX | 
|---|
| 1819 | fi | 
|---|
| 1820 |  | 
|---|
| 1821 |  | 
|---|
| 1822 | # Provide some information about the compiler. | 
|---|
| 1823 | echo "$as_me:$LINENO:" \ | 
|---|
| 1824 |      "checking for C++ compiler version" >&5 | 
|---|
| 1825 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 1826 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 1827 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 1828 |   ac_status=$? | 
|---|
| 1829 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1830 |   (exit $ac_status); } | 
|---|
| 1831 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 1832 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 1833 |   ac_status=$? | 
|---|
| 1834 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1835 |   (exit $ac_status); } | 
|---|
| 1836 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 1837 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 1838 |   ac_status=$? | 
|---|
| 1839 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1840 |   (exit $ac_status); } | 
|---|
| 1841 |  | 
|---|
| 1842 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1843 | /* confdefs.h.  */ | 
|---|
| 1844 | _ACEOF | 
|---|
| 1845 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 1846 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 1847 | /* end confdefs.h.  */ | 
|---|
| 1848 |  | 
|---|
| 1849 | int | 
|---|
| 1850 | main () | 
|---|
| 1851 | { | 
|---|
| 1852 |  | 
|---|
| 1853 |   ; | 
|---|
| 1854 |   return 0; | 
|---|
| 1855 | } | 
|---|
| 1856 | _ACEOF | 
|---|
| 1857 | ac_clean_files_save=$ac_clean_files | 
|---|
| 1858 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
|---|
| 1859 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 1860 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 1861 | # of exeext. | 
|---|
| 1862 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 | 
|---|
| 1863 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 | 
|---|
| 1864 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 1865 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|---|
| 1866 |   (eval $ac_link_default) 2>&5 | 
|---|
| 1867 |   ac_status=$? | 
|---|
| 1868 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1869 |   (exit $ac_status); }; then | 
|---|
| 1870 |   # Find the output, starting from the most likely.  This scheme is | 
|---|
| 1871 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|---|
| 1872 | # resort. | 
|---|
| 1873 |  | 
|---|
| 1874 | # Be careful to initialize this variable, since it used to be cached. | 
|---|
| 1875 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|---|
| 1876 | ac_cv_exeext= | 
|---|
| 1877 | # b.out is created by i960 compilers. | 
|---|
| 1878 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|---|
| 1879 | do | 
|---|
| 1880 |   test -f "$ac_file" || continue | 
|---|
| 1881 |   case $ac_file in | 
|---|
| 1882 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|---|
| 1883 |         ;; | 
|---|
| 1884 |     conftest.$ac_ext ) | 
|---|
| 1885 |         # This is the source file. | 
|---|
| 1886 |         ;; | 
|---|
| 1887 |     [ab].out ) | 
|---|
| 1888 |         # We found the default executable, but exeext='' is most | 
|---|
| 1889 |         # certainly right. | 
|---|
| 1890 |         break;; | 
|---|
| 1891 |     *.* ) | 
|---|
| 1892 |         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 1893 |         # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|---|
| 1894 |         # but it would be cool to find out if it's true.  Does anybody | 
|---|
| 1895 |         # maintain Libtool? --akim. | 
|---|
| 1896 |         export ac_cv_exeext | 
|---|
| 1897 |         break;; | 
|---|
| 1898 |     * ) | 
|---|
| 1899 |         break;; | 
|---|
| 1900 |   esac | 
|---|
| 1901 | done | 
|---|
| 1902 | else | 
|---|
| 1903 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 1904 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1905 |  | 
|---|
| 1906 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|---|
| 1907 | See \`config.log' for more details." >&5 | 
|---|
| 1908 | echo "$as_me: error: C++ compiler cannot create executables | 
|---|
| 1909 | See \`config.log' for more details." >&2;} | 
|---|
| 1910 |    { (exit 77); exit 77; }; } | 
|---|
| 1911 | fi | 
|---|
| 1912 |  | 
|---|
| 1913 | ac_exeext=$ac_cv_exeext | 
|---|
| 1914 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|---|
| 1915 | echo "${ECHO_T}$ac_file" >&6 | 
|---|
| 1916 |  | 
|---|
| 1917 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 1918 | # the compiler is broken, or we cross compile. | 
|---|
| 1919 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|---|
| 1920 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|---|
| 1921 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|---|
| 1922 | # If not cross compiling, check that we can run a simple program. | 
|---|
| 1923 | if test "$cross_compiling" != yes; then | 
|---|
| 1924 |   if { ac_try='./$ac_file' | 
|---|
| 1925 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 1926 |   (eval $ac_try) 2>&5 | 
|---|
| 1927 |   ac_status=$? | 
|---|
| 1928 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1929 |   (exit $ac_status); }; }; then | 
|---|
| 1930 |     cross_compiling=no | 
|---|
| 1931 |   else | 
|---|
| 1932 |     if test "$cross_compiling" = maybe; then | 
|---|
| 1933 |         cross_compiling=yes | 
|---|
| 1934 |     else | 
|---|
| 1935 |         { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
|---|
| 1936 | If you meant to cross compile, use \`--host'. | 
|---|
| 1937 | See \`config.log' for more details." >&5 | 
|---|
| 1938 | echo "$as_me: error: cannot run C++ compiled programs. | 
|---|
| 1939 | If you meant to cross compile, use \`--host'. | 
|---|
| 1940 | See \`config.log' for more details." >&2;} | 
|---|
| 1941 |    { (exit 1); exit 1; }; } | 
|---|
| 1942 |     fi | 
|---|
| 1943 |   fi | 
|---|
| 1944 | fi | 
|---|
| 1945 | echo "$as_me:$LINENO: result: yes" >&5 | 
|---|
| 1946 | echo "${ECHO_T}yes" >&6 | 
|---|
| 1947 |  | 
|---|
| 1948 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
|---|
| 1949 | ac_clean_files=$ac_clean_files_save | 
|---|
| 1950 | # Check the compiler produces executables we can run.  If not, either | 
|---|
| 1951 | # the compiler is broken, or we cross compile. | 
|---|
| 1952 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|---|
| 1953 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|---|
| 1954 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|---|
| 1955 | echo "${ECHO_T}$cross_compiling" >&6 | 
|---|
| 1956 |  | 
|---|
| 1957 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|---|
| 1958 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|---|
| 1959 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 1960 |   (eval $ac_link) 2>&5 | 
|---|
| 1961 |   ac_status=$? | 
|---|
| 1962 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 1963 |   (exit $ac_status); }; then | 
|---|
| 1964 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 1965 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 1966 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 1967 | # `rm'. | 
|---|
| 1968 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 1969 |   test -f "$ac_file" || continue | 
|---|
| 1970 |   case $ac_file in | 
|---|
| 1971 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
|---|
| 1972 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 1973 |           export ac_cv_exeext | 
|---|
| 1974 |           break;; | 
|---|
| 1975 |     * ) break;; | 
|---|
| 1976 |   esac | 
|---|
| 1977 | done | 
|---|
| 1978 | else | 
|---|
| 1979 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 1980 | See \`config.log' for more details." >&5 | 
|---|
| 1981 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|---|
| 1982 | See \`config.log' for more details." >&2;} | 
|---|
| 1983 |    { (exit 1); exit 1; }; } | 
|---|
| 1984 | fi | 
|---|
| 1985 |  | 
|---|
| 1986 | rm -f conftest$ac_cv_exeext | 
|---|
| 1987 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|---|
| 1988 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|---|
| 1989 |  | 
|---|
| 1990 | rm -f conftest.$ac_ext | 
|---|
| 1991 | EXEEXT=$ac_cv_exeext | 
|---|
| 1992 | ac_exeext=$EXEEXT | 
|---|
| 1993 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|---|
| 1994 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|---|
| 1995 | if test "${ac_cv_objext+set}" = set; then | 
|---|
| 1996 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 1997 | else | 
|---|
| 1998 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 1999 | /* confdefs.h.  */ | 
|---|
| 2000 | _ACEOF | 
|---|
| 2001 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2002 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2003 | /* end confdefs.h.  */ | 
|---|
| 2004 |  | 
|---|
| 2005 | int | 
|---|
| 2006 | main () | 
|---|
| 2007 | { | 
|---|
| 2008 |  | 
|---|
| 2009 |   ; | 
|---|
| 2010 |   return 0; | 
|---|
| 2011 | } | 
|---|
| 2012 | _ACEOF | 
|---|
| 2013 | rm -f conftest.o conftest.obj | 
|---|
| 2014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2015 |   (eval $ac_compile) 2>&5 | 
|---|
| 2016 |   ac_status=$? | 
|---|
| 2017 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2018 |   (exit $ac_status); }; then | 
|---|
| 2019 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|---|
| 2020 |   case $ac_file in | 
|---|
| 2021 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
|---|
| 2022 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2023 |        break;; | 
|---|
| 2024 |   esac | 
|---|
| 2025 | done | 
|---|
| 2026 | else | 
|---|
| 2027 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2028 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2029 |  | 
|---|
| 2030 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2031 | See \`config.log' for more details." >&5 | 
|---|
| 2032 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|---|
| 2033 | See \`config.log' for more details." >&2;} | 
|---|
| 2034 |    { (exit 1); exit 1; }; } | 
|---|
| 2035 | fi | 
|---|
| 2036 |  | 
|---|
| 2037 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2038 | fi | 
|---|
| 2039 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|---|
| 2040 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|---|
| 2041 | OBJEXT=$ac_cv_objext | 
|---|
| 2042 | ac_objext=$OBJEXT | 
|---|
| 2043 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|---|
| 2044 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|---|
| 2045 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|---|
| 2046 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2047 | else | 
|---|
| 2048 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2049 | /* confdefs.h.  */ | 
|---|
| 2050 | _ACEOF | 
|---|
| 2051 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2052 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2053 | /* end confdefs.h.  */ | 
|---|
| 2054 |  | 
|---|
| 2055 | int | 
|---|
| 2056 | main () | 
|---|
| 2057 | { | 
|---|
| 2058 | #ifndef __GNUC__ | 
|---|
| 2059 |        choke me | 
|---|
| 2060 | #endif | 
|---|
| 2061 |  | 
|---|
| 2062 |   ; | 
|---|
| 2063 |   return 0; | 
|---|
| 2064 | } | 
|---|
| 2065 | _ACEOF | 
|---|
| 2066 | rm -f conftest.$ac_objext | 
|---|
| 2067 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2068 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2069 |   ac_status=$? | 
|---|
| 2070 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2071 |   rm -f conftest.er1 | 
|---|
| 2072 |   cat conftest.err >&5 | 
|---|
| 2073 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2074 |   (exit $ac_status); } && | 
|---|
| 2075 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2076 |                          || test ! -s conftest.err' | 
|---|
| 2077 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2078 |   (eval $ac_try) 2>&5 | 
|---|
| 2079 |   ac_status=$? | 
|---|
| 2080 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2081 |   (exit $ac_status); }; } && | 
|---|
| 2082 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2083 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2084 |   (eval $ac_try) 2>&5 | 
|---|
| 2085 |   ac_status=$? | 
|---|
| 2086 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2087 |   (exit $ac_status); }; }; then | 
|---|
| 2088 |   ac_compiler_gnu=yes | 
|---|
| 2089 | else | 
|---|
| 2090 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2091 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2092 |  | 
|---|
| 2093 | ac_compiler_gnu=no | 
|---|
| 2094 | fi | 
|---|
| 2095 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2096 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2097 |  | 
|---|
| 2098 | fi | 
|---|
| 2099 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|---|
| 2100 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|---|
| 2101 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2102 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|---|
| 2103 | ac_save_CXXFLAGS=$CXXFLAGS | 
|---|
| 2104 | CXXFLAGS="-g" | 
|---|
| 2105 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|---|
| 2106 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|---|
| 2107 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|---|
| 2108 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2109 | else | 
|---|
| 2110 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2111 | /* confdefs.h.  */ | 
|---|
| 2112 | _ACEOF | 
|---|
| 2113 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2114 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2115 | /* end confdefs.h.  */ | 
|---|
| 2116 |  | 
|---|
| 2117 | int | 
|---|
| 2118 | main () | 
|---|
| 2119 | { | 
|---|
| 2120 |  | 
|---|
| 2121 |   ; | 
|---|
| 2122 |   return 0; | 
|---|
| 2123 | } | 
|---|
| 2124 | _ACEOF | 
|---|
| 2125 | rm -f conftest.$ac_objext | 
|---|
| 2126 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2127 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2128 |   ac_status=$? | 
|---|
| 2129 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2130 |   rm -f conftest.er1 | 
|---|
| 2131 |   cat conftest.err >&5 | 
|---|
| 2132 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2133 |   (exit $ac_status); } && | 
|---|
| 2134 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2135 |                          || test ! -s conftest.err' | 
|---|
| 2136 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2137 |   (eval $ac_try) 2>&5 | 
|---|
| 2138 |   ac_status=$? | 
|---|
| 2139 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2140 |   (exit $ac_status); }; } && | 
|---|
| 2141 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2142 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2143 |   (eval $ac_try) 2>&5 | 
|---|
| 2144 |   ac_status=$? | 
|---|
| 2145 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2146 |   (exit $ac_status); }; }; then | 
|---|
| 2147 |   ac_cv_prog_cxx_g=yes | 
|---|
| 2148 | else | 
|---|
| 2149 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2150 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2151 |  | 
|---|
| 2152 | ac_cv_prog_cxx_g=no | 
|---|
| 2153 | fi | 
|---|
| 2154 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2155 | fi | 
|---|
| 2156 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|---|
| 2157 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|---|
| 2158 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 2159 |   CXXFLAGS=$ac_save_CXXFLAGS | 
|---|
| 2160 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 2161 |   if test "$GXX" = yes; then | 
|---|
| 2162 |     CXXFLAGS="-g -O2" | 
|---|
| 2163 |   else | 
|---|
| 2164 |     CXXFLAGS="-g" | 
|---|
| 2165 |   fi | 
|---|
| 2166 | else | 
|---|
| 2167 |   if test "$GXX" = yes; then | 
|---|
| 2168 |     CXXFLAGS="-O2" | 
|---|
| 2169 |   else | 
|---|
| 2170 |     CXXFLAGS= | 
|---|
| 2171 |   fi | 
|---|
| 2172 | fi | 
|---|
| 2173 | for ac_declaration in \ | 
|---|
| 2174 |    '' \ | 
|---|
| 2175 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 2176 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 2177 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 2178 |    'extern "C" void exit (int);' \ | 
|---|
| 2179 |    'void exit (int);' | 
|---|
| 2180 | do | 
|---|
| 2181 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2182 | /* confdefs.h.  */ | 
|---|
| 2183 | _ACEOF | 
|---|
| 2184 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2185 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2186 | /* end confdefs.h.  */ | 
|---|
| 2187 | $ac_declaration | 
|---|
| 2188 | #include <stdlib.h> | 
|---|
| 2189 | int | 
|---|
| 2190 | main () | 
|---|
| 2191 | { | 
|---|
| 2192 | exit (42); | 
|---|
| 2193 |   ; | 
|---|
| 2194 |   return 0; | 
|---|
| 2195 | } | 
|---|
| 2196 | _ACEOF | 
|---|
| 2197 | rm -f conftest.$ac_objext | 
|---|
| 2198 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2199 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2200 |   ac_status=$? | 
|---|
| 2201 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2202 |   rm -f conftest.er1 | 
|---|
| 2203 |   cat conftest.err >&5 | 
|---|
| 2204 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2205 |   (exit $ac_status); } && | 
|---|
| 2206 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2207 |                          || test ! -s conftest.err' | 
|---|
| 2208 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2209 |   (eval $ac_try) 2>&5 | 
|---|
| 2210 |   ac_status=$? | 
|---|
| 2211 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2212 |   (exit $ac_status); }; } && | 
|---|
| 2213 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2214 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2215 |   (eval $ac_try) 2>&5 | 
|---|
| 2216 |   ac_status=$? | 
|---|
| 2217 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2218 |   (exit $ac_status); }; }; then | 
|---|
| 2219 |   : | 
|---|
| 2220 | else | 
|---|
| 2221 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2222 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2223 |  | 
|---|
| 2224 | continue | 
|---|
| 2225 | fi | 
|---|
| 2226 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2227 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2228 | /* confdefs.h.  */ | 
|---|
| 2229 | _ACEOF | 
|---|
| 2230 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2231 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2232 | /* end confdefs.h.  */ | 
|---|
| 2233 | $ac_declaration | 
|---|
| 2234 | int | 
|---|
| 2235 | main () | 
|---|
| 2236 | { | 
|---|
| 2237 | exit (42); | 
|---|
| 2238 |   ; | 
|---|
| 2239 |   return 0; | 
|---|
| 2240 | } | 
|---|
| 2241 | _ACEOF | 
|---|
| 2242 | rm -f conftest.$ac_objext | 
|---|
| 2243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2244 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2245 |   ac_status=$? | 
|---|
| 2246 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2247 |   rm -f conftest.er1 | 
|---|
| 2248 |   cat conftest.err >&5 | 
|---|
| 2249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2250 |   (exit $ac_status); } && | 
|---|
| 2251 |          { ac_try='test -z "$ac_cxx_werror_flag" | 
|---|
| 2252 |                          || test ! -s conftest.err' | 
|---|
| 2253 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2254 |   (eval $ac_try) 2>&5 | 
|---|
| 2255 |   ac_status=$? | 
|---|
| 2256 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2257 |   (exit $ac_status); }; } && | 
|---|
| 2258 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2259 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2260 |   (eval $ac_try) 2>&5 | 
|---|
| 2261 |   ac_status=$? | 
|---|
| 2262 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2263 |   (exit $ac_status); }; }; then | 
|---|
| 2264 |   break | 
|---|
| 2265 | else | 
|---|
| 2266 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2267 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2268 |  | 
|---|
| 2269 | fi | 
|---|
| 2270 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2271 | done | 
|---|
| 2272 | rm -f conftest* | 
|---|
| 2273 | if test -n "$ac_declaration"; then | 
|---|
| 2274 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 2275 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 2276 |   echo '#endif'             >>confdefs.h | 
|---|
| 2277 | fi | 
|---|
| 2278 |  | 
|---|
| 2279 | ac_ext=c | 
|---|
| 2280 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2281 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2282 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2283 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2284 | DEPDIR="${am__leading_dot}deps" | 
|---|
| 2285 |  | 
|---|
| 2286 |           ac_config_commands="$ac_config_commands depfiles" | 
|---|
| 2287 |  | 
|---|
| 2288 |  | 
|---|
| 2289 | am_make=${MAKE-make} | 
|---|
| 2290 | cat > confinc << 'END' | 
|---|
| 2291 | am__doit: | 
|---|
| 2292 |         @echo done | 
|---|
| 2293 | .PHONY: am__doit | 
|---|
| 2294 | END | 
|---|
| 2295 | # If we don't find an include directive, just comment out the code. | 
|---|
| 2296 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | 
|---|
| 2297 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 | 
|---|
| 2298 | am__include="#" | 
|---|
| 2299 | am__quote= | 
|---|
| 2300 | _am_result=none | 
|---|
| 2301 | # First try GNU make style include. | 
|---|
| 2302 | echo "include confinc" > confmf | 
|---|
| 2303 | # We grep out `Entering directory' and `Leaving directory' | 
|---|
| 2304 | # messages which can occur if `w' ends up in MAKEFLAGS. | 
|---|
| 2305 | # In particular we don't look at `^make:' because GNU make might | 
|---|
| 2306 | # be invoked under some other name (usually "gmake"), in which | 
|---|
| 2307 | # case it prints its new name instead of `make'. | 
|---|
| 2308 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | 
|---|
| 2309 |    am__include=include | 
|---|
| 2310 |    am__quote= | 
|---|
| 2311 |    _am_result=GNU | 
|---|
| 2312 | fi | 
|---|
| 2313 | # Now try BSD make style include. | 
|---|
| 2314 | if test "$am__include" = "#"; then | 
|---|
| 2315 |    echo '.include "confinc"' > confmf | 
|---|
| 2316 |    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | 
|---|
| 2317 |       am__include=.include | 
|---|
| 2318 |       am__quote="\"" | 
|---|
| 2319 |       _am_result=BSD | 
|---|
| 2320 |    fi | 
|---|
| 2321 | fi | 
|---|
| 2322 |  | 
|---|
| 2323 |  | 
|---|
| 2324 | echo "$as_me:$LINENO: result: $_am_result" >&5 | 
|---|
| 2325 | echo "${ECHO_T}$_am_result" >&6 | 
|---|
| 2326 | rm -f confinc confmf | 
|---|
| 2327 |  | 
|---|
| 2328 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. | 
|---|
| 2329 | if test "${enable_dependency_tracking+set}" = set; then | 
|---|
| 2330 |   enableval="$enable_dependency_tracking" | 
|---|
| 2331 |  | 
|---|
| 2332 | fi; | 
|---|
| 2333 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2334 |   am_depcomp="$ac_aux_dir/depcomp" | 
|---|
| 2335 |   AMDEPBACKSLASH='\' | 
|---|
| 2336 | fi | 
|---|
| 2337 |  | 
|---|
| 2338 |  | 
|---|
| 2339 | if test "x$enable_dependency_tracking" != xno; then | 
|---|
| 2340 |   AMDEP_TRUE= | 
|---|
| 2341 |   AMDEP_FALSE='#' | 
|---|
| 2342 | else | 
|---|
| 2343 |   AMDEP_TRUE='#' | 
|---|
| 2344 |   AMDEP_FALSE= | 
|---|
| 2345 | fi | 
|---|
| 2346 |  | 
|---|
| 2347 |  | 
|---|
| 2348 |  | 
|---|
| 2349 |  | 
|---|
| 2350 | depcc="$CXX"  am_compiler_list= | 
|---|
| 2351 |  | 
|---|
| 2352 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 2353 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 2354 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | 
|---|
| 2355 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2356 | else | 
|---|
| 2357 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 2358 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 2359 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 2360 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 2361 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 2362 |   # in D'. | 
|---|
| 2363 |   mkdir conftest.dir | 
|---|
| 2364 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 2365 |   # using a relative directory. | 
|---|
| 2366 |   cp "$am_depcomp" conftest.dir | 
|---|
| 2367 |   cd conftest.dir | 
|---|
| 2368 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 2369 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 2370 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 2371 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 2372 |   # the current directory while Tru64 will put them in the object | 
|---|
| 2373 |   # directory. | 
|---|
| 2374 |   mkdir sub | 
|---|
| 2375 |  | 
|---|
| 2376 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2377 |   if test "$am_compiler_list" = ""; then | 
|---|
| 2378 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 2379 |   fi | 
|---|
| 2380 |   for depmode in $am_compiler_list; do | 
|---|
| 2381 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 2382 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 2383 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 2384 |     # | 
|---|
| 2385 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 2386 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 2387 |     # This happens at least with the AIX C compiler. | 
|---|
| 2388 |     : > sub/conftest.c | 
|---|
| 2389 |     for i in 1 2 3 4 5 6; do | 
|---|
| 2390 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 2391 |       : > sub/conftst$i.h | 
|---|
| 2392 |     done | 
|---|
| 2393 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 2394 |  | 
|---|
| 2395 |     case $depmode in | 
|---|
| 2396 |     nosideeffect) | 
|---|
| 2397 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 2398 |       # only be used when explicitly requested | 
|---|
| 2399 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 2400 |         continue | 
|---|
| 2401 |       else | 
|---|
| 2402 |         break | 
|---|
| 2403 |       fi | 
|---|
| 2404 |       ;; | 
|---|
| 2405 |     none) break ;; | 
|---|
| 2406 |     esac | 
|---|
| 2407 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 2408 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 2409 |     # handle `-M -o', and we need to detect this. | 
|---|
| 2410 |     if depmode=$depmode \ | 
|---|
| 2411 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 2412 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 2413 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 2414 |          >/dev/null 2>conftest.err && | 
|---|
| 2415 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2416 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 2417 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 2418 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 2419 |       # (even with -Werror).  So we grep stderr for any message | 
|---|
| 2420 |       # that says an option was ignored. | 
|---|
| 2421 |       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else | 
|---|
| 2422 |         am_cv_CXX_dependencies_compiler_type=$depmode | 
|---|
| 2423 |         break | 
|---|
| 2424 |       fi | 
|---|
| 2425 |     fi | 
|---|
| 2426 |   done | 
|---|
| 2427 |  | 
|---|
| 2428 |   cd .. | 
|---|
| 2429 |   rm -rf conftest.dir | 
|---|
| 2430 | else | 
|---|
| 2431 |   am_cv_CXX_dependencies_compiler_type=none | 
|---|
| 2432 | fi | 
|---|
| 2433 |  | 
|---|
| 2434 | fi | 
|---|
| 2435 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | 
|---|
| 2436 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | 
|---|
| 2437 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | 
|---|
| 2438 |  | 
|---|
| 2439 |  | 
|---|
| 2440 |  | 
|---|
| 2441 | if | 
|---|
| 2442 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 2443 |   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | 
|---|
| 2444 |   am__fastdepCXX_TRUE= | 
|---|
| 2445 |   am__fastdepCXX_FALSE='#' | 
|---|
| 2446 | else | 
|---|
| 2447 |   am__fastdepCXX_TRUE='#' | 
|---|
| 2448 |   am__fastdepCXX_FALSE= | 
|---|
| 2449 | fi | 
|---|
| 2450 |  | 
|---|
| 2451 |  | 
|---|
| 2452 | ac_ext=c | 
|---|
| 2453 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2454 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2455 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2456 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2457 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2458 |   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2459 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2460 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2461 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2462 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2463 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2464 | else | 
|---|
| 2465 |   if test -n "$CC"; then | 
|---|
| 2466 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2467 | else | 
|---|
| 2468 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2469 | for as_dir in $PATH | 
|---|
| 2470 | do | 
|---|
| 2471 |   IFS=$as_save_IFS | 
|---|
| 2472 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2473 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2474 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2475 |     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2476 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2477 |     break 2 | 
|---|
| 2478 |   fi | 
|---|
| 2479 | done | 
|---|
| 2480 | done | 
|---|
| 2481 |  | 
|---|
| 2482 | fi | 
|---|
| 2483 | fi | 
|---|
| 2484 | CC=$ac_cv_prog_CC | 
|---|
| 2485 | if test -n "$CC"; then | 
|---|
| 2486 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2487 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2488 | else | 
|---|
| 2489 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2490 | echo "${ECHO_T}no" >&6 | 
|---|
| 2491 | fi | 
|---|
| 2492 |  | 
|---|
| 2493 | fi | 
|---|
| 2494 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2495 |   ac_ct_CC=$CC | 
|---|
| 2496 |   # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2497 | set dummy gcc; ac_word=$2 | 
|---|
| 2498 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2500 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2501 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2502 | else | 
|---|
| 2503 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2504 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2505 | else | 
|---|
| 2506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2507 | for as_dir in $PATH | 
|---|
| 2508 | do | 
|---|
| 2509 |   IFS=$as_save_IFS | 
|---|
| 2510 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2511 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2512 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2513 |     ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 2514 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2515 |     break 2 | 
|---|
| 2516 |   fi | 
|---|
| 2517 | done | 
|---|
| 2518 | done | 
|---|
| 2519 |  | 
|---|
| 2520 | fi | 
|---|
| 2521 | fi | 
|---|
| 2522 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2523 | if test -n "$ac_ct_CC"; then | 
|---|
| 2524 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2525 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2526 | else | 
|---|
| 2527 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2528 | echo "${ECHO_T}no" >&6 | 
|---|
| 2529 | fi | 
|---|
| 2530 |  | 
|---|
| 2531 |   CC=$ac_ct_CC | 
|---|
| 2532 | else | 
|---|
| 2533 |   CC="$ac_cv_prog_CC" | 
|---|
| 2534 | fi | 
|---|
| 2535 |  | 
|---|
| 2536 | if test -z "$CC"; then | 
|---|
| 2537 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2538 |   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2539 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2540 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2541 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2542 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2543 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2544 | else | 
|---|
| 2545 |   if test -n "$CC"; then | 
|---|
| 2546 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2547 | else | 
|---|
| 2548 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2549 | for as_dir in $PATH | 
|---|
| 2550 | do | 
|---|
| 2551 |   IFS=$as_save_IFS | 
|---|
| 2552 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2553 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2554 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2555 |     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2556 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2557 |     break 2 | 
|---|
| 2558 |   fi | 
|---|
| 2559 | done | 
|---|
| 2560 | done | 
|---|
| 2561 |  | 
|---|
| 2562 | fi | 
|---|
| 2563 | fi | 
|---|
| 2564 | CC=$ac_cv_prog_CC | 
|---|
| 2565 | if test -n "$CC"; then | 
|---|
| 2566 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2567 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2568 | else | 
|---|
| 2569 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2570 | echo "${ECHO_T}no" >&6 | 
|---|
| 2571 | fi | 
|---|
| 2572 |  | 
|---|
| 2573 | fi | 
|---|
| 2574 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2575 |   ac_ct_CC=$CC | 
|---|
| 2576 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2577 | set dummy cc; ac_word=$2 | 
|---|
| 2578 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2579 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2580 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2581 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2582 | else | 
|---|
| 2583 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2584 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2585 | else | 
|---|
| 2586 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2587 | for as_dir in $PATH | 
|---|
| 2588 | do | 
|---|
| 2589 |   IFS=$as_save_IFS | 
|---|
| 2590 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2591 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2592 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2593 |     ac_cv_prog_ac_ct_CC="cc" | 
|---|
| 2594 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2595 |     break 2 | 
|---|
| 2596 |   fi | 
|---|
| 2597 | done | 
|---|
| 2598 | done | 
|---|
| 2599 |  | 
|---|
| 2600 | fi | 
|---|
| 2601 | fi | 
|---|
| 2602 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2603 | if test -n "$ac_ct_CC"; then | 
|---|
| 2604 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2605 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2606 | else | 
|---|
| 2607 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2608 | echo "${ECHO_T}no" >&6 | 
|---|
| 2609 | fi | 
|---|
| 2610 |  | 
|---|
| 2611 |   CC=$ac_ct_CC | 
|---|
| 2612 | else | 
|---|
| 2613 |   CC="$ac_cv_prog_CC" | 
|---|
| 2614 | fi | 
|---|
| 2615 |  | 
|---|
| 2616 | fi | 
|---|
| 2617 | if test -z "$CC"; then | 
|---|
| 2618 |   # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2619 | set dummy cc; ac_word=$2 | 
|---|
| 2620 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2621 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2622 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2623 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2624 | else | 
|---|
| 2625 |   if test -n "$CC"; then | 
|---|
| 2626 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2627 | else | 
|---|
| 2628 |   ac_prog_rejected=no | 
|---|
| 2629 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2630 | for as_dir in $PATH | 
|---|
| 2631 | do | 
|---|
| 2632 |   IFS=$as_save_IFS | 
|---|
| 2633 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2634 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2635 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2636 |     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2637 |        ac_prog_rejected=yes | 
|---|
| 2638 |        continue | 
|---|
| 2639 |      fi | 
|---|
| 2640 |     ac_cv_prog_CC="cc" | 
|---|
| 2641 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2642 |     break 2 | 
|---|
| 2643 |   fi | 
|---|
| 2644 | done | 
|---|
| 2645 | done | 
|---|
| 2646 |  | 
|---|
| 2647 | if test $ac_prog_rejected = yes; then | 
|---|
| 2648 |   # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2649 |   set dummy $ac_cv_prog_CC | 
|---|
| 2650 |   shift | 
|---|
| 2651 |   if test $# != 0; then | 
|---|
| 2652 |     # We chose a different compiler from the bogus one. | 
|---|
| 2653 |     # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2654 |     # first if we set CC to just the basename; use the full file name. | 
|---|
| 2655 |     shift | 
|---|
| 2656 |     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2657 |   fi | 
|---|
| 2658 | fi | 
|---|
| 2659 | fi | 
|---|
| 2660 | fi | 
|---|
| 2661 | CC=$ac_cv_prog_CC | 
|---|
| 2662 | if test -n "$CC"; then | 
|---|
| 2663 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2664 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2665 | else | 
|---|
| 2666 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2667 | echo "${ECHO_T}no" >&6 | 
|---|
| 2668 | fi | 
|---|
| 2669 |  | 
|---|
| 2670 | fi | 
|---|
| 2671 | if test -z "$CC"; then | 
|---|
| 2672 |   if test -n "$ac_tool_prefix"; then | 
|---|
| 2673 |   for ac_prog in cl | 
|---|
| 2674 |   do | 
|---|
| 2675 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2676 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2677 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2679 | if test "${ac_cv_prog_CC+set}" = set; then | 
|---|
| 2680 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2681 | else | 
|---|
| 2682 |   if test -n "$CC"; then | 
|---|
| 2683 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2684 | else | 
|---|
| 2685 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2686 | for as_dir in $PATH | 
|---|
| 2687 | do | 
|---|
| 2688 |   IFS=$as_save_IFS | 
|---|
| 2689 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2690 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2691 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2692 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2693 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2694 |     break 2 | 
|---|
| 2695 |   fi | 
|---|
| 2696 | done | 
|---|
| 2697 | done | 
|---|
| 2698 |  | 
|---|
| 2699 | fi | 
|---|
| 2700 | fi | 
|---|
| 2701 | CC=$ac_cv_prog_CC | 
|---|
| 2702 | if test -n "$CC"; then | 
|---|
| 2703 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
|---|
| 2704 | echo "${ECHO_T}$CC" >&6 | 
|---|
| 2705 | else | 
|---|
| 2706 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2707 | echo "${ECHO_T}no" >&6 | 
|---|
| 2708 | fi | 
|---|
| 2709 |  | 
|---|
| 2710 |     test -n "$CC" && break | 
|---|
| 2711 |   done | 
|---|
| 2712 | fi | 
|---|
| 2713 | if test -z "$CC"; then | 
|---|
| 2714 |   ac_ct_CC=$CC | 
|---|
| 2715 |   for ac_prog in cl | 
|---|
| 2716 | do | 
|---|
| 2717 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2718 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2719 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|---|
| 2720 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|---|
| 2721 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|---|
| 2722 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2723 | else | 
|---|
| 2724 |   if test -n "$ac_ct_CC"; then | 
|---|
| 2725 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2726 | else | 
|---|
| 2727 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2728 | for as_dir in $PATH | 
|---|
| 2729 | do | 
|---|
| 2730 |   IFS=$as_save_IFS | 
|---|
| 2731 |   test -z "$as_dir" && as_dir=. | 
|---|
| 2732 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2733 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|---|
| 2734 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2735 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2736 |     break 2 | 
|---|
| 2737 |   fi | 
|---|
| 2738 | done | 
|---|
| 2739 | done | 
|---|
| 2740 |  | 
|---|
| 2741 | fi | 
|---|
| 2742 | fi | 
|---|
| 2743 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2744 | if test -n "$ac_ct_CC"; then | 
|---|
| 2745 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|---|
| 2746 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|---|
| 2747 | else | 
|---|
| 2748 |   echo "$as_me:$LINENO: result: no" >&5 | 
|---|
| 2749 | echo "${ECHO_T}no" >&6 | 
|---|
| 2750 | fi | 
|---|
| 2751 |  | 
|---|
| 2752 |   test -n "$ac_ct_CC" && break | 
|---|
| 2753 | done | 
|---|
| 2754 |  | 
|---|
| 2755 |   CC=$ac_ct_CC | 
|---|
| 2756 | fi | 
|---|
| 2757 |  | 
|---|
| 2758 | fi | 
|---|
| 2759 |  | 
|---|
| 2760 |  | 
|---|
| 2761 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|---|
| 2762 | See \`config.log' for more details." >&5 | 
|---|
| 2763 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|---|
| 2764 | See \`config.log' for more details." >&2;} | 
|---|
| 2765 |    { (exit 1); exit 1; }; } | 
|---|
| 2766 |  | 
|---|
| 2767 | # Provide some information about the compiler. | 
|---|
| 2768 | echo "$as_me:$LINENO:" \ | 
|---|
| 2769 |      "checking for C compiler version" >&5 | 
|---|
| 2770 | ac_compiler=`set X $ac_compile; echo $2` | 
|---|
| 2771 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|---|
| 2772 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|---|
| 2773 |   ac_status=$? | 
|---|
| 2774 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2775 |   (exit $ac_status); } | 
|---|
| 2776 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|---|
| 2777 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|---|
| 2778 |   ac_status=$? | 
|---|
| 2779 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2780 |   (exit $ac_status); } | 
|---|
| 2781 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|---|
| 2782 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|---|
| 2783 |   ac_status=$? | 
|---|
| 2784 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2785 |   (exit $ac_status); } | 
|---|
| 2786 |  | 
|---|
| 2787 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 2788 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|---|
| 2789 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|---|
| 2790 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2791 | else | 
|---|
| 2792 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2793 | /* confdefs.h.  */ | 
|---|
| 2794 | _ACEOF | 
|---|
| 2795 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2796 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2797 | /* end confdefs.h.  */ | 
|---|
| 2798 |  | 
|---|
| 2799 | int | 
|---|
| 2800 | main () | 
|---|
| 2801 | { | 
|---|
| 2802 | #ifndef __GNUC__ | 
|---|
| 2803 |        choke me | 
|---|
| 2804 | #endif | 
|---|
| 2805 |  | 
|---|
| 2806 |   ; | 
|---|
| 2807 |   return 0; | 
|---|
| 2808 | } | 
|---|
| 2809 | _ACEOF | 
|---|
| 2810 | rm -f conftest.$ac_objext | 
|---|
| 2811 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2812 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2813 |   ac_status=$? | 
|---|
| 2814 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2815 |   rm -f conftest.er1 | 
|---|
| 2816 |   cat conftest.err >&5 | 
|---|
| 2817 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2818 |   (exit $ac_status); } && | 
|---|
| 2819 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 2820 |                          || test ! -s conftest.err' | 
|---|
| 2821 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2822 |   (eval $ac_try) 2>&5 | 
|---|
| 2823 |   ac_status=$? | 
|---|
| 2824 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2825 |   (exit $ac_status); }; } && | 
|---|
| 2826 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2827 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2828 |   (eval $ac_try) 2>&5 | 
|---|
| 2829 |   ac_status=$? | 
|---|
| 2830 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2831 |   (exit $ac_status); }; }; then | 
|---|
| 2832 |   ac_compiler_gnu=yes | 
|---|
| 2833 | else | 
|---|
| 2834 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2835 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2836 |  | 
|---|
| 2837 | ac_compiler_gnu=no | 
|---|
| 2838 | fi | 
|---|
| 2839 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2840 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2841 |  | 
|---|
| 2842 | fi | 
|---|
| 2843 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 2844 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|---|
| 2845 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|---|
| 2846 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 2847 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 2848 | CFLAGS="-g" | 
|---|
| 2849 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|---|
| 2850 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|---|
| 2851 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|---|
| 2852 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2853 | else | 
|---|
| 2854 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2855 | /* confdefs.h.  */ | 
|---|
| 2856 | _ACEOF | 
|---|
| 2857 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2858 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2859 | /* end confdefs.h.  */ | 
|---|
| 2860 |  | 
|---|
| 2861 | int | 
|---|
| 2862 | main () | 
|---|
| 2863 | { | 
|---|
| 2864 |  | 
|---|
| 2865 |   ; | 
|---|
| 2866 |   return 0; | 
|---|
| 2867 | } | 
|---|
| 2868 | _ACEOF | 
|---|
| 2869 | rm -f conftest.$ac_objext | 
|---|
| 2870 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2871 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2872 |   ac_status=$? | 
|---|
| 2873 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2874 |   rm -f conftest.er1 | 
|---|
| 2875 |   cat conftest.err >&5 | 
|---|
| 2876 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2877 |   (exit $ac_status); } && | 
|---|
| 2878 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 2879 |                          || test ! -s conftest.err' | 
|---|
| 2880 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2881 |   (eval $ac_try) 2>&5 | 
|---|
| 2882 |   ac_status=$? | 
|---|
| 2883 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2884 |   (exit $ac_status); }; } && | 
|---|
| 2885 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 2886 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2887 |   (eval $ac_try) 2>&5 | 
|---|
| 2888 |   ac_status=$? | 
|---|
| 2889 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2890 |   (exit $ac_status); }; }; then | 
|---|
| 2891 |   ac_cv_prog_cc_g=yes | 
|---|
| 2892 | else | 
|---|
| 2893 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 2894 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2895 |  | 
|---|
| 2896 | ac_cv_prog_cc_g=no | 
|---|
| 2897 | fi | 
|---|
| 2898 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2899 | fi | 
|---|
| 2900 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 2901 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|---|
| 2902 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 2903 |   CFLAGS=$ac_save_CFLAGS | 
|---|
| 2904 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 2905 |   if test "$GCC" = yes; then | 
|---|
| 2906 |     CFLAGS="-g -O2" | 
|---|
| 2907 |   else | 
|---|
| 2908 |     CFLAGS="-g" | 
|---|
| 2909 |   fi | 
|---|
| 2910 | else | 
|---|
| 2911 |   if test "$GCC" = yes; then | 
|---|
| 2912 |     CFLAGS="-O2" | 
|---|
| 2913 |   else | 
|---|
| 2914 |     CFLAGS= | 
|---|
| 2915 |   fi | 
|---|
| 2916 | fi | 
|---|
| 2917 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|---|
| 2918 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|---|
| 2919 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|---|
| 2920 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 2921 | else | 
|---|
| 2922 |   ac_cv_prog_cc_stdc=no | 
|---|
| 2923 | ac_save_CC=$CC | 
|---|
| 2924 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 2925 | /* confdefs.h.  */ | 
|---|
| 2926 | _ACEOF | 
|---|
| 2927 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 2928 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 2929 | /* end confdefs.h.  */ | 
|---|
| 2930 | #include <stdarg.h> | 
|---|
| 2931 | #include <stdio.h> | 
|---|
| 2932 | #include <sys/types.h> | 
|---|
| 2933 | #include <sys/stat.h> | 
|---|
| 2934 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 2935 | struct buf { int x; }; | 
|---|
| 2936 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 2937 | static char *e (p, i) | 
|---|
| 2938 |      char **p; | 
|---|
| 2939 |      int i; | 
|---|
| 2940 | { | 
|---|
| 2941 |   return p[i]; | 
|---|
| 2942 | } | 
|---|
| 2943 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 2944 | { | 
|---|
| 2945 |   char *s; | 
|---|
| 2946 |   va_list v; | 
|---|
| 2947 |   va_start (v,p); | 
|---|
| 2948 |   s = g (p, va_arg (v,int)); | 
|---|
| 2949 |   va_end (v); | 
|---|
| 2950 |   return s; | 
|---|
| 2951 | } | 
|---|
| 2952 |  | 
|---|
| 2953 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 2954 |    function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 2955 |    These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 2956 |    as 'x'.  The following induces an error, until -std1 is added to get | 
|---|
| 2957 |    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 2958 |    array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 2959 |    that's true only with -std1.  */ | 
|---|
| 2960 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 2961 |  | 
|---|
| 2962 | int test (int i, double x); | 
|---|
| 2963 | struct s1 {int (*f) (int a);}; | 
|---|
| 2964 | struct s2 {int (*f) (double a);}; | 
|---|
| 2965 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 2966 | int argc; | 
|---|
| 2967 | char **argv; | 
|---|
| 2968 | int | 
|---|
| 2969 | main () | 
|---|
| 2970 | { | 
|---|
| 2971 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 2972 |   ; | 
|---|
| 2973 |   return 0; | 
|---|
| 2974 | } | 
|---|
| 2975 | _ACEOF | 
|---|
| 2976 | # Don't try gcc -ansi; that turns off useful extensions and | 
|---|
| 2977 | # breaks some systems' header files. | 
|---|
| 2978 | # AIX                   -qlanglvl=ansi | 
|---|
| 2979 | # Ultrix and OSF/1      -std1 | 
|---|
| 2980 | # HP-UX 10.20 and later -Ae | 
|---|
| 2981 | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
|---|
| 2982 | # SVR4                  -Xc -D__EXTENSIONS__ | 
|---|
| 2983 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 2984 | do | 
|---|
| 2985 |   CC="$ac_save_CC $ac_arg" | 
|---|
| 2986 |   rm -f conftest.$ac_objext | 
|---|
| 2987 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 2988 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 2989 |   ac_status=$? | 
|---|
| 2990 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 2991 |   rm -f conftest.er1 | 
|---|
| 2992 |   cat conftest.err >&5 | 
|---|
| 2993 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 2994 |   (exit $ac_status); } && | 
|---|
| 2995 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 2996 |                          || test ! -s conftest.err' | 
|---|
| 2997 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 2998 |   (eval $ac_try) 2>&5 | 
|---|
| 2999 |   ac_status=$? | 
|---|
| 3000 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3001 |   (exit $ac_status); }; } && | 
|---|
| 3002 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3003 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3004 |   (eval $ac_try) 2>&5 | 
|---|
| 3005 |   ac_status=$? | 
|---|
| 3006 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3007 |   (exit $ac_status); }; }; then | 
|---|
| 3008 |   ac_cv_prog_cc_stdc=$ac_arg | 
|---|
| 3009 | break | 
|---|
| 3010 | else | 
|---|
| 3011 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3012 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3013 |  | 
|---|
| 3014 | fi | 
|---|
| 3015 | rm -f conftest.err conftest.$ac_objext | 
|---|
| 3016 | done | 
|---|
| 3017 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|---|
| 3018 | CC=$ac_save_CC | 
|---|
| 3019 |  | 
|---|
| 3020 | fi | 
|---|
| 3021 |  | 
|---|
| 3022 | case "x$ac_cv_prog_cc_stdc" in | 
|---|
| 3023 |   x|xno) | 
|---|
| 3024 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
|---|
| 3025 | echo "${ECHO_T}none needed" >&6 ;; | 
|---|
| 3026 |   *) | 
|---|
| 3027 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|---|
| 3028 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|---|
| 3029 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|---|
| 3030 | esac | 
|---|
| 3031 |  | 
|---|
| 3032 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|---|
| 3033 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|---|
| 3034 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|---|
| 3035 | # the declaration of exit, since it's the most demanding environment. | 
|---|
| 3036 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3037 | #ifndef __cplusplus | 
|---|
| 3038 |   choke me | 
|---|
| 3039 | #endif | 
|---|
| 3040 | _ACEOF | 
|---|
| 3041 | rm -f conftest.$ac_objext | 
|---|
| 3042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3043 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3044 |   ac_status=$? | 
|---|
| 3045 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3046 |   rm -f conftest.er1 | 
|---|
| 3047 |   cat conftest.err >&5 | 
|---|
| 3048 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3049 |   (exit $ac_status); } && | 
|---|
| 3050 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3051 |                          || test ! -s conftest.err' | 
|---|
| 3052 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3053 |   (eval $ac_try) 2>&5 | 
|---|
| 3054 |   ac_status=$? | 
|---|
| 3055 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3056 |   (exit $ac_status); }; } && | 
|---|
| 3057 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3058 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3059 |   (eval $ac_try) 2>&5 | 
|---|
| 3060 |   ac_status=$? | 
|---|
| 3061 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3062 |   (exit $ac_status); }; }; then | 
|---|
| 3063 |   for ac_declaration in \ | 
|---|
| 3064 |    '' \ | 
|---|
| 3065 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|---|
| 3066 |    'extern "C" void std::exit (int); using std::exit;' \ | 
|---|
| 3067 |    'extern "C" void exit (int) throw ();' \ | 
|---|
| 3068 |    'extern "C" void exit (int);' \ | 
|---|
| 3069 |    'void exit (int);' | 
|---|
| 3070 | do | 
|---|
| 3071 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3072 | /* confdefs.h.  */ | 
|---|
| 3073 | _ACEOF | 
|---|
| 3074 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3075 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3076 | /* end confdefs.h.  */ | 
|---|
| 3077 | $ac_declaration | 
|---|
| 3078 | #include <stdlib.h> | 
|---|
| 3079 | int | 
|---|
| 3080 | main () | 
|---|
| 3081 | { | 
|---|
| 3082 | exit (42); | 
|---|
| 3083 |   ; | 
|---|
| 3084 |   return 0; | 
|---|
| 3085 | } | 
|---|
| 3086 | _ACEOF | 
|---|
| 3087 | rm -f conftest.$ac_objext | 
|---|
| 3088 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3089 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3090 |   ac_status=$? | 
|---|
| 3091 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3092 |   rm -f conftest.er1 | 
|---|
| 3093 |   cat conftest.err >&5 | 
|---|
| 3094 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3095 |   (exit $ac_status); } && | 
|---|
| 3096 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3097 |                          || test ! -s conftest.err' | 
|---|
| 3098 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3099 |   (eval $ac_try) 2>&5 | 
|---|
| 3100 |   ac_status=$? | 
|---|
| 3101 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3102 |   (exit $ac_status); }; } && | 
|---|
| 3103 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3104 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3105 |   (eval $ac_try) 2>&5 | 
|---|
| 3106 |   ac_status=$? | 
|---|
| 3107 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3108 |   (exit $ac_status); }; }; then | 
|---|
| 3109 |   : | 
|---|
| 3110 | else | 
|---|
| 3111 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3112 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3113 |  | 
|---|
| 3114 | continue | 
|---|
| 3115 | fi | 
|---|
| 3116 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3117 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3118 | /* confdefs.h.  */ | 
|---|
| 3119 | _ACEOF | 
|---|
| 3120 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3121 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3122 | /* end confdefs.h.  */ | 
|---|
| 3123 | $ac_declaration | 
|---|
| 3124 | int | 
|---|
| 3125 | main () | 
|---|
| 3126 | { | 
|---|
| 3127 | exit (42); | 
|---|
| 3128 |   ; | 
|---|
| 3129 |   return 0; | 
|---|
| 3130 | } | 
|---|
| 3131 | _ACEOF | 
|---|
| 3132 | rm -f conftest.$ac_objext | 
|---|
| 3133 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 3134 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 3135 |   ac_status=$? | 
|---|
| 3136 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3137 |   rm -f conftest.er1 | 
|---|
| 3138 |   cat conftest.err >&5 | 
|---|
| 3139 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3140 |   (exit $ac_status); } && | 
|---|
| 3141 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3142 |                          || test ! -s conftest.err' | 
|---|
| 3143 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3144 |   (eval $ac_try) 2>&5 | 
|---|
| 3145 |   ac_status=$? | 
|---|
| 3146 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3147 |   (exit $ac_status); }; } && | 
|---|
| 3148 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 3149 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3150 |   (eval $ac_try) 2>&5 | 
|---|
| 3151 |   ac_status=$? | 
|---|
| 3152 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3153 |   (exit $ac_status); }; }; then | 
|---|
| 3154 |   break | 
|---|
| 3155 | else | 
|---|
| 3156 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3157 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3158 |  | 
|---|
| 3159 | fi | 
|---|
| 3160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3161 | done | 
|---|
| 3162 | rm -f conftest* | 
|---|
| 3163 | if test -n "$ac_declaration"; then | 
|---|
| 3164 |   echo '#ifdef __cplusplus' >>confdefs.h | 
|---|
| 3165 |   echo $ac_declaration      >>confdefs.h | 
|---|
| 3166 |   echo '#endif'             >>confdefs.h | 
|---|
| 3167 | fi | 
|---|
| 3168 |  | 
|---|
| 3169 | else | 
|---|
| 3170 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3171 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3172 |  | 
|---|
| 3173 | fi | 
|---|
| 3174 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3175 | ac_ext=c | 
|---|
| 3176 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3177 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3178 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3180 |  | 
|---|
| 3181 | depcc="$CC"   am_compiler_list= | 
|---|
| 3182 |  | 
|---|
| 3183 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | 
|---|
| 3184 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | 
|---|
| 3185 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | 
|---|
| 3186 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3187 | else | 
|---|
| 3188 |   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|---|
| 3189 |   # We make a subdir and do the tests there.  Otherwise we can end up | 
|---|
| 3190 |   # making bogus files that we don't know about and never remove.  For | 
|---|
| 3191 |   # instance it was reported that on HP-UX the gcc test will end up | 
|---|
| 3192 |   # making a dummy file named `D' -- because `-MD' means `put the output | 
|---|
| 3193 |   # in D'. | 
|---|
| 3194 |   mkdir conftest.dir | 
|---|
| 3195 |   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|---|
| 3196 |   # using a relative directory. | 
|---|
| 3197 |   cp "$am_depcomp" conftest.dir | 
|---|
| 3198 |   cd conftest.dir | 
|---|
| 3199 |   # We will build objects and dependencies in a subdirectory because | 
|---|
| 3200 |   # it helps to detect inapplicable dependency modes.  For instance | 
|---|
| 3201 |   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|---|
| 3202 |   # side effect of compilation, but ICC will put the dependencies in | 
|---|
| 3203 |   # the current directory while Tru64 will put them in the object | 
|---|
| 3204 |   # directory. | 
|---|
| 3205 |   mkdir sub | 
|---|
| 3206 |  | 
|---|
| 3207 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3208 |   if test "$am_compiler_list" = ""; then | 
|---|
| 3209 |      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 
|---|
| 3210 |   fi | 
|---|
| 3211 |   for depmode in $am_compiler_list; do | 
|---|
| 3212 |     # Setup a source with many dependencies, because some compilers | 
|---|
| 3213 |     # like to wrap large dependency lists on column 80 (with \), and | 
|---|
| 3214 |     # we should not choose a depcomp mode which is confused by this. | 
|---|
| 3215 |     # | 
|---|
| 3216 |     # We need to recreate these files for each test, as the compiler may | 
|---|
| 3217 |     # overwrite some of them when testing with obscure command lines. | 
|---|
| 3218 |     # This happens at least with the AIX C compiler. | 
|---|
| 3219 |     : > sub/conftest.c | 
|---|
| 3220 |     for i in 1 2 3 4 5 6; do | 
|---|
| 3221 |       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|---|
| 3222 |       : > sub/conftst$i.h | 
|---|
| 3223 |     done | 
|---|
| 3224 |     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|---|
| 3225 |  | 
|---|
| 3226 |     case $depmode in | 
|---|
| 3227 |     nosideeffect) | 
|---|
| 3228 |       # after this tag, mechanisms are not by side-effect, so they'll | 
|---|
| 3229 |       # only be used when explicitly requested | 
|---|
| 3230 |       if test "x$enable_dependency_tracking" = xyes; then | 
|---|
| 3231 |         continue | 
|---|
| 3232 |       else | 
|---|
| 3233 |         break | 
|---|
| 3234 |       fi | 
|---|
| 3235 |       ;; | 
|---|
| 3236 |     none) break ;; | 
|---|
| 3237 |     esac | 
|---|
| 3238 |     # We check with `-c' and `-o' for the sake of the "dashmstdout" | 
|---|
| 3239 |     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|---|
| 3240 |     # handle `-M -o', and we need to detect this. | 
|---|
| 3241 |     if depmode=$depmode \ | 
|---|
| 3242 |        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | 
|---|
| 3243 |        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
|---|
| 3244 |        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | 
|---|
| 3245 |          >/dev/null 2>conftest.err && | 
|---|
| 3246 |        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3247 |        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | 
|---|
| 3248 |        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 
|---|
| 3249 |       # icc doesn't choke on unknown options, it will just issue warnings | 
|---|
| 3250 |       # (even with -Werror).  So we grep stderr for any message | 
|---|
| 3251 |       # that says an option was ignored. | 
|---|
| 3252 |       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else | 
|---|
| 3253 |         am_cv_CC_dependencies_compiler_type=$depmode | 
|---|
| 3254 |         break | 
|---|
| 3255 |       fi | 
|---|
| 3256 |     fi | 
|---|
| 3257 |   done | 
|---|
| 3258 |  | 
|---|
| 3259 |   cd .. | 
|---|
| 3260 |   rm -rf conftest.dir | 
|---|
| 3261 | else | 
|---|
| 3262 |   am_cv_CC_dependencies_compiler_type=none | 
|---|
| 3263 | fi | 
|---|
| 3264 |  | 
|---|
| 3265 | fi | 
|---|
| 3266 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | 
|---|
| 3267 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | 
|---|
| 3268 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 
|---|
| 3269 |  | 
|---|
| 3270 |  | 
|---|
| 3271 |  | 
|---|
| 3272 | if | 
|---|
| 3273 |   test "x$enable_dependency_tracking" != xno \ | 
|---|
| 3274 |   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 
|---|
| 3275 |   am__fastdepCC_TRUE= | 
|---|
| 3276 |   am__fastdepCC_FALSE='#' | 
|---|
| 3277 | else | 
|---|
| 3278 |   am__fastdepCC_TRUE='#' | 
|---|
| 3279 |   am__fastdepCC_FALSE= | 
|---|
| 3280 | fi | 
|---|
| 3281 |  | 
|---|
| 3282 |  | 
|---|
| 3283 |  | 
|---|
| 3284 | # Checks for libraries. | 
|---|
| 3285 | # FIXME: Replace `main' with a function in `-lGL': | 
|---|
| 3286 |  | 
|---|
| 3287 |  | 
|---|
| 3288 | echo "$as_me:$LINENO: checking for main in -lGL" >&5 | 
|---|
| 3289 | echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6 | 
|---|
| 3290 | if test "${ac_cv_lib_GL_main+set}" = set; then | 
|---|
| 3291 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3292 | else | 
|---|
| 3293 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3294 | LIBS="-lGL  $LIBS" | 
|---|
| 3295 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3296 | /* confdefs.h.  */ | 
|---|
| 3297 | _ACEOF | 
|---|
| 3298 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3299 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3300 | /* end confdefs.h.  */ | 
|---|
| 3301 |  | 
|---|
| 3302 |  | 
|---|
| 3303 | int | 
|---|
| 3304 | main () | 
|---|
| 3305 | { | 
|---|
| 3306 | main (); | 
|---|
| 3307 |   ; | 
|---|
| 3308 |   return 0; | 
|---|
| 3309 | } | 
|---|
| 3310 | _ACEOF | 
|---|
| 3311 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3312 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3313 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3314 |   ac_status=$? | 
|---|
| 3315 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3316 |   rm -f conftest.er1 | 
|---|
| 3317 |   cat conftest.err >&5 | 
|---|
| 3318 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3319 |   (exit $ac_status); } && | 
|---|
| 3320 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3321 |                          || test ! -s conftest.err' | 
|---|
| 3322 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3323 |   (eval $ac_try) 2>&5 | 
|---|
| 3324 |   ac_status=$? | 
|---|
| 3325 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3326 |   (exit $ac_status); }; } && | 
|---|
| 3327 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3328 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3329 |   (eval $ac_try) 2>&5 | 
|---|
| 3330 |   ac_status=$? | 
|---|
| 3331 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3332 |   (exit $ac_status); }; }; then | 
|---|
| 3333 |   ac_cv_lib_GL_main=yes | 
|---|
| 3334 | else | 
|---|
| 3335 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3336 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3337 |  | 
|---|
| 3338 | ac_cv_lib_GL_main=no | 
|---|
| 3339 | fi | 
|---|
| 3340 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3341 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3342 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3343 | fi | 
|---|
| 3344 | echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5 | 
|---|
| 3345 | echo "${ECHO_T}$ac_cv_lib_GL_main" >&6 | 
|---|
| 3346 | if test $ac_cv_lib_GL_main = yes; then | 
|---|
| 3347 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3348 | #define HAVE_LIBGL 1 | 
|---|
| 3349 | _ACEOF | 
|---|
| 3350 |  | 
|---|
| 3351 |   LIBS="-lGL $LIBS" | 
|---|
| 3352 |  | 
|---|
| 3353 | fi | 
|---|
| 3354 |  | 
|---|
| 3355 | # FIXME: Replace `main' with a function in `-lGLU': | 
|---|
| 3356 |  | 
|---|
| 3357 | echo "$as_me:$LINENO: checking for main in -lGLU" >&5 | 
|---|
| 3358 | echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6 | 
|---|
| 3359 | if test "${ac_cv_lib_GLU_main+set}" = set; then | 
|---|
| 3360 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3361 | else | 
|---|
| 3362 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3363 | LIBS="-lGLU  $LIBS" | 
|---|
| 3364 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3365 | /* confdefs.h.  */ | 
|---|
| 3366 | _ACEOF | 
|---|
| 3367 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3368 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3369 | /* end confdefs.h.  */ | 
|---|
| 3370 |  | 
|---|
| 3371 |  | 
|---|
| 3372 | int | 
|---|
| 3373 | main () | 
|---|
| 3374 | { | 
|---|
| 3375 | main (); | 
|---|
| 3376 |   ; | 
|---|
| 3377 |   return 0; | 
|---|
| 3378 | } | 
|---|
| 3379 | _ACEOF | 
|---|
| 3380 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3381 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3382 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3383 |   ac_status=$? | 
|---|
| 3384 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3385 |   rm -f conftest.er1 | 
|---|
| 3386 |   cat conftest.err >&5 | 
|---|
| 3387 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3388 |   (exit $ac_status); } && | 
|---|
| 3389 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3390 |                          || test ! -s conftest.err' | 
|---|
| 3391 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3392 |   (eval $ac_try) 2>&5 | 
|---|
| 3393 |   ac_status=$? | 
|---|
| 3394 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3395 |   (exit $ac_status); }; } && | 
|---|
| 3396 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3397 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3398 |   (eval $ac_try) 2>&5 | 
|---|
| 3399 |   ac_status=$? | 
|---|
| 3400 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3401 |   (exit $ac_status); }; }; then | 
|---|
| 3402 |   ac_cv_lib_GLU_main=yes | 
|---|
| 3403 | else | 
|---|
| 3404 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3405 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3406 |  | 
|---|
| 3407 | ac_cv_lib_GLU_main=no | 
|---|
| 3408 | fi | 
|---|
| 3409 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3410 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3411 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3412 | fi | 
|---|
| 3413 | echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5 | 
|---|
| 3414 | echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6 | 
|---|
| 3415 | if test $ac_cv_lib_GLU_main = yes; then | 
|---|
| 3416 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3417 | #define HAVE_LIBGLU 1 | 
|---|
| 3418 | _ACEOF | 
|---|
| 3419 |  | 
|---|
| 3420 |   LIBS="-lGLU $LIBS" | 
|---|
| 3421 |  | 
|---|
| 3422 | fi | 
|---|
| 3423 |  | 
|---|
| 3424 | # FIXME: Replace `main' with a function in `-lOSMesa': | 
|---|
| 3425 |  | 
|---|
| 3426 | echo "$as_me:$LINENO: checking for main in -lOSMesa" >&5 | 
|---|
| 3427 | echo $ECHO_N "checking for main in -lOSMesa... $ECHO_C" >&6 | 
|---|
| 3428 | if test "${ac_cv_lib_OSMesa_main+set}" = set; then | 
|---|
| 3429 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3430 | else | 
|---|
| 3431 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3432 | LIBS="-lOSMesa  $LIBS" | 
|---|
| 3433 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3434 | /* confdefs.h.  */ | 
|---|
| 3435 | _ACEOF | 
|---|
| 3436 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3437 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3438 | /* end confdefs.h.  */ | 
|---|
| 3439 |  | 
|---|
| 3440 |  | 
|---|
| 3441 | int | 
|---|
| 3442 | main () | 
|---|
| 3443 | { | 
|---|
| 3444 | main (); | 
|---|
| 3445 |   ; | 
|---|
| 3446 |   return 0; | 
|---|
| 3447 | } | 
|---|
| 3448 | _ACEOF | 
|---|
| 3449 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3450 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3451 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3452 |   ac_status=$? | 
|---|
| 3453 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3454 |   rm -f conftest.er1 | 
|---|
| 3455 |   cat conftest.err >&5 | 
|---|
| 3456 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3457 |   (exit $ac_status); } && | 
|---|
| 3458 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3459 |                          || test ! -s conftest.err' | 
|---|
| 3460 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3461 |   (eval $ac_try) 2>&5 | 
|---|
| 3462 |   ac_status=$? | 
|---|
| 3463 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3464 |   (exit $ac_status); }; } && | 
|---|
| 3465 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3466 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3467 |   (eval $ac_try) 2>&5 | 
|---|
| 3468 |   ac_status=$? | 
|---|
| 3469 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3470 |   (exit $ac_status); }; }; then | 
|---|
| 3471 |   ac_cv_lib_OSMesa_main=yes | 
|---|
| 3472 | else | 
|---|
| 3473 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3474 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3475 |  | 
|---|
| 3476 | ac_cv_lib_OSMesa_main=no | 
|---|
| 3477 | fi | 
|---|
| 3478 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3479 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3480 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3481 | fi | 
|---|
| 3482 | echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_main" >&5 | 
|---|
| 3483 | echo "${ECHO_T}$ac_cv_lib_OSMesa_main" >&6 | 
|---|
| 3484 | if test $ac_cv_lib_OSMesa_main = yes; then | 
|---|
| 3485 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3486 | #define HAVE_LIBOSMESA 1 | 
|---|
| 3487 | _ACEOF | 
|---|
| 3488 |  | 
|---|
| 3489 |   LIBS="-lOSMesa $LIBS" | 
|---|
| 3490 |  | 
|---|
| 3491 | fi | 
|---|
| 3492 |  | 
|---|
| 3493 | # FIXME: Replace `main' with a function in `-lX11': | 
|---|
| 3494 |  | 
|---|
| 3495 | echo "$as_me:$LINENO: checking for main in -lX11" >&5 | 
|---|
| 3496 | echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6 | 
|---|
| 3497 | if test "${ac_cv_lib_X11_main+set}" = set; then | 
|---|
| 3498 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3499 | else | 
|---|
| 3500 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3501 | LIBS="-lX11  $LIBS" | 
|---|
| 3502 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3503 | /* confdefs.h.  */ | 
|---|
| 3504 | _ACEOF | 
|---|
| 3505 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3506 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3507 | /* end confdefs.h.  */ | 
|---|
| 3508 |  | 
|---|
| 3509 |  | 
|---|
| 3510 | int | 
|---|
| 3511 | main () | 
|---|
| 3512 | { | 
|---|
| 3513 | main (); | 
|---|
| 3514 |   ; | 
|---|
| 3515 |   return 0; | 
|---|
| 3516 | } | 
|---|
| 3517 | _ACEOF | 
|---|
| 3518 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3519 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3520 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3521 |   ac_status=$? | 
|---|
| 3522 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3523 |   rm -f conftest.er1 | 
|---|
| 3524 |   cat conftest.err >&5 | 
|---|
| 3525 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3526 |   (exit $ac_status); } && | 
|---|
| 3527 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3528 |                          || test ! -s conftest.err' | 
|---|
| 3529 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3530 |   (eval $ac_try) 2>&5 | 
|---|
| 3531 |   ac_status=$? | 
|---|
| 3532 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3533 |   (exit $ac_status); }; } && | 
|---|
| 3534 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3535 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3536 |   (eval $ac_try) 2>&5 | 
|---|
| 3537 |   ac_status=$? | 
|---|
| 3538 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3539 |   (exit $ac_status); }; }; then | 
|---|
| 3540 |   ac_cv_lib_X11_main=yes | 
|---|
| 3541 | else | 
|---|
| 3542 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3543 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3544 |  | 
|---|
| 3545 | ac_cv_lib_X11_main=no | 
|---|
| 3546 | fi | 
|---|
| 3547 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3548 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3549 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3550 | fi | 
|---|
| 3551 | echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5 | 
|---|
| 3552 | echo "${ECHO_T}$ac_cv_lib_X11_main" >&6 | 
|---|
| 3553 | if test $ac_cv_lib_X11_main = yes; then | 
|---|
| 3554 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3555 | #define HAVE_LIBX11 1 | 
|---|
| 3556 | _ACEOF | 
|---|
| 3557 |  | 
|---|
| 3558 |   LIBS="-lX11 $LIBS" | 
|---|
| 3559 |  | 
|---|
| 3560 | fi | 
|---|
| 3561 |  | 
|---|
| 3562 | # FIXME: Replace `main' with a function in `-lXt': | 
|---|
| 3563 |  | 
|---|
| 3564 | echo "$as_me:$LINENO: checking for main in -lXt" >&5 | 
|---|
| 3565 | echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6 | 
|---|
| 3566 | if test "${ac_cv_lib_Xt_main+set}" = set; then | 
|---|
| 3567 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3568 | else | 
|---|
| 3569 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3570 | LIBS="-lXt  $LIBS" | 
|---|
| 3571 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3572 | /* confdefs.h.  */ | 
|---|
| 3573 | _ACEOF | 
|---|
| 3574 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3575 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3576 | /* end confdefs.h.  */ | 
|---|
| 3577 |  | 
|---|
| 3578 |  | 
|---|
| 3579 | int | 
|---|
| 3580 | main () | 
|---|
| 3581 | { | 
|---|
| 3582 | main (); | 
|---|
| 3583 |   ; | 
|---|
| 3584 |   return 0; | 
|---|
| 3585 | } | 
|---|
| 3586 | _ACEOF | 
|---|
| 3587 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3588 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3589 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3590 |   ac_status=$? | 
|---|
| 3591 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3592 |   rm -f conftest.er1 | 
|---|
| 3593 |   cat conftest.err >&5 | 
|---|
| 3594 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3595 |   (exit $ac_status); } && | 
|---|
| 3596 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3597 |                          || test ! -s conftest.err' | 
|---|
| 3598 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3599 |   (eval $ac_try) 2>&5 | 
|---|
| 3600 |   ac_status=$? | 
|---|
| 3601 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3602 |   (exit $ac_status); }; } && | 
|---|
| 3603 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3604 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3605 |   (eval $ac_try) 2>&5 | 
|---|
| 3606 |   ac_status=$? | 
|---|
| 3607 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3608 |   (exit $ac_status); }; }; then | 
|---|
| 3609 |   ac_cv_lib_Xt_main=yes | 
|---|
| 3610 | else | 
|---|
| 3611 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3612 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3613 |  | 
|---|
| 3614 | ac_cv_lib_Xt_main=no | 
|---|
| 3615 | fi | 
|---|
| 3616 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3617 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3618 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3619 | fi | 
|---|
| 3620 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5 | 
|---|
| 3621 | echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6 | 
|---|
| 3622 | if test $ac_cv_lib_Xt_main = yes; then | 
|---|
| 3623 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3624 | #define HAVE_LIBXT 1 | 
|---|
| 3625 | _ACEOF | 
|---|
| 3626 |  | 
|---|
| 3627 |   LIBS="-lXt $LIBS" | 
|---|
| 3628 |  | 
|---|
| 3629 | fi | 
|---|
| 3630 |  | 
|---|
| 3631 | # FIXME: Replace `main' with a function in `-lglut': | 
|---|
| 3632 |  | 
|---|
| 3633 | echo "$as_me:$LINENO: checking for main in -lglut" >&5 | 
|---|
| 3634 | echo $ECHO_N "checking for main in -lglut... $ECHO_C" >&6 | 
|---|
| 3635 | if test "${ac_cv_lib_glut_main+set}" = set; then | 
|---|
| 3636 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3637 | else | 
|---|
| 3638 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3639 | LIBS="-lglut  $LIBS" | 
|---|
| 3640 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3641 | /* confdefs.h.  */ | 
|---|
| 3642 | _ACEOF | 
|---|
| 3643 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3644 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3645 | /* end confdefs.h.  */ | 
|---|
| 3646 |  | 
|---|
| 3647 |  | 
|---|
| 3648 | int | 
|---|
| 3649 | main () | 
|---|
| 3650 | { | 
|---|
| 3651 | main (); | 
|---|
| 3652 |   ; | 
|---|
| 3653 |   return 0; | 
|---|
| 3654 | } | 
|---|
| 3655 | _ACEOF | 
|---|
| 3656 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3657 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3658 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3659 |   ac_status=$? | 
|---|
| 3660 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3661 |   rm -f conftest.er1 | 
|---|
| 3662 |   cat conftest.err >&5 | 
|---|
| 3663 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3664 |   (exit $ac_status); } && | 
|---|
| 3665 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3666 |                          || test ! -s conftest.err' | 
|---|
| 3667 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3668 |   (eval $ac_try) 2>&5 | 
|---|
| 3669 |   ac_status=$? | 
|---|
| 3670 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3671 |   (exit $ac_status); }; } && | 
|---|
| 3672 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3673 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3674 |   (eval $ac_try) 2>&5 | 
|---|
| 3675 |   ac_status=$? | 
|---|
| 3676 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3677 |   (exit $ac_status); }; }; then | 
|---|
| 3678 |   ac_cv_lib_glut_main=yes | 
|---|
| 3679 | else | 
|---|
| 3680 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3681 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3682 |  | 
|---|
| 3683 | ac_cv_lib_glut_main=no | 
|---|
| 3684 | fi | 
|---|
| 3685 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3686 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3687 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3688 | fi | 
|---|
| 3689 | echo "$as_me:$LINENO: result: $ac_cv_lib_glut_main" >&5 | 
|---|
| 3690 | echo "${ECHO_T}$ac_cv_lib_glut_main" >&6 | 
|---|
| 3691 | if test $ac_cv_lib_glut_main = yes; then | 
|---|
| 3692 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3693 | #define HAVE_LIBGLUT 1 | 
|---|
| 3694 | _ACEOF | 
|---|
| 3695 |  | 
|---|
| 3696 |   LIBS="-lglut $LIBS" | 
|---|
| 3697 |  | 
|---|
| 3698 | fi | 
|---|
| 3699 |  | 
|---|
| 3700 | # FIXME: Replace `main' with a function in `-lm': | 
|---|
| 3701 |  | 
|---|
| 3702 | echo "$as_me:$LINENO: checking for main in -lm" >&5 | 
|---|
| 3703 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 | 
|---|
| 3704 | if test "${ac_cv_lib_m_main+set}" = set; then | 
|---|
| 3705 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3706 | else | 
|---|
| 3707 |   ac_check_lib_save_LIBS=$LIBS | 
|---|
| 3708 | LIBS="-lm  $LIBS" | 
|---|
| 3709 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3710 | /* confdefs.h.  */ | 
|---|
| 3711 | _ACEOF | 
|---|
| 3712 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3713 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3714 | /* end confdefs.h.  */ | 
|---|
| 3715 |  | 
|---|
| 3716 |  | 
|---|
| 3717 | int | 
|---|
| 3718 | main () | 
|---|
| 3719 | { | 
|---|
| 3720 | main (); | 
|---|
| 3721 |   ; | 
|---|
| 3722 |   return 0; | 
|---|
| 3723 | } | 
|---|
| 3724 | _ACEOF | 
|---|
| 3725 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 3726 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 3727 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 3728 |   ac_status=$? | 
|---|
| 3729 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3730 |   rm -f conftest.er1 | 
|---|
| 3731 |   cat conftest.err >&5 | 
|---|
| 3732 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3733 |   (exit $ac_status); } && | 
|---|
| 3734 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 3735 |                          || test ! -s conftest.err' | 
|---|
| 3736 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3737 |   (eval $ac_try) 2>&5 | 
|---|
| 3738 |   ac_status=$? | 
|---|
| 3739 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3740 |   (exit $ac_status); }; } && | 
|---|
| 3741 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 3742 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 3743 |   (eval $ac_try) 2>&5 | 
|---|
| 3744 |   ac_status=$? | 
|---|
| 3745 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3746 |   (exit $ac_status); }; }; then | 
|---|
| 3747 |   ac_cv_lib_m_main=yes | 
|---|
| 3748 | else | 
|---|
| 3749 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3750 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3751 |  | 
|---|
| 3752 | ac_cv_lib_m_main=no | 
|---|
| 3753 | fi | 
|---|
| 3754 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 3755 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 3756 | LIBS=$ac_check_lib_save_LIBS | 
|---|
| 3757 | fi | 
|---|
| 3758 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 | 
|---|
| 3759 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6 | 
|---|
| 3760 | if test $ac_cv_lib_m_main = yes; then | 
|---|
| 3761 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 3762 | #define HAVE_LIBM 1 | 
|---|
| 3763 | _ACEOF | 
|---|
| 3764 |  | 
|---|
| 3765 |   LIBS="-lm $LIBS" | 
|---|
| 3766 |  | 
|---|
| 3767 | fi | 
|---|
| 3768 |  | 
|---|
| 3769 |  | 
|---|
| 3770 | # Checks for header files. | 
|---|
| 3771 | ac_ext=c | 
|---|
| 3772 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3773 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3774 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3775 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3776 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|---|
| 3777 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|---|
| 3778 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3779 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3780 |   CPP= | 
|---|
| 3781 | fi | 
|---|
| 3782 | if test -z "$CPP"; then | 
|---|
| 3783 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
|---|
| 3784 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 3785 | else | 
|---|
| 3786 |       # Double quotes because CPP needs to be expanded | 
|---|
| 3787 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3788 |     do | 
|---|
| 3789 |       ac_preproc_ok=false | 
|---|
| 3790 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3791 | do | 
|---|
| 3792 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3793 |   # with a fresh cross-compiler works. | 
|---|
| 3794 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3795 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3796 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3797 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3798 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3799 | /* confdefs.h.  */ | 
|---|
| 3800 | _ACEOF | 
|---|
| 3801 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3802 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3803 | /* end confdefs.h.  */ | 
|---|
| 3804 | #ifdef __STDC__ | 
|---|
| 3805 | # include <limits.h> | 
|---|
| 3806 | #else | 
|---|
| 3807 | # include <assert.h> | 
|---|
| 3808 | #endif | 
|---|
| 3809 |                      Syntax error | 
|---|
| 3810 | _ACEOF | 
|---|
| 3811 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3812 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3813 |   ac_status=$? | 
|---|
| 3814 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3815 |   rm -f conftest.er1 | 
|---|
| 3816 |   cat conftest.err >&5 | 
|---|
| 3817 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3818 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3819 |   if test -s conftest.err; then | 
|---|
| 3820 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3821 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3822 |   else | 
|---|
| 3823 |     ac_cpp_err= | 
|---|
| 3824 |   fi | 
|---|
| 3825 | else | 
|---|
| 3826 |   ac_cpp_err=yes | 
|---|
| 3827 | fi | 
|---|
| 3828 | if test -z "$ac_cpp_err"; then | 
|---|
| 3829 |   : | 
|---|
| 3830 | else | 
|---|
| 3831 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3832 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3833 |  | 
|---|
| 3834 |   # Broken: fails on valid input. | 
|---|
| 3835 | continue | 
|---|
| 3836 | fi | 
|---|
| 3837 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3838 |  | 
|---|
| 3839 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3840 |   # can be detected and how. | 
|---|
| 3841 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3842 | /* confdefs.h.  */ | 
|---|
| 3843 | _ACEOF | 
|---|
| 3844 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3845 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3846 | /* end confdefs.h.  */ | 
|---|
| 3847 | #include <ac_nonexistent.h> | 
|---|
| 3848 | _ACEOF | 
|---|
| 3849 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3850 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3851 |   ac_status=$? | 
|---|
| 3852 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3853 |   rm -f conftest.er1 | 
|---|
| 3854 |   cat conftest.err >&5 | 
|---|
| 3855 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3856 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3857 |   if test -s conftest.err; then | 
|---|
| 3858 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3859 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3860 |   else | 
|---|
| 3861 |     ac_cpp_err= | 
|---|
| 3862 |   fi | 
|---|
| 3863 | else | 
|---|
| 3864 |   ac_cpp_err=yes | 
|---|
| 3865 | fi | 
|---|
| 3866 | if test -z "$ac_cpp_err"; then | 
|---|
| 3867 |   # Broken: success on invalid input. | 
|---|
| 3868 | continue | 
|---|
| 3869 | else | 
|---|
| 3870 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3871 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3872 |  | 
|---|
| 3873 |   # Passes both tests. | 
|---|
| 3874 | ac_preproc_ok=: | 
|---|
| 3875 | break | 
|---|
| 3876 | fi | 
|---|
| 3877 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3878 |  | 
|---|
| 3879 | done | 
|---|
| 3880 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3881 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3882 | if $ac_preproc_ok; then | 
|---|
| 3883 |   break | 
|---|
| 3884 | fi | 
|---|
| 3885 |  | 
|---|
| 3886 |     done | 
|---|
| 3887 |     ac_cv_prog_CPP=$CPP | 
|---|
| 3888 |  | 
|---|
| 3889 | fi | 
|---|
| 3890 |   CPP=$ac_cv_prog_CPP | 
|---|
| 3891 | else | 
|---|
| 3892 |   ac_cv_prog_CPP=$CPP | 
|---|
| 3893 | fi | 
|---|
| 3894 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|---|
| 3895 | echo "${ECHO_T}$CPP" >&6 | 
|---|
| 3896 | ac_preproc_ok=false | 
|---|
| 3897 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3898 | do | 
|---|
| 3899 |   # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3900 |   # with a fresh cross-compiler works. | 
|---|
| 3901 |   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3902 |   # <limits.h> exists even on freestanding compilers. | 
|---|
| 3903 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3904 |   # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3905 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3906 | /* confdefs.h.  */ | 
|---|
| 3907 | _ACEOF | 
|---|
| 3908 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3909 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3910 | /* end confdefs.h.  */ | 
|---|
| 3911 | #ifdef __STDC__ | 
|---|
| 3912 | # include <limits.h> | 
|---|
| 3913 | #else | 
|---|
| 3914 | # include <assert.h> | 
|---|
| 3915 | #endif | 
|---|
| 3916 |                      Syntax error | 
|---|
| 3917 | _ACEOF | 
|---|
| 3918 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3919 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3920 |   ac_status=$? | 
|---|
| 3921 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3922 |   rm -f conftest.er1 | 
|---|
| 3923 |   cat conftest.err >&5 | 
|---|
| 3924 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3925 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3926 |   if test -s conftest.err; then | 
|---|
| 3927 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3928 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3929 |   else | 
|---|
| 3930 |     ac_cpp_err= | 
|---|
| 3931 |   fi | 
|---|
| 3932 | else | 
|---|
| 3933 |   ac_cpp_err=yes | 
|---|
| 3934 | fi | 
|---|
| 3935 | if test -z "$ac_cpp_err"; then | 
|---|
| 3936 |   : | 
|---|
| 3937 | else | 
|---|
| 3938 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3939 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3940 |  | 
|---|
| 3941 |   # Broken: fails on valid input. | 
|---|
| 3942 | continue | 
|---|
| 3943 | fi | 
|---|
| 3944 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3945 |  | 
|---|
| 3946 |   # OK, works on sane cases.  Now check whether non-existent headers | 
|---|
| 3947 |   # can be detected and how. | 
|---|
| 3948 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 3949 | /* confdefs.h.  */ | 
|---|
| 3950 | _ACEOF | 
|---|
| 3951 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 3952 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 3953 | /* end confdefs.h.  */ | 
|---|
| 3954 | #include <ac_nonexistent.h> | 
|---|
| 3955 | _ACEOF | 
|---|
| 3956 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 3957 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 3958 |   ac_status=$? | 
|---|
| 3959 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 3960 |   rm -f conftest.er1 | 
|---|
| 3961 |   cat conftest.err >&5 | 
|---|
| 3962 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 3963 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 3964 |   if test -s conftest.err; then | 
|---|
| 3965 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 3966 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 3967 |   else | 
|---|
| 3968 |     ac_cpp_err= | 
|---|
| 3969 |   fi | 
|---|
| 3970 | else | 
|---|
| 3971 |   ac_cpp_err=yes | 
|---|
| 3972 | fi | 
|---|
| 3973 | if test -z "$ac_cpp_err"; then | 
|---|
| 3974 |   # Broken: success on invalid input. | 
|---|
| 3975 | continue | 
|---|
| 3976 | else | 
|---|
| 3977 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 3978 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 3979 |  | 
|---|
| 3980 |   # Passes both tests. | 
|---|
| 3981 | ac_preproc_ok=: | 
|---|
| 3982 | break | 
|---|
| 3983 | fi | 
|---|
| 3984 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3985 |  | 
|---|
| 3986 | done | 
|---|
| 3987 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3988 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 3989 | if $ac_preproc_ok; then | 
|---|
| 3990 |   : | 
|---|
| 3991 | else | 
|---|
| 3992 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3993 | See \`config.log' for more details." >&5 | 
|---|
| 3994 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3995 | See \`config.log' for more details." >&2;} | 
|---|
| 3996 |    { (exit 1); exit 1; }; } | 
|---|
| 3997 | fi | 
|---|
| 3998 |  | 
|---|
| 3999 | ac_ext=c | 
|---|
| 4000 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 4001 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 4002 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 4003 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 4004 |  | 
|---|
| 4005 |  | 
|---|
| 4006 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|---|
| 4007 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|---|
| 4008 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|---|
| 4009 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4010 | else | 
|---|
| 4011 |   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|---|
| 4012 |     then ac_cv_prog_egrep='grep -E' | 
|---|
| 4013 |     else ac_cv_prog_egrep='egrep' | 
|---|
| 4014 |     fi | 
|---|
| 4015 | fi | 
|---|
| 4016 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|---|
| 4017 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|---|
| 4018 |  EGREP=$ac_cv_prog_egrep | 
|---|
| 4019 |  | 
|---|
| 4020 |  | 
|---|
| 4021 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|---|
| 4022 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|---|
| 4023 | if test "${ac_cv_header_stdc+set}" = set; then | 
|---|
| 4024 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4025 | else | 
|---|
| 4026 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4027 | /* confdefs.h.  */ | 
|---|
| 4028 | _ACEOF | 
|---|
| 4029 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4030 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4031 | /* end confdefs.h.  */ | 
|---|
| 4032 | #include <stdlib.h> | 
|---|
| 4033 | #include <stdarg.h> | 
|---|
| 4034 | #include <string.h> | 
|---|
| 4035 | #include <float.h> | 
|---|
| 4036 |  | 
|---|
| 4037 | int | 
|---|
| 4038 | main () | 
|---|
| 4039 | { | 
|---|
| 4040 |  | 
|---|
| 4041 |   ; | 
|---|
| 4042 |   return 0; | 
|---|
| 4043 | } | 
|---|
| 4044 | _ACEOF | 
|---|
| 4045 | rm -f conftest.$ac_objext | 
|---|
| 4046 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4047 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4048 |   ac_status=$? | 
|---|
| 4049 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4050 |   rm -f conftest.er1 | 
|---|
| 4051 |   cat conftest.err >&5 | 
|---|
| 4052 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4053 |   (exit $ac_status); } && | 
|---|
| 4054 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4055 |                          || test ! -s conftest.err' | 
|---|
| 4056 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4057 |   (eval $ac_try) 2>&5 | 
|---|
| 4058 |   ac_status=$? | 
|---|
| 4059 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4060 |   (exit $ac_status); }; } && | 
|---|
| 4061 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4062 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4063 |   (eval $ac_try) 2>&5 | 
|---|
| 4064 |   ac_status=$? | 
|---|
| 4065 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4066 |   (exit $ac_status); }; }; then | 
|---|
| 4067 |   ac_cv_header_stdc=yes | 
|---|
| 4068 | else | 
|---|
| 4069 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4070 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4071 |  | 
|---|
| 4072 | ac_cv_header_stdc=no | 
|---|
| 4073 | fi | 
|---|
| 4074 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4075 |  | 
|---|
| 4076 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 4077 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 4078 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4079 | /* confdefs.h.  */ | 
|---|
| 4080 | _ACEOF | 
|---|
| 4081 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4082 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4083 | /* end confdefs.h.  */ | 
|---|
| 4084 | #include <string.h> | 
|---|
| 4085 |  | 
|---|
| 4086 | _ACEOF | 
|---|
| 4087 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 4088 |   $EGREP "memchr" >/dev/null 2>&1; then | 
|---|
| 4089 |   : | 
|---|
| 4090 | else | 
|---|
| 4091 |   ac_cv_header_stdc=no | 
|---|
| 4092 | fi | 
|---|
| 4093 | rm -f conftest* | 
|---|
| 4094 |  | 
|---|
| 4095 | fi | 
|---|
| 4096 |  | 
|---|
| 4097 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 4098 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 4099 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4100 | /* confdefs.h.  */ | 
|---|
| 4101 | _ACEOF | 
|---|
| 4102 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4103 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4104 | /* end confdefs.h.  */ | 
|---|
| 4105 | #include <stdlib.h> | 
|---|
| 4106 |  | 
|---|
| 4107 | _ACEOF | 
|---|
| 4108 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 4109 |   $EGREP "free" >/dev/null 2>&1; then | 
|---|
| 4110 |   : | 
|---|
| 4111 | else | 
|---|
| 4112 |   ac_cv_header_stdc=no | 
|---|
| 4113 | fi | 
|---|
| 4114 | rm -f conftest* | 
|---|
| 4115 |  | 
|---|
| 4116 | fi | 
|---|
| 4117 |  | 
|---|
| 4118 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 4119 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 4120 |   if test "$cross_compiling" = yes; then | 
|---|
| 4121 |   : | 
|---|
| 4122 | else | 
|---|
| 4123 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4124 | /* confdefs.h.  */ | 
|---|
| 4125 | _ACEOF | 
|---|
| 4126 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4127 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4128 | /* end confdefs.h.  */ | 
|---|
| 4129 | #include <ctype.h> | 
|---|
| 4130 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 4131 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 4132 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 4133 | #else | 
|---|
| 4134 | # define ISLOWER(c) \ | 
|---|
| 4135 |                    (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 4136 |                      || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 4137 |                      || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 4138 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 4139 | #endif | 
|---|
| 4140 |  | 
|---|
| 4141 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 4142 | int | 
|---|
| 4143 | main () | 
|---|
| 4144 | { | 
|---|
| 4145 |   int i; | 
|---|
| 4146 |   for (i = 0; i < 256; i++) | 
|---|
| 4147 |     if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 4148 |         || toupper (i) != TOUPPER (i)) | 
|---|
| 4149 |       exit(2); | 
|---|
| 4150 |   exit (0); | 
|---|
| 4151 | } | 
|---|
| 4152 | _ACEOF | 
|---|
| 4153 | rm -f conftest$ac_exeext | 
|---|
| 4154 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4155 |   (eval $ac_link) 2>&5 | 
|---|
| 4156 |   ac_status=$? | 
|---|
| 4157 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4158 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 4159 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4160 |   (eval $ac_try) 2>&5 | 
|---|
| 4161 |   ac_status=$? | 
|---|
| 4162 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4163 |   (exit $ac_status); }; }; then | 
|---|
| 4164 |   : | 
|---|
| 4165 | else | 
|---|
| 4166 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 4167 | echo "$as_me: failed program was:" >&5 | 
|---|
| 4168 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4169 |  | 
|---|
| 4170 | ( exit $ac_status ) | 
|---|
| 4171 | ac_cv_header_stdc=no | 
|---|
| 4172 | fi | 
|---|
| 4173 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4174 | fi | 
|---|
| 4175 | fi | 
|---|
| 4176 | fi | 
|---|
| 4177 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|---|
| 4178 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|---|
| 4179 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 4180 |  | 
|---|
| 4181 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 4182 | #define STDC_HEADERS 1 | 
|---|
| 4183 | _ACEOF | 
|---|
| 4184 |  | 
|---|
| 4185 | fi | 
|---|
| 4186 |  | 
|---|
| 4187 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 4188 |  | 
|---|
| 4189 |  | 
|---|
| 4190 |  | 
|---|
| 4191 |  | 
|---|
| 4192 |  | 
|---|
| 4193 |  | 
|---|
| 4194 |  | 
|---|
| 4195 |  | 
|---|
| 4196 |  | 
|---|
| 4197 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 4198 |                   inttypes.h stdint.h unistd.h | 
|---|
| 4199 | do | 
|---|
| 4200 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4201 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4202 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4203 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4204 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4205 | else | 
|---|
| 4206 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4207 | /* confdefs.h.  */ | 
|---|
| 4208 | _ACEOF | 
|---|
| 4209 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4210 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4211 | /* end confdefs.h.  */ | 
|---|
| 4212 | $ac_includes_default | 
|---|
| 4213 |  | 
|---|
| 4214 | #include <$ac_header> | 
|---|
| 4215 | _ACEOF | 
|---|
| 4216 | rm -f conftest.$ac_objext | 
|---|
| 4217 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4218 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4219 |   ac_status=$? | 
|---|
| 4220 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4221 |   rm -f conftest.er1 | 
|---|
| 4222 |   cat conftest.err >&5 | 
|---|
| 4223 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4224 |   (exit $ac_status); } && | 
|---|
| 4225 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4226 |                          || test ! -s conftest.err' | 
|---|
| 4227 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4228 |   (eval $ac_try) 2>&5 | 
|---|
| 4229 |   ac_status=$? | 
|---|
| 4230 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4231 |   (exit $ac_status); }; } && | 
|---|
| 4232 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4233 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4234 |   (eval $ac_try) 2>&5 | 
|---|
| 4235 |   ac_status=$? | 
|---|
| 4236 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4237 |   (exit $ac_status); }; }; then | 
|---|
| 4238 |   eval "$as_ac_Header=yes" | 
|---|
| 4239 | else | 
|---|
| 4240 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4241 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4242 |  | 
|---|
| 4243 | eval "$as_ac_Header=no" | 
|---|
| 4244 | fi | 
|---|
| 4245 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4246 | fi | 
|---|
| 4247 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4248 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4249 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4250 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4251 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4252 | _ACEOF | 
|---|
| 4253 |  | 
|---|
| 4254 | fi | 
|---|
| 4255 |  | 
|---|
| 4256 | done | 
|---|
| 4257 |  | 
|---|
| 4258 |  | 
|---|
| 4259 |  | 
|---|
| 4260 |  | 
|---|
| 4261 | for ac_header in stdlib.h string.h | 
|---|
| 4262 | do | 
|---|
| 4263 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4264 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4265 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4266 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4267 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4268 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4269 | fi | 
|---|
| 4270 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4271 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4272 | else | 
|---|
| 4273 |   # Is the header compilable? | 
|---|
| 4274 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4275 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4276 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4277 | /* confdefs.h.  */ | 
|---|
| 4278 | _ACEOF | 
|---|
| 4279 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4280 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4281 | /* end confdefs.h.  */ | 
|---|
| 4282 | $ac_includes_default | 
|---|
| 4283 | #include <$ac_header> | 
|---|
| 4284 | _ACEOF | 
|---|
| 4285 | rm -f conftest.$ac_objext | 
|---|
| 4286 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4287 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4288 |   ac_status=$? | 
|---|
| 4289 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4290 |   rm -f conftest.er1 | 
|---|
| 4291 |   cat conftest.err >&5 | 
|---|
| 4292 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4293 |   (exit $ac_status); } && | 
|---|
| 4294 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4295 |                          || test ! -s conftest.err' | 
|---|
| 4296 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4297 |   (eval $ac_try) 2>&5 | 
|---|
| 4298 |   ac_status=$? | 
|---|
| 4299 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4300 |   (exit $ac_status); }; } && | 
|---|
| 4301 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4302 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4303 |   (eval $ac_try) 2>&5 | 
|---|
| 4304 |   ac_status=$? | 
|---|
| 4305 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4306 |   (exit $ac_status); }; }; then | 
|---|
| 4307 |   ac_header_compiler=yes | 
|---|
| 4308 | else | 
|---|
| 4309 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4310 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4311 |  | 
|---|
| 4312 | ac_header_compiler=no | 
|---|
| 4313 | fi | 
|---|
| 4314 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4315 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4316 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4317 |  | 
|---|
| 4318 | # Is the header present? | 
|---|
| 4319 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4320 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4321 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4322 | /* confdefs.h.  */ | 
|---|
| 4323 | _ACEOF | 
|---|
| 4324 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4325 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4326 | /* end confdefs.h.  */ | 
|---|
| 4327 | #include <$ac_header> | 
|---|
| 4328 | _ACEOF | 
|---|
| 4329 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4330 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4331 |   ac_status=$? | 
|---|
| 4332 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4333 |   rm -f conftest.er1 | 
|---|
| 4334 |   cat conftest.err >&5 | 
|---|
| 4335 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4336 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4337 |   if test -s conftest.err; then | 
|---|
| 4338 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4339 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4340 |   else | 
|---|
| 4341 |     ac_cpp_err= | 
|---|
| 4342 |   fi | 
|---|
| 4343 | else | 
|---|
| 4344 |   ac_cpp_err=yes | 
|---|
| 4345 | fi | 
|---|
| 4346 | if test -z "$ac_cpp_err"; then | 
|---|
| 4347 |   ac_header_preproc=yes | 
|---|
| 4348 | else | 
|---|
| 4349 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4350 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4351 |  | 
|---|
| 4352 |   ac_header_preproc=no | 
|---|
| 4353 | fi | 
|---|
| 4354 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4355 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4356 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4357 |  | 
|---|
| 4358 | # So?  What about this header? | 
|---|
| 4359 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4360 |   yes:no: ) | 
|---|
| 4361 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4362 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4363 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4364 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4365 |     ac_header_preproc=yes | 
|---|
| 4366 |     ;; | 
|---|
| 4367 |   no:yes:* ) | 
|---|
| 4368 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4369 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4370 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4371 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4372 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4373 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4374 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4375 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4376 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4377 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4378 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4379 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4380 |     ( | 
|---|
| 4381 |       cat <<\_ASBOX | 
|---|
| 4382 | ## ------------------------------------------- ## | 
|---|
| 4383 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4384 | ## ------------------------------------------- ## | 
|---|
| 4385 | _ASBOX | 
|---|
| 4386 |     ) | | 
|---|
| 4387 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4388 |     ;; | 
|---|
| 4389 | esac | 
|---|
| 4390 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4391 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4392 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4393 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4394 | else | 
|---|
| 4395 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4396 | fi | 
|---|
| 4397 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4398 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4399 |  | 
|---|
| 4400 | fi | 
|---|
| 4401 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4402 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4403 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4404 | _ACEOF | 
|---|
| 4405 |  | 
|---|
| 4406 | fi | 
|---|
| 4407 |  | 
|---|
| 4408 | done | 
|---|
| 4409 |  | 
|---|
| 4410 |  | 
|---|
| 4411 | # Checks for typedefs, structures, and compiler characteristics. | 
|---|
| 4412 | echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 | 
|---|
| 4413 | echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 | 
|---|
| 4414 | if test "${ac_cv_header_stdbool_h+set}" = set; then | 
|---|
| 4415 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4416 | else | 
|---|
| 4417 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4418 | /* confdefs.h.  */ | 
|---|
| 4419 | _ACEOF | 
|---|
| 4420 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4421 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4422 | /* end confdefs.h.  */ | 
|---|
| 4423 |  | 
|---|
| 4424 | #include <stdbool.h> | 
|---|
| 4425 | #ifndef bool | 
|---|
| 4426 | # error bool is not defined | 
|---|
| 4427 | #endif | 
|---|
| 4428 | #ifndef false | 
|---|
| 4429 | # error false is not defined | 
|---|
| 4430 | #endif | 
|---|
| 4431 | #if false | 
|---|
| 4432 | # error false is not 0 | 
|---|
| 4433 | #endif | 
|---|
| 4434 | #ifndef true | 
|---|
| 4435 | # error true is not defined | 
|---|
| 4436 | #endif | 
|---|
| 4437 | #if true != 1 | 
|---|
| 4438 | # error true is not 1 | 
|---|
| 4439 | #endif | 
|---|
| 4440 | #ifndef __bool_true_false_are_defined | 
|---|
| 4441 | # error __bool_true_false_are_defined is not defined | 
|---|
| 4442 | #endif | 
|---|
| 4443 |  | 
|---|
| 4444 |         struct s { _Bool s: 1; _Bool t; } s; | 
|---|
| 4445 |  | 
|---|
| 4446 |         char a[true == 1 ? 1 : -1]; | 
|---|
| 4447 |         char b[false == 0 ? 1 : -1]; | 
|---|
| 4448 |         char c[__bool_true_false_are_defined == 1 ? 1 : -1]; | 
|---|
| 4449 |         char d[(bool) -0.5 == true ? 1 : -1]; | 
|---|
| 4450 |         bool e = &s; | 
|---|
| 4451 |         char f[(_Bool) -0.0 == false ? 1 : -1]; | 
|---|
| 4452 |         char g[true]; | 
|---|
| 4453 |         char h[sizeof (_Bool)]; | 
|---|
| 4454 |         char i[sizeof s.t]; | 
|---|
| 4455 |  | 
|---|
| 4456 | int | 
|---|
| 4457 | main () | 
|---|
| 4458 | { | 
|---|
| 4459 |  return !a + !b + !c + !d + !e + !f + !g + !h + !i; | 
|---|
| 4460 |   ; | 
|---|
| 4461 |   return 0; | 
|---|
| 4462 | } | 
|---|
| 4463 | _ACEOF | 
|---|
| 4464 | rm -f conftest.$ac_objext | 
|---|
| 4465 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4466 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4467 |   ac_status=$? | 
|---|
| 4468 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4469 |   rm -f conftest.er1 | 
|---|
| 4470 |   cat conftest.err >&5 | 
|---|
| 4471 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4472 |   (exit $ac_status); } && | 
|---|
| 4473 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4474 |                          || test ! -s conftest.err' | 
|---|
| 4475 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4476 |   (eval $ac_try) 2>&5 | 
|---|
| 4477 |   ac_status=$? | 
|---|
| 4478 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4479 |   (exit $ac_status); }; } && | 
|---|
| 4480 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4481 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4482 |   (eval $ac_try) 2>&5 | 
|---|
| 4483 |   ac_status=$? | 
|---|
| 4484 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4485 |   (exit $ac_status); }; }; then | 
|---|
| 4486 |   ac_cv_header_stdbool_h=yes | 
|---|
| 4487 | else | 
|---|
| 4488 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4489 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4490 |  | 
|---|
| 4491 | ac_cv_header_stdbool_h=no | 
|---|
| 4492 | fi | 
|---|
| 4493 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4494 | fi | 
|---|
| 4495 | echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 | 
|---|
| 4496 | echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 | 
|---|
| 4497 | echo "$as_me:$LINENO: checking for _Bool" >&5 | 
|---|
| 4498 | echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 | 
|---|
| 4499 | if test "${ac_cv_type__Bool+set}" = set; then | 
|---|
| 4500 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4501 | else | 
|---|
| 4502 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4503 | /* confdefs.h.  */ | 
|---|
| 4504 | _ACEOF | 
|---|
| 4505 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4506 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4507 | /* end confdefs.h.  */ | 
|---|
| 4508 | $ac_includes_default | 
|---|
| 4509 | int | 
|---|
| 4510 | main () | 
|---|
| 4511 | { | 
|---|
| 4512 | if ((_Bool *) 0) | 
|---|
| 4513 |   return 0; | 
|---|
| 4514 | if (sizeof (_Bool)) | 
|---|
| 4515 |   return 0; | 
|---|
| 4516 |   ; | 
|---|
| 4517 |   return 0; | 
|---|
| 4518 | } | 
|---|
| 4519 | _ACEOF | 
|---|
| 4520 | rm -f conftest.$ac_objext | 
|---|
| 4521 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4522 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4523 |   ac_status=$? | 
|---|
| 4524 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4525 |   rm -f conftest.er1 | 
|---|
| 4526 |   cat conftest.err >&5 | 
|---|
| 4527 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4528 |   (exit $ac_status); } && | 
|---|
| 4529 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4530 |                          || test ! -s conftest.err' | 
|---|
| 4531 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4532 |   (eval $ac_try) 2>&5 | 
|---|
| 4533 |   ac_status=$? | 
|---|
| 4534 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4535 |   (exit $ac_status); }; } && | 
|---|
| 4536 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4537 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4538 |   (eval $ac_try) 2>&5 | 
|---|
| 4539 |   ac_status=$? | 
|---|
| 4540 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4541 |   (exit $ac_status); }; }; then | 
|---|
| 4542 |   ac_cv_type__Bool=yes | 
|---|
| 4543 | else | 
|---|
| 4544 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4545 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4546 |  | 
|---|
| 4547 | ac_cv_type__Bool=no | 
|---|
| 4548 | fi | 
|---|
| 4549 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4550 | fi | 
|---|
| 4551 | echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 | 
|---|
| 4552 | echo "${ECHO_T}$ac_cv_type__Bool" >&6 | 
|---|
| 4553 | if test $ac_cv_type__Bool = yes; then | 
|---|
| 4554 |  | 
|---|
| 4555 | cat >>confdefs.h <<_ACEOF | 
|---|
| 4556 | #define HAVE__BOOL 1 | 
|---|
| 4557 | _ACEOF | 
|---|
| 4558 |  | 
|---|
| 4559 |  | 
|---|
| 4560 | fi | 
|---|
| 4561 |  | 
|---|
| 4562 | if test $ac_cv_header_stdbool_h = yes; then | 
|---|
| 4563 |  | 
|---|
| 4564 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 4565 | #define HAVE_STDBOOL_H 1 | 
|---|
| 4566 | _ACEOF | 
|---|
| 4567 |  | 
|---|
| 4568 | fi | 
|---|
| 4569 |  | 
|---|
| 4570 |  | 
|---|
| 4571 | # Checks for library functions. | 
|---|
| 4572 |  | 
|---|
| 4573 | for ac_header in stdlib.h | 
|---|
| 4574 | do | 
|---|
| 4575 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 4576 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4577 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4579 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4580 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4581 | fi | 
|---|
| 4582 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4583 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4584 | else | 
|---|
| 4585 |   # Is the header compilable? | 
|---|
| 4586 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|---|
| 4587 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|---|
| 4588 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4589 | /* confdefs.h.  */ | 
|---|
| 4590 | _ACEOF | 
|---|
| 4591 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4592 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4593 | /* end confdefs.h.  */ | 
|---|
| 4594 | $ac_includes_default | 
|---|
| 4595 | #include <$ac_header> | 
|---|
| 4596 | _ACEOF | 
|---|
| 4597 | rm -f conftest.$ac_objext | 
|---|
| 4598 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|---|
| 4599 |   (eval $ac_compile) 2>conftest.er1 | 
|---|
| 4600 |   ac_status=$? | 
|---|
| 4601 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4602 |   rm -f conftest.er1 | 
|---|
| 4603 |   cat conftest.err >&5 | 
|---|
| 4604 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4605 |   (exit $ac_status); } && | 
|---|
| 4606 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4607 |                          || test ! -s conftest.err' | 
|---|
| 4608 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4609 |   (eval $ac_try) 2>&5 | 
|---|
| 4610 |   ac_status=$? | 
|---|
| 4611 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4612 |   (exit $ac_status); }; } && | 
|---|
| 4613 |          { ac_try='test -s conftest.$ac_objext' | 
|---|
| 4614 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4615 |   (eval $ac_try) 2>&5 | 
|---|
| 4616 |   ac_status=$? | 
|---|
| 4617 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4618 |   (exit $ac_status); }; }; then | 
|---|
| 4619 |   ac_header_compiler=yes | 
|---|
| 4620 | else | 
|---|
| 4621 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4622 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4623 |  | 
|---|
| 4624 | ac_header_compiler=no | 
|---|
| 4625 | fi | 
|---|
| 4626 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4627 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|---|
| 4628 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|---|
| 4629 |  | 
|---|
| 4630 | # Is the header present? | 
|---|
| 4631 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|---|
| 4632 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|---|
| 4633 | cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4634 | /* confdefs.h.  */ | 
|---|
| 4635 | _ACEOF | 
|---|
| 4636 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4637 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4638 | /* end confdefs.h.  */ | 
|---|
| 4639 | #include <$ac_header> | 
|---|
| 4640 | _ACEOF | 
|---|
| 4641 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|---|
| 4642 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|---|
| 4643 |   ac_status=$? | 
|---|
| 4644 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4645 |   rm -f conftest.er1 | 
|---|
| 4646 |   cat conftest.err >&5 | 
|---|
| 4647 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4648 |   (exit $ac_status); } >/dev/null; then | 
|---|
| 4649 |   if test -s conftest.err; then | 
|---|
| 4650 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
|---|
| 4651 |     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 
|---|
| 4652 |   else | 
|---|
| 4653 |     ac_cpp_err= | 
|---|
| 4654 |   fi | 
|---|
| 4655 | else | 
|---|
| 4656 |   ac_cpp_err=yes | 
|---|
| 4657 | fi | 
|---|
| 4658 | if test -z "$ac_cpp_err"; then | 
|---|
| 4659 |   ac_header_preproc=yes | 
|---|
| 4660 | else | 
|---|
| 4661 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4662 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4663 |  | 
|---|
| 4664 |   ac_header_preproc=no | 
|---|
| 4665 | fi | 
|---|
| 4666 | rm -f conftest.err conftest.$ac_ext | 
|---|
| 4667 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|---|
| 4668 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|---|
| 4669 |  | 
|---|
| 4670 | # So?  What about this header? | 
|---|
| 4671 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 
|---|
| 4672 |   yes:no: ) | 
|---|
| 4673 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 4674 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 4675 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
|---|
| 4676 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
|---|
| 4677 |     ac_header_preproc=yes | 
|---|
| 4678 |     ;; | 
|---|
| 4679 |   no:yes:* ) | 
|---|
| 4680 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|---|
| 4681 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|---|
| 4682 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
|---|
| 4683 | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
|---|
| 4684 |     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
|---|
| 4685 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
|---|
| 4686 |     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 4687 | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 4688 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
|---|
| 4689 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|---|
| 4690 |     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
|---|
| 4691 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
|---|
| 4692 |     ( | 
|---|
| 4693 |       cat <<\_ASBOX | 
|---|
| 4694 | ## ------------------------------------------- ## | 
|---|
| 4695 | ## Report this to orxonox-dev@mail.datacore.ch ## | 
|---|
| 4696 | ## ------------------------------------------- ## | 
|---|
| 4697 | _ASBOX | 
|---|
| 4698 |     ) | | 
|---|
| 4699 |       sed "s/^/$as_me: WARNING:     /" >&2 | 
|---|
| 4700 |     ;; | 
|---|
| 4701 | esac | 
|---|
| 4702 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|---|
| 4703 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|---|
| 4704 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|---|
| 4705 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4706 | else | 
|---|
| 4707 |   eval "$as_ac_Header=\$ac_header_preproc" | 
|---|
| 4708 | fi | 
|---|
| 4709 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|---|
| 4710 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|---|
| 4711 |  | 
|---|
| 4712 | fi | 
|---|
| 4713 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|---|
| 4714 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4715 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 4716 | _ACEOF | 
|---|
| 4717 |  | 
|---|
| 4718 | fi | 
|---|
| 4719 |  | 
|---|
| 4720 | done | 
|---|
| 4721 |  | 
|---|
| 4722 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 | 
|---|
| 4723 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 | 
|---|
| 4724 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then | 
|---|
| 4725 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4726 | else | 
|---|
| 4727 |   if test "$cross_compiling" = yes; then | 
|---|
| 4728 |   ac_cv_func_malloc_0_nonnull=no | 
|---|
| 4729 | else | 
|---|
| 4730 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4731 | /* confdefs.h.  */ | 
|---|
| 4732 | _ACEOF | 
|---|
| 4733 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4734 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4735 | /* end confdefs.h.  */ | 
|---|
| 4736 | #if STDC_HEADERS || HAVE_STDLIB_H | 
|---|
| 4737 | # include <stdlib.h> | 
|---|
| 4738 | #else | 
|---|
| 4739 | char *malloc (); | 
|---|
| 4740 | #endif | 
|---|
| 4741 |  | 
|---|
| 4742 | int | 
|---|
| 4743 | main () | 
|---|
| 4744 | { | 
|---|
| 4745 | exit (malloc (0) ? 0 : 1); | 
|---|
| 4746 |   ; | 
|---|
| 4747 |   return 0; | 
|---|
| 4748 | } | 
|---|
| 4749 | _ACEOF | 
|---|
| 4750 | rm -f conftest$ac_exeext | 
|---|
| 4751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4752 |   (eval $ac_link) 2>&5 | 
|---|
| 4753 |   ac_status=$? | 
|---|
| 4754 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4755 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|---|
| 4756 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4757 |   (eval $ac_try) 2>&5 | 
|---|
| 4758 |   ac_status=$? | 
|---|
| 4759 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4760 |   (exit $ac_status); }; }; then | 
|---|
| 4761 |   ac_cv_func_malloc_0_nonnull=yes | 
|---|
| 4762 | else | 
|---|
| 4763 |   echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 4764 | echo "$as_me: failed program was:" >&5 | 
|---|
| 4765 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4766 |  | 
|---|
| 4767 | ( exit $ac_status ) | 
|---|
| 4768 | ac_cv_func_malloc_0_nonnull=no | 
|---|
| 4769 | fi | 
|---|
| 4770 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
|---|
| 4771 | fi | 
|---|
| 4772 | fi | 
|---|
| 4773 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 | 
|---|
| 4774 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 | 
|---|
| 4775 | if test $ac_cv_func_malloc_0_nonnull = yes; then | 
|---|
| 4776 |  | 
|---|
| 4777 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 4778 | #define HAVE_MALLOC 1 | 
|---|
| 4779 | _ACEOF | 
|---|
| 4780 |  | 
|---|
| 4781 | else | 
|---|
| 4782 |   cat >>confdefs.h <<\_ACEOF | 
|---|
| 4783 | #define HAVE_MALLOC 0 | 
|---|
| 4784 | _ACEOF | 
|---|
| 4785 |  | 
|---|
| 4786 |    case $LIBOBJS in | 
|---|
| 4787 |     "malloc.$ac_objext"   | \ | 
|---|
| 4788 |   *" malloc.$ac_objext"   | \ | 
|---|
| 4789 |     "malloc.$ac_objext "* | \ | 
|---|
| 4790 |   *" malloc.$ac_objext "* ) ;; | 
|---|
| 4791 |   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; | 
|---|
| 4792 | esac | 
|---|
| 4793 |  | 
|---|
| 4794 |  | 
|---|
| 4795 | cat >>confdefs.h <<\_ACEOF | 
|---|
| 4796 | #define malloc rpl_malloc | 
|---|
| 4797 | _ACEOF | 
|---|
| 4798 |  | 
|---|
| 4799 | fi | 
|---|
| 4800 |  | 
|---|
| 4801 |  | 
|---|
| 4802 |  | 
|---|
| 4803 |  | 
|---|
| 4804 |  | 
|---|
| 4805 | for ac_func in bzero sqrt | 
|---|
| 4806 | do | 
|---|
| 4807 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|---|
| 4808 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|---|
| 4809 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|---|
| 4810 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|---|
| 4811 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|---|
| 4812 | else | 
|---|
| 4813 |   cat >conftest.$ac_ext <<_ACEOF | 
|---|
| 4814 | /* confdefs.h.  */ | 
|---|
| 4815 | _ACEOF | 
|---|
| 4816 | cat confdefs.h >>conftest.$ac_ext | 
|---|
| 4817 | cat >>conftest.$ac_ext <<_ACEOF | 
|---|
| 4818 | /* end confdefs.h.  */ | 
|---|
| 4819 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | 
|---|
| 4820 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
|---|
| 4821 | #define $ac_func innocuous_$ac_func | 
|---|
| 4822 |  | 
|---|
| 4823 | /* System header to define __stub macros and hopefully few prototypes, | 
|---|
| 4824 |     which can conflict with char $ac_func (); below. | 
|---|
| 4825 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 4826 |     <limits.h> exists even on freestanding compilers.  */ | 
|---|
| 4827 |  | 
|---|
| 4828 | #ifdef __STDC__ | 
|---|
| 4829 | # include <limits.h> | 
|---|
| 4830 | #else | 
|---|
| 4831 | # include <assert.h> | 
|---|
| 4832 | #endif | 
|---|
| 4833 |  | 
|---|
| 4834 | #undef $ac_func | 
|---|
| 4835 |  | 
|---|
| 4836 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 4837 | #ifdef __cplusplus | 
|---|
| 4838 | extern "C" | 
|---|
| 4839 | { | 
|---|
| 4840 | #endif | 
|---|
| 4841 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 4842 |    builtin and then its argument prototype would still apply.  */ | 
|---|
| 4843 | char $ac_func (); | 
|---|
| 4844 | /* The GNU C library defines this for functions which it implements | 
|---|
| 4845 |     to always fail with ENOSYS.  Some functions are actually named | 
|---|
| 4846 |     something starting with __ and the normal name is an alias.  */ | 
|---|
| 4847 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|---|
| 4848 | choke me | 
|---|
| 4849 | #else | 
|---|
| 4850 | char (*f) () = $ac_func; | 
|---|
| 4851 | #endif | 
|---|
| 4852 | #ifdef __cplusplus | 
|---|
| 4853 | } | 
|---|
| 4854 | #endif | 
|---|
| 4855 |  | 
|---|
| 4856 | int | 
|---|
| 4857 | main () | 
|---|
| 4858 | { | 
|---|
| 4859 | return f != $ac_func; | 
|---|
| 4860 |   ; | 
|---|
| 4861 |   return 0; | 
|---|
| 4862 | } | 
|---|
| 4863 | _ACEOF | 
|---|
| 4864 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|---|
| 4865 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|---|
| 4866 |   (eval $ac_link) 2>conftest.er1 | 
|---|
| 4867 |   ac_status=$? | 
|---|
| 4868 |   grep -v '^ *+' conftest.er1 >conftest.err | 
|---|
| 4869 |   rm -f conftest.er1 | 
|---|
| 4870 |   cat conftest.err >&5 | 
|---|
| 4871 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4872 |   (exit $ac_status); } && | 
|---|
| 4873 |          { ac_try='test -z "$ac_c_werror_flag" | 
|---|
| 4874 |                          || test ! -s conftest.err' | 
|---|
| 4875 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4876 |   (eval $ac_try) 2>&5 | 
|---|
| 4877 |   ac_status=$? | 
|---|
| 4878 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4879 |   (exit $ac_status); }; } && | 
|---|
| 4880 |          { ac_try='test -s conftest$ac_exeext' | 
|---|
| 4881 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|---|
| 4882 |   (eval $ac_try) 2>&5 | 
|---|
| 4883 |   ac_status=$? | 
|---|
| 4884 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|---|
| 4885 |   (exit $ac_status); }; }; then | 
|---|
| 4886 |   eval "$as_ac_var=yes" | 
|---|
| 4887 | else | 
|---|
| 4888 |   echo "$as_me: failed program was:" >&5 | 
|---|
| 4889 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 4890 |  | 
|---|
| 4891 | eval "$as_ac_var=no" | 
|---|
| 4892 | fi | 
|---|
| 4893 | rm -f conftest.err conftest.$ac_objext \ | 
|---|
| 4894 |       conftest$ac_exeext conftest.$ac_ext | 
|---|
| 4895 | fi | 
|---|
| 4896 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|---|
| 4897 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|---|
| 4898 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|---|
| 4899 |   cat >>confdefs.h <<_ACEOF | 
|---|
| 4900 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|---|
| 4901 | _ACEOF | 
|---|
| 4902 |  | 
|---|
| 4903 | fi | 
|---|
| 4904 | done | 
|---|
| 4905 |  | 
|---|
| 4906 |  | 
|---|
| 4907 |                                         ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile" | 
|---|
| 4908 |  | 
|---|
| 4909 | cat >confcache <<\_ACEOF | 
|---|
| 4910 | # This file is a shell script that caches the results of configure | 
|---|
| 4911 | # tests run on this system so they can be shared between configure | 
|---|
| 4912 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 4913 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 4914 | # want to keep, you may remove or edit it. | 
|---|
| 4915 | # | 
|---|
| 4916 | # config.status only pays attention to the cache file if you give it | 
|---|
| 4917 | # the --recheck option to rerun configure. | 
|---|
| 4918 | # | 
|---|
| 4919 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 4920 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 4921 | # following values. | 
|---|
| 4922 |  | 
|---|
| 4923 | _ACEOF | 
|---|
| 4924 |  | 
|---|
| 4925 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 4926 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 4927 | # So, don't put newlines in cache variables' values. | 
|---|
| 4928 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 4929 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 4930 | { | 
|---|
| 4931 |   (set) 2>&1 | | 
|---|
| 4932 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 4933 |     *ac_space=\ *) | 
|---|
| 4934 |       # `set' does not quote correctly, so add quotes (double-quote | 
|---|
| 4935 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 4936 |       sed -n \ | 
|---|
| 4937 |         "s/'/'\\\\''/g; | 
|---|
| 4938 |           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 4939 |       ;; | 
|---|
| 4940 |     *) | 
|---|
| 4941 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 4942 |       sed -n \ | 
|---|
| 4943 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|---|
| 4944 |       ;; | 
|---|
| 4945 |     esac; | 
|---|
| 4946 | } | | 
|---|
| 4947 |   sed ' | 
|---|
| 4948 |      t clear | 
|---|
| 4949 |      : clear | 
|---|
| 4950 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 4951 |      t end | 
|---|
| 4952 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 4953 |      : end' >>confcache | 
|---|
| 4954 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
|---|
| 4955 |   if test -w $cache_file; then | 
|---|
| 4956 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|---|
| 4957 |     cat confcache >$cache_file | 
|---|
| 4958 |   else | 
|---|
| 4959 |     echo "not updating unwritable cache $cache_file" | 
|---|
| 4960 |   fi | 
|---|
| 4961 | fi | 
|---|
| 4962 | rm -f confcache | 
|---|
| 4963 |  | 
|---|
| 4964 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 4965 | # Let make expand exec_prefix. | 
|---|
| 4966 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 4967 |  | 
|---|
| 4968 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|---|
| 4969 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|---|
| 4970 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 4971 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 4972 | if test "x$srcdir" = x.; then | 
|---|
| 4973 |   ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
|---|
| 4974 | s/:*\$(srcdir):*/:/; | 
|---|
| 4975 | s/:*\${srcdir}:*/:/; | 
|---|
| 4976 | s/:*@srcdir@:*/:/; | 
|---|
| 4977 | s/^\([^=]*=[     ]*\):*/\1/; | 
|---|
| 4978 | s/:*$//; | 
|---|
| 4979 | s/^[^=]*=[       ]*$//; | 
|---|
| 4980 | }' | 
|---|
| 4981 | fi | 
|---|
| 4982 |  | 
|---|
| 4983 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 4984 |  | 
|---|
| 4985 | ac_libobjs= | 
|---|
| 4986 | ac_ltlibobjs= | 
|---|
| 4987 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 4988 |   # 1. Remove the extension, and $U if already installed. | 
|---|
| 4989 |   ac_i=`echo "$ac_i" | | 
|---|
| 4990 |          sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|---|
| 4991 |   # 2. Add them. | 
|---|
| 4992 |   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|---|
| 4993 |   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|---|
| 4994 | done | 
|---|
| 4995 | LIBOBJS=$ac_libobjs | 
|---|
| 4996 |  | 
|---|
| 4997 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 4998 |  | 
|---|
| 4999 |  | 
|---|
| 5000 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 
|---|
| 5001 |   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. | 
|---|
| 5002 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 5003 | echo "$as_me: error: conditional \"AMDEP\" was never defined. | 
|---|
| 5004 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 5005 |    { (exit 1); exit 1; }; } | 
|---|
| 5006 | fi | 
|---|
| 5007 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | 
|---|
| 5008 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 5009 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 5010 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. | 
|---|
| 5011 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 5012 |    { (exit 1); exit 1; }; } | 
|---|
| 5013 | fi | 
|---|
| 5014 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 
|---|
| 5015 |   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 5016 | Usually this means the macro was only invoked conditionally." >&5 | 
|---|
| 5017 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | 
|---|
| 5018 | Usually this means the macro was only invoked conditionally." >&2;} | 
|---|
| 5019 |    { (exit 1); exit 1; }; } | 
|---|
| 5020 | fi | 
|---|
| 5021 |  | 
|---|
| 5022 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 5023 | ac_clean_files_save=$ac_clean_files | 
|---|
| 5024 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 5025 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|---|
| 5026 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 5027 | cat >$CONFIG_STATUS <<_ACEOF | 
|---|
| 5028 | #! $SHELL | 
|---|
| 5029 | # Generated by $as_me. | 
|---|
| 5030 | # Run this file to recreate the current configuration. | 
|---|
| 5031 | # Compiler output produced by configure, useful for debugging | 
|---|
| 5032 | # configure, is in config.log if it exists. | 
|---|
| 5033 |  | 
|---|
| 5034 | debug=false | 
|---|
| 5035 | ac_cs_recheck=false | 
|---|
| 5036 | ac_cs_silent=false | 
|---|
| 5037 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 5038 | _ACEOF | 
|---|
| 5039 |  | 
|---|
| 5040 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5041 | ## --------------------- ## | 
|---|
| 5042 | ## M4sh Initialization.  ## | 
|---|
| 5043 | ## --------------------- ## | 
|---|
| 5044 |  | 
|---|
| 5045 | # Be Bourne compatible | 
|---|
| 5046 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|---|
| 5047 |   emulate sh | 
|---|
| 5048 |   NULLCMD=: | 
|---|
| 5049 |   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|---|
| 5050 |   # is contrary to our usage.  Disable this feature. | 
|---|
| 5051 |   alias -g '${1+"$@"}'='"$@"' | 
|---|
| 5052 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|---|
| 5053 |   set -o posix | 
|---|
| 5054 | fi | 
|---|
| 5055 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 5056 |  | 
|---|
| 5057 | # Support unset when possible. | 
|---|
| 5058 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
|---|
| 5059 |   as_unset=unset | 
|---|
| 5060 | else | 
|---|
| 5061 |   as_unset=false | 
|---|
| 5062 | fi | 
|---|
| 5063 |  | 
|---|
| 5064 |  | 
|---|
| 5065 | # Work around bugs in pre-3.0 UWIN ksh. | 
|---|
| 5066 | $as_unset ENV MAIL MAILPATH | 
|---|
| 5067 | PS1='$ ' | 
|---|
| 5068 | PS2='> ' | 
|---|
| 5069 | PS4='+ ' | 
|---|
| 5070 |  | 
|---|
| 5071 | # NLS nuisances. | 
|---|
| 5072 | for as_var in \ | 
|---|
| 5073 |   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|---|
| 5074 |   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|---|
| 5075 |   LC_TELEPHONE LC_TIME | 
|---|
| 5076 | do | 
|---|
| 5077 |   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|---|
| 5078 |     eval $as_var=C; export $as_var | 
|---|
| 5079 |   else | 
|---|
| 5080 |     $as_unset $as_var | 
|---|
| 5081 |   fi | 
|---|
| 5082 | done | 
|---|
| 5083 |  | 
|---|
| 5084 | # Required to use basename. | 
|---|
| 5085 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 5086 |   as_expr=expr | 
|---|
| 5087 | else | 
|---|
| 5088 |   as_expr=false | 
|---|
| 5089 | fi | 
|---|
| 5090 |  | 
|---|
| 5091 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|---|
| 5092 |   as_basename=basename | 
|---|
| 5093 | else | 
|---|
| 5094 |   as_basename=false | 
|---|
| 5095 | fi | 
|---|
| 5096 |  | 
|---|
| 5097 |  | 
|---|
| 5098 | # Name of the executable. | 
|---|
| 5099 | as_me=`$as_basename "$0" || | 
|---|
| 5100 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 5101 |          X"$0" : 'X\(//\)$' \| \ | 
|---|
| 5102 |          X"$0" : 'X\(/\)$' \| \ | 
|---|
| 5103 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 5104 | echo X/"$0" | | 
|---|
| 5105 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|---|
| 5106 |           /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 5107 |           /^X\/\(\/\).*/{ s//\1/; q; } | 
|---|
| 5108 |           s/.*/./; q'` | 
|---|
| 5109 |  | 
|---|
| 5110 |  | 
|---|
| 5111 | # PATH needs CR, and LINENO needs CR and PATH. | 
|---|
| 5112 | # Avoid depending upon Character Ranges. | 
|---|
| 5113 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 5114 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 5115 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 5116 | as_cr_digits='0123456789' | 
|---|
| 5117 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 5118 |  | 
|---|
| 5119 | # The user is always right. | 
|---|
| 5120 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 5121 |   echo "#! /bin/sh" >conf$$.sh | 
|---|
| 5122 |   echo  "exit 0"   >>conf$$.sh | 
|---|
| 5123 |   chmod +x conf$$.sh | 
|---|
| 5124 |   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|---|
| 5125 |     PATH_SEPARATOR=';' | 
|---|
| 5126 |   else | 
|---|
| 5127 |     PATH_SEPARATOR=: | 
|---|
| 5128 |   fi | 
|---|
| 5129 |   rm -f conf$$.sh | 
|---|
| 5130 | fi | 
|---|
| 5131 |  | 
|---|
| 5132 |  | 
|---|
| 5133 |   as_lineno_1=$LINENO | 
|---|
| 5134 |   as_lineno_2=$LINENO | 
|---|
| 5135 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 5136 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 5137 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|---|
| 5138 |   # Find who we are.  Look in the path if we contain no path at all | 
|---|
| 5139 |   # relative or not. | 
|---|
| 5140 |   case $0 in | 
|---|
| 5141 |     *[\\/]* ) as_myself=$0 ;; | 
|---|
| 5142 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5143 | for as_dir in $PATH | 
|---|
| 5144 | do | 
|---|
| 5145 |   IFS=$as_save_IFS | 
|---|
| 5146 |   test -z "$as_dir" && as_dir=. | 
|---|
| 5147 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 5148 | done | 
|---|
| 5149 |  | 
|---|
| 5150 |        ;; | 
|---|
| 5151 |   esac | 
|---|
| 5152 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 5153 |   # in which case we are not to be found in the path. | 
|---|
| 5154 |   if test "x$as_myself" = x; then | 
|---|
| 5155 |     as_myself=$0 | 
|---|
| 5156 |   fi | 
|---|
| 5157 |   if test ! -f "$as_myself"; then | 
|---|
| 5158 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|---|
| 5159 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|---|
| 5160 |    { (exit 1); exit 1; }; } | 
|---|
| 5161 |   fi | 
|---|
| 5162 |   case $CONFIG_SHELL in | 
|---|
| 5163 |   '') | 
|---|
| 5164 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 5165 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|---|
| 5166 | do | 
|---|
| 5167 |   IFS=$as_save_IFS | 
|---|
| 5168 |   test -z "$as_dir" && as_dir=. | 
|---|
| 5169 |   for as_base in sh bash ksh sh5; do | 
|---|
| 5170 |          case $as_dir in | 
|---|
| 5171 |          /*) | 
|---|
| 5172 |            if ("$as_dir/$as_base" -c ' | 
|---|
| 5173 |   as_lineno_1=$LINENO | 
|---|
| 5174 |   as_lineno_2=$LINENO | 
|---|
| 5175 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|---|
| 5176 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
|---|
| 5177 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|---|
| 5178 |              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|---|
| 5179 |              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|---|
| 5180 |              CONFIG_SHELL=$as_dir/$as_base | 
|---|
| 5181 |              export CONFIG_SHELL | 
|---|
| 5182 |              exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|---|
| 5183 |            fi;; | 
|---|
| 5184 |          esac | 
|---|
| 5185 |        done | 
|---|
| 5186 | done | 
|---|
| 5187 | ;; | 
|---|
| 5188 |   esac | 
|---|
| 5189 |  | 
|---|
| 5190 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|---|
| 5191 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
|---|
| 5192 |   # line-number line before each line; the second 'sed' does the real | 
|---|
| 5193 |   # work.  The second script uses 'N' to pair each line-number line | 
|---|
| 5194 |   # with the numbered line, and appends trailing '-' during | 
|---|
| 5195 |   # substitution so that $LINENO is not a special case at line end. | 
|---|
| 5196 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|---|
| 5197 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|---|
| 5198 |   sed '=' <$as_myself | | 
|---|
| 5199 |     sed ' | 
|---|
| 5200 |       N | 
|---|
| 5201 |       s,$,-, | 
|---|
| 5202 |       : loop | 
|---|
| 5203 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|---|
| 5204 |       t loop | 
|---|
| 5205 |       s,-$,, | 
|---|
| 5206 |       s,^['$as_cr_digits']*\n,, | 
|---|
| 5207 |     ' >$as_me.lineno && | 
|---|
| 5208 |   chmod +x $as_me.lineno || | 
|---|
| 5209 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|---|
| 5210 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|---|
| 5211 |    { (exit 1); exit 1; }; } | 
|---|
| 5212 |  | 
|---|
| 5213 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
|---|
| 5214 |   # (the dirname of $[0] is not the place where we might find the | 
|---|
| 5215 |   # original and so on.  Autoconf is especially sensible to this). | 
|---|
| 5216 |   . ./$as_me.lineno | 
|---|
| 5217 |   # Exit status is that of the last command. | 
|---|
| 5218 |   exit | 
|---|
| 5219 | } | 
|---|
| 5220 |  | 
|---|
| 5221 |  | 
|---|
| 5222 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|---|
| 5223 |   *c*,-n*) ECHO_N= ECHO_C=' | 
|---|
| 5224 | ' ECHO_T='      ' ;; | 
|---|
| 5225 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|---|
| 5226 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|---|
| 5227 | esac | 
|---|
| 5228 |  | 
|---|
| 5229 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|---|
| 5230 |   as_expr=expr | 
|---|
| 5231 | else | 
|---|
| 5232 |   as_expr=false | 
|---|
| 5233 | fi | 
|---|
| 5234 |  | 
|---|
| 5235 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 5236 | echo >conf$$.file | 
|---|
| 5237 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 5238 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
|---|
| 5239 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|---|
| 5240 |   if test -f conf$$.exe; then | 
|---|
| 5241 |     # Don't use ln at all; we don't have any links | 
|---|
| 5242 |     as_ln_s='cp -p' | 
|---|
| 5243 |   else | 
|---|
| 5244 |     as_ln_s='ln -s' | 
|---|
| 5245 |   fi | 
|---|
| 5246 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 5247 |   as_ln_s=ln | 
|---|
| 5248 | else | 
|---|
| 5249 |   as_ln_s='cp -p' | 
|---|
| 5250 | fi | 
|---|
| 5251 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 5252 |  | 
|---|
| 5253 | if mkdir -p . 2>/dev/null; then | 
|---|
| 5254 |   as_mkdir_p=: | 
|---|
| 5255 | else | 
|---|
| 5256 |   test -d ./-p && rmdir ./-p | 
|---|
| 5257 |   as_mkdir_p=false | 
|---|
| 5258 | fi | 
|---|
| 5259 |  | 
|---|
| 5260 | as_executable_p="test -f" | 
|---|
| 5261 |  | 
|---|
| 5262 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 5263 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 5264 |  | 
|---|
| 5265 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 5266 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 5267 |  | 
|---|
| 5268 |  | 
|---|
| 5269 | # IFS | 
|---|
| 5270 | # We need space, tab and new line, in precisely that order. | 
|---|
| 5271 | as_nl=' | 
|---|
| 5272 | ' | 
|---|
| 5273 | IFS="   $as_nl" | 
|---|
| 5274 |  | 
|---|
| 5275 | # CDPATH. | 
|---|
| 5276 | $as_unset CDPATH | 
|---|
| 5277 |  | 
|---|
| 5278 | exec 6>&1 | 
|---|
| 5279 |  | 
|---|
| 5280 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|---|
| 5281 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 5282 | # values after options handling.  Logging --version etc. is OK. | 
|---|
| 5283 | exec 5>>config.log | 
|---|
| 5284 | { | 
|---|
| 5285 |   echo | 
|---|
| 5286 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 5287 | ## Running $as_me. ## | 
|---|
| 5288 | _ASBOX | 
|---|
| 5289 | } >&5 | 
|---|
| 5290 | cat >&5 <<_CSEOF | 
|---|
| 5291 |  | 
|---|
| 5292 | This file was extended by orxonox $as_me 0.1-pre-alpha, which was | 
|---|
| 5293 | generated by GNU Autoconf 2.59.  Invocation command line was | 
|---|
| 5294 |  | 
|---|
| 5295 |   CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 5296 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 5297 |   CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 5298 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 5299 |   $ $0 $@ | 
|---|
| 5300 |  | 
|---|
| 5301 | _CSEOF | 
|---|
| 5302 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|---|
| 5303 | echo >&5 | 
|---|
| 5304 | _ACEOF | 
|---|
| 5305 |  | 
|---|
| 5306 | # Files that config.status was made for. | 
|---|
| 5307 | if test -n "$ac_config_files"; then | 
|---|
| 5308 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|---|
| 5309 | fi | 
|---|
| 5310 |  | 
|---|
| 5311 | if test -n "$ac_config_headers"; then | 
|---|
| 5312 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|---|
| 5313 | fi | 
|---|
| 5314 |  | 
|---|
| 5315 | if test -n "$ac_config_links"; then | 
|---|
| 5316 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|---|
| 5317 | fi | 
|---|
| 5318 |  | 
|---|
| 5319 | if test -n "$ac_config_commands"; then | 
|---|
| 5320 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|---|
| 5321 | fi | 
|---|
| 5322 |  | 
|---|
| 5323 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5324 |  | 
|---|
| 5325 | ac_cs_usage="\ | 
|---|
| 5326 | \`$as_me' instantiates files from templates according to the | 
|---|
| 5327 | current configuration. | 
|---|
| 5328 |  | 
|---|
| 5329 | Usage: $0 [OPTIONS] [FILE]... | 
|---|
| 5330 |  | 
|---|
| 5331 |   -h, --help       print this help, then exit | 
|---|
| 5332 |   -V, --version    print version number, then exit | 
|---|
| 5333 |   -q, --quiet      do not print progress messages | 
|---|
| 5334 |   -d, --debug      don't remove temporary files | 
|---|
| 5335 |       --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 5336 |   --file=FILE[:TEMPLATE] | 
|---|
| 5337 |                    instantiate the configuration file FILE | 
|---|
| 5338 |   --header=FILE[:TEMPLATE] | 
|---|
| 5339 |                    instantiate the configuration header FILE | 
|---|
| 5340 |  | 
|---|
| 5341 | Configuration files: | 
|---|
| 5342 | $config_files | 
|---|
| 5343 |  | 
|---|
| 5344 | Configuration headers: | 
|---|
| 5345 | $config_headers | 
|---|
| 5346 |  | 
|---|
| 5347 | Configuration commands: | 
|---|
| 5348 | $config_commands | 
|---|
| 5349 |  | 
|---|
| 5350 | Report bugs to <bug-autoconf@gnu.org>." | 
|---|
| 5351 | _ACEOF | 
|---|
| 5352 |  | 
|---|
| 5353 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 5354 | ac_cs_version="\\ | 
|---|
| 5355 | orxonox config.status 0.1-pre-alpha | 
|---|
| 5356 | configured by $0, generated by GNU Autoconf 2.59, | 
|---|
| 5357 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|---|
| 5358 |  | 
|---|
| 5359 | Copyright (C) 2003 Free Software Foundation, Inc. | 
|---|
| 5360 | This config.status script is free software; the Free Software Foundation | 
|---|
| 5361 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 5362 | srcdir=$srcdir | 
|---|
| 5363 | INSTALL="$INSTALL" | 
|---|
| 5364 | _ACEOF | 
|---|
| 5365 |  | 
|---|
| 5366 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5367 | # If no file are specified by the user, then we need to provide default | 
|---|
| 5368 | # value.  By we need to know if files were specified by the user. | 
|---|
| 5369 | ac_need_defaults=: | 
|---|
| 5370 | while test $# != 0 | 
|---|
| 5371 | do | 
|---|
| 5372 |   case $1 in | 
|---|
| 5373 |   --*=*) | 
|---|
| 5374 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|---|
| 5375 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
|---|
| 5376 |     ac_shift=: | 
|---|
| 5377 |     ;; | 
|---|
| 5378 |   -*) | 
|---|
| 5379 |     ac_option=$1 | 
|---|
| 5380 |     ac_optarg=$2 | 
|---|
| 5381 |     ac_shift=shift | 
|---|
| 5382 |     ;; | 
|---|
| 5383 |   *) # This is not an option, so the user has probably given explicit | 
|---|
| 5384 |      # arguments. | 
|---|
| 5385 |      ac_option=$1 | 
|---|
| 5386 |      ac_need_defaults=false;; | 
|---|
| 5387 |   esac | 
|---|
| 5388 |  | 
|---|
| 5389 |   case $ac_option in | 
|---|
| 5390 |   # Handling of the options. | 
|---|
| 5391 | _ACEOF | 
|---|
| 5392 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5393 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 5394 |     ac_cs_recheck=: ;; | 
|---|
| 5395 |   --version | --vers* | -V ) | 
|---|
| 5396 |     echo "$ac_cs_version"; exit 0 ;; | 
|---|
| 5397 |   --he | --h) | 
|---|
| 5398 |     # Conflict between --help and --header | 
|---|
| 5399 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|---|
| 5400 | Try \`$0 --help' for more information." >&5 | 
|---|
| 5401 | echo "$as_me: error: ambiguous option: $1 | 
|---|
| 5402 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 5403 |    { (exit 1); exit 1; }; };; | 
|---|
| 5404 |   --help | --hel | -h ) | 
|---|
| 5405 |     echo "$ac_cs_usage"; exit 0 ;; | 
|---|
| 5406 |   --debug | --d* | -d ) | 
|---|
| 5407 |     debug=: ;; | 
|---|
| 5408 |   --file | --fil | --fi | --f ) | 
|---|
| 5409 |     $ac_shift | 
|---|
| 5410 |     CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
|---|
| 5411 |     ac_need_defaults=false;; | 
|---|
| 5412 |   --header | --heade | --head | --hea ) | 
|---|
| 5413 |     $ac_shift | 
|---|
| 5414 |     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
|---|
| 5415 |     ac_need_defaults=false;; | 
|---|
| 5416 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 5417 |   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 5418 |     ac_cs_silent=: ;; | 
|---|
| 5419 |  | 
|---|
| 5420 |   # This is an error. | 
|---|
| 5421 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|---|
| 5422 | Try \`$0 --help' for more information." >&5 | 
|---|
| 5423 | echo "$as_me: error: unrecognized option: $1 | 
|---|
| 5424 | Try \`$0 --help' for more information." >&2;} | 
|---|
| 5425 |    { (exit 1); exit 1; }; } ;; | 
|---|
| 5426 |  | 
|---|
| 5427 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
|---|
| 5428 |  | 
|---|
| 5429 |   esac | 
|---|
| 5430 |   shift | 
|---|
| 5431 | done | 
|---|
| 5432 |  | 
|---|
| 5433 | ac_configure_extra_args= | 
|---|
| 5434 |  | 
|---|
| 5435 | if $ac_cs_silent; then | 
|---|
| 5436 |   exec 6>/dev/null | 
|---|
| 5437 |   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 5438 | fi | 
|---|
| 5439 |  | 
|---|
| 5440 | _ACEOF | 
|---|
| 5441 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 5442 | if \$ac_cs_recheck; then | 
|---|
| 5443 |   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|---|
| 5444 |   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 5445 | fi | 
|---|
| 5446 |  | 
|---|
| 5447 | _ACEOF | 
|---|
| 5448 |  | 
|---|
| 5449 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 5450 | # | 
|---|
| 5451 | # INIT-COMMANDS section. | 
|---|
| 5452 | # | 
|---|
| 5453 |  | 
|---|
| 5454 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 
|---|
| 5455 |  | 
|---|
| 5456 | _ACEOF | 
|---|
| 5457 |  | 
|---|
| 5458 |  | 
|---|
| 5459 |  | 
|---|
| 5460 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5461 | for ac_config_target in $ac_config_targets | 
|---|
| 5462 | do | 
|---|
| 5463 |   case "$ac_config_target" in | 
|---|
| 5464 |   # Handling of arguments. | 
|---|
| 5465 |   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 5466 |   "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;; | 
|---|
| 5467 |   "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;; | 
|---|
| 5468 |   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | 
|---|
| 5469 |   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 
|---|
| 5470 |   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 
|---|
| 5471 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|---|
| 5472 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|---|
| 5473 |    { (exit 1); exit 1; }; };; | 
|---|
| 5474 |   esac | 
|---|
| 5475 | done | 
|---|
| 5476 |  | 
|---|
| 5477 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 5478 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 5479 | # We use the long form for the default assignment because of an extremely | 
|---|
| 5480 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 5481 | if $ac_need_defaults; then | 
|---|
| 5482 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 5483 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 5484 |   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
|---|
| 5485 | fi | 
|---|
| 5486 |  | 
|---|
| 5487 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 5488 | # simply because there is no reason to put it here, and in addition, | 
|---|
| 5489 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 5490 | # Create a temporary directory, and hook for its removal unless debugging. | 
|---|
| 5491 | $debug || | 
|---|
| 5492 | { | 
|---|
| 5493 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|---|
| 5494 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|---|
| 5495 | } | 
|---|
| 5496 |  | 
|---|
| 5497 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 5498 |  | 
|---|
| 5499 | { | 
|---|
| 5500 |   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
|---|
| 5501 |   test -n "$tmp" && test -d "$tmp" | 
|---|
| 5502 | }  || | 
|---|
| 5503 | { | 
|---|
| 5504 |   tmp=./confstat$$-$RANDOM | 
|---|
| 5505 |   (umask 077 && mkdir $tmp) | 
|---|
| 5506 | } || | 
|---|
| 5507 | { | 
|---|
| 5508 |    echo "$me: cannot create a temporary directory in ." >&2 | 
|---|
| 5509 |    { (exit 1); exit 1; } | 
|---|
| 5510 | } | 
|---|
| 5511 |  | 
|---|
| 5512 | _ACEOF | 
|---|
| 5513 |  | 
|---|
| 5514 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 5515 |  | 
|---|
| 5516 | # | 
|---|
| 5517 | # CONFIG_FILES section. | 
|---|
| 5518 | # | 
|---|
| 5519 |  | 
|---|
| 5520 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|---|
| 5521 | # This happens for instance when ./config.status config.h | 
|---|
| 5522 | if test -n "\$CONFIG_FILES"; then | 
|---|
| 5523 |   # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 5524 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|---|
| 5525 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|---|
| 5526 | s,@SHELL@,$SHELL,;t t | 
|---|
| 5527 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|---|
| 5528 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|---|
| 5529 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|---|
| 5530 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|---|
| 5531 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|---|
| 5532 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|---|
| 5533 | s,@exec_prefix@,$exec_prefix,;t t | 
|---|
| 5534 | s,@prefix@,$prefix,;t t | 
|---|
| 5535 | s,@program_transform_name@,$program_transform_name,;t t | 
|---|
| 5536 | s,@bindir@,$bindir,;t t | 
|---|
| 5537 | s,@sbindir@,$sbindir,;t t | 
|---|
| 5538 | s,@libexecdir@,$libexecdir,;t t | 
|---|
| 5539 | s,@datadir@,$datadir,;t t | 
|---|
| 5540 | s,@sysconfdir@,$sysconfdir,;t t | 
|---|
| 5541 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|---|
| 5542 | s,@localstatedir@,$localstatedir,;t t | 
|---|
| 5543 | s,@libdir@,$libdir,;t t | 
|---|
| 5544 | s,@includedir@,$includedir,;t t | 
|---|
| 5545 | s,@oldincludedir@,$oldincludedir,;t t | 
|---|
| 5546 | s,@infodir@,$infodir,;t t | 
|---|
| 5547 | s,@mandir@,$mandir,;t t | 
|---|
| 5548 | s,@build_alias@,$build_alias,;t t | 
|---|
| 5549 | s,@host_alias@,$host_alias,;t t | 
|---|
| 5550 | s,@target_alias@,$target_alias,;t t | 
|---|
| 5551 | s,@DEFS@,$DEFS,;t t | 
|---|
| 5552 | s,@ECHO_C@,$ECHO_C,;t t | 
|---|
| 5553 | s,@ECHO_N@,$ECHO_N,;t t | 
|---|
| 5554 | s,@ECHO_T@,$ECHO_T,;t t | 
|---|
| 5555 | s,@LIBS@,$LIBS,;t t | 
|---|
| 5556 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|---|
| 5557 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|---|
| 5558 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|---|
| 5559 | s,@CYGPATH_W@,$CYGPATH_W,;t t | 
|---|
| 5560 | s,@PACKAGE@,$PACKAGE,;t t | 
|---|
| 5561 | s,@VERSION@,$VERSION,;t t | 
|---|
| 5562 | s,@ACLOCAL@,$ACLOCAL,;t t | 
|---|
| 5563 | s,@AUTOCONF@,$AUTOCONF,;t t | 
|---|
| 5564 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 
|---|
| 5565 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 
|---|
| 5566 | s,@MAKEINFO@,$MAKEINFO,;t t | 
|---|
| 5567 | s,@AMTAR@,$AMTAR,;t t | 
|---|
| 5568 | s,@install_sh@,$install_sh,;t t | 
|---|
| 5569 | s,@STRIP@,$STRIP,;t t | 
|---|
| 5570 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
|---|
| 5571 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | 
|---|
| 5572 | s,@AWK@,$AWK,;t t | 
|---|
| 5573 | s,@SET_MAKE@,$SET_MAKE,;t t | 
|---|
| 5574 | s,@am__leading_dot@,$am__leading_dot,;t t | 
|---|
| 5575 | s,@CXX@,$CXX,;t t | 
|---|
| 5576 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|---|
| 5577 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|---|
| 5578 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|---|
| 5579 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|---|
| 5580 | s,@EXEEXT@,$EXEEXT,;t t | 
|---|
| 5581 | s,@OBJEXT@,$OBJEXT,;t t | 
|---|
| 5582 | s,@DEPDIR@,$DEPDIR,;t t | 
|---|
| 5583 | s,@am__include@,$am__include,;t t | 
|---|
| 5584 | s,@am__quote@,$am__quote,;t t | 
|---|
| 5585 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | 
|---|
| 5586 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | 
|---|
| 5587 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | 
|---|
| 5588 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t | 
|---|
| 5589 | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | 
|---|
| 5590 | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | 
|---|
| 5591 | s,@CC@,$CC,;t t | 
|---|
| 5592 | s,@CFLAGS@,$CFLAGS,;t t | 
|---|
| 5593 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|---|
| 5594 | s,@CCDEPMODE@,$CCDEPMODE,;t t | 
|---|
| 5595 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | 
|---|
| 5596 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | 
|---|
| 5597 | s,@CPP@,$CPP,;t t | 
|---|
| 5598 | s,@EGREP@,$EGREP,;t t | 
|---|
| 5599 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|---|
| 5600 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
|---|
| 5601 | CEOF | 
|---|
| 5602 |  | 
|---|
| 5603 | _ACEOF | 
|---|
| 5604 |  | 
|---|
| 5605 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5606 |   # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 5607 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 5608 |   ac_max_sed_lines=48 | 
|---|
| 5609 |   ac_sed_frag=1 # Number of current file. | 
|---|
| 5610 |   ac_beg=1 # First line for current file. | 
|---|
| 5611 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|---|
| 5612 |   ac_more_lines=: | 
|---|
| 5613 |   ac_sed_cmds= | 
|---|
| 5614 |   while $ac_more_lines; do | 
|---|
| 5615 |     if test $ac_beg -gt 1; then | 
|---|
| 5616 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 5617 |     else | 
|---|
| 5618 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|---|
| 5619 |     fi | 
|---|
| 5620 |     if test ! -s $tmp/subs.frag; then | 
|---|
| 5621 |       ac_more_lines=false | 
|---|
| 5622 |     else | 
|---|
| 5623 |       # The purpose of the label and of the branching condition is to | 
|---|
| 5624 |       # speed up the sed processing (if there are no `@' at all, there | 
|---|
| 5625 |       # is no need to browse any of the substitutions). | 
|---|
| 5626 |       # These are the two extra sed commands mentioned above. | 
|---|
| 5627 |       (echo ':t | 
|---|
| 5628 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|---|
| 5629 |       if test -z "$ac_sed_cmds"; then | 
|---|
| 5630 |         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 5631 |       else | 
|---|
| 5632 |         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|---|
| 5633 |       fi | 
|---|
| 5634 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
|---|
| 5635 |       ac_beg=$ac_end | 
|---|
| 5636 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|---|
| 5637 |     fi | 
|---|
| 5638 |   done | 
|---|
| 5639 |   if test -z "$ac_sed_cmds"; then | 
|---|
| 5640 |     ac_sed_cmds=cat | 
|---|
| 5641 |   fi | 
|---|
| 5642 | fi # test -n "$CONFIG_FILES" | 
|---|
| 5643 |  | 
|---|
| 5644 | _ACEOF | 
|---|
| 5645 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5646 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|---|
| 5647 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 5648 |   case $ac_file in | 
|---|
| 5649 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 5650 |         cat >$tmp/stdin | 
|---|
| 5651 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 5652 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 5653 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 5654 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 5655 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 5656 |   esac | 
|---|
| 5657 |  | 
|---|
| 5658 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|---|
| 5659 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 5660 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 5661 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 5662 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 5663 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 5664 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 5665 | echo X"$ac_file" | | 
|---|
| 5666 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 5667 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 5668 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 5669 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 5670 |           s/.*/./; q'` | 
|---|
| 5671 |   { if $as_mkdir_p; then | 
|---|
| 5672 |     mkdir -p "$ac_dir" | 
|---|
| 5673 |   else | 
|---|
| 5674 |     as_dir="$ac_dir" | 
|---|
| 5675 |     as_dirs= | 
|---|
| 5676 |     while test ! -d "$as_dir"; do | 
|---|
| 5677 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 5678 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 5679 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 5680 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 5681 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 5682 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 5683 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 5684 | echo X"$as_dir" | | 
|---|
| 5685 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 5686 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 5687 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 5688 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 5689 |           s/.*/./; q'` | 
|---|
| 5690 |     done | 
|---|
| 5691 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 5692 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 5693 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 5694 |    { (exit 1); exit 1; }; }; } | 
|---|
| 5695 |  | 
|---|
| 5696 |   ac_builddir=. | 
|---|
| 5697 |  | 
|---|
| 5698 | if test "$ac_dir" != .; then | 
|---|
| 5699 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 5700 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 5701 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 5702 | else | 
|---|
| 5703 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 5704 | fi | 
|---|
| 5705 |  | 
|---|
| 5706 | case $srcdir in | 
|---|
| 5707 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 5708 |     ac_srcdir=. | 
|---|
| 5709 |     if test -z "$ac_top_builddir"; then | 
|---|
| 5710 |        ac_top_srcdir=. | 
|---|
| 5711 |     else | 
|---|
| 5712 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 5713 |     fi ;; | 
|---|
| 5714 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 5715 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 5716 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 5717 |   *) # Relative path. | 
|---|
| 5718 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 5719 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 5720 | esac | 
|---|
| 5721 |  | 
|---|
| 5722 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 5723 | # the directories may not exist. | 
|---|
| 5724 | case `pwd` in | 
|---|
| 5725 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 5726 | *) | 
|---|
| 5727 |   case "$ac_dir" in | 
|---|
| 5728 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 5729 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 5730 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 5731 |   esac;; | 
|---|
| 5732 | esac | 
|---|
| 5733 | case $ac_abs_builddir in | 
|---|
| 5734 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 5735 | *) | 
|---|
| 5736 |   case ${ac_top_builddir}. in | 
|---|
| 5737 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 5738 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 5739 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 5740 |   esac;; | 
|---|
| 5741 | esac | 
|---|
| 5742 | case $ac_abs_builddir in | 
|---|
| 5743 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 5744 | *) | 
|---|
| 5745 |   case $ac_srcdir in | 
|---|
| 5746 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 5747 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 5748 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 5749 |   esac;; | 
|---|
| 5750 | esac | 
|---|
| 5751 | case $ac_abs_builddir in | 
|---|
| 5752 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 5753 | *) | 
|---|
| 5754 |   case $ac_top_srcdir in | 
|---|
| 5755 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 5756 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 5757 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 5758 |   esac;; | 
|---|
| 5759 | esac | 
|---|
| 5760 |  | 
|---|
| 5761 |  | 
|---|
| 5762 |   case $INSTALL in | 
|---|
| 5763 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 5764 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|---|
| 5765 |   esac | 
|---|
| 5766 |  | 
|---|
| 5767 |   if test x"$ac_file" != x-; then | 
|---|
| 5768 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 5769 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 5770 |     rm -f "$ac_file" | 
|---|
| 5771 |   fi | 
|---|
| 5772 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 5773 |   # use $as_me), people would be surprised to read: | 
|---|
| 5774 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 5775 |   if test x"$ac_file" = x-; then | 
|---|
| 5776 |     configure_input= | 
|---|
| 5777 |   else | 
|---|
| 5778 |     configure_input="$ac_file.  " | 
|---|
| 5779 |   fi | 
|---|
| 5780 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|---|
| 5781 |                                      sed 's,.*/,,'` by configure." | 
|---|
| 5782 |  | 
|---|
| 5783 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 5784 |   # src tree. | 
|---|
| 5785 |   ac_file_inputs=`IFS=: | 
|---|
| 5786 |     for f in $ac_file_in; do | 
|---|
| 5787 |       case $f in | 
|---|
| 5788 |       -) echo $tmp/stdin ;; | 
|---|
| 5789 |       [\\/$]*) | 
|---|
| 5790 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 5791 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 5792 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 5793 |    { (exit 1); exit 1; }; } | 
|---|
| 5794 |          echo "$f";; | 
|---|
| 5795 |       *) # Relative | 
|---|
| 5796 |          if test -f "$f"; then | 
|---|
| 5797 |            # Build tree | 
|---|
| 5798 |            echo "$f" | 
|---|
| 5799 |          elif test -f "$srcdir/$f"; then | 
|---|
| 5800 |            # Source tree | 
|---|
| 5801 |            echo "$srcdir/$f" | 
|---|
| 5802 |          else | 
|---|
| 5803 |            # /dev/null tree | 
|---|
| 5804 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 5805 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 5806 |    { (exit 1); exit 1; }; } | 
|---|
| 5807 |          fi;; | 
|---|
| 5808 |       esac | 
|---|
| 5809 |     done` || { (exit 1); exit 1; } | 
|---|
| 5810 | _ACEOF | 
|---|
| 5811 | cat >>$CONFIG_STATUS <<_ACEOF | 
|---|
| 5812 |   sed "$ac_vpsub | 
|---|
| 5813 | $extrasub | 
|---|
| 5814 | _ACEOF | 
|---|
| 5815 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5816 | :t | 
|---|
| 5817 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 5818 | s,@configure_input@,$configure_input,;t t | 
|---|
| 5819 | s,@srcdir@,$ac_srcdir,;t t | 
|---|
| 5820 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|---|
| 5821 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|---|
| 5822 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|---|
| 5823 | s,@builddir@,$ac_builddir,;t t | 
|---|
| 5824 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|---|
| 5825 | s,@top_builddir@,$ac_top_builddir,;t t | 
|---|
| 5826 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|---|
| 5827 | s,@INSTALL@,$ac_INSTALL,;t t | 
|---|
| 5828 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|---|
| 5829 |   rm -f $tmp/stdin | 
|---|
| 5830 |   if test x"$ac_file" != x-; then | 
|---|
| 5831 |     mv $tmp/out $ac_file | 
|---|
| 5832 |   else | 
|---|
| 5833 |     cat $tmp/out | 
|---|
| 5834 |     rm -f $tmp/out | 
|---|
| 5835 |   fi | 
|---|
| 5836 |  | 
|---|
| 5837 | done | 
|---|
| 5838 | _ACEOF | 
|---|
| 5839 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 5840 |  | 
|---|
| 5841 | # | 
|---|
| 5842 | # CONFIG_HEADER section. | 
|---|
| 5843 | # | 
|---|
| 5844 |  | 
|---|
| 5845 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|---|
| 5846 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|---|
| 5847 | # | 
|---|
| 5848 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|---|
| 5849 | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
|---|
| 5850 | ac_dB='[         ].*$,\1#\2' | 
|---|
| 5851 | ac_dC=' ' | 
|---|
| 5852 | ac_dD=',;t' | 
|---|
| 5853 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|---|
| 5854 | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
|---|
| 5855 | ac_uB='$,\1#\2define\3' | 
|---|
| 5856 | ac_uC=' ' | 
|---|
| 5857 | ac_uD=',;t' | 
|---|
| 5858 |  | 
|---|
| 5859 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|---|
| 5860 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 5861 |   case $ac_file in | 
|---|
| 5862 |   - | *:- | *:-:* ) # input from stdin | 
|---|
| 5863 |         cat >$tmp/stdin | 
|---|
| 5864 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 5865 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 5866 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 5867 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|---|
| 5868 |   * )   ac_file_in=$ac_file.in ;; | 
|---|
| 5869 |   esac | 
|---|
| 5870 |  | 
|---|
| 5871 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|---|
| 5872 | echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 5873 |  | 
|---|
| 5874 |   # First look for the input files in the build tree, otherwise in the | 
|---|
| 5875 |   # src tree. | 
|---|
| 5876 |   ac_file_inputs=`IFS=: | 
|---|
| 5877 |     for f in $ac_file_in; do | 
|---|
| 5878 |       case $f in | 
|---|
| 5879 |       -) echo $tmp/stdin ;; | 
|---|
| 5880 |       [\\/$]*) | 
|---|
| 5881 |          # Absolute (can't be DOS-style, as IFS=:) | 
|---|
| 5882 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 5883 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 5884 |    { (exit 1); exit 1; }; } | 
|---|
| 5885 |          # Do quote $f, to prevent DOS paths from being IFS'd. | 
|---|
| 5886 |          echo "$f";; | 
|---|
| 5887 |       *) # Relative | 
|---|
| 5888 |          if test -f "$f"; then | 
|---|
| 5889 |            # Build tree | 
|---|
| 5890 |            echo "$f" | 
|---|
| 5891 |          elif test -f "$srcdir/$f"; then | 
|---|
| 5892 |            # Source tree | 
|---|
| 5893 |            echo "$srcdir/$f" | 
|---|
| 5894 |          else | 
|---|
| 5895 |            # /dev/null tree | 
|---|
| 5896 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|---|
| 5897 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|---|
| 5898 |    { (exit 1); exit 1; }; } | 
|---|
| 5899 |          fi;; | 
|---|
| 5900 |       esac | 
|---|
| 5901 |     done` || { (exit 1); exit 1; } | 
|---|
| 5902 |   # Remove the trailing spaces. | 
|---|
| 5903 |   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
|---|
| 5904 |  | 
|---|
| 5905 | _ACEOF | 
|---|
| 5906 |  | 
|---|
| 5907 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|---|
| 5908 | # `conftest.undefs', that substitutes the proper values into | 
|---|
| 5909 | # config.h.in to produce config.h.  The first handles `#define' | 
|---|
| 5910 | # templates, and the second `#undef' templates. | 
|---|
| 5911 | # And first: Protect against being on the right side of a sed subst in | 
|---|
| 5912 | # config.status.  Protect against being in an unquoted here document | 
|---|
| 5913 | # in config.status. | 
|---|
| 5914 | rm -f conftest.defines conftest.undefs | 
|---|
| 5915 | # Using a here document instead of a string reduces the quoting nightmare. | 
|---|
| 5916 | # Putting comments in sed scripts is not portable. | 
|---|
| 5917 | # | 
|---|
| 5918 | # `end' is used to avoid that the second main sed command (meant for | 
|---|
| 5919 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|---|
| 5920 | # See the Autoconf documentation for `clear'. | 
|---|
| 5921 | cat >confdef2sed.sed <<\_ACEOF | 
|---|
| 5922 | s/[\\&,]/\\&/g | 
|---|
| 5923 | s,[\\$`],\\&,g | 
|---|
| 5924 | t clear | 
|---|
| 5925 | : clear | 
|---|
| 5926 | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|---|
| 5927 | t end | 
|---|
| 5928 | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|---|
| 5929 | : end | 
|---|
| 5930 | _ACEOF | 
|---|
| 5931 | # If some macros were called several times there might be several times | 
|---|
| 5932 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|---|
| 5933 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|---|
| 5934 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|---|
| 5935 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|---|
| 5936 | rm -f confdef2sed.sed | 
|---|
| 5937 |  | 
|---|
| 5938 | # This sed command replaces #undef with comments.  This is necessary, for | 
|---|
| 5939 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 5940 | # on some systems where configure will not decide to define it. | 
|---|
| 5941 | cat >>conftest.undefs <<\_ACEOF | 
|---|
| 5942 | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|---|
| 5943 | _ACEOF | 
|---|
| 5944 |  | 
|---|
| 5945 | # Break up conftest.defines because some shells have a limit on the size | 
|---|
| 5946 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 5947 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
|---|
| 5948 | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
|---|
| 5949 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|---|
| 5950 | echo '  :' >>$CONFIG_STATUS | 
|---|
| 5951 | rm -f conftest.tail | 
|---|
| 5952 | while grep . conftest.defines >/dev/null | 
|---|
| 5953 | do | 
|---|
| 5954 |   # Write a limited-size here document to $tmp/defines.sed. | 
|---|
| 5955 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 5956 |   # Speed up: don't consider the non `#define' lines. | 
|---|
| 5957 |   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
|---|
| 5958 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 5959 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 5960 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 5961 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|---|
| 5962 |   echo 'CEOF | 
|---|
| 5963 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|---|
| 5964 |   rm -f $tmp/in | 
|---|
| 5965 |   mv $tmp/out $tmp/in | 
|---|
| 5966 | ' >>$CONFIG_STATUS | 
|---|
| 5967 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|---|
| 5968 |   rm -f conftest.defines | 
|---|
| 5969 |   mv conftest.tail conftest.defines | 
|---|
| 5970 | done | 
|---|
| 5971 | rm -f conftest.defines | 
|---|
| 5972 | echo '  fi # grep' >>$CONFIG_STATUS | 
|---|
| 5973 | echo >>$CONFIG_STATUS | 
|---|
| 5974 |  | 
|---|
| 5975 | # Break up conftest.undefs because some shells have a limit on the size | 
|---|
| 5976 | # of here documents, and old seds have small limits too (100 cmds). | 
|---|
| 5977 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|---|
| 5978 | rm -f conftest.tail | 
|---|
| 5979 | while grep . conftest.undefs >/dev/null | 
|---|
| 5980 | do | 
|---|
| 5981 |   # Write a limited-size here document to $tmp/undefs.sed. | 
|---|
| 5982 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|---|
| 5983 |   # Speed up: don't consider the non `#undef' | 
|---|
| 5984 |   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
|---|
| 5985 |   # Work around the forget-to-reset-the-flag bug. | 
|---|
| 5986 |   echo 't clr' >>$CONFIG_STATUS | 
|---|
| 5987 |   echo ': clr' >>$CONFIG_STATUS | 
|---|
| 5988 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|---|
| 5989 |   echo 'CEOF | 
|---|
| 5990 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|---|
| 5991 |   rm -f $tmp/in | 
|---|
| 5992 |   mv $tmp/out $tmp/in | 
|---|
| 5993 | ' >>$CONFIG_STATUS | 
|---|
| 5994 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|---|
| 5995 |   rm -f conftest.undefs | 
|---|
| 5996 |   mv conftest.tail conftest.undefs | 
|---|
| 5997 | done | 
|---|
| 5998 | rm -f conftest.undefs | 
|---|
| 5999 |  | 
|---|
| 6000 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 6001 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 6002 |   # use $as_me), people would be surprised to read: | 
|---|
| 6003 |   #    /* config.h.  Generated by config.status.  */ | 
|---|
| 6004 |   if test x"$ac_file" = x-; then | 
|---|
| 6005 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
|---|
| 6006 |   else | 
|---|
| 6007 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|---|
| 6008 |   fi | 
|---|
| 6009 |   cat $tmp/in >>$tmp/config.h | 
|---|
| 6010 |   rm -f $tmp/in | 
|---|
| 6011 |   if test x"$ac_file" != x-; then | 
|---|
| 6012 |     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
|---|
| 6013 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|---|
| 6014 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 6015 |     else | 
|---|
| 6016 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|---|
| 6017 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6018 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 6019 |          X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 6020 |          X"$ac_file" : 'X\(/\)' \| \ | 
|---|
| 6021 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6022 | echo X"$ac_file" | | 
|---|
| 6023 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6024 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6025 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6026 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6027 |           s/.*/./; q'` | 
|---|
| 6028 |       { if $as_mkdir_p; then | 
|---|
| 6029 |     mkdir -p "$ac_dir" | 
|---|
| 6030 |   else | 
|---|
| 6031 |     as_dir="$ac_dir" | 
|---|
| 6032 |     as_dirs= | 
|---|
| 6033 |     while test ! -d "$as_dir"; do | 
|---|
| 6034 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 6035 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 6036 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6037 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 6038 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 6039 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 6040 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6041 | echo X"$as_dir" | | 
|---|
| 6042 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6043 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6044 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6045 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6046 |           s/.*/./; q'` | 
|---|
| 6047 |     done | 
|---|
| 6048 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 6049 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 6050 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 6051 |    { (exit 1); exit 1; }; }; } | 
|---|
| 6052 |  | 
|---|
| 6053 |       rm -f $ac_file | 
|---|
| 6054 |       mv $tmp/config.h $ac_file | 
|---|
| 6055 |     fi | 
|---|
| 6056 |   else | 
|---|
| 6057 |     cat $tmp/config.h | 
|---|
| 6058 |     rm -f $tmp/config.h | 
|---|
| 6059 |   fi | 
|---|
| 6060 | # Compute $ac_file's index in $config_headers. | 
|---|
| 6061 | _am_stamp_count=1 | 
|---|
| 6062 | for _am_header in $config_headers :; do | 
|---|
| 6063 |   case $_am_header in | 
|---|
| 6064 |     $ac_file | $ac_file:* ) | 
|---|
| 6065 |       break ;; | 
|---|
| 6066 |     * ) | 
|---|
| 6067 |       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|---|
| 6068 |   esac | 
|---|
| 6069 | done | 
|---|
| 6070 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | 
|---|
| 6071 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6072 |          X$ac_file : 'X\(//\)[^/]' \| \ | 
|---|
| 6073 |          X$ac_file : 'X\(//\)$' \| \ | 
|---|
| 6074 |          X$ac_file : 'X\(/\)' \| \ | 
|---|
| 6075 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6076 | echo X$ac_file | | 
|---|
| 6077 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6078 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6079 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6080 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6081 |           s/.*/./; q'`/stamp-h$_am_stamp_count | 
|---|
| 6082 | done | 
|---|
| 6083 | _ACEOF | 
|---|
| 6084 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 6085 |  | 
|---|
| 6086 | # | 
|---|
| 6087 | # CONFIG_COMMANDS section. | 
|---|
| 6088 | # | 
|---|
| 6089 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|---|
| 6090 |   ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|---|
| 6091 |   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|---|
| 6092 |   ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|---|
| 6093 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6094 |          X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|---|
| 6095 |          X"$ac_dest" : 'X\(//\)$' \| \ | 
|---|
| 6096 |          X"$ac_dest" : 'X\(/\)' \| \ | 
|---|
| 6097 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6098 | echo X"$ac_dest" | | 
|---|
| 6099 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6100 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6101 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6102 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6103 |           s/.*/./; q'` | 
|---|
| 6104 |   { if $as_mkdir_p; then | 
|---|
| 6105 |     mkdir -p "$ac_dir" | 
|---|
| 6106 |   else | 
|---|
| 6107 |     as_dir="$ac_dir" | 
|---|
| 6108 |     as_dirs= | 
|---|
| 6109 |     while test ! -d "$as_dir"; do | 
|---|
| 6110 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 6111 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 6112 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6113 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 6114 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 6115 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 6116 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6117 | echo X"$as_dir" | | 
|---|
| 6118 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6119 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6120 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6121 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6122 |           s/.*/./; q'` | 
|---|
| 6123 |     done | 
|---|
| 6124 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 6125 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|---|
| 6126 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|---|
| 6127 |    { (exit 1); exit 1; }; }; } | 
|---|
| 6128 |  | 
|---|
| 6129 |   ac_builddir=. | 
|---|
| 6130 |  | 
|---|
| 6131 | if test "$ac_dir" != .; then | 
|---|
| 6132 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|---|
| 6133 |   # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 6134 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|---|
| 6135 | else | 
|---|
| 6136 |   ac_dir_suffix= ac_top_builddir= | 
|---|
| 6137 | fi | 
|---|
| 6138 |  | 
|---|
| 6139 | case $srcdir in | 
|---|
| 6140 |   .)  # No --srcdir option.  We are building in place. | 
|---|
| 6141 |     ac_srcdir=. | 
|---|
| 6142 |     if test -z "$ac_top_builddir"; then | 
|---|
| 6143 |        ac_top_srcdir=. | 
|---|
| 6144 |     else | 
|---|
| 6145 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|---|
| 6146 |     fi ;; | 
|---|
| 6147 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
|---|
| 6148 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 6149 |     ac_top_srcdir=$srcdir ;; | 
|---|
| 6150 |   *) # Relative path. | 
|---|
| 6151 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|---|
| 6152 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|---|
| 6153 | esac | 
|---|
| 6154 |  | 
|---|
| 6155 | # Do not use `cd foo && pwd` to compute absolute paths, because | 
|---|
| 6156 | # the directories may not exist. | 
|---|
| 6157 | case `pwd` in | 
|---|
| 6158 | .) ac_abs_builddir="$ac_dir";; | 
|---|
| 6159 | *) | 
|---|
| 6160 |   case "$ac_dir" in | 
|---|
| 6161 |   .) ac_abs_builddir=`pwd`;; | 
|---|
| 6162 |   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
|---|
| 6163 |   *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
|---|
| 6164 |   esac;; | 
|---|
| 6165 | esac | 
|---|
| 6166 | case $ac_abs_builddir in | 
|---|
| 6167 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 6168 | *) | 
|---|
| 6169 |   case ${ac_top_builddir}. in | 
|---|
| 6170 |   .) ac_abs_top_builddir=$ac_abs_builddir;; | 
|---|
| 6171 |   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
|---|
| 6172 |   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
|---|
| 6173 |   esac;; | 
|---|
| 6174 | esac | 
|---|
| 6175 | case $ac_abs_builddir in | 
|---|
| 6176 | .) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 6177 | *) | 
|---|
| 6178 |   case $ac_srcdir in | 
|---|
| 6179 |   .) ac_abs_srcdir=$ac_abs_builddir;; | 
|---|
| 6180 |   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
|---|
| 6181 |   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
|---|
| 6182 |   esac;; | 
|---|
| 6183 | esac | 
|---|
| 6184 | case $ac_abs_builddir in | 
|---|
| 6185 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 6186 | *) | 
|---|
| 6187 |   case $ac_top_srcdir in | 
|---|
| 6188 |   .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
|---|
| 6189 |   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
|---|
| 6190 |   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
|---|
| 6191 |   esac;; | 
|---|
| 6192 | esac | 
|---|
| 6193 |  | 
|---|
| 6194 |  | 
|---|
| 6195 |   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|---|
| 6196 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|---|
| 6197 |   case $ac_dest in | 
|---|
| 6198 |     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do | 
|---|
| 6199 |   # Strip MF so we end up with the name of the file. | 
|---|
| 6200 |   mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|---|
| 6201 |   # Check whether this is an Automake generated Makefile or not. | 
|---|
| 6202 |   # We used to match only the files named `Makefile.in', but | 
|---|
| 6203 |   # some people rename them; so instead we look at the file content. | 
|---|
| 6204 |   # Grep'ing the first line is not enough: some people post-process | 
|---|
| 6205 |   # each Makefile.in and add a new line on top of each file to say so. | 
|---|
| 6206 |   # So let's grep whole file. | 
|---|
| 6207 |   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | 
|---|
| 6208 |     dirpart=`(dirname "$mf") 2>/dev/null || | 
|---|
| 6209 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6210 |          X"$mf" : 'X\(//\)[^/]' \| \ | 
|---|
| 6211 |          X"$mf" : 'X\(//\)$' \| \ | 
|---|
| 6212 |          X"$mf" : 'X\(/\)' \| \ | 
|---|
| 6213 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6214 | echo X"$mf" | | 
|---|
| 6215 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6216 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6217 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6218 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6219 |           s/.*/./; q'` | 
|---|
| 6220 |   else | 
|---|
| 6221 |     continue | 
|---|
| 6222 |   fi | 
|---|
| 6223 |   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 
|---|
| 6224 |   # Extract the definition of DEP_FILES from the Makefile without | 
|---|
| 6225 |   # running `make'. | 
|---|
| 6226 |   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` | 
|---|
| 6227 |   test -z "$DEPDIR" && continue | 
|---|
| 6228 |   # When using ansi2knr, U may be empty or an underscore; expand it | 
|---|
| 6229 |   U=`sed -n -e '/^U = / s///p' < "$mf"` | 
|---|
| 6230 |   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 
|---|
| 6231 |   # We invoke sed twice because it is the simplest approach to | 
|---|
| 6232 |   # changing $(DEPDIR) to its actual value in the expansion. | 
|---|
| 6233 |   for file in `sed -n -e ' | 
|---|
| 6234 |     /^DEP_FILES = .*\\\\$/ { | 
|---|
| 6235 |       s/^DEP_FILES = // | 
|---|
| 6236 |       :loop | 
|---|
| 6237 |         s/\\\\$// | 
|---|
| 6238 |         p | 
|---|
| 6239 |         n | 
|---|
| 6240 |         /\\\\$/ b loop | 
|---|
| 6241 |       p | 
|---|
| 6242 |     } | 
|---|
| 6243 |     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | 
|---|
| 6244 |        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 
|---|
| 6245 |     # Make sure the directory exists. | 
|---|
| 6246 |     test -f "$dirpart/$file" && continue | 
|---|
| 6247 |     fdir=`(dirname "$file") 2>/dev/null || | 
|---|
| 6248 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6249 |          X"$file" : 'X\(//\)[^/]' \| \ | 
|---|
| 6250 |          X"$file" : 'X\(//\)$' \| \ | 
|---|
| 6251 |          X"$file" : 'X\(/\)' \| \ | 
|---|
| 6252 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6253 | echo X"$file" | | 
|---|
| 6254 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6255 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6256 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6257 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6258 |           s/.*/./; q'` | 
|---|
| 6259 |     { if $as_mkdir_p; then | 
|---|
| 6260 |     mkdir -p $dirpart/$fdir | 
|---|
| 6261 |   else | 
|---|
| 6262 |     as_dir=$dirpart/$fdir | 
|---|
| 6263 |     as_dirs= | 
|---|
| 6264 |     while test ! -d "$as_dir"; do | 
|---|
| 6265 |       as_dirs="$as_dir $as_dirs" | 
|---|
| 6266 |       as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|---|
| 6267 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 6268 |          X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 6269 |          X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 6270 |          X"$as_dir" : 'X\(/\)' \| \ | 
|---|
| 6271 |          .     : '\(.\)' 2>/dev/null || | 
|---|
| 6272 | echo X"$as_dir" | | 
|---|
| 6273 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|---|
| 6274 |           /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|---|
| 6275 |           /^X\(\/\/\)$/{ s//\1/; q; } | 
|---|
| 6276 |           /^X\(\/\).*/{ s//\1/; q; } | 
|---|
| 6277 |           s/.*/./; q'` | 
|---|
| 6278 |     done | 
|---|
| 6279 |     test ! -n "$as_dirs" || mkdir $as_dirs | 
|---|
| 6280 |   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 | 
|---|
| 6281 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} | 
|---|
| 6282 |    { (exit 1); exit 1; }; }; } | 
|---|
| 6283 |  | 
|---|
| 6284 |     # echo "creating $dirpart/$file" | 
|---|
| 6285 |     echo '# dummy' > "$dirpart/$file" | 
|---|
| 6286 |   done | 
|---|
| 6287 | done | 
|---|
| 6288 |  ;; | 
|---|
| 6289 |   esac | 
|---|
| 6290 | done | 
|---|
| 6291 | _ACEOF | 
|---|
| 6292 |  | 
|---|
| 6293 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|---|
| 6294 |  | 
|---|
| 6295 | { (exit 0); exit 0; } | 
|---|
| 6296 | _ACEOF | 
|---|
| 6297 | chmod +x $CONFIG_STATUS | 
|---|
| 6298 | ac_clean_files=$ac_clean_files_save | 
|---|
| 6299 |  | 
|---|
| 6300 |  | 
|---|
| 6301 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 6302 | # config.status does its own redirection, appending to config.log. | 
|---|
| 6303 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 6304 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 6305 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 6306 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 6307 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 6308 | # need to make the FD available again. | 
|---|
| 6309 | if test "$no_create" != yes; then | 
|---|
| 6310 |   ac_cs_success=: | 
|---|
| 6311 |   ac_config_status_args= | 
|---|
| 6312 |   test "$silent" = yes && | 
|---|
| 6313 |     ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 6314 |   exec 5>/dev/null | 
|---|
| 6315 |   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 6316 |   exec 5>>config.log | 
|---|
| 6317 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 6318 |   # would make configure fail if this is the last instruction. | 
|---|
| 6319 |   $ac_cs_success || { (exit 1); exit 1; } | 
|---|
| 6320 | fi | 
|---|
| 6321 |  | 
|---|