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