[79] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[120] | 3 | # Generated by GNU Autoconf 2.61. |
---|
[79] | 4 | # |
---|
[120] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[79] | 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 | |
---|
[120] | 13 | # Be more Bourne compatible |
---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[79] | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 16 | emulate sh |
---|
| 17 | NULLCMD=: |
---|
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 19 | # is contrary to our usage. Disable this feature. |
---|
| 20 | alias -g '${1+"$@"}'='"$@"' |
---|
[120] | 21 | setopt NO_GLOB_SUBST |
---|
| 22 | else |
---|
| 23 | case `(set -o) 2>/dev/null` in |
---|
| 24 | *posix*) set -o posix ;; |
---|
| 25 | esac |
---|
| 26 | |
---|
[79] | 27 | fi |
---|
| 28 | |
---|
[120] | 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | # PATH needs CR |
---|
| 33 | # Avoid depending upon Character Ranges. |
---|
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 37 | as_cr_digits='0123456789' |
---|
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 39 | |
---|
| 40 | # The user is always right. |
---|
| 41 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 42 | echo "#! /bin/sh" >conf$$.sh |
---|
| 43 | echo "exit 0" >>conf$$.sh |
---|
| 44 | chmod +x conf$$.sh |
---|
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 46 | PATH_SEPARATOR=';' |
---|
| 47 | else |
---|
| 48 | PATH_SEPARATOR=: |
---|
| 49 | fi |
---|
| 50 | rm -f conf$$.sh |
---|
| 51 | fi |
---|
| 52 | |
---|
[79] | 53 | # Support unset when possible. |
---|
| 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 55 | as_unset=unset |
---|
| 56 | else |
---|
| 57 | as_unset=false |
---|
| 58 | fi |
---|
| 59 | |
---|
| 60 | |
---|
[120] | 61 | # IFS |
---|
| 62 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 63 | # there to prevent editors from complaining about space-tab. |
---|
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 65 | # splitting by setting IFS to empty value.) |
---|
| 66 | as_nl=' |
---|
| 67 | ' |
---|
| 68 | IFS=" "" $as_nl" |
---|
| 69 | |
---|
| 70 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 71 | case $0 in |
---|
| 72 | *[\\/]* ) as_myself=$0 ;; |
---|
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 74 | for as_dir in $PATH |
---|
| 75 | do |
---|
| 76 | IFS=$as_save_IFS |
---|
| 77 | test -z "$as_dir" && as_dir=. |
---|
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 79 | done |
---|
| 80 | IFS=$as_save_IFS |
---|
| 81 | |
---|
| 82 | ;; |
---|
| 83 | esac |
---|
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 85 | # in which case we are not to be found in the path. |
---|
| 86 | if test "x$as_myself" = x; then |
---|
| 87 | as_myself=$0 |
---|
| 88 | fi |
---|
| 89 | if test ! -f "$as_myself"; then |
---|
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 91 | { (exit 1); exit 1; } |
---|
| 92 | fi |
---|
| 93 | |
---|
[79] | 94 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[120] | 95 | for as_var in ENV MAIL MAILPATH |
---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 97 | done |
---|
[79] | 98 | PS1='$ ' |
---|
| 99 | PS2='> ' |
---|
| 100 | PS4='+ ' |
---|
| 101 | |
---|
| 102 | # NLS nuisances. |
---|
| 103 | for as_var in \ |
---|
| 104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 106 | LC_TELEPHONE LC_TIME |
---|
| 107 | do |
---|
| 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 109 | eval $as_var=C; export $as_var |
---|
| 110 | else |
---|
[120] | 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[79] | 112 | fi |
---|
| 113 | done |
---|
| 114 | |
---|
| 115 | # Required to use basename. |
---|
[120] | 116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[79] | 118 | as_expr=expr |
---|
| 119 | else |
---|
| 120 | as_expr=false |
---|
| 121 | fi |
---|
| 122 | |
---|
[120] | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[79] | 124 | as_basename=basename |
---|
| 125 | else |
---|
| 126 | as_basename=false |
---|
| 127 | fi |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | # Name of the executable. |
---|
[120] | 131 | as_me=`$as_basename -- "$0" || |
---|
[79] | 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 133 | X"$0" : 'X\(//\)$' \| \ |
---|
[120] | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[79] | 135 | echo X/"$0" | |
---|
[120] | 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 137 | s//\1/ |
---|
| 138 | q |
---|
| 139 | } |
---|
| 140 | /^X\/\(\/\/\)$/{ |
---|
| 141 | s//\1/ |
---|
| 142 | q |
---|
| 143 | } |
---|
| 144 | /^X\/\(\/\).*/{ |
---|
| 145 | s//\1/ |
---|
| 146 | q |
---|
| 147 | } |
---|
| 148 | s/.*/./; q'` |
---|
[79] | 149 | |
---|
[120] | 150 | # CDPATH. |
---|
| 151 | $as_unset CDPATH |
---|
[79] | 152 | |
---|
| 153 | |
---|
[120] | 154 | if test "x$CONFIG_SHELL" = x; then |
---|
| 155 | if (eval ":") 2>/dev/null; then |
---|
| 156 | as_have_required=yes |
---|
| 157 | else |
---|
| 158 | as_have_required=no |
---|
[79] | 159 | fi |
---|
| 160 | |
---|
[120] | 161 | if test $as_have_required = yes && (eval ": |
---|
| 162 | (as_func_return () { |
---|
| 163 | (exit \$1) |
---|
| 164 | } |
---|
| 165 | as_func_success () { |
---|
| 166 | as_func_return 0 |
---|
| 167 | } |
---|
| 168 | as_func_failure () { |
---|
| 169 | as_func_return 1 |
---|
| 170 | } |
---|
| 171 | as_func_ret_success () { |
---|
| 172 | return 0 |
---|
| 173 | } |
---|
| 174 | as_func_ret_failure () { |
---|
| 175 | return 1 |
---|
| 176 | } |
---|
[79] | 177 | |
---|
[120] | 178 | exitcode=0 |
---|
| 179 | if as_func_success; then |
---|
| 180 | : |
---|
| 181 | else |
---|
| 182 | exitcode=1 |
---|
| 183 | echo as_func_success failed. |
---|
| 184 | fi |
---|
[79] | 185 | |
---|
[120] | 186 | if as_func_failure; then |
---|
| 187 | exitcode=1 |
---|
| 188 | echo as_func_failure succeeded. |
---|
| 189 | fi |
---|
| 190 | |
---|
| 191 | if as_func_ret_success; then |
---|
| 192 | : |
---|
| 193 | else |
---|
| 194 | exitcode=1 |
---|
| 195 | echo as_func_ret_success failed. |
---|
| 196 | fi |
---|
| 197 | |
---|
| 198 | if as_func_ret_failure; then |
---|
| 199 | exitcode=1 |
---|
| 200 | echo as_func_ret_failure succeeded. |
---|
| 201 | fi |
---|
| 202 | |
---|
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
| 204 | : |
---|
| 205 | else |
---|
| 206 | exitcode=1 |
---|
| 207 | echo positional parameters were not saved. |
---|
| 208 | fi |
---|
| 209 | |
---|
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
---|
| 211 | |
---|
| 212 | ( |
---|
| 213 | as_lineno_1=\$LINENO |
---|
| 214 | as_lineno_2=\$LINENO |
---|
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
---|
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
---|
| 217 | ") 2> /dev/null; then |
---|
| 218 | : |
---|
| 219 | else |
---|
| 220 | as_candidate_shells= |
---|
[79] | 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 223 | do |
---|
| 224 | IFS=$as_save_IFS |
---|
| 225 | test -z "$as_dir" && as_dir=. |
---|
[120] | 226 | case $as_dir in |
---|
[79] | 227 | /*) |
---|
[120] | 228 | for as_base in sh bash ksh sh5; do |
---|
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
---|
| 230 | done;; |
---|
| 231 | esac |
---|
| 232 | done |
---|
| 233 | IFS=$as_save_IFS |
---|
| 234 | |
---|
| 235 | |
---|
| 236 | for as_shell in $as_candidate_shells $SHELL; do |
---|
| 237 | # Try only shells that exist, to save several forks. |
---|
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
---|
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 241 | emulate sh |
---|
| 242 | NULLCMD=: |
---|
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 244 | # is contrary to our usage. Disable this feature. |
---|
| 245 | alias -g '${1+"$@"}'='"$@"' |
---|
| 246 | setopt NO_GLOB_SUBST |
---|
| 247 | else |
---|
| 248 | case `(set -o) 2>/dev/null` in |
---|
| 249 | *posix*) set -o posix ;; |
---|
| 250 | esac |
---|
| 251 | |
---|
| 252 | fi |
---|
| 253 | |
---|
| 254 | |
---|
| 255 | : |
---|
| 256 | _ASEOF |
---|
| 257 | }; then |
---|
| 258 | CONFIG_SHELL=$as_shell |
---|
| 259 | as_have_required=yes |
---|
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
---|
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 262 | emulate sh |
---|
| 263 | NULLCMD=: |
---|
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 265 | # is contrary to our usage. Disable this feature. |
---|
| 266 | alias -g '${1+"$@"}'='"$@"' |
---|
| 267 | setopt NO_GLOB_SUBST |
---|
| 268 | else |
---|
| 269 | case `(set -o) 2>/dev/null` in |
---|
| 270 | *posix*) set -o posix ;; |
---|
| 271 | esac |
---|
| 272 | |
---|
| 273 | fi |
---|
| 274 | |
---|
| 275 | |
---|
| 276 | : |
---|
| 277 | (as_func_return () { |
---|
| 278 | (exit $1) |
---|
| 279 | } |
---|
| 280 | as_func_success () { |
---|
| 281 | as_func_return 0 |
---|
| 282 | } |
---|
| 283 | as_func_failure () { |
---|
| 284 | as_func_return 1 |
---|
| 285 | } |
---|
| 286 | as_func_ret_success () { |
---|
| 287 | return 0 |
---|
| 288 | } |
---|
| 289 | as_func_ret_failure () { |
---|
| 290 | return 1 |
---|
| 291 | } |
---|
| 292 | |
---|
| 293 | exitcode=0 |
---|
| 294 | if as_func_success; then |
---|
| 295 | : |
---|
| 296 | else |
---|
| 297 | exitcode=1 |
---|
| 298 | echo as_func_success failed. |
---|
| 299 | fi |
---|
| 300 | |
---|
| 301 | if as_func_failure; then |
---|
| 302 | exitcode=1 |
---|
| 303 | echo as_func_failure succeeded. |
---|
| 304 | fi |
---|
| 305 | |
---|
| 306 | if as_func_ret_success; then |
---|
| 307 | : |
---|
| 308 | else |
---|
| 309 | exitcode=1 |
---|
| 310 | echo as_func_ret_success failed. |
---|
| 311 | fi |
---|
| 312 | |
---|
| 313 | if as_func_ret_failure; then |
---|
| 314 | exitcode=1 |
---|
| 315 | echo as_func_ret_failure succeeded. |
---|
| 316 | fi |
---|
| 317 | |
---|
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
---|
| 319 | : |
---|
| 320 | else |
---|
| 321 | exitcode=1 |
---|
| 322 | echo positional parameters were not saved. |
---|
| 323 | fi |
---|
| 324 | |
---|
| 325 | test $exitcode = 0) || { (exit 1); exit 1; } |
---|
| 326 | |
---|
| 327 | ( |
---|
[79] | 328 | as_lineno_1=$LINENO |
---|
| 329 | as_lineno_2=$LINENO |
---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[120] | 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
[79] | 332 | |
---|
[120] | 333 | _ASEOF |
---|
| 334 | }; then |
---|
| 335 | break |
---|
| 336 | fi |
---|
| 337 | |
---|
| 338 | fi |
---|
| 339 | |
---|
| 340 | done |
---|
| 341 | |
---|
| 342 | if test "x$CONFIG_SHELL" != x; then |
---|
| 343 | for as_var in BASH_ENV ENV |
---|
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 345 | done |
---|
| 346 | export CONFIG_SHELL |
---|
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
| 348 | fi |
---|
| 349 | |
---|
| 350 | |
---|
| 351 | if test $as_have_required = no; then |
---|
| 352 | echo This script requires a shell more modern than all the |
---|
| 353 | echo shells that I found on your system. Please install a |
---|
| 354 | echo modern shell, or manually run the script under such a |
---|
| 355 | echo shell if you do have one. |
---|
| 356 | { (exit 1); exit 1; } |
---|
| 357 | fi |
---|
| 358 | |
---|
| 359 | |
---|
| 360 | fi |
---|
| 361 | |
---|
| 362 | fi |
---|
| 363 | |
---|
| 364 | |
---|
| 365 | |
---|
| 366 | (eval "as_func_return () { |
---|
| 367 | (exit \$1) |
---|
| 368 | } |
---|
| 369 | as_func_success () { |
---|
| 370 | as_func_return 0 |
---|
| 371 | } |
---|
| 372 | as_func_failure () { |
---|
| 373 | as_func_return 1 |
---|
| 374 | } |
---|
| 375 | as_func_ret_success () { |
---|
| 376 | return 0 |
---|
| 377 | } |
---|
| 378 | as_func_ret_failure () { |
---|
| 379 | return 1 |
---|
| 380 | } |
---|
| 381 | |
---|
| 382 | exitcode=0 |
---|
| 383 | if as_func_success; then |
---|
| 384 | : |
---|
| 385 | else |
---|
| 386 | exitcode=1 |
---|
| 387 | echo as_func_success failed. |
---|
| 388 | fi |
---|
| 389 | |
---|
| 390 | if as_func_failure; then |
---|
| 391 | exitcode=1 |
---|
| 392 | echo as_func_failure succeeded. |
---|
| 393 | fi |
---|
| 394 | |
---|
| 395 | if as_func_ret_success; then |
---|
| 396 | : |
---|
| 397 | else |
---|
| 398 | exitcode=1 |
---|
| 399 | echo as_func_ret_success failed. |
---|
| 400 | fi |
---|
| 401 | |
---|
| 402 | if as_func_ret_failure; then |
---|
| 403 | exitcode=1 |
---|
| 404 | echo as_func_ret_failure succeeded. |
---|
| 405 | fi |
---|
| 406 | |
---|
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
| 408 | : |
---|
| 409 | else |
---|
| 410 | exitcode=1 |
---|
| 411 | echo positional parameters were not saved. |
---|
| 412 | fi |
---|
| 413 | |
---|
| 414 | test \$exitcode = 0") || { |
---|
| 415 | echo No shell found that supports shell functions. |
---|
| 416 | echo Please tell autoconf@gnu.org about your system, |
---|
| 417 | echo including any error possibly output before this |
---|
| 418 | echo message |
---|
| 419 | } |
---|
| 420 | |
---|
| 421 | |
---|
| 422 | |
---|
| 423 | as_lineno_1=$LINENO |
---|
| 424 | as_lineno_2=$LINENO |
---|
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
| 427 | |
---|
[79] | 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[120] | 430 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 431 | # does the real work. The second script uses 'N' to pair each |
---|
| 432 | # line-number line with the line containing $LINENO, and appends |
---|
| 433 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 434 | # case at line end. |
---|
[79] | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[120] | 436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 438 | sed -n ' |
---|
| 439 | p |
---|
| 440 | /[$]LINENO/= |
---|
| 441 | ' <$as_myself | |
---|
[79] | 442 | sed ' |
---|
[120] | 443 | s/[$]LINENO.*/&-/ |
---|
| 444 | t lineno |
---|
| 445 | b |
---|
| 446 | :lineno |
---|
[79] | 447 | N |
---|
[120] | 448 | :loop |
---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[79] | 450 | t loop |
---|
[120] | 451 | s/-\n.*// |
---|
[79] | 452 | ' >$as_me.lineno && |
---|
[120] | 453 | chmod +x "$as_me.lineno" || |
---|
[79] | 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
| 455 | { (exit 1); exit 1; }; } |
---|
| 456 | |
---|
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 458 | # (the dirname of $[0] is not the place where we might find the |
---|
[120] | 459 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 460 | . "./$as_me.lineno" |
---|
[79] | 461 | # Exit status is that of the last command. |
---|
| 462 | exit |
---|
| 463 | } |
---|
| 464 | |
---|
| 465 | |
---|
[120] | 466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 467 | as_dirname=dirname |
---|
| 468 | else |
---|
| 469 | as_dirname=false |
---|
| 470 | fi |
---|
| 471 | |
---|
| 472 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 473 | case `echo -n x` in |
---|
| 474 | -n*) |
---|
| 475 | case `echo 'x\c'` in |
---|
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 477 | *) ECHO_C='\c';; |
---|
| 478 | esac;; |
---|
| 479 | *) |
---|
| 480 | ECHO_N='-n';; |
---|
[79] | 481 | esac |
---|
| 482 | |
---|
[120] | 483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[79] | 485 | as_expr=expr |
---|
| 486 | else |
---|
| 487 | as_expr=false |
---|
| 488 | fi |
---|
| 489 | |
---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[120] | 491 | if test -d conf$$.dir; then |
---|
| 492 | rm -f conf$$.dir/conf$$.file |
---|
| 493 | else |
---|
| 494 | rm -f conf$$.dir |
---|
| 495 | mkdir conf$$.dir |
---|
| 496 | fi |
---|
[79] | 497 | echo >conf$$.file |
---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[120] | 499 | as_ln_s='ln -s' |
---|
| 500 | # ... but there are two gotchas: |
---|
| 501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 503 | # In both cases, we have to default to `cp -p'. |
---|
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[79] | 505 | as_ln_s='cp -p' |
---|
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 507 | as_ln_s=ln |
---|
| 508 | else |
---|
| 509 | as_ln_s='cp -p' |
---|
| 510 | fi |
---|
[120] | 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 512 | rmdir conf$$.dir 2>/dev/null |
---|
[79] | 513 | |
---|
| 514 | if mkdir -p . 2>/dev/null; then |
---|
| 515 | as_mkdir_p=: |
---|
| 516 | else |
---|
| 517 | test -d ./-p && rmdir ./-p |
---|
| 518 | as_mkdir_p=false |
---|
| 519 | fi |
---|
| 520 | |
---|
[120] | 521 | if test -x / >/dev/null 2>&1; then |
---|
| 522 | as_test_x='test -x' |
---|
| 523 | else |
---|
| 524 | if ls -dL / >/dev/null 2>&1; then |
---|
| 525 | as_ls_L_option=L |
---|
| 526 | else |
---|
| 527 | as_ls_L_option= |
---|
| 528 | fi |
---|
| 529 | as_test_x=' |
---|
| 530 | eval sh -c '\'' |
---|
| 531 | if test -d "$1"; then |
---|
| 532 | test -d "$1/."; |
---|
| 533 | else |
---|
| 534 | case $1 in |
---|
| 535 | -*)set "./$1";; |
---|
| 536 | esac; |
---|
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
| 538 | ???[sx]*):;;*)false;;esac;fi |
---|
| 539 | '\'' sh |
---|
| 540 | ' |
---|
| 541 | fi |
---|
| 542 | as_executable_p=$as_test_x |
---|
[79] | 543 | |
---|
| 544 | # Sed expression to map a string onto a valid CPP name. |
---|
| 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 546 | |
---|
| 547 | # Sed expression to map a string onto a valid variable name. |
---|
| 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 549 | |
---|
| 550 | |
---|
| 551 | |
---|
[120] | 552 | exec 7<&0 </dev/null 6>&1 |
---|
[79] | 553 | |
---|
| 554 | # Name of the host. |
---|
| 555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
| 556 | # so uname gets run too. |
---|
| 557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 558 | |
---|
| 559 | # |
---|
| 560 | # Initializations. |
---|
| 561 | # |
---|
| 562 | ac_default_prefix=/usr/local |
---|
[120] | 563 | ac_clean_files= |
---|
[79] | 564 | ac_config_libobj_dir=. |
---|
[120] | 565 | LIBOBJS= |
---|
[79] | 566 | cross_compiling=no |
---|
| 567 | subdirs= |
---|
| 568 | MFLAGS= |
---|
| 569 | MAKEFLAGS= |
---|
| 570 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 571 | |
---|
| 572 | # Identity of this package. |
---|
| 573 | PACKAGE_NAME= |
---|
| 574 | PACKAGE_TARNAME= |
---|
| 575 | PACKAGE_VERSION= |
---|
| 576 | PACKAGE_STRING= |
---|
| 577 | PACKAGE_BUGREPORT= |
---|
| 578 | |
---|
[142] | 579 | ac_unique_file="src/pxeconfig.in" |
---|
[120] | 580 | ac_subst_vars='SHELL |
---|
| 581 | PATH_SEPARATOR |
---|
| 582 | PACKAGE_NAME |
---|
| 583 | PACKAGE_TARNAME |
---|
| 584 | PACKAGE_VERSION |
---|
| 585 | PACKAGE_STRING |
---|
| 586 | PACKAGE_BUGREPORT |
---|
| 587 | exec_prefix |
---|
| 588 | prefix |
---|
| 589 | program_transform_name |
---|
| 590 | bindir |
---|
| 591 | sbindir |
---|
| 592 | libexecdir |
---|
| 593 | datarootdir |
---|
| 594 | datadir |
---|
| 595 | sysconfdir |
---|
| 596 | sharedstatedir |
---|
| 597 | localstatedir |
---|
| 598 | includedir |
---|
| 599 | oldincludedir |
---|
| 600 | docdir |
---|
| 601 | infodir |
---|
| 602 | htmldir |
---|
| 603 | dvidir |
---|
| 604 | pdfdir |
---|
| 605 | psdir |
---|
| 606 | libdir |
---|
| 607 | localedir |
---|
| 608 | mandir |
---|
| 609 | DEFS |
---|
| 610 | ECHO_C |
---|
| 611 | ECHO_N |
---|
| 612 | ECHO_T |
---|
| 613 | LIBS |
---|
| 614 | build_alias |
---|
| 615 | host_alias |
---|
| 616 | target_alias |
---|
| 617 | pyexecdir |
---|
| 618 | PYTHON |
---|
| 619 | PYTHON_VERSION |
---|
| 620 | PYTHON_PREFIX |
---|
| 621 | PYTHON_EXEC_PREFIX |
---|
| 622 | PYTHON_PLATFORM |
---|
| 623 | pythondir |
---|
| 624 | pkgpythondir |
---|
| 625 | pkgpyexecdir |
---|
| 626 | DEBUG |
---|
| 627 | pxeconfig_conf |
---|
| 628 | SYSTEM_PXECONFIG_CONF |
---|
| 629 | LIBOBJS |
---|
| 630 | LTLIBOBJS' |
---|
[79] | 631 | ac_subst_files='' |
---|
[120] | 632 | ac_precious_vars='build_alias |
---|
| 633 | host_alias |
---|
| 634 | target_alias' |
---|
[79] | 635 | |
---|
[120] | 636 | |
---|
[79] | 637 | # Initialize some variables set by options. |
---|
| 638 | ac_init_help= |
---|
| 639 | ac_init_version=false |
---|
| 640 | # The variables have the same names as the options, with |
---|
| 641 | # dashes changed to underlines. |
---|
| 642 | cache_file=/dev/null |
---|
| 643 | exec_prefix=NONE |
---|
| 644 | no_create= |
---|
| 645 | no_recursion= |
---|
| 646 | prefix=NONE |
---|
| 647 | program_prefix=NONE |
---|
| 648 | program_suffix=NONE |
---|
| 649 | program_transform_name=s,x,x, |
---|
| 650 | silent= |
---|
| 651 | site= |
---|
| 652 | srcdir= |
---|
| 653 | verbose= |
---|
| 654 | x_includes=NONE |
---|
| 655 | x_libraries=NONE |
---|
| 656 | |
---|
| 657 | # Installation directory options. |
---|
| 658 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 659 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 660 | # by default will actually change. |
---|
| 661 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
[120] | 662 | # (The list follows the same order as the GNU Coding Standards.) |
---|
[79] | 663 | bindir='${exec_prefix}/bin' |
---|
| 664 | sbindir='${exec_prefix}/sbin' |
---|
| 665 | libexecdir='${exec_prefix}/libexec' |
---|
[120] | 666 | datarootdir='${prefix}/share' |
---|
| 667 | datadir='${datarootdir}' |
---|
[79] | 668 | sysconfdir='${prefix}/etc' |
---|
| 669 | sharedstatedir='${prefix}/com' |
---|
| 670 | localstatedir='${prefix}/var' |
---|
| 671 | includedir='${prefix}/include' |
---|
| 672 | oldincludedir='/usr/include' |
---|
[120] | 673 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 674 | infodir='${datarootdir}/info' |
---|
| 675 | htmldir='${docdir}' |
---|
| 676 | dvidir='${docdir}' |
---|
| 677 | pdfdir='${docdir}' |
---|
| 678 | psdir='${docdir}' |
---|
| 679 | libdir='${exec_prefix}/lib' |
---|
| 680 | localedir='${datarootdir}/locale' |
---|
| 681 | mandir='${datarootdir}/man' |
---|
[79] | 682 | |
---|
| 683 | ac_prev= |
---|
[120] | 684 | ac_dashdash= |
---|
[79] | 685 | for ac_option |
---|
| 686 | do |
---|
| 687 | # If the previous option needs an argument, assign it. |
---|
| 688 | if test -n "$ac_prev"; then |
---|
[120] | 689 | eval $ac_prev=\$ac_option |
---|
[79] | 690 | ac_prev= |
---|
| 691 | continue |
---|
| 692 | fi |
---|
| 693 | |
---|
[120] | 694 | case $ac_option in |
---|
| 695 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 696 | *) ac_optarg=yes ;; |
---|
| 697 | esac |
---|
[79] | 698 | |
---|
| 699 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 700 | |
---|
[120] | 701 | case $ac_dashdash$ac_option in |
---|
| 702 | --) |
---|
| 703 | ac_dashdash=yes ;; |
---|
[79] | 704 | |
---|
| 705 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 706 | ac_prev=bindir ;; |
---|
| 707 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 708 | bindir=$ac_optarg ;; |
---|
| 709 | |
---|
| 710 | -build | --build | --buil | --bui | --bu) |
---|
| 711 | ac_prev=build_alias ;; |
---|
| 712 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 713 | build_alias=$ac_optarg ;; |
---|
| 714 | |
---|
| 715 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 716 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 717 | ac_prev=cache_file ;; |
---|
| 718 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 719 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 720 | cache_file=$ac_optarg ;; |
---|
| 721 | |
---|
| 722 | --config-cache | -C) |
---|
| 723 | cache_file=config.cache ;; |
---|
| 724 | |
---|
[120] | 725 | -datadir | --datadir | --datadi | --datad) |
---|
[79] | 726 | ac_prev=datadir ;; |
---|
[120] | 727 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
[79] | 728 | datadir=$ac_optarg ;; |
---|
| 729 | |
---|
[120] | 730 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 731 | | --dataroo | --dataro | --datar) |
---|
| 732 | ac_prev=datarootdir ;; |
---|
| 733 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 734 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 735 | datarootdir=$ac_optarg ;; |
---|
| 736 | |
---|
[79] | 737 | -disable-* | --disable-*) |
---|
| 738 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 739 | # Reject names that are not valid shell variable names. |
---|
[120] | 740 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[79] | 741 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 742 | { (exit 1); exit 1; }; } |
---|
[120] | 743 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
| 744 | eval enable_$ac_feature=no ;; |
---|
[79] | 745 | |
---|
[120] | 746 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 747 | ac_prev=docdir ;; |
---|
| 748 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 749 | docdir=$ac_optarg ;; |
---|
| 750 | |
---|
| 751 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 752 | ac_prev=dvidir ;; |
---|
| 753 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 754 | dvidir=$ac_optarg ;; |
---|
| 755 | |
---|
[79] | 756 | -enable-* | --enable-*) |
---|
| 757 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 758 | # Reject names that are not valid shell variable names. |
---|
[120] | 759 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[79] | 760 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 761 | { (exit 1); exit 1; }; } |
---|
[120] | 762 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
| 763 | eval enable_$ac_feature=\$ac_optarg ;; |
---|
[79] | 764 | |
---|
| 765 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 766 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 767 | | --exec | --exe | --ex) |
---|
| 768 | ac_prev=exec_prefix ;; |
---|
| 769 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 770 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 771 | | --exec=* | --exe=* | --ex=*) |
---|
| 772 | exec_prefix=$ac_optarg ;; |
---|
| 773 | |
---|
| 774 | -gas | --gas | --ga | --g) |
---|
| 775 | # Obsolete; use --with-gas. |
---|
| 776 | with_gas=yes ;; |
---|
| 777 | |
---|
| 778 | -help | --help | --hel | --he | -h) |
---|
| 779 | ac_init_help=long ;; |
---|
| 780 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 781 | ac_init_help=recursive ;; |
---|
| 782 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 783 | ac_init_help=short ;; |
---|
| 784 | |
---|
| 785 | -host | --host | --hos | --ho) |
---|
| 786 | ac_prev=host_alias ;; |
---|
| 787 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 788 | host_alias=$ac_optarg ;; |
---|
| 789 | |
---|
[120] | 790 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 791 | ac_prev=htmldir ;; |
---|
| 792 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 793 | | --ht=*) |
---|
| 794 | htmldir=$ac_optarg ;; |
---|
| 795 | |
---|
[79] | 796 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 797 | | --includ | --inclu | --incl | --inc) |
---|
| 798 | ac_prev=includedir ;; |
---|
| 799 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 800 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 801 | includedir=$ac_optarg ;; |
---|
| 802 | |
---|
| 803 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 804 | ac_prev=infodir ;; |
---|
| 805 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 806 | infodir=$ac_optarg ;; |
---|
| 807 | |
---|
| 808 | -libdir | --libdir | --libdi | --libd) |
---|
| 809 | ac_prev=libdir ;; |
---|
| 810 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 811 | libdir=$ac_optarg ;; |
---|
| 812 | |
---|
| 813 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 814 | | --libexe | --libex | --libe) |
---|
| 815 | ac_prev=libexecdir ;; |
---|
| 816 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 817 | | --libexe=* | --libex=* | --libe=*) |
---|
| 818 | libexecdir=$ac_optarg ;; |
---|
| 819 | |
---|
[120] | 820 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 821 | ac_prev=localedir ;; |
---|
| 822 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 823 | localedir=$ac_optarg ;; |
---|
| 824 | |
---|
[79] | 825 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
[120] | 826 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
[79] | 827 | ac_prev=localstatedir ;; |
---|
| 828 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
[120] | 829 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
[79] | 830 | localstatedir=$ac_optarg ;; |
---|
| 831 | |
---|
| 832 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 833 | ac_prev=mandir ;; |
---|
| 834 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 835 | mandir=$ac_optarg ;; |
---|
| 836 | |
---|
| 837 | -nfp | --nfp | --nf) |
---|
| 838 | # Obsolete; use --without-fp. |
---|
| 839 | with_fp=no ;; |
---|
| 840 | |
---|
| 841 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 842 | | --no-cr | --no-c | -n) |
---|
| 843 | no_create=yes ;; |
---|
| 844 | |
---|
| 845 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 846 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 847 | no_recursion=yes ;; |
---|
| 848 | |
---|
| 849 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 850 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 851 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 852 | ac_prev=oldincludedir ;; |
---|
| 853 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 854 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 855 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 856 | oldincludedir=$ac_optarg ;; |
---|
| 857 | |
---|
| 858 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 859 | ac_prev=prefix ;; |
---|
| 860 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 861 | prefix=$ac_optarg ;; |
---|
| 862 | |
---|
| 863 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 864 | | --program-pre | --program-pr | --program-p) |
---|
| 865 | ac_prev=program_prefix ;; |
---|
| 866 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 867 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 868 | program_prefix=$ac_optarg ;; |
---|
| 869 | |
---|
| 870 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 871 | | --program-suf | --program-su | --program-s) |
---|
| 872 | ac_prev=program_suffix ;; |
---|
| 873 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 874 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 875 | program_suffix=$ac_optarg ;; |
---|
| 876 | |
---|
| 877 | -program-transform-name | --program-transform-name \ |
---|
| 878 | | --program-transform-nam | --program-transform-na \ |
---|
| 879 | | --program-transform-n | --program-transform- \ |
---|
| 880 | | --program-transform | --program-transfor \ |
---|
| 881 | | --program-transfo | --program-transf \ |
---|
| 882 | | --program-trans | --program-tran \ |
---|
| 883 | | --progr-tra | --program-tr | --program-t) |
---|
| 884 | ac_prev=program_transform_name ;; |
---|
| 885 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 886 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 887 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 888 | | --program-transform=* | --program-transfor=* \ |
---|
| 889 | | --program-transfo=* | --program-transf=* \ |
---|
| 890 | | --program-trans=* | --program-tran=* \ |
---|
| 891 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 892 | program_transform_name=$ac_optarg ;; |
---|
| 893 | |
---|
[120] | 894 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 895 | ac_prev=pdfdir ;; |
---|
| 896 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 897 | pdfdir=$ac_optarg ;; |
---|
| 898 | |
---|
| 899 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 900 | ac_prev=psdir ;; |
---|
| 901 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 902 | psdir=$ac_optarg ;; |
---|
| 903 | |
---|
[79] | 904 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 905 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 906 | silent=yes ;; |
---|
| 907 | |
---|
| 908 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 909 | ac_prev=sbindir ;; |
---|
| 910 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 911 | | --sbi=* | --sb=*) |
---|
| 912 | sbindir=$ac_optarg ;; |
---|
| 913 | |
---|
| 914 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 915 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 916 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 917 | | --sha | --sh) |
---|
| 918 | ac_prev=sharedstatedir ;; |
---|
| 919 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 920 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 921 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 922 | | --sha=* | --sh=*) |
---|
| 923 | sharedstatedir=$ac_optarg ;; |
---|
| 924 | |
---|
| 925 | -site | --site | --sit) |
---|
| 926 | ac_prev=site ;; |
---|
| 927 | -site=* | --site=* | --sit=*) |
---|
| 928 | site=$ac_optarg ;; |
---|
| 929 | |
---|
| 930 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 931 | ac_prev=srcdir ;; |
---|
| 932 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 933 | srcdir=$ac_optarg ;; |
---|
| 934 | |
---|
| 935 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 936 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 937 | ac_prev=sysconfdir ;; |
---|
| 938 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 939 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 940 | sysconfdir=$ac_optarg ;; |
---|
| 941 | |
---|
| 942 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 943 | ac_prev=target_alias ;; |
---|
| 944 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 945 | target_alias=$ac_optarg ;; |
---|
| 946 | |
---|
| 947 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 948 | verbose=yes ;; |
---|
| 949 | |
---|
| 950 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 951 | ac_init_version=: ;; |
---|
| 952 | |
---|
| 953 | -with-* | --with-*) |
---|
| 954 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 955 | # Reject names that are not valid shell variable names. |
---|
[120] | 956 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[79] | 957 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 958 | { (exit 1); exit 1; }; } |
---|
[120] | 959 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
| 960 | eval with_$ac_package=\$ac_optarg ;; |
---|
[79] | 961 | |
---|
| 962 | -without-* | --without-*) |
---|
| 963 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 964 | # Reject names that are not valid shell variable names. |
---|
[120] | 965 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[79] | 966 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 967 | { (exit 1); exit 1; }; } |
---|
[120] | 968 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
| 969 | eval with_$ac_package=no ;; |
---|
[79] | 970 | |
---|
| 971 | --x) |
---|
| 972 | # Obsolete; use --with-x. |
---|
| 973 | with_x=yes ;; |
---|
| 974 | |
---|
| 975 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 976 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 977 | ac_prev=x_includes ;; |
---|
| 978 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 979 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 980 | x_includes=$ac_optarg ;; |
---|
| 981 | |
---|
| 982 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 983 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 984 | ac_prev=x_libraries ;; |
---|
| 985 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 986 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 987 | x_libraries=$ac_optarg ;; |
---|
| 988 | |
---|
| 989 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 990 | Try \`$0 --help' for more information." >&2 |
---|
| 991 | { (exit 1); exit 1; }; } |
---|
| 992 | ;; |
---|
| 993 | |
---|
| 994 | *=*) |
---|
| 995 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 996 | # Reject names that are not valid shell variable names. |
---|
| 997 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 998 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 999 | { (exit 1); exit 1; }; } |
---|
[120] | 1000 | eval $ac_envvar=\$ac_optarg |
---|
[79] | 1001 | export $ac_envvar ;; |
---|
| 1002 | |
---|
| 1003 | *) |
---|
| 1004 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1005 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1006 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1007 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1008 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
| 1009 | ;; |
---|
| 1010 | |
---|
| 1011 | esac |
---|
| 1012 | done |
---|
| 1013 | |
---|
| 1014 | if test -n "$ac_prev"; then |
---|
| 1015 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1016 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 1017 | { (exit 1); exit 1; }; } |
---|
| 1018 | fi |
---|
| 1019 | |
---|
[120] | 1020 | # Be sure to have absolute directory names. |
---|
| 1021 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1022 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1023 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1024 | libdir localedir mandir |
---|
[79] | 1025 | do |
---|
[120] | 1026 | eval ac_val=\$$ac_var |
---|
[79] | 1027 | case $ac_val in |
---|
[120] | 1028 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1029 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
[79] | 1030 | esac |
---|
[120] | 1031 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 1032 | { (exit 1); exit 1; }; } |
---|
[79] | 1033 | done |
---|
| 1034 | |
---|
| 1035 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1036 | # used to hold the argument of --host etc. |
---|
| 1037 | # FIXME: To remove some day. |
---|
| 1038 | build=$build_alias |
---|
| 1039 | host=$host_alias |
---|
| 1040 | target=$target_alias |
---|
| 1041 | |
---|
| 1042 | # FIXME: To remove some day. |
---|
| 1043 | if test "x$host_alias" != x; then |
---|
| 1044 | if test "x$build_alias" = x; then |
---|
| 1045 | cross_compiling=maybe |
---|
| 1046 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 1047 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 1048 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1049 | cross_compiling=yes |
---|
| 1050 | fi |
---|
| 1051 | fi |
---|
| 1052 | |
---|
| 1053 | ac_tool_prefix= |
---|
| 1054 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1055 | |
---|
| 1056 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1057 | |
---|
| 1058 | |
---|
[120] | 1059 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1060 | ac_ls_di=`ls -di .` && |
---|
| 1061 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1062 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
---|
| 1063 | { (exit 1); exit 1; }; } |
---|
| 1064 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1065 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
| 1066 | { (exit 1); exit 1; }; } |
---|
| 1067 | |
---|
| 1068 | |
---|
[79] | 1069 | # Find the source files, if location was not specified. |
---|
| 1070 | if test -z "$srcdir"; then |
---|
| 1071 | ac_srcdir_defaulted=yes |
---|
[120] | 1072 | # Try the directory containing this script, then the parent directory. |
---|
| 1073 | ac_confdir=`$as_dirname -- "$0" || |
---|
[79] | 1074 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1075 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 1076 | X"$0" : 'X\(//\)$' \| \ |
---|
[120] | 1077 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[79] | 1078 | echo X"$0" | |
---|
[120] | 1079 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1080 | s//\1/ |
---|
| 1081 | q |
---|
| 1082 | } |
---|
| 1083 | /^X\(\/\/\)[^/].*/{ |
---|
| 1084 | s//\1/ |
---|
| 1085 | q |
---|
| 1086 | } |
---|
| 1087 | /^X\(\/\/\)$/{ |
---|
| 1088 | s//\1/ |
---|
| 1089 | q |
---|
| 1090 | } |
---|
| 1091 | /^X\(\/\).*/{ |
---|
| 1092 | s//\1/ |
---|
| 1093 | q |
---|
| 1094 | } |
---|
| 1095 | s/.*/./; q'` |
---|
[79] | 1096 | srcdir=$ac_confdir |
---|
[120] | 1097 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
[79] | 1098 | srcdir=.. |
---|
| 1099 | fi |
---|
| 1100 | else |
---|
| 1101 | ac_srcdir_defaulted=no |
---|
| 1102 | fi |
---|
[120] | 1103 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1104 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1105 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
[79] | 1106 | { (exit 1); exit 1; }; } |
---|
[120] | 1107 | fi |
---|
| 1108 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1109 | ac_abs_confdir=`( |
---|
| 1110 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
---|
[81] | 1111 | { (exit 1); exit 1; }; } |
---|
[120] | 1112 | pwd)` |
---|
| 1113 | # When building in place, set srcdir=. |
---|
| 1114 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1115 | srcdir=. |
---|
[79] | 1116 | fi |
---|
[120] | 1117 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1118 | # Double slashes in file names in object file debugging info |
---|
| 1119 | # mess up M-x gdb in Emacs. |
---|
| 1120 | case $srcdir in |
---|
| 1121 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1122 | esac |
---|
| 1123 | for ac_var in $ac_precious_vars; do |
---|
| 1124 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1125 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1126 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1127 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1128 | done |
---|
[79] | 1129 | |
---|
| 1130 | # |
---|
| 1131 | # Report the --help message. |
---|
| 1132 | # |
---|
| 1133 | if test "$ac_init_help" = "long"; then |
---|
| 1134 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1135 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1136 | cat <<_ACEOF |
---|
| 1137 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1138 | |
---|
| 1139 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1140 | |
---|
| 1141 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1142 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1143 | |
---|
| 1144 | Defaults for the options are specified in brackets. |
---|
| 1145 | |
---|
| 1146 | Configuration: |
---|
| 1147 | -h, --help display this help and exit |
---|
| 1148 | --help=short display options specific to this package |
---|
| 1149 | --help=recursive display the short help of all the included packages |
---|
| 1150 | -V, --version display version information and exit |
---|
| 1151 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 1152 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1153 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1154 | -n, --no-create do not create output files |
---|
| 1155 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1156 | |
---|
| 1157 | Installation directories: |
---|
| 1158 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1159 | [$ac_default_prefix] |
---|
| 1160 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1161 | [PREFIX] |
---|
| 1162 | |
---|
| 1163 | By default, \`make install' will install all the files in |
---|
| 1164 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1165 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1166 | for instance \`--prefix=\$HOME'. |
---|
| 1167 | |
---|
| 1168 | For better control, use the options below. |
---|
| 1169 | |
---|
| 1170 | Fine tuning of the installation directories: |
---|
| 1171 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1172 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1173 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1174 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1175 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1176 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1177 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1178 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1179 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
[120] | 1180 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1181 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1182 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1183 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1184 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1185 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1186 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1187 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1188 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1189 | --psdir=DIR ps documentation [DOCDIR] |
---|
[79] | 1190 | _ACEOF |
---|
| 1191 | |
---|
| 1192 | cat <<\_ACEOF |
---|
| 1193 | _ACEOF |
---|
| 1194 | fi |
---|
| 1195 | |
---|
| 1196 | if test -n "$ac_init_help"; then |
---|
| 1197 | |
---|
| 1198 | cat <<\_ACEOF |
---|
| 1199 | |
---|
| 1200 | _ACEOF |
---|
[120] | 1201 | ac_status=$? |
---|
[79] | 1202 | fi |
---|
| 1203 | |
---|
| 1204 | if test "$ac_init_help" = "recursive"; then |
---|
| 1205 | # If there are subdirs, report their specific --help. |
---|
| 1206 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
[120] | 1207 | test -d "$ac_dir" || continue |
---|
[79] | 1208 | ac_builddir=. |
---|
| 1209 | |
---|
[120] | 1210 | case "$ac_dir" in |
---|
| 1211 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1212 | *) |
---|
[79] | 1213 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[120] | 1214 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1215 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 1216 | case $ac_top_builddir_sub in |
---|
| 1217 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1218 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1219 | esac ;; |
---|
| 1220 | esac |
---|
| 1221 | ac_abs_top_builddir=$ac_pwd |
---|
| 1222 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1223 | # for backward compatibility: |
---|
| 1224 | ac_top_builddir=$ac_top_build_prefix |
---|
[79] | 1225 | |
---|
| 1226 | case $srcdir in |
---|
[120] | 1227 | .) # We are building in place. |
---|
[79] | 1228 | ac_srcdir=. |
---|
[120] | 1229 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1230 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1231 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[79] | 1232 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[120] | 1233 | ac_top_srcdir=$srcdir |
---|
| 1234 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1235 | *) # Relative name. |
---|
| 1236 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1237 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1238 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[79] | 1239 | esac |
---|
[120] | 1240 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[79] | 1241 | |
---|
[120] | 1242 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1243 | # Check for guested configure. |
---|
| 1244 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1245 | echo && |
---|
| 1246 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1247 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1248 | echo && |
---|
| 1249 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
[79] | 1250 | else |
---|
| 1251 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
[120] | 1252 | fi || ac_status=$? |
---|
| 1253 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
[79] | 1254 | done |
---|
| 1255 | fi |
---|
| 1256 | |
---|
[120] | 1257 | test -n "$ac_init_help" && exit $ac_status |
---|
[79] | 1258 | if $ac_init_version; then |
---|
| 1259 | cat <<\_ACEOF |
---|
[120] | 1260 | configure |
---|
| 1261 | generated by GNU Autoconf 2.61 |
---|
[79] | 1262 | |
---|
[120] | 1263 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 1264 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[79] | 1265 | This configure script is free software; the Free Software Foundation |
---|
| 1266 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1267 | _ACEOF |
---|
[120] | 1268 | exit |
---|
[79] | 1269 | fi |
---|
[120] | 1270 | cat >config.log <<_ACEOF |
---|
[79] | 1271 | This file contains any messages produced by compilers while |
---|
| 1272 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1273 | |
---|
| 1274 | It was created by $as_me, which was |
---|
[120] | 1275 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
[79] | 1276 | |
---|
| 1277 | $ $0 $@ |
---|
| 1278 | |
---|
| 1279 | _ACEOF |
---|
[120] | 1280 | exec 5>>config.log |
---|
[79] | 1281 | { |
---|
| 1282 | cat <<_ASUNAME |
---|
| 1283 | ## --------- ## |
---|
| 1284 | ## Platform. ## |
---|
| 1285 | ## --------- ## |
---|
| 1286 | |
---|
| 1287 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1288 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1289 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1290 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1291 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1292 | |
---|
| 1293 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1294 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1295 | |
---|
| 1296 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1297 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1298 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
[120] | 1299 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
[79] | 1300 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1301 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1302 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1303 | |
---|
| 1304 | _ASUNAME |
---|
| 1305 | |
---|
| 1306 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1307 | for as_dir in $PATH |
---|
| 1308 | do |
---|
| 1309 | IFS=$as_save_IFS |
---|
| 1310 | test -z "$as_dir" && as_dir=. |
---|
| 1311 | echo "PATH: $as_dir" |
---|
| 1312 | done |
---|
[120] | 1313 | IFS=$as_save_IFS |
---|
[79] | 1314 | |
---|
| 1315 | } >&5 |
---|
| 1316 | |
---|
| 1317 | cat >&5 <<_ACEOF |
---|
| 1318 | |
---|
| 1319 | |
---|
| 1320 | ## ----------- ## |
---|
| 1321 | ## Core tests. ## |
---|
| 1322 | ## ----------- ## |
---|
| 1323 | |
---|
| 1324 | _ACEOF |
---|
| 1325 | |
---|
| 1326 | |
---|
| 1327 | # Keep a trace of the command line. |
---|
| 1328 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1329 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1330 | # Also quote any args containing shell meta-characters. |
---|
| 1331 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1332 | ac_configure_args= |
---|
| 1333 | ac_configure_args0= |
---|
| 1334 | ac_configure_args1= |
---|
| 1335 | ac_must_keep_next=false |
---|
| 1336 | for ac_pass in 1 2 |
---|
| 1337 | do |
---|
| 1338 | for ac_arg |
---|
| 1339 | do |
---|
| 1340 | case $ac_arg in |
---|
| 1341 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1342 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1343 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1344 | continue ;; |
---|
[120] | 1345 | *\'*) |
---|
[79] | 1346 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1347 | esac |
---|
| 1348 | case $ac_pass in |
---|
| 1349 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1350 | 2) |
---|
| 1351 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1352 | if test $ac_must_keep_next = true; then |
---|
| 1353 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1354 | else |
---|
| 1355 | case $ac_arg in |
---|
| 1356 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1357 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1358 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1359 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1360 | case "$ac_configure_args0 " in |
---|
| 1361 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1362 | esac |
---|
| 1363 | ;; |
---|
| 1364 | -* ) ac_must_keep_next=true ;; |
---|
| 1365 | esac |
---|
| 1366 | fi |
---|
[120] | 1367 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
[79] | 1368 | ;; |
---|
| 1369 | esac |
---|
| 1370 | done |
---|
| 1371 | done |
---|
| 1372 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1373 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1374 | |
---|
| 1375 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1376 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1377 | # would cause problems or look ugly. |
---|
[120] | 1378 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1379 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
[79] | 1380 | trap 'exit_status=$? |
---|
| 1381 | # Save into config.log some information that might help in debugging. |
---|
| 1382 | { |
---|
| 1383 | echo |
---|
| 1384 | |
---|
| 1385 | cat <<\_ASBOX |
---|
| 1386 | ## ---------------- ## |
---|
| 1387 | ## Cache variables. ## |
---|
| 1388 | ## ---------------- ## |
---|
| 1389 | _ASBOX |
---|
| 1390 | echo |
---|
| 1391 | # The following way of writing the cache mishandles newlines in values, |
---|
[120] | 1392 | ( |
---|
| 1393 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1394 | eval ac_val=\$$ac_var |
---|
| 1395 | case $ac_val in #( |
---|
| 1396 | *${as_nl}*) |
---|
| 1397 | case $ac_var in #( |
---|
| 1398 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 1399 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 1400 | esac |
---|
| 1401 | case $ac_var in #( |
---|
| 1402 | _ | IFS | as_nl) ;; #( |
---|
| 1403 | *) $as_unset $ac_var ;; |
---|
| 1404 | esac ;; |
---|
| 1405 | esac |
---|
| 1406 | done |
---|
[79] | 1407 | (set) 2>&1 | |
---|
[120] | 1408 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1409 | *${as_nl}ac_space=\ *) |
---|
[79] | 1410 | sed -n \ |
---|
[120] | 1411 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1412 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1413 | ;; #( |
---|
[79] | 1414 | *) |
---|
[120] | 1415 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[79] | 1416 | ;; |
---|
[120] | 1417 | esac | |
---|
| 1418 | sort |
---|
| 1419 | ) |
---|
[79] | 1420 | echo |
---|
| 1421 | |
---|
| 1422 | cat <<\_ASBOX |
---|
| 1423 | ## ----------------- ## |
---|
| 1424 | ## Output variables. ## |
---|
| 1425 | ## ----------------- ## |
---|
| 1426 | _ASBOX |
---|
| 1427 | echo |
---|
| 1428 | for ac_var in $ac_subst_vars |
---|
| 1429 | do |
---|
[120] | 1430 | eval ac_val=\$$ac_var |
---|
| 1431 | case $ac_val in |
---|
| 1432 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1433 | esac |
---|
| 1434 | echo "$ac_var='\''$ac_val'\''" |
---|
[79] | 1435 | done | sort |
---|
| 1436 | echo |
---|
| 1437 | |
---|
| 1438 | if test -n "$ac_subst_files"; then |
---|
| 1439 | cat <<\_ASBOX |
---|
[120] | 1440 | ## ------------------- ## |
---|
| 1441 | ## File substitutions. ## |
---|
| 1442 | ## ------------------- ## |
---|
[79] | 1443 | _ASBOX |
---|
| 1444 | echo |
---|
| 1445 | for ac_var in $ac_subst_files |
---|
| 1446 | do |
---|
[120] | 1447 | eval ac_val=\$$ac_var |
---|
| 1448 | case $ac_val in |
---|
| 1449 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1450 | esac |
---|
| 1451 | echo "$ac_var='\''$ac_val'\''" |
---|
[79] | 1452 | done | sort |
---|
| 1453 | echo |
---|
| 1454 | fi |
---|
| 1455 | |
---|
| 1456 | if test -s confdefs.h; then |
---|
| 1457 | cat <<\_ASBOX |
---|
| 1458 | ## ----------- ## |
---|
| 1459 | ## confdefs.h. ## |
---|
| 1460 | ## ----------- ## |
---|
| 1461 | _ASBOX |
---|
| 1462 | echo |
---|
[120] | 1463 | cat confdefs.h |
---|
[79] | 1464 | echo |
---|
| 1465 | fi |
---|
| 1466 | test "$ac_signal" != 0 && |
---|
| 1467 | echo "$as_me: caught signal $ac_signal" |
---|
| 1468 | echo "$as_me: exit $exit_status" |
---|
| 1469 | } >&5 |
---|
[120] | 1470 | rm -f core *.core core.conftest.* && |
---|
| 1471 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
[79] | 1472 | exit $exit_status |
---|
[120] | 1473 | ' 0 |
---|
[79] | 1474 | for ac_signal in 1 2 13 15; do |
---|
| 1475 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1476 | done |
---|
| 1477 | ac_signal=0 |
---|
| 1478 | |
---|
| 1479 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
[120] | 1480 | rm -f -r conftest* confdefs.h |
---|
[79] | 1481 | |
---|
| 1482 | # Predefined preprocessor variables. |
---|
| 1483 | |
---|
| 1484 | cat >>confdefs.h <<_ACEOF |
---|
| 1485 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1486 | _ACEOF |
---|
| 1487 | |
---|
| 1488 | |
---|
| 1489 | cat >>confdefs.h <<_ACEOF |
---|
| 1490 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1491 | _ACEOF |
---|
| 1492 | |
---|
| 1493 | |
---|
| 1494 | cat >>confdefs.h <<_ACEOF |
---|
| 1495 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1496 | _ACEOF |
---|
| 1497 | |
---|
| 1498 | |
---|
| 1499 | cat >>confdefs.h <<_ACEOF |
---|
| 1500 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1501 | _ACEOF |
---|
| 1502 | |
---|
| 1503 | |
---|
| 1504 | cat >>confdefs.h <<_ACEOF |
---|
| 1505 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1506 | _ACEOF |
---|
| 1507 | |
---|
| 1508 | |
---|
| 1509 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1510 | # Prefer explicitly selected file to automatically selected ones. |
---|
[120] | 1511 | if test -n "$CONFIG_SITE"; then |
---|
| 1512 | set x "$CONFIG_SITE" |
---|
| 1513 | elif test "x$prefix" != xNONE; then |
---|
| 1514 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
---|
| 1515 | else |
---|
| 1516 | set x "$ac_default_prefix/share/config.site" \ |
---|
| 1517 | "$ac_default_prefix/etc/config.site" |
---|
[79] | 1518 | fi |
---|
[120] | 1519 | shift |
---|
| 1520 | for ac_site_file |
---|
| 1521 | do |
---|
[79] | 1522 | if test -r "$ac_site_file"; then |
---|
| 1523 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1524 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1525 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1526 | . "$ac_site_file" |
---|
| 1527 | fi |
---|
| 1528 | done |
---|
| 1529 | |
---|
| 1530 | if test -r "$cache_file"; then |
---|
| 1531 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1532 | # files actually), so we avoid doing that. |
---|
| 1533 | if test -f "$cache_file"; then |
---|
| 1534 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1535 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1536 | case $cache_file in |
---|
[120] | 1537 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1538 | *) . "./$cache_file";; |
---|
[79] | 1539 | esac |
---|
| 1540 | fi |
---|
| 1541 | else |
---|
| 1542 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1543 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1544 | >$cache_file |
---|
| 1545 | fi |
---|
| 1546 | |
---|
| 1547 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1548 | # value. |
---|
| 1549 | ac_cache_corrupted=false |
---|
[120] | 1550 | for ac_var in $ac_precious_vars; do |
---|
[79] | 1551 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1552 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
[120] | 1553 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1554 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
[79] | 1555 | case $ac_old_set,$ac_new_set in |
---|
| 1556 | set,) |
---|
| 1557 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1558 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1559 | ac_cache_corrupted=: ;; |
---|
| 1560 | ,set) |
---|
| 1561 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1562 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1563 | ac_cache_corrupted=: ;; |
---|
| 1564 | ,);; |
---|
| 1565 | *) |
---|
| 1566 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1567 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1568 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1569 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1570 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1571 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1572 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1573 | ac_cache_corrupted=: |
---|
| 1574 | fi;; |
---|
| 1575 | esac |
---|
| 1576 | # Pass precious variables to config.status. |
---|
| 1577 | if test "$ac_new_set" = set; then |
---|
| 1578 | case $ac_new_val in |
---|
[120] | 1579 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[79] | 1580 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1581 | esac |
---|
| 1582 | case " $ac_configure_args " in |
---|
| 1583 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1584 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1585 | esac |
---|
| 1586 | fi |
---|
| 1587 | done |
---|
| 1588 | if $ac_cache_corrupted; then |
---|
| 1589 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1590 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1591 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1592 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1593 | { (exit 1); exit 1; }; } |
---|
| 1594 | fi |
---|
| 1595 | |
---|
| 1596 | |
---|
| 1597 | |
---|
| 1598 | |
---|
| 1599 | |
---|
| 1600 | |
---|
| 1601 | |
---|
| 1602 | |
---|
| 1603 | |
---|
| 1604 | |
---|
| 1605 | |
---|
| 1606 | |
---|
| 1607 | |
---|
| 1608 | |
---|
| 1609 | |
---|
| 1610 | |
---|
| 1611 | |
---|
[120] | 1612 | ac_ext=c |
---|
| 1613 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1614 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1615 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1616 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[79] | 1617 | |
---|
| 1618 | |
---|
| 1619 | |
---|
| 1620 | |
---|
| 1621 | |
---|
| 1622 | |
---|
| 1623 | |
---|
[81] | 1624 | |
---|
[79] | 1625 | #DEBUG=0 |
---|
| 1626 | |
---|
| 1627 | |
---|
| 1628 | |
---|
| 1629 | |
---|
| 1630 | |
---|
| 1631 | # Find any Python interpreter. |
---|
| 1632 | if test -z "$PYTHON"; then |
---|
[116] | 1633 | for ac_prog in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 |
---|
[79] | 1634 | do |
---|
| 1635 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1636 | set dummy $ac_prog; ac_word=$2 |
---|
[120] | 1637 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1638 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[79] | 1639 | if test "${ac_cv_path_PYTHON+set}" = set; then |
---|
| 1640 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1641 | else |
---|
| 1642 | case $PYTHON in |
---|
| 1643 | [\\/]* | ?:[\\/]*) |
---|
| 1644 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
---|
| 1645 | ;; |
---|
| 1646 | *) |
---|
| 1647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1648 | for as_dir in $PATH |
---|
| 1649 | do |
---|
| 1650 | IFS=$as_save_IFS |
---|
| 1651 | test -z "$as_dir" && as_dir=. |
---|
| 1652 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[120] | 1653 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[79] | 1654 | ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
---|
| 1655 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1656 | break 2 |
---|
| 1657 | fi |
---|
| 1658 | done |
---|
| 1659 | done |
---|
[120] | 1660 | IFS=$as_save_IFS |
---|
[79] | 1661 | |
---|
| 1662 | ;; |
---|
| 1663 | esac |
---|
| 1664 | fi |
---|
| 1665 | PYTHON=$ac_cv_path_PYTHON |
---|
| 1666 | if test -n "$PYTHON"; then |
---|
[120] | 1667 | { echo "$as_me:$LINENO: result: $PYTHON" >&5 |
---|
| 1668 | echo "${ECHO_T}$PYTHON" >&6; } |
---|
[79] | 1669 | else |
---|
[120] | 1670 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1671 | echo "${ECHO_T}no" >&6; } |
---|
[79] | 1672 | fi |
---|
| 1673 | |
---|
[120] | 1674 | |
---|
[79] | 1675 | test -n "$PYTHON" && break |
---|
| 1676 | done |
---|
| 1677 | test -n "$PYTHON" || PYTHON=":" |
---|
| 1678 | |
---|
| 1679 | fi |
---|
| 1680 | am_display_PYTHON=python |
---|
| 1681 | |
---|
| 1682 | |
---|
| 1683 | if test "$PYTHON" = :; then |
---|
| 1684 | { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 |
---|
| 1685 | echo "$as_me: error: no suitable Python interpreter found" >&2;} |
---|
| 1686 | { (exit 1); exit 1; }; } |
---|
| 1687 | else |
---|
| 1688 | |
---|
| 1689 | |
---|
[120] | 1690 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 |
---|
| 1691 | echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } |
---|
[79] | 1692 | if test "${am_cv_python_version+set}" = set; then |
---|
| 1693 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1694 | else |
---|
| 1695 | am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
---|
| 1696 | fi |
---|
[120] | 1697 | { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 |
---|
| 1698 | echo "${ECHO_T}$am_cv_python_version" >&6; } |
---|
[79] | 1699 | PYTHON_VERSION=$am_cv_python_version |
---|
| 1700 | |
---|
| 1701 | |
---|
| 1702 | |
---|
| 1703 | PYTHON_PREFIX='${prefix}' |
---|
| 1704 | |
---|
| 1705 | PYTHON_EXEC_PREFIX='${exec_prefix}' |
---|
| 1706 | |
---|
| 1707 | |
---|
| 1708 | |
---|
[120] | 1709 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 |
---|
| 1710 | echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } |
---|
[79] | 1711 | if test "${am_cv_python_platform+set}" = set; then |
---|
| 1712 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1713 | else |
---|
| 1714 | am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
---|
| 1715 | fi |
---|
[120] | 1716 | { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 |
---|
| 1717 | echo "${ECHO_T}$am_cv_python_platform" >&6; } |
---|
[79] | 1718 | PYTHON_PLATFORM=$am_cv_python_platform |
---|
| 1719 | |
---|
| 1720 | |
---|
| 1721 | |
---|
| 1722 | |
---|
[120] | 1723 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 |
---|
| 1724 | echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } |
---|
[79] | 1725 | if test "${am_cv_python_pythondir+set}" = set; then |
---|
| 1726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1727 | else |
---|
| 1728 | am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
---|
| 1729 | echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
---|
| 1730 | fi |
---|
[120] | 1731 | { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 |
---|
| 1732 | echo "${ECHO_T}$am_cv_python_pythondir" >&6; } |
---|
[79] | 1733 | pythondir=$am_cv_python_pythondir |
---|
| 1734 | |
---|
| 1735 | |
---|
| 1736 | |
---|
| 1737 | pkgpythondir=\${pythondir}/$PACKAGE |
---|
| 1738 | |
---|
| 1739 | |
---|
[120] | 1740 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 |
---|
| 1741 | echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } |
---|
[79] | 1742 | if test "${am_cv_python_pyexecdir+set}" = set; then |
---|
| 1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1744 | else |
---|
| 1745 | am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
---|
| 1746 | echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
---|
| 1747 | fi |
---|
[120] | 1748 | { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 |
---|
| 1749 | echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } |
---|
[79] | 1750 | pyexecdir=$am_cv_python_pyexecdir |
---|
| 1751 | |
---|
| 1752 | |
---|
| 1753 | |
---|
| 1754 | pkgpyexecdir=\${pyexecdir}/$PACKAGE |
---|
| 1755 | |
---|
| 1756 | |
---|
| 1757 | |
---|
| 1758 | fi |
---|
| 1759 | |
---|
| 1760 | |
---|
[120] | 1761 | #AC_PROG_GCC_TRADITIONAL |
---|
[79] | 1762 | |
---|
| 1763 | if test "x$DEBUG" = "x";then |
---|
| 1764 | DEBUG=0 |
---|
| 1765 | fi |
---|
| 1766 | |
---|
| 1767 | |
---|
| 1768 | # Now a user can specify the TRAC user |
---|
| 1769 | # |
---|
| 1770 | #AC_ARG_WITH(trac_user, |
---|
| 1771 | #[ |
---|
| 1772 | # --with-trac_user=USER Specify the name of the user that trac use, |
---|
| 1773 | # default=www-data], |
---|
| 1774 | # |
---|
| 1775 | # [case "${withval}" in |
---|
| 1776 | # *) trac_user="${withval}" ;; |
---|
| 1777 | # esac], |
---|
| 1778 | # |
---|
| 1779 | # [trac_user="www-data"] |
---|
| 1780 | ##)dnl |
---|
| 1781 | |
---|
| 1782 | |
---|
| 1783 | if test "$sysconfdir" = '${prefix}/etc'; then |
---|
| 1784 | if test "x$prefix" = xNONE; then |
---|
| 1785 | pxeconfig_conf="$ac_default_prefix/etc/pxeconfig.conf" |
---|
| 1786 | else |
---|
| 1787 | pxeconfig_conf="$prefix/etc/pxeconfig.conf" |
---|
| 1788 | fi |
---|
| 1789 | else |
---|
| 1790 | pxeconfig_conf="$sysconfdir/pxeconfig.conf" |
---|
| 1791 | fi |
---|
| 1792 | |
---|
| 1793 | cat >>confdefs.h <<_ACEOF |
---|
| 1794 | #define SYSTEM_PXECONFIG_CONF "$pxeconfig_conf" |
---|
| 1795 | _ACEOF |
---|
| 1796 | |
---|
| 1797 | |
---|
| 1798 | |
---|
| 1799 | |
---|
| 1800 | |
---|
| 1801 | |
---|
[171] | 1802 | ac_config_files="$ac_config_files Makefile src/pxeconfig src/pxe_global.py src/pxeconfigd src/hexls examples/pxeconfigd.xinetd" |
---|
[120] | 1803 | |
---|
[79] | 1804 | cat >confcache <<\_ACEOF |
---|
| 1805 | # This file is a shell script that caches the results of configure |
---|
| 1806 | # tests run on this system so they can be shared between configure |
---|
| 1807 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 1808 | # It is not useful on other systems. If it contains results you don't |
---|
| 1809 | # want to keep, you may remove or edit it. |
---|
| 1810 | # |
---|
| 1811 | # config.status only pays attention to the cache file if you give it |
---|
| 1812 | # the --recheck option to rerun configure. |
---|
| 1813 | # |
---|
| 1814 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 1815 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 1816 | # following values. |
---|
| 1817 | |
---|
| 1818 | _ACEOF |
---|
| 1819 | |
---|
| 1820 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1821 | # but we know of no workaround that is simple, portable, and efficient. |
---|
[120] | 1822 | # So, we kill variables containing newlines. |
---|
[79] | 1823 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 1824 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
[120] | 1825 | ( |
---|
| 1826 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 1827 | eval ac_val=\$$ac_var |
---|
| 1828 | case $ac_val in #( |
---|
| 1829 | *${as_nl}*) |
---|
| 1830 | case $ac_var in #( |
---|
| 1831 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 1832 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 1833 | esac |
---|
| 1834 | case $ac_var in #( |
---|
| 1835 | _ | IFS | as_nl) ;; #( |
---|
| 1836 | *) $as_unset $ac_var ;; |
---|
| 1837 | esac ;; |
---|
| 1838 | esac |
---|
| 1839 | done |
---|
| 1840 | |
---|
[79] | 1841 | (set) 2>&1 | |
---|
[120] | 1842 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 1843 | *${as_nl}ac_space=\ *) |
---|
[79] | 1844 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 1845 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 1846 | sed -n \ |
---|
| 1847 | "s/'/'\\\\''/g; |
---|
| 1848 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
[120] | 1849 | ;; #( |
---|
[79] | 1850 | *) |
---|
| 1851 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
[120] | 1852 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[79] | 1853 | ;; |
---|
[120] | 1854 | esac | |
---|
| 1855 | sort |
---|
| 1856 | ) | |
---|
[79] | 1857 | sed ' |
---|
[120] | 1858 | /^ac_cv_env_/b end |
---|
[79] | 1859 | t clear |
---|
[120] | 1860 | :clear |
---|
[79] | 1861 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 1862 | t end |
---|
[120] | 1863 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 1864 | :end' >>confcache |
---|
| 1865 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 1866 | if test -w "$cache_file"; then |
---|
| 1867 | test "x$cache_file" != "x/dev/null" && |
---|
| 1868 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
| 1869 | echo "$as_me: updating cache $cache_file" >&6;} |
---|
[79] | 1870 | cat confcache >$cache_file |
---|
| 1871 | else |
---|
[120] | 1872 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
| 1873 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
[79] | 1874 | fi |
---|
| 1875 | fi |
---|
| 1876 | rm -f confcache |
---|
| 1877 | |
---|
| 1878 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 1879 | # Let make expand exec_prefix. |
---|
| 1880 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 1881 | |
---|
| 1882 | # Transform confdefs.h into DEFS. |
---|
| 1883 | # Protect against shell expansion while executing Makefile rules. |
---|
| 1884 | # Protect against Makefile macro expansion. |
---|
| 1885 | # |
---|
| 1886 | # If the first sed substitution is executed (which looks for macros that |
---|
[120] | 1887 | # take arguments), then branch to the quote section. Otherwise, |
---|
[79] | 1888 | # look for a macro that doesn't take arguments. |
---|
[120] | 1889 | ac_script=' |
---|
[79] | 1890 | t clear |
---|
[120] | 1891 | :clear |
---|
| 1892 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
[79] | 1893 | t quote |
---|
[120] | 1894 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
[79] | 1895 | t quote |
---|
[120] | 1896 | b any |
---|
| 1897 | :quote |
---|
| 1898 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 1899 | s/\[/\\&/g |
---|
| 1900 | s/\]/\\&/g |
---|
| 1901 | s/\$/$$/g |
---|
| 1902 | H |
---|
| 1903 | :any |
---|
| 1904 | ${ |
---|
| 1905 | g |
---|
| 1906 | s/^\n// |
---|
| 1907 | s/\n/ /g |
---|
| 1908 | p |
---|
| 1909 | } |
---|
| 1910 | ' |
---|
| 1911 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
[79] | 1912 | |
---|
| 1913 | |
---|
| 1914 | ac_libobjs= |
---|
| 1915 | ac_ltlibobjs= |
---|
| 1916 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 1917 | # 1. Remove the extension, and $U if already installed. |
---|
[120] | 1918 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 1919 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
---|
| 1920 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 1921 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 1922 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 1923 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
[79] | 1924 | done |
---|
| 1925 | LIBOBJS=$ac_libobjs |
---|
| 1926 | |
---|
| 1927 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 1928 | |
---|
| 1929 | |
---|
| 1930 | |
---|
| 1931 | : ${CONFIG_STATUS=./config.status} |
---|
| 1932 | ac_clean_files_save=$ac_clean_files |
---|
| 1933 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 1934 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 1935 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 1936 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 1937 | #! $SHELL |
---|
| 1938 | # Generated by $as_me. |
---|
| 1939 | # Run this file to recreate the current configuration. |
---|
| 1940 | # Compiler output produced by configure, useful for debugging |
---|
| 1941 | # configure, is in config.log if it exists. |
---|
| 1942 | |
---|
| 1943 | debug=false |
---|
| 1944 | ac_cs_recheck=false |
---|
| 1945 | ac_cs_silent=false |
---|
| 1946 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 1947 | _ACEOF |
---|
| 1948 | |
---|
| 1949 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 1950 | ## --------------------- ## |
---|
| 1951 | ## M4sh Initialization. ## |
---|
| 1952 | ## --------------------- ## |
---|
| 1953 | |
---|
[120] | 1954 | # Be more Bourne compatible |
---|
| 1955 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[79] | 1956 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 1957 | emulate sh |
---|
| 1958 | NULLCMD=: |
---|
| 1959 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 1960 | # is contrary to our usage. Disable this feature. |
---|
| 1961 | alias -g '${1+"$@"}'='"$@"' |
---|
[120] | 1962 | setopt NO_GLOB_SUBST |
---|
| 1963 | else |
---|
| 1964 | case `(set -o) 2>/dev/null` in |
---|
| 1965 | *posix*) set -o posix ;; |
---|
| 1966 | esac |
---|
| 1967 | |
---|
[79] | 1968 | fi |
---|
| 1969 | |
---|
[120] | 1970 | |
---|
| 1971 | |
---|
| 1972 | |
---|
| 1973 | # PATH needs CR |
---|
| 1974 | # Avoid depending upon Character Ranges. |
---|
| 1975 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 1976 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 1977 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 1978 | as_cr_digits='0123456789' |
---|
| 1979 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 1980 | |
---|
| 1981 | # The user is always right. |
---|
| 1982 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 1983 | echo "#! /bin/sh" >conf$$.sh |
---|
| 1984 | echo "exit 0" >>conf$$.sh |
---|
| 1985 | chmod +x conf$$.sh |
---|
| 1986 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 1987 | PATH_SEPARATOR=';' |
---|
| 1988 | else |
---|
| 1989 | PATH_SEPARATOR=: |
---|
| 1990 | fi |
---|
| 1991 | rm -f conf$$.sh |
---|
| 1992 | fi |
---|
| 1993 | |
---|
[79] | 1994 | # Support unset when possible. |
---|
| 1995 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 1996 | as_unset=unset |
---|
| 1997 | else |
---|
| 1998 | as_unset=false |
---|
| 1999 | fi |
---|
| 2000 | |
---|
| 2001 | |
---|
[120] | 2002 | # IFS |
---|
| 2003 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 2004 | # there to prevent editors from complaining about space-tab. |
---|
| 2005 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 2006 | # splitting by setting IFS to empty value.) |
---|
| 2007 | as_nl=' |
---|
| 2008 | ' |
---|
| 2009 | IFS=" "" $as_nl" |
---|
| 2010 | |
---|
| 2011 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 2012 | case $0 in |
---|
| 2013 | *[\\/]* ) as_myself=$0 ;; |
---|
| 2014 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2015 | for as_dir in $PATH |
---|
| 2016 | do |
---|
| 2017 | IFS=$as_save_IFS |
---|
| 2018 | test -z "$as_dir" && as_dir=. |
---|
| 2019 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 2020 | done |
---|
| 2021 | IFS=$as_save_IFS |
---|
| 2022 | |
---|
| 2023 | ;; |
---|
| 2024 | esac |
---|
| 2025 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 2026 | # in which case we are not to be found in the path. |
---|
| 2027 | if test "x$as_myself" = x; then |
---|
| 2028 | as_myself=$0 |
---|
| 2029 | fi |
---|
| 2030 | if test ! -f "$as_myself"; then |
---|
| 2031 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 2032 | { (exit 1); exit 1; } |
---|
| 2033 | fi |
---|
| 2034 | |
---|
[79] | 2035 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[120] | 2036 | for as_var in ENV MAIL MAILPATH |
---|
| 2037 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 2038 | done |
---|
[79] | 2039 | PS1='$ ' |
---|
| 2040 | PS2='> ' |
---|
| 2041 | PS4='+ ' |
---|
| 2042 | |
---|
| 2043 | # NLS nuisances. |
---|
| 2044 | for as_var in \ |
---|
| 2045 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 2046 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 2047 | LC_TELEPHONE LC_TIME |
---|
| 2048 | do |
---|
| 2049 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 2050 | eval $as_var=C; export $as_var |
---|
| 2051 | else |
---|
[120] | 2052 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[79] | 2053 | fi |
---|
| 2054 | done |
---|
| 2055 | |
---|
| 2056 | # Required to use basename. |
---|
[120] | 2057 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 2058 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[79] | 2059 | as_expr=expr |
---|
| 2060 | else |
---|
| 2061 | as_expr=false |
---|
| 2062 | fi |
---|
| 2063 | |
---|
[120] | 2064 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[79] | 2065 | as_basename=basename |
---|
| 2066 | else |
---|
| 2067 | as_basename=false |
---|
| 2068 | fi |
---|
| 2069 | |
---|
| 2070 | |
---|
| 2071 | # Name of the executable. |
---|
[120] | 2072 | as_me=`$as_basename -- "$0" || |
---|
[79] | 2073 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 2074 | X"$0" : 'X\(//\)$' \| \ |
---|
[120] | 2075 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[79] | 2076 | echo X/"$0" | |
---|
[120] | 2077 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 2078 | s//\1/ |
---|
| 2079 | q |
---|
| 2080 | } |
---|
| 2081 | /^X\/\(\/\/\)$/{ |
---|
| 2082 | s//\1/ |
---|
| 2083 | q |
---|
| 2084 | } |
---|
| 2085 | /^X\/\(\/\).*/{ |
---|
| 2086 | s//\1/ |
---|
| 2087 | q |
---|
| 2088 | } |
---|
| 2089 | s/.*/./; q'` |
---|
[79] | 2090 | |
---|
[120] | 2091 | # CDPATH. |
---|
| 2092 | $as_unset CDPATH |
---|
[79] | 2093 | |
---|
| 2094 | |
---|
| 2095 | |
---|
| 2096 | as_lineno_1=$LINENO |
---|
| 2097 | as_lineno_2=$LINENO |
---|
| 2098 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[120] | 2099 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
[79] | 2100 | |
---|
| 2101 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 2102 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[120] | 2103 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 2104 | # does the real work. The second script uses 'N' to pair each |
---|
| 2105 | # line-number line with the line containing $LINENO, and appends |
---|
| 2106 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 2107 | # case at line end. |
---|
[79] | 2108 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[120] | 2109 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 2110 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 2111 | sed -n ' |
---|
| 2112 | p |
---|
| 2113 | /[$]LINENO/= |
---|
| 2114 | ' <$as_myself | |
---|
[79] | 2115 | sed ' |
---|
[120] | 2116 | s/[$]LINENO.*/&-/ |
---|
| 2117 | t lineno |
---|
| 2118 | b |
---|
| 2119 | :lineno |
---|
[79] | 2120 | N |
---|
[120] | 2121 | :loop |
---|
| 2122 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[79] | 2123 | t loop |
---|
[120] | 2124 | s/-\n.*// |
---|
[79] | 2125 | ' >$as_me.lineno && |
---|
[120] | 2126 | chmod +x "$as_me.lineno" || |
---|
| 2127 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
[79] | 2128 | { (exit 1); exit 1; }; } |
---|
| 2129 | |
---|
| 2130 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 2131 | # (the dirname of $[0] is not the place where we might find the |
---|
[120] | 2132 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 2133 | . "./$as_me.lineno" |
---|
[79] | 2134 | # Exit status is that of the last command. |
---|
| 2135 | exit |
---|
| 2136 | } |
---|
| 2137 | |
---|
| 2138 | |
---|
[120] | 2139 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 2140 | as_dirname=dirname |
---|
| 2141 | else |
---|
| 2142 | as_dirname=false |
---|
| 2143 | fi |
---|
| 2144 | |
---|
| 2145 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 2146 | case `echo -n x` in |
---|
| 2147 | -n*) |
---|
| 2148 | case `echo 'x\c'` in |
---|
| 2149 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 2150 | *) ECHO_C='\c';; |
---|
| 2151 | esac;; |
---|
| 2152 | *) |
---|
| 2153 | ECHO_N='-n';; |
---|
[79] | 2154 | esac |
---|
| 2155 | |
---|
[120] | 2156 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 2157 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[79] | 2158 | as_expr=expr |
---|
| 2159 | else |
---|
| 2160 | as_expr=false |
---|
| 2161 | fi |
---|
| 2162 | |
---|
| 2163 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[120] | 2164 | if test -d conf$$.dir; then |
---|
| 2165 | rm -f conf$$.dir/conf$$.file |
---|
| 2166 | else |
---|
| 2167 | rm -f conf$$.dir |
---|
| 2168 | mkdir conf$$.dir |
---|
| 2169 | fi |
---|
[79] | 2170 | echo >conf$$.file |
---|
| 2171 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[120] | 2172 | as_ln_s='ln -s' |
---|
| 2173 | # ... but there are two gotchas: |
---|
| 2174 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 2175 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 2176 | # In both cases, we have to default to `cp -p'. |
---|
| 2177 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[79] | 2178 | as_ln_s='cp -p' |
---|
| 2179 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 2180 | as_ln_s=ln |
---|
| 2181 | else |
---|
| 2182 | as_ln_s='cp -p' |
---|
| 2183 | fi |
---|
[120] | 2184 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 2185 | rmdir conf$$.dir 2>/dev/null |
---|
[79] | 2186 | |
---|
| 2187 | if mkdir -p . 2>/dev/null; then |
---|
| 2188 | as_mkdir_p=: |
---|
| 2189 | else |
---|
| 2190 | test -d ./-p && rmdir ./-p |
---|
| 2191 | as_mkdir_p=false |
---|
| 2192 | fi |
---|
| 2193 | |
---|
[120] | 2194 | if test -x / >/dev/null 2>&1; then |
---|
| 2195 | as_test_x='test -x' |
---|
| 2196 | else |
---|
| 2197 | if ls -dL / >/dev/null 2>&1; then |
---|
| 2198 | as_ls_L_option=L |
---|
| 2199 | else |
---|
| 2200 | as_ls_L_option= |
---|
| 2201 | fi |
---|
| 2202 | as_test_x=' |
---|
| 2203 | eval sh -c '\'' |
---|
| 2204 | if test -d "$1"; then |
---|
| 2205 | test -d "$1/."; |
---|
| 2206 | else |
---|
| 2207 | case $1 in |
---|
| 2208 | -*)set "./$1";; |
---|
| 2209 | esac; |
---|
| 2210 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
| 2211 | ???[sx]*):;;*)false;;esac;fi |
---|
| 2212 | '\'' sh |
---|
| 2213 | ' |
---|
| 2214 | fi |
---|
| 2215 | as_executable_p=$as_test_x |
---|
[79] | 2216 | |
---|
| 2217 | # Sed expression to map a string onto a valid CPP name. |
---|
| 2218 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 2219 | |
---|
| 2220 | # Sed expression to map a string onto a valid variable name. |
---|
| 2221 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 2222 | |
---|
| 2223 | |
---|
| 2224 | exec 6>&1 |
---|
| 2225 | |
---|
[120] | 2226 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
[79] | 2227 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
[120] | 2228 | # values after options handling. |
---|
| 2229 | ac_log=" |
---|
[79] | 2230 | This file was extended by $as_me, which was |
---|
[120] | 2231 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
[79] | 2232 | |
---|
| 2233 | CONFIG_FILES = $CONFIG_FILES |
---|
| 2234 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 2235 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 2236 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 2237 | $ $0 $@ |
---|
| 2238 | |
---|
[120] | 2239 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 2240 | " |
---|
| 2241 | |
---|
[79] | 2242 | _ACEOF |
---|
| 2243 | |
---|
[120] | 2244 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[79] | 2245 | # Files that config.status was made for. |
---|
[120] | 2246 | config_files="$ac_config_files" |
---|
[79] | 2247 | |
---|
[120] | 2248 | _ACEOF |
---|
[79] | 2249 | |
---|
| 2250 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2251 | ac_cs_usage="\ |
---|
| 2252 | \`$as_me' instantiates files from templates according to the |
---|
| 2253 | current configuration. |
---|
| 2254 | |
---|
| 2255 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 2256 | |
---|
| 2257 | -h, --help print this help, then exit |
---|
[120] | 2258 | -V, --version print version number and configuration settings, then exit |
---|
[79] | 2259 | -q, --quiet do not print progress messages |
---|
| 2260 | -d, --debug don't remove temporary files |
---|
| 2261 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 2262 | --file=FILE[:TEMPLATE] |
---|
| 2263 | instantiate the configuration file FILE |
---|
| 2264 | |
---|
| 2265 | Configuration files: |
---|
| 2266 | $config_files |
---|
| 2267 | |
---|
| 2268 | Report bugs to <bug-autoconf@gnu.org>." |
---|
[120] | 2269 | |
---|
[81] | 2270 | _ACEOF |
---|
[79] | 2271 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 2272 | ac_cs_version="\\ |
---|
| 2273 | config.status |
---|
[120] | 2274 | configured by $0, generated by GNU Autoconf 2.61, |
---|
| 2275 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
[79] | 2276 | |
---|
[120] | 2277 | Copyright (C) 2006 Free Software Foundation, Inc. |
---|
[79] | 2278 | This config.status script is free software; the Free Software Foundation |
---|
| 2279 | gives unlimited permission to copy, distribute and modify it." |
---|
[120] | 2280 | |
---|
| 2281 | ac_pwd='$ac_pwd' |
---|
| 2282 | srcdir='$srcdir' |
---|
[79] | 2283 | _ACEOF |
---|
| 2284 | |
---|
| 2285 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2286 | # If no file are specified by the user, then we need to provide default |
---|
| 2287 | # value. By we need to know if files were specified by the user. |
---|
| 2288 | ac_need_defaults=: |
---|
| 2289 | while test $# != 0 |
---|
| 2290 | do |
---|
| 2291 | case $1 in |
---|
| 2292 | --*=*) |
---|
[120] | 2293 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 2294 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
[79] | 2295 | ac_shift=: |
---|
| 2296 | ;; |
---|
[120] | 2297 | *) |
---|
[79] | 2298 | ac_option=$1 |
---|
| 2299 | ac_optarg=$2 |
---|
| 2300 | ac_shift=shift |
---|
| 2301 | ;; |
---|
| 2302 | esac |
---|
| 2303 | |
---|
| 2304 | case $ac_option in |
---|
| 2305 | # Handling of the options. |
---|
| 2306 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 2307 | ac_cs_recheck=: ;; |
---|
[120] | 2308 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 2309 | echo "$ac_cs_version"; exit ;; |
---|
| 2310 | --debug | --debu | --deb | --de | --d | -d ) |
---|
[79] | 2311 | debug=: ;; |
---|
| 2312 | --file | --fil | --fi | --f ) |
---|
| 2313 | $ac_shift |
---|
| 2314 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 2315 | ac_need_defaults=false;; |
---|
[120] | 2316 | --he | --h | --help | --hel | -h ) |
---|
| 2317 | echo "$ac_cs_usage"; exit ;; |
---|
[79] | 2318 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 2319 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 2320 | ac_cs_silent=: ;; |
---|
| 2321 | |
---|
| 2322 | # This is an error. |
---|
[120] | 2323 | -*) { echo "$as_me: error: unrecognized option: $1 |
---|
| 2324 | Try \`$0 --help' for more information." >&2 |
---|
[79] | 2325 | { (exit 1); exit 1; }; } ;; |
---|
| 2326 | |
---|
[120] | 2327 | *) ac_config_targets="$ac_config_targets $1" |
---|
| 2328 | ac_need_defaults=false ;; |
---|
[79] | 2329 | |
---|
| 2330 | esac |
---|
| 2331 | shift |
---|
| 2332 | done |
---|
| 2333 | |
---|
| 2334 | ac_configure_extra_args= |
---|
| 2335 | |
---|
| 2336 | if $ac_cs_silent; then |
---|
| 2337 | exec 6>/dev/null |
---|
| 2338 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 2339 | fi |
---|
| 2340 | |
---|
| 2341 | _ACEOF |
---|
| 2342 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 2343 | if \$ac_cs_recheck; then |
---|
[120] | 2344 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 2345 | CONFIG_SHELL=$SHELL |
---|
| 2346 | export CONFIG_SHELL |
---|
| 2347 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[79] | 2348 | fi |
---|
| 2349 | |
---|
| 2350 | _ACEOF |
---|
[120] | 2351 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2352 | exec 5>>config.log |
---|
| 2353 | { |
---|
| 2354 | echo |
---|
| 2355 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 2356 | ## Running $as_me. ## |
---|
| 2357 | _ASBOX |
---|
| 2358 | echo "$ac_log" |
---|
| 2359 | } >&5 |
---|
[79] | 2360 | |
---|
[120] | 2361 | _ACEOF |
---|
| 2362 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 2363 | _ACEOF |
---|
[79] | 2364 | |
---|
[120] | 2365 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[81] | 2366 | |
---|
[120] | 2367 | # Handling of arguments. |
---|
[79] | 2368 | for ac_config_target in $ac_config_targets |
---|
| 2369 | do |
---|
[120] | 2370 | case $ac_config_target in |
---|
| 2371 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
[142] | 2372 | "src/pxeconfig") CONFIG_FILES="$CONFIG_FILES src/pxeconfig" ;; |
---|
[171] | 2373 | "src/pxe_global.py") CONFIG_FILES="$CONFIG_FILES src/pxe_global.py" ;; |
---|
[142] | 2374 | "src/pxeconfigd") CONFIG_FILES="$CONFIG_FILES src/pxeconfigd" ;; |
---|
| 2375 | "src/hexls") CONFIG_FILES="$CONFIG_FILES src/hexls" ;; |
---|
[120] | 2376 | "examples/pxeconfigd.xinetd") CONFIG_FILES="$CONFIG_FILES examples/pxeconfigd.xinetd" ;; |
---|
| 2377 | |
---|
[79] | 2378 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 2379 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 2380 | { (exit 1); exit 1; }; };; |
---|
| 2381 | esac |
---|
| 2382 | done |
---|
| 2383 | |
---|
[120] | 2384 | |
---|
[79] | 2385 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 2386 | # then the envvar interface is used. Set only those that are not. |
---|
| 2387 | # We use the long form for the default assignment because of an extremely |
---|
| 2388 | # bizarre bug on SunOS 4.1.3. |
---|
| 2389 | if $ac_need_defaults; then |
---|
| 2390 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 2391 | fi |
---|
| 2392 | |
---|
| 2393 | # Have a temporary directory for convenience. Make it in the build tree |
---|
[120] | 2394 | # simply because there is no reason against having it here, and in addition, |
---|
[79] | 2395 | # creating and moving files from /tmp can sometimes cause problems. |
---|
[120] | 2396 | # Hook for its removal unless debugging. |
---|
| 2397 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 2398 | # after its creation but before its name has been assigned to `$tmp'. |
---|
[79] | 2399 | $debug || |
---|
| 2400 | { |
---|
[120] | 2401 | tmp= |
---|
| 2402 | trap 'exit_status=$? |
---|
| 2403 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
| 2404 | ' 0 |
---|
[79] | 2405 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 2406 | } |
---|
| 2407 | # Create a (secure) tmp directory for tmp files. |
---|
| 2408 | |
---|
| 2409 | { |
---|
[120] | 2410 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[79] | 2411 | test -n "$tmp" && test -d "$tmp" |
---|
| 2412 | } || |
---|
| 2413 | { |
---|
[120] | 2414 | tmp=./conf$$-$RANDOM |
---|
| 2415 | (umask 077 && mkdir "$tmp") |
---|
[79] | 2416 | } || |
---|
| 2417 | { |
---|
| 2418 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 2419 | { (exit 1); exit 1; } |
---|
| 2420 | } |
---|
| 2421 | |
---|
| 2422 | # |
---|
[120] | 2423 | # Set up the sed scripts for CONFIG_FILES section. |
---|
[79] | 2424 | # |
---|
| 2425 | |
---|
| 2426 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 2427 | # This happens for instance when ./config.status config.h |
---|
[120] | 2428 | if test -n "$CONFIG_FILES"; then |
---|
[79] | 2429 | |
---|
| 2430 | _ACEOF |
---|
| 2431 | |
---|
[120] | 2432 | |
---|
| 2433 | |
---|
| 2434 | ac_delim='%!_!# ' |
---|
| 2435 | for ac_last_try in false false false false false :; do |
---|
| 2436 | cat >conf$$subs.sed <<_ACEOF |
---|
| 2437 | SHELL!$SHELL$ac_delim |
---|
| 2438 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
---|
| 2439 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
---|
| 2440 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
---|
| 2441 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
---|
| 2442 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
---|
| 2443 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
---|
| 2444 | exec_prefix!$exec_prefix$ac_delim |
---|
| 2445 | prefix!$prefix$ac_delim |
---|
| 2446 | program_transform_name!$program_transform_name$ac_delim |
---|
| 2447 | bindir!$bindir$ac_delim |
---|
| 2448 | sbindir!$sbindir$ac_delim |
---|
| 2449 | libexecdir!$libexecdir$ac_delim |
---|
| 2450 | datarootdir!$datarootdir$ac_delim |
---|
| 2451 | datadir!$datadir$ac_delim |
---|
| 2452 | sysconfdir!$sysconfdir$ac_delim |
---|
| 2453 | sharedstatedir!$sharedstatedir$ac_delim |
---|
| 2454 | localstatedir!$localstatedir$ac_delim |
---|
| 2455 | includedir!$includedir$ac_delim |
---|
| 2456 | oldincludedir!$oldincludedir$ac_delim |
---|
| 2457 | docdir!$docdir$ac_delim |
---|
| 2458 | infodir!$infodir$ac_delim |
---|
| 2459 | htmldir!$htmldir$ac_delim |
---|
| 2460 | dvidir!$dvidir$ac_delim |
---|
| 2461 | pdfdir!$pdfdir$ac_delim |
---|
| 2462 | psdir!$psdir$ac_delim |
---|
| 2463 | libdir!$libdir$ac_delim |
---|
| 2464 | localedir!$localedir$ac_delim |
---|
| 2465 | mandir!$mandir$ac_delim |
---|
| 2466 | DEFS!$DEFS$ac_delim |
---|
| 2467 | ECHO_C!$ECHO_C$ac_delim |
---|
| 2468 | ECHO_N!$ECHO_N$ac_delim |
---|
| 2469 | ECHO_T!$ECHO_T$ac_delim |
---|
| 2470 | LIBS!$LIBS$ac_delim |
---|
| 2471 | build_alias!$build_alias$ac_delim |
---|
| 2472 | host_alias!$host_alias$ac_delim |
---|
| 2473 | target_alias!$target_alias$ac_delim |
---|
| 2474 | pyexecdir!$pyexecdir$ac_delim |
---|
| 2475 | PYTHON!$PYTHON$ac_delim |
---|
| 2476 | PYTHON_VERSION!$PYTHON_VERSION$ac_delim |
---|
| 2477 | PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim |
---|
| 2478 | PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim |
---|
| 2479 | PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim |
---|
| 2480 | pythondir!$pythondir$ac_delim |
---|
| 2481 | pkgpythondir!$pkgpythondir$ac_delim |
---|
| 2482 | pkgpyexecdir!$pkgpyexecdir$ac_delim |
---|
| 2483 | DEBUG!$DEBUG$ac_delim |
---|
| 2484 | pxeconfig_conf!$pxeconfig_conf$ac_delim |
---|
| 2485 | SYSTEM_PXECONFIG_CONF!$SYSTEM_PXECONFIG_CONF$ac_delim |
---|
| 2486 | LIBOBJS!$LIBOBJS$ac_delim |
---|
| 2487 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
---|
| 2488 | _ACEOF |
---|
| 2489 | |
---|
| 2490 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then |
---|
| 2491 | break |
---|
| 2492 | elif $ac_last_try; then |
---|
| 2493 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
| 2494 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
| 2495 | { (exit 1); exit 1; }; } |
---|
| 2496 | else |
---|
| 2497 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
[79] | 2498 | fi |
---|
[120] | 2499 | done |
---|
[79] | 2500 | |
---|
[120] | 2501 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
---|
| 2502 | if test -n "$ac_eof"; then |
---|
| 2503 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
---|
| 2504 | ac_eof=`expr $ac_eof + 1` |
---|
| 2505 | fi |
---|
| 2506 | |
---|
| 2507 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 2508 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
---|
| 2509 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
---|
[79] | 2510 | _ACEOF |
---|
[120] | 2511 | sed ' |
---|
| 2512 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
---|
| 2513 | s/^/s,@/; s/!/@,|#_!!_#|/ |
---|
| 2514 | :n |
---|
| 2515 | t n |
---|
| 2516 | s/'"$ac_delim"'$/,g/; t |
---|
| 2517 | s/$/\\/; p |
---|
| 2518 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
---|
| 2519 | ' >>$CONFIG_STATUS <conf$$subs.sed |
---|
| 2520 | rm -f conf$$subs.sed |
---|
| 2521 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 2522 | :end |
---|
| 2523 | s/|#_!!_#|//g |
---|
| 2524 | CEOF$ac_eof |
---|
| 2525 | _ACEOF |
---|
| 2526 | |
---|
| 2527 | |
---|
| 2528 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 2529 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 2530 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 2531 | # (actually we leave an empty line to preserve line numbers). |
---|
| 2532 | if test "x$srcdir" = x.; then |
---|
| 2533 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 2534 | s/:*\$(srcdir):*/:/ |
---|
| 2535 | s/:*\${srcdir}:*/:/ |
---|
| 2536 | s/:*@srcdir@:*/:/ |
---|
| 2537 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
| 2538 | s/:*$// |
---|
| 2539 | s/^[^=]*=[ ]*$// |
---|
| 2540 | }' |
---|
| 2541 | fi |
---|
| 2542 | |
---|
[79] | 2543 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[120] | 2544 | fi # test -n "$CONFIG_FILES" |
---|
| 2545 | |
---|
| 2546 | |
---|
| 2547 | for ac_tag in :F $CONFIG_FILES |
---|
| 2548 | do |
---|
| 2549 | case $ac_tag in |
---|
| 2550 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
[79] | 2551 | esac |
---|
[120] | 2552 | case $ac_mode$ac_tag in |
---|
| 2553 | :[FHL]*:*);; |
---|
| 2554 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
---|
| 2555 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
---|
| 2556 | { (exit 1); exit 1; }; };; |
---|
| 2557 | :[FH]-) ac_tag=-:-;; |
---|
| 2558 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 2559 | esac |
---|
| 2560 | ac_save_IFS=$IFS |
---|
| 2561 | IFS=: |
---|
| 2562 | set x $ac_tag |
---|
| 2563 | IFS=$ac_save_IFS |
---|
| 2564 | shift |
---|
| 2565 | ac_file=$1 |
---|
| 2566 | shift |
---|
[79] | 2567 | |
---|
[120] | 2568 | case $ac_mode in |
---|
| 2569 | :L) ac_source=$1;; |
---|
| 2570 | :[FH]) |
---|
| 2571 | ac_file_inputs= |
---|
| 2572 | for ac_f |
---|
| 2573 | do |
---|
| 2574 | case $ac_f in |
---|
| 2575 | -) ac_f="$tmp/stdin";; |
---|
| 2576 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 2577 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 2578 | # because $ac_f cannot contain `:'. |
---|
| 2579 | test -f "$ac_f" || |
---|
| 2580 | case $ac_f in |
---|
| 2581 | [\\/$]*) false;; |
---|
| 2582 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 2583 | esac || |
---|
| 2584 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
| 2585 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
| 2586 | { (exit 1); exit 1; }; };; |
---|
| 2587 | esac |
---|
| 2588 | ac_file_inputs="$ac_file_inputs $ac_f" |
---|
| 2589 | done |
---|
| 2590 | |
---|
| 2591 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 2592 | # use $as_me), people would be surprised to read: |
---|
| 2593 | # /* config.h. Generated by config.status. */ |
---|
| 2594 | configure_input="Generated from "`IFS=: |
---|
| 2595 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
---|
| 2596 | if test x"$ac_file" != x-; then |
---|
| 2597 | configure_input="$ac_file. $configure_input" |
---|
| 2598 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 2599 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 2600 | fi |
---|
| 2601 | |
---|
| 2602 | case $ac_tag in |
---|
| 2603 | *:-:* | *:-) cat >"$tmp/stdin";; |
---|
| 2604 | esac |
---|
| 2605 | ;; |
---|
| 2606 | esac |
---|
| 2607 | |
---|
| 2608 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
[79] | 2609 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 2610 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 2611 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
[120] | 2612 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
[79] | 2613 | echo X"$ac_file" | |
---|
[120] | 2614 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 2615 | s//\1/ |
---|
| 2616 | q |
---|
| 2617 | } |
---|
| 2618 | /^X\(\/\/\)[^/].*/{ |
---|
| 2619 | s//\1/ |
---|
| 2620 | q |
---|
| 2621 | } |
---|
| 2622 | /^X\(\/\/\)$/{ |
---|
| 2623 | s//\1/ |
---|
| 2624 | q |
---|
| 2625 | } |
---|
| 2626 | /^X\(\/\).*/{ |
---|
| 2627 | s//\1/ |
---|
| 2628 | q |
---|
| 2629 | } |
---|
| 2630 | s/.*/./; q'` |
---|
| 2631 | { as_dir="$ac_dir" |
---|
| 2632 | case $as_dir in #( |
---|
| 2633 | -*) as_dir=./$as_dir;; |
---|
| 2634 | esac |
---|
| 2635 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[79] | 2636 | as_dirs= |
---|
[120] | 2637 | while :; do |
---|
| 2638 | case $as_dir in #( |
---|
| 2639 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 2640 | *) as_qdir=$as_dir;; |
---|
| 2641 | esac |
---|
| 2642 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 2643 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[79] | 2644 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 2645 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 2646 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[120] | 2647 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[79] | 2648 | echo X"$as_dir" | |
---|
[120] | 2649 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 2650 | s//\1/ |
---|
| 2651 | q |
---|
| 2652 | } |
---|
| 2653 | /^X\(\/\/\)[^/].*/{ |
---|
| 2654 | s//\1/ |
---|
| 2655 | q |
---|
| 2656 | } |
---|
| 2657 | /^X\(\/\/\)$/{ |
---|
| 2658 | s//\1/ |
---|
| 2659 | q |
---|
| 2660 | } |
---|
| 2661 | /^X\(\/\).*/{ |
---|
| 2662 | s//\1/ |
---|
| 2663 | q |
---|
| 2664 | } |
---|
| 2665 | s/.*/./; q'` |
---|
| 2666 | test -d "$as_dir" && break |
---|
[79] | 2667 | done |
---|
[120] | 2668 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 2669 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 2670 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[79] | 2671 | { (exit 1); exit 1; }; }; } |
---|
| 2672 | ac_builddir=. |
---|
| 2673 | |
---|
[120] | 2674 | case "$ac_dir" in |
---|
| 2675 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 2676 | *) |
---|
[79] | 2677 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[120] | 2678 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 2679 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 2680 | case $ac_top_builddir_sub in |
---|
| 2681 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 2682 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 2683 | esac ;; |
---|
| 2684 | esac |
---|
| 2685 | ac_abs_top_builddir=$ac_pwd |
---|
| 2686 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 2687 | # for backward compatibility: |
---|
| 2688 | ac_top_builddir=$ac_top_build_prefix |
---|
[79] | 2689 | |
---|
| 2690 | case $srcdir in |
---|
[120] | 2691 | .) # We are building in place. |
---|
[79] | 2692 | ac_srcdir=. |
---|
[120] | 2693 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 2694 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 2695 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[79] | 2696 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[120] | 2697 | ac_top_srcdir=$srcdir |
---|
| 2698 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 2699 | *) # Relative name. |
---|
| 2700 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 2701 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 2702 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[79] | 2703 | esac |
---|
[120] | 2704 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[79] | 2705 | |
---|
| 2706 | |
---|
[120] | 2707 | case $ac_mode in |
---|
| 2708 | :F) |
---|
| 2709 | # |
---|
| 2710 | # CONFIG_FILE |
---|
| 2711 | # |
---|
[79] | 2712 | |
---|
[120] | 2713 | _ACEOF |
---|
[79] | 2714 | |
---|
[120] | 2715 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2716 | # If the template does not know about datarootdir, expand it. |
---|
| 2717 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 2718 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
[79] | 2719 | |
---|
[120] | 2720 | case `sed -n '/datarootdir/ { |
---|
| 2721 | p |
---|
| 2722 | q |
---|
| 2723 | } |
---|
| 2724 | /@datadir@/p |
---|
| 2725 | /@docdir@/p |
---|
| 2726 | /@infodir@/p |
---|
| 2727 | /@localedir@/p |
---|
| 2728 | /@mandir@/p |
---|
| 2729 | ' $ac_file_inputs` in |
---|
| 2730 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 2731 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 2732 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 2733 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
[79] | 2734 | _ACEOF |
---|
| 2735 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[120] | 2736 | ac_datarootdir_hack=' |
---|
| 2737 | s&@datadir@&$datadir&g |
---|
| 2738 | s&@docdir@&$docdir&g |
---|
| 2739 | s&@infodir@&$infodir&g |
---|
| 2740 | s&@localedir@&$localedir&g |
---|
| 2741 | s&@mandir@&$mandir&g |
---|
| 2742 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 2743 | esac |
---|
| 2744 | _ACEOF |
---|
| 2745 | |
---|
| 2746 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 2747 | # Shell code in configure.ac might set extrasub. |
---|
| 2748 | # FIXME: do we really want to maintain this feature? |
---|
| 2749 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[79] | 2750 | sed "$ac_vpsub |
---|
| 2751 | $extrasub |
---|
| 2752 | _ACEOF |
---|
| 2753 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 2754 | :t |
---|
| 2755 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
[120] | 2756 | s&@configure_input@&$configure_input&;t t |
---|
| 2757 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 2758 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 2759 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 2760 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 2761 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 2762 | s&@builddir@&$ac_builddir&;t t |
---|
| 2763 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 2764 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 2765 | $ac_datarootdir_hack |
---|
| 2766 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
---|
[79] | 2767 | |
---|
[120] | 2768 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 2769 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
| 2770 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
| 2771 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 2772 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
| 2773 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 2774 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
[79] | 2775 | |
---|
[120] | 2776 | rm -f "$tmp/stdin" |
---|
| 2777 | case $ac_file in |
---|
| 2778 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
---|
| 2779 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
---|
| 2780 | esac |
---|
| 2781 | ;; |
---|
[79] | 2782 | |
---|
[120] | 2783 | |
---|
| 2784 | |
---|
| 2785 | esac |
---|
| 2786 | |
---|
| 2787 | done # for ac_tag |
---|
| 2788 | |
---|
| 2789 | |
---|
[79] | 2790 | { (exit 0); exit 0; } |
---|
| 2791 | _ACEOF |
---|
| 2792 | chmod +x $CONFIG_STATUS |
---|
| 2793 | ac_clean_files=$ac_clean_files_save |
---|
| 2794 | |
---|
| 2795 | |
---|
| 2796 | # configure is writing to config.log, and then calls config.status. |
---|
| 2797 | # config.status does its own redirection, appending to config.log. |
---|
| 2798 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 2799 | # by configure, so config.status won't be able to write to it; its |
---|
| 2800 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 2801 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 2802 | # appended to by config.status. When coming back to configure, we |
---|
| 2803 | # need to make the FD available again. |
---|
| 2804 | if test "$no_create" != yes; then |
---|
| 2805 | ac_cs_success=: |
---|
| 2806 | ac_config_status_args= |
---|
| 2807 | test "$silent" = yes && |
---|
| 2808 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 2809 | exec 5>/dev/null |
---|
| 2810 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 2811 | exec 5>>config.log |
---|
| 2812 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 2813 | # would make configure fail if this is the last instruction. |
---|
| 2814 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 2815 | fi |
---|
| 2816 | |
---|