| 1 | #! /bin/sh |
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
|---|
| 3 | # Generated by GNU Autoconf 2.61. |
|---|
| 4 | # |
|---|
| 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 7 | # This configure script is free software; the Free Software Foundation |
|---|
| 8 | # gives unlimited permission to copy, distribute and modify it. |
|---|
| 9 | ## --------------------- ## |
|---|
| 10 | ## M4sh Initialization. ## |
|---|
| 11 | ## --------------------- ## |
|---|
| 12 | |
|---|
| 13 | # Be more Bourne compatible |
|---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh |
|---|
| 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 | setopt NO_GLOB_SUBST |
|---|
| 22 | else |
|---|
| 23 | case `(set -o) 2>/dev/null` in |
|---|
| 24 | *posix*) set -o posix ;; |
|---|
| 25 | esac |
|---|
| 26 | |
|---|
| 27 | fi |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | # PATH needs CR |
|---|
| 33 | # Avoid depending upon Character Ranges. |
|---|
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 37 | as_cr_digits='0123456789' |
|---|
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 39 | |
|---|
| 40 | # The user is always right. |
|---|
| 41 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 42 | echo "#! /bin/sh" >conf$$.sh |
|---|
| 43 | echo "exit 0" >>conf$$.sh |
|---|
| 44 | chmod +x conf$$.sh |
|---|
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|---|
| 46 | PATH_SEPARATOR=';' |
|---|
| 47 | else |
|---|
| 48 | PATH_SEPARATOR=: |
|---|
| 49 | fi |
|---|
| 50 | rm -f conf$$.sh |
|---|
| 51 | fi |
|---|
| 52 | |
|---|
| 53 | # Support unset when possible. |
|---|
| 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 55 | as_unset=unset |
|---|
| 56 | else |
|---|
| 57 | as_unset=false |
|---|
| 58 | fi |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | # IFS |
|---|
| 62 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 63 | # there to prevent editors from complaining about space-tab. |
|---|
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 65 | # splitting by setting IFS to empty value.) |
|---|
| 66 | as_nl=' |
|---|
| 67 | ' |
|---|
| 68 | IFS=" "" $as_nl" |
|---|
| 69 | |
|---|
| 70 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 71 | case $0 in |
|---|
| 72 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 74 | for as_dir in $PATH |
|---|
| 75 | do |
|---|
| 76 | IFS=$as_save_IFS |
|---|
| 77 | test -z "$as_dir" && as_dir=. |
|---|
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 79 | done |
|---|
| 80 | IFS=$as_save_IFS |
|---|
| 81 | |
|---|
| 82 | ;; |
|---|
| 83 | esac |
|---|
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 85 | # in which case we are not to be found in the path. |
|---|
| 86 | if test "x$as_myself" = x; then |
|---|
| 87 | as_myself=$0 |
|---|
| 88 | fi |
|---|
| 89 | if test ! -f "$as_myself"; then |
|---|
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 91 | { (exit 1); exit 1; } |
|---|
| 92 | fi |
|---|
| 93 | |
|---|
| 94 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 95 | for as_var in ENV MAIL MAILPATH |
|---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 97 | done |
|---|
| 98 | PS1='$ ' |
|---|
| 99 | PS2='> ' |
|---|
| 100 | PS4='+ ' |
|---|
| 101 | |
|---|
| 102 | # NLS nuisances. |
|---|
| 103 | for as_var in \ |
|---|
| 104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|---|
| 105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|---|
| 106 | LC_TELEPHONE LC_TIME |
|---|
| 107 | do |
|---|
| 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|---|
| 109 | eval $as_var=C; export $as_var |
|---|
| 110 | else |
|---|
| 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 112 | fi |
|---|
| 113 | done |
|---|
| 114 | |
|---|
| 115 | # Required to use basename. |
|---|
| 116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 118 | as_expr=expr |
|---|
| 119 | else |
|---|
| 120 | as_expr=false |
|---|
| 121 | fi |
|---|
| 122 | |
|---|
| 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 124 | as_basename=basename |
|---|
| 125 | else |
|---|
| 126 | as_basename=false |
|---|
| 127 | fi |
|---|
| 128 | |
|---|
| 129 | |
|---|
| 130 | # Name of the executable. |
|---|
| 131 | as_me=`$as_basename -- "$0" || |
|---|
| 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 133 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 135 | echo X/"$0" | |
|---|
| 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 137 | s//\1/ |
|---|
| 138 | q |
|---|
| 139 | } |
|---|
| 140 | /^X\/\(\/\/\)$/{ |
|---|
| 141 | s//\1/ |
|---|
| 142 | q |
|---|
| 143 | } |
|---|
| 144 | /^X\/\(\/\).*/{ |
|---|
| 145 | s//\1/ |
|---|
| 146 | q |
|---|
| 147 | } |
|---|
| 148 | s/.*/./; q'` |
|---|
| 149 | |
|---|
| 150 | # CDPATH. |
|---|
| 151 | $as_unset CDPATH |
|---|
| 152 | |
|---|
| 153 | |
|---|
| 154 | if test "x$CONFIG_SHELL" = x; then |
|---|
| 155 | if (eval ":") 2>/dev/null; then |
|---|
| 156 | as_have_required=yes |
|---|
| 157 | else |
|---|
| 158 | as_have_required=no |
|---|
| 159 | fi |
|---|
| 160 | |
|---|
| 161 | if test $as_have_required = yes && (eval ": |
|---|
| 162 | (as_func_return () { |
|---|
| 163 | (exit \$1) |
|---|
| 164 | } |
|---|
| 165 | as_func_success () { |
|---|
| 166 | as_func_return 0 |
|---|
| 167 | } |
|---|
| 168 | as_func_failure () { |
|---|
| 169 | as_func_return 1 |
|---|
| 170 | } |
|---|
| 171 | as_func_ret_success () { |
|---|
| 172 | return 0 |
|---|
| 173 | } |
|---|
| 174 | as_func_ret_failure () { |
|---|
| 175 | return 1 |
|---|
| 176 | } |
|---|
| 177 | |
|---|
| 178 | exitcode=0 |
|---|
| 179 | if as_func_success; then |
|---|
| 180 | : |
|---|
| 181 | else |
|---|
| 182 | exitcode=1 |
|---|
| 183 | echo as_func_success failed. |
|---|
| 184 | fi |
|---|
| 185 | |
|---|
| 186 | if as_func_failure; then |
|---|
| 187 | exitcode=1 |
|---|
| 188 | echo as_func_failure succeeded. |
|---|
| 189 | fi |
|---|
| 190 | |
|---|
| 191 | if as_func_ret_success; then |
|---|
| 192 | : |
|---|
| 193 | else |
|---|
| 194 | exitcode=1 |
|---|
| 195 | echo as_func_ret_success failed. |
|---|
| 196 | fi |
|---|
| 197 | |
|---|
| 198 | if as_func_ret_failure; then |
|---|
| 199 | exitcode=1 |
|---|
| 200 | echo as_func_ret_failure succeeded. |
|---|
| 201 | fi |
|---|
| 202 | |
|---|
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 204 | : |
|---|
| 205 | else |
|---|
| 206 | exitcode=1 |
|---|
| 207 | echo positional parameters were not saved. |
|---|
| 208 | fi |
|---|
| 209 | |
|---|
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 211 | |
|---|
| 212 | ( |
|---|
| 213 | as_lineno_1=\$LINENO |
|---|
| 214 | as_lineno_2=\$LINENO |
|---|
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|---|
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|---|
| 217 | ") 2> /dev/null; then |
|---|
| 218 | : |
|---|
| 219 | else |
|---|
| 220 | as_candidate_shells= |
|---|
| 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|---|
| 223 | do |
|---|
| 224 | IFS=$as_save_IFS |
|---|
| 225 | test -z "$as_dir" && as_dir=. |
|---|
| 226 | case $as_dir in |
|---|
| 227 | /*) |
|---|
| 228 | for as_base in sh bash ksh sh5; do |
|---|
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|---|
| 230 | done;; |
|---|
| 231 | esac |
|---|
| 232 | done |
|---|
| 233 | IFS=$as_save_IFS |
|---|
| 234 | |
|---|
| 235 | |
|---|
| 236 | for as_shell in $as_candidate_shells $SHELL; do |
|---|
| 237 | # Try only shells that exist, to save several forks. |
|---|
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|---|
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|---|
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 241 | emulate sh |
|---|
| 242 | NULLCMD=: |
|---|
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 244 | # is contrary to our usage. Disable this feature. |
|---|
| 245 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 246 | setopt NO_GLOB_SUBST |
|---|
| 247 | else |
|---|
| 248 | case `(set -o) 2>/dev/null` in |
|---|
| 249 | *posix*) set -o posix ;; |
|---|
| 250 | esac |
|---|
| 251 | |
|---|
| 252 | fi |
|---|
| 253 | |
|---|
| 254 | |
|---|
| 255 | : |
|---|
| 256 | _ASEOF |
|---|
| 257 | }; then |
|---|
| 258 | CONFIG_SHELL=$as_shell |
|---|
| 259 | as_have_required=yes |
|---|
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|---|
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 262 | emulate sh |
|---|
| 263 | NULLCMD=: |
|---|
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 265 | # is contrary to our usage. Disable this feature. |
|---|
| 266 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 267 | setopt NO_GLOB_SUBST |
|---|
| 268 | else |
|---|
| 269 | case `(set -o) 2>/dev/null` in |
|---|
| 270 | *posix*) set -o posix ;; |
|---|
| 271 | esac |
|---|
| 272 | |
|---|
| 273 | fi |
|---|
| 274 | |
|---|
| 275 | |
|---|
| 276 | : |
|---|
| 277 | (as_func_return () { |
|---|
| 278 | (exit $1) |
|---|
| 279 | } |
|---|
| 280 | as_func_success () { |
|---|
| 281 | as_func_return 0 |
|---|
| 282 | } |
|---|
| 283 | as_func_failure () { |
|---|
| 284 | as_func_return 1 |
|---|
| 285 | } |
|---|
| 286 | as_func_ret_success () { |
|---|
| 287 | return 0 |
|---|
| 288 | } |
|---|
| 289 | as_func_ret_failure () { |
|---|
| 290 | return 1 |
|---|
| 291 | } |
|---|
| 292 | |
|---|
| 293 | exitcode=0 |
|---|
| 294 | if as_func_success; then |
|---|
| 295 | : |
|---|
| 296 | else |
|---|
| 297 | exitcode=1 |
|---|
| 298 | echo as_func_success failed. |
|---|
| 299 | fi |
|---|
| 300 | |
|---|
| 301 | if as_func_failure; then |
|---|
| 302 | exitcode=1 |
|---|
| 303 | echo as_func_failure succeeded. |
|---|
| 304 | fi |
|---|
| 305 | |
|---|
| 306 | if as_func_ret_success; then |
|---|
| 307 | : |
|---|
| 308 | else |
|---|
| 309 | exitcode=1 |
|---|
| 310 | echo as_func_ret_success failed. |
|---|
| 311 | fi |
|---|
| 312 | |
|---|
| 313 | if as_func_ret_failure; then |
|---|
| 314 | exitcode=1 |
|---|
| 315 | echo as_func_ret_failure succeeded. |
|---|
| 316 | fi |
|---|
| 317 | |
|---|
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|---|
| 319 | : |
|---|
| 320 | else |
|---|
| 321 | exitcode=1 |
|---|
| 322 | echo positional parameters were not saved. |
|---|
| 323 | fi |
|---|
| 324 | |
|---|
| 325 | test $exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 326 | |
|---|
| 327 | ( |
|---|
| 328 | as_lineno_1=$LINENO |
|---|
| 329 | as_lineno_2=$LINENO |
|---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|---|
| 332 | |
|---|
| 333 | _ASEOF |
|---|
| 334 | }; then |
|---|
| 335 | break |
|---|
| 336 | fi |
|---|
| 337 | |
|---|
| 338 | fi |
|---|
| 339 | |
|---|
| 340 | done |
|---|
| 341 | |
|---|
| 342 | if test "x$CONFIG_SHELL" != x; then |
|---|
| 343 | for as_var in BASH_ENV ENV |
|---|
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 345 | done |
|---|
| 346 | export CONFIG_SHELL |
|---|
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|---|
| 348 | fi |
|---|
| 349 | |
|---|
| 350 | |
|---|
| 351 | if test $as_have_required = no; then |
|---|
| 352 | echo This script requires a shell more modern than all the |
|---|
| 353 | echo shells that I found on your system. Please install a |
|---|
| 354 | echo modern shell, or manually run the script under such a |
|---|
| 355 | echo shell if you do have one. |
|---|
| 356 | { (exit 1); exit 1; } |
|---|
| 357 | fi |
|---|
| 358 | |
|---|
| 359 | |
|---|
| 360 | fi |
|---|
| 361 | |
|---|
| 362 | fi |
|---|
| 363 | |
|---|
| 364 | |
|---|
| 365 | |
|---|
| 366 | (eval "as_func_return () { |
|---|
| 367 | (exit \$1) |
|---|
| 368 | } |
|---|
| 369 | as_func_success () { |
|---|
| 370 | as_func_return 0 |
|---|
| 371 | } |
|---|
| 372 | as_func_failure () { |
|---|
| 373 | as_func_return 1 |
|---|
| 374 | } |
|---|
| 375 | as_func_ret_success () { |
|---|
| 376 | return 0 |
|---|
| 377 | } |
|---|
| 378 | as_func_ret_failure () { |
|---|
| 379 | return 1 |
|---|
| 380 | } |
|---|
| 381 | |
|---|
| 382 | exitcode=0 |
|---|
| 383 | if as_func_success; then |
|---|
| 384 | : |
|---|
| 385 | else |
|---|
| 386 | exitcode=1 |
|---|
| 387 | echo as_func_success failed. |
|---|
| 388 | fi |
|---|
| 389 | |
|---|
| 390 | if as_func_failure; then |
|---|
| 391 | exitcode=1 |
|---|
| 392 | echo as_func_failure succeeded. |
|---|
| 393 | fi |
|---|
| 394 | |
|---|
| 395 | if as_func_ret_success; then |
|---|
| 396 | : |
|---|
| 397 | else |
|---|
| 398 | exitcode=1 |
|---|
| 399 | echo as_func_ret_success failed. |
|---|
| 400 | fi |
|---|
| 401 | |
|---|
| 402 | if as_func_ret_failure; then |
|---|
| 403 | exitcode=1 |
|---|
| 404 | echo as_func_ret_failure succeeded. |
|---|
| 405 | fi |
|---|
| 406 | |
|---|
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 408 | : |
|---|
| 409 | else |
|---|
| 410 | exitcode=1 |
|---|
| 411 | echo positional parameters were not saved. |
|---|
| 412 | fi |
|---|
| 413 | |
|---|
| 414 | test \$exitcode = 0") || { |
|---|
| 415 | echo No shell found that supports shell functions. |
|---|
| 416 | echo Please tell autoconf@gnu.org about your system, |
|---|
| 417 | echo including any error possibly output before this |
|---|
| 418 | echo message |
|---|
| 419 | } |
|---|
| 420 | |
|---|
| 421 | |
|---|
| 422 | |
|---|
| 423 | as_lineno_1=$LINENO |
|---|
| 424 | as_lineno_2=$LINENO |
|---|
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 427 | |
|---|
| 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 430 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 431 | # does the real work. The second script uses 'N' to pair each |
|---|
| 432 | # line-number line with the line containing $LINENO, and appends |
|---|
| 433 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 434 | # case at line end. |
|---|
| 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 438 | sed -n ' |
|---|
| 439 | p |
|---|
| 440 | /[$]LINENO/= |
|---|
| 441 | ' <$as_myself | |
|---|
| 442 | sed ' |
|---|
| 443 | s/[$]LINENO.*/&-/ |
|---|
| 444 | t lineno |
|---|
| 445 | b |
|---|
| 446 | :lineno |
|---|
| 447 | N |
|---|
| 448 | :loop |
|---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 450 | t loop |
|---|
| 451 | s/-\n.*// |
|---|
| 452 | ' >$as_me.lineno && |
|---|
| 453 | chmod +x "$as_me.lineno" || |
|---|
| 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 455 | { (exit 1); exit 1; }; } |
|---|
| 456 | |
|---|
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 458 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 459 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 460 | . "./$as_me.lineno" |
|---|
| 461 | # Exit status is that of the last command. |
|---|
| 462 | exit |
|---|
| 463 | } |
|---|
| 464 | |
|---|
| 465 | |
|---|
| 466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 467 | as_dirname=dirname |
|---|
| 468 | else |
|---|
| 469 | as_dirname=false |
|---|
| 470 | fi |
|---|
| 471 | |
|---|
| 472 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 473 | case `echo -n x` in |
|---|
| 474 | -n*) |
|---|
| 475 | case `echo 'x\c'` in |
|---|
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 477 | *) ECHO_C='\c';; |
|---|
| 478 | esac;; |
|---|
| 479 | *) |
|---|
| 480 | ECHO_N='-n';; |
|---|
| 481 | esac |
|---|
| 482 | |
|---|
| 483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 485 | as_expr=expr |
|---|
| 486 | else |
|---|
| 487 | as_expr=false |
|---|
| 488 | fi |
|---|
| 489 | |
|---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 491 | if test -d conf$$.dir; then |
|---|
| 492 | rm -f conf$$.dir/conf$$.file |
|---|
| 493 | else |
|---|
| 494 | rm -f conf$$.dir |
|---|
| 495 | mkdir conf$$.dir |
|---|
| 496 | fi |
|---|
| 497 | echo >conf$$.file |
|---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 499 | as_ln_s='ln -s' |
|---|
| 500 | # ... but there are two gotchas: |
|---|
| 501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 503 | # In both cases, we have to default to `cp -p'. |
|---|
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 505 | as_ln_s='cp -p' |
|---|
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 507 | as_ln_s=ln |
|---|
| 508 | else |
|---|
| 509 | as_ln_s='cp -p' |
|---|
| 510 | fi |
|---|
| 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 512 | rmdir conf$$.dir 2>/dev/null |
|---|
| 513 | |
|---|
| 514 | if mkdir -p . 2>/dev/null; then |
|---|
| 515 | as_mkdir_p=: |
|---|
| 516 | else |
|---|
| 517 | test -d ./-p && rmdir ./-p |
|---|
| 518 | as_mkdir_p=false |
|---|
| 519 | fi |
|---|
| 520 | |
|---|
| 521 | if test -x / >/dev/null 2>&1; then |
|---|
| 522 | as_test_x='test -x' |
|---|
| 523 | else |
|---|
| 524 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 525 | as_ls_L_option=L |
|---|
| 526 | else |
|---|
| 527 | as_ls_L_option= |
|---|
| 528 | fi |
|---|
| 529 | as_test_x=' |
|---|
| 530 | eval sh -c '\'' |
|---|
| 531 | if test -d "$1"; then |
|---|
| 532 | test -d "$1/."; |
|---|
| 533 | else |
|---|
| 534 | case $1 in |
|---|
| 535 | -*)set "./$1";; |
|---|
| 536 | esac; |
|---|
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 538 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 539 | '\'' sh |
|---|
| 540 | ' |
|---|
| 541 | fi |
|---|
| 542 | as_executable_p=$as_test_x |
|---|
| 543 | |
|---|
| 544 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 546 | |
|---|
| 547 | # Sed expression to map a string onto a valid variable name. |
|---|
| 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 549 | |
|---|
| 550 | |
|---|
| 551 | |
|---|
| 552 | exec 7<&0 </dev/null 6>&1 |
|---|
| 553 | |
|---|
| 554 | # Name of the host. |
|---|
| 555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|---|
| 556 | # so uname gets run too. |
|---|
| 557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 558 | |
|---|
| 559 | # |
|---|
| 560 | # Initializations. |
|---|
| 561 | # |
|---|
| 562 | ac_default_prefix=/usr/local |
|---|
| 563 | ac_clean_files= |
|---|
| 564 | ac_config_libobj_dir=. |
|---|
| 565 | LIBOBJS= |
|---|
| 566 | cross_compiling=no |
|---|
| 567 | subdirs= |
|---|
| 568 | MFLAGS= |
|---|
| 569 | MAKEFLAGS= |
|---|
| 570 | SHELL=${CONFIG_SHELL-/bin/sh} |
|---|
| 571 | |
|---|
| 572 | # Identity of this package. |
|---|
| 573 | PACKAGE_NAME= |
|---|
| 574 | PACKAGE_TARNAME= |
|---|
| 575 | PACKAGE_VERSION= |
|---|
| 576 | PACKAGE_STRING= |
|---|
| 577 | PACKAGE_BUGREPORT= |
|---|
| 578 | |
|---|
| 579 | ac_unique_file="glutmain.c" |
|---|
| 580 | ac_subst_vars='SHELL |
|---|
| 581 | PATH_SEPARATOR |
|---|
| 582 | PACKAGE_NAME |
|---|
| 583 | PACKAGE_TARNAME |
|---|
| 584 | PACKAGE_VERSION |
|---|
| 585 | PACKAGE_STRING |
|---|
| 586 | PACKAGE_BUGREPORT |
|---|
| 587 | exec_prefix |
|---|
| 588 | prefix |
|---|
| 589 | program_transform_name |
|---|
| 590 | bindir |
|---|
| 591 | sbindir |
|---|
| 592 | libexecdir |
|---|
| 593 | datarootdir |
|---|
| 594 | datadir |
|---|
| 595 | sysconfdir |
|---|
| 596 | sharedstatedir |
|---|
| 597 | localstatedir |
|---|
| 598 | includedir |
|---|
| 599 | oldincludedir |
|---|
| 600 | docdir |
|---|
| 601 | infodir |
|---|
| 602 | htmldir |
|---|
| 603 | dvidir |
|---|
| 604 | pdfdir |
|---|
| 605 | psdir |
|---|
| 606 | libdir |
|---|
| 607 | localedir |
|---|
| 608 | mandir |
|---|
| 609 | DEFS |
|---|
| 610 | ECHO_C |
|---|
| 611 | ECHO_N |
|---|
| 612 | ECHO_T |
|---|
| 613 | LIBS |
|---|
| 614 | build_alias |
|---|
| 615 | host_alias |
|---|
| 616 | target_alias |
|---|
| 617 | INSTALL_PROGRAM |
|---|
| 618 | INSTALL_SCRIPT |
|---|
| 619 | INSTALL_DATA |
|---|
| 620 | CYGPATH_W |
|---|
| 621 | PACKAGE |
|---|
| 622 | VERSION |
|---|
| 623 | ACLOCAL |
|---|
| 624 | AUTOCONF |
|---|
| 625 | AUTOMAKE |
|---|
| 626 | AUTOHEADER |
|---|
| 627 | MAKEINFO |
|---|
| 628 | install_sh |
|---|
| 629 | STRIP |
|---|
| 630 | INSTALL_STRIP_PROGRAM |
|---|
| 631 | mkdir_p |
|---|
| 632 | AWK |
|---|
| 633 | SET_MAKE |
|---|
| 634 | am__leading_dot |
|---|
| 635 | AMTAR |
|---|
| 636 | am__tar |
|---|
| 637 | am__untar |
|---|
| 638 | RANLIB |
|---|
| 639 | CC |
|---|
| 640 | CFLAGS |
|---|
| 641 | LDFLAGS |
|---|
| 642 | CPPFLAGS |
|---|
| 643 | ac_ct_CC |
|---|
| 644 | EXEEXT |
|---|
| 645 | OBJEXT |
|---|
| 646 | DEPDIR |
|---|
| 647 | am__include |
|---|
| 648 | am__quote |
|---|
| 649 | AMDEP_TRUE |
|---|
| 650 | AMDEP_FALSE |
|---|
| 651 | AMDEPBACKSLASH |
|---|
| 652 | CCDEPMODE |
|---|
| 653 | am__fastdepCC_TRUE |
|---|
| 654 | am__fastdepCC_FALSE |
|---|
| 655 | build |
|---|
| 656 | build_cpu |
|---|
| 657 | build_vendor |
|---|
| 658 | build_os |
|---|
| 659 | host |
|---|
| 660 | host_cpu |
|---|
| 661 | host_vendor |
|---|
| 662 | host_os |
|---|
| 663 | LIBOBJS |
|---|
| 664 | LTLIBOBJS' |
|---|
| 665 | ac_subst_files='' |
|---|
| 666 | ac_precious_vars='build_alias |
|---|
| 667 | host_alias |
|---|
| 668 | target_alias |
|---|
| 669 | CC |
|---|
| 670 | CFLAGS |
|---|
| 671 | LDFLAGS |
|---|
| 672 | LIBS |
|---|
| 673 | CPPFLAGS' |
|---|
| 674 | |
|---|
| 675 | |
|---|
| 676 | # Initialize some variables set by options. |
|---|
| 677 | ac_init_help= |
|---|
| 678 | ac_init_version=false |
|---|
| 679 | # The variables have the same names as the options, with |
|---|
| 680 | # dashes changed to underlines. |
|---|
| 681 | cache_file=/dev/null |
|---|
| 682 | exec_prefix=NONE |
|---|
| 683 | no_create= |
|---|
| 684 | no_recursion= |
|---|
| 685 | prefix=NONE |
|---|
| 686 | program_prefix=NONE |
|---|
| 687 | program_suffix=NONE |
|---|
| 688 | program_transform_name=s,x,x, |
|---|
| 689 | silent= |
|---|
| 690 | site= |
|---|
| 691 | srcdir= |
|---|
| 692 | verbose= |
|---|
| 693 | x_includes=NONE |
|---|
| 694 | x_libraries=NONE |
|---|
| 695 | |
|---|
| 696 | # Installation directory options. |
|---|
| 697 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
|---|
| 698 | # and all the variables that are supposed to be based on exec_prefix |
|---|
| 699 | # by default will actually change. |
|---|
| 700 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|---|
| 701 | # (The list follows the same order as the GNU Coding Standards.) |
|---|
| 702 | bindir='${exec_prefix}/bin' |
|---|
| 703 | sbindir='${exec_prefix}/sbin' |
|---|
| 704 | libexecdir='${exec_prefix}/libexec' |
|---|
| 705 | datarootdir='${prefix}/share' |
|---|
| 706 | datadir='${datarootdir}' |
|---|
| 707 | sysconfdir='${prefix}/etc' |
|---|
| 708 | sharedstatedir='${prefix}/com' |
|---|
| 709 | localstatedir='${prefix}/var' |
|---|
| 710 | includedir='${prefix}/include' |
|---|
| 711 | oldincludedir='/usr/include' |
|---|
| 712 | docdir='${datarootdir}/doc/${PACKAGE}' |
|---|
| 713 | infodir='${datarootdir}/info' |
|---|
| 714 | htmldir='${docdir}' |
|---|
| 715 | dvidir='${docdir}' |
|---|
| 716 | pdfdir='${docdir}' |
|---|
| 717 | psdir='${docdir}' |
|---|
| 718 | libdir='${exec_prefix}/lib' |
|---|
| 719 | localedir='${datarootdir}/locale' |
|---|
| 720 | mandir='${datarootdir}/man' |
|---|
| 721 | |
|---|
| 722 | ac_prev= |
|---|
| 723 | ac_dashdash= |
|---|
| 724 | for ac_option |
|---|
| 725 | do |
|---|
| 726 | # If the previous option needs an argument, assign it. |
|---|
| 727 | if test -n "$ac_prev"; then |
|---|
| 728 | eval $ac_prev=\$ac_option |
|---|
| 729 | ac_prev= |
|---|
| 730 | continue |
|---|
| 731 | fi |
|---|
| 732 | |
|---|
| 733 | case $ac_option in |
|---|
| 734 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|---|
| 735 | *) ac_optarg=yes ;; |
|---|
| 736 | esac |
|---|
| 737 | |
|---|
| 738 | # Accept the important Cygnus configure options, so we can diagnose typos. |
|---|
| 739 | |
|---|
| 740 | case $ac_dashdash$ac_option in |
|---|
| 741 | --) |
|---|
| 742 | ac_dashdash=yes ;; |
|---|
| 743 | |
|---|
| 744 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|---|
| 745 | ac_prev=bindir ;; |
|---|
| 746 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|---|
| 747 | bindir=$ac_optarg ;; |
|---|
| 748 | |
|---|
| 749 | -build | --build | --buil | --bui | --bu) |
|---|
| 750 | ac_prev=build_alias ;; |
|---|
| 751 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|---|
| 752 | build_alias=$ac_optarg ;; |
|---|
| 753 | |
|---|
| 754 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|---|
| 755 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|---|
| 756 | ac_prev=cache_file ;; |
|---|
| 757 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|---|
| 758 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|---|
| 759 | cache_file=$ac_optarg ;; |
|---|
| 760 | |
|---|
| 761 | --config-cache | -C) |
|---|
| 762 | cache_file=config.cache ;; |
|---|
| 763 | |
|---|
| 764 | -datadir | --datadir | --datadi | --datad) |
|---|
| 765 | ac_prev=datadir ;; |
|---|
| 766 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
|---|
| 767 | datadir=$ac_optarg ;; |
|---|
| 768 | |
|---|
| 769 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|---|
| 770 | | --dataroo | --dataro | --datar) |
|---|
| 771 | ac_prev=datarootdir ;; |
|---|
| 772 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|---|
| 773 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|---|
| 774 | datarootdir=$ac_optarg ;; |
|---|
| 775 | |
|---|
| 776 | -disable-* | --disable-*) |
|---|
| 777 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|---|
| 778 | # Reject names that are not valid shell variable names. |
|---|
| 779 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 780 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|---|
| 781 | { (exit 1); exit 1; }; } |
|---|
| 782 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
|---|
| 783 | eval enable_$ac_feature=no ;; |
|---|
| 784 | |
|---|
| 785 | -docdir | --docdir | --docdi | --doc | --do) |
|---|
| 786 | ac_prev=docdir ;; |
|---|
| 787 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|---|
| 788 | docdir=$ac_optarg ;; |
|---|
| 789 | |
|---|
| 790 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|---|
| 791 | ac_prev=dvidir ;; |
|---|
| 792 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|---|
| 793 | dvidir=$ac_optarg ;; |
|---|
| 794 | |
|---|
| 795 | -enable-* | --enable-*) |
|---|
| 796 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|---|
| 797 | # Reject names that are not valid shell variable names. |
|---|
| 798 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 799 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|---|
| 800 | { (exit 1); exit 1; }; } |
|---|
| 801 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
|---|
| 802 | eval enable_$ac_feature=\$ac_optarg ;; |
|---|
| 803 | |
|---|
| 804 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|---|
| 805 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|---|
| 806 | | --exec | --exe | --ex) |
|---|
| 807 | ac_prev=exec_prefix ;; |
|---|
| 808 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|---|
| 809 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|---|
| 810 | | --exec=* | --exe=* | --ex=*) |
|---|
| 811 | exec_prefix=$ac_optarg ;; |
|---|
| 812 | |
|---|
| 813 | -gas | --gas | --ga | --g) |
|---|
| 814 | # Obsolete; use --with-gas. |
|---|
| 815 | with_gas=yes ;; |
|---|
| 816 | |
|---|
| 817 | -help | --help | --hel | --he | -h) |
|---|
| 818 | ac_init_help=long ;; |
|---|
| 819 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|---|
| 820 | ac_init_help=recursive ;; |
|---|
| 821 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|---|
| 822 | ac_init_help=short ;; |
|---|
| 823 | |
|---|
| 824 | -host | --host | --hos | --ho) |
|---|
| 825 | ac_prev=host_alias ;; |
|---|
| 826 | -host=* | --host=* | --hos=* | --ho=*) |
|---|
| 827 | host_alias=$ac_optarg ;; |
|---|
| 828 | |
|---|
| 829 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|---|
| 830 | ac_prev=htmldir ;; |
|---|
| 831 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|---|
| 832 | | --ht=*) |
|---|
| 833 | htmldir=$ac_optarg ;; |
|---|
| 834 | |
|---|
| 835 | -includedir | --includedir | --includedi | --included | --include \ |
|---|
| 836 | | --includ | --inclu | --incl | --inc) |
|---|
| 837 | ac_prev=includedir ;; |
|---|
| 838 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|---|
| 839 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
|---|
| 840 | includedir=$ac_optarg ;; |
|---|
| 841 | |
|---|
| 842 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
|---|
| 843 | ac_prev=infodir ;; |
|---|
| 844 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|---|
| 845 | infodir=$ac_optarg ;; |
|---|
| 846 | |
|---|
| 847 | -libdir | --libdir | --libdi | --libd) |
|---|
| 848 | ac_prev=libdir ;; |
|---|
| 849 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|---|
| 850 | libdir=$ac_optarg ;; |
|---|
| 851 | |
|---|
| 852 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|---|
| 853 | | --libexe | --libex | --libe) |
|---|
| 854 | ac_prev=libexecdir ;; |
|---|
| 855 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|---|
| 856 | | --libexe=* | --libex=* | --libe=*) |
|---|
| 857 | libexecdir=$ac_optarg ;; |
|---|
| 858 | |
|---|
| 859 | -localedir | --localedir | --localedi | --localed | --locale) |
|---|
| 860 | ac_prev=localedir ;; |
|---|
| 861 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|---|
| 862 | localedir=$ac_optarg ;; |
|---|
| 863 | |
|---|
| 864 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|---|
| 865 | | --localstate | --localstat | --localsta | --localst | --locals) |
|---|
| 866 | ac_prev=localstatedir ;; |
|---|
| 867 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|---|
| 868 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|---|
| 869 | localstatedir=$ac_optarg ;; |
|---|
| 870 | |
|---|
| 871 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|---|
| 872 | ac_prev=mandir ;; |
|---|
| 873 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|---|
| 874 | mandir=$ac_optarg ;; |
|---|
| 875 | |
|---|
| 876 | -nfp | --nfp | --nf) |
|---|
| 877 | # Obsolete; use --without-fp. |
|---|
| 878 | with_fp=no ;; |
|---|
| 879 | |
|---|
| 880 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|---|
| 881 | | --no-cr | --no-c | -n) |
|---|
| 882 | no_create=yes ;; |
|---|
| 883 | |
|---|
| 884 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|---|
| 885 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|---|
| 886 | no_recursion=yes ;; |
|---|
| 887 | |
|---|
| 888 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|---|
| 889 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|---|
| 890 | | --oldin | --oldi | --old | --ol | --o) |
|---|
| 891 | ac_prev=oldincludedir ;; |
|---|
| 892 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|---|
| 893 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|---|
| 894 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|---|
| 895 | oldincludedir=$ac_optarg ;; |
|---|
| 896 | |
|---|
| 897 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|---|
| 898 | ac_prev=prefix ;; |
|---|
| 899 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|---|
| 900 | prefix=$ac_optarg ;; |
|---|
| 901 | |
|---|
| 902 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|---|
| 903 | | --program-pre | --program-pr | --program-p) |
|---|
| 904 | ac_prev=program_prefix ;; |
|---|
| 905 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|---|
| 906 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|---|
| 907 | program_prefix=$ac_optarg ;; |
|---|
| 908 | |
|---|
| 909 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|---|
| 910 | | --program-suf | --program-su | --program-s) |
|---|
| 911 | ac_prev=program_suffix ;; |
|---|
| 912 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|---|
| 913 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|---|
| 914 | program_suffix=$ac_optarg ;; |
|---|
| 915 | |
|---|
| 916 | -program-transform-name | --program-transform-name \ |
|---|
| 917 | | --program-transform-nam | --program-transform-na \ |
|---|
| 918 | | --program-transform-n | --program-transform- \ |
|---|
| 919 | | --program-transform | --program-transfor \ |
|---|
| 920 | | --program-transfo | --program-transf \ |
|---|
| 921 | | --program-trans | --program-tran \ |
|---|
| 922 | | --progr-tra | --program-tr | --program-t) |
|---|
| 923 | ac_prev=program_transform_name ;; |
|---|
| 924 | -program-transform-name=* | --program-transform-name=* \ |
|---|
| 925 | | --program-transform-nam=* | --program-transform-na=* \ |
|---|
| 926 | | --program-transform-n=* | --program-transform-=* \ |
|---|
| 927 | | --program-transform=* | --program-transfor=* \ |
|---|
| 928 | | --program-transfo=* | --program-transf=* \ |
|---|
| 929 | | --program-trans=* | --program-tran=* \ |
|---|
| 930 | | --progr-tra=* | --program-tr=* | --program-t=*) |
|---|
| 931 | program_transform_name=$ac_optarg ;; |
|---|
| 932 | |
|---|
| 933 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|---|
| 934 | ac_prev=pdfdir ;; |
|---|
| 935 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|---|
| 936 | pdfdir=$ac_optarg ;; |
|---|
| 937 | |
|---|
| 938 | -psdir | --psdir | --psdi | --psd | --ps) |
|---|
| 939 | ac_prev=psdir ;; |
|---|
| 940 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|---|
| 941 | psdir=$ac_optarg ;; |
|---|
| 942 | |
|---|
| 943 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 944 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 945 | silent=yes ;; |
|---|
| 946 | |
|---|
| 947 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|---|
| 948 | ac_prev=sbindir ;; |
|---|
| 949 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|---|
| 950 | | --sbi=* | --sb=*) |
|---|
| 951 | sbindir=$ac_optarg ;; |
|---|
| 952 | |
|---|
| 953 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|---|
| 954 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|---|
| 955 | | --sharedst | --shareds | --shared | --share | --shar \ |
|---|
| 956 | | --sha | --sh) |
|---|
| 957 | ac_prev=sharedstatedir ;; |
|---|
| 958 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|---|
| 959 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|---|
| 960 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|---|
| 961 | | --sha=* | --sh=*) |
|---|
| 962 | sharedstatedir=$ac_optarg ;; |
|---|
| 963 | |
|---|
| 964 | -site | --site | --sit) |
|---|
| 965 | ac_prev=site ;; |
|---|
| 966 | -site=* | --site=* | --sit=*) |
|---|
| 967 | site=$ac_optarg ;; |
|---|
| 968 | |
|---|
| 969 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|---|
| 970 | ac_prev=srcdir ;; |
|---|
| 971 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|---|
| 972 | srcdir=$ac_optarg ;; |
|---|
| 973 | |
|---|
| 974 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|---|
| 975 | | --syscon | --sysco | --sysc | --sys | --sy) |
|---|
| 976 | ac_prev=sysconfdir ;; |
|---|
| 977 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|---|
| 978 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|---|
| 979 | sysconfdir=$ac_optarg ;; |
|---|
| 980 | |
|---|
| 981 | -target | --target | --targe | --targ | --tar | --ta | --t) |
|---|
| 982 | ac_prev=target_alias ;; |
|---|
| 983 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|---|
| 984 | target_alias=$ac_optarg ;; |
|---|
| 985 | |
|---|
| 986 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|---|
| 987 | verbose=yes ;; |
|---|
| 988 | |
|---|
| 989 | -version | --version | --versio | --versi | --vers | -V) |
|---|
| 990 | ac_init_version=: ;; |
|---|
| 991 | |
|---|
| 992 | -with-* | --with-*) |
|---|
| 993 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|---|
| 994 | # Reject names that are not valid shell variable names. |
|---|
| 995 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 996 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|---|
| 997 | { (exit 1); exit 1; }; } |
|---|
| 998 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
|---|
| 999 | eval with_$ac_package=\$ac_optarg ;; |
|---|
| 1000 | |
|---|
| 1001 | -without-* | --without-*) |
|---|
| 1002 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|---|
| 1003 | # Reject names that are not valid shell variable names. |
|---|
| 1004 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1005 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|---|
| 1006 | { (exit 1); exit 1; }; } |
|---|
| 1007 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
|---|
| 1008 | eval with_$ac_package=no ;; |
|---|
| 1009 | |
|---|
| 1010 | --x) |
|---|
| 1011 | # Obsolete; use --with-x. |
|---|
| 1012 | with_x=yes ;; |
|---|
| 1013 | |
|---|
| 1014 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|---|
| 1015 | | --x-incl | --x-inc | --x-in | --x-i) |
|---|
| 1016 | ac_prev=x_includes ;; |
|---|
| 1017 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|---|
| 1018 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|---|
| 1019 | x_includes=$ac_optarg ;; |
|---|
| 1020 | |
|---|
| 1021 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|---|
| 1022 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|---|
| 1023 | ac_prev=x_libraries ;; |
|---|
| 1024 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|---|
| 1025 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|---|
| 1026 | x_libraries=$ac_optarg ;; |
|---|
| 1027 | |
|---|
| 1028 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
|---|
| 1029 | Try \`$0 --help' for more information." >&2 |
|---|
| 1030 | { (exit 1); exit 1; }; } |
|---|
| 1031 | ;; |
|---|
| 1032 | |
|---|
| 1033 | *=*) |
|---|
| 1034 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|---|
| 1035 | # Reject names that are not valid shell variable names. |
|---|
| 1036 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|---|
| 1037 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|---|
| 1038 | { (exit 1); exit 1; }; } |
|---|
| 1039 | eval $ac_envvar=\$ac_optarg |
|---|
| 1040 | export $ac_envvar ;; |
|---|
| 1041 | |
|---|
| 1042 | *) |
|---|
| 1043 | # FIXME: should be removed in autoconf 3.0. |
|---|
| 1044 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|---|
| 1045 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1046 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|---|
| 1047 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|---|
| 1048 | ;; |
|---|
| 1049 | |
|---|
| 1050 | esac |
|---|
| 1051 | done |
|---|
| 1052 | |
|---|
| 1053 | if test -n "$ac_prev"; then |
|---|
| 1054 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|---|
| 1055 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
|---|
| 1056 | { (exit 1); exit 1; }; } |
|---|
| 1057 | fi |
|---|
| 1058 | |
|---|
| 1059 | # Be sure to have absolute directory names. |
|---|
| 1060 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|---|
| 1061 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
|---|
| 1062 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|---|
| 1063 | libdir localedir mandir |
|---|
| 1064 | do |
|---|
| 1065 | eval ac_val=\$$ac_var |
|---|
| 1066 | case $ac_val in |
|---|
| 1067 | [\\/$]* | ?:[\\/]* ) continue;; |
|---|
| 1068 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|---|
| 1069 | esac |
|---|
| 1070 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|---|
| 1071 | { (exit 1); exit 1; }; } |
|---|
| 1072 | done |
|---|
| 1073 | |
|---|
| 1074 | # There might be people who depend on the old broken behavior: `$host' |
|---|
| 1075 | # used to hold the argument of --host etc. |
|---|
| 1076 | # FIXME: To remove some day. |
|---|
| 1077 | build=$build_alias |
|---|
| 1078 | host=$host_alias |
|---|
| 1079 | target=$target_alias |
|---|
| 1080 | |
|---|
| 1081 | # FIXME: To remove some day. |
|---|
| 1082 | if test "x$host_alias" != x; then |
|---|
| 1083 | if test "x$build_alias" = x; then |
|---|
| 1084 | cross_compiling=maybe |
|---|
| 1085 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|---|
| 1086 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|---|
| 1087 | elif test "x$build_alias" != "x$host_alias"; then |
|---|
| 1088 | cross_compiling=yes |
|---|
| 1089 | fi |
|---|
| 1090 | fi |
|---|
| 1091 | |
|---|
| 1092 | ac_tool_prefix= |
|---|
| 1093 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|---|
| 1094 | |
|---|
| 1095 | test "$silent" = yes && exec 6>/dev/null |
|---|
| 1096 | |
|---|
| 1097 | |
|---|
| 1098 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
|---|
| 1099 | ac_ls_di=`ls -di .` && |
|---|
| 1100 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|---|
| 1101 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
|---|
| 1102 | { (exit 1); exit 1; }; } |
|---|
| 1103 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|---|
| 1104 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
|---|
| 1105 | { (exit 1); exit 1; }; } |
|---|
| 1106 | |
|---|
| 1107 | |
|---|
| 1108 | # Find the source files, if location was not specified. |
|---|
| 1109 | if test -z "$srcdir"; then |
|---|
| 1110 | ac_srcdir_defaulted=yes |
|---|
| 1111 | # Try the directory containing this script, then the parent directory. |
|---|
| 1112 | ac_confdir=`$as_dirname -- "$0" || |
|---|
| 1113 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 1114 | X"$0" : 'X\(//\)[^/]' \| \ |
|---|
| 1115 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 1116 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 1117 | echo X"$0" | |
|---|
| 1118 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 1119 | s//\1/ |
|---|
| 1120 | q |
|---|
| 1121 | } |
|---|
| 1122 | /^X\(\/\/\)[^/].*/{ |
|---|
| 1123 | s//\1/ |
|---|
| 1124 | q |
|---|
| 1125 | } |
|---|
| 1126 | /^X\(\/\/\)$/{ |
|---|
| 1127 | s//\1/ |
|---|
| 1128 | q |
|---|
| 1129 | } |
|---|
| 1130 | /^X\(\/\).*/{ |
|---|
| 1131 | s//\1/ |
|---|
| 1132 | q |
|---|
| 1133 | } |
|---|
| 1134 | s/.*/./; q'` |
|---|
| 1135 | srcdir=$ac_confdir |
|---|
| 1136 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1137 | srcdir=.. |
|---|
| 1138 | fi |
|---|
| 1139 | else |
|---|
| 1140 | ac_srcdir_defaulted=no |
|---|
| 1141 | fi |
|---|
| 1142 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1143 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|---|
| 1144 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|---|
| 1145 | { (exit 1); exit 1; }; } |
|---|
| 1146 | fi |
|---|
| 1147 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|---|
| 1148 | ac_abs_confdir=`( |
|---|
| 1149 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
|---|
| 1150 | { (exit 1); exit 1; }; } |
|---|
| 1151 | pwd)` |
|---|
| 1152 | # When building in place, set srcdir=. |
|---|
| 1153 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
|---|
| 1154 | srcdir=. |
|---|
| 1155 | fi |
|---|
| 1156 | # Remove unnecessary trailing slashes from srcdir. |
|---|
| 1157 | # Double slashes in file names in object file debugging info |
|---|
| 1158 | # mess up M-x gdb in Emacs. |
|---|
| 1159 | case $srcdir in |
|---|
| 1160 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|---|
| 1161 | esac |
|---|
| 1162 | for ac_var in $ac_precious_vars; do |
|---|
| 1163 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1164 | eval ac_env_${ac_var}_value=\$${ac_var} |
|---|
| 1165 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1166 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|---|
| 1167 | done |
|---|
| 1168 | |
|---|
| 1169 | # |
|---|
| 1170 | # Report the --help message. |
|---|
| 1171 | # |
|---|
| 1172 | if test "$ac_init_help" = "long"; then |
|---|
| 1173 | # Omit some internal or obsolete options to make the list less imposing. |
|---|
| 1174 | # This message is too long to be a string in the A/UX 3.1 sh. |
|---|
| 1175 | cat <<_ACEOF |
|---|
| 1176 | \`configure' configures this package to adapt to many kinds of systems. |
|---|
| 1177 | |
|---|
| 1178 | Usage: $0 [OPTION]... [VAR=VALUE]... |
|---|
| 1179 | |
|---|
| 1180 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|---|
| 1181 | VAR=VALUE. See below for descriptions of some of the useful variables. |
|---|
| 1182 | |
|---|
| 1183 | Defaults for the options are specified in brackets. |
|---|
| 1184 | |
|---|
| 1185 | Configuration: |
|---|
| 1186 | -h, --help display this help and exit |
|---|
| 1187 | --help=short display options specific to this package |
|---|
| 1188 | --help=recursive display the short help of all the included packages |
|---|
| 1189 | -V, --version display version information and exit |
|---|
| 1190 | -q, --quiet, --silent do not print \`checking...' messages |
|---|
| 1191 | --cache-file=FILE cache test results in FILE [disabled] |
|---|
| 1192 | -C, --config-cache alias for \`--cache-file=config.cache' |
|---|
| 1193 | -n, --no-create do not create output files |
|---|
| 1194 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|---|
| 1195 | |
|---|
| 1196 | Installation directories: |
|---|
| 1197 | --prefix=PREFIX install architecture-independent files in PREFIX |
|---|
| 1198 | [$ac_default_prefix] |
|---|
| 1199 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|---|
| 1200 | [PREFIX] |
|---|
| 1201 | |
|---|
| 1202 | By default, \`make install' will install all the files in |
|---|
| 1203 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|---|
| 1204 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|---|
| 1205 | for instance \`--prefix=\$HOME'. |
|---|
| 1206 | |
|---|
| 1207 | For better control, use the options below. |
|---|
| 1208 | |
|---|
| 1209 | Fine tuning of the installation directories: |
|---|
| 1210 | --bindir=DIR user executables [EPREFIX/bin] |
|---|
| 1211 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
|---|
| 1212 | --libexecdir=DIR program executables [EPREFIX/libexec] |
|---|
| 1213 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|---|
| 1214 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|---|
| 1215 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|---|
| 1216 | --libdir=DIR object code libraries [EPREFIX/lib] |
|---|
| 1217 | --includedir=DIR C header files [PREFIX/include] |
|---|
| 1218 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|---|
| 1219 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|---|
| 1220 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|---|
| 1221 | --infodir=DIR info documentation [DATAROOTDIR/info] |
|---|
| 1222 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|---|
| 1223 | --mandir=DIR man documentation [DATAROOTDIR/man] |
|---|
| 1224 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
|---|
| 1225 | --htmldir=DIR html documentation [DOCDIR] |
|---|
| 1226 | --dvidir=DIR dvi documentation [DOCDIR] |
|---|
| 1227 | --pdfdir=DIR pdf documentation [DOCDIR] |
|---|
| 1228 | --psdir=DIR ps documentation [DOCDIR] |
|---|
| 1229 | _ACEOF |
|---|
| 1230 | |
|---|
| 1231 | cat <<\_ACEOF |
|---|
| 1232 | |
|---|
| 1233 | Program names: |
|---|
| 1234 | --program-prefix=PREFIX prepend PREFIX to installed program names |
|---|
| 1235 | --program-suffix=SUFFIX append SUFFIX to installed program names |
|---|
| 1236 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|---|
| 1237 | |
|---|
| 1238 | System types: |
|---|
| 1239 | --build=BUILD configure for building on BUILD [guessed] |
|---|
| 1240 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
|---|
| 1241 | _ACEOF |
|---|
| 1242 | fi |
|---|
| 1243 | |
|---|
| 1244 | if test -n "$ac_init_help"; then |
|---|
| 1245 | |
|---|
| 1246 | cat <<\_ACEOF |
|---|
| 1247 | |
|---|
| 1248 | Optional Features: |
|---|
| 1249 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|---|
| 1250 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|---|
| 1251 | compiles with debugging info |
|---|
| 1252 | compiles with opengl |
|---|
| 1253 | --disable-dependency-tracking speeds up one-time build |
|---|
| 1254 | --enable-dependency-tracking do not reject slow dependency extractors |
|---|
| 1255 | |
|---|
| 1256 | Some influential environment variables: |
|---|
| 1257 | CC C compiler command |
|---|
| 1258 | CFLAGS C compiler flags |
|---|
| 1259 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|---|
| 1260 | nonstandard directory <lib dir> |
|---|
| 1261 | LIBS libraries to pass to the linker, e.g. -l<library> |
|---|
| 1262 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|---|
| 1263 | you have headers in a nonstandard directory <include dir> |
|---|
| 1264 | |
|---|
| 1265 | Use these variables to override the choices made by `configure' or to help |
|---|
| 1266 | it to find libraries and programs with nonstandard names/locations. |
|---|
| 1267 | |
|---|
| 1268 | _ACEOF |
|---|
| 1269 | ac_status=$? |
|---|
| 1270 | fi |
|---|
| 1271 | |
|---|
| 1272 | if test "$ac_init_help" = "recursive"; then |
|---|
| 1273 | # If there are subdirs, report their specific --help. |
|---|
| 1274 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|---|
| 1275 | test -d "$ac_dir" || continue |
|---|
| 1276 | ac_builddir=. |
|---|
| 1277 | |
|---|
| 1278 | case "$ac_dir" in |
|---|
| 1279 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1280 | *) |
|---|
| 1281 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|---|
| 1282 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 1283 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
|---|
| 1284 | case $ac_top_builddir_sub in |
|---|
| 1285 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1286 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 1287 | esac ;; |
|---|
| 1288 | esac |
|---|
| 1289 | ac_abs_top_builddir=$ac_pwd |
|---|
| 1290 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 1291 | # for backward compatibility: |
|---|
| 1292 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 1293 | |
|---|
| 1294 | case $srcdir in |
|---|
| 1295 | .) # We are building in place. |
|---|
| 1296 | ac_srcdir=. |
|---|
| 1297 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 1298 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 1299 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 1300 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 1301 | ac_top_srcdir=$srcdir |
|---|
| 1302 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 1303 | *) # Relative name. |
|---|
| 1304 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 1305 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 1306 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 1307 | esac |
|---|
| 1308 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 1309 | |
|---|
| 1310 | cd "$ac_dir" || { ac_status=$?; continue; } |
|---|
| 1311 | # Check for guested configure. |
|---|
| 1312 | if test -f "$ac_srcdir/configure.gnu"; then |
|---|
| 1313 | echo && |
|---|
| 1314 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|---|
| 1315 | elif test -f "$ac_srcdir/configure"; then |
|---|
| 1316 | echo && |
|---|
| 1317 | $SHELL "$ac_srcdir/configure" --help=recursive |
|---|
| 1318 | else |
|---|
| 1319 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|---|
| 1320 | fi || ac_status=$? |
|---|
| 1321 | cd "$ac_pwd" || { ac_status=$?; break; } |
|---|
| 1322 | done |
|---|
| 1323 | fi |
|---|
| 1324 | |
|---|
| 1325 | test -n "$ac_init_help" && exit $ac_status |
|---|
| 1326 | if $ac_init_version; then |
|---|
| 1327 | cat <<\_ACEOF |
|---|
| 1328 | configure |
|---|
| 1329 | generated by GNU Autoconf 2.61 |
|---|
| 1330 | |
|---|
| 1331 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 1332 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|---|
| 1333 | This configure script is free software; the Free Software Foundation |
|---|
| 1334 | gives unlimited permission to copy, distribute and modify it. |
|---|
| 1335 | _ACEOF |
|---|
| 1336 | exit |
|---|
| 1337 | fi |
|---|
| 1338 | cat >config.log <<_ACEOF |
|---|
| 1339 | This file contains any messages produced by compilers while |
|---|
| 1340 | running configure, to aid debugging if configure makes a mistake. |
|---|
| 1341 | |
|---|
| 1342 | It was created by $as_me, which was |
|---|
| 1343 | generated by GNU Autoconf 2.61. Invocation command line was |
|---|
| 1344 | |
|---|
| 1345 | $ $0 $@ |
|---|
| 1346 | |
|---|
| 1347 | _ACEOF |
|---|
| 1348 | exec 5>>config.log |
|---|
| 1349 | { |
|---|
| 1350 | cat <<_ASUNAME |
|---|
| 1351 | ## --------- ## |
|---|
| 1352 | ## Platform. ## |
|---|
| 1353 | ## --------- ## |
|---|
| 1354 | |
|---|
| 1355 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 1356 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|---|
| 1357 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|---|
| 1358 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|---|
| 1359 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|---|
| 1360 | |
|---|
| 1361 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|---|
| 1362 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|---|
| 1363 | |
|---|
| 1364 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|---|
| 1365 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|---|
| 1366 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|---|
| 1367 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|---|
| 1368 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|---|
| 1369 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|---|
| 1370 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|---|
| 1371 | |
|---|
| 1372 | _ASUNAME |
|---|
| 1373 | |
|---|
| 1374 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1375 | for as_dir in $PATH |
|---|
| 1376 | do |
|---|
| 1377 | IFS=$as_save_IFS |
|---|
| 1378 | test -z "$as_dir" && as_dir=. |
|---|
| 1379 | echo "PATH: $as_dir" |
|---|
| 1380 | done |
|---|
| 1381 | IFS=$as_save_IFS |
|---|
| 1382 | |
|---|
| 1383 | } >&5 |
|---|
| 1384 | |
|---|
| 1385 | cat >&5 <<_ACEOF |
|---|
| 1386 | |
|---|
| 1387 | |
|---|
| 1388 | ## ----------- ## |
|---|
| 1389 | ## Core tests. ## |
|---|
| 1390 | ## ----------- ## |
|---|
| 1391 | |
|---|
| 1392 | _ACEOF |
|---|
| 1393 | |
|---|
| 1394 | |
|---|
| 1395 | # Keep a trace of the command line. |
|---|
| 1396 | # Strip out --no-create and --no-recursion so they do not pile up. |
|---|
| 1397 | # Strip out --silent because we don't want to record it for future runs. |
|---|
| 1398 | # Also quote any args containing shell meta-characters. |
|---|
| 1399 | # Make two passes to allow for proper duplicate-argument suppression. |
|---|
| 1400 | ac_configure_args= |
|---|
| 1401 | ac_configure_args0= |
|---|
| 1402 | ac_configure_args1= |
|---|
| 1403 | ac_must_keep_next=false |
|---|
| 1404 | for ac_pass in 1 2 |
|---|
| 1405 | do |
|---|
| 1406 | for ac_arg |
|---|
| 1407 | do |
|---|
| 1408 | case $ac_arg in |
|---|
| 1409 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|---|
| 1410 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 1411 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 1412 | continue ;; |
|---|
| 1413 | *\'*) |
|---|
| 1414 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1415 | esac |
|---|
| 1416 | case $ac_pass in |
|---|
| 1417 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|---|
| 1418 | 2) |
|---|
| 1419 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|---|
| 1420 | if test $ac_must_keep_next = true; then |
|---|
| 1421 | ac_must_keep_next=false # Got value, back to normal. |
|---|
| 1422 | else |
|---|
| 1423 | case $ac_arg in |
|---|
| 1424 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
|---|
| 1425 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|---|
| 1426 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|---|
| 1427 | | -with-* | --with-* | -without-* | --without-* | --x) |
|---|
| 1428 | case "$ac_configure_args0 " in |
|---|
| 1429 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|---|
| 1430 | esac |
|---|
| 1431 | ;; |
|---|
| 1432 | -* ) ac_must_keep_next=true ;; |
|---|
| 1433 | esac |
|---|
| 1434 | fi |
|---|
| 1435 | ac_configure_args="$ac_configure_args '$ac_arg'" |
|---|
| 1436 | ;; |
|---|
| 1437 | esac |
|---|
| 1438 | done |
|---|
| 1439 | done |
|---|
| 1440 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|---|
| 1441 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|---|
| 1442 | |
|---|
| 1443 | # When interrupted or exit'd, cleanup temporary files, and complete |
|---|
| 1444 | # config.log. We remove comments because anyway the quotes in there |
|---|
| 1445 | # would cause problems or look ugly. |
|---|
| 1446 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
|---|
| 1447 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|---|
| 1448 | trap 'exit_status=$? |
|---|
| 1449 | # Save into config.log some information that might help in debugging. |
|---|
| 1450 | { |
|---|
| 1451 | echo |
|---|
| 1452 | |
|---|
| 1453 | cat <<\_ASBOX |
|---|
| 1454 | ## ---------------- ## |
|---|
| 1455 | ## Cache variables. ## |
|---|
| 1456 | ## ---------------- ## |
|---|
| 1457 | _ASBOX |
|---|
| 1458 | echo |
|---|
| 1459 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 1460 | ( |
|---|
| 1461 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|---|
| 1462 | eval ac_val=\$$ac_var |
|---|
| 1463 | case $ac_val in #( |
|---|
| 1464 | *${as_nl}*) |
|---|
| 1465 | case $ac_var in #( |
|---|
| 1466 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|---|
| 1467 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|---|
| 1468 | esac |
|---|
| 1469 | case $ac_var in #( |
|---|
| 1470 | _ | IFS | as_nl) ;; #( |
|---|
| 1471 | *) $as_unset $ac_var ;; |
|---|
| 1472 | esac ;; |
|---|
| 1473 | esac |
|---|
| 1474 | done |
|---|
| 1475 | (set) 2>&1 | |
|---|
| 1476 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|---|
| 1477 | *${as_nl}ac_space=\ *) |
|---|
| 1478 | sed -n \ |
|---|
| 1479 | "s/'\''/'\''\\\\'\'''\''/g; |
|---|
| 1480 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|---|
| 1481 | ;; #( |
|---|
| 1482 | *) |
|---|
| 1483 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 1484 | ;; |
|---|
| 1485 | esac | |
|---|
| 1486 | sort |
|---|
| 1487 | ) |
|---|
| 1488 | echo |
|---|
| 1489 | |
|---|
| 1490 | cat <<\_ASBOX |
|---|
| 1491 | ## ----------------- ## |
|---|
| 1492 | ## Output variables. ## |
|---|
| 1493 | ## ----------------- ## |
|---|
| 1494 | _ASBOX |
|---|
| 1495 | echo |
|---|
| 1496 | for ac_var in $ac_subst_vars |
|---|
| 1497 | do |
|---|
| 1498 | eval ac_val=\$$ac_var |
|---|
| 1499 | case $ac_val in |
|---|
| 1500 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1501 | esac |
|---|
| 1502 | echo "$ac_var='\''$ac_val'\''" |
|---|
| 1503 | done | sort |
|---|
| 1504 | echo |
|---|
| 1505 | |
|---|
| 1506 | if test -n "$ac_subst_files"; then |
|---|
| 1507 | cat <<\_ASBOX |
|---|
| 1508 | ## ------------------- ## |
|---|
| 1509 | ## File substitutions. ## |
|---|
| 1510 | ## ------------------- ## |
|---|
| 1511 | _ASBOX |
|---|
| 1512 | echo |
|---|
| 1513 | for ac_var in $ac_subst_files |
|---|
| 1514 | do |
|---|
| 1515 | eval ac_val=\$$ac_var |
|---|
| 1516 | case $ac_val in |
|---|
| 1517 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1518 | esac |
|---|
| 1519 | echo "$ac_var='\''$ac_val'\''" |
|---|
| 1520 | done | sort |
|---|
| 1521 | echo |
|---|
| 1522 | fi |
|---|
| 1523 | |
|---|
| 1524 | if test -s confdefs.h; then |
|---|
| 1525 | cat <<\_ASBOX |
|---|
| 1526 | ## ----------- ## |
|---|
| 1527 | ## confdefs.h. ## |
|---|
| 1528 | ## ----------- ## |
|---|
| 1529 | _ASBOX |
|---|
| 1530 | echo |
|---|
| 1531 | cat confdefs.h |
|---|
| 1532 | echo |
|---|
| 1533 | fi |
|---|
| 1534 | test "$ac_signal" != 0 && |
|---|
| 1535 | echo "$as_me: caught signal $ac_signal" |
|---|
| 1536 | echo "$as_me: exit $exit_status" |
|---|
| 1537 | } >&5 |
|---|
| 1538 | rm -f core *.core core.conftest.* && |
|---|
| 1539 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|---|
| 1540 | exit $exit_status |
|---|
| 1541 | ' 0 |
|---|
| 1542 | for ac_signal in 1 2 13 15; do |
|---|
| 1543 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|---|
| 1544 | done |
|---|
| 1545 | ac_signal=0 |
|---|
| 1546 | |
|---|
| 1547 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|---|
| 1548 | rm -f -r conftest* confdefs.h |
|---|
| 1549 | |
|---|
| 1550 | # Predefined preprocessor variables. |
|---|
| 1551 | |
|---|
| 1552 | cat >>confdefs.h <<_ACEOF |
|---|
| 1553 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|---|
| 1554 | _ACEOF |
|---|
| 1555 | |
|---|
| 1556 | |
|---|
| 1557 | cat >>confdefs.h <<_ACEOF |
|---|
| 1558 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|---|
| 1559 | _ACEOF |
|---|
| 1560 | |
|---|
| 1561 | |
|---|
| 1562 | cat >>confdefs.h <<_ACEOF |
|---|
| 1563 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|---|
| 1564 | _ACEOF |
|---|
| 1565 | |
|---|
| 1566 | |
|---|
| 1567 | cat >>confdefs.h <<_ACEOF |
|---|
| 1568 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|---|
| 1569 | _ACEOF |
|---|
| 1570 | |
|---|
| 1571 | |
|---|
| 1572 | cat >>confdefs.h <<_ACEOF |
|---|
| 1573 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|---|
| 1574 | _ACEOF |
|---|
| 1575 | |
|---|
| 1576 | |
|---|
| 1577 | # Let the site file select an alternate cache file if it wants to. |
|---|
| 1578 | # Prefer explicitly selected file to automatically selected ones. |
|---|
| 1579 | if test -n "$CONFIG_SITE"; then |
|---|
| 1580 | set x "$CONFIG_SITE" |
|---|
| 1581 | elif test "x$prefix" != xNONE; then |
|---|
| 1582 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
|---|
| 1583 | else |
|---|
| 1584 | set x "$ac_default_prefix/share/config.site" \ |
|---|
| 1585 | "$ac_default_prefix/etc/config.site" |
|---|
| 1586 | fi |
|---|
| 1587 | shift |
|---|
| 1588 | for ac_site_file |
|---|
| 1589 | do |
|---|
| 1590 | if test -r "$ac_site_file"; then |
|---|
| 1591 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|---|
| 1592 | echo "$as_me: loading site script $ac_site_file" >&6;} |
|---|
| 1593 | sed 's/^/| /' "$ac_site_file" >&5 |
|---|
| 1594 | . "$ac_site_file" |
|---|
| 1595 | fi |
|---|
| 1596 | done |
|---|
| 1597 | |
|---|
| 1598 | if test -r "$cache_file"; then |
|---|
| 1599 | # Some versions of bash will fail to source /dev/null (special |
|---|
| 1600 | # files actually), so we avoid doing that. |
|---|
| 1601 | if test -f "$cache_file"; then |
|---|
| 1602 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|---|
| 1603 | echo "$as_me: loading cache $cache_file" >&6;} |
|---|
| 1604 | case $cache_file in |
|---|
| 1605 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
|---|
| 1606 | *) . "./$cache_file";; |
|---|
| 1607 | esac |
|---|
| 1608 | fi |
|---|
| 1609 | else |
|---|
| 1610 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|---|
| 1611 | echo "$as_me: creating cache $cache_file" >&6;} |
|---|
| 1612 | >$cache_file |
|---|
| 1613 | fi |
|---|
| 1614 | |
|---|
| 1615 | # Check that the precious variables saved in the cache have kept the same |
|---|
| 1616 | # value. |
|---|
| 1617 | ac_cache_corrupted=false |
|---|
| 1618 | for ac_var in $ac_precious_vars; do |
|---|
| 1619 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|---|
| 1620 | eval ac_new_set=\$ac_env_${ac_var}_set |
|---|
| 1621 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|---|
| 1622 | eval ac_new_val=\$ac_env_${ac_var}_value |
|---|
| 1623 | case $ac_old_set,$ac_new_set in |
|---|
| 1624 | set,) |
|---|
| 1625 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|---|
| 1626 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|---|
| 1627 | ac_cache_corrupted=: ;; |
|---|
| 1628 | ,set) |
|---|
| 1629 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|---|
| 1630 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|---|
| 1631 | ac_cache_corrupted=: ;; |
|---|
| 1632 | ,);; |
|---|
| 1633 | *) |
|---|
| 1634 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|---|
| 1635 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|---|
| 1636 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|---|
| 1637 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|---|
| 1638 | echo "$as_me: former value: $ac_old_val" >&2;} |
|---|
| 1639 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|---|
| 1640 | echo "$as_me: current value: $ac_new_val" >&2;} |
|---|
| 1641 | ac_cache_corrupted=: |
|---|
| 1642 | fi;; |
|---|
| 1643 | esac |
|---|
| 1644 | # Pass precious variables to config.status. |
|---|
| 1645 | if test "$ac_new_set" = set; then |
|---|
| 1646 | case $ac_new_val in |
|---|
| 1647 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1648 | *) ac_arg=$ac_var=$ac_new_val ;; |
|---|
| 1649 | esac |
|---|
| 1650 | case " $ac_configure_args " in |
|---|
| 1651 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|---|
| 1652 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|---|
| 1653 | esac |
|---|
| 1654 | fi |
|---|
| 1655 | done |
|---|
| 1656 | if $ac_cache_corrupted; then |
|---|
| 1657 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|---|
| 1658 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|---|
| 1659 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|---|
| 1660 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|---|
| 1661 | { (exit 1); exit 1; }; } |
|---|
| 1662 | fi |
|---|
| 1663 | |
|---|
| 1664 | |
|---|
| 1665 | |
|---|
| 1666 | |
|---|
| 1667 | |
|---|
| 1668 | |
|---|
| 1669 | |
|---|
| 1670 | |
|---|
| 1671 | |
|---|
| 1672 | |
|---|
| 1673 | |
|---|
| 1674 | |
|---|
| 1675 | |
|---|
| 1676 | |
|---|
| 1677 | |
|---|
| 1678 | |
|---|
| 1679 | |
|---|
| 1680 | ac_ext=c |
|---|
| 1681 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 1682 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 1683 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 1684 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 1685 | |
|---|
| 1686 | |
|---|
| 1687 | am__api_version="1.9" |
|---|
| 1688 | ac_aux_dir= |
|---|
| 1689 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|---|
| 1690 | if test -f "$ac_dir/install-sh"; then |
|---|
| 1691 | ac_aux_dir=$ac_dir |
|---|
| 1692 | ac_install_sh="$ac_aux_dir/install-sh -c" |
|---|
| 1693 | break |
|---|
| 1694 | elif test -f "$ac_dir/install.sh"; then |
|---|
| 1695 | ac_aux_dir=$ac_dir |
|---|
| 1696 | ac_install_sh="$ac_aux_dir/install.sh -c" |
|---|
| 1697 | break |
|---|
| 1698 | elif test -f "$ac_dir/shtool"; then |
|---|
| 1699 | ac_aux_dir=$ac_dir |
|---|
| 1700 | ac_install_sh="$ac_aux_dir/shtool install -c" |
|---|
| 1701 | break |
|---|
| 1702 | fi |
|---|
| 1703 | done |
|---|
| 1704 | if test -z "$ac_aux_dir"; then |
|---|
| 1705 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|---|
| 1706 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
|---|
| 1707 | { (exit 1); exit 1; }; } |
|---|
| 1708 | fi |
|---|
| 1709 | |
|---|
| 1710 | # These three variables are undocumented and unsupported, |
|---|
| 1711 | # and are intended to be withdrawn in a future Autoconf release. |
|---|
| 1712 | # They can cause serious problems if a builder's source tree is in a directory |
|---|
| 1713 | # whose full name contains unusual characters. |
|---|
| 1714 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|---|
| 1715 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|---|
| 1716 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|---|
| 1717 | |
|---|
| 1718 | |
|---|
| 1719 | # Find a good install program. We prefer a C program (faster), |
|---|
| 1720 | # so one script is as good as another. But avoid the broken or |
|---|
| 1721 | # incompatible versions: |
|---|
| 1722 | # SysV /etc/install, /usr/sbin/install |
|---|
| 1723 | # SunOS /usr/etc/install |
|---|
| 1724 | # IRIX /sbin/install |
|---|
| 1725 | # AIX /bin/install |
|---|
| 1726 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
|---|
| 1727 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|---|
| 1728 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|---|
| 1729 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|---|
| 1730 | # OS/2's system install, which has a completely different semantic |
|---|
| 1731 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 1732 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|---|
| 1733 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
|---|
| 1734 | if test -z "$INSTALL"; then |
|---|
| 1735 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 1736 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1737 | else |
|---|
| 1738 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1739 | for as_dir in $PATH |
|---|
| 1740 | do |
|---|
| 1741 | IFS=$as_save_IFS |
|---|
| 1742 | test -z "$as_dir" && as_dir=. |
|---|
| 1743 | # Account for people who put trailing slashes in PATH elements. |
|---|
| 1744 | case $as_dir/ in |
|---|
| 1745 | ./ | .// | /cC/* | \ |
|---|
| 1746 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|---|
| 1747 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|---|
| 1748 | /usr/ucb/* ) ;; |
|---|
| 1749 | *) |
|---|
| 1750 | # OSF1 and SCO ODT 3.0 have their own names for install. |
|---|
| 1751 | # Don't use installbsd from OSF since it installs stuff as root |
|---|
| 1752 | # by default. |
|---|
| 1753 | for ac_prog in ginstall scoinst install; do |
|---|
| 1754 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1755 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|---|
| 1756 | if test $ac_prog = install && |
|---|
| 1757 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 1758 | # AIX install. It has an incompatible calling convention. |
|---|
| 1759 | : |
|---|
| 1760 | elif test $ac_prog = install && |
|---|
| 1761 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 1762 | # program-specific install script used by HP pwplus--don't use. |
|---|
| 1763 | : |
|---|
| 1764 | else |
|---|
| 1765 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|---|
| 1766 | break 3 |
|---|
| 1767 | fi |
|---|
| 1768 | fi |
|---|
| 1769 | done |
|---|
| 1770 | done |
|---|
| 1771 | ;; |
|---|
| 1772 | esac |
|---|
| 1773 | done |
|---|
| 1774 | IFS=$as_save_IFS |
|---|
| 1775 | |
|---|
| 1776 | |
|---|
| 1777 | fi |
|---|
| 1778 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 1779 | INSTALL=$ac_cv_path_install |
|---|
| 1780 | else |
|---|
| 1781 | # As a last resort, use the slow shell script. Don't cache a |
|---|
| 1782 | # value for INSTALL within a source directory, because that will |
|---|
| 1783 | # break other packages using the cache if that directory is |
|---|
| 1784 | # removed, or if the value is a relative name. |
|---|
| 1785 | INSTALL=$ac_install_sh |
|---|
| 1786 | fi |
|---|
| 1787 | fi |
|---|
| 1788 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|---|
| 1789 | echo "${ECHO_T}$INSTALL" >&6; } |
|---|
| 1790 | |
|---|
| 1791 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|---|
| 1792 | # It thinks the first close brace ends the variable substitution. |
|---|
| 1793 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|---|
| 1794 | |
|---|
| 1795 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|---|
| 1796 | |
|---|
| 1797 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|---|
| 1798 | |
|---|
| 1799 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|---|
| 1800 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
|---|
| 1801 | # Just in case |
|---|
| 1802 | sleep 1 |
|---|
| 1803 | echo timestamp > conftest.file |
|---|
| 1804 | # Do `set' in a subshell so we don't clobber the current shell's |
|---|
| 1805 | # arguments. Must try -L first in case configure is actually a |
|---|
| 1806 | # symlink; some systems play weird games with the mod time of symlinks |
|---|
| 1807 | # (eg FreeBSD returns the mod time of the symlink's containing |
|---|
| 1808 | # directory). |
|---|
| 1809 | if ( |
|---|
| 1810 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|---|
| 1811 | if test "$*" = "X"; then |
|---|
| 1812 | # -L didn't work. |
|---|
| 1813 | set X `ls -t $srcdir/configure conftest.file` |
|---|
| 1814 | fi |
|---|
| 1815 | rm -f conftest.file |
|---|
| 1816 | if test "$*" != "X $srcdir/configure conftest.file" \ |
|---|
| 1817 | && test "$*" != "X conftest.file $srcdir/configure"; then |
|---|
| 1818 | |
|---|
| 1819 | # If neither matched, then we have a broken ls. This can happen |
|---|
| 1820 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
|---|
| 1821 | # broken ls alias from the environment. This has actually |
|---|
| 1822 | # happened. Such a system could not be considered "sane". |
|---|
| 1823 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|---|
| 1824 | alias in your environment" >&5 |
|---|
| 1825 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|---|
| 1826 | alias in your environment" >&2;} |
|---|
| 1827 | { (exit 1); exit 1; }; } |
|---|
| 1828 | fi |
|---|
| 1829 | |
|---|
| 1830 | test "$2" = conftest.file |
|---|
| 1831 | ) |
|---|
| 1832 | then |
|---|
| 1833 | # Ok. |
|---|
| 1834 | : |
|---|
| 1835 | else |
|---|
| 1836 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|---|
| 1837 | Check your system clock" >&5 |
|---|
| 1838 | echo "$as_me: error: newly created file is older than distributed files! |
|---|
| 1839 | Check your system clock" >&2;} |
|---|
| 1840 | { (exit 1); exit 1; }; } |
|---|
| 1841 | fi |
|---|
| 1842 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 1843 | echo "${ECHO_T}yes" >&6; } |
|---|
| 1844 | test "$program_prefix" != NONE && |
|---|
| 1845 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|---|
| 1846 | # Use a double $ so make ignores it. |
|---|
| 1847 | test "$program_suffix" != NONE && |
|---|
| 1848 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|---|
| 1849 | # Double any \ or $. echo might interpret backslashes. |
|---|
| 1850 | # By default was `s,x,x', remove it if useless. |
|---|
| 1851 | cat <<\_ACEOF >conftest.sed |
|---|
| 1852 | s/[\\$]/&&/g;s/;s,x,x,$// |
|---|
| 1853 | _ACEOF |
|---|
| 1854 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|---|
| 1855 | rm -f conftest.sed |
|---|
| 1856 | |
|---|
| 1857 | # expand $ac_aux_dir to an absolute path |
|---|
| 1858 | am_aux_dir=`cd $ac_aux_dir && pwd` |
|---|
| 1859 | |
|---|
| 1860 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|---|
| 1861 | # Use eval to expand $SHELL |
|---|
| 1862 | if eval "$MISSING --run true"; then |
|---|
| 1863 | am_missing_run="$MISSING --run " |
|---|
| 1864 | else |
|---|
| 1865 | am_missing_run= |
|---|
| 1866 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
|---|
| 1867 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|---|
| 1868 | fi |
|---|
| 1869 | |
|---|
| 1870 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
|---|
| 1871 | # We used to keeping the `.' as first argument, in order to |
|---|
| 1872 | # allow $(mkdir_p) to be used without argument. As in |
|---|
| 1873 | # $(mkdir_p) $(somedir) |
|---|
| 1874 | # where $(somedir) is conditionally defined. However this is wrong |
|---|
| 1875 | # for two reasons: |
|---|
| 1876 | # 1. if the package is installed by a user who cannot write `.' |
|---|
| 1877 | # make install will fail, |
|---|
| 1878 | # 2. the above comment should most certainly read |
|---|
| 1879 | # $(mkdir_p) $(DESTDIR)$(somedir) |
|---|
| 1880 | # so it does not work when $(somedir) is undefined and |
|---|
| 1881 | # $(DESTDIR) is not. |
|---|
| 1882 | # To support the latter case, we have to write |
|---|
| 1883 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
|---|
| 1884 | # so the `.' trick is pointless. |
|---|
| 1885 | mkdir_p='mkdir -p --' |
|---|
| 1886 | else |
|---|
| 1887 | # On NextStep and OpenStep, the `mkdir' command does not |
|---|
| 1888 | # recognize any option. It will interpret all options as |
|---|
| 1889 | # directories to create, and then abort because `.' already |
|---|
| 1890 | # exists. |
|---|
| 1891 | for d in ./-p ./--version; |
|---|
| 1892 | do |
|---|
| 1893 | test -d $d && rmdir $d |
|---|
| 1894 | done |
|---|
| 1895 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
|---|
| 1896 | if test -f "$ac_aux_dir/mkinstalldirs"; then |
|---|
| 1897 | mkdir_p='$(mkinstalldirs)' |
|---|
| 1898 | else |
|---|
| 1899 | mkdir_p='$(install_sh) -d' |
|---|
| 1900 | fi |
|---|
| 1901 | fi |
|---|
| 1902 | |
|---|
| 1903 | for ac_prog in gawk mawk nawk awk |
|---|
| 1904 | do |
|---|
| 1905 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|---|
| 1906 | set dummy $ac_prog; ac_word=$2 |
|---|
| 1907 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 1908 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 1909 | if test "${ac_cv_prog_AWK+set}" = set; then |
|---|
| 1910 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1911 | else |
|---|
| 1912 | if test -n "$AWK"; then |
|---|
| 1913 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|---|
| 1914 | else |
|---|
| 1915 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1916 | for as_dir in $PATH |
|---|
| 1917 | do |
|---|
| 1918 | IFS=$as_save_IFS |
|---|
| 1919 | test -z "$as_dir" && as_dir=. |
|---|
| 1920 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1921 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 1922 | ac_cv_prog_AWK="$ac_prog" |
|---|
| 1923 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 1924 | break 2 |
|---|
| 1925 | fi |
|---|
| 1926 | done |
|---|
| 1927 | done |
|---|
| 1928 | IFS=$as_save_IFS |
|---|
| 1929 | |
|---|
| 1930 | fi |
|---|
| 1931 | fi |
|---|
| 1932 | AWK=$ac_cv_prog_AWK |
|---|
| 1933 | if test -n "$AWK"; then |
|---|
| 1934 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
|---|
| 1935 | echo "${ECHO_T}$AWK" >&6; } |
|---|
| 1936 | else |
|---|
| 1937 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1938 | echo "${ECHO_T}no" >&6; } |
|---|
| 1939 | fi |
|---|
| 1940 | |
|---|
| 1941 | |
|---|
| 1942 | test -n "$AWK" && break |
|---|
| 1943 | done |
|---|
| 1944 | |
|---|
| 1945 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|---|
| 1946 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
|---|
| 1947 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|---|
| 1948 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 1949 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 1950 | else |
|---|
| 1951 | cat >conftest.make <<\_ACEOF |
|---|
| 1952 | SHELL = /bin/sh |
|---|
| 1953 | all: |
|---|
| 1954 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|---|
| 1955 | _ACEOF |
|---|
| 1956 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|---|
| 1957 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|---|
| 1958 | *@@@%%%=?*=@@@%%%*) |
|---|
| 1959 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
|---|
| 1960 | *) |
|---|
| 1961 | eval ac_cv_prog_make_${ac_make}_set=no;; |
|---|
| 1962 | esac |
|---|
| 1963 | rm -f conftest.make |
|---|
| 1964 | fi |
|---|
| 1965 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|---|
| 1966 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 1967 | echo "${ECHO_T}yes" >&6; } |
|---|
| 1968 | SET_MAKE= |
|---|
| 1969 | else |
|---|
| 1970 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 1971 | echo "${ECHO_T}no" >&6; } |
|---|
| 1972 | SET_MAKE="MAKE=${MAKE-make}" |
|---|
| 1973 | fi |
|---|
| 1974 | |
|---|
| 1975 | rm -rf .tst 2>/dev/null |
|---|
| 1976 | mkdir .tst 2>/dev/null |
|---|
| 1977 | if test -d .tst; then |
|---|
| 1978 | am__leading_dot=. |
|---|
| 1979 | else |
|---|
| 1980 | am__leading_dot=_ |
|---|
| 1981 | fi |
|---|
| 1982 | rmdir .tst 2>/dev/null |
|---|
| 1983 | |
|---|
| 1984 | # test to see if srcdir already configured |
|---|
| 1985 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|---|
| 1986 | test -f $srcdir/config.status; then |
|---|
| 1987 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|---|
| 1988 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|---|
| 1989 | { (exit 1); exit 1; }; } |
|---|
| 1990 | fi |
|---|
| 1991 | |
|---|
| 1992 | # test whether we have cygpath |
|---|
| 1993 | if test -z "$CYGPATH_W"; then |
|---|
| 1994 | if (cygpath --version) >/dev/null 2>/dev/null; then |
|---|
| 1995 | CYGPATH_W='cygpath -w' |
|---|
| 1996 | else |
|---|
| 1997 | CYGPATH_W=echo |
|---|
| 1998 | fi |
|---|
| 1999 | fi |
|---|
| 2000 | |
|---|
| 2001 | |
|---|
| 2002 | # Define the identity of the package. |
|---|
| 2003 | PACKAGE=lifeglut |
|---|
| 2004 | VERSION=0.1 |
|---|
| 2005 | |
|---|
| 2006 | |
|---|
| 2007 | cat >>confdefs.h <<_ACEOF |
|---|
| 2008 | #define PACKAGE "$PACKAGE" |
|---|
| 2009 | _ACEOF |
|---|
| 2010 | |
|---|
| 2011 | |
|---|
| 2012 | cat >>confdefs.h <<_ACEOF |
|---|
| 2013 | #define VERSION "$VERSION" |
|---|
| 2014 | _ACEOF |
|---|
| 2015 | |
|---|
| 2016 | # Some tools Automake needs. |
|---|
| 2017 | |
|---|
| 2018 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|---|
| 2019 | |
|---|
| 2020 | |
|---|
| 2021 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|---|
| 2022 | |
|---|
| 2023 | |
|---|
| 2024 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|---|
| 2025 | |
|---|
| 2026 | |
|---|
| 2027 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|---|
| 2028 | |
|---|
| 2029 | |
|---|
| 2030 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|---|
| 2031 | |
|---|
| 2032 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|---|
| 2033 | |
|---|
| 2034 | # Installed binaries are usually stripped using `strip' when the user |
|---|
| 2035 | # run `make install-strip'. However `strip' might not be the right |
|---|
| 2036 | # tool to use in cross-compilation environments, therefore Automake |
|---|
| 2037 | # will honor the `STRIP' environment variable to overrule this program. |
|---|
| 2038 | if test "$cross_compiling" != no; then |
|---|
| 2039 | if test -n "$ac_tool_prefix"; then |
|---|
| 2040 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|---|
| 2041 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|---|
| 2042 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2043 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2044 | if test "${ac_cv_prog_STRIP+set}" = set; then |
|---|
| 2045 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2046 | else |
|---|
| 2047 | if test -n "$STRIP"; then |
|---|
| 2048 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|---|
| 2049 | else |
|---|
| 2050 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2051 | for as_dir in $PATH |
|---|
| 2052 | do |
|---|
| 2053 | IFS=$as_save_IFS |
|---|
| 2054 | test -z "$as_dir" && as_dir=. |
|---|
| 2055 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2056 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2057 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|---|
| 2058 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2059 | break 2 |
|---|
| 2060 | fi |
|---|
| 2061 | done |
|---|
| 2062 | done |
|---|
| 2063 | IFS=$as_save_IFS |
|---|
| 2064 | |
|---|
| 2065 | fi |
|---|
| 2066 | fi |
|---|
| 2067 | STRIP=$ac_cv_prog_STRIP |
|---|
| 2068 | if test -n "$STRIP"; then |
|---|
| 2069 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
|---|
| 2070 | echo "${ECHO_T}$STRIP" >&6; } |
|---|
| 2071 | else |
|---|
| 2072 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2073 | echo "${ECHO_T}no" >&6; } |
|---|
| 2074 | fi |
|---|
| 2075 | |
|---|
| 2076 | |
|---|
| 2077 | fi |
|---|
| 2078 | if test -z "$ac_cv_prog_STRIP"; then |
|---|
| 2079 | ac_ct_STRIP=$STRIP |
|---|
| 2080 | # Extract the first word of "strip", so it can be a program name with args. |
|---|
| 2081 | set dummy strip; ac_word=$2 |
|---|
| 2082 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2083 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2084 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|---|
| 2085 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2086 | else |
|---|
| 2087 | if test -n "$ac_ct_STRIP"; then |
|---|
| 2088 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|---|
| 2089 | else |
|---|
| 2090 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2091 | for as_dir in $PATH |
|---|
| 2092 | do |
|---|
| 2093 | IFS=$as_save_IFS |
|---|
| 2094 | test -z "$as_dir" && as_dir=. |
|---|
| 2095 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2096 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2097 | ac_cv_prog_ac_ct_STRIP="strip" |
|---|
| 2098 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2099 | break 2 |
|---|
| 2100 | fi |
|---|
| 2101 | done |
|---|
| 2102 | done |
|---|
| 2103 | IFS=$as_save_IFS |
|---|
| 2104 | |
|---|
| 2105 | fi |
|---|
| 2106 | fi |
|---|
| 2107 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|---|
| 2108 | if test -n "$ac_ct_STRIP"; then |
|---|
| 2109 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|---|
| 2110 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
|---|
| 2111 | else |
|---|
| 2112 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2113 | echo "${ECHO_T}no" >&6; } |
|---|
| 2114 | fi |
|---|
| 2115 | |
|---|
| 2116 | if test "x$ac_ct_STRIP" = x; then |
|---|
| 2117 | STRIP=":" |
|---|
| 2118 | else |
|---|
| 2119 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2120 | yes:) |
|---|
| 2121 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2122 | whose name does not start with the host triplet. If you think this |
|---|
| 2123 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 2124 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2125 | whose name does not start with the host triplet. If you think this |
|---|
| 2126 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 2127 | ac_tool_warned=yes ;; |
|---|
| 2128 | esac |
|---|
| 2129 | STRIP=$ac_ct_STRIP |
|---|
| 2130 | fi |
|---|
| 2131 | else |
|---|
| 2132 | STRIP="$ac_cv_prog_STRIP" |
|---|
| 2133 | fi |
|---|
| 2134 | |
|---|
| 2135 | fi |
|---|
| 2136 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|---|
| 2137 | |
|---|
| 2138 | # We need awk for the "check" target. The system "awk" is bad on |
|---|
| 2139 | # some platforms. |
|---|
| 2140 | # Always define AMTAR for backward compatibility. |
|---|
| 2141 | |
|---|
| 2142 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|---|
| 2143 | |
|---|
| 2144 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|---|
| 2145 | |
|---|
| 2146 | |
|---|
| 2147 | |
|---|
| 2148 | |
|---|
| 2149 | |
|---|
| 2150 | |
|---|
| 2151 | CFLAGS="-Wall -O3 -msse2" |
|---|
| 2152 | |
|---|
| 2153 | |
|---|
| 2154 | # Check whether --enable-debug was given. |
|---|
| 2155 | if test "${enable_debug+set}" = set; then |
|---|
| 2156 | enableval=$enable_debug; if test x$enableval = xyes; then |
|---|
| 2157 | CFLAGS="-Wall -ggdb -O2 -msse2" |
|---|
| 2158 | fi |
|---|
| 2159 | fi |
|---|
| 2160 | |
|---|
| 2161 | |
|---|
| 2162 | # Check whether --enable-opengl was given. |
|---|
| 2163 | if test "${enable_opengl+set}" = set; then |
|---|
| 2164 | enableval=$enable_opengl; if test x$enableval = xyes; then |
|---|
| 2165 | useopengl="true" |
|---|
| 2166 | fi |
|---|
| 2167 | else |
|---|
| 2168 | useopengl="true" |
|---|
| 2169 | |
|---|
| 2170 | fi |
|---|
| 2171 | |
|---|
| 2172 | |
|---|
| 2173 | if test -n "$ac_tool_prefix"; then |
|---|
| 2174 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|---|
| 2175 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|---|
| 2176 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2177 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2178 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
|---|
| 2179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2180 | else |
|---|
| 2181 | if test -n "$RANLIB"; then |
|---|
| 2182 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|---|
| 2183 | else |
|---|
| 2184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2185 | for as_dir in $PATH |
|---|
| 2186 | do |
|---|
| 2187 | IFS=$as_save_IFS |
|---|
| 2188 | test -z "$as_dir" && as_dir=. |
|---|
| 2189 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2190 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2191 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|---|
| 2192 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2193 | break 2 |
|---|
| 2194 | fi |
|---|
| 2195 | done |
|---|
| 2196 | done |
|---|
| 2197 | IFS=$as_save_IFS |
|---|
| 2198 | |
|---|
| 2199 | fi |
|---|
| 2200 | fi |
|---|
| 2201 | RANLIB=$ac_cv_prog_RANLIB |
|---|
| 2202 | if test -n "$RANLIB"; then |
|---|
| 2203 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|---|
| 2204 | echo "${ECHO_T}$RANLIB" >&6; } |
|---|
| 2205 | else |
|---|
| 2206 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2207 | echo "${ECHO_T}no" >&6; } |
|---|
| 2208 | fi |
|---|
| 2209 | |
|---|
| 2210 | |
|---|
| 2211 | fi |
|---|
| 2212 | if test -z "$ac_cv_prog_RANLIB"; then |
|---|
| 2213 | ac_ct_RANLIB=$RANLIB |
|---|
| 2214 | # Extract the first word of "ranlib", so it can be a program name with args. |
|---|
| 2215 | set dummy ranlib; ac_word=$2 |
|---|
| 2216 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2217 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2218 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|---|
| 2219 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2220 | else |
|---|
| 2221 | if test -n "$ac_ct_RANLIB"; then |
|---|
| 2222 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|---|
| 2223 | else |
|---|
| 2224 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2225 | for as_dir in $PATH |
|---|
| 2226 | do |
|---|
| 2227 | IFS=$as_save_IFS |
|---|
| 2228 | test -z "$as_dir" && as_dir=. |
|---|
| 2229 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2230 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2231 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
|---|
| 2232 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2233 | break 2 |
|---|
| 2234 | fi |
|---|
| 2235 | done |
|---|
| 2236 | done |
|---|
| 2237 | IFS=$as_save_IFS |
|---|
| 2238 | |
|---|
| 2239 | fi |
|---|
| 2240 | fi |
|---|
| 2241 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|---|
| 2242 | if test -n "$ac_ct_RANLIB"; then |
|---|
| 2243 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|---|
| 2244 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
|---|
| 2245 | else |
|---|
| 2246 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2247 | echo "${ECHO_T}no" >&6; } |
|---|
| 2248 | fi |
|---|
| 2249 | |
|---|
| 2250 | if test "x$ac_ct_RANLIB" = x; then |
|---|
| 2251 | RANLIB=":" |
|---|
| 2252 | else |
|---|
| 2253 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2254 | yes:) |
|---|
| 2255 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2256 | whose name does not start with the host triplet. If you think this |
|---|
| 2257 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 2258 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2259 | whose name does not start with the host triplet. If you think this |
|---|
| 2260 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 2261 | ac_tool_warned=yes ;; |
|---|
| 2262 | esac |
|---|
| 2263 | RANLIB=$ac_ct_RANLIB |
|---|
| 2264 | fi |
|---|
| 2265 | else |
|---|
| 2266 | RANLIB="$ac_cv_prog_RANLIB" |
|---|
| 2267 | fi |
|---|
| 2268 | |
|---|
| 2269 | ac_ext=c |
|---|
| 2270 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 2271 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 2272 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 2273 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 2274 | if test -n "$ac_tool_prefix"; then |
|---|
| 2275 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|---|
| 2276 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|---|
| 2277 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2278 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2279 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 2280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2281 | else |
|---|
| 2282 | if test -n "$CC"; then |
|---|
| 2283 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 2284 | else |
|---|
| 2285 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2286 | for as_dir in $PATH |
|---|
| 2287 | do |
|---|
| 2288 | IFS=$as_save_IFS |
|---|
| 2289 | test -z "$as_dir" && as_dir=. |
|---|
| 2290 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2291 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2292 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|---|
| 2293 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2294 | break 2 |
|---|
| 2295 | fi |
|---|
| 2296 | done |
|---|
| 2297 | done |
|---|
| 2298 | IFS=$as_save_IFS |
|---|
| 2299 | |
|---|
| 2300 | fi |
|---|
| 2301 | fi |
|---|
| 2302 | CC=$ac_cv_prog_CC |
|---|
| 2303 | if test -n "$CC"; then |
|---|
| 2304 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 2305 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 2306 | else |
|---|
| 2307 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2308 | echo "${ECHO_T}no" >&6; } |
|---|
| 2309 | fi |
|---|
| 2310 | |
|---|
| 2311 | |
|---|
| 2312 | fi |
|---|
| 2313 | if test -z "$ac_cv_prog_CC"; then |
|---|
| 2314 | ac_ct_CC=$CC |
|---|
| 2315 | # Extract the first word of "gcc", so it can be a program name with args. |
|---|
| 2316 | set dummy gcc; ac_word=$2 |
|---|
| 2317 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2318 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2319 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|---|
| 2320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2321 | else |
|---|
| 2322 | if test -n "$ac_ct_CC"; then |
|---|
| 2323 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|---|
| 2324 | else |
|---|
| 2325 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2326 | for as_dir in $PATH |
|---|
| 2327 | do |
|---|
| 2328 | IFS=$as_save_IFS |
|---|
| 2329 | test -z "$as_dir" && as_dir=. |
|---|
| 2330 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2331 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2332 | ac_cv_prog_ac_ct_CC="gcc" |
|---|
| 2333 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2334 | break 2 |
|---|
| 2335 | fi |
|---|
| 2336 | done |
|---|
| 2337 | done |
|---|
| 2338 | IFS=$as_save_IFS |
|---|
| 2339 | |
|---|
| 2340 | fi |
|---|
| 2341 | fi |
|---|
| 2342 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|---|
| 2343 | if test -n "$ac_ct_CC"; then |
|---|
| 2344 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|---|
| 2345 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|---|
| 2346 | else |
|---|
| 2347 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2348 | echo "${ECHO_T}no" >&6; } |
|---|
| 2349 | fi |
|---|
| 2350 | |
|---|
| 2351 | if test "x$ac_ct_CC" = x; then |
|---|
| 2352 | CC="" |
|---|
| 2353 | else |
|---|
| 2354 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2355 | yes:) |
|---|
| 2356 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2357 | whose name does not start with the host triplet. If you think this |
|---|
| 2358 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 2359 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2360 | whose name does not start with the host triplet. If you think this |
|---|
| 2361 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 2362 | ac_tool_warned=yes ;; |
|---|
| 2363 | esac |
|---|
| 2364 | CC=$ac_ct_CC |
|---|
| 2365 | fi |
|---|
| 2366 | else |
|---|
| 2367 | CC="$ac_cv_prog_CC" |
|---|
| 2368 | fi |
|---|
| 2369 | |
|---|
| 2370 | if test -z "$CC"; then |
|---|
| 2371 | if test -n "$ac_tool_prefix"; then |
|---|
| 2372 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|---|
| 2373 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|---|
| 2374 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2375 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2376 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 2377 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2378 | else |
|---|
| 2379 | if test -n "$CC"; then |
|---|
| 2380 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 2381 | else |
|---|
| 2382 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2383 | for as_dir in $PATH |
|---|
| 2384 | do |
|---|
| 2385 | IFS=$as_save_IFS |
|---|
| 2386 | test -z "$as_dir" && as_dir=. |
|---|
| 2387 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2388 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2389 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
|---|
| 2390 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2391 | break 2 |
|---|
| 2392 | fi |
|---|
| 2393 | done |
|---|
| 2394 | done |
|---|
| 2395 | IFS=$as_save_IFS |
|---|
| 2396 | |
|---|
| 2397 | fi |
|---|
| 2398 | fi |
|---|
| 2399 | CC=$ac_cv_prog_CC |
|---|
| 2400 | if test -n "$CC"; then |
|---|
| 2401 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 2402 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 2403 | else |
|---|
| 2404 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2405 | echo "${ECHO_T}no" >&6; } |
|---|
| 2406 | fi |
|---|
| 2407 | |
|---|
| 2408 | |
|---|
| 2409 | fi |
|---|
| 2410 | fi |
|---|
| 2411 | if test -z "$CC"; then |
|---|
| 2412 | # Extract the first word of "cc", so it can be a program name with args. |
|---|
| 2413 | set dummy cc; ac_word=$2 |
|---|
| 2414 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2415 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2416 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 2417 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2418 | else |
|---|
| 2419 | if test -n "$CC"; then |
|---|
| 2420 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 2421 | else |
|---|
| 2422 | ac_prog_rejected=no |
|---|
| 2423 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2424 | for as_dir in $PATH |
|---|
| 2425 | do |
|---|
| 2426 | IFS=$as_save_IFS |
|---|
| 2427 | test -z "$as_dir" && as_dir=. |
|---|
| 2428 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2429 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2430 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|---|
| 2431 | ac_prog_rejected=yes |
|---|
| 2432 | continue |
|---|
| 2433 | fi |
|---|
| 2434 | ac_cv_prog_CC="cc" |
|---|
| 2435 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2436 | break 2 |
|---|
| 2437 | fi |
|---|
| 2438 | done |
|---|
| 2439 | done |
|---|
| 2440 | IFS=$as_save_IFS |
|---|
| 2441 | |
|---|
| 2442 | if test $ac_prog_rejected = yes; then |
|---|
| 2443 | # We found a bogon in the path, so make sure we never use it. |
|---|
| 2444 | set dummy $ac_cv_prog_CC |
|---|
| 2445 | shift |
|---|
| 2446 | if test $# != 0; then |
|---|
| 2447 | # We chose a different compiler from the bogus one. |
|---|
| 2448 | # However, it has the same basename, so the bogon will be chosen |
|---|
| 2449 | # first if we set CC to just the basename; use the full file name. |
|---|
| 2450 | shift |
|---|
| 2451 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|---|
| 2452 | fi |
|---|
| 2453 | fi |
|---|
| 2454 | fi |
|---|
| 2455 | fi |
|---|
| 2456 | CC=$ac_cv_prog_CC |
|---|
| 2457 | if test -n "$CC"; then |
|---|
| 2458 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 2459 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 2460 | else |
|---|
| 2461 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2462 | echo "${ECHO_T}no" >&6; } |
|---|
| 2463 | fi |
|---|
| 2464 | |
|---|
| 2465 | |
|---|
| 2466 | fi |
|---|
| 2467 | if test -z "$CC"; then |
|---|
| 2468 | if test -n "$ac_tool_prefix"; then |
|---|
| 2469 | for ac_prog in cl.exe |
|---|
| 2470 | do |
|---|
| 2471 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|---|
| 2472 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|---|
| 2473 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2474 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2475 | if test "${ac_cv_prog_CC+set}" = set; then |
|---|
| 2476 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2477 | else |
|---|
| 2478 | if test -n "$CC"; then |
|---|
| 2479 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|---|
| 2480 | else |
|---|
| 2481 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2482 | for as_dir in $PATH |
|---|
| 2483 | do |
|---|
| 2484 | IFS=$as_save_IFS |
|---|
| 2485 | test -z "$as_dir" && as_dir=. |
|---|
| 2486 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2487 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2488 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|---|
| 2489 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2490 | break 2 |
|---|
| 2491 | fi |
|---|
| 2492 | done |
|---|
| 2493 | done |
|---|
| 2494 | IFS=$as_save_IFS |
|---|
| 2495 | |
|---|
| 2496 | fi |
|---|
| 2497 | fi |
|---|
| 2498 | CC=$ac_cv_prog_CC |
|---|
| 2499 | if test -n "$CC"; then |
|---|
| 2500 | { echo "$as_me:$LINENO: result: $CC" >&5 |
|---|
| 2501 | echo "${ECHO_T}$CC" >&6; } |
|---|
| 2502 | else |
|---|
| 2503 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2504 | echo "${ECHO_T}no" >&6; } |
|---|
| 2505 | fi |
|---|
| 2506 | |
|---|
| 2507 | |
|---|
| 2508 | test -n "$CC" && break |
|---|
| 2509 | done |
|---|
| 2510 | fi |
|---|
| 2511 | if test -z "$CC"; then |
|---|
| 2512 | ac_ct_CC=$CC |
|---|
| 2513 | for ac_prog in cl.exe |
|---|
| 2514 | do |
|---|
| 2515 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|---|
| 2516 | set dummy $ac_prog; ac_word=$2 |
|---|
| 2517 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2518 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|---|
| 2519 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|---|
| 2520 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2521 | else |
|---|
| 2522 | if test -n "$ac_ct_CC"; then |
|---|
| 2523 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|---|
| 2524 | else |
|---|
| 2525 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2526 | for as_dir in $PATH |
|---|
| 2527 | do |
|---|
| 2528 | IFS=$as_save_IFS |
|---|
| 2529 | test -z "$as_dir" && as_dir=. |
|---|
| 2530 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2531 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2532 | ac_cv_prog_ac_ct_CC="$ac_prog" |
|---|
| 2533 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2534 | break 2 |
|---|
| 2535 | fi |
|---|
| 2536 | done |
|---|
| 2537 | done |
|---|
| 2538 | IFS=$as_save_IFS |
|---|
| 2539 | |
|---|
| 2540 | fi |
|---|
| 2541 | fi |
|---|
| 2542 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|---|
| 2543 | if test -n "$ac_ct_CC"; then |
|---|
| 2544 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|---|
| 2545 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
|---|
| 2546 | else |
|---|
| 2547 | { echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2548 | echo "${ECHO_T}no" >&6; } |
|---|
| 2549 | fi |
|---|
| 2550 | |
|---|
| 2551 | |
|---|
| 2552 | test -n "$ac_ct_CC" && break |
|---|
| 2553 | done |
|---|
| 2554 | |
|---|
| 2555 | if test "x$ac_ct_CC" = x; then |
|---|
| 2556 | CC="" |
|---|
| 2557 | else |
|---|
| 2558 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2559 | yes:) |
|---|
| 2560 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2561 | whose name does not start with the host triplet. If you think this |
|---|
| 2562 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|---|
| 2563 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|---|
| 2564 | whose name does not start with the host triplet. If you think this |
|---|
| 2565 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|---|
| 2566 | ac_tool_warned=yes ;; |
|---|
| 2567 | esac |
|---|
| 2568 | CC=$ac_ct_CC |
|---|
| 2569 | fi |
|---|
| 2570 | fi |
|---|
| 2571 | |
|---|
| 2572 | fi |
|---|
| 2573 | |
|---|
| 2574 | |
|---|
| 2575 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|---|
| 2576 | See \`config.log' for more details." >&5 |
|---|
| 2577 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
|---|
| 2578 | See \`config.log' for more details." >&2;} |
|---|
| 2579 | { (exit 1); exit 1; }; } |
|---|
| 2580 | |
|---|
| 2581 | # Provide some information about the compiler. |
|---|
| 2582 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
|---|
| 2583 | ac_compiler=`set X $ac_compile; echo $2` |
|---|
| 2584 | { (ac_try="$ac_compiler --version >&5" |
|---|
| 2585 | case "(($ac_try" in |
|---|
| 2586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2587 | *) ac_try_echo=$ac_try;; |
|---|
| 2588 | esac |
|---|
| 2589 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2590 | (eval "$ac_compiler --version >&5") 2>&5 |
|---|
| 2591 | ac_status=$? |
|---|
| 2592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2593 | (exit $ac_status); } |
|---|
| 2594 | { (ac_try="$ac_compiler -v >&5" |
|---|
| 2595 | case "(($ac_try" in |
|---|
| 2596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2597 | *) ac_try_echo=$ac_try;; |
|---|
| 2598 | esac |
|---|
| 2599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2600 | (eval "$ac_compiler -v >&5") 2>&5 |
|---|
| 2601 | ac_status=$? |
|---|
| 2602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2603 | (exit $ac_status); } |
|---|
| 2604 | { (ac_try="$ac_compiler -V >&5" |
|---|
| 2605 | case "(($ac_try" in |
|---|
| 2606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2607 | *) ac_try_echo=$ac_try;; |
|---|
| 2608 | esac |
|---|
| 2609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2610 | (eval "$ac_compiler -V >&5") 2>&5 |
|---|
| 2611 | ac_status=$? |
|---|
| 2612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2613 | (exit $ac_status); } |
|---|
| 2614 | |
|---|
| 2615 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2616 | /* confdefs.h. */ |
|---|
| 2617 | _ACEOF |
|---|
| 2618 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2619 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2620 | /* end confdefs.h. */ |
|---|
| 2621 | |
|---|
| 2622 | int |
|---|
| 2623 | main () |
|---|
| 2624 | { |
|---|
| 2625 | |
|---|
| 2626 | ; |
|---|
| 2627 | return 0; |
|---|
| 2628 | } |
|---|
| 2629 | _ACEOF |
|---|
| 2630 | ac_clean_files_save=$ac_clean_files |
|---|
| 2631 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|---|
| 2632 | # Try to create an executable without -o first, disregard a.out. |
|---|
| 2633 | # It will help us diagnose broken compilers, and finding out an intuition |
|---|
| 2634 | # of exeext. |
|---|
| 2635 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|---|
| 2636 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
|---|
| 2637 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|---|
| 2638 | # |
|---|
| 2639 | # List of possible output files, starting from the most likely. |
|---|
| 2640 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|---|
| 2641 | # only as a last resort. b.out is created by i960 compilers. |
|---|
| 2642 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|---|
| 2643 | # |
|---|
| 2644 | # The IRIX 6 linker writes into existing files which may not be |
|---|
| 2645 | # executable, retaining their permissions. Remove them first so a |
|---|
| 2646 | # subsequent execution test works. |
|---|
| 2647 | ac_rmfiles= |
|---|
| 2648 | for ac_file in $ac_files |
|---|
| 2649 | do |
|---|
| 2650 | case $ac_file in |
|---|
| 2651 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|---|
| 2652 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|---|
| 2653 | esac |
|---|
| 2654 | done |
|---|
| 2655 | rm -f $ac_rmfiles |
|---|
| 2656 | |
|---|
| 2657 | if { (ac_try="$ac_link_default" |
|---|
| 2658 | case "(($ac_try" in |
|---|
| 2659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2660 | *) ac_try_echo=$ac_try;; |
|---|
| 2661 | esac |
|---|
| 2662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2663 | (eval "$ac_link_default") 2>&5 |
|---|
| 2664 | ac_status=$? |
|---|
| 2665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2666 | (exit $ac_status); }; then |
|---|
| 2667 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|---|
| 2668 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|---|
| 2669 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
|---|
| 2670 | # so that the user can short-circuit this test for compilers unknown to |
|---|
| 2671 | # Autoconf. |
|---|
| 2672 | for ac_file in $ac_files '' |
|---|
| 2673 | do |
|---|
| 2674 | test -f "$ac_file" || continue |
|---|
| 2675 | case $ac_file in |
|---|
| 2676 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
|---|
| 2677 | ;; |
|---|
| 2678 | [ab].out ) |
|---|
| 2679 | # We found the default executable, but exeext='' is most |
|---|
| 2680 | # certainly right. |
|---|
| 2681 | break;; |
|---|
| 2682 | *.* ) |
|---|
| 2683 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|---|
| 2684 | then :; else |
|---|
| 2685 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|---|
| 2686 | fi |
|---|
| 2687 | # We set ac_cv_exeext here because the later test for it is not |
|---|
| 2688 | # safe: cross compilers may not add the suffix if given an `-o' |
|---|
| 2689 | # argument, so we may need to know it at that point already. |
|---|
| 2690 | # Even if this section looks crufty: it has the advantage of |
|---|
| 2691 | # actually working. |
|---|
| 2692 | break;; |
|---|
| 2693 | * ) |
|---|
| 2694 | break;; |
|---|
| 2695 | esac |
|---|
| 2696 | done |
|---|
| 2697 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
|---|
| 2698 | |
|---|
| 2699 | else |
|---|
| 2700 | ac_file='' |
|---|
| 2701 | fi |
|---|
| 2702 | |
|---|
| 2703 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|---|
| 2704 | echo "${ECHO_T}$ac_file" >&6; } |
|---|
| 2705 | if test -z "$ac_file"; then |
|---|
| 2706 | echo "$as_me: failed program was:" >&5 |
|---|
| 2707 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2708 | |
|---|
| 2709 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|---|
| 2710 | See \`config.log' for more details." >&5 |
|---|
| 2711 | echo "$as_me: error: C compiler cannot create executables |
|---|
| 2712 | See \`config.log' for more details." >&2;} |
|---|
| 2713 | { (exit 77); exit 77; }; } |
|---|
| 2714 | fi |
|---|
| 2715 | |
|---|
| 2716 | ac_exeext=$ac_cv_exeext |
|---|
| 2717 | |
|---|
| 2718 | # Check that the compiler produces executables we can run. If not, either |
|---|
| 2719 | # the compiler is broken, or we cross compile. |
|---|
| 2720 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|---|
| 2721 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
|---|
| 2722 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|---|
| 2723 | # If not cross compiling, check that we can run a simple program. |
|---|
| 2724 | if test "$cross_compiling" != yes; then |
|---|
| 2725 | if { ac_try='./$ac_file' |
|---|
| 2726 | { (case "(($ac_try" in |
|---|
| 2727 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2728 | *) ac_try_echo=$ac_try;; |
|---|
| 2729 | esac |
|---|
| 2730 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2731 | (eval "$ac_try") 2>&5 |
|---|
| 2732 | ac_status=$? |
|---|
| 2733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2734 | (exit $ac_status); }; }; then |
|---|
| 2735 | cross_compiling=no |
|---|
| 2736 | else |
|---|
| 2737 | if test "$cross_compiling" = maybe; then |
|---|
| 2738 | cross_compiling=yes |
|---|
| 2739 | else |
|---|
| 2740 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|---|
| 2741 | If you meant to cross compile, use \`--host'. |
|---|
| 2742 | See \`config.log' for more details." >&5 |
|---|
| 2743 | echo "$as_me: error: cannot run C compiled programs. |
|---|
| 2744 | If you meant to cross compile, use \`--host'. |
|---|
| 2745 | See \`config.log' for more details." >&2;} |
|---|
| 2746 | { (exit 1); exit 1; }; } |
|---|
| 2747 | fi |
|---|
| 2748 | fi |
|---|
| 2749 | fi |
|---|
| 2750 | { echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2751 | echo "${ECHO_T}yes" >&6; } |
|---|
| 2752 | |
|---|
| 2753 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
|---|
| 2754 | ac_clean_files=$ac_clean_files_save |
|---|
| 2755 | # Check that the compiler produces executables we can run. If not, either |
|---|
| 2756 | # the compiler is broken, or we cross compile. |
|---|
| 2757 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|---|
| 2758 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
|---|
| 2759 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|---|
| 2760 | echo "${ECHO_T}$cross_compiling" >&6; } |
|---|
| 2761 | |
|---|
| 2762 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|---|
| 2763 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
|---|
| 2764 | if { (ac_try="$ac_link" |
|---|
| 2765 | case "(($ac_try" in |
|---|
| 2766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2767 | *) ac_try_echo=$ac_try;; |
|---|
| 2768 | esac |
|---|
| 2769 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2770 | (eval "$ac_link") 2>&5 |
|---|
| 2771 | ac_status=$? |
|---|
| 2772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2773 | (exit $ac_status); }; then |
|---|
| 2774 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|---|
| 2775 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|---|
| 2776 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
|---|
| 2777 | # `rm'. |
|---|
| 2778 | for ac_file in conftest.exe conftest conftest.*; do |
|---|
| 2779 | test -f "$ac_file" || continue |
|---|
| 2780 | case $ac_file in |
|---|
| 2781 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|---|
| 2782 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|---|
| 2783 | break;; |
|---|
| 2784 | * ) break;; |
|---|
| 2785 | esac |
|---|
| 2786 | done |
|---|
| 2787 | else |
|---|
| 2788 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|---|
| 2789 | See \`config.log' for more details." >&5 |
|---|
| 2790 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|---|
| 2791 | See \`config.log' for more details." >&2;} |
|---|
| 2792 | { (exit 1); exit 1; }; } |
|---|
| 2793 | fi |
|---|
| 2794 | |
|---|
| 2795 | rm -f conftest$ac_cv_exeext |
|---|
| 2796 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|---|
| 2797 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
|---|
| 2798 | |
|---|
| 2799 | rm -f conftest.$ac_ext |
|---|
| 2800 | EXEEXT=$ac_cv_exeext |
|---|
| 2801 | ac_exeext=$EXEEXT |
|---|
| 2802 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|---|
| 2803 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
|---|
| 2804 | if test "${ac_cv_objext+set}" = set; then |
|---|
| 2805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2806 | else |
|---|
| 2807 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2808 | /* confdefs.h. */ |
|---|
| 2809 | _ACEOF |
|---|
| 2810 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2811 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2812 | /* end confdefs.h. */ |
|---|
| 2813 | |
|---|
| 2814 | int |
|---|
| 2815 | main () |
|---|
| 2816 | { |
|---|
| 2817 | |
|---|
| 2818 | ; |
|---|
| 2819 | return 0; |
|---|
| 2820 | } |
|---|
| 2821 | _ACEOF |
|---|
| 2822 | rm -f conftest.o conftest.obj |
|---|
| 2823 | if { (ac_try="$ac_compile" |
|---|
| 2824 | case "(($ac_try" in |
|---|
| 2825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2826 | *) ac_try_echo=$ac_try;; |
|---|
| 2827 | esac |
|---|
| 2828 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2829 | (eval "$ac_compile") 2>&5 |
|---|
| 2830 | ac_status=$? |
|---|
| 2831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2832 | (exit $ac_status); }; then |
|---|
| 2833 | for ac_file in conftest.o conftest.obj conftest.*; do |
|---|
| 2834 | test -f "$ac_file" || continue; |
|---|
| 2835 | case $ac_file in |
|---|
| 2836 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
|---|
| 2837 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|---|
| 2838 | break;; |
|---|
| 2839 | esac |
|---|
| 2840 | done |
|---|
| 2841 | else |
|---|
| 2842 | echo "$as_me: failed program was:" >&5 |
|---|
| 2843 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2844 | |
|---|
| 2845 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|---|
| 2846 | See \`config.log' for more details." >&5 |
|---|
| 2847 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|---|
| 2848 | See \`config.log' for more details." >&2;} |
|---|
| 2849 | { (exit 1); exit 1; }; } |
|---|
| 2850 | fi |
|---|
| 2851 | |
|---|
| 2852 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|---|
| 2853 | fi |
|---|
| 2854 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|---|
| 2855 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
|---|
| 2856 | OBJEXT=$ac_cv_objext |
|---|
| 2857 | ac_objext=$OBJEXT |
|---|
| 2858 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|---|
| 2859 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
|---|
| 2860 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|---|
| 2861 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2862 | else |
|---|
| 2863 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2864 | /* confdefs.h. */ |
|---|
| 2865 | _ACEOF |
|---|
| 2866 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2867 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2868 | /* end confdefs.h. */ |
|---|
| 2869 | |
|---|
| 2870 | int |
|---|
| 2871 | main () |
|---|
| 2872 | { |
|---|
| 2873 | #ifndef __GNUC__ |
|---|
| 2874 | choke me |
|---|
| 2875 | #endif |
|---|
| 2876 | |
|---|
| 2877 | ; |
|---|
| 2878 | return 0; |
|---|
| 2879 | } |
|---|
| 2880 | _ACEOF |
|---|
| 2881 | rm -f conftest.$ac_objext |
|---|
| 2882 | if { (ac_try="$ac_compile" |
|---|
| 2883 | case "(($ac_try" in |
|---|
| 2884 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2885 | *) ac_try_echo=$ac_try;; |
|---|
| 2886 | esac |
|---|
| 2887 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2888 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2889 | ac_status=$? |
|---|
| 2890 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2891 | rm -f conftest.er1 |
|---|
| 2892 | cat conftest.err >&5 |
|---|
| 2893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2894 | (exit $ac_status); } && { |
|---|
| 2895 | test -z "$ac_c_werror_flag" || |
|---|
| 2896 | test ! -s conftest.err |
|---|
| 2897 | } && test -s conftest.$ac_objext; then |
|---|
| 2898 | ac_compiler_gnu=yes |
|---|
| 2899 | else |
|---|
| 2900 | echo "$as_me: failed program was:" >&5 |
|---|
| 2901 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2902 | |
|---|
| 2903 | ac_compiler_gnu=no |
|---|
| 2904 | fi |
|---|
| 2905 | |
|---|
| 2906 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 2907 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|---|
| 2908 | |
|---|
| 2909 | fi |
|---|
| 2910 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|---|
| 2911 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
|---|
| 2912 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
|---|
| 2913 | ac_test_CFLAGS=${CFLAGS+set} |
|---|
| 2914 | ac_save_CFLAGS=$CFLAGS |
|---|
| 2915 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|---|
| 2916 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
|---|
| 2917 | if test "${ac_cv_prog_cc_g+set}" = set; then |
|---|
| 2918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 2919 | else |
|---|
| 2920 | ac_save_c_werror_flag=$ac_c_werror_flag |
|---|
| 2921 | ac_c_werror_flag=yes |
|---|
| 2922 | ac_cv_prog_cc_g=no |
|---|
| 2923 | CFLAGS="-g" |
|---|
| 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 | |
|---|
| 2931 | int |
|---|
| 2932 | main () |
|---|
| 2933 | { |
|---|
| 2934 | |
|---|
| 2935 | ; |
|---|
| 2936 | return 0; |
|---|
| 2937 | } |
|---|
| 2938 | _ACEOF |
|---|
| 2939 | rm -f conftest.$ac_objext |
|---|
| 2940 | if { (ac_try="$ac_compile" |
|---|
| 2941 | case "(($ac_try" in |
|---|
| 2942 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2943 | *) ac_try_echo=$ac_try;; |
|---|
| 2944 | esac |
|---|
| 2945 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2946 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2947 | ac_status=$? |
|---|
| 2948 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2949 | rm -f conftest.er1 |
|---|
| 2950 | cat conftest.err >&5 |
|---|
| 2951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2952 | (exit $ac_status); } && { |
|---|
| 2953 | test -z "$ac_c_werror_flag" || |
|---|
| 2954 | test ! -s conftest.err |
|---|
| 2955 | } && test -s conftest.$ac_objext; then |
|---|
| 2956 | ac_cv_prog_cc_g=yes |
|---|
| 2957 | else |
|---|
| 2958 | echo "$as_me: failed program was:" >&5 |
|---|
| 2959 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2960 | |
|---|
| 2961 | CFLAGS="" |
|---|
| 2962 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 2963 | /* confdefs.h. */ |
|---|
| 2964 | _ACEOF |
|---|
| 2965 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 2966 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 2967 | /* end confdefs.h. */ |
|---|
| 2968 | |
|---|
| 2969 | int |
|---|
| 2970 | main () |
|---|
| 2971 | { |
|---|
| 2972 | |
|---|
| 2973 | ; |
|---|
| 2974 | return 0; |
|---|
| 2975 | } |
|---|
| 2976 | _ACEOF |
|---|
| 2977 | rm -f conftest.$ac_objext |
|---|
| 2978 | if { (ac_try="$ac_compile" |
|---|
| 2979 | case "(($ac_try" in |
|---|
| 2980 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 2981 | *) ac_try_echo=$ac_try;; |
|---|
| 2982 | esac |
|---|
| 2983 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 2984 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 2985 | ac_status=$? |
|---|
| 2986 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 2987 | rm -f conftest.er1 |
|---|
| 2988 | cat conftest.err >&5 |
|---|
| 2989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2990 | (exit $ac_status); } && { |
|---|
| 2991 | test -z "$ac_c_werror_flag" || |
|---|
| 2992 | test ! -s conftest.err |
|---|
| 2993 | } && test -s conftest.$ac_objext; then |
|---|
| 2994 | : |
|---|
| 2995 | else |
|---|
| 2996 | echo "$as_me: failed program was:" >&5 |
|---|
| 2997 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 2998 | |
|---|
| 2999 | ac_c_werror_flag=$ac_save_c_werror_flag |
|---|
| 3000 | CFLAGS="-g" |
|---|
| 3001 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3002 | /* confdefs.h. */ |
|---|
| 3003 | _ACEOF |
|---|
| 3004 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3005 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3006 | /* end confdefs.h. */ |
|---|
| 3007 | |
|---|
| 3008 | int |
|---|
| 3009 | main () |
|---|
| 3010 | { |
|---|
| 3011 | |
|---|
| 3012 | ; |
|---|
| 3013 | return 0; |
|---|
| 3014 | } |
|---|
| 3015 | _ACEOF |
|---|
| 3016 | rm -f conftest.$ac_objext |
|---|
| 3017 | if { (ac_try="$ac_compile" |
|---|
| 3018 | case "(($ac_try" in |
|---|
| 3019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3020 | *) ac_try_echo=$ac_try;; |
|---|
| 3021 | esac |
|---|
| 3022 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3023 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 3024 | ac_status=$? |
|---|
| 3025 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3026 | rm -f conftest.er1 |
|---|
| 3027 | cat conftest.err >&5 |
|---|
| 3028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3029 | (exit $ac_status); } && { |
|---|
| 3030 | test -z "$ac_c_werror_flag" || |
|---|
| 3031 | test ! -s conftest.err |
|---|
| 3032 | } && test -s conftest.$ac_objext; then |
|---|
| 3033 | ac_cv_prog_cc_g=yes |
|---|
| 3034 | else |
|---|
| 3035 | echo "$as_me: failed program was:" >&5 |
|---|
| 3036 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3037 | |
|---|
| 3038 | |
|---|
| 3039 | fi |
|---|
| 3040 | |
|---|
| 3041 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 3042 | fi |
|---|
| 3043 | |
|---|
| 3044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 3045 | fi |
|---|
| 3046 | |
|---|
| 3047 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|---|
| 3048 | ac_c_werror_flag=$ac_save_c_werror_flag |
|---|
| 3049 | fi |
|---|
| 3050 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|---|
| 3051 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
|---|
| 3052 | if test "$ac_test_CFLAGS" = set; then |
|---|
| 3053 | CFLAGS=$ac_save_CFLAGS |
|---|
| 3054 | elif test $ac_cv_prog_cc_g = yes; then |
|---|
| 3055 | if test "$GCC" = yes; then |
|---|
| 3056 | CFLAGS="-g -O2" |
|---|
| 3057 | else |
|---|
| 3058 | CFLAGS="-g" |
|---|
| 3059 | fi |
|---|
| 3060 | else |
|---|
| 3061 | if test "$GCC" = yes; then |
|---|
| 3062 | CFLAGS="-O2" |
|---|
| 3063 | else |
|---|
| 3064 | CFLAGS= |
|---|
| 3065 | fi |
|---|
| 3066 | fi |
|---|
| 3067 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
|---|
| 3068 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
|---|
| 3069 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
|---|
| 3070 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3071 | else |
|---|
| 3072 | ac_cv_prog_cc_c89=no |
|---|
| 3073 | ac_save_CC=$CC |
|---|
| 3074 | cat >conftest.$ac_ext <<_ACEOF |
|---|
| 3075 | /* confdefs.h. */ |
|---|
| 3076 | _ACEOF |
|---|
| 3077 | cat confdefs.h >>conftest.$ac_ext |
|---|
| 3078 | cat >>conftest.$ac_ext <<_ACEOF |
|---|
| 3079 | /* end confdefs.h. */ |
|---|
| 3080 | #include <stdarg.h> |
|---|
| 3081 | #include <stdio.h> |
|---|
| 3082 | #include <sys/types.h> |
|---|
| 3083 | #include <sys/stat.h> |
|---|
| 3084 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|---|
| 3085 | struct buf { int x; }; |
|---|
| 3086 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|---|
| 3087 | static char *e (p, i) |
|---|
| 3088 | char **p; |
|---|
| 3089 | int i; |
|---|
| 3090 | { |
|---|
| 3091 | return p[i]; |
|---|
| 3092 | } |
|---|
| 3093 | static char *f (char * (*g) (char **, int), char **p, ...) |
|---|
| 3094 | { |
|---|
| 3095 | char *s; |
|---|
| 3096 | va_list v; |
|---|
| 3097 | va_start (v,p); |
|---|
| 3098 | s = g (p, va_arg (v,int)); |
|---|
| 3099 | va_end (v); |
|---|
| 3100 | return s; |
|---|
| 3101 | } |
|---|
| 3102 | |
|---|
| 3103 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|---|
| 3104 | function prototypes and stuff, but not '\xHH' hex character constants. |
|---|
| 3105 | These don't provoke an error unfortunately, instead are silently treated |
|---|
| 3106 | as 'x'. The following induces an error, until -std is added to get |
|---|
| 3107 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|---|
| 3108 | array size at least. It's necessary to write '\x00'==0 to get something |
|---|
| 3109 | that's true only with -std. */ |
|---|
| 3110 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|---|
| 3111 | |
|---|
| 3112 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|---|
| 3113 | inside strings and character constants. */ |
|---|
| 3114 | #define FOO(x) 'x' |
|---|
| 3115 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|---|
| 3116 | |
|---|
| 3117 | int test (int i, double x); |
|---|
| 3118 | struct s1 {int (*f) (int a);}; |
|---|
| 3119 | struct s2 {int (*f) (double a);}; |
|---|
| 3120 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|---|
| 3121 | int argc; |
|---|
| 3122 | char **argv; |
|---|
| 3123 | int |
|---|
| 3124 | main () |
|---|
| 3125 | { |
|---|
| 3126 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|---|
| 3127 | ; |
|---|
| 3128 | return 0; |
|---|
| 3129 | } |
|---|
| 3130 | _ACEOF |
|---|
| 3131 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|---|
| 3132 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|---|
| 3133 | do |
|---|
| 3134 | CC="$ac_save_CC $ac_arg" |
|---|
| 3135 | rm -f conftest.$ac_objext |
|---|
| 3136 | if { (ac_try="$ac_compile" |
|---|
| 3137 | case "(($ac_try" in |
|---|
| 3138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|---|
| 3139 | *) ac_try_echo=$ac_try;; |
|---|
| 3140 | esac |
|---|
| 3141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|---|
| 3142 | (eval "$ac_compile") 2>conftest.er1 |
|---|
| 3143 | ac_status=$? |
|---|
| 3144 | grep -v '^ *+' conftest.er1 >conftest.err |
|---|
| 3145 | rm -f conftest.er1 |
|---|
| 3146 | cat conftest.err >&5 |
|---|
| 3147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 3148 | (exit $ac_status); } && { |
|---|
| 3149 | test -z "$ac_c_werror_flag" || |
|---|
| 3150 | test ! -s conftest.err |
|---|
| 3151 | } && test -s conftest.$ac_objext; then |
|---|
| 3152 | ac_cv_prog_cc_c89=$ac_arg |
|---|
| 3153 | else |
|---|
| 3154 | echo "$as_me: failed program was:" >&5 |
|---|
| 3155 | sed 's/^/| /' conftest.$ac_ext >&5 |
|---|
| 3156 | |
|---|
| 3157 | |
|---|
| 3158 | fi |
|---|
| 3159 | |
|---|
| 3160 | rm -f core conftest.err conftest.$ac_objext |
|---|
| 3161 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
|---|
| 3162 | done |
|---|
| 3163 | rm -f conftest.$ac_ext |
|---|
| 3164 | CC=$ac_save_CC |
|---|
| 3165 | |
|---|
| 3166 | fi |
|---|
| 3167 | # AC_CACHE_VAL |
|---|
| 3168 | case "x$ac_cv_prog_cc_c89" in |
|---|
| 3169 | x) |
|---|
| 3170 | { echo "$as_me:$LINENO: result: none needed" >&5 |
|---|
| 3171 | echo "${ECHO_T}none needed" >&6; } ;; |
|---|
| 3172 | xno) |
|---|
| 3173 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|---|
| 3174 | echo "${ECHO_T}unsupported" >&6; } ;; |
|---|
| 3175 | *) |
|---|
| 3176 | CC="$CC $ac_cv_prog_cc_c89" |
|---|
| 3177 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
|---|
| 3178 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
|---|
| 3179 | esac |
|---|
| 3180 | |
|---|
| 3181 | |
|---|
| 3182 | ac_ext=c |
|---|
| 3183 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 3184 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 3185 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 3186 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 3187 | DEPDIR="${am__leading_dot}deps" |
|---|
| 3188 | |
|---|
| 3189 | ac_config_commands="$ac_config_commands depfiles" |
|---|
| 3190 | |
|---|
| 3191 | |
|---|
| 3192 | am_make=${MAKE-make} |
|---|
| 3193 | cat > confinc << 'END' |
|---|
| 3194 | am__doit: |
|---|
| 3195 | @echo done |
|---|
| 3196 | .PHONY: am__doit |
|---|
| 3197 | END |
|---|
| 3198 | # If we don't find an include directive, just comment out the code. |
|---|
| 3199 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|---|
| 3200 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
|---|
| 3201 | am__include="#" |
|---|
| 3202 | am__quote= |
|---|
| 3203 | _am_result=none |
|---|
| 3204 | # First try GNU make style include. |
|---|
| 3205 | echo "include confinc" > confmf |
|---|
| 3206 | # We grep out `Entering directory' and `Leaving directory' |
|---|
| 3207 | # messages which can occur if `w' ends up in MAKEFLAGS. |
|---|
| 3208 | # In particular we don't look at `^make:' because GNU make might |
|---|
| 3209 | # be invoked under some other name (usually "gmake"), in which |
|---|
| 3210 | # case it prints its new name instead of `make'. |
|---|
| 3211 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|---|
| 3212 | am__include=include |
|---|
| 3213 | am__quote= |
|---|
| 3214 | _am_result=GNU |
|---|
| 3215 | fi |
|---|
| 3216 | # Now try BSD make style include. |
|---|
| 3217 | if test "$am__include" = "#"; then |
|---|
| 3218 | echo '.include "confinc"' > confmf |
|---|
| 3219 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|---|
| 3220 | am__include=.include |
|---|
| 3221 | am__quote="\"" |
|---|
| 3222 | _am_result=BSD |
|---|
| 3223 | fi |
|---|
| 3224 | fi |
|---|
| 3225 | |
|---|
| 3226 | |
|---|
| 3227 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
|---|
| 3228 | echo "${ECHO_T}$_am_result" >&6; } |
|---|
| 3229 | rm -f confinc confmf |
|---|
| 3230 | |
|---|
| 3231 | # Check whether --enable-dependency-tracking was given. |
|---|
| 3232 | if test "${enable_dependency_tracking+set}" = set; then |
|---|
| 3233 | enableval=$enable_dependency_tracking; |
|---|
| 3234 | fi |
|---|
| 3235 | |
|---|
| 3236 | if test "x$enable_dependency_tracking" != xno; then |
|---|
| 3237 | am_depcomp="$ac_aux_dir/depcomp" |
|---|
| 3238 | AMDEPBACKSLASH='\' |
|---|
| 3239 | fi |
|---|
| 3240 | |
|---|
| 3241 | |
|---|
| 3242 | if test "x$enable_dependency_tracking" != xno; then |
|---|
| 3243 | AMDEP_TRUE= |
|---|
| 3244 | AMDEP_FALSE='#' |
|---|
| 3245 | else |
|---|
| 3246 | AMDEP_TRUE='#' |
|---|
| 3247 | AMDEP_FALSE= |
|---|
| 3248 | fi |
|---|
| 3249 | |
|---|
| 3250 | |
|---|
| 3251 | |
|---|
| 3252 | |
|---|
| 3253 | depcc="$CC" am_compiler_list= |
|---|
| 3254 | |
|---|
| 3255 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|---|
| 3256 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
|---|
| 3257 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|---|
| 3258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3259 | else |
|---|
| 3260 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|---|
| 3261 | # We make a subdir and do the tests there. Otherwise we can end up |
|---|
| 3262 | # making bogus files that we don't know about and never remove. For |
|---|
| 3263 | # instance it was reported that on HP-UX the gcc test will end up |
|---|
| 3264 | # making a dummy file named `D' -- because `-MD' means `put the output |
|---|
| 3265 | # in D'. |
|---|
| 3266 | mkdir conftest.dir |
|---|
| 3267 | # Copy depcomp to subdir because otherwise we won't find it if we're |
|---|
| 3268 | # using a relative directory. |
|---|
| 3269 | cp "$am_depcomp" conftest.dir |
|---|
| 3270 | cd conftest.dir |
|---|
| 3271 | # We will build objects and dependencies in a subdirectory because |
|---|
| 3272 | # it helps to detect inapplicable dependency modes. For instance |
|---|
| 3273 | # both Tru64's cc and ICC support -MD to output dependencies as a |
|---|
| 3274 | # side effect of compilation, but ICC will put the dependencies in |
|---|
| 3275 | # the current directory while Tru64 will put them in the object |
|---|
| 3276 | # directory. |
|---|
| 3277 | mkdir sub |
|---|
| 3278 | |
|---|
| 3279 | am_cv_CC_dependencies_compiler_type=none |
|---|
| 3280 | if test "$am_compiler_list" = ""; then |
|---|
| 3281 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|---|
| 3282 | fi |
|---|
| 3283 | for depmode in $am_compiler_list; do |
|---|
| 3284 | # Setup a source with many dependencies, because some compilers |
|---|
| 3285 | # like to wrap large dependency lists on column 80 (with \), and |
|---|
| 3286 | # we should not choose a depcomp mode which is confused by this. |
|---|
| 3287 | # |
|---|
| 3288 | # We need to recreate these files for each test, as the compiler may |
|---|
| 3289 | # overwrite some of them when testing with obscure command lines. |
|---|
| 3290 | # This happens at least with the AIX C compiler. |
|---|
| 3291 | : > sub/conftest.c |
|---|
| 3292 | for i in 1 2 3 4 5 6; do |
|---|
| 3293 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|---|
| 3294 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|---|
| 3295 | # Solaris 8's {/usr,}/bin/sh. |
|---|
| 3296 | touch sub/conftst$i.h |
|---|
| 3297 | done |
|---|
| 3298 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|---|
| 3299 | |
|---|
| 3300 | case $depmode in |
|---|
| 3301 | nosideeffect) |
|---|
| 3302 | # after this tag, mechanisms are not by side-effect, so they'll |
|---|
| 3303 | # only be used when explicitly requested |
|---|
| 3304 | if test "x$enable_dependency_tracking" = xyes; then |
|---|
| 3305 | continue |
|---|
| 3306 | else |
|---|
| 3307 | break |
|---|
| 3308 | fi |
|---|
| 3309 | ;; |
|---|
| 3310 | none) break ;; |
|---|
| 3311 | esac |
|---|
| 3312 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|---|
| 3313 | # mode. It turns out that the SunPro C++ compiler does not properly |
|---|
| 3314 | # handle `-M -o', and we need to detect this. |
|---|
| 3315 | if depmode=$depmode \ |
|---|
| 3316 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|---|
| 3317 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|---|
| 3318 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|---|
| 3319 | >/dev/null 2>conftest.err && |
|---|
| 3320 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|---|
| 3321 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|---|
| 3322 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|---|
| 3323 | # icc doesn't choke on unknown options, it will just issue warnings |
|---|
| 3324 | # or remarks (even with -Werror). So we grep stderr for any message |
|---|
| 3325 | # that says an option was ignored or not supported. |
|---|
| 3326 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|---|
| 3327 | # icc: Command line warning: ignoring option '-M'; no argument required |
|---|
| 3328 | # The diagnosis changed in icc 8.0: |
|---|
| 3329 | # icc: Command line remark: option '-MP' not supported |
|---|
| 3330 | if (grep 'ignoring option' conftest.err || |
|---|
| 3331 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|---|
| 3332 | am_cv_CC_dependencies_compiler_type=$depmode |
|---|
| 3333 | break |
|---|
| 3334 | fi |
|---|
| 3335 | fi |
|---|
| 3336 | done |
|---|
| 3337 | |
|---|
| 3338 | cd .. |
|---|
| 3339 | rm -rf conftest.dir |
|---|
| 3340 | else |
|---|
| 3341 | am_cv_CC_dependencies_compiler_type=none |
|---|
| 3342 | fi |
|---|
| 3343 | |
|---|
| 3344 | fi |
|---|
| 3345 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|---|
| 3346 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
|---|
| 3347 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|---|
| 3348 | |
|---|
| 3349 | |
|---|
| 3350 | |
|---|
| 3351 | if |
|---|
| 3352 | test "x$enable_dependency_tracking" != xno \ |
|---|
| 3353 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|---|
| 3354 | am__fastdepCC_TRUE= |
|---|
| 3355 | am__fastdepCC_FALSE='#' |
|---|
| 3356 | else |
|---|
| 3357 | am__fastdepCC_TRUE='#' |
|---|
| 3358 | am__fastdepCC_FALSE= |
|---|
| 3359 | fi |
|---|
| 3360 | |
|---|
| 3361 | |
|---|
| 3362 | |
|---|
| 3363 | |
|---|
| 3364 | # Make sure we can run config.sub. |
|---|
| 3365 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|---|
| 3366 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
|---|
| 3367 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
|---|
| 3368 | { (exit 1); exit 1; }; } |
|---|
| 3369 | |
|---|
| 3370 | { echo "$as_me:$LINENO: checking build system type" >&5 |
|---|
| 3371 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
|---|
| 3372 | if test "${ac_cv_build+set}" = set; then |
|---|
| 3373 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3374 | else |
|---|
| 3375 | ac_build_alias=$build_alias |
|---|
| 3376 | test "x$ac_build_alias" = x && |
|---|
| 3377 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|---|
| 3378 | test "x$ac_build_alias" = x && |
|---|
| 3379 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|---|
| 3380 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|---|
| 3381 | { (exit 1); exit 1; }; } |
|---|
| 3382 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|---|
| 3383 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
|---|
| 3384 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
|---|
| 3385 | { (exit 1); exit 1; }; } |
|---|
| 3386 | |
|---|
| 3387 | fi |
|---|
| 3388 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|---|
| 3389 | echo "${ECHO_T}$ac_cv_build" >&6; } |
|---|
| 3390 | case $ac_cv_build in |
|---|
| 3391 | *-*-*) ;; |
|---|
| 3392 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|---|
| 3393 | echo "$as_me: error: invalid value of canonical build" >&2;} |
|---|
| 3394 | { (exit 1); exit 1; }; };; |
|---|
| 3395 | esac |
|---|
| 3396 | build=$ac_cv_build |
|---|
| 3397 | ac_save_IFS=$IFS; IFS='-' |
|---|
| 3398 | set x $ac_cv_build |
|---|
| 3399 | shift |
|---|
| 3400 | build_cpu=$1 |
|---|
| 3401 | build_vendor=$2 |
|---|
| 3402 | shift; shift |
|---|
| 3403 | # Remember, the first character of IFS is used to create $*, |
|---|
| 3404 | # except with old shells: |
|---|
| 3405 | build_os=$* |
|---|
| 3406 | IFS=$ac_save_IFS |
|---|
| 3407 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|---|
| 3408 | |
|---|
| 3409 | |
|---|
| 3410 | { echo "$as_me:$LINENO: checking host system type" >&5 |
|---|
| 3411 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
|---|
| 3412 | if test "${ac_cv_host+set}" = set; then |
|---|
| 3413 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|---|
| 3414 | else |
|---|
| 3415 | if test "x$host_alias" = x; then |
|---|
| 3416 | ac_cv_host=$ac_cv_build |
|---|
| 3417 | else |
|---|
| 3418 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|---|
| 3419 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
|---|
| 3420 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
|---|
| 3421 | { (exit 1); exit 1; }; } |
|---|
| 3422 | fi |
|---|
| 3423 | |
|---|
| 3424 | fi |
|---|
| 3425 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|---|
| 3426 | echo "${ECHO_T}$ac_cv_host" >&6; } |
|---|
| 3427 | case $ac_cv_host in |
|---|
| 3428 | *-*-*) ;; |
|---|
| 3429 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|---|
| 3430 | echo "$as_me: error: invalid value of canonical host" >&2;} |
|---|
| 3431 | { (exit 1); exit 1; }; };; |
|---|
| 3432 | esac |
|---|
| 3433 | host=$ac_cv_host |
|---|
| 3434 | ac_save_IFS=$IFS; IFS='-' |
|---|
| 3435 | set x $ac_cv_host |
|---|
| 3436 | shift |
|---|
| 3437 | host_cpu=$1 |
|---|
| 3438 | host_vendor=$2 |
|---|
| 3439 | shift; shift |
|---|
| 3440 | # Remember, the first character of IFS is used to create $*, |
|---|
| 3441 | # except with old shells: |
|---|
| 3442 | host_os=$* |
|---|
| 3443 | IFS=$ac_save_IFS |
|---|
| 3444 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|---|
| 3445 | |
|---|
| 3446 | |
|---|
| 3447 | if test x"$useopengl" = xtrue; then |
|---|
| 3448 | case $host_os in |
|---|
| 3449 | darwin* ) |
|---|
| 3450 | echo Darwin |
|---|
| 3451 | LDFLAGS="$LDFLAGS -framework OpenGL -framework GLUT" |
|---|
| 3452 | ;; |
|---|
| 3453 | *) |
|---|
| 3454 | echo Not Darwin |
|---|
| 3455 | LDFLAGS="$LDFLAGS -lGL -lglut" |
|---|
| 3456 | ;; |
|---|
| 3457 | esac |
|---|
| 3458 | fi |
|---|
| 3459 | |
|---|
| 3460 | |
|---|
| 3461 | |
|---|
| 3462 | if test x"$CC" = xicc; then |
|---|
| 3463 | LDFLAGS="$LDFLAGS -openmp" |
|---|
| 3464 | CFLAGS="$CFLAGS -openmp" |
|---|
| 3465 | fi |
|---|
| 3466 | |
|---|
| 3467 | |
|---|
| 3468 | |
|---|
| 3469 | ac_config_files="$ac_config_files Makefile" |
|---|
| 3470 | |
|---|
| 3471 | cat >confcache <<\_ACEOF |
|---|
| 3472 | # This file is a shell script that caches the results of configure |
|---|
| 3473 | # tests run on this system so they can be shared between configure |
|---|
| 3474 | # scripts and configure runs, see configure's option --config-cache. |
|---|
| 3475 | # It is not useful on other systems. If it contains results you don't |
|---|
| 3476 | # want to keep, you may remove or edit it. |
|---|
| 3477 | # |
|---|
| 3478 | # config.status only pays attention to the cache file if you give it |
|---|
| 3479 | # the --recheck option to rerun configure. |
|---|
| 3480 | # |
|---|
| 3481 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|---|
| 3482 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|---|
| 3483 | # following values. |
|---|
| 3484 | |
|---|
| 3485 | _ACEOF |
|---|
| 3486 | |
|---|
| 3487 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 3488 | # but we know of no workaround that is simple, portable, and efficient. |
|---|
| 3489 | # So, we kill variables containing newlines. |
|---|
| 3490 | # Ultrix sh set writes to stderr and can't be redirected directly, |
|---|
| 3491 | # and sets the high bit in the cache file unless we assign to the vars. |
|---|
| 3492 | ( |
|---|
| 3493 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|---|
| 3494 | eval ac_val=\$$ac_var |
|---|
| 3495 | case $ac_val in #( |
|---|
| 3496 | *${as_nl}*) |
|---|
| 3497 | case $ac_var in #( |
|---|
| 3498 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|---|
| 3499 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|---|
| 3500 | esac |
|---|
| 3501 | case $ac_var in #( |
|---|
| 3502 | _ | IFS | as_nl) ;; #( |
|---|
| 3503 | *) $as_unset $ac_var ;; |
|---|
| 3504 | esac ;; |
|---|
| 3505 | esac |
|---|
| 3506 | done |
|---|
| 3507 | |
|---|
| 3508 | (set) 2>&1 | |
|---|
| 3509 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|---|
| 3510 | *${as_nl}ac_space=\ *) |
|---|
| 3511 | # `set' does not quote correctly, so add quotes (double-quote |
|---|
| 3512 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
|---|
| 3513 | sed -n \ |
|---|
| 3514 | "s/'/'\\\\''/g; |
|---|
| 3515 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|---|
| 3516 | ;; #( |
|---|
| 3517 | *) |
|---|
| 3518 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
|---|
| 3519 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 3520 | ;; |
|---|
| 3521 | esac | |
|---|
| 3522 | sort |
|---|
| 3523 | ) | |
|---|
| 3524 | sed ' |
|---|
| 3525 | /^ac_cv_env_/b end |
|---|
| 3526 | t clear |
|---|
| 3527 | :clear |
|---|
| 3528 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|---|
| 3529 | t end |
|---|
| 3530 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|---|
| 3531 | :end' >>confcache |
|---|
| 3532 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|---|
| 3533 | if test -w "$cache_file"; then |
|---|
| 3534 | test "x$cache_file" != "x/dev/null" && |
|---|
| 3535 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|---|
| 3536 | echo "$as_me: updating cache $cache_file" >&6;} |
|---|
| 3537 | cat confcache >$cache_file |
|---|
| 3538 | else |
|---|
| 3539 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|---|
| 3540 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|---|
| 3541 | fi |
|---|
| 3542 | fi |
|---|
| 3543 | rm -f confcache |
|---|
| 3544 | |
|---|
| 3545 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|---|
| 3546 | # Let make expand exec_prefix. |
|---|
| 3547 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|---|
| 3548 | |
|---|
| 3549 | # Transform confdefs.h into DEFS. |
|---|
| 3550 | # Protect against shell expansion while executing Makefile rules. |
|---|
| 3551 | # Protect against Makefile macro expansion. |
|---|
| 3552 | # |
|---|
| 3553 | # If the first sed substitution is executed (which looks for macros that |
|---|
| 3554 | # take arguments), then branch to the quote section. Otherwise, |
|---|
| 3555 | # look for a macro that doesn't take arguments. |
|---|
| 3556 | ac_script=' |
|---|
| 3557 | t clear |
|---|
| 3558 | :clear |
|---|
| 3559 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
|---|
| 3560 | t quote |
|---|
| 3561 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
|---|
| 3562 | t quote |
|---|
| 3563 | b any |
|---|
| 3564 | :quote |
|---|
| 3565 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
|---|
| 3566 | s/\[/\\&/g |
|---|
| 3567 | s/\]/\\&/g |
|---|
| 3568 | s/\$/$$/g |
|---|
| 3569 | H |
|---|
| 3570 | :any |
|---|
| 3571 | ${ |
|---|
| 3572 | g |
|---|
| 3573 | s/^\n// |
|---|
| 3574 | s/\n/ /g |
|---|
| 3575 | p |
|---|
| 3576 | } |
|---|
| 3577 | ' |
|---|
| 3578 | DEFS=`sed -n "$ac_script" confdefs.h` |
|---|
| 3579 | |
|---|
| 3580 | |
|---|
| 3581 | ac_libobjs= |
|---|
| 3582 | ac_ltlibobjs= |
|---|
| 3583 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|---|
| 3584 | # 1. Remove the extension, and $U if already installed. |
|---|
| 3585 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|---|
| 3586 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
|---|
| 3587 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|---|
| 3588 | # will be set to the directory where LIBOBJS objects are built. |
|---|
| 3589 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|---|
| 3590 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|---|
| 3591 | done |
|---|
| 3592 | LIBOBJS=$ac_libobjs |
|---|
| 3593 | |
|---|
| 3594 | LTLIBOBJS=$ac_ltlibobjs |
|---|
| 3595 | |
|---|
| 3596 | |
|---|
| 3597 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|---|
| 3598 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
|---|
| 3599 | Usually this means the macro was only invoked conditionally." >&5 |
|---|
| 3600 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|---|
| 3601 | Usually this means the macro was only invoked conditionally." >&2;} |
|---|
| 3602 | { (exit 1); exit 1; }; } |
|---|
| 3603 | fi |
|---|
| 3604 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|---|
| 3605 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|---|
| 3606 | Usually this means the macro was only invoked conditionally." >&5 |
|---|
| 3607 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|---|
| 3608 | Usually this means the macro was only invoked conditionally." >&2;} |
|---|
| 3609 | { (exit 1); exit 1; }; } |
|---|
| 3610 | fi |
|---|
| 3611 | |
|---|
| 3612 | : ${CONFIG_STATUS=./config.status} |
|---|
| 3613 | ac_clean_files_save=$ac_clean_files |
|---|
| 3614 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|---|
| 3615 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|---|
| 3616 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|---|
| 3617 | cat >$CONFIG_STATUS <<_ACEOF |
|---|
| 3618 | #! $SHELL |
|---|
| 3619 | # Generated by $as_me. |
|---|
| 3620 | # Run this file to recreate the current configuration. |
|---|
| 3621 | # Compiler output produced by configure, useful for debugging |
|---|
| 3622 | # configure, is in config.log if it exists. |
|---|
| 3623 | |
|---|
| 3624 | debug=false |
|---|
| 3625 | ac_cs_recheck=false |
|---|
| 3626 | ac_cs_silent=false |
|---|
| 3627 | SHELL=\${CONFIG_SHELL-$SHELL} |
|---|
| 3628 | _ACEOF |
|---|
| 3629 | |
|---|
| 3630 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 3631 | ## --------------------- ## |
|---|
| 3632 | ## M4sh Initialization. ## |
|---|
| 3633 | ## --------------------- ## |
|---|
| 3634 | |
|---|
| 3635 | # Be more Bourne compatible |
|---|
| 3636 | DUALCASE=1; export DUALCASE # for MKS sh |
|---|
| 3637 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 3638 | emulate sh |
|---|
| 3639 | NULLCMD=: |
|---|
| 3640 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|---|
| 3641 | # is contrary to our usage. Disable this feature. |
|---|
| 3642 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 3643 | setopt NO_GLOB_SUBST |
|---|
| 3644 | else |
|---|
| 3645 | case `(set -o) 2>/dev/null` in |
|---|
| 3646 | *posix*) set -o posix ;; |
|---|
| 3647 | esac |
|---|
| 3648 | |
|---|
| 3649 | fi |
|---|
| 3650 | |
|---|
| 3651 | |
|---|
| 3652 | |
|---|
| 3653 | |
|---|
| 3654 | # PATH needs CR |
|---|
| 3655 | # Avoid depending upon Character Ranges. |
|---|
| 3656 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 3657 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 3658 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 3659 | as_cr_digits='0123456789' |
|---|
| 3660 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 3661 | |
|---|
| 3662 | # The user is always right. |
|---|
| 3663 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 3664 | echo "#! /bin/sh" >conf$$.sh |
|---|
| 3665 | echo "exit 0" >>conf$$.sh |
|---|
| 3666 | chmod +x conf$$.sh |
|---|
| 3667 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|---|
| 3668 | PATH_SEPARATOR=';' |
|---|
| 3669 | else |
|---|
| 3670 | PATH_SEPARATOR=: |
|---|
| 3671 | fi |
|---|
| 3672 | rm -f conf$$.sh |
|---|
| 3673 | fi |
|---|
| 3674 | |
|---|
| 3675 | # Support unset when possible. |
|---|
| 3676 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 3677 | as_unset=unset |
|---|
| 3678 | else |
|---|
| 3679 | as_unset=false |
|---|
| 3680 | fi |
|---|
| 3681 | |
|---|
| 3682 | |
|---|
| 3683 | # IFS |
|---|
| 3684 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 3685 | # there to prevent editors from complaining about space-tab. |
|---|
| 3686 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 3687 | # splitting by setting IFS to empty value.) |
|---|
| 3688 | as_nl=' |
|---|
| 3689 | ' |
|---|
| 3690 | IFS=" "" $as_nl" |
|---|
| 3691 | |
|---|
| 3692 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 3693 | case $0 in |
|---|
| 3694 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 3695 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 3696 | for as_dir in $PATH |
|---|
| 3697 | do |
|---|
| 3698 | IFS=$as_save_IFS |
|---|
| 3699 | test -z "$as_dir" && as_dir=. |
|---|
| 3700 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 3701 | done |
|---|
| 3702 | IFS=$as_save_IFS |
|---|
| 3703 | |
|---|
| 3704 | ;; |
|---|
| 3705 | esac |
|---|
| 3706 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 3707 | # in which case we are not to be found in the path. |
|---|
| 3708 | if test "x$as_myself" = x; then |
|---|
| 3709 | as_myself=$0 |
|---|
| 3710 | fi |
|---|
| 3711 | if test ! -f "$as_myself"; then |
|---|
| 3712 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 3713 | { (exit 1); exit 1; } |
|---|
| 3714 | fi |
|---|
| 3715 | |
|---|
| 3716 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 3717 | for as_var in ENV MAIL MAILPATH |
|---|
| 3718 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 3719 | done |
|---|
| 3720 | PS1='$ ' |
|---|
| 3721 | PS2='> ' |
|---|
| 3722 | PS4='+ ' |
|---|
| 3723 | |
|---|
| 3724 | # NLS nuisances. |
|---|
| 3725 | for as_var in \ |
|---|
| 3726 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|---|
| 3727 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|---|
| 3728 | LC_TELEPHONE LC_TIME |
|---|
| 3729 | do |
|---|
| 3730 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|---|
| 3731 | eval $as_var=C; export $as_var |
|---|
| 3732 | else |
|---|
| 3733 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 3734 | fi |
|---|
| 3735 | done |
|---|
| 3736 | |
|---|
| 3737 | # Required to use basename. |
|---|
| 3738 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 3739 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 3740 | as_expr=expr |
|---|
| 3741 | else |
|---|
| 3742 | as_expr=false |
|---|
| 3743 | fi |
|---|
| 3744 | |
|---|
| 3745 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 3746 | as_basename=basename |
|---|
| 3747 | else |
|---|
| 3748 | as_basename=false |
|---|
| 3749 | fi |
|---|
| 3750 | |
|---|
| 3751 | |
|---|
| 3752 | # Name of the executable. |
|---|
| 3753 | as_me=`$as_basename -- "$0" || |
|---|
| 3754 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 3755 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 3756 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 3757 | echo X/"$0" | |
|---|
| 3758 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 3759 | s//\1/ |
|---|
| 3760 | q |
|---|
| 3761 | } |
|---|
| 3762 | /^X\/\(\/\/\)$/{ |
|---|
| 3763 | s//\1/ |
|---|
| 3764 | q |
|---|
| 3765 | } |
|---|
| 3766 | /^X\/\(\/\).*/{ |
|---|
| 3767 | s//\1/ |
|---|
| 3768 | q |
|---|
| 3769 | } |
|---|
| 3770 | s/.*/./; q'` |
|---|
| 3771 | |
|---|
| 3772 | # CDPATH. |
|---|
| 3773 | $as_unset CDPATH |
|---|
| 3774 | |
|---|
| 3775 | |
|---|
| 3776 | |
|---|
| 3777 | as_lineno_1=$LINENO |
|---|
| 3778 | as_lineno_2=$LINENO |
|---|
| 3779 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 3780 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 3781 | |
|---|
| 3782 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 3783 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 3784 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 3785 | # does the real work. The second script uses 'N' to pair each |
|---|
| 3786 | # line-number line with the line containing $LINENO, and appends |
|---|
| 3787 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 3788 | # case at line end. |
|---|
| 3789 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 3790 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 3791 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 3792 | sed -n ' |
|---|
| 3793 | p |
|---|
| 3794 | /[$]LINENO/= |
|---|
| 3795 | ' <$as_myself | |
|---|
| 3796 | sed ' |
|---|
| 3797 | s/[$]LINENO.*/&-/ |
|---|
| 3798 | t lineno |
|---|
| 3799 | b |
|---|
| 3800 | :lineno |
|---|
| 3801 | N |
|---|
| 3802 | :loop |
|---|
| 3803 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 3804 | t loop |
|---|
| 3805 | s/-\n.*// |
|---|
| 3806 | ' >$as_me.lineno && |
|---|
| 3807 | chmod +x "$as_me.lineno" || |
|---|
| 3808 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 3809 | { (exit 1); exit 1; }; } |
|---|
| 3810 | |
|---|
| 3811 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 3812 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 3813 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 3814 | . "./$as_me.lineno" |
|---|
| 3815 | # Exit status is that of the last command. |
|---|
| 3816 | exit |
|---|
| 3817 | } |
|---|
| 3818 | |
|---|
| 3819 | |
|---|
| 3820 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 3821 | as_dirname=dirname |
|---|
| 3822 | else |
|---|
| 3823 | as_dirname=false |
|---|
| 3824 | fi |
|---|
| 3825 | |
|---|
| 3826 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 3827 | case `echo -n x` in |
|---|
| 3828 | -n*) |
|---|
| 3829 | case `echo 'x\c'` in |
|---|
| 3830 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 3831 | *) ECHO_C='\c';; |
|---|
| 3832 | esac;; |
|---|
| 3833 | *) |
|---|
| 3834 | ECHO_N='-n';; |
|---|
| 3835 | esac |
|---|
| 3836 | |
|---|
| 3837 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 3838 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 3839 | as_expr=expr |
|---|
| 3840 | else |
|---|
| 3841 | as_expr=false |
|---|
| 3842 | fi |
|---|
| 3843 | |
|---|
| 3844 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 3845 | if test -d conf$$.dir; then |
|---|
| 3846 | rm -f conf$$.dir/conf$$.file |
|---|
| 3847 | else |
|---|
| 3848 | rm -f conf$$.dir |
|---|
| 3849 | mkdir conf$$.dir |
|---|
| 3850 | fi |
|---|
| 3851 | echo >conf$$.file |
|---|
| 3852 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 3853 | as_ln_s='ln -s' |
|---|
| 3854 | # ... but there are two gotchas: |
|---|
| 3855 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 3856 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 3857 | # In both cases, we have to default to `cp -p'. |
|---|
| 3858 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 3859 | as_ln_s='cp -p' |
|---|
| 3860 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 3861 | as_ln_s=ln |
|---|
| 3862 | else |
|---|
| 3863 | as_ln_s='cp -p' |
|---|
| 3864 | fi |
|---|
| 3865 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 3866 | rmdir conf$$.dir 2>/dev/null |
|---|
| 3867 | |
|---|
| 3868 | if mkdir -p . 2>/dev/null; then |
|---|
| 3869 | as_mkdir_p=: |
|---|
| 3870 | else |
|---|
| 3871 | test -d ./-p && rmdir ./-p |
|---|
| 3872 | as_mkdir_p=false |
|---|
| 3873 | fi |
|---|
| 3874 | |
|---|
| 3875 | if test -x / >/dev/null 2>&1; then |
|---|
| 3876 | as_test_x='test -x' |
|---|
| 3877 | else |
|---|
| 3878 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 3879 | as_ls_L_option=L |
|---|
| 3880 | else |
|---|
| 3881 | as_ls_L_option= |
|---|
| 3882 | fi |
|---|
| 3883 | as_test_x=' |
|---|
| 3884 | eval sh -c '\'' |
|---|
| 3885 | if test -d "$1"; then |
|---|
| 3886 | test -d "$1/."; |
|---|
| 3887 | else |
|---|
| 3888 | case $1 in |
|---|
| 3889 | -*)set "./$1";; |
|---|
| 3890 | esac; |
|---|
| 3891 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 3892 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 3893 | '\'' sh |
|---|
| 3894 | ' |
|---|
| 3895 | fi |
|---|
| 3896 | as_executable_p=$as_test_x |
|---|
| 3897 | |
|---|
| 3898 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 3899 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 3900 | |
|---|
| 3901 | # Sed expression to map a string onto a valid variable name. |
|---|
| 3902 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 3903 | |
|---|
| 3904 | |
|---|
| 3905 | exec 6>&1 |
|---|
| 3906 | |
|---|
| 3907 | # Save the log message, to keep $[0] and so on meaningful, and to |
|---|
| 3908 | # report actual input values of CONFIG_FILES etc. instead of their |
|---|
| 3909 | # values after options handling. |
|---|
| 3910 | ac_log=" |
|---|
| 3911 | This file was extended by $as_me, which was |
|---|
| 3912 | generated by GNU Autoconf 2.61. Invocation command line was |
|---|
| 3913 | |
|---|
| 3914 | CONFIG_FILES = $CONFIG_FILES |
|---|
| 3915 | CONFIG_HEADERS = $CONFIG_HEADERS |
|---|
| 3916 | CONFIG_LINKS = $CONFIG_LINKS |
|---|
| 3917 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|---|
| 3918 | $ $0 $@ |
|---|
| 3919 | |
|---|
| 3920 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 3921 | " |
|---|
| 3922 | |
|---|
| 3923 | _ACEOF |
|---|
| 3924 | |
|---|
| 3925 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 3926 | # Files that config.status was made for. |
|---|
| 3927 | config_files="$ac_config_files" |
|---|
| 3928 | config_commands="$ac_config_commands" |
|---|
| 3929 | |
|---|
| 3930 | _ACEOF |
|---|
| 3931 | |
|---|
| 3932 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 3933 | ac_cs_usage="\ |
|---|
| 3934 | \`$as_me' instantiates files from templates according to the |
|---|
| 3935 | current configuration. |
|---|
| 3936 | |
|---|
| 3937 | Usage: $0 [OPTIONS] [FILE]... |
|---|
| 3938 | |
|---|
| 3939 | -h, --help print this help, then exit |
|---|
| 3940 | -V, --version print version number and configuration settings, then exit |
|---|
| 3941 | -q, --quiet do not print progress messages |
|---|
| 3942 | -d, --debug don't remove temporary files |
|---|
| 3943 | --recheck update $as_me by reconfiguring in the same conditions |
|---|
| 3944 | --file=FILE[:TEMPLATE] |
|---|
| 3945 | instantiate the configuration file FILE |
|---|
| 3946 | |
|---|
| 3947 | Configuration files: |
|---|
| 3948 | $config_files |
|---|
| 3949 | |
|---|
| 3950 | Configuration commands: |
|---|
| 3951 | $config_commands |
|---|
| 3952 | |
|---|
| 3953 | Report bugs to <bug-autoconf@gnu.org>." |
|---|
| 3954 | |
|---|
| 3955 | _ACEOF |
|---|
| 3956 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 3957 | ac_cs_version="\\ |
|---|
| 3958 | config.status |
|---|
| 3959 | configured by $0, generated by GNU Autoconf 2.61, |
|---|
| 3960 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|---|
| 3961 | |
|---|
| 3962 | Copyright (C) 2006 Free Software Foundation, Inc. |
|---|
| 3963 | This config.status script is free software; the Free Software Foundation |
|---|
| 3964 | gives unlimited permission to copy, distribute and modify it." |
|---|
| 3965 | |
|---|
| 3966 | ac_pwd='$ac_pwd' |
|---|
| 3967 | srcdir='$srcdir' |
|---|
| 3968 | INSTALL='$INSTALL' |
|---|
| 3969 | _ACEOF |
|---|
| 3970 | |
|---|
| 3971 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 3972 | # If no file are specified by the user, then we need to provide default |
|---|
| 3973 | # value. By we need to know if files were specified by the user. |
|---|
| 3974 | ac_need_defaults=: |
|---|
| 3975 | while test $# != 0 |
|---|
| 3976 | do |
|---|
| 3977 | case $1 in |
|---|
| 3978 | --*=*) |
|---|
| 3979 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|---|
| 3980 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|---|
| 3981 | ac_shift=: |
|---|
| 3982 | ;; |
|---|
| 3983 | *) |
|---|
| 3984 | ac_option=$1 |
|---|
| 3985 | ac_optarg=$2 |
|---|
| 3986 | ac_shift=shift |
|---|
| 3987 | ;; |
|---|
| 3988 | esac |
|---|
| 3989 | |
|---|
| 3990 | case $ac_option in |
|---|
| 3991 | # Handling of the options. |
|---|
| 3992 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|---|
| 3993 | ac_cs_recheck=: ;; |
|---|
| 3994 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|---|
| 3995 | echo "$ac_cs_version"; exit ;; |
|---|
| 3996 | --debug | --debu | --deb | --de | --d | -d ) |
|---|
| 3997 | debug=: ;; |
|---|
| 3998 | --file | --fil | --fi | --f ) |
|---|
| 3999 | $ac_shift |
|---|
| 4000 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|---|
| 4001 | ac_need_defaults=false;; |
|---|
| 4002 | --he | --h | --help | --hel | -h ) |
|---|
| 4003 | echo "$ac_cs_usage"; exit ;; |
|---|
| 4004 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 4005 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|---|
| 4006 | ac_cs_silent=: ;; |
|---|
| 4007 | |
|---|
| 4008 | # This is an error. |
|---|
| 4009 | -*) { echo "$as_me: error: unrecognized option: $1 |
|---|
| 4010 | Try \`$0 --help' for more information." >&2 |
|---|
| 4011 | { (exit 1); exit 1; }; } ;; |
|---|
| 4012 | |
|---|
| 4013 | *) ac_config_targets="$ac_config_targets $1" |
|---|
| 4014 | ac_need_defaults=false ;; |
|---|
| 4015 | |
|---|
| 4016 | esac |
|---|
| 4017 | shift |
|---|
| 4018 | done |
|---|
| 4019 | |
|---|
| 4020 | ac_configure_extra_args= |
|---|
| 4021 | |
|---|
| 4022 | if $ac_cs_silent; then |
|---|
| 4023 | exec 6>/dev/null |
|---|
| 4024 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|---|
| 4025 | fi |
|---|
| 4026 | |
|---|
| 4027 | _ACEOF |
|---|
| 4028 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4029 | if \$ac_cs_recheck; then |
|---|
| 4030 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|---|
| 4031 | CONFIG_SHELL=$SHELL |
|---|
| 4032 | export CONFIG_SHELL |
|---|
| 4033 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|---|
| 4034 | fi |
|---|
| 4035 | |
|---|
| 4036 | _ACEOF |
|---|
| 4037 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 4038 | exec 5>>config.log |
|---|
| 4039 | { |
|---|
| 4040 | echo |
|---|
| 4041 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|---|
| 4042 | ## Running $as_me. ## |
|---|
| 4043 | _ASBOX |
|---|
| 4044 | echo "$ac_log" |
|---|
| 4045 | } >&5 |
|---|
| 4046 | |
|---|
| 4047 | _ACEOF |
|---|
| 4048 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4049 | # |
|---|
| 4050 | # INIT-COMMANDS |
|---|
| 4051 | # |
|---|
| 4052 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|---|
| 4053 | |
|---|
| 4054 | _ACEOF |
|---|
| 4055 | |
|---|
| 4056 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 4057 | |
|---|
| 4058 | # Handling of arguments. |
|---|
| 4059 | for ac_config_target in $ac_config_targets |
|---|
| 4060 | do |
|---|
| 4061 | case $ac_config_target in |
|---|
| 4062 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|---|
| 4063 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|---|
| 4064 | |
|---|
| 4065 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|---|
| 4066 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|---|
| 4067 | { (exit 1); exit 1; }; };; |
|---|
| 4068 | esac |
|---|
| 4069 | done |
|---|
| 4070 | |
|---|
| 4071 | |
|---|
| 4072 | # If the user did not use the arguments to specify the items to instantiate, |
|---|
| 4073 | # then the envvar interface is used. Set only those that are not. |
|---|
| 4074 | # We use the long form for the default assignment because of an extremely |
|---|
| 4075 | # bizarre bug on SunOS 4.1.3. |
|---|
| 4076 | if $ac_need_defaults; then |
|---|
| 4077 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|---|
| 4078 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|---|
| 4079 | fi |
|---|
| 4080 | |
|---|
| 4081 | # Have a temporary directory for convenience. Make it in the build tree |
|---|
| 4082 | # simply because there is no reason against having it here, and in addition, |
|---|
| 4083 | # creating and moving files from /tmp can sometimes cause problems. |
|---|
| 4084 | # Hook for its removal unless debugging. |
|---|
| 4085 | # Note that there is a small window in which the directory will not be cleaned: |
|---|
| 4086 | # after its creation but before its name has been assigned to `$tmp'. |
|---|
| 4087 | $debug || |
|---|
| 4088 | { |
|---|
| 4089 | tmp= |
|---|
| 4090 | trap 'exit_status=$? |
|---|
| 4091 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|---|
| 4092 | ' 0 |
|---|
| 4093 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|---|
| 4094 | } |
|---|
| 4095 | # Create a (secure) tmp directory for tmp files. |
|---|
| 4096 | |
|---|
| 4097 | { |
|---|
| 4098 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|---|
| 4099 | test -n "$tmp" && test -d "$tmp" |
|---|
| 4100 | } || |
|---|
| 4101 | { |
|---|
| 4102 | tmp=./conf$$-$RANDOM |
|---|
| 4103 | (umask 077 && mkdir "$tmp") |
|---|
| 4104 | } || |
|---|
| 4105 | { |
|---|
| 4106 | echo "$me: cannot create a temporary directory in ." >&2 |
|---|
| 4107 | { (exit 1); exit 1; } |
|---|
| 4108 | } |
|---|
| 4109 | |
|---|
| 4110 | # |
|---|
| 4111 | # Set up the sed scripts for CONFIG_FILES section. |
|---|
| 4112 | # |
|---|
| 4113 | |
|---|
| 4114 | # No need to generate the scripts if there are no CONFIG_FILES. |
|---|
| 4115 | # This happens for instance when ./config.status config.h |
|---|
| 4116 | if test -n "$CONFIG_FILES"; then |
|---|
| 4117 | |
|---|
| 4118 | _ACEOF |
|---|
| 4119 | |
|---|
| 4120 | |
|---|
| 4121 | |
|---|
| 4122 | ac_delim='%!_!# ' |
|---|
| 4123 | for ac_last_try in false false false false false :; do |
|---|
| 4124 | cat >conf$$subs.sed <<_ACEOF |
|---|
| 4125 | SHELL!$SHELL$ac_delim |
|---|
| 4126 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|---|
| 4127 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
|---|
| 4128 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
|---|
| 4129 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
|---|
| 4130 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
|---|
| 4131 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
|---|
| 4132 | exec_prefix!$exec_prefix$ac_delim |
|---|
| 4133 | prefix!$prefix$ac_delim |
|---|
| 4134 | program_transform_name!$program_transform_name$ac_delim |
|---|
| 4135 | bindir!$bindir$ac_delim |
|---|
| 4136 | sbindir!$sbindir$ac_delim |
|---|
| 4137 | libexecdir!$libexecdir$ac_delim |
|---|
| 4138 | datarootdir!$datarootdir$ac_delim |
|---|
| 4139 | datadir!$datadir$ac_delim |
|---|
| 4140 | sysconfdir!$sysconfdir$ac_delim |
|---|
| 4141 | sharedstatedir!$sharedstatedir$ac_delim |
|---|
| 4142 | localstatedir!$localstatedir$ac_delim |
|---|
| 4143 | includedir!$includedir$ac_delim |
|---|
| 4144 | oldincludedir!$oldincludedir$ac_delim |
|---|
| 4145 | docdir!$docdir$ac_delim |
|---|
| 4146 | infodir!$infodir$ac_delim |
|---|
| 4147 | htmldir!$htmldir$ac_delim |
|---|
| 4148 | dvidir!$dvidir$ac_delim |
|---|
| 4149 | pdfdir!$pdfdir$ac_delim |
|---|
| 4150 | psdir!$psdir$ac_delim |
|---|
| 4151 | libdir!$libdir$ac_delim |
|---|
| 4152 | localedir!$localedir$ac_delim |
|---|
| 4153 | mandir!$mandir$ac_delim |
|---|
| 4154 | DEFS!$DEFS$ac_delim |
|---|
| 4155 | ECHO_C!$ECHO_C$ac_delim |
|---|
| 4156 | ECHO_N!$ECHO_N$ac_delim |
|---|
| 4157 | ECHO_T!$ECHO_T$ac_delim |
|---|
| 4158 | LIBS!$LIBS$ac_delim |
|---|
| 4159 | build_alias!$build_alias$ac_delim |
|---|
| 4160 | host_alias!$host_alias$ac_delim |
|---|
| 4161 | target_alias!$target_alias$ac_delim |
|---|
| 4162 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
|---|
| 4163 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
|---|
| 4164 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
|---|
| 4165 | CYGPATH_W!$CYGPATH_W$ac_delim |
|---|
| 4166 | PACKAGE!$PACKAGE$ac_delim |
|---|
| 4167 | VERSION!$VERSION$ac_delim |
|---|
| 4168 | ACLOCAL!$ACLOCAL$ac_delim |
|---|
| 4169 | AUTOCONF!$AUTOCONF$ac_delim |
|---|
| 4170 | AUTOMAKE!$AUTOMAKE$ac_delim |
|---|
| 4171 | AUTOHEADER!$AUTOHEADER$ac_delim |
|---|
| 4172 | MAKEINFO!$MAKEINFO$ac_delim |
|---|
| 4173 | install_sh!$install_sh$ac_delim |
|---|
| 4174 | STRIP!$STRIP$ac_delim |
|---|
| 4175 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
|---|
| 4176 | mkdir_p!$mkdir_p$ac_delim |
|---|
| 4177 | AWK!$AWK$ac_delim |
|---|
| 4178 | SET_MAKE!$SET_MAKE$ac_delim |
|---|
| 4179 | am__leading_dot!$am__leading_dot$ac_delim |
|---|
| 4180 | AMTAR!$AMTAR$ac_delim |
|---|
| 4181 | am__tar!$am__tar$ac_delim |
|---|
| 4182 | am__untar!$am__untar$ac_delim |
|---|
| 4183 | RANLIB!$RANLIB$ac_delim |
|---|
| 4184 | CC!$CC$ac_delim |
|---|
| 4185 | CFLAGS!$CFLAGS$ac_delim |
|---|
| 4186 | LDFLAGS!$LDFLAGS$ac_delim |
|---|
| 4187 | CPPFLAGS!$CPPFLAGS$ac_delim |
|---|
| 4188 | ac_ct_CC!$ac_ct_CC$ac_delim |
|---|
| 4189 | EXEEXT!$EXEEXT$ac_delim |
|---|
| 4190 | OBJEXT!$OBJEXT$ac_delim |
|---|
| 4191 | DEPDIR!$DEPDIR$ac_delim |
|---|
| 4192 | am__include!$am__include$ac_delim |
|---|
| 4193 | am__quote!$am__quote$ac_delim |
|---|
| 4194 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
|---|
| 4195 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
|---|
| 4196 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
|---|
| 4197 | CCDEPMODE!$CCDEPMODE$ac_delim |
|---|
| 4198 | am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim |
|---|
| 4199 | am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim |
|---|
| 4200 | build!$build$ac_delim |
|---|
| 4201 | build_cpu!$build_cpu$ac_delim |
|---|
| 4202 | build_vendor!$build_vendor$ac_delim |
|---|
| 4203 | build_os!$build_os$ac_delim |
|---|
| 4204 | host!$host$ac_delim |
|---|
| 4205 | host_cpu!$host_cpu$ac_delim |
|---|
| 4206 | host_vendor!$host_vendor$ac_delim |
|---|
| 4207 | host_os!$host_os$ac_delim |
|---|
| 4208 | LIBOBJS!$LIBOBJS$ac_delim |
|---|
| 4209 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|---|
| 4210 | _ACEOF |
|---|
| 4211 | |
|---|
| 4212 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
|---|
| 4213 | break |
|---|
| 4214 | elif $ac_last_try; then |
|---|
| 4215 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|---|
| 4216 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|---|
| 4217 | { (exit 1); exit 1; }; } |
|---|
| 4218 | else |
|---|
| 4219 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|---|
| 4220 | fi |
|---|
| 4221 | done |
|---|
| 4222 | |
|---|
| 4223 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|---|
| 4224 | if test -n "$ac_eof"; then |
|---|
| 4225 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|---|
| 4226 | ac_eof=`expr $ac_eof + 1` |
|---|
| 4227 | fi |
|---|
| 4228 | |
|---|
| 4229 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4230 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|---|
| 4231 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|---|
| 4232 | _ACEOF |
|---|
| 4233 | sed ' |
|---|
| 4234 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|---|
| 4235 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|---|
| 4236 | :n |
|---|
| 4237 | t n |
|---|
| 4238 | s/'"$ac_delim"'$/,g/; t |
|---|
| 4239 | s/$/\\/; p |
|---|
| 4240 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|---|
| 4241 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|---|
| 4242 | rm -f conf$$subs.sed |
|---|
| 4243 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4244 | :end |
|---|
| 4245 | s/|#_!!_#|//g |
|---|
| 4246 | CEOF$ac_eof |
|---|
| 4247 | _ACEOF |
|---|
| 4248 | |
|---|
| 4249 | |
|---|
| 4250 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|---|
| 4251 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|---|
| 4252 | # trailing colons and then remove the whole line if VPATH becomes empty |
|---|
| 4253 | # (actually we leave an empty line to preserve line numbers). |
|---|
| 4254 | if test "x$srcdir" = x.; then |
|---|
| 4255 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|---|
| 4256 | s/:*\$(srcdir):*/:/ |
|---|
| 4257 | s/:*\${srcdir}:*/:/ |
|---|
| 4258 | s/:*@srcdir@:*/:/ |
|---|
| 4259 | s/^\([^=]*=[ ]*\):*/\1/ |
|---|
| 4260 | s/:*$// |
|---|
| 4261 | s/^[^=]*=[ ]*$// |
|---|
| 4262 | }' |
|---|
| 4263 | fi |
|---|
| 4264 | |
|---|
| 4265 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 4266 | fi # test -n "$CONFIG_FILES" |
|---|
| 4267 | |
|---|
| 4268 | |
|---|
| 4269 | for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS |
|---|
| 4270 | do |
|---|
| 4271 | case $ac_tag in |
|---|
| 4272 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|---|
| 4273 | esac |
|---|
| 4274 | case $ac_mode$ac_tag in |
|---|
| 4275 | :[FHL]*:*);; |
|---|
| 4276 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|---|
| 4277 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|---|
| 4278 | { (exit 1); exit 1; }; };; |
|---|
| 4279 | :[FH]-) ac_tag=-:-;; |
|---|
| 4280 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|---|
| 4281 | esac |
|---|
| 4282 | ac_save_IFS=$IFS |
|---|
| 4283 | IFS=: |
|---|
| 4284 | set x $ac_tag |
|---|
| 4285 | IFS=$ac_save_IFS |
|---|
| 4286 | shift |
|---|
| 4287 | ac_file=$1 |
|---|
| 4288 | shift |
|---|
| 4289 | |
|---|
| 4290 | case $ac_mode in |
|---|
| 4291 | :L) ac_source=$1;; |
|---|
| 4292 | :[FH]) |
|---|
| 4293 | ac_file_inputs= |
|---|
| 4294 | for ac_f |
|---|
| 4295 | do |
|---|
| 4296 | case $ac_f in |
|---|
| 4297 | -) ac_f="$tmp/stdin";; |
|---|
| 4298 | *) # Look for the file first in the build tree, then in the source tree |
|---|
| 4299 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|---|
| 4300 | # because $ac_f cannot contain `:'. |
|---|
| 4301 | test -f "$ac_f" || |
|---|
| 4302 | case $ac_f in |
|---|
| 4303 | [\\/$]*) false;; |
|---|
| 4304 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|---|
| 4305 | esac || |
|---|
| 4306 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|---|
| 4307 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|---|
| 4308 | { (exit 1); exit 1; }; };; |
|---|
| 4309 | esac |
|---|
| 4310 | ac_file_inputs="$ac_file_inputs $ac_f" |
|---|
| 4311 | done |
|---|
| 4312 | |
|---|
| 4313 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|---|
| 4314 | # use $as_me), people would be surprised to read: |
|---|
| 4315 | # /* config.h. Generated by config.status. */ |
|---|
| 4316 | configure_input="Generated from "`IFS=: |
|---|
| 4317 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|---|
| 4318 | if test x"$ac_file" != x-; then |
|---|
| 4319 | configure_input="$ac_file. $configure_input" |
|---|
| 4320 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|---|
| 4321 | echo "$as_me: creating $ac_file" >&6;} |
|---|
| 4322 | fi |
|---|
| 4323 | |
|---|
| 4324 | case $ac_tag in |
|---|
| 4325 | *:-:* | *:-) cat >"$tmp/stdin";; |
|---|
| 4326 | esac |
|---|
| 4327 | ;; |
|---|
| 4328 | esac |
|---|
| 4329 | |
|---|
| 4330 | ac_dir=`$as_dirname -- "$ac_file" || |
|---|
| 4331 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 4332 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|---|
| 4333 | X"$ac_file" : 'X\(//\)$' \| \ |
|---|
| 4334 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 4335 | echo X"$ac_file" | |
|---|
| 4336 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 4337 | s//\1/ |
|---|
| 4338 | q |
|---|
| 4339 | } |
|---|
| 4340 | /^X\(\/\/\)[^/].*/{ |
|---|
| 4341 | s//\1/ |
|---|
| 4342 | q |
|---|
| 4343 | } |
|---|
| 4344 | /^X\(\/\/\)$/{ |
|---|
| 4345 | s//\1/ |
|---|
| 4346 | q |
|---|
| 4347 | } |
|---|
| 4348 | /^X\(\/\).*/{ |
|---|
| 4349 | s//\1/ |
|---|
| 4350 | q |
|---|
| 4351 | } |
|---|
| 4352 | s/.*/./; q'` |
|---|
| 4353 | { as_dir="$ac_dir" |
|---|
| 4354 | case $as_dir in #( |
|---|
| 4355 | -*) as_dir=./$as_dir;; |
|---|
| 4356 | esac |
|---|
| 4357 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 4358 | as_dirs= |
|---|
| 4359 | while :; do |
|---|
| 4360 | case $as_dir in #( |
|---|
| 4361 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|---|
| 4362 | *) as_qdir=$as_dir;; |
|---|
| 4363 | esac |
|---|
| 4364 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 4365 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 4366 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 4367 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 4368 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 4369 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 4370 | echo X"$as_dir" | |
|---|
| 4371 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 4372 | s//\1/ |
|---|
| 4373 | q |
|---|
| 4374 | } |
|---|
| 4375 | /^X\(\/\/\)[^/].*/{ |
|---|
| 4376 | s//\1/ |
|---|
| 4377 | q |
|---|
| 4378 | } |
|---|
| 4379 | /^X\(\/\/\)$/{ |
|---|
| 4380 | s//\1/ |
|---|
| 4381 | q |
|---|
| 4382 | } |
|---|
| 4383 | /^X\(\/\).*/{ |
|---|
| 4384 | s//\1/ |
|---|
| 4385 | q |
|---|
| 4386 | } |
|---|
| 4387 | s/.*/./; q'` |
|---|
| 4388 | test -d "$as_dir" && break |
|---|
| 4389 | done |
|---|
| 4390 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 4391 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 4392 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 4393 | { (exit 1); exit 1; }; }; } |
|---|
| 4394 | ac_builddir=. |
|---|
| 4395 | |
|---|
| 4396 | case "$ac_dir" in |
|---|
| 4397 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 4398 | *) |
|---|
| 4399 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|---|
| 4400 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 4401 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
|---|
| 4402 | case $ac_top_builddir_sub in |
|---|
| 4403 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 4404 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 4405 | esac ;; |
|---|
| 4406 | esac |
|---|
| 4407 | ac_abs_top_builddir=$ac_pwd |
|---|
| 4408 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 4409 | # for backward compatibility: |
|---|
| 4410 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 4411 | |
|---|
| 4412 | case $srcdir in |
|---|
| 4413 | .) # We are building in place. |
|---|
| 4414 | ac_srcdir=. |
|---|
| 4415 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 4416 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 4417 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 4418 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 4419 | ac_top_srcdir=$srcdir |
|---|
| 4420 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 4421 | *) # Relative name. |
|---|
| 4422 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 4423 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 4424 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 4425 | esac |
|---|
| 4426 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 4427 | |
|---|
| 4428 | |
|---|
| 4429 | case $ac_mode in |
|---|
| 4430 | :F) |
|---|
| 4431 | # |
|---|
| 4432 | # CONFIG_FILE |
|---|
| 4433 | # |
|---|
| 4434 | |
|---|
| 4435 | case $INSTALL in |
|---|
| 4436 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|---|
| 4437 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|---|
| 4438 | esac |
|---|
| 4439 | _ACEOF |
|---|
| 4440 | |
|---|
| 4441 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 4442 | # If the template does not know about datarootdir, expand it. |
|---|
| 4443 | # FIXME: This hack should be removed a few years after 2.60. |
|---|
| 4444 | ac_datarootdir_hack=; ac_datarootdir_seen= |
|---|
| 4445 | |
|---|
| 4446 | case `sed -n '/datarootdir/ { |
|---|
| 4447 | p |
|---|
| 4448 | q |
|---|
| 4449 | } |
|---|
| 4450 | /@datadir@/p |
|---|
| 4451 | /@docdir@/p |
|---|
| 4452 | /@infodir@/p |
|---|
| 4453 | /@localedir@/p |
|---|
| 4454 | /@mandir@/p |
|---|
| 4455 | ' $ac_file_inputs` in |
|---|
| 4456 | *datarootdir*) ac_datarootdir_seen=yes;; |
|---|
| 4457 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|---|
| 4458 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|---|
| 4459 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|---|
| 4460 | _ACEOF |
|---|
| 4461 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4462 | ac_datarootdir_hack=' |
|---|
| 4463 | s&@datadir@&$datadir&g |
|---|
| 4464 | s&@docdir@&$docdir&g |
|---|
| 4465 | s&@infodir@&$infodir&g |
|---|
| 4466 | s&@localedir@&$localedir&g |
|---|
| 4467 | s&@mandir@&$mandir&g |
|---|
| 4468 | s&\\\${datarootdir}&$datarootdir&g' ;; |
|---|
| 4469 | esac |
|---|
| 4470 | _ACEOF |
|---|
| 4471 | |
|---|
| 4472 | # Neutralize VPATH when `$srcdir' = `.'. |
|---|
| 4473 | # Shell code in configure.ac might set extrasub. |
|---|
| 4474 | # FIXME: do we really want to maintain this feature? |
|---|
| 4475 | cat >>$CONFIG_STATUS <<_ACEOF |
|---|
| 4476 | sed "$ac_vpsub |
|---|
| 4477 | $extrasub |
|---|
| 4478 | _ACEOF |
|---|
| 4479 | cat >>$CONFIG_STATUS <<\_ACEOF |
|---|
| 4480 | :t |
|---|
| 4481 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|---|
| 4482 | s&@configure_input@&$configure_input&;t t |
|---|
| 4483 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
|---|
| 4484 | s&@srcdir@&$ac_srcdir&;t t |
|---|
| 4485 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|---|
| 4486 | s&@top_srcdir@&$ac_top_srcdir&;t t |
|---|
| 4487 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|---|
| 4488 | s&@builddir@&$ac_builddir&;t t |
|---|
| 4489 | s&@abs_builddir@&$ac_abs_builddir&;t t |
|---|
| 4490 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|---|
| 4491 | s&@INSTALL@&$ac_INSTALL&;t t |
|---|
| 4492 | $ac_datarootdir_hack |
|---|
| 4493 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
|---|
| 4494 | |
|---|
| 4495 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|---|
| 4496 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|---|
| 4497 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|---|
| 4498 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 4499 | which seems to be undefined. Please make sure it is defined." >&5 |
|---|
| 4500 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 4501 | which seems to be undefined. Please make sure it is defined." >&2;} |
|---|
| 4502 | |
|---|
| 4503 | rm -f "$tmp/stdin" |
|---|
| 4504 | case $ac_file in |
|---|
| 4505 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
|---|
| 4506 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
|---|
| 4507 | esac |
|---|
| 4508 | ;; |
|---|
| 4509 | |
|---|
| 4510 | |
|---|
| 4511 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
|---|
| 4512 | echo "$as_me: executing $ac_file commands" >&6;} |
|---|
| 4513 | ;; |
|---|
| 4514 | esac |
|---|
| 4515 | |
|---|
| 4516 | |
|---|
| 4517 | case $ac_file$ac_mode in |
|---|
| 4518 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
|---|
| 4519 | # Strip MF so we end up with the name of the file. |
|---|
| 4520 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
|---|
| 4521 | # Check whether this is an Automake generated Makefile or not. |
|---|
| 4522 | # We used to match only the files named `Makefile.in', but |
|---|
| 4523 | # some people rename them; so instead we look at the file content. |
|---|
| 4524 | # Grep'ing the first line is not enough: some people post-process |
|---|
| 4525 | # each Makefile.in and add a new line on top of each file to say so. |
|---|
| 4526 | # So let's grep whole file. |
|---|
| 4527 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
|---|
| 4528 | dirpart=`$as_dirname -- "$mf" || |
|---|
| 4529 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 4530 | X"$mf" : 'X\(//\)[^/]' \| \ |
|---|
| 4531 | X"$mf" : 'X\(//\)$' \| \ |
|---|
| 4532 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 4533 | echo X"$mf" | |
|---|
| 4534 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 4535 | s//\1/ |
|---|
| 4536 | q |
|---|
| 4537 | } |
|---|
| 4538 | /^X\(\/\/\)[^/].*/{ |
|---|
| 4539 | s//\1/ |
|---|
| 4540 | q |
|---|
| 4541 | } |
|---|
| 4542 | /^X\(\/\/\)$/{ |
|---|
| 4543 | s//\1/ |
|---|
| 4544 | q |
|---|
| 4545 | } |
|---|
| 4546 | /^X\(\/\).*/{ |
|---|
| 4547 | s//\1/ |
|---|
| 4548 | q |
|---|
| 4549 | } |
|---|
| 4550 | s/.*/./; q'` |
|---|
| 4551 | else |
|---|
| 4552 | continue |
|---|
| 4553 | fi |
|---|
| 4554 | # Extract the definition of DEPDIR, am__include, and am__quote |
|---|
| 4555 | # from the Makefile without running `make'. |
|---|
| 4556 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|---|
| 4557 | test -z "$DEPDIR" && continue |
|---|
| 4558 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|---|
| 4559 | test -z "am__include" && continue |
|---|
| 4560 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|---|
| 4561 | # When using ansi2knr, U may be empty or an underscore; expand it |
|---|
| 4562 | U=`sed -n 's/^U = //p' < "$mf"` |
|---|
| 4563 | # Find all dependency output files, they are included files with |
|---|
| 4564 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
|---|
| 4565 | # simplest approach to changing $(DEPDIR) to its actual value in the |
|---|
| 4566 | # expansion. |
|---|
| 4567 | for file in `sed -n " |
|---|
| 4568 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|---|
| 4569 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|---|
| 4570 | # Make sure the directory exists. |
|---|
| 4571 | test -f "$dirpart/$file" && continue |
|---|
| 4572 | fdir=`$as_dirname -- "$file" || |
|---|
| 4573 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 4574 | X"$file" : 'X\(//\)[^/]' \| \ |
|---|
| 4575 | X"$file" : 'X\(//\)$' \| \ |
|---|
| 4576 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 4577 | echo X"$file" | |
|---|
| 4578 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 4579 | s//\1/ |
|---|
| 4580 | q |
|---|
| 4581 | } |
|---|
| 4582 | /^X\(\/\/\)[^/].*/{ |
|---|
| 4583 | s//\1/ |
|---|
| 4584 | q |
|---|
| 4585 | } |
|---|
| 4586 | /^X\(\/\/\)$/{ |
|---|
| 4587 | s//\1/ |
|---|
| 4588 | q |
|---|
| 4589 | } |
|---|
| 4590 | /^X\(\/\).*/{ |
|---|
| 4591 | s//\1/ |
|---|
| 4592 | q |
|---|
| 4593 | } |
|---|
| 4594 | s/.*/./; q'` |
|---|
| 4595 | { as_dir=$dirpart/$fdir |
|---|
| 4596 | case $as_dir in #( |
|---|
| 4597 | -*) as_dir=./$as_dir;; |
|---|
| 4598 | esac |
|---|
| 4599 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 4600 | as_dirs= |
|---|
| 4601 | while :; do |
|---|
| 4602 | case $as_dir in #( |
|---|
| 4603 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|---|
| 4604 | *) as_qdir=$as_dir;; |
|---|
| 4605 | esac |
|---|
| 4606 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 4607 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 4608 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 4609 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 4610 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 4611 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 4612 | echo X"$as_dir" | |
|---|
| 4613 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 4614 | s//\1/ |
|---|
| 4615 | q |
|---|
| 4616 | } |
|---|
| 4617 | /^X\(\/\/\)[^/].*/{ |
|---|
| 4618 | s//\1/ |
|---|
| 4619 | q |
|---|
| 4620 | } |
|---|
| 4621 | /^X\(\/\/\)$/{ |
|---|
| 4622 | s//\1/ |
|---|
| 4623 | q |
|---|
| 4624 | } |
|---|
| 4625 | /^X\(\/\).*/{ |
|---|
| 4626 | s//\1/ |
|---|
| 4627 | q |
|---|
| 4628 | } |
|---|
| 4629 | s/.*/./; q'` |
|---|
| 4630 | test -d "$as_dir" && break |
|---|
| 4631 | done |
|---|
| 4632 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 4633 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 4634 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 4635 | { (exit 1); exit 1; }; }; } |
|---|
| 4636 | # echo "creating $dirpart/$file" |
|---|
| 4637 | echo '# dummy' > "$dirpart/$file" |
|---|
| 4638 | done |
|---|
| 4639 | done |
|---|
| 4640 | ;; |
|---|
| 4641 | |
|---|
| 4642 | esac |
|---|
| 4643 | done # for ac_tag |
|---|
| 4644 | |
|---|
| 4645 | |
|---|
| 4646 | { (exit 0); exit 0; } |
|---|
| 4647 | _ACEOF |
|---|
| 4648 | chmod +x $CONFIG_STATUS |
|---|
| 4649 | ac_clean_files=$ac_clean_files_save |
|---|
| 4650 | |
|---|
| 4651 | |
|---|
| 4652 | # configure is writing to config.log, and then calls config.status. |
|---|
| 4653 | # config.status does its own redirection, appending to config.log. |
|---|
| 4654 | # Unfortunately, on DOS this fails, as config.log is still kept open |
|---|
| 4655 | # by configure, so config.status won't be able to write to it; its |
|---|
| 4656 | # output is simply discarded. So we exec the FD to /dev/null, |
|---|
| 4657 | # effectively closing config.log, so it can be properly (re)opened and |
|---|
| 4658 | # appended to by config.status. When coming back to configure, we |
|---|
| 4659 | # need to make the FD available again. |
|---|
| 4660 | if test "$no_create" != yes; then |
|---|
| 4661 | ac_cs_success=: |
|---|
| 4662 | ac_config_status_args= |
|---|
| 4663 | test "$silent" = yes && |
|---|
| 4664 | ac_config_status_args="$ac_config_status_args --quiet" |
|---|
| 4665 | exec 5>/dev/null |
|---|
| 4666 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|---|
| 4667 | exec 5>>config.log |
|---|
| 4668 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|---|
| 4669 | # would make configure fail if this is the last instruction. |
|---|
| 4670 | $ac_cs_success || { (exit 1); exit 1; } |
|---|
| 4671 | fi |
|---|
| 4672 | |
|---|
| 4673 | |
|---|