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