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