[21] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[261] | 3 | # Generated by GNU Autoconf 2.61. |
---|
[21] | 4 | # |
---|
[261] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[21] | 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 | |
---|
[261] | 13 | # Be more Bourne compatible |
---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[21] | 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+"$@"}'='"$@"' |
---|
[261] | 21 | setopt NO_GLOB_SUBST |
---|
| 22 | else |
---|
| 23 | case `(set -o) 2>/dev/null` in |
---|
| 24 | *posix*) set -o posix ;; |
---|
| 25 | esac |
---|
| 26 | |
---|
[21] | 27 | fi |
---|
| 28 | |
---|
[261] | 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 | |
---|
[21] | 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 | |
---|
[261] | 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 | |
---|
[21] | 94 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[261] | 95 | for as_var in ENV MAIL MAILPATH |
---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 97 | done |
---|
[21] | 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 |
---|
[261] | 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[21] | 112 | fi |
---|
| 113 | done |
---|
| 114 | |
---|
| 115 | # Required to use basename. |
---|
[261] | 116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[21] | 118 | as_expr=expr |
---|
| 119 | else |
---|
| 120 | as_expr=false |
---|
| 121 | fi |
---|
| 122 | |
---|
[261] | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[21] | 124 | as_basename=basename |
---|
| 125 | else |
---|
| 126 | as_basename=false |
---|
| 127 | fi |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | # Name of the executable. |
---|
[261] | 131 | as_me=`$as_basename -- "$0" || |
---|
[21] | 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 133 | X"$0" : 'X\(//\)$' \| \ |
---|
[261] | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[21] | 135 | echo X/"$0" | |
---|
[261] | 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'` |
---|
[21] | 149 | |
---|
[261] | 150 | # CDPATH. |
---|
| 151 | $as_unset CDPATH |
---|
[21] | 152 | |
---|
| 153 | |
---|
[261] | 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 |
---|
[21] | 159 | fi |
---|
| 160 | |
---|
[261] | 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 | } |
---|
[21] | 177 | |
---|
[261] | 178 | exitcode=0 |
---|
| 179 | if as_func_success; then |
---|
| 180 | : |
---|
| 181 | else |
---|
| 182 | exitcode=1 |
---|
| 183 | echo as_func_success failed. |
---|
| 184 | fi |
---|
[21] | 185 | |
---|
[261] | 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= |
---|
[21] | 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=. |
---|
[261] | 226 | case $as_dir in |
---|
[21] | 227 | /*) |
---|
[261] | 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 | ( |
---|
[21] | 328 | as_lineno_1=$LINENO |
---|
| 329 | as_lineno_2=$LINENO |
---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[261] | 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
[21] | 332 | |
---|
[261] | 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 | |
---|
[21] | 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 |
---|
[261] | 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. |
---|
[21] | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[261] | 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 | |
---|
[21] | 442 | sed ' |
---|
[261] | 443 | s/[$]LINENO.*/&-/ |
---|
| 444 | t lineno |
---|
| 445 | b |
---|
| 446 | :lineno |
---|
[21] | 447 | N |
---|
[261] | 448 | :loop |
---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[21] | 450 | t loop |
---|
[261] | 451 | s/-\n.*// |
---|
[21] | 452 | ' >$as_me.lineno && |
---|
[261] | 453 | chmod +x "$as_me.lineno" || |
---|
[21] | 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 |
---|
[261] | 459 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 460 | . "./$as_me.lineno" |
---|
[21] | 461 | # Exit status is that of the last command. |
---|
| 462 | exit |
---|
| 463 | } |
---|
| 464 | |
---|
| 465 | |
---|
[261] | 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';; |
---|
[21] | 481 | esac |
---|
| 482 | |
---|
[261] | 483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[21] | 485 | as_expr=expr |
---|
| 486 | else |
---|
| 487 | as_expr=false |
---|
| 488 | fi |
---|
| 489 | |
---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[261] | 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 |
---|
[21] | 497 | echo >conf$$.file |
---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[261] | 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 || |
---|
[21] | 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 |
---|
[261] | 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 512 | rmdir conf$$.dir 2>/dev/null |
---|
[21] | 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 | |
---|
[261] | 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 |
---|
[21] | 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 | |
---|
[261] | 552 | exec 7<&0 </dev/null 6>&1 |
---|
[21] | 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 |
---|
[261] | 563 | ac_clean_files= |
---|
[21] | 564 | ac_config_libobj_dir=. |
---|
[261] | 565 | LIBOBJS= |
---|
[21] | 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 | |
---|
[23] | 579 | ac_unique_file="email2trac.py.in" |
---|
[261] | 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 | trac_user |
---|
| 619 | mta_user |
---|
| 620 | PYTHON |
---|
| 621 | PYTHON_VERSION |
---|
| 622 | PYTHON_PREFIX |
---|
| 623 | PYTHON_EXEC_PREFIX |
---|
| 624 | PYTHON_PLATFORM |
---|
| 625 | pythondir |
---|
| 626 | pkgpythondir |
---|
| 627 | pkgpyexecdir |
---|
| 628 | CC |
---|
| 629 | CFLAGS |
---|
| 630 | LDFLAGS |
---|
| 631 | CPPFLAGS |
---|
| 632 | ac_ct_CC |
---|
| 633 | EXEEXT |
---|
| 634 | OBJEXT |
---|
| 635 | CPP |
---|
| 636 | GREP |
---|
| 637 | EGREP |
---|
| 638 | DEBUG |
---|
| 639 | email2trac_conf |
---|
| 640 | SYSTEM_EMAIL2TRAC_CONF |
---|
| 641 | LIBOBJS |
---|
| 642 | LTLIBOBJS' |
---|
[21] | 643 | ac_subst_files='' |
---|
[261] | 644 | ac_precious_vars='build_alias |
---|
| 645 | host_alias |
---|
| 646 | target_alias |
---|
| 647 | CC |
---|
| 648 | CFLAGS |
---|
| 649 | LDFLAGS |
---|
| 650 | LIBS |
---|
| 651 | CPPFLAGS |
---|
| 652 | CPP' |
---|
[21] | 653 | |
---|
[261] | 654 | |
---|
[21] | 655 | # Initialize some variables set by options. |
---|
| 656 | ac_init_help= |
---|
| 657 | ac_init_version=false |
---|
| 658 | # The variables have the same names as the options, with |
---|
| 659 | # dashes changed to underlines. |
---|
| 660 | cache_file=/dev/null |
---|
| 661 | exec_prefix=NONE |
---|
| 662 | no_create= |
---|
| 663 | no_recursion= |
---|
| 664 | prefix=NONE |
---|
| 665 | program_prefix=NONE |
---|
| 666 | program_suffix=NONE |
---|
| 667 | program_transform_name=s,x,x, |
---|
| 668 | silent= |
---|
| 669 | site= |
---|
| 670 | srcdir= |
---|
| 671 | verbose= |
---|
| 672 | x_includes=NONE |
---|
| 673 | x_libraries=NONE |
---|
| 674 | |
---|
| 675 | # Installation directory options. |
---|
| 676 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 677 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 678 | # by default will actually change. |
---|
| 679 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
[261] | 680 | # (The list follows the same order as the GNU Coding Standards.) |
---|
[21] | 681 | bindir='${exec_prefix}/bin' |
---|
| 682 | sbindir='${exec_prefix}/sbin' |
---|
| 683 | libexecdir='${exec_prefix}/libexec' |
---|
[261] | 684 | datarootdir='${prefix}/share' |
---|
| 685 | datadir='${datarootdir}' |
---|
[21] | 686 | sysconfdir='${prefix}/etc' |
---|
| 687 | sharedstatedir='${prefix}/com' |
---|
| 688 | localstatedir='${prefix}/var' |
---|
| 689 | includedir='${prefix}/include' |
---|
| 690 | oldincludedir='/usr/include' |
---|
[261] | 691 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
| 692 | infodir='${datarootdir}/info' |
---|
| 693 | htmldir='${docdir}' |
---|
| 694 | dvidir='${docdir}' |
---|
| 695 | pdfdir='${docdir}' |
---|
| 696 | psdir='${docdir}' |
---|
| 697 | libdir='${exec_prefix}/lib' |
---|
| 698 | localedir='${datarootdir}/locale' |
---|
| 699 | mandir='${datarootdir}/man' |
---|
[21] | 700 | |
---|
| 701 | ac_prev= |
---|
[261] | 702 | ac_dashdash= |
---|
[21] | 703 | for ac_option |
---|
| 704 | do |
---|
| 705 | # If the previous option needs an argument, assign it. |
---|
| 706 | if test -n "$ac_prev"; then |
---|
[261] | 707 | eval $ac_prev=\$ac_option |
---|
[21] | 708 | ac_prev= |
---|
| 709 | continue |
---|
| 710 | fi |
---|
| 711 | |
---|
[261] | 712 | case $ac_option in |
---|
| 713 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 714 | *) ac_optarg=yes ;; |
---|
| 715 | esac |
---|
[21] | 716 | |
---|
| 717 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 718 | |
---|
[261] | 719 | case $ac_dashdash$ac_option in |
---|
| 720 | --) |
---|
| 721 | ac_dashdash=yes ;; |
---|
[21] | 722 | |
---|
| 723 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 724 | ac_prev=bindir ;; |
---|
| 725 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 726 | bindir=$ac_optarg ;; |
---|
| 727 | |
---|
| 728 | -build | --build | --buil | --bui | --bu) |
---|
| 729 | ac_prev=build_alias ;; |
---|
| 730 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 731 | build_alias=$ac_optarg ;; |
---|
| 732 | |
---|
| 733 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 734 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 735 | ac_prev=cache_file ;; |
---|
| 736 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 737 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 738 | cache_file=$ac_optarg ;; |
---|
| 739 | |
---|
| 740 | --config-cache | -C) |
---|
| 741 | cache_file=config.cache ;; |
---|
| 742 | |
---|
[261] | 743 | -datadir | --datadir | --datadi | --datad) |
---|
[21] | 744 | ac_prev=datadir ;; |
---|
[261] | 745 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
[21] | 746 | datadir=$ac_optarg ;; |
---|
| 747 | |
---|
[261] | 748 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 749 | | --dataroo | --dataro | --datar) |
---|
| 750 | ac_prev=datarootdir ;; |
---|
| 751 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 752 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 753 | datarootdir=$ac_optarg ;; |
---|
| 754 | |
---|
[21] | 755 | -disable-* | --disable-*) |
---|
| 756 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 757 | # Reject names that are not valid shell variable names. |
---|
[261] | 758 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[21] | 759 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 760 | { (exit 1); exit 1; }; } |
---|
[261] | 761 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
| 762 | eval enable_$ac_feature=no ;; |
---|
[21] | 763 | |
---|
[261] | 764 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 765 | ac_prev=docdir ;; |
---|
| 766 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 767 | docdir=$ac_optarg ;; |
---|
| 768 | |
---|
| 769 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 770 | ac_prev=dvidir ;; |
---|
| 771 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 772 | dvidir=$ac_optarg ;; |
---|
| 773 | |
---|
[21] | 774 | -enable-* | --enable-*) |
---|
| 775 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 776 | # Reject names that are not valid shell variable names. |
---|
[261] | 777 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[21] | 778 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
| 779 | { (exit 1); exit 1; }; } |
---|
[261] | 780 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
| 781 | eval enable_$ac_feature=\$ac_optarg ;; |
---|
[21] | 782 | |
---|
| 783 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 784 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 785 | | --exec | --exe | --ex) |
---|
| 786 | ac_prev=exec_prefix ;; |
---|
| 787 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 788 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 789 | | --exec=* | --exe=* | --ex=*) |
---|
| 790 | exec_prefix=$ac_optarg ;; |
---|
| 791 | |
---|
| 792 | -gas | --gas | --ga | --g) |
---|
| 793 | # Obsolete; use --with-gas. |
---|
| 794 | with_gas=yes ;; |
---|
| 795 | |
---|
| 796 | -help | --help | --hel | --he | -h) |
---|
| 797 | ac_init_help=long ;; |
---|
| 798 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 799 | ac_init_help=recursive ;; |
---|
| 800 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 801 | ac_init_help=short ;; |
---|
| 802 | |
---|
| 803 | -host | --host | --hos | --ho) |
---|
| 804 | ac_prev=host_alias ;; |
---|
| 805 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 806 | host_alias=$ac_optarg ;; |
---|
| 807 | |
---|
[261] | 808 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 809 | ac_prev=htmldir ;; |
---|
| 810 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 811 | | --ht=*) |
---|
| 812 | htmldir=$ac_optarg ;; |
---|
| 813 | |
---|
[21] | 814 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 815 | | --includ | --inclu | --incl | --inc) |
---|
| 816 | ac_prev=includedir ;; |
---|
| 817 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 818 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 819 | includedir=$ac_optarg ;; |
---|
| 820 | |
---|
| 821 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 822 | ac_prev=infodir ;; |
---|
| 823 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 824 | infodir=$ac_optarg ;; |
---|
| 825 | |
---|
| 826 | -libdir | --libdir | --libdi | --libd) |
---|
| 827 | ac_prev=libdir ;; |
---|
| 828 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 829 | libdir=$ac_optarg ;; |
---|
| 830 | |
---|
| 831 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 832 | | --libexe | --libex | --libe) |
---|
| 833 | ac_prev=libexecdir ;; |
---|
| 834 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 835 | | --libexe=* | --libex=* | --libe=*) |
---|
| 836 | libexecdir=$ac_optarg ;; |
---|
| 837 | |
---|
[261] | 838 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 839 | ac_prev=localedir ;; |
---|
| 840 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 841 | localedir=$ac_optarg ;; |
---|
| 842 | |
---|
[21] | 843 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
[261] | 844 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
[21] | 845 | ac_prev=localstatedir ;; |
---|
| 846 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
[261] | 847 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
[21] | 848 | localstatedir=$ac_optarg ;; |
---|
| 849 | |
---|
| 850 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 851 | ac_prev=mandir ;; |
---|
| 852 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 853 | mandir=$ac_optarg ;; |
---|
| 854 | |
---|
| 855 | -nfp | --nfp | --nf) |
---|
| 856 | # Obsolete; use --without-fp. |
---|
| 857 | with_fp=no ;; |
---|
| 858 | |
---|
| 859 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 860 | | --no-cr | --no-c | -n) |
---|
| 861 | no_create=yes ;; |
---|
| 862 | |
---|
| 863 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 864 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 865 | no_recursion=yes ;; |
---|
| 866 | |
---|
| 867 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 868 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 869 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 870 | ac_prev=oldincludedir ;; |
---|
| 871 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 872 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 873 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 874 | oldincludedir=$ac_optarg ;; |
---|
| 875 | |
---|
| 876 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 877 | ac_prev=prefix ;; |
---|
| 878 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 879 | prefix=$ac_optarg ;; |
---|
| 880 | |
---|
| 881 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 882 | | --program-pre | --program-pr | --program-p) |
---|
| 883 | ac_prev=program_prefix ;; |
---|
| 884 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 885 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 886 | program_prefix=$ac_optarg ;; |
---|
| 887 | |
---|
| 888 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 889 | | --program-suf | --program-su | --program-s) |
---|
| 890 | ac_prev=program_suffix ;; |
---|
| 891 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 892 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 893 | program_suffix=$ac_optarg ;; |
---|
| 894 | |
---|
| 895 | -program-transform-name | --program-transform-name \ |
---|
| 896 | | --program-transform-nam | --program-transform-na \ |
---|
| 897 | | --program-transform-n | --program-transform- \ |
---|
| 898 | | --program-transform | --program-transfor \ |
---|
| 899 | | --program-transfo | --program-transf \ |
---|
| 900 | | --program-trans | --program-tran \ |
---|
| 901 | | --progr-tra | --program-tr | --program-t) |
---|
| 902 | ac_prev=program_transform_name ;; |
---|
| 903 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 904 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 905 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 906 | | --program-transform=* | --program-transfor=* \ |
---|
| 907 | | --program-transfo=* | --program-transf=* \ |
---|
| 908 | | --program-trans=* | --program-tran=* \ |
---|
| 909 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 910 | program_transform_name=$ac_optarg ;; |
---|
| 911 | |
---|
[261] | 912 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 913 | ac_prev=pdfdir ;; |
---|
| 914 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 915 | pdfdir=$ac_optarg ;; |
---|
| 916 | |
---|
| 917 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 918 | ac_prev=psdir ;; |
---|
| 919 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 920 | psdir=$ac_optarg ;; |
---|
| 921 | |
---|
[21] | 922 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 923 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 924 | silent=yes ;; |
---|
| 925 | |
---|
| 926 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 927 | ac_prev=sbindir ;; |
---|
| 928 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 929 | | --sbi=* | --sb=*) |
---|
| 930 | sbindir=$ac_optarg ;; |
---|
| 931 | |
---|
| 932 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 933 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 934 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 935 | | --sha | --sh) |
---|
| 936 | ac_prev=sharedstatedir ;; |
---|
| 937 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 938 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 939 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 940 | | --sha=* | --sh=*) |
---|
| 941 | sharedstatedir=$ac_optarg ;; |
---|
| 942 | |
---|
| 943 | -site | --site | --sit) |
---|
| 944 | ac_prev=site ;; |
---|
| 945 | -site=* | --site=* | --sit=*) |
---|
| 946 | site=$ac_optarg ;; |
---|
| 947 | |
---|
| 948 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 949 | ac_prev=srcdir ;; |
---|
| 950 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 951 | srcdir=$ac_optarg ;; |
---|
| 952 | |
---|
| 953 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 954 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 955 | ac_prev=sysconfdir ;; |
---|
| 956 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 957 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 958 | sysconfdir=$ac_optarg ;; |
---|
| 959 | |
---|
| 960 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 961 | ac_prev=target_alias ;; |
---|
| 962 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 963 | target_alias=$ac_optarg ;; |
---|
| 964 | |
---|
| 965 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 966 | verbose=yes ;; |
---|
| 967 | |
---|
| 968 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 969 | ac_init_version=: ;; |
---|
| 970 | |
---|
| 971 | -with-* | --with-*) |
---|
| 972 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 973 | # Reject names that are not valid shell variable names. |
---|
[261] | 974 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[21] | 975 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 976 | { (exit 1); exit 1; }; } |
---|
[261] | 977 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
| 978 | eval with_$ac_package=\$ac_optarg ;; |
---|
[21] | 979 | |
---|
| 980 | -without-* | --without-*) |
---|
| 981 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 982 | # Reject names that are not valid shell variable names. |
---|
[261] | 983 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
[21] | 984 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
| 985 | { (exit 1); exit 1; }; } |
---|
[261] | 986 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
| 987 | eval with_$ac_package=no ;; |
---|
[21] | 988 | |
---|
| 989 | --x) |
---|
| 990 | # Obsolete; use --with-x. |
---|
| 991 | with_x=yes ;; |
---|
| 992 | |
---|
| 993 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 994 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 995 | ac_prev=x_includes ;; |
---|
| 996 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 997 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 998 | x_includes=$ac_optarg ;; |
---|
| 999 | |
---|
| 1000 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1001 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1002 | ac_prev=x_libraries ;; |
---|
| 1003 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1004 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1005 | x_libraries=$ac_optarg ;; |
---|
| 1006 | |
---|
| 1007 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
| 1008 | Try \`$0 --help' for more information." >&2 |
---|
| 1009 | { (exit 1); exit 1; }; } |
---|
| 1010 | ;; |
---|
| 1011 | |
---|
| 1012 | *=*) |
---|
| 1013 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1014 | # Reject names that are not valid shell variable names. |
---|
| 1015 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
| 1016 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
| 1017 | { (exit 1); exit 1; }; } |
---|
[261] | 1018 | eval $ac_envvar=\$ac_optarg |
---|
[21] | 1019 | export $ac_envvar ;; |
---|
| 1020 | |
---|
| 1021 | *) |
---|
| 1022 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1023 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1024 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1025 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1026 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
| 1027 | ;; |
---|
| 1028 | |
---|
| 1029 | esac |
---|
| 1030 | done |
---|
| 1031 | |
---|
| 1032 | if test -n "$ac_prev"; then |
---|
| 1033 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1034 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
| 1035 | { (exit 1); exit 1; }; } |
---|
| 1036 | fi |
---|
| 1037 | |
---|
[261] | 1038 | # Be sure to have absolute directory names. |
---|
| 1039 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1040 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1041 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1042 | libdir localedir mandir |
---|
[21] | 1043 | do |
---|
[261] | 1044 | eval ac_val=\$$ac_var |
---|
[21] | 1045 | case $ac_val in |
---|
[261] | 1046 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1047 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
[21] | 1048 | esac |
---|
[261] | 1049 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
| 1050 | { (exit 1); exit 1; }; } |
---|
[21] | 1051 | done |
---|
| 1052 | |
---|
| 1053 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1054 | # used to hold the argument of --host etc. |
---|
| 1055 | # FIXME: To remove some day. |
---|
| 1056 | build=$build_alias |
---|
| 1057 | host=$host_alias |
---|
| 1058 | target=$target_alias |
---|
| 1059 | |
---|
| 1060 | # FIXME: To remove some day. |
---|
| 1061 | if test "x$host_alias" != x; then |
---|
| 1062 | if test "x$build_alias" = x; then |
---|
| 1063 | cross_compiling=maybe |
---|
| 1064 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
| 1065 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
| 1066 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1067 | cross_compiling=yes |
---|
| 1068 | fi |
---|
| 1069 | fi |
---|
| 1070 | |
---|
| 1071 | ac_tool_prefix= |
---|
| 1072 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1073 | |
---|
| 1074 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1075 | |
---|
| 1076 | |
---|
[261] | 1077 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1078 | ac_ls_di=`ls -di .` && |
---|
| 1079 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1080 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
---|
| 1081 | { (exit 1); exit 1; }; } |
---|
| 1082 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1083 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
| 1084 | { (exit 1); exit 1; }; } |
---|
| 1085 | |
---|
| 1086 | |
---|
[21] | 1087 | # Find the source files, if location was not specified. |
---|
| 1088 | if test -z "$srcdir"; then |
---|
| 1089 | ac_srcdir_defaulted=yes |
---|
[261] | 1090 | # Try the directory containing this script, then the parent directory. |
---|
| 1091 | ac_confdir=`$as_dirname -- "$0" || |
---|
[21] | 1092 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1093 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
| 1094 | X"$0" : 'X\(//\)$' \| \ |
---|
[261] | 1095 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[21] | 1096 | echo X"$0" | |
---|
[261] | 1097 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1098 | s//\1/ |
---|
| 1099 | q |
---|
| 1100 | } |
---|
| 1101 | /^X\(\/\/\)[^/].*/{ |
---|
| 1102 | s//\1/ |
---|
| 1103 | q |
---|
| 1104 | } |
---|
| 1105 | /^X\(\/\/\)$/{ |
---|
| 1106 | s//\1/ |
---|
| 1107 | q |
---|
| 1108 | } |
---|
| 1109 | /^X\(\/\).*/{ |
---|
| 1110 | s//\1/ |
---|
| 1111 | q |
---|
| 1112 | } |
---|
| 1113 | s/.*/./; q'` |
---|
[21] | 1114 | srcdir=$ac_confdir |
---|
[261] | 1115 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
[21] | 1116 | srcdir=.. |
---|
| 1117 | fi |
---|
| 1118 | else |
---|
| 1119 | ac_srcdir_defaulted=no |
---|
| 1120 | fi |
---|
[261] | 1121 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1122 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1123 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
[21] | 1124 | { (exit 1); exit 1; }; } |
---|
[261] | 1125 | fi |
---|
| 1126 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1127 | ac_abs_confdir=`( |
---|
| 1128 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
---|
[21] | 1129 | { (exit 1); exit 1; }; } |
---|
[261] | 1130 | pwd)` |
---|
| 1131 | # When building in place, set srcdir=. |
---|
| 1132 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1133 | srcdir=. |
---|
[21] | 1134 | fi |
---|
[261] | 1135 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1136 | # Double slashes in file names in object file debugging info |
---|
| 1137 | # mess up M-x gdb in Emacs. |
---|
| 1138 | case $srcdir in |
---|
| 1139 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1140 | esac |
---|
| 1141 | for ac_var in $ac_precious_vars; do |
---|
| 1142 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1143 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1144 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1145 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1146 | done |
---|
[21] | 1147 | |
---|
| 1148 | # |
---|
| 1149 | # Report the --help message. |
---|
| 1150 | # |
---|
| 1151 | if test "$ac_init_help" = "long"; then |
---|
| 1152 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1153 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1154 | cat <<_ACEOF |
---|
| 1155 | \`configure' configures this package to adapt to many kinds of systems. |
---|
| 1156 | |
---|
| 1157 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1158 | |
---|
| 1159 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1160 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1161 | |
---|
| 1162 | Defaults for the options are specified in brackets. |
---|
| 1163 | |
---|
| 1164 | Configuration: |
---|
| 1165 | -h, --help display this help and exit |
---|
| 1166 | --help=short display options specific to this package |
---|
| 1167 | --help=recursive display the short help of all the included packages |
---|
| 1168 | -V, --version display version information and exit |
---|
| 1169 | -q, --quiet, --silent do not print \`checking...' messages |
---|
| 1170 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1171 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1172 | -n, --no-create do not create output files |
---|
| 1173 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1174 | |
---|
| 1175 | Installation directories: |
---|
| 1176 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1177 | [$ac_default_prefix] |
---|
| 1178 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1179 | [PREFIX] |
---|
| 1180 | |
---|
| 1181 | By default, \`make install' will install all the files in |
---|
| 1182 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1183 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1184 | for instance \`--prefix=\$HOME'. |
---|
| 1185 | |
---|
| 1186 | For better control, use the options below. |
---|
| 1187 | |
---|
| 1188 | Fine tuning of the installation directories: |
---|
| 1189 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1190 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1191 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1192 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1193 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1194 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1195 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1196 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1197 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
[261] | 1198 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1199 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1200 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1201 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1202 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1203 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
| 1204 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1205 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1206 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1207 | --psdir=DIR ps documentation [DOCDIR] |
---|
[21] | 1208 | _ACEOF |
---|
| 1209 | |
---|
| 1210 | cat <<\_ACEOF |
---|
| 1211 | _ACEOF |
---|
| 1212 | fi |
---|
| 1213 | |
---|
| 1214 | if test -n "$ac_init_help"; then |
---|
| 1215 | |
---|
| 1216 | cat <<\_ACEOF |
---|
| 1217 | |
---|
[22] | 1218 | Optional Packages: |
---|
| 1219 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 1220 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 1221 | |
---|
| 1222 | --with-trac_user=USER Specify the name of the user that trac use, |
---|
| 1223 | default=www-data |
---|
| 1224 | |
---|
| 1225 | --with-mta_user=USER Specify the name of the user that your MTA use, |
---|
| 1226 | default=nobody |
---|
| 1227 | |
---|
| 1228 | Some influential environment variables: |
---|
| 1229 | CC C compiler command |
---|
| 1230 | CFLAGS C compiler flags |
---|
| 1231 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1232 | nonstandard directory <lib dir> |
---|
[261] | 1233 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
| 1234 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
| 1235 | you have headers in a nonstandard directory <include dir> |
---|
[22] | 1236 | CPP C preprocessor |
---|
| 1237 | |
---|
| 1238 | Use these variables to override the choices made by `configure' or to help |
---|
| 1239 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1240 | |
---|
[21] | 1241 | _ACEOF |
---|
[261] | 1242 | ac_status=$? |
---|
[21] | 1243 | fi |
---|
| 1244 | |
---|
| 1245 | if test "$ac_init_help" = "recursive"; then |
---|
| 1246 | # If there are subdirs, report their specific --help. |
---|
| 1247 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
[261] | 1248 | test -d "$ac_dir" || continue |
---|
[21] | 1249 | ac_builddir=. |
---|
| 1250 | |
---|
[261] | 1251 | case "$ac_dir" in |
---|
| 1252 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1253 | *) |
---|
[21] | 1254 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[261] | 1255 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1256 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 1257 | case $ac_top_builddir_sub in |
---|
| 1258 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1259 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1260 | esac ;; |
---|
| 1261 | esac |
---|
| 1262 | ac_abs_top_builddir=$ac_pwd |
---|
| 1263 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1264 | # for backward compatibility: |
---|
| 1265 | ac_top_builddir=$ac_top_build_prefix |
---|
[21] | 1266 | |
---|
| 1267 | case $srcdir in |
---|
[261] | 1268 | .) # We are building in place. |
---|
[21] | 1269 | ac_srcdir=. |
---|
[261] | 1270 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1271 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1272 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[21] | 1273 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[261] | 1274 | ac_top_srcdir=$srcdir |
---|
| 1275 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1276 | *) # Relative name. |
---|
| 1277 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1278 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1279 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[21] | 1280 | esac |
---|
[261] | 1281 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[21] | 1282 | |
---|
[261] | 1283 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1284 | # Check for guested configure. |
---|
| 1285 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1286 | echo && |
---|
| 1287 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1288 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1289 | echo && |
---|
| 1290 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
[21] | 1291 | else |
---|
| 1292 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
[261] | 1293 | fi || ac_status=$? |
---|
| 1294 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
[21] | 1295 | done |
---|
| 1296 | fi |
---|
| 1297 | |
---|
[261] | 1298 | test -n "$ac_init_help" && exit $ac_status |
---|
[21] | 1299 | if $ac_init_version; then |
---|
| 1300 | cat <<\_ACEOF |
---|
[261] | 1301 | configure |
---|
| 1302 | generated by GNU Autoconf 2.61 |
---|
[21] | 1303 | |
---|
[261] | 1304 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
| 1305 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
[21] | 1306 | This configure script is free software; the Free Software Foundation |
---|
| 1307 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1308 | _ACEOF |
---|
[261] | 1309 | exit |
---|
[21] | 1310 | fi |
---|
[261] | 1311 | cat >config.log <<_ACEOF |
---|
[21] | 1312 | This file contains any messages produced by compilers while |
---|
| 1313 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1314 | |
---|
| 1315 | It was created by $as_me, which was |
---|
[261] | 1316 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
[21] | 1317 | |
---|
| 1318 | $ $0 $@ |
---|
| 1319 | |
---|
| 1320 | _ACEOF |
---|
[261] | 1321 | exec 5>>config.log |
---|
[21] | 1322 | { |
---|
| 1323 | cat <<_ASUNAME |
---|
| 1324 | ## --------- ## |
---|
| 1325 | ## Platform. ## |
---|
| 1326 | ## --------- ## |
---|
| 1327 | |
---|
| 1328 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1329 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1330 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1331 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1332 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1333 | |
---|
| 1334 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1335 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1336 | |
---|
| 1337 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1338 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1339 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
[261] | 1340 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
[21] | 1341 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1342 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1343 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1344 | |
---|
| 1345 | _ASUNAME |
---|
| 1346 | |
---|
| 1347 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1348 | for as_dir in $PATH |
---|
| 1349 | do |
---|
| 1350 | IFS=$as_save_IFS |
---|
| 1351 | test -z "$as_dir" && as_dir=. |
---|
| 1352 | echo "PATH: $as_dir" |
---|
| 1353 | done |
---|
[261] | 1354 | IFS=$as_save_IFS |
---|
[21] | 1355 | |
---|
| 1356 | } >&5 |
---|
| 1357 | |
---|
| 1358 | cat >&5 <<_ACEOF |
---|
| 1359 | |
---|
| 1360 | |
---|
| 1361 | ## ----------- ## |
---|
| 1362 | ## Core tests. ## |
---|
| 1363 | ## ----------- ## |
---|
| 1364 | |
---|
| 1365 | _ACEOF |
---|
| 1366 | |
---|
| 1367 | |
---|
| 1368 | # Keep a trace of the command line. |
---|
| 1369 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1370 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1371 | # Also quote any args containing shell meta-characters. |
---|
| 1372 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1373 | ac_configure_args= |
---|
| 1374 | ac_configure_args0= |
---|
| 1375 | ac_configure_args1= |
---|
| 1376 | ac_must_keep_next=false |
---|
| 1377 | for ac_pass in 1 2 |
---|
| 1378 | do |
---|
| 1379 | for ac_arg |
---|
| 1380 | do |
---|
| 1381 | case $ac_arg in |
---|
| 1382 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1383 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1384 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1385 | continue ;; |
---|
[261] | 1386 | *\'*) |
---|
[21] | 1387 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1388 | esac |
---|
| 1389 | case $ac_pass in |
---|
| 1390 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
| 1391 | 2) |
---|
| 1392 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
| 1393 | if test $ac_must_keep_next = true; then |
---|
| 1394 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1395 | else |
---|
| 1396 | case $ac_arg in |
---|
| 1397 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1398 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1399 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1400 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1401 | case "$ac_configure_args0 " in |
---|
| 1402 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1403 | esac |
---|
| 1404 | ;; |
---|
| 1405 | -* ) ac_must_keep_next=true ;; |
---|
| 1406 | esac |
---|
| 1407 | fi |
---|
[261] | 1408 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
[21] | 1409 | ;; |
---|
| 1410 | esac |
---|
| 1411 | done |
---|
| 1412 | done |
---|
| 1413 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
| 1414 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
| 1415 | |
---|
| 1416 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1417 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1418 | # would cause problems or look ugly. |
---|
[261] | 1419 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1420 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
[21] | 1421 | trap 'exit_status=$? |
---|
| 1422 | # Save into config.log some information that might help in debugging. |
---|
| 1423 | { |
---|
| 1424 | echo |
---|
| 1425 | |
---|
| 1426 | cat <<\_ASBOX |
---|
| 1427 | ## ---------------- ## |
---|
| 1428 | ## Cache variables. ## |
---|
| 1429 | ## ---------------- ## |
---|
| 1430 | _ASBOX |
---|
| 1431 | echo |
---|
| 1432 | # The following way of writing the cache mishandles newlines in values, |
---|
[261] | 1433 | ( |
---|
| 1434 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1435 | eval ac_val=\$$ac_var |
---|
| 1436 | case $ac_val in #( |
---|
| 1437 | *${as_nl}*) |
---|
| 1438 | case $ac_var in #( |
---|
| 1439 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 1440 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 1441 | esac |
---|
| 1442 | case $ac_var in #( |
---|
| 1443 | _ | IFS | as_nl) ;; #( |
---|
| 1444 | *) $as_unset $ac_var ;; |
---|
| 1445 | esac ;; |
---|
| 1446 | esac |
---|
| 1447 | done |
---|
[21] | 1448 | (set) 2>&1 | |
---|
[261] | 1449 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1450 | *${as_nl}ac_space=\ *) |
---|
[21] | 1451 | sed -n \ |
---|
[261] | 1452 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1453 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1454 | ;; #( |
---|
[21] | 1455 | *) |
---|
[261] | 1456 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[21] | 1457 | ;; |
---|
[261] | 1458 | esac | |
---|
| 1459 | sort |
---|
| 1460 | ) |
---|
[21] | 1461 | echo |
---|
| 1462 | |
---|
| 1463 | cat <<\_ASBOX |
---|
| 1464 | ## ----------------- ## |
---|
| 1465 | ## Output variables. ## |
---|
| 1466 | ## ----------------- ## |
---|
| 1467 | _ASBOX |
---|
| 1468 | echo |
---|
| 1469 | for ac_var in $ac_subst_vars |
---|
| 1470 | do |
---|
[261] | 1471 | eval ac_val=\$$ac_var |
---|
| 1472 | case $ac_val in |
---|
| 1473 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1474 | esac |
---|
| 1475 | echo "$ac_var='\''$ac_val'\''" |
---|
[21] | 1476 | done | sort |
---|
| 1477 | echo |
---|
| 1478 | |
---|
| 1479 | if test -n "$ac_subst_files"; then |
---|
| 1480 | cat <<\_ASBOX |
---|
[261] | 1481 | ## ------------------- ## |
---|
| 1482 | ## File substitutions. ## |
---|
| 1483 | ## ------------------- ## |
---|
[21] | 1484 | _ASBOX |
---|
| 1485 | echo |
---|
| 1486 | for ac_var in $ac_subst_files |
---|
| 1487 | do |
---|
[261] | 1488 | eval ac_val=\$$ac_var |
---|
| 1489 | case $ac_val in |
---|
| 1490 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1491 | esac |
---|
| 1492 | echo "$ac_var='\''$ac_val'\''" |
---|
[21] | 1493 | done | sort |
---|
| 1494 | echo |
---|
| 1495 | fi |
---|
| 1496 | |
---|
| 1497 | if test -s confdefs.h; then |
---|
| 1498 | cat <<\_ASBOX |
---|
| 1499 | ## ----------- ## |
---|
| 1500 | ## confdefs.h. ## |
---|
| 1501 | ## ----------- ## |
---|
| 1502 | _ASBOX |
---|
| 1503 | echo |
---|
[261] | 1504 | cat confdefs.h |
---|
[21] | 1505 | echo |
---|
| 1506 | fi |
---|
| 1507 | test "$ac_signal" != 0 && |
---|
| 1508 | echo "$as_me: caught signal $ac_signal" |
---|
| 1509 | echo "$as_me: exit $exit_status" |
---|
| 1510 | } >&5 |
---|
[261] | 1511 | rm -f core *.core core.conftest.* && |
---|
| 1512 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
[21] | 1513 | exit $exit_status |
---|
[261] | 1514 | ' 0 |
---|
[21] | 1515 | for ac_signal in 1 2 13 15; do |
---|
| 1516 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
| 1517 | done |
---|
| 1518 | ac_signal=0 |
---|
| 1519 | |
---|
| 1520 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
[261] | 1521 | rm -f -r conftest* confdefs.h |
---|
[21] | 1522 | |
---|
| 1523 | # Predefined preprocessor variables. |
---|
| 1524 | |
---|
| 1525 | cat >>confdefs.h <<_ACEOF |
---|
| 1526 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1527 | _ACEOF |
---|
| 1528 | |
---|
| 1529 | |
---|
| 1530 | cat >>confdefs.h <<_ACEOF |
---|
| 1531 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1532 | _ACEOF |
---|
| 1533 | |
---|
| 1534 | |
---|
| 1535 | cat >>confdefs.h <<_ACEOF |
---|
| 1536 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1537 | _ACEOF |
---|
| 1538 | |
---|
| 1539 | |
---|
| 1540 | cat >>confdefs.h <<_ACEOF |
---|
| 1541 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1542 | _ACEOF |
---|
| 1543 | |
---|
| 1544 | |
---|
| 1545 | cat >>confdefs.h <<_ACEOF |
---|
| 1546 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1547 | _ACEOF |
---|
| 1548 | |
---|
| 1549 | |
---|
| 1550 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1551 | # Prefer explicitly selected file to automatically selected ones. |
---|
[261] | 1552 | if test -n "$CONFIG_SITE"; then |
---|
| 1553 | set x "$CONFIG_SITE" |
---|
| 1554 | elif test "x$prefix" != xNONE; then |
---|
| 1555 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
---|
| 1556 | else |
---|
| 1557 | set x "$ac_default_prefix/share/config.site" \ |
---|
| 1558 | "$ac_default_prefix/etc/config.site" |
---|
[21] | 1559 | fi |
---|
[261] | 1560 | shift |
---|
| 1561 | for ac_site_file |
---|
| 1562 | do |
---|
[21] | 1563 | if test -r "$ac_site_file"; then |
---|
| 1564 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
| 1565 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1566 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 1567 | . "$ac_site_file" |
---|
| 1568 | fi |
---|
| 1569 | done |
---|
| 1570 | |
---|
| 1571 | if test -r "$cache_file"; then |
---|
| 1572 | # Some versions of bash will fail to source /dev/null (special |
---|
| 1573 | # files actually), so we avoid doing that. |
---|
| 1574 | if test -f "$cache_file"; then |
---|
| 1575 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
| 1576 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1577 | case $cache_file in |
---|
[261] | 1578 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1579 | *) . "./$cache_file";; |
---|
[21] | 1580 | esac |
---|
| 1581 | fi |
---|
| 1582 | else |
---|
| 1583 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
| 1584 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1585 | >$cache_file |
---|
| 1586 | fi |
---|
| 1587 | |
---|
| 1588 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1589 | # value. |
---|
| 1590 | ac_cache_corrupted=false |
---|
[261] | 1591 | for ac_var in $ac_precious_vars; do |
---|
[21] | 1592 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1593 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
[261] | 1594 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1595 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
[21] | 1596 | case $ac_old_set,$ac_new_set in |
---|
| 1597 | set,) |
---|
| 1598 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1599 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1600 | ac_cache_corrupted=: ;; |
---|
| 1601 | ,set) |
---|
| 1602 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1603 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1604 | ac_cache_corrupted=: ;; |
---|
| 1605 | ,);; |
---|
| 1606 | *) |
---|
| 1607 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1608 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1609 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1610 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
| 1611 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
| 1612 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
| 1613 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
| 1614 | ac_cache_corrupted=: |
---|
| 1615 | fi;; |
---|
| 1616 | esac |
---|
| 1617 | # Pass precious variables to config.status. |
---|
| 1618 | if test "$ac_new_set" = set; then |
---|
| 1619 | case $ac_new_val in |
---|
[261] | 1620 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[21] | 1621 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1622 | esac |
---|
| 1623 | case " $ac_configure_args " in |
---|
| 1624 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1625 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 1626 | esac |
---|
| 1627 | fi |
---|
| 1628 | done |
---|
| 1629 | if $ac_cache_corrupted; then |
---|
| 1630 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
| 1631 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 1632 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
| 1633 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
| 1634 | { (exit 1); exit 1; }; } |
---|
| 1635 | fi |
---|
| 1636 | |
---|
| 1637 | |
---|
| 1638 | |
---|
| 1639 | |
---|
| 1640 | |
---|
| 1641 | |
---|
| 1642 | |
---|
| 1643 | |
---|
| 1644 | |
---|
| 1645 | |
---|
| 1646 | |
---|
| 1647 | |
---|
| 1648 | |
---|
| 1649 | |
---|
| 1650 | |
---|
| 1651 | |
---|
| 1652 | |
---|
[261] | 1653 | ac_ext=c |
---|
| 1654 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1655 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1656 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1657 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[21] | 1658 | |
---|
| 1659 | |
---|
| 1660 | |
---|
| 1661 | |
---|
| 1662 | |
---|
| 1663 | |
---|
| 1664 | |
---|
| 1665 | |
---|
| 1666 | |
---|
[109] | 1667 | #DEBUG=0 |
---|
[21] | 1668 | |
---|
[261] | 1669 | #AM_PATH_PYTHON |
---|
[22] | 1670 | |
---|
| 1671 | |
---|
[24] | 1672 | |
---|
| 1673 | |
---|
[261] | 1674 | if test -n "$PYTHON"; then |
---|
| 1675 | # If the user set $PYTHON, use it and don't search something else. |
---|
| 1676 | { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5 |
---|
| 1677 | echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; } |
---|
| 1678 | prog="import sys, string |
---|
| 1679 | # split strings by '.' and convert to numeric. Append some zeros |
---|
| 1680 | # because we need at least 4 digits for the hex conversion. |
---|
| 1681 | minver = map(int, string.split('2.4', '.')) + [0, 0, 0] |
---|
| 1682 | minverhex = 0 |
---|
| 1683 | for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] |
---|
| 1684 | sys.exit(sys.hexversion < minverhex)" |
---|
| 1685 | if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
---|
| 1686 | ($PYTHON -c "$prog") >&5 2>&5 |
---|
| 1687 | ac_status=$? |
---|
| 1688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1689 | (exit $ac_status); }; then |
---|
| 1690 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 1691 | echo "${ECHO_T}yes" >&6; } |
---|
| 1692 | else |
---|
| 1693 | { { echo "$as_me:$LINENO: error: too old" >&5 |
---|
| 1694 | echo "$as_me: error: too old" >&2;} |
---|
| 1695 | { (exit 1); exit 1; }; } |
---|
| 1696 | fi |
---|
| 1697 | |
---|
| 1698 | else |
---|
| 1699 | # Otherwise, try each interpreter until we find one that satisfies |
---|
| 1700 | # VERSION. |
---|
| 1701 | { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5 |
---|
| 1702 | echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; } |
---|
| 1703 | if test "${am_cv_pathless_PYTHON+set}" = set; then |
---|
| 1704 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1705 | else |
---|
| 1706 | |
---|
[270] | 1707 | for am_cv_pathless_PYTHON in python python2 python2.6 python2.5 python.2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 : ; do |
---|
[261] | 1708 | if test "$am_cv_pathless_PYTHON" = : ; then |
---|
| 1709 | { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 |
---|
| 1710 | echo "$as_me: error: no suitable Python interpreter found" >&2;} |
---|
| 1711 | { (exit 1); exit 1; }; } |
---|
| 1712 | fi |
---|
| 1713 | prog="import sys, string |
---|
| 1714 | # split strings by '.' and convert to numeric. Append some zeros |
---|
| 1715 | # because we need at least 4 digits for the hex conversion. |
---|
| 1716 | minver = map(int, string.split('2.4', '.')) + [0, 0, 0] |
---|
| 1717 | minverhex = 0 |
---|
| 1718 | for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] |
---|
| 1719 | sys.exit(sys.hexversion < minverhex)" |
---|
| 1720 | if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 |
---|
| 1721 | ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 |
---|
| 1722 | ac_status=$? |
---|
| 1723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 1724 | (exit $ac_status); }; then |
---|
| 1725 | break |
---|
| 1726 | fi |
---|
| 1727 | |
---|
| 1728 | done |
---|
| 1729 | fi |
---|
| 1730 | { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 |
---|
| 1731 | echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; } |
---|
| 1732 | # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. |
---|
| 1733 | # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. |
---|
| 1734 | set dummy $am_cv_pathless_PYTHON; ac_word=$2 |
---|
| 1735 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1736 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[21] | 1737 | if test "${ac_cv_path_PYTHON+set}" = set; then |
---|
| 1738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1739 | else |
---|
| 1740 | case $PYTHON in |
---|
| 1741 | [\\/]* | ?:[\\/]*) |
---|
| 1742 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
---|
| 1743 | ;; |
---|
| 1744 | *) |
---|
| 1745 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1746 | for as_dir in $PATH |
---|
| 1747 | do |
---|
| 1748 | IFS=$as_save_IFS |
---|
| 1749 | test -z "$as_dir" && as_dir=. |
---|
| 1750 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 1751 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[21] | 1752 | ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
---|
| 1753 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1754 | break 2 |
---|
| 1755 | fi |
---|
| 1756 | done |
---|
| 1757 | done |
---|
[261] | 1758 | IFS=$as_save_IFS |
---|
[21] | 1759 | |
---|
| 1760 | ;; |
---|
| 1761 | esac |
---|
| 1762 | fi |
---|
| 1763 | PYTHON=$ac_cv_path_PYTHON |
---|
| 1764 | if test -n "$PYTHON"; then |
---|
[261] | 1765 | { echo "$as_me:$LINENO: result: $PYTHON" >&5 |
---|
| 1766 | echo "${ECHO_T}$PYTHON" >&6; } |
---|
[21] | 1767 | else |
---|
[261] | 1768 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1769 | echo "${ECHO_T}no" >&6; } |
---|
[21] | 1770 | fi |
---|
| 1771 | |
---|
| 1772 | |
---|
[261] | 1773 | am_display_PYTHON=$am_cv_pathless_PYTHON |
---|
| 1774 | fi |
---|
[21] | 1775 | |
---|
| 1776 | |
---|
| 1777 | |
---|
[261] | 1778 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 |
---|
| 1779 | echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } |
---|
[21] | 1780 | if test "${am_cv_python_version+set}" = set; then |
---|
| 1781 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1782 | else |
---|
| 1783 | am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
---|
| 1784 | fi |
---|
[261] | 1785 | { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 |
---|
| 1786 | echo "${ECHO_T}$am_cv_python_version" >&6; } |
---|
[21] | 1787 | PYTHON_VERSION=$am_cv_python_version |
---|
| 1788 | |
---|
| 1789 | |
---|
| 1790 | |
---|
| 1791 | PYTHON_PREFIX='${prefix}' |
---|
| 1792 | |
---|
| 1793 | PYTHON_EXEC_PREFIX='${exec_prefix}' |
---|
| 1794 | |
---|
| 1795 | |
---|
| 1796 | |
---|
[261] | 1797 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 |
---|
| 1798 | echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } |
---|
[21] | 1799 | if test "${am_cv_python_platform+set}" = set; then |
---|
| 1800 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1801 | else |
---|
| 1802 | am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
---|
| 1803 | fi |
---|
[261] | 1804 | { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 |
---|
| 1805 | echo "${ECHO_T}$am_cv_python_platform" >&6; } |
---|
[21] | 1806 | PYTHON_PLATFORM=$am_cv_python_platform |
---|
| 1807 | |
---|
| 1808 | |
---|
| 1809 | |
---|
| 1810 | |
---|
[261] | 1811 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 |
---|
| 1812 | echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } |
---|
[21] | 1813 | if test "${am_cv_python_pythondir+set}" = set; then |
---|
| 1814 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1815 | else |
---|
| 1816 | am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
---|
| 1817 | echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
---|
| 1818 | fi |
---|
[261] | 1819 | { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 |
---|
| 1820 | echo "${ECHO_T}$am_cv_python_pythondir" >&6; } |
---|
[21] | 1821 | pythondir=$am_cv_python_pythondir |
---|
| 1822 | |
---|
| 1823 | |
---|
| 1824 | |
---|
| 1825 | pkgpythondir=\${pythondir}/$PACKAGE |
---|
| 1826 | |
---|
| 1827 | |
---|
[261] | 1828 | { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 |
---|
| 1829 | echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } |
---|
[21] | 1830 | if test "${am_cv_python_pyexecdir+set}" = set; then |
---|
| 1831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1832 | else |
---|
| 1833 | am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
---|
| 1834 | echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
---|
| 1835 | fi |
---|
[261] | 1836 | { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 |
---|
| 1837 | echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } |
---|
[21] | 1838 | pyexecdir=$am_cv_python_pyexecdir |
---|
| 1839 | |
---|
| 1840 | |
---|
| 1841 | |
---|
| 1842 | pkgpyexecdir=\${pyexecdir}/$PACKAGE |
---|
| 1843 | |
---|
| 1844 | |
---|
[22] | 1845 | ac_ext=c |
---|
| 1846 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1847 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1848 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1849 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1850 | if test -n "$ac_tool_prefix"; then |
---|
| 1851 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 1852 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
[261] | 1853 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1854 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 1855 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1856 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1857 | else |
---|
| 1858 | if test -n "$CC"; then |
---|
| 1859 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1860 | else |
---|
| 1861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1862 | for as_dir in $PATH |
---|
| 1863 | do |
---|
| 1864 | IFS=$as_save_IFS |
---|
| 1865 | test -z "$as_dir" && as_dir=. |
---|
| 1866 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 1867 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 1868 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 1869 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1870 | break 2 |
---|
| 1871 | fi |
---|
| 1872 | done |
---|
| 1873 | done |
---|
[261] | 1874 | IFS=$as_save_IFS |
---|
[21] | 1875 | |
---|
[22] | 1876 | fi |
---|
| 1877 | fi |
---|
| 1878 | CC=$ac_cv_prog_CC |
---|
| 1879 | if test -n "$CC"; then |
---|
[261] | 1880 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1881 | echo "${ECHO_T}$CC" >&6; } |
---|
[22] | 1882 | else |
---|
[261] | 1883 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1884 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 1885 | fi |
---|
| 1886 | |
---|
[261] | 1887 | |
---|
[22] | 1888 | fi |
---|
| 1889 | if test -z "$ac_cv_prog_CC"; then |
---|
| 1890 | ac_ct_CC=$CC |
---|
| 1891 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 1892 | set dummy gcc; ac_word=$2 |
---|
[261] | 1893 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1894 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 1895 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 1896 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1897 | else |
---|
| 1898 | if test -n "$ac_ct_CC"; then |
---|
| 1899 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 1900 | else |
---|
| 1901 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1902 | for as_dir in $PATH |
---|
| 1903 | do |
---|
| 1904 | IFS=$as_save_IFS |
---|
| 1905 | test -z "$as_dir" && as_dir=. |
---|
| 1906 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 1907 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 1908 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 1909 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1910 | break 2 |
---|
| 1911 | fi |
---|
| 1912 | done |
---|
| 1913 | done |
---|
[261] | 1914 | IFS=$as_save_IFS |
---|
[22] | 1915 | |
---|
| 1916 | fi |
---|
| 1917 | fi |
---|
| 1918 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 1919 | if test -n "$ac_ct_CC"; then |
---|
[261] | 1920 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 1921 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[22] | 1922 | else |
---|
[261] | 1923 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1924 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 1925 | fi |
---|
| 1926 | |
---|
[261] | 1927 | if test "x$ac_ct_CC" = x; then |
---|
| 1928 | CC="" |
---|
| 1929 | else |
---|
| 1930 | case $cross_compiling:$ac_tool_warned in |
---|
| 1931 | yes:) |
---|
| 1932 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1933 | whose name does not start with the host triplet. If you think this |
---|
| 1934 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 1935 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 1936 | whose name does not start with the host triplet. If you think this |
---|
| 1937 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 1938 | ac_tool_warned=yes ;; |
---|
| 1939 | esac |
---|
| 1940 | CC=$ac_ct_CC |
---|
| 1941 | fi |
---|
[22] | 1942 | else |
---|
| 1943 | CC="$ac_cv_prog_CC" |
---|
| 1944 | fi |
---|
| 1945 | |
---|
| 1946 | if test -z "$CC"; then |
---|
[261] | 1947 | if test -n "$ac_tool_prefix"; then |
---|
| 1948 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
[22] | 1949 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
[261] | 1950 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1951 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 1952 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1953 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1954 | else |
---|
| 1955 | if test -n "$CC"; then |
---|
| 1956 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1957 | else |
---|
| 1958 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1959 | for as_dir in $PATH |
---|
| 1960 | do |
---|
| 1961 | IFS=$as_save_IFS |
---|
| 1962 | test -z "$as_dir" && as_dir=. |
---|
| 1963 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 1964 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 1965 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 1966 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 1967 | break 2 |
---|
| 1968 | fi |
---|
| 1969 | done |
---|
| 1970 | done |
---|
[261] | 1971 | IFS=$as_save_IFS |
---|
[22] | 1972 | |
---|
| 1973 | fi |
---|
| 1974 | fi |
---|
| 1975 | CC=$ac_cv_prog_CC |
---|
| 1976 | if test -n "$CC"; then |
---|
[261] | 1977 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 1978 | echo "${ECHO_T}$CC" >&6; } |
---|
[22] | 1979 | else |
---|
[261] | 1980 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 1981 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 1982 | fi |
---|
| 1983 | |
---|
[261] | 1984 | |
---|
[22] | 1985 | fi |
---|
| 1986 | fi |
---|
| 1987 | if test -z "$CC"; then |
---|
| 1988 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 1989 | set dummy cc; ac_word=$2 |
---|
[261] | 1990 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 1991 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 1992 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 1993 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 1994 | else |
---|
| 1995 | if test -n "$CC"; then |
---|
| 1996 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 1997 | else |
---|
| 1998 | ac_prog_rejected=no |
---|
| 1999 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2000 | for as_dir in $PATH |
---|
| 2001 | do |
---|
| 2002 | IFS=$as_save_IFS |
---|
| 2003 | test -z "$as_dir" && as_dir=. |
---|
| 2004 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 2005 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 2006 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 2007 | ac_prog_rejected=yes |
---|
| 2008 | continue |
---|
| 2009 | fi |
---|
| 2010 | ac_cv_prog_CC="cc" |
---|
| 2011 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2012 | break 2 |
---|
| 2013 | fi |
---|
| 2014 | done |
---|
| 2015 | done |
---|
[261] | 2016 | IFS=$as_save_IFS |
---|
[22] | 2017 | |
---|
| 2018 | if test $ac_prog_rejected = yes; then |
---|
| 2019 | # We found a bogon in the path, so make sure we never use it. |
---|
| 2020 | set dummy $ac_cv_prog_CC |
---|
| 2021 | shift |
---|
| 2022 | if test $# != 0; then |
---|
| 2023 | # We chose a different compiler from the bogus one. |
---|
| 2024 | # However, it has the same basename, so the bogon will be chosen |
---|
| 2025 | # first if we set CC to just the basename; use the full file name. |
---|
| 2026 | shift |
---|
| 2027 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 2028 | fi |
---|
| 2029 | fi |
---|
| 2030 | fi |
---|
| 2031 | fi |
---|
| 2032 | CC=$ac_cv_prog_CC |
---|
| 2033 | if test -n "$CC"; then |
---|
[261] | 2034 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 2035 | echo "${ECHO_T}$CC" >&6; } |
---|
[22] | 2036 | else |
---|
[261] | 2037 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2038 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 2039 | fi |
---|
| 2040 | |
---|
[261] | 2041 | |
---|
[22] | 2042 | fi |
---|
| 2043 | if test -z "$CC"; then |
---|
| 2044 | if test -n "$ac_tool_prefix"; then |
---|
[261] | 2045 | for ac_prog in cl.exe |
---|
[22] | 2046 | do |
---|
| 2047 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 2048 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
[261] | 2049 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 2050 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 2051 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
| 2052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2053 | else |
---|
| 2054 | if test -n "$CC"; then |
---|
| 2055 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2056 | else |
---|
| 2057 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2058 | for as_dir in $PATH |
---|
| 2059 | do |
---|
| 2060 | IFS=$as_save_IFS |
---|
| 2061 | test -z "$as_dir" && as_dir=. |
---|
| 2062 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 2063 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 2064 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 2065 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2066 | break 2 |
---|
| 2067 | fi |
---|
| 2068 | done |
---|
| 2069 | done |
---|
[261] | 2070 | IFS=$as_save_IFS |
---|
[22] | 2071 | |
---|
| 2072 | fi |
---|
| 2073 | fi |
---|
| 2074 | CC=$ac_cv_prog_CC |
---|
| 2075 | if test -n "$CC"; then |
---|
[261] | 2076 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
| 2077 | echo "${ECHO_T}$CC" >&6; } |
---|
[22] | 2078 | else |
---|
[261] | 2079 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2080 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 2081 | fi |
---|
| 2082 | |
---|
[261] | 2083 | |
---|
[22] | 2084 | test -n "$CC" && break |
---|
| 2085 | done |
---|
| 2086 | fi |
---|
| 2087 | if test -z "$CC"; then |
---|
| 2088 | ac_ct_CC=$CC |
---|
[261] | 2089 | for ac_prog in cl.exe |
---|
[22] | 2090 | do |
---|
| 2091 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2092 | set dummy $ac_prog; ac_word=$2 |
---|
[261] | 2093 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
| 2094 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
[22] | 2095 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
| 2096 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2097 | else |
---|
| 2098 | if test -n "$ac_ct_CC"; then |
---|
| 2099 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2100 | else |
---|
| 2101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2102 | for as_dir in $PATH |
---|
| 2103 | do |
---|
| 2104 | IFS=$as_save_IFS |
---|
| 2105 | test -z "$as_dir" && as_dir=. |
---|
| 2106 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[261] | 2107 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
[22] | 2108 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 2109 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2110 | break 2 |
---|
| 2111 | fi |
---|
| 2112 | done |
---|
| 2113 | done |
---|
[261] | 2114 | IFS=$as_save_IFS |
---|
[22] | 2115 | |
---|
| 2116 | fi |
---|
| 2117 | fi |
---|
| 2118 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 2119 | if test -n "$ac_ct_CC"; then |
---|
[261] | 2120 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
| 2121 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
[22] | 2122 | else |
---|
[261] | 2123 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
| 2124 | echo "${ECHO_T}no" >&6; } |
---|
[22] | 2125 | fi |
---|
| 2126 | |
---|
[261] | 2127 | |
---|
[22] | 2128 | test -n "$ac_ct_CC" && break |
---|
| 2129 | done |
---|
| 2130 | |
---|
[261] | 2131 | if test "x$ac_ct_CC" = x; then |
---|
| 2132 | CC="" |
---|
| 2133 | else |
---|
| 2134 | case $cross_compiling:$ac_tool_warned in |
---|
| 2135 | yes:) |
---|
| 2136 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 2137 | whose name does not start with the host triplet. If you think this |
---|
| 2138 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
| 2139 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
| 2140 | whose name does not start with the host triplet. If you think this |
---|
| 2141 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
| 2142 | ac_tool_warned=yes ;; |
---|
| 2143 | esac |
---|
| 2144 | CC=$ac_ct_CC |
---|
| 2145 | fi |
---|
[22] | 2146 | fi |
---|
| 2147 | |
---|
| 2148 | fi |
---|
| 2149 | |
---|
| 2150 | |
---|
| 2151 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
| 2152 | See \`config.log' for more details." >&5 |
---|
| 2153 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
| 2154 | See \`config.log' for more details." >&2;} |
---|
| 2155 | { (exit 1); exit 1; }; } |
---|
| 2156 | |
---|
| 2157 | # Provide some information about the compiler. |
---|
[261] | 2158 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
[22] | 2159 | ac_compiler=`set X $ac_compile; echo $2` |
---|
[261] | 2160 | { (ac_try="$ac_compiler --version >&5" |
---|
| 2161 | case "(($ac_try" in |
---|
| 2162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2163 | *) ac_try_echo=$ac_try;; |
---|
| 2164 | esac |
---|
| 2165 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2166 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
[22] | 2167 | ac_status=$? |
---|
| 2168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2169 | (exit $ac_status); } |
---|
[261] | 2170 | { (ac_try="$ac_compiler -v >&5" |
---|
| 2171 | case "(($ac_try" in |
---|
| 2172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2173 | *) ac_try_echo=$ac_try;; |
---|
| 2174 | esac |
---|
| 2175 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2176 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
[22] | 2177 | ac_status=$? |
---|
| 2178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2179 | (exit $ac_status); } |
---|
[261] | 2180 | { (ac_try="$ac_compiler -V >&5" |
---|
| 2181 | case "(($ac_try" in |
---|
| 2182 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2183 | *) ac_try_echo=$ac_try;; |
---|
| 2184 | esac |
---|
| 2185 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2186 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
[22] | 2187 | ac_status=$? |
---|
| 2188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2189 | (exit $ac_status); } |
---|
| 2190 | |
---|
| 2191 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2192 | /* confdefs.h. */ |
---|
| 2193 | _ACEOF |
---|
| 2194 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2195 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2196 | /* end confdefs.h. */ |
---|
| 2197 | |
---|
| 2198 | int |
---|
| 2199 | main () |
---|
| 2200 | { |
---|
| 2201 | |
---|
| 2202 | ; |
---|
| 2203 | return 0; |
---|
| 2204 | } |
---|
| 2205 | _ACEOF |
---|
| 2206 | ac_clean_files_save=$ac_clean_files |
---|
| 2207 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
| 2208 | # Try to create an executable without -o first, disregard a.out. |
---|
| 2209 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 2210 | # of exeext. |
---|
[261] | 2211 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
| 2212 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
---|
[22] | 2213 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
[261] | 2214 | # |
---|
| 2215 | # List of possible output files, starting from the most likely. |
---|
| 2216 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
---|
| 2217 | # only as a last resort. b.out is created by i960 compilers. |
---|
| 2218 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
---|
| 2219 | # |
---|
| 2220 | # The IRIX 6 linker writes into existing files which may not be |
---|
| 2221 | # executable, retaining their permissions. Remove them first so a |
---|
| 2222 | # subsequent execution test works. |
---|
| 2223 | ac_rmfiles= |
---|
| 2224 | for ac_file in $ac_files |
---|
| 2225 | do |
---|
| 2226 | case $ac_file in |
---|
| 2227 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
| 2228 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 2229 | esac |
---|
| 2230 | done |
---|
| 2231 | rm -f $ac_rmfiles |
---|
| 2232 | |
---|
| 2233 | if { (ac_try="$ac_link_default" |
---|
| 2234 | case "(($ac_try" in |
---|
| 2235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2236 | *) ac_try_echo=$ac_try;; |
---|
| 2237 | esac |
---|
| 2238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2239 | (eval "$ac_link_default") 2>&5 |
---|
[22] | 2240 | ac_status=$? |
---|
| 2241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2242 | (exit $ac_status); }; then |
---|
[261] | 2243 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 2244 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 2245 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 2246 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 2247 | # Autoconf. |
---|
| 2248 | for ac_file in $ac_files '' |
---|
[22] | 2249 | do |
---|
| 2250 | test -f "$ac_file" || continue |
---|
| 2251 | case $ac_file in |
---|
[261] | 2252 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
---|
[22] | 2253 | ;; |
---|
| 2254 | [ab].out ) |
---|
| 2255 | # We found the default executable, but exeext='' is most |
---|
| 2256 | # certainly right. |
---|
| 2257 | break;; |
---|
| 2258 | *.* ) |
---|
[261] | 2259 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 2260 | then :; else |
---|
| 2261 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2262 | fi |
---|
| 2263 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 2264 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 2265 | # argument, so we may need to know it at that point already. |
---|
| 2266 | # Even if this section looks crufty: it has the advantage of |
---|
| 2267 | # actually working. |
---|
[22] | 2268 | break;; |
---|
| 2269 | * ) |
---|
| 2270 | break;; |
---|
| 2271 | esac |
---|
| 2272 | done |
---|
[261] | 2273 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 2274 | |
---|
[22] | 2275 | else |
---|
[261] | 2276 | ac_file='' |
---|
| 2277 | fi |
---|
| 2278 | |
---|
| 2279 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
| 2280 | echo "${ECHO_T}$ac_file" >&6; } |
---|
| 2281 | if test -z "$ac_file"; then |
---|
[22] | 2282 | echo "$as_me: failed program was:" >&5 |
---|
| 2283 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2284 | |
---|
| 2285 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
| 2286 | See \`config.log' for more details." >&5 |
---|
| 2287 | echo "$as_me: error: C compiler cannot create executables |
---|
| 2288 | See \`config.log' for more details." >&2;} |
---|
| 2289 | { (exit 77); exit 77; }; } |
---|
| 2290 | fi |
---|
| 2291 | |
---|
| 2292 | ac_exeext=$ac_cv_exeext |
---|
| 2293 | |
---|
[261] | 2294 | # Check that the compiler produces executables we can run. If not, either |
---|
[22] | 2295 | # the compiler is broken, or we cross compile. |
---|
[261] | 2296 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
| 2297 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
---|
[22] | 2298 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
| 2299 | # If not cross compiling, check that we can run a simple program. |
---|
| 2300 | if test "$cross_compiling" != yes; then |
---|
| 2301 | if { ac_try='./$ac_file' |
---|
[261] | 2302 | { (case "(($ac_try" in |
---|
| 2303 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2304 | *) ac_try_echo=$ac_try;; |
---|
| 2305 | esac |
---|
| 2306 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2307 | (eval "$ac_try") 2>&5 |
---|
[22] | 2308 | ac_status=$? |
---|
| 2309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2310 | (exit $ac_status); }; }; then |
---|
| 2311 | cross_compiling=no |
---|
| 2312 | else |
---|
| 2313 | if test "$cross_compiling" = maybe; then |
---|
| 2314 | cross_compiling=yes |
---|
| 2315 | else |
---|
| 2316 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
| 2317 | If you meant to cross compile, use \`--host'. |
---|
| 2318 | See \`config.log' for more details." >&5 |
---|
| 2319 | echo "$as_me: error: cannot run C compiled programs. |
---|
| 2320 | If you meant to cross compile, use \`--host'. |
---|
| 2321 | See \`config.log' for more details." >&2;} |
---|
| 2322 | { (exit 1); exit 1; }; } |
---|
| 2323 | fi |
---|
| 2324 | fi |
---|
| 2325 | fi |
---|
[261] | 2326 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
| 2327 | echo "${ECHO_T}yes" >&6; } |
---|
[22] | 2328 | |
---|
| 2329 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
| 2330 | ac_clean_files=$ac_clean_files_save |
---|
[261] | 2331 | # Check that the compiler produces executables we can run. If not, either |
---|
[22] | 2332 | # the compiler is broken, or we cross compile. |
---|
[261] | 2333 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
| 2334 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
---|
| 2335 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
| 2336 | echo "${ECHO_T}$cross_compiling" >&6; } |
---|
[22] | 2337 | |
---|
[261] | 2338 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
| 2339 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
---|
| 2340 | if { (ac_try="$ac_link" |
---|
| 2341 | case "(($ac_try" in |
---|
| 2342 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2343 | *) ac_try_echo=$ac_try;; |
---|
| 2344 | esac |
---|
| 2345 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2346 | (eval "$ac_link") 2>&5 |
---|
[22] | 2347 | ac_status=$? |
---|
| 2348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2349 | (exit $ac_status); }; then |
---|
| 2350 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 2351 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 2352 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 2353 | # `rm'. |
---|
| 2354 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 2355 | test -f "$ac_file" || continue |
---|
| 2356 | case $ac_file in |
---|
[261] | 2357 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
[22] | 2358 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 2359 | break;; |
---|
| 2360 | * ) break;; |
---|
| 2361 | esac |
---|
| 2362 | done |
---|
| 2363 | else |
---|
| 2364 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2365 | See \`config.log' for more details." >&5 |
---|
| 2366 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
| 2367 | See \`config.log' for more details." >&2;} |
---|
| 2368 | { (exit 1); exit 1; }; } |
---|
| 2369 | fi |
---|
| 2370 | |
---|
| 2371 | rm -f conftest$ac_cv_exeext |
---|
[261] | 2372 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
| 2373 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
---|
[22] | 2374 | |
---|
| 2375 | rm -f conftest.$ac_ext |
---|
| 2376 | EXEEXT=$ac_cv_exeext |
---|
| 2377 | ac_exeext=$EXEEXT |
---|
[261] | 2378 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
| 2379 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
---|
[22] | 2380 | if test "${ac_cv_objext+set}" = set; then |
---|
| 2381 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2382 | else |
---|
| 2383 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2384 | /* confdefs.h. */ |
---|
| 2385 | _ACEOF |
---|
| 2386 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2387 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2388 | /* end confdefs.h. */ |
---|
| 2389 | |
---|
| 2390 | int |
---|
| 2391 | main () |
---|
| 2392 | { |
---|
| 2393 | |
---|
| 2394 | ; |
---|
| 2395 | return 0; |
---|
| 2396 | } |
---|
| 2397 | _ACEOF |
---|
| 2398 | rm -f conftest.o conftest.obj |
---|
[261] | 2399 | if { (ac_try="$ac_compile" |
---|
| 2400 | case "(($ac_try" in |
---|
| 2401 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2402 | *) ac_try_echo=$ac_try;; |
---|
| 2403 | esac |
---|
| 2404 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2405 | (eval "$ac_compile") 2>&5 |
---|
[22] | 2406 | ac_status=$? |
---|
| 2407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2408 | (exit $ac_status); }; then |
---|
[261] | 2409 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 2410 | test -f "$ac_file" || continue; |
---|
[22] | 2411 | case $ac_file in |
---|
[261] | 2412 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
---|
[22] | 2413 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 2414 | break;; |
---|
| 2415 | esac |
---|
| 2416 | done |
---|
| 2417 | else |
---|
| 2418 | echo "$as_me: failed program was:" >&5 |
---|
| 2419 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2420 | |
---|
| 2421 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
| 2422 | See \`config.log' for more details." >&5 |
---|
| 2423 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
| 2424 | See \`config.log' for more details." >&2;} |
---|
| 2425 | { (exit 1); exit 1; }; } |
---|
| 2426 | fi |
---|
| 2427 | |
---|
| 2428 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 2429 | fi |
---|
[261] | 2430 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
| 2431 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
---|
[22] | 2432 | OBJEXT=$ac_cv_objext |
---|
| 2433 | ac_objext=$OBJEXT |
---|
[261] | 2434 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
| 2435 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
---|
[22] | 2436 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
| 2437 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2438 | else |
---|
| 2439 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2440 | /* confdefs.h. */ |
---|
| 2441 | _ACEOF |
---|
| 2442 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2443 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2444 | /* end confdefs.h. */ |
---|
| 2445 | |
---|
| 2446 | int |
---|
| 2447 | main () |
---|
| 2448 | { |
---|
| 2449 | #ifndef __GNUC__ |
---|
| 2450 | choke me |
---|
| 2451 | #endif |
---|
| 2452 | |
---|
| 2453 | ; |
---|
| 2454 | return 0; |
---|
| 2455 | } |
---|
| 2456 | _ACEOF |
---|
| 2457 | rm -f conftest.$ac_objext |
---|
[261] | 2458 | if { (ac_try="$ac_compile" |
---|
| 2459 | case "(($ac_try" in |
---|
| 2460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2461 | *) ac_try_echo=$ac_try;; |
---|
| 2462 | esac |
---|
| 2463 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2464 | (eval "$ac_compile") 2>conftest.er1 |
---|
[22] | 2465 | ac_status=$? |
---|
| 2466 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2467 | rm -f conftest.er1 |
---|
| 2468 | cat conftest.err >&5 |
---|
| 2469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2470 | (exit $ac_status); } && { |
---|
| 2471 | test -z "$ac_c_werror_flag" || |
---|
| 2472 | test ! -s conftest.err |
---|
| 2473 | } && test -s conftest.$ac_objext; then |
---|
[22] | 2474 | ac_compiler_gnu=yes |
---|
| 2475 | else |
---|
| 2476 | echo "$as_me: failed program was:" >&5 |
---|
| 2477 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2478 | |
---|
[261] | 2479 | ac_compiler_gnu=no |
---|
[22] | 2480 | fi |
---|
[261] | 2481 | |
---|
| 2482 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[22] | 2483 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 2484 | |
---|
| 2485 | fi |
---|
[261] | 2486 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 2487 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
---|
[22] | 2488 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
| 2489 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 2490 | ac_save_CFLAGS=$CFLAGS |
---|
[261] | 2491 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
| 2492 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
---|
[22] | 2493 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
| 2494 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2495 | else |
---|
[261] | 2496 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 2497 | ac_c_werror_flag=yes |
---|
| 2498 | ac_cv_prog_cc_g=no |
---|
| 2499 | CFLAGS="-g" |
---|
| 2500 | cat >conftest.$ac_ext <<_ACEOF |
---|
[22] | 2501 | /* confdefs.h. */ |
---|
| 2502 | _ACEOF |
---|
| 2503 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2504 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2505 | /* end confdefs.h. */ |
---|
| 2506 | |
---|
| 2507 | int |
---|
| 2508 | main () |
---|
| 2509 | { |
---|
| 2510 | |
---|
| 2511 | ; |
---|
| 2512 | return 0; |
---|
| 2513 | } |
---|
| 2514 | _ACEOF |
---|
| 2515 | rm -f conftest.$ac_objext |
---|
[261] | 2516 | if { (ac_try="$ac_compile" |
---|
| 2517 | case "(($ac_try" in |
---|
| 2518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2519 | *) ac_try_echo=$ac_try;; |
---|
| 2520 | esac |
---|
| 2521 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2522 | (eval "$ac_compile") 2>conftest.er1 |
---|
[22] | 2523 | ac_status=$? |
---|
| 2524 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2525 | rm -f conftest.er1 |
---|
| 2526 | cat conftest.err >&5 |
---|
| 2527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2528 | (exit $ac_status); } && { |
---|
| 2529 | test -z "$ac_c_werror_flag" || |
---|
| 2530 | test ! -s conftest.err |
---|
| 2531 | } && test -s conftest.$ac_objext; then |
---|
| 2532 | ac_cv_prog_cc_g=yes |
---|
| 2533 | else |
---|
| 2534 | echo "$as_me: failed program was:" >&5 |
---|
| 2535 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2536 | |
---|
| 2537 | CFLAGS="" |
---|
| 2538 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2539 | /* confdefs.h. */ |
---|
| 2540 | _ACEOF |
---|
| 2541 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2542 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2543 | /* end confdefs.h. */ |
---|
| 2544 | |
---|
| 2545 | int |
---|
| 2546 | main () |
---|
| 2547 | { |
---|
| 2548 | |
---|
| 2549 | ; |
---|
| 2550 | return 0; |
---|
| 2551 | } |
---|
| 2552 | _ACEOF |
---|
| 2553 | rm -f conftest.$ac_objext |
---|
| 2554 | if { (ac_try="$ac_compile" |
---|
| 2555 | case "(($ac_try" in |
---|
| 2556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2557 | *) ac_try_echo=$ac_try;; |
---|
| 2558 | esac |
---|
| 2559 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2560 | (eval "$ac_compile") 2>conftest.er1 |
---|
[22] | 2561 | ac_status=$? |
---|
[261] | 2562 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2563 | rm -f conftest.er1 |
---|
| 2564 | cat conftest.err >&5 |
---|
[22] | 2565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2566 | (exit $ac_status); } && { |
---|
| 2567 | test -z "$ac_c_werror_flag" || |
---|
| 2568 | test ! -s conftest.err |
---|
| 2569 | } && test -s conftest.$ac_objext; then |
---|
| 2570 | : |
---|
| 2571 | else |
---|
| 2572 | echo "$as_me: failed program was:" >&5 |
---|
| 2573 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2574 | |
---|
| 2575 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2576 | CFLAGS="-g" |
---|
| 2577 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2578 | /* confdefs.h. */ |
---|
| 2579 | _ACEOF |
---|
| 2580 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2581 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2582 | /* end confdefs.h. */ |
---|
| 2583 | |
---|
| 2584 | int |
---|
| 2585 | main () |
---|
| 2586 | { |
---|
| 2587 | |
---|
| 2588 | ; |
---|
| 2589 | return 0; |
---|
| 2590 | } |
---|
| 2591 | _ACEOF |
---|
| 2592 | rm -f conftest.$ac_objext |
---|
| 2593 | if { (ac_try="$ac_compile" |
---|
| 2594 | case "(($ac_try" in |
---|
| 2595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2596 | *) ac_try_echo=$ac_try;; |
---|
| 2597 | esac |
---|
| 2598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2599 | (eval "$ac_compile") 2>conftest.er1 |
---|
[22] | 2600 | ac_status=$? |
---|
[261] | 2601 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2602 | rm -f conftest.er1 |
---|
| 2603 | cat conftest.err >&5 |
---|
[22] | 2604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2605 | (exit $ac_status); } && { |
---|
| 2606 | test -z "$ac_c_werror_flag" || |
---|
| 2607 | test ! -s conftest.err |
---|
| 2608 | } && test -s conftest.$ac_objext; then |
---|
[22] | 2609 | ac_cv_prog_cc_g=yes |
---|
| 2610 | else |
---|
| 2611 | echo "$as_me: failed program was:" >&5 |
---|
| 2612 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2613 | |
---|
[261] | 2614 | |
---|
[22] | 2615 | fi |
---|
[261] | 2616 | |
---|
| 2617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
[22] | 2618 | fi |
---|
[261] | 2619 | |
---|
| 2620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2621 | fi |
---|
| 2622 | |
---|
| 2623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 2624 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 2625 | fi |
---|
| 2626 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
| 2627 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
---|
[22] | 2628 | if test "$ac_test_CFLAGS" = set; then |
---|
| 2629 | CFLAGS=$ac_save_CFLAGS |
---|
| 2630 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 2631 | if test "$GCC" = yes; then |
---|
| 2632 | CFLAGS="-g -O2" |
---|
| 2633 | else |
---|
| 2634 | CFLAGS="-g" |
---|
| 2635 | fi |
---|
| 2636 | else |
---|
| 2637 | if test "$GCC" = yes; then |
---|
| 2638 | CFLAGS="-O2" |
---|
| 2639 | else |
---|
| 2640 | CFLAGS= |
---|
| 2641 | fi |
---|
| 2642 | fi |
---|
[261] | 2643 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
| 2644 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
---|
| 2645 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
[22] | 2646 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2647 | else |
---|
[261] | 2648 | ac_cv_prog_cc_c89=no |
---|
[22] | 2649 | ac_save_CC=$CC |
---|
| 2650 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2651 | /* confdefs.h. */ |
---|
| 2652 | _ACEOF |
---|
| 2653 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2654 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2655 | /* end confdefs.h. */ |
---|
| 2656 | #include <stdarg.h> |
---|
| 2657 | #include <stdio.h> |
---|
| 2658 | #include <sys/types.h> |
---|
| 2659 | #include <sys/stat.h> |
---|
| 2660 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 2661 | struct buf { int x; }; |
---|
| 2662 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 2663 | static char *e (p, i) |
---|
| 2664 | char **p; |
---|
| 2665 | int i; |
---|
| 2666 | { |
---|
| 2667 | return p[i]; |
---|
| 2668 | } |
---|
| 2669 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 2670 | { |
---|
| 2671 | char *s; |
---|
| 2672 | va_list v; |
---|
| 2673 | va_start (v,p); |
---|
| 2674 | s = g (p, va_arg (v,int)); |
---|
| 2675 | va_end (v); |
---|
| 2676 | return s; |
---|
| 2677 | } |
---|
| 2678 | |
---|
| 2679 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 2680 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 2681 | These don't provoke an error unfortunately, instead are silently treated |
---|
[261] | 2682 | as 'x'. The following induces an error, until -std is added to get |
---|
[22] | 2683 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 2684 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
[261] | 2685 | that's true only with -std. */ |
---|
[22] | 2686 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 2687 | |
---|
[261] | 2688 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 2689 | inside strings and character constants. */ |
---|
| 2690 | #define FOO(x) 'x' |
---|
| 2691 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 2692 | |
---|
[22] | 2693 | int test (int i, double x); |
---|
| 2694 | struct s1 {int (*f) (int a);}; |
---|
| 2695 | struct s2 {int (*f) (double a);}; |
---|
| 2696 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 2697 | int argc; |
---|
| 2698 | char **argv; |
---|
| 2699 | int |
---|
| 2700 | main () |
---|
| 2701 | { |
---|
| 2702 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 2703 | ; |
---|
| 2704 | return 0; |
---|
| 2705 | } |
---|
| 2706 | _ACEOF |
---|
[261] | 2707 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 2708 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
[22] | 2709 | do |
---|
| 2710 | CC="$ac_save_CC $ac_arg" |
---|
| 2711 | rm -f conftest.$ac_objext |
---|
[261] | 2712 | if { (ac_try="$ac_compile" |
---|
| 2713 | case "(($ac_try" in |
---|
| 2714 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2715 | *) ac_try_echo=$ac_try;; |
---|
| 2716 | esac |
---|
| 2717 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2718 | (eval "$ac_compile") 2>conftest.er1 |
---|
[22] | 2719 | ac_status=$? |
---|
| 2720 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2721 | rm -f conftest.er1 |
---|
| 2722 | cat conftest.err >&5 |
---|
| 2723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2724 | (exit $ac_status); } && { |
---|
| 2725 | test -z "$ac_c_werror_flag" || |
---|
| 2726 | test ! -s conftest.err |
---|
| 2727 | } && test -s conftest.$ac_objext; then |
---|
| 2728 | ac_cv_prog_cc_c89=$ac_arg |
---|
[22] | 2729 | else |
---|
| 2730 | echo "$as_me: failed program was:" >&5 |
---|
| 2731 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2732 | |
---|
[261] | 2733 | |
---|
[22] | 2734 | fi |
---|
[261] | 2735 | |
---|
| 2736 | rm -f core conftest.err conftest.$ac_objext |
---|
| 2737 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
[22] | 2738 | done |
---|
[261] | 2739 | rm -f conftest.$ac_ext |
---|
[22] | 2740 | CC=$ac_save_CC |
---|
| 2741 | |
---|
| 2742 | fi |
---|
[261] | 2743 | # AC_CACHE_VAL |
---|
| 2744 | case "x$ac_cv_prog_cc_c89" in |
---|
| 2745 | x) |
---|
| 2746 | { echo "$as_me:$LINENO: result: none needed" >&5 |
---|
| 2747 | echo "${ECHO_T}none needed" >&6; } ;; |
---|
| 2748 | xno) |
---|
| 2749 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
| 2750 | echo "${ECHO_T}unsupported" >&6; } ;; |
---|
[22] | 2751 | *) |
---|
[261] | 2752 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 2753 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 2754 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
---|
[22] | 2755 | esac |
---|
| 2756 | |
---|
| 2757 | |
---|
| 2758 | ac_ext=c |
---|
| 2759 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2760 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2761 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2762 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2763 | |
---|
| 2764 | |
---|
| 2765 | ac_ext=c |
---|
| 2766 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2767 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2768 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2769 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[261] | 2770 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
| 2771 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
---|
[22] | 2772 | # On Suns, sometimes $CPP names a directory. |
---|
| 2773 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 2774 | CPP= |
---|
| 2775 | fi |
---|
| 2776 | if test -z "$CPP"; then |
---|
| 2777 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
| 2778 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 2779 | else |
---|
| 2780 | # Double quotes because CPP needs to be expanded |
---|
| 2781 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 2782 | do |
---|
| 2783 | ac_preproc_ok=false |
---|
| 2784 | for ac_c_preproc_warn_flag in '' yes |
---|
| 2785 | do |
---|
| 2786 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 2787 | # with a fresh cross-compiler works. |
---|
| 2788 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 2789 | # <limits.h> exists even on freestanding compilers. |
---|
| 2790 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 2791 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 2792 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2793 | /* confdefs.h. */ |
---|
| 2794 | _ACEOF |
---|
| 2795 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2796 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2797 | /* end confdefs.h. */ |
---|
| 2798 | #ifdef __STDC__ |
---|
| 2799 | # include <limits.h> |
---|
| 2800 | #else |
---|
| 2801 | # include <assert.h> |
---|
| 2802 | #endif |
---|
| 2803 | Syntax error |
---|
| 2804 | _ACEOF |
---|
[261] | 2805 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 2806 | case "(($ac_try" in |
---|
| 2807 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2808 | *) ac_try_echo=$ac_try;; |
---|
| 2809 | esac |
---|
| 2810 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2811 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[22] | 2812 | ac_status=$? |
---|
| 2813 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2814 | rm -f conftest.er1 |
---|
| 2815 | cat conftest.err >&5 |
---|
| 2816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2817 | (exit $ac_status); } >/dev/null && { |
---|
| 2818 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 2819 | test ! -s conftest.err |
---|
| 2820 | }; then |
---|
[22] | 2821 | : |
---|
| 2822 | else |
---|
| 2823 | echo "$as_me: failed program was:" >&5 |
---|
| 2824 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2825 | |
---|
| 2826 | # Broken: fails on valid input. |
---|
| 2827 | continue |
---|
| 2828 | fi |
---|
[261] | 2829 | |
---|
[22] | 2830 | rm -f conftest.err conftest.$ac_ext |
---|
| 2831 | |
---|
[261] | 2832 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[22] | 2833 | # can be detected and how. |
---|
| 2834 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2835 | /* confdefs.h. */ |
---|
| 2836 | _ACEOF |
---|
| 2837 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2838 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2839 | /* end confdefs.h. */ |
---|
| 2840 | #include <ac_nonexistent.h> |
---|
| 2841 | _ACEOF |
---|
[261] | 2842 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 2843 | case "(($ac_try" in |
---|
| 2844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2845 | *) ac_try_echo=$ac_try;; |
---|
| 2846 | esac |
---|
| 2847 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2848 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[22] | 2849 | ac_status=$? |
---|
| 2850 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2851 | rm -f conftest.er1 |
---|
| 2852 | cat conftest.err >&5 |
---|
| 2853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2854 | (exit $ac_status); } >/dev/null && { |
---|
| 2855 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 2856 | test ! -s conftest.err |
---|
| 2857 | }; then |
---|
[22] | 2858 | # Broken: success on invalid input. |
---|
| 2859 | continue |
---|
| 2860 | else |
---|
| 2861 | echo "$as_me: failed program was:" >&5 |
---|
| 2862 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2863 | |
---|
| 2864 | # Passes both tests. |
---|
| 2865 | ac_preproc_ok=: |
---|
| 2866 | break |
---|
| 2867 | fi |
---|
[261] | 2868 | |
---|
[22] | 2869 | rm -f conftest.err conftest.$ac_ext |
---|
| 2870 | |
---|
| 2871 | done |
---|
| 2872 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 2873 | rm -f conftest.err conftest.$ac_ext |
---|
| 2874 | if $ac_preproc_ok; then |
---|
| 2875 | break |
---|
| 2876 | fi |
---|
| 2877 | |
---|
| 2878 | done |
---|
| 2879 | ac_cv_prog_CPP=$CPP |
---|
| 2880 | |
---|
| 2881 | fi |
---|
| 2882 | CPP=$ac_cv_prog_CPP |
---|
| 2883 | else |
---|
| 2884 | ac_cv_prog_CPP=$CPP |
---|
| 2885 | fi |
---|
[261] | 2886 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
| 2887 | echo "${ECHO_T}$CPP" >&6; } |
---|
[22] | 2888 | ac_preproc_ok=false |
---|
| 2889 | for ac_c_preproc_warn_flag in '' yes |
---|
| 2890 | do |
---|
| 2891 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 2892 | # with a fresh cross-compiler works. |
---|
| 2893 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 2894 | # <limits.h> exists even on freestanding compilers. |
---|
| 2895 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 2896 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 2897 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2898 | /* confdefs.h. */ |
---|
| 2899 | _ACEOF |
---|
| 2900 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2901 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2902 | /* end confdefs.h. */ |
---|
| 2903 | #ifdef __STDC__ |
---|
| 2904 | # include <limits.h> |
---|
| 2905 | #else |
---|
| 2906 | # include <assert.h> |
---|
| 2907 | #endif |
---|
| 2908 | Syntax error |
---|
| 2909 | _ACEOF |
---|
[261] | 2910 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 2911 | case "(($ac_try" in |
---|
| 2912 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2913 | *) ac_try_echo=$ac_try;; |
---|
| 2914 | esac |
---|
| 2915 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2916 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[22] | 2917 | ac_status=$? |
---|
| 2918 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2919 | rm -f conftest.er1 |
---|
| 2920 | cat conftest.err >&5 |
---|
| 2921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2922 | (exit $ac_status); } >/dev/null && { |
---|
| 2923 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 2924 | test ! -s conftest.err |
---|
| 2925 | }; then |
---|
[22] | 2926 | : |
---|
| 2927 | else |
---|
| 2928 | echo "$as_me: failed program was:" >&5 |
---|
| 2929 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2930 | |
---|
| 2931 | # Broken: fails on valid input. |
---|
| 2932 | continue |
---|
| 2933 | fi |
---|
[261] | 2934 | |
---|
[22] | 2935 | rm -f conftest.err conftest.$ac_ext |
---|
| 2936 | |
---|
[261] | 2937 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
[22] | 2938 | # can be detected and how. |
---|
| 2939 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 2940 | /* confdefs.h. */ |
---|
| 2941 | _ACEOF |
---|
| 2942 | cat confdefs.h >>conftest.$ac_ext |
---|
| 2943 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 2944 | /* end confdefs.h. */ |
---|
| 2945 | #include <ac_nonexistent.h> |
---|
| 2946 | _ACEOF |
---|
[261] | 2947 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 2948 | case "(($ac_try" in |
---|
| 2949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 2950 | *) ac_try_echo=$ac_try;; |
---|
| 2951 | esac |
---|
| 2952 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
| 2953 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
[22] | 2954 | ac_status=$? |
---|
| 2955 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
| 2956 | rm -f conftest.er1 |
---|
| 2957 | cat conftest.err >&5 |
---|
| 2958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
[261] | 2959 | (exit $ac_status); } >/dev/null && { |
---|
| 2960 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 2961 | test ! -s conftest.err |
---|
| 2962 | }; then |
---|
[22] | 2963 | # Broken: success on invalid input. |
---|
| 2964 | continue |
---|
| 2965 | else |
---|
| 2966 | echo "$as_me: failed program was:" >&5 |
---|
| 2967 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 2968 | |
---|
| 2969 | # Passes both tests. |
---|
| 2970 | ac_preproc_ok=: |
---|
| 2971 | break |
---|
| 2972 | fi |
---|
[261] | 2973 | |
---|
[22] | 2974 | rm -f conftest.err conftest.$ac_ext |
---|
| 2975 | |
---|
| 2976 | done |
---|
| 2977 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 2978 | rm -f conftest.err conftest.$ac_ext |
---|
| 2979 | if $ac_preproc_ok; then |
---|
| 2980 | : |
---|
| 2981 | else |
---|
| 2982 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 2983 | See \`config.log' for more details." >&5 |
---|
| 2984 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
| 2985 | See \`config.log' for more details." >&2;} |
---|
| 2986 | { (exit 1); exit 1; }; } |
---|
| 2987 | fi |
---|
| 2988 | |
---|
| 2989 | ac_ext=c |
---|
| 2990 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2991 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2992 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2993 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2994 | |
---|
| 2995 | |
---|
[261] | 2996 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
| 2997 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
---|
| 2998 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
[22] | 2999 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3000 | else |
---|
[261] | 3001 | # Extract the first word of "grep ggrep" to use in msg output |
---|
| 3002 | if test -z "$GREP"; then |
---|
| 3003 | set dummy grep ggrep; ac_prog_name=$2 |
---|
| 3004 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
| 3005 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3006 | else |
---|
| 3007 | ac_path_GREP_found=false |
---|
| 3008 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3009 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3010 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3011 | do |
---|
| 3012 | IFS=$as_save_IFS |
---|
| 3013 | test -z "$as_dir" && as_dir=. |
---|
| 3014 | for ac_prog in grep ggrep; do |
---|
| 3015 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3016 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 3017 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
| 3018 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 3019 | # Check for GNU $ac_path_GREP |
---|
| 3020 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 3021 | *GNU*) |
---|
| 3022 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 3023 | *) |
---|
| 3024 | ac_count=0 |
---|
| 3025 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 3026 | while : |
---|
| 3027 | do |
---|
| 3028 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3029 | mv "conftest.tmp" "conftest.in" |
---|
| 3030 | cp "conftest.in" "conftest.nl" |
---|
| 3031 | echo 'GREP' >> "conftest.nl" |
---|
| 3032 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3033 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 3034 | ac_count=`expr $ac_count + 1` |
---|
| 3035 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 3036 | # Best one so far, save it but keep looking for a better one |
---|
| 3037 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 3038 | ac_path_GREP_max=$ac_count |
---|
[22] | 3039 | fi |
---|
[261] | 3040 | # 10*(2^10) chars as input seems more than enough |
---|
| 3041 | test $ac_count -gt 10 && break |
---|
| 3042 | done |
---|
| 3043 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3044 | esac |
---|
| 3045 | |
---|
| 3046 | |
---|
| 3047 | $ac_path_GREP_found && break 3 |
---|
| 3048 | done |
---|
| 3049 | done |
---|
| 3050 | |
---|
| 3051 | done |
---|
| 3052 | IFS=$as_save_IFS |
---|
| 3053 | |
---|
| 3054 | |
---|
[22] | 3055 | fi |
---|
| 3056 | |
---|
[261] | 3057 | GREP="$ac_cv_path_GREP" |
---|
| 3058 | if test -z "$GREP"; then |
---|
| 3059 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 3060 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 3061 | { (exit 1); exit 1; }; } |
---|
| 3062 | fi |
---|
[22] | 3063 | |
---|
[261] | 3064 | else |
---|
| 3065 | ac_cv_path_GREP=$GREP |
---|
| 3066 | fi |
---|
| 3067 | |
---|
| 3068 | |
---|
| 3069 | fi |
---|
| 3070 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
| 3071 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
---|
| 3072 | GREP="$ac_cv_path_GREP" |
---|
| 3073 | |
---|
| 3074 | |
---|
| 3075 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
| 3076 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
---|
| 3077 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 3078 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3079 | else |
---|
| 3080 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 3081 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 3082 | else |
---|
| 3083 | # Extract the first word of "egrep" to use in msg output |
---|
| 3084 | if test -z "$EGREP"; then |
---|
| 3085 | set dummy egrep; ac_prog_name=$2 |
---|
| 3086 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
| 3087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3088 | else |
---|
| 3089 | ac_path_EGREP_found=false |
---|
| 3090 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 3091 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3092 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 3093 | do |
---|
| 3094 | IFS=$as_save_IFS |
---|
| 3095 | test -z "$as_dir" && as_dir=. |
---|
| 3096 | for ac_prog in egrep; do |
---|
| 3097 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3098 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 3099 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
| 3100 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 3101 | # Check for GNU $ac_path_EGREP |
---|
| 3102 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 3103 | *GNU*) |
---|
| 3104 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 3105 | *) |
---|
| 3106 | ac_count=0 |
---|
| 3107 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
| 3108 | while : |
---|
| 3109 | do |
---|
| 3110 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 3111 | mv "conftest.tmp" "conftest.in" |
---|
| 3112 | cp "conftest.in" "conftest.nl" |
---|
| 3113 | echo 'EGREP' >> "conftest.nl" |
---|
| 3114 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 3115 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 3116 | ac_count=`expr $ac_count + 1` |
---|
| 3117 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 3118 | # Best one so far, save it but keep looking for a better one |
---|
| 3119 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 3120 | ac_path_EGREP_max=$ac_count |
---|
| 3121 | fi |
---|
| 3122 | # 10*(2^10) chars as input seems more than enough |
---|
| 3123 | test $ac_count -gt 10 && break |
---|
| 3124 | done |
---|
| 3125 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 3126 | esac |
---|
| 3127 | |
---|
| 3128 | |
---|
| 3129 | $ac_path_EGREP_found && break 3 |
---|
| 3130 | done |
---|
| 3131 | done |
---|
| 3132 | |
---|
| 3133 | done |
---|
| 3134 | IFS=$as_save_IFS |
---|
| 3135 | |
---|
| 3136 | |
---|
| 3137 | fi |
---|
| 3138 | |
---|
| 3139 | EGREP="$ac_cv_path_EGREP" |
---|
| 3140 | if test -z "$EGREP"; then |
---|
| 3141 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
| 3142 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
| 3143 | { (exit 1); exit 1; }; } |
---|
| 3144 | fi |
---|
| 3145 | |
---|
| 3146 | else |
---|
| 3147 | ac_cv_path_EGREP=$EGREP |
---|
| 3148 | fi |
---|
| 3149 | |
---|
| 3150 | |
---|
| 3151 | fi |
---|
| 3152 | fi |
---|
| 3153 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
| 3154 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
---|
| 3155 | EGREP="$ac_cv_path_EGREP" |
---|
| 3156 | |
---|
| 3157 | |
---|
[22] | 3158 | if test $ac_cv_c_compiler_gnu = yes; then |
---|
[261] | 3159 | { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
---|
| 3160 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } |
---|
[22] | 3161 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
---|
| 3162 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
| 3163 | else |
---|
| 3164 | ac_pattern="Autoconf.*'x'" |
---|
| 3165 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3166 | /* confdefs.h. */ |
---|
| 3167 | _ACEOF |
---|
| 3168 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3169 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3170 | /* end confdefs.h. */ |
---|
| 3171 | #include <sgtty.h> |
---|
| 3172 | Autoconf TIOCGETP |
---|
| 3173 | _ACEOF |
---|
| 3174 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3175 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
---|
| 3176 | ac_cv_prog_gcc_traditional=yes |
---|
| 3177 | else |
---|
| 3178 | ac_cv_prog_gcc_traditional=no |
---|
| 3179 | fi |
---|
| 3180 | rm -f conftest* |
---|
| 3181 | |
---|
| 3182 | |
---|
| 3183 | if test $ac_cv_prog_gcc_traditional = no; then |
---|
| 3184 | cat >conftest.$ac_ext <<_ACEOF |
---|
| 3185 | /* confdefs.h. */ |
---|
| 3186 | _ACEOF |
---|
| 3187 | cat confdefs.h >>conftest.$ac_ext |
---|
| 3188 | cat >>conftest.$ac_ext <<_ACEOF |
---|
| 3189 | /* end confdefs.h. */ |
---|
| 3190 | #include <termio.h> |
---|
| 3191 | Autoconf TCGETA |
---|
| 3192 | _ACEOF |
---|
| 3193 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 3194 | $EGREP "$ac_pattern" >/dev/null 2>&1; then |
---|
| 3195 | ac_cv_prog_gcc_traditional=yes |
---|
| 3196 | fi |
---|
| 3197 | rm -f conftest* |
---|
| 3198 | |
---|
| 3199 | fi |
---|
| 3200 | fi |
---|
[261] | 3201 | { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
---|
| 3202 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } |
---|
[22] | 3203 | if test $ac_cv_prog_gcc_traditional = yes; then |
---|
| 3204 | CC="$CC -traditional" |
---|
| 3205 | fi |
---|
| 3206 | fi |
---|
| 3207 | |
---|
| 3208 | |
---|
[109] | 3209 | if test "x$DEBUG" = "x";then |
---|
| 3210 | DEBUG=0 |
---|
| 3211 | fi |
---|
| 3212 | |
---|
| 3213 | |
---|
[24] | 3214 | # Now a user can specify the TRAC user |
---|
| 3215 | # |
---|
[22] | 3216 | |
---|
[261] | 3217 | # Check whether --with-trac_user was given. |
---|
[22] | 3218 | if test "${with_trac_user+set}" = set; then |
---|
[261] | 3219 | withval=$with_trac_user; case "${withval}" in |
---|
[22] | 3220 | *) trac_user="${withval}" ;; |
---|
| 3221 | esac |
---|
| 3222 | else |
---|
| 3223 | trac_user="www-data" |
---|
| 3224 | |
---|
[261] | 3225 | fi |
---|
| 3226 | |
---|
[24] | 3227 | # Now a user can specify MTA TRAC user |
---|
| 3228 | # |
---|
[22] | 3229 | |
---|
[261] | 3230 | # Check whether --with-mta_user was given. |
---|
[22] | 3231 | if test "${with_mta_user+set}" = set; then |
---|
[261] | 3232 | withval=$with_mta_user; case "${withval}" in |
---|
[22] | 3233 | *) mta_user="${withval}" ;; |
---|
| 3234 | esac |
---|
| 3235 | else |
---|
| 3236 | mta_user="nobody" |
---|
| 3237 | |
---|
[261] | 3238 | fi |
---|
| 3239 | |
---|
[24] | 3240 | if test "$sysconfdir" = '${prefix}/etc'; then |
---|
| 3241 | if test "x$prefix" = xNONE; then |
---|
| 3242 | email2trac_conf="$ac_default_prefix/etc/email2trac.conf" |
---|
| 3243 | else |
---|
| 3244 | email2trac_conf="$prefix/etc/email2trac.conf" |
---|
| 3245 | fi |
---|
| 3246 | else |
---|
| 3247 | email2trac_conf="$sysconfdir/email2trac.conf" |
---|
| 3248 | fi |
---|
| 3249 | |
---|
| 3250 | cat >>confdefs.h <<_ACEOF |
---|
| 3251 | #define SYSTEM_EMAIL2TRAC_CONF "$email2trac_conf" |
---|
| 3252 | _ACEOF |
---|
| 3253 | |
---|
| 3254 | |
---|
| 3255 | |
---|
| 3256 | |
---|
| 3257 | |
---|
[109] | 3258 | |
---|
[261] | 3259 | ac_config_files="$ac_config_files Makefile email2trac.py delete_spam.py" |
---|
| 3260 | |
---|
[21] | 3261 | cat >confcache <<\_ACEOF |
---|
| 3262 | # This file is a shell script that caches the results of configure |
---|
| 3263 | # tests run on this system so they can be shared between configure |
---|
| 3264 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 3265 | # It is not useful on other systems. If it contains results you don't |
---|
| 3266 | # want to keep, you may remove or edit it. |
---|
| 3267 | # |
---|
| 3268 | # config.status only pays attention to the cache file if you give it |
---|
| 3269 | # the --recheck option to rerun configure. |
---|
| 3270 | # |
---|
| 3271 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 3272 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 3273 | # following values. |
---|
| 3274 | |
---|
| 3275 | _ACEOF |
---|
| 3276 | |
---|
| 3277 | # The following way of writing the cache mishandles newlines in values, |
---|
| 3278 | # but we know of no workaround that is simple, portable, and efficient. |
---|
[261] | 3279 | # So, we kill variables containing newlines. |
---|
[21] | 3280 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 3281 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
[261] | 3282 | ( |
---|
| 3283 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 3284 | eval ac_val=\$$ac_var |
---|
| 3285 | case $ac_val in #( |
---|
| 3286 | *${as_nl}*) |
---|
| 3287 | case $ac_var in #( |
---|
| 3288 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
| 3289 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
| 3290 | esac |
---|
| 3291 | case $ac_var in #( |
---|
| 3292 | _ | IFS | as_nl) ;; #( |
---|
| 3293 | *) $as_unset $ac_var ;; |
---|
| 3294 | esac ;; |
---|
| 3295 | esac |
---|
| 3296 | done |
---|
| 3297 | |
---|
[21] | 3298 | (set) 2>&1 | |
---|
[261] | 3299 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 3300 | *${as_nl}ac_space=\ *) |
---|
[21] | 3301 | # `set' does not quote correctly, so add quotes (double-quote |
---|
| 3302 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
| 3303 | sed -n \ |
---|
| 3304 | "s/'/'\\\\''/g; |
---|
| 3305 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
[261] | 3306 | ;; #( |
---|
[21] | 3307 | *) |
---|
| 3308 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
[261] | 3309 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
[21] | 3310 | ;; |
---|
[261] | 3311 | esac | |
---|
| 3312 | sort |
---|
| 3313 | ) | |
---|
[21] | 3314 | sed ' |
---|
[261] | 3315 | /^ac_cv_env_/b end |
---|
[21] | 3316 | t clear |
---|
[261] | 3317 | :clear |
---|
[21] | 3318 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 3319 | t end |
---|
[261] | 3320 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 3321 | :end' >>confcache |
---|
| 3322 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 3323 | if test -w "$cache_file"; then |
---|
| 3324 | test "x$cache_file" != "x/dev/null" && |
---|
| 3325 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
| 3326 | echo "$as_me: updating cache $cache_file" >&6;} |
---|
[21] | 3327 | cat confcache >$cache_file |
---|
| 3328 | else |
---|
[261] | 3329 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
| 3330 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
[21] | 3331 | fi |
---|
| 3332 | fi |
---|
| 3333 | rm -f confcache |
---|
| 3334 | |
---|
| 3335 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 3336 | # Let make expand exec_prefix. |
---|
| 3337 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 3338 | |
---|
| 3339 | # Transform confdefs.h into DEFS. |
---|
| 3340 | # Protect against shell expansion while executing Makefile rules. |
---|
| 3341 | # Protect against Makefile macro expansion. |
---|
| 3342 | # |
---|
| 3343 | # If the first sed substitution is executed (which looks for macros that |
---|
[261] | 3344 | # take arguments), then branch to the quote section. Otherwise, |
---|
[21] | 3345 | # look for a macro that doesn't take arguments. |
---|
[261] | 3346 | ac_script=' |
---|
[21] | 3347 | t clear |
---|
[261] | 3348 | :clear |
---|
| 3349 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
[21] | 3350 | t quote |
---|
[261] | 3351 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
[21] | 3352 | t quote |
---|
[261] | 3353 | b any |
---|
| 3354 | :quote |
---|
| 3355 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 3356 | s/\[/\\&/g |
---|
| 3357 | s/\]/\\&/g |
---|
| 3358 | s/\$/$$/g |
---|
| 3359 | H |
---|
| 3360 | :any |
---|
| 3361 | ${ |
---|
| 3362 | g |
---|
| 3363 | s/^\n// |
---|
| 3364 | s/\n/ /g |
---|
| 3365 | p |
---|
| 3366 | } |
---|
| 3367 | ' |
---|
| 3368 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
[21] | 3369 | |
---|
| 3370 | |
---|
| 3371 | ac_libobjs= |
---|
| 3372 | ac_ltlibobjs= |
---|
| 3373 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 3374 | # 1. Remove the extension, and $U if already installed. |
---|
[261] | 3375 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 3376 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
---|
| 3377 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 3378 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 3379 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 3380 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
[21] | 3381 | done |
---|
| 3382 | LIBOBJS=$ac_libobjs |
---|
| 3383 | |
---|
| 3384 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 3385 | |
---|
| 3386 | |
---|
| 3387 | |
---|
| 3388 | : ${CONFIG_STATUS=./config.status} |
---|
| 3389 | ac_clean_files_save=$ac_clean_files |
---|
| 3390 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 3391 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
| 3392 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 3393 | cat >$CONFIG_STATUS <<_ACEOF |
---|
| 3394 | #! $SHELL |
---|
| 3395 | # Generated by $as_me. |
---|
| 3396 | # Run this file to recreate the current configuration. |
---|
| 3397 | # Compiler output produced by configure, useful for debugging |
---|
| 3398 | # configure, is in config.log if it exists. |
---|
| 3399 | |
---|
| 3400 | debug=false |
---|
| 3401 | ac_cs_recheck=false |
---|
| 3402 | ac_cs_silent=false |
---|
| 3403 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 3404 | _ACEOF |
---|
| 3405 | |
---|
| 3406 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3407 | ## --------------------- ## |
---|
| 3408 | ## M4sh Initialization. ## |
---|
| 3409 | ## --------------------- ## |
---|
| 3410 | |
---|
[261] | 3411 | # Be more Bourne compatible |
---|
| 3412 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
[21] | 3413 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
| 3414 | emulate sh |
---|
| 3415 | NULLCMD=: |
---|
| 3416 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
| 3417 | # is contrary to our usage. Disable this feature. |
---|
| 3418 | alias -g '${1+"$@"}'='"$@"' |
---|
[261] | 3419 | setopt NO_GLOB_SUBST |
---|
| 3420 | else |
---|
| 3421 | case `(set -o) 2>/dev/null` in |
---|
| 3422 | *posix*) set -o posix ;; |
---|
| 3423 | esac |
---|
| 3424 | |
---|
[21] | 3425 | fi |
---|
| 3426 | |
---|
[261] | 3427 | |
---|
| 3428 | |
---|
| 3429 | |
---|
| 3430 | # PATH needs CR |
---|
| 3431 | # Avoid depending upon Character Ranges. |
---|
| 3432 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 3433 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 3434 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 3435 | as_cr_digits='0123456789' |
---|
| 3436 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 3437 | |
---|
| 3438 | # The user is always right. |
---|
| 3439 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 3440 | echo "#! /bin/sh" >conf$$.sh |
---|
| 3441 | echo "exit 0" >>conf$$.sh |
---|
| 3442 | chmod +x conf$$.sh |
---|
| 3443 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 3444 | PATH_SEPARATOR=';' |
---|
| 3445 | else |
---|
| 3446 | PATH_SEPARATOR=: |
---|
| 3447 | fi |
---|
| 3448 | rm -f conf$$.sh |
---|
| 3449 | fi |
---|
| 3450 | |
---|
[21] | 3451 | # Support unset when possible. |
---|
| 3452 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
| 3453 | as_unset=unset |
---|
| 3454 | else |
---|
| 3455 | as_unset=false |
---|
| 3456 | fi |
---|
| 3457 | |
---|
| 3458 | |
---|
[261] | 3459 | # IFS |
---|
| 3460 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 3461 | # there to prevent editors from complaining about space-tab. |
---|
| 3462 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 3463 | # splitting by setting IFS to empty value.) |
---|
| 3464 | as_nl=' |
---|
| 3465 | ' |
---|
| 3466 | IFS=" "" $as_nl" |
---|
| 3467 | |
---|
| 3468 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 3469 | case $0 in |
---|
| 3470 | *[\\/]* ) as_myself=$0 ;; |
---|
| 3471 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3472 | for as_dir in $PATH |
---|
| 3473 | do |
---|
| 3474 | IFS=$as_save_IFS |
---|
| 3475 | test -z "$as_dir" && as_dir=. |
---|
| 3476 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 3477 | done |
---|
| 3478 | IFS=$as_save_IFS |
---|
| 3479 | |
---|
| 3480 | ;; |
---|
| 3481 | esac |
---|
| 3482 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 3483 | # in which case we are not to be found in the path. |
---|
| 3484 | if test "x$as_myself" = x; then |
---|
| 3485 | as_myself=$0 |
---|
| 3486 | fi |
---|
| 3487 | if test ! -f "$as_myself"; then |
---|
| 3488 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 3489 | { (exit 1); exit 1; } |
---|
| 3490 | fi |
---|
| 3491 | |
---|
[21] | 3492 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
[261] | 3493 | for as_var in ENV MAIL MAILPATH |
---|
| 3494 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
| 3495 | done |
---|
[21] | 3496 | PS1='$ ' |
---|
| 3497 | PS2='> ' |
---|
| 3498 | PS4='+ ' |
---|
| 3499 | |
---|
| 3500 | # NLS nuisances. |
---|
| 3501 | for as_var in \ |
---|
| 3502 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
| 3503 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
| 3504 | LC_TELEPHONE LC_TIME |
---|
| 3505 | do |
---|
| 3506 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
| 3507 | eval $as_var=C; export $as_var |
---|
| 3508 | else |
---|
[261] | 3509 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
[21] | 3510 | fi |
---|
| 3511 | done |
---|
| 3512 | |
---|
| 3513 | # Required to use basename. |
---|
[261] | 3514 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 3515 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[21] | 3516 | as_expr=expr |
---|
| 3517 | else |
---|
| 3518 | as_expr=false |
---|
| 3519 | fi |
---|
| 3520 | |
---|
[261] | 3521 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
[21] | 3522 | as_basename=basename |
---|
| 3523 | else |
---|
| 3524 | as_basename=false |
---|
| 3525 | fi |
---|
| 3526 | |
---|
| 3527 | |
---|
| 3528 | # Name of the executable. |
---|
[261] | 3529 | as_me=`$as_basename -- "$0" || |
---|
[21] | 3530 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 3531 | X"$0" : 'X\(//\)$' \| \ |
---|
[261] | 3532 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
[21] | 3533 | echo X/"$0" | |
---|
[261] | 3534 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 3535 | s//\1/ |
---|
| 3536 | q |
---|
| 3537 | } |
---|
| 3538 | /^X\/\(\/\/\)$/{ |
---|
| 3539 | s//\1/ |
---|
| 3540 | q |
---|
| 3541 | } |
---|
| 3542 | /^X\/\(\/\).*/{ |
---|
| 3543 | s//\1/ |
---|
| 3544 | q |
---|
| 3545 | } |
---|
| 3546 | s/.*/./; q'` |
---|
[21] | 3547 | |
---|
[261] | 3548 | # CDPATH. |
---|
| 3549 | $as_unset CDPATH |
---|
[21] | 3550 | |
---|
| 3551 | |
---|
| 3552 | |
---|
| 3553 | as_lineno_1=$LINENO |
---|
| 3554 | as_lineno_2=$LINENO |
---|
| 3555 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
[261] | 3556 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
[21] | 3557 | |
---|
| 3558 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
| 3559 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
[261] | 3560 | # line-number line after each line using $LINENO; the second 'sed' |
---|
| 3561 | # does the real work. The second script uses 'N' to pair each |
---|
| 3562 | # line-number line with the line containing $LINENO, and appends |
---|
| 3563 | # trailing '-' during substitution so that $LINENO is not a special |
---|
| 3564 | # case at line end. |
---|
[21] | 3565 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
[261] | 3566 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
| 3567 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 3568 | sed -n ' |
---|
| 3569 | p |
---|
| 3570 | /[$]LINENO/= |
---|
| 3571 | ' <$as_myself | |
---|
[21] | 3572 | sed ' |
---|
[261] | 3573 | s/[$]LINENO.*/&-/ |
---|
| 3574 | t lineno |
---|
| 3575 | b |
---|
| 3576 | :lineno |
---|
[21] | 3577 | N |
---|
[261] | 3578 | :loop |
---|
| 3579 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
[21] | 3580 | t loop |
---|
[261] | 3581 | s/-\n.*// |
---|
[21] | 3582 | ' >$as_me.lineno && |
---|
[261] | 3583 | chmod +x "$as_me.lineno" || |
---|
| 3584 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
[21] | 3585 | { (exit 1); exit 1; }; } |
---|
| 3586 | |
---|
| 3587 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 3588 | # (the dirname of $[0] is not the place where we might find the |
---|
[261] | 3589 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 3590 | . "./$as_me.lineno" |
---|
[21] | 3591 | # Exit status is that of the last command. |
---|
| 3592 | exit |
---|
| 3593 | } |
---|
| 3594 | |
---|
| 3595 | |
---|
[261] | 3596 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 3597 | as_dirname=dirname |
---|
| 3598 | else |
---|
| 3599 | as_dirname=false |
---|
| 3600 | fi |
---|
| 3601 | |
---|
| 3602 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 3603 | case `echo -n x` in |
---|
| 3604 | -n*) |
---|
| 3605 | case `echo 'x\c'` in |
---|
| 3606 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 3607 | *) ECHO_C='\c';; |
---|
| 3608 | esac;; |
---|
| 3609 | *) |
---|
| 3610 | ECHO_N='-n';; |
---|
[21] | 3611 | esac |
---|
| 3612 | |
---|
[261] | 3613 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 3614 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
[21] | 3615 | as_expr=expr |
---|
| 3616 | else |
---|
| 3617 | as_expr=false |
---|
| 3618 | fi |
---|
| 3619 | |
---|
| 3620 | rm -f conf$$ conf$$.exe conf$$.file |
---|
[261] | 3621 | if test -d conf$$.dir; then |
---|
| 3622 | rm -f conf$$.dir/conf$$.file |
---|
| 3623 | else |
---|
| 3624 | rm -f conf$$.dir |
---|
| 3625 | mkdir conf$$.dir |
---|
| 3626 | fi |
---|
[21] | 3627 | echo >conf$$.file |
---|
| 3628 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
[261] | 3629 | as_ln_s='ln -s' |
---|
| 3630 | # ... but there are two gotchas: |
---|
| 3631 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 3632 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 3633 | # In both cases, we have to default to `cp -p'. |
---|
| 3634 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[21] | 3635 | as_ln_s='cp -p' |
---|
| 3636 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 3637 | as_ln_s=ln |
---|
| 3638 | else |
---|
| 3639 | as_ln_s='cp -p' |
---|
| 3640 | fi |
---|
[261] | 3641 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 3642 | rmdir conf$$.dir 2>/dev/null |
---|
[21] | 3643 | |
---|
| 3644 | if mkdir -p . 2>/dev/null; then |
---|
| 3645 | as_mkdir_p=: |
---|
| 3646 | else |
---|
| 3647 | test -d ./-p && rmdir ./-p |
---|
| 3648 | as_mkdir_p=false |
---|
| 3649 | fi |
---|
| 3650 | |
---|
[261] | 3651 | if test -x / >/dev/null 2>&1; then |
---|
| 3652 | as_test_x='test -x' |
---|
| 3653 | else |
---|
| 3654 | if ls -dL / >/dev/null 2>&1; then |
---|
| 3655 | as_ls_L_option=L |
---|
| 3656 | else |
---|
| 3657 | as_ls_L_option= |
---|
| 3658 | fi |
---|
| 3659 | as_test_x=' |
---|
| 3660 | eval sh -c '\'' |
---|
| 3661 | if test -d "$1"; then |
---|
| 3662 | test -d "$1/."; |
---|
| 3663 | else |
---|
| 3664 | case $1 in |
---|
| 3665 | -*)set "./$1";; |
---|
| 3666 | esac; |
---|
| 3667 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
| 3668 | ???[sx]*):;;*)false;;esac;fi |
---|
| 3669 | '\'' sh |
---|
| 3670 | ' |
---|
| 3671 | fi |
---|
| 3672 | as_executable_p=$as_test_x |
---|
[21] | 3673 | |
---|
| 3674 | # Sed expression to map a string onto a valid CPP name. |
---|
| 3675 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3676 | |
---|
| 3677 | # Sed expression to map a string onto a valid variable name. |
---|
| 3678 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 3679 | |
---|
| 3680 | |
---|
| 3681 | exec 6>&1 |
---|
| 3682 | |
---|
[261] | 3683 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
[21] | 3684 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
[261] | 3685 | # values after options handling. |
---|
| 3686 | ac_log=" |
---|
[21] | 3687 | This file was extended by $as_me, which was |
---|
[261] | 3688 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
[21] | 3689 | |
---|
| 3690 | CONFIG_FILES = $CONFIG_FILES |
---|
| 3691 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 3692 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 3693 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 3694 | $ $0 $@ |
---|
| 3695 | |
---|
[261] | 3696 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 3697 | " |
---|
| 3698 | |
---|
[21] | 3699 | _ACEOF |
---|
| 3700 | |
---|
[261] | 3701 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[21] | 3702 | # Files that config.status was made for. |
---|
[261] | 3703 | config_files="$ac_config_files" |
---|
[21] | 3704 | |
---|
[261] | 3705 | _ACEOF |
---|
[21] | 3706 | |
---|
| 3707 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3708 | ac_cs_usage="\ |
---|
| 3709 | \`$as_me' instantiates files from templates according to the |
---|
| 3710 | current configuration. |
---|
| 3711 | |
---|
| 3712 | Usage: $0 [OPTIONS] [FILE]... |
---|
| 3713 | |
---|
| 3714 | -h, --help print this help, then exit |
---|
[261] | 3715 | -V, --version print version number and configuration settings, then exit |
---|
[21] | 3716 | -q, --quiet do not print progress messages |
---|
| 3717 | -d, --debug don't remove temporary files |
---|
| 3718 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 3719 | --file=FILE[:TEMPLATE] |
---|
| 3720 | instantiate the configuration file FILE |
---|
| 3721 | |
---|
| 3722 | Configuration files: |
---|
| 3723 | $config_files |
---|
| 3724 | |
---|
| 3725 | Report bugs to <bug-autoconf@gnu.org>." |
---|
[261] | 3726 | |
---|
[21] | 3727 | _ACEOF |
---|
| 3728 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3729 | ac_cs_version="\\ |
---|
| 3730 | config.status |
---|
[261] | 3731 | configured by $0, generated by GNU Autoconf 2.61, |
---|
| 3732 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
[21] | 3733 | |
---|
[261] | 3734 | Copyright (C) 2006 Free Software Foundation, Inc. |
---|
[21] | 3735 | This config.status script is free software; the Free Software Foundation |
---|
| 3736 | gives unlimited permission to copy, distribute and modify it." |
---|
[261] | 3737 | |
---|
| 3738 | ac_pwd='$ac_pwd' |
---|
| 3739 | srcdir='$srcdir' |
---|
[21] | 3740 | _ACEOF |
---|
| 3741 | |
---|
| 3742 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3743 | # If no file are specified by the user, then we need to provide default |
---|
| 3744 | # value. By we need to know if files were specified by the user. |
---|
| 3745 | ac_need_defaults=: |
---|
| 3746 | while test $# != 0 |
---|
| 3747 | do |
---|
| 3748 | case $1 in |
---|
| 3749 | --*=*) |
---|
[261] | 3750 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 3751 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
[21] | 3752 | ac_shift=: |
---|
| 3753 | ;; |
---|
[261] | 3754 | *) |
---|
[21] | 3755 | ac_option=$1 |
---|
| 3756 | ac_optarg=$2 |
---|
| 3757 | ac_shift=shift |
---|
| 3758 | ;; |
---|
| 3759 | esac |
---|
| 3760 | |
---|
| 3761 | case $ac_option in |
---|
| 3762 | # Handling of the options. |
---|
| 3763 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3764 | ac_cs_recheck=: ;; |
---|
[261] | 3765 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 3766 | echo "$ac_cs_version"; exit ;; |
---|
| 3767 | --debug | --debu | --deb | --de | --d | -d ) |
---|
[21] | 3768 | debug=: ;; |
---|
| 3769 | --file | --fil | --fi | --f ) |
---|
| 3770 | $ac_shift |
---|
| 3771 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
| 3772 | ac_need_defaults=false;; |
---|
[261] | 3773 | --he | --h | --help | --hel | -h ) |
---|
| 3774 | echo "$ac_cs_usage"; exit ;; |
---|
[21] | 3775 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 3776 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 3777 | ac_cs_silent=: ;; |
---|
| 3778 | |
---|
| 3779 | # This is an error. |
---|
[261] | 3780 | -*) { echo "$as_me: error: unrecognized option: $1 |
---|
| 3781 | Try \`$0 --help' for more information." >&2 |
---|
[21] | 3782 | { (exit 1); exit 1; }; } ;; |
---|
| 3783 | |
---|
[261] | 3784 | *) ac_config_targets="$ac_config_targets $1" |
---|
| 3785 | ac_need_defaults=false ;; |
---|
[21] | 3786 | |
---|
| 3787 | esac |
---|
| 3788 | shift |
---|
| 3789 | done |
---|
| 3790 | |
---|
| 3791 | ac_configure_extra_args= |
---|
| 3792 | |
---|
| 3793 | if $ac_cs_silent; then |
---|
| 3794 | exec 6>/dev/null |
---|
| 3795 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 3796 | fi |
---|
| 3797 | |
---|
| 3798 | _ACEOF |
---|
| 3799 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3800 | if \$ac_cs_recheck; then |
---|
[261] | 3801 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
| 3802 | CONFIG_SHELL=$SHELL |
---|
| 3803 | export CONFIG_SHELL |
---|
| 3804 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[21] | 3805 | fi |
---|
| 3806 | |
---|
| 3807 | _ACEOF |
---|
[261] | 3808 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 3809 | exec 5>>config.log |
---|
| 3810 | { |
---|
| 3811 | echo |
---|
| 3812 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 3813 | ## Running $as_me. ## |
---|
| 3814 | _ASBOX |
---|
| 3815 | echo "$ac_log" |
---|
| 3816 | } >&5 |
---|
[21] | 3817 | |
---|
[261] | 3818 | _ACEOF |
---|
| 3819 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3820 | _ACEOF |
---|
[21] | 3821 | |
---|
[261] | 3822 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[21] | 3823 | |
---|
[261] | 3824 | # Handling of arguments. |
---|
[21] | 3825 | for ac_config_target in $ac_config_targets |
---|
| 3826 | do |
---|
[261] | 3827 | case $ac_config_target in |
---|
| 3828 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 3829 | "email2trac.py") CONFIG_FILES="$CONFIG_FILES email2trac.py" ;; |
---|
| 3830 | "delete_spam.py") CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;; |
---|
| 3831 | |
---|
[21] | 3832 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
| 3833 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
| 3834 | { (exit 1); exit 1; }; };; |
---|
| 3835 | esac |
---|
| 3836 | done |
---|
| 3837 | |
---|
[261] | 3838 | |
---|
[21] | 3839 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 3840 | # then the envvar interface is used. Set only those that are not. |
---|
| 3841 | # We use the long form for the default assignment because of an extremely |
---|
| 3842 | # bizarre bug on SunOS 4.1.3. |
---|
| 3843 | if $ac_need_defaults; then |
---|
| 3844 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 3845 | fi |
---|
| 3846 | |
---|
| 3847 | # Have a temporary directory for convenience. Make it in the build tree |
---|
[261] | 3848 | # simply because there is no reason against having it here, and in addition, |
---|
[21] | 3849 | # creating and moving files from /tmp can sometimes cause problems. |
---|
[261] | 3850 | # Hook for its removal unless debugging. |
---|
| 3851 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 3852 | # after its creation but before its name has been assigned to `$tmp'. |
---|
[21] | 3853 | $debug || |
---|
| 3854 | { |
---|
[261] | 3855 | tmp= |
---|
| 3856 | trap 'exit_status=$? |
---|
| 3857 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
| 3858 | ' 0 |
---|
[21] | 3859 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
| 3860 | } |
---|
| 3861 | # Create a (secure) tmp directory for tmp files. |
---|
| 3862 | |
---|
| 3863 | { |
---|
[261] | 3864 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[21] | 3865 | test -n "$tmp" && test -d "$tmp" |
---|
| 3866 | } || |
---|
| 3867 | { |
---|
[261] | 3868 | tmp=./conf$$-$RANDOM |
---|
| 3869 | (umask 077 && mkdir "$tmp") |
---|
[21] | 3870 | } || |
---|
| 3871 | { |
---|
| 3872 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
| 3873 | { (exit 1); exit 1; } |
---|
| 3874 | } |
---|
| 3875 | |
---|
| 3876 | # |
---|
[261] | 3877 | # Set up the sed scripts for CONFIG_FILES section. |
---|
[21] | 3878 | # |
---|
| 3879 | |
---|
| 3880 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
| 3881 | # This happens for instance when ./config.status config.h |
---|
[261] | 3882 | if test -n "$CONFIG_FILES"; then |
---|
[21] | 3883 | |
---|
| 3884 | _ACEOF |
---|
| 3885 | |
---|
[261] | 3886 | |
---|
| 3887 | |
---|
| 3888 | ac_delim='%!_!# ' |
---|
| 3889 | for ac_last_try in false false false false false :; do |
---|
| 3890 | cat >conf$$subs.sed <<_ACEOF |
---|
| 3891 | SHELL!$SHELL$ac_delim |
---|
| 3892 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
---|
| 3893 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
---|
| 3894 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
---|
| 3895 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
---|
| 3896 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
---|
| 3897 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
---|
| 3898 | exec_prefix!$exec_prefix$ac_delim |
---|
| 3899 | prefix!$prefix$ac_delim |
---|
| 3900 | program_transform_name!$program_transform_name$ac_delim |
---|
| 3901 | bindir!$bindir$ac_delim |
---|
| 3902 | sbindir!$sbindir$ac_delim |
---|
| 3903 | libexecdir!$libexecdir$ac_delim |
---|
| 3904 | datarootdir!$datarootdir$ac_delim |
---|
| 3905 | datadir!$datadir$ac_delim |
---|
| 3906 | sysconfdir!$sysconfdir$ac_delim |
---|
| 3907 | sharedstatedir!$sharedstatedir$ac_delim |
---|
| 3908 | localstatedir!$localstatedir$ac_delim |
---|
| 3909 | includedir!$includedir$ac_delim |
---|
| 3910 | oldincludedir!$oldincludedir$ac_delim |
---|
| 3911 | docdir!$docdir$ac_delim |
---|
| 3912 | infodir!$infodir$ac_delim |
---|
| 3913 | htmldir!$htmldir$ac_delim |
---|
| 3914 | dvidir!$dvidir$ac_delim |
---|
| 3915 | pdfdir!$pdfdir$ac_delim |
---|
| 3916 | psdir!$psdir$ac_delim |
---|
| 3917 | libdir!$libdir$ac_delim |
---|
| 3918 | localedir!$localedir$ac_delim |
---|
| 3919 | mandir!$mandir$ac_delim |
---|
| 3920 | DEFS!$DEFS$ac_delim |
---|
| 3921 | ECHO_C!$ECHO_C$ac_delim |
---|
| 3922 | ECHO_N!$ECHO_N$ac_delim |
---|
| 3923 | ECHO_T!$ECHO_T$ac_delim |
---|
| 3924 | LIBS!$LIBS$ac_delim |
---|
| 3925 | build_alias!$build_alias$ac_delim |
---|
| 3926 | host_alias!$host_alias$ac_delim |
---|
| 3927 | target_alias!$target_alias$ac_delim |
---|
| 3928 | pyexecdir!$pyexecdir$ac_delim |
---|
| 3929 | trac_user!$trac_user$ac_delim |
---|
| 3930 | mta_user!$mta_user$ac_delim |
---|
| 3931 | PYTHON!$PYTHON$ac_delim |
---|
| 3932 | PYTHON_VERSION!$PYTHON_VERSION$ac_delim |
---|
| 3933 | PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim |
---|
| 3934 | PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim |
---|
| 3935 | PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim |
---|
| 3936 | pythondir!$pythondir$ac_delim |
---|
| 3937 | pkgpythondir!$pkgpythondir$ac_delim |
---|
| 3938 | pkgpyexecdir!$pkgpyexecdir$ac_delim |
---|
| 3939 | CC!$CC$ac_delim |
---|
| 3940 | CFLAGS!$CFLAGS$ac_delim |
---|
| 3941 | LDFLAGS!$LDFLAGS$ac_delim |
---|
| 3942 | CPPFLAGS!$CPPFLAGS$ac_delim |
---|
| 3943 | ac_ct_CC!$ac_ct_CC$ac_delim |
---|
| 3944 | EXEEXT!$EXEEXT$ac_delim |
---|
| 3945 | OBJEXT!$OBJEXT$ac_delim |
---|
| 3946 | CPP!$CPP$ac_delim |
---|
| 3947 | GREP!$GREP$ac_delim |
---|
| 3948 | EGREP!$EGREP$ac_delim |
---|
| 3949 | DEBUG!$DEBUG$ac_delim |
---|
| 3950 | email2trac_conf!$email2trac_conf$ac_delim |
---|
| 3951 | SYSTEM_EMAIL2TRAC_CONF!$SYSTEM_EMAIL2TRAC_CONF$ac_delim |
---|
| 3952 | LIBOBJS!$LIBOBJS$ac_delim |
---|
| 3953 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
---|
| 3954 | _ACEOF |
---|
| 3955 | |
---|
| 3956 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then |
---|
| 3957 | break |
---|
| 3958 | elif $ac_last_try; then |
---|
| 3959 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
| 3960 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
| 3961 | { (exit 1); exit 1; }; } |
---|
| 3962 | else |
---|
| 3963 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
[21] | 3964 | fi |
---|
[261] | 3965 | done |
---|
[21] | 3966 | |
---|
[261] | 3967 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
---|
| 3968 | if test -n "$ac_eof"; then |
---|
| 3969 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
---|
| 3970 | ac_eof=`expr $ac_eof + 1` |
---|
| 3971 | fi |
---|
| 3972 | |
---|
| 3973 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3974 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
---|
| 3975 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
---|
[21] | 3976 | _ACEOF |
---|
[261] | 3977 | sed ' |
---|
| 3978 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
---|
| 3979 | s/^/s,@/; s/!/@,|#_!!_#|/ |
---|
| 3980 | :n |
---|
| 3981 | t n |
---|
| 3982 | s/'"$ac_delim"'$/,g/; t |
---|
| 3983 | s/$/\\/; p |
---|
| 3984 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
---|
| 3985 | ' >>$CONFIG_STATUS <conf$$subs.sed |
---|
| 3986 | rm -f conf$$subs.sed |
---|
| 3987 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
| 3988 | :end |
---|
| 3989 | s/|#_!!_#|//g |
---|
| 3990 | CEOF$ac_eof |
---|
| 3991 | _ACEOF |
---|
| 3992 | |
---|
| 3993 | |
---|
| 3994 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
| 3995 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
| 3996 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 3997 | # (actually we leave an empty line to preserve line numbers). |
---|
| 3998 | if test "x$srcdir" = x.; then |
---|
| 3999 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
| 4000 | s/:*\$(srcdir):*/:/ |
---|
| 4001 | s/:*\${srcdir}:*/:/ |
---|
| 4002 | s/:*@srcdir@:*/:/ |
---|
| 4003 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
| 4004 | s/:*$// |
---|
| 4005 | s/^[^=]*=[ ]*$// |
---|
| 4006 | }' |
---|
| 4007 | fi |
---|
| 4008 | |
---|
[21] | 4009 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
[261] | 4010 | fi # test -n "$CONFIG_FILES" |
---|
| 4011 | |
---|
| 4012 | |
---|
| 4013 | for ac_tag in :F $CONFIG_FILES |
---|
| 4014 | do |
---|
| 4015 | case $ac_tag in |
---|
| 4016 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
[21] | 4017 | esac |
---|
[261] | 4018 | case $ac_mode$ac_tag in |
---|
| 4019 | :[FHL]*:*);; |
---|
| 4020 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
---|
| 4021 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
---|
| 4022 | { (exit 1); exit 1; }; };; |
---|
| 4023 | :[FH]-) ac_tag=-:-;; |
---|
| 4024 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 4025 | esac |
---|
| 4026 | ac_save_IFS=$IFS |
---|
| 4027 | IFS=: |
---|
| 4028 | set x $ac_tag |
---|
| 4029 | IFS=$ac_save_IFS |
---|
| 4030 | shift |
---|
| 4031 | ac_file=$1 |
---|
| 4032 | shift |
---|
[21] | 4033 | |
---|
[261] | 4034 | case $ac_mode in |
---|
| 4035 | :L) ac_source=$1;; |
---|
| 4036 | :[FH]) |
---|
| 4037 | ac_file_inputs= |
---|
| 4038 | for ac_f |
---|
| 4039 | do |
---|
| 4040 | case $ac_f in |
---|
| 4041 | -) ac_f="$tmp/stdin";; |
---|
| 4042 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 4043 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 4044 | # because $ac_f cannot contain `:'. |
---|
| 4045 | test -f "$ac_f" || |
---|
| 4046 | case $ac_f in |
---|
| 4047 | [\\/$]*) false;; |
---|
| 4048 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 4049 | esac || |
---|
| 4050 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
| 4051 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
| 4052 | { (exit 1); exit 1; }; };; |
---|
| 4053 | esac |
---|
| 4054 | ac_file_inputs="$ac_file_inputs $ac_f" |
---|
| 4055 | done |
---|
| 4056 | |
---|
| 4057 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 4058 | # use $as_me), people would be surprised to read: |
---|
| 4059 | # /* config.h. Generated by config.status. */ |
---|
| 4060 | configure_input="Generated from "`IFS=: |
---|
| 4061 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
---|
| 4062 | if test x"$ac_file" != x-; then |
---|
| 4063 | configure_input="$ac_file. $configure_input" |
---|
| 4064 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
| 4065 | echo "$as_me: creating $ac_file" >&6;} |
---|
| 4066 | fi |
---|
| 4067 | |
---|
| 4068 | case $ac_tag in |
---|
| 4069 | *:-:* | *:-) cat >"$tmp/stdin";; |
---|
| 4070 | esac |
---|
| 4071 | ;; |
---|
| 4072 | esac |
---|
| 4073 | |
---|
| 4074 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
[21] | 4075 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4076 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 4077 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
[261] | 4078 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
[21] | 4079 | echo X"$ac_file" | |
---|
[261] | 4080 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4081 | s//\1/ |
---|
| 4082 | q |
---|
| 4083 | } |
---|
| 4084 | /^X\(\/\/\)[^/].*/{ |
---|
| 4085 | s//\1/ |
---|
| 4086 | q |
---|
| 4087 | } |
---|
| 4088 | /^X\(\/\/\)$/{ |
---|
| 4089 | s//\1/ |
---|
| 4090 | q |
---|
| 4091 | } |
---|
| 4092 | /^X\(\/\).*/{ |
---|
| 4093 | s//\1/ |
---|
| 4094 | q |
---|
| 4095 | } |
---|
| 4096 | s/.*/./; q'` |
---|
| 4097 | { as_dir="$ac_dir" |
---|
| 4098 | case $as_dir in #( |
---|
| 4099 | -*) as_dir=./$as_dir;; |
---|
| 4100 | esac |
---|
| 4101 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
[21] | 4102 | as_dirs= |
---|
[261] | 4103 | while :; do |
---|
| 4104 | case $as_dir in #( |
---|
| 4105 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
| 4106 | *) as_qdir=$as_dir;; |
---|
| 4107 | esac |
---|
| 4108 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 4109 | as_dir=`$as_dirname -- "$as_dir" || |
---|
[21] | 4110 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 4111 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 4112 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
[261] | 4113 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
[21] | 4114 | echo X"$as_dir" | |
---|
[261] | 4115 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 4116 | s//\1/ |
---|
| 4117 | q |
---|
| 4118 | } |
---|
| 4119 | /^X\(\/\/\)[^/].*/{ |
---|
| 4120 | s//\1/ |
---|
| 4121 | q |
---|
| 4122 | } |
---|
| 4123 | /^X\(\/\/\)$/{ |
---|
| 4124 | s//\1/ |
---|
| 4125 | q |
---|
| 4126 | } |
---|
| 4127 | /^X\(\/\).*/{ |
---|
| 4128 | s//\1/ |
---|
| 4129 | q |
---|
| 4130 | } |
---|
| 4131 | s/.*/./; q'` |
---|
| 4132 | test -d "$as_dir" && break |
---|
[21] | 4133 | done |
---|
[261] | 4134 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 4135 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
| 4136 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
[21] | 4137 | { (exit 1); exit 1; }; }; } |
---|
| 4138 | ac_builddir=. |
---|
| 4139 | |
---|
[261] | 4140 | case "$ac_dir" in |
---|
| 4141 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 4142 | *) |
---|
[21] | 4143 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
[261] | 4144 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 4145 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
| 4146 | case $ac_top_builddir_sub in |
---|
| 4147 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 4148 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 4149 | esac ;; |
---|
| 4150 | esac |
---|
| 4151 | ac_abs_top_builddir=$ac_pwd |
---|
| 4152 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 4153 | # for backward compatibility: |
---|
| 4154 | ac_top_builddir=$ac_top_build_prefix |
---|
[21] | 4155 | |
---|
| 4156 | case $srcdir in |
---|
[261] | 4157 | .) # We are building in place. |
---|
[21] | 4158 | ac_srcdir=. |
---|
[261] | 4159 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 4160 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 4161 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
[21] | 4162 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
[261] | 4163 | ac_top_srcdir=$srcdir |
---|
| 4164 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 4165 | *) # Relative name. |
---|
| 4166 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 4167 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 4168 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
[21] | 4169 | esac |
---|
[261] | 4170 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
[21] | 4171 | |
---|
| 4172 | |
---|
[261] | 4173 | case $ac_mode in |
---|
| 4174 | :F) |
---|
| 4175 | # |
---|
| 4176 | # CONFIG_FILE |
---|
| 4177 | # |
---|
[21] | 4178 | |
---|
[261] | 4179 | _ACEOF |
---|
[21] | 4180 | |
---|
[261] | 4181 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 4182 | # If the template does not know about datarootdir, expand it. |
---|
| 4183 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 4184 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
[21] | 4185 | |
---|
[261] | 4186 | case `sed -n '/datarootdir/ { |
---|
| 4187 | p |
---|
| 4188 | q |
---|
| 4189 | } |
---|
| 4190 | /@datadir@/p |
---|
| 4191 | /@docdir@/p |
---|
| 4192 | /@infodir@/p |
---|
| 4193 | /@localedir@/p |
---|
| 4194 | /@mandir@/p |
---|
| 4195 | ' $ac_file_inputs` in |
---|
| 4196 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 4197 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 4198 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 4199 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
[21] | 4200 | _ACEOF |
---|
| 4201 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[261] | 4202 | ac_datarootdir_hack=' |
---|
| 4203 | s&@datadir@&$datadir&g |
---|
| 4204 | s&@docdir@&$docdir&g |
---|
| 4205 | s&@infodir@&$infodir&g |
---|
| 4206 | s&@localedir@&$localedir&g |
---|
| 4207 | s&@mandir@&$mandir&g |
---|
| 4208 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 4209 | esac |
---|
| 4210 | _ACEOF |
---|
| 4211 | |
---|
| 4212 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 4213 | # Shell code in configure.ac might set extrasub. |
---|
| 4214 | # FIXME: do we really want to maintain this feature? |
---|
| 4215 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
[21] | 4216 | sed "$ac_vpsub |
---|
| 4217 | $extrasub |
---|
| 4218 | _ACEOF |
---|
| 4219 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
| 4220 | :t |
---|
| 4221 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
[261] | 4222 | s&@configure_input@&$configure_input&;t t |
---|
| 4223 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 4224 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 4225 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 4226 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 4227 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 4228 | s&@builddir@&$ac_builddir&;t t |
---|
| 4229 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 4230 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 4231 | $ac_datarootdir_hack |
---|
| 4232 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
---|
[21] | 4233 | |
---|
[261] | 4234 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 4235 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
| 4236 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
| 4237 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 4238 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
| 4239 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 4240 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
[21] | 4241 | |
---|
[261] | 4242 | rm -f "$tmp/stdin" |
---|
| 4243 | case $ac_file in |
---|
| 4244 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
---|
| 4245 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
---|
| 4246 | esac |
---|
| 4247 | ;; |
---|
[21] | 4248 | |
---|
[261] | 4249 | |
---|
| 4250 | |
---|
| 4251 | esac |
---|
| 4252 | |
---|
| 4253 | done # for ac_tag |
---|
| 4254 | |
---|
| 4255 | |
---|
[21] | 4256 | { (exit 0); exit 0; } |
---|
| 4257 | _ACEOF |
---|
| 4258 | chmod +x $CONFIG_STATUS |
---|
| 4259 | ac_clean_files=$ac_clean_files_save |
---|
| 4260 | |
---|
| 4261 | |
---|
| 4262 | # configure is writing to config.log, and then calls config.status. |
---|
| 4263 | # config.status does its own redirection, appending to config.log. |
---|
| 4264 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 4265 | # by configure, so config.status won't be able to write to it; its |
---|
| 4266 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 4267 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 4268 | # appended to by config.status. When coming back to configure, we |
---|
| 4269 | # need to make the FD available again. |
---|
| 4270 | if test "$no_create" != yes; then |
---|
| 4271 | ac_cs_success=: |
---|
| 4272 | ac_config_status_args= |
---|
| 4273 | test "$silent" = yes && |
---|
| 4274 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 4275 | exec 5>/dev/null |
---|
| 4276 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 4277 | exec 5>>config.log |
---|
| 4278 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 4279 | # would make configure fail if this is the last instruction. |
---|
| 4280 | $ac_cs_success || { (exit 1); exit 1; } |
---|
| 4281 | fi |
---|
| 4282 | |
---|