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