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 16if 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 23else 24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 25fi 26BIN_SH=xpg4; export BIN_SH # for Tru64 27DUALCASE=1; export DUALCASE # for MKS sh 28 29 30# PATH needs CR 31# Avoid depending upon Character Ranges. 32as_cr_letters='abcdefghijklmnopqrstuvwxyz' 33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 34as_cr_Letters=$as_cr_letters$as_cr_LETTERS 35as_cr_digits='0123456789' 36as_cr_alnum=$as_cr_Letters$as_cr_digits 37 38# The user is always right. 39if 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 49fi 50 51# Support unset when possible. 52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 53 as_unset=unset 54else 55 as_unset=false 56fi 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.) 64as_nl=' 65' 66IFS=" "" $as_nl" 67 68# Find who we are. Look in the path if we contain no directory separator. 69case $0 in 70 *[\\/]* ) as_myself=$0 ;; 71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 72for as_dir in $PATH 73do 74 IFS=$as_save_IFS 75 test -z "$as_dir" && as_dir=. 76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 77done 78IFS=$as_save_IFS 79 80 ;; 81esac 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. 84if test "x$as_myself" = x; then 85 as_myself=$0 86fi 87if 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; } 90fi 91 92# Work around bugs in pre-3.0 UWIN ksh. 93for as_var in ENV MAIL MAILPATH 94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 95done 96PS1='$ ' 97PS2='> ' 98PS4='+ ' 99 100# NLS nuisances. 101for 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 105do 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 111done 112 113# Required to use basename. 114if expr a : '\(a\)' >/dev/null 2>&1 && 115 test "X`expr 00001 : '.*\(...\)'`" = X001; then 116 as_expr=expr 117else 118 as_expr=false 119fi 120 121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 122 as_basename=basename 123else 124 as_basename=false 125fi 126 127 128# Name of the executable. 129as_me=`$as_basename -- "$0" || 130$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 131 X"$0" : 'X\(//\)$' \| \ 132 X"$0" : 'X\(/\)' \| . 2>/dev/null || 133echo 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 152if test "x$CONFIG_SHELL" = x; then 153 if (eval ":") 2>/dev/null; then 154 as_have_required=yes 155else 156 as_have_required=no 157fi 158 159 if test $as_have_required = yes && (eval ": 160(as_func_return () { 161 (exit \$1) 162} 163as_func_success () { 164 as_func_return 0 165} 166as_func_failure () { 167 as_func_return 1 168} 169as_func_ret_success () { 170 return 0 171} 172as_func_ret_failure () { 173 return 1 174} 175 176exitcode=0 177if as_func_success; then 178 : 179else 180 exitcode=1 181 echo as_func_success failed. 182fi 183 184if as_func_failure; then 185 exitcode=1 186 echo as_func_failure succeeded. 187fi 188 189if as_func_ret_success; then 190 : 191else 192 exitcode=1 193 echo as_func_ret_success failed. 194fi 195 196if as_func_ret_failure; then 197 exitcode=1 198 echo as_func_ret_failure succeeded. 199fi 200 201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 202 : 203else 204 exitcode=1 205 echo positional parameters were not saved. 206fi 207 208test \$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 : 217else 218 as_candidate_shells= 219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 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 230done 231IFS=$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 239if 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 246else 247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 248fi 249BIN_SH=xpg4; export BIN_SH # for Tru64 250DUALCASE=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 259if 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 266else 267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 268fi 269BIN_SH=xpg4; export BIN_SH # for Tru64 270DUALCASE=1; export DUALCASE # for MKS sh 271 272: 273(as_func_return () { 274 (exit $1) 275} 276as_func_success () { 277 as_func_return 0 278} 279as_func_failure () { 280 as_func_return 1 281} 282as_func_ret_success () { 283 return 0 284} 285as_func_ret_failure () { 286 return 1 287} 288 289exitcode=0 290if as_func_success; then 291 : 292else 293 exitcode=1 294 echo as_func_success failed. 295fi 296 297if as_func_failure; then 298 exitcode=1 299 echo as_func_failure succeeded. 300fi 301 302if as_func_ret_success; then 303 : 304else 305 exitcode=1 306 echo as_func_ret_success failed. 307fi 308 309if as_func_ret_failure; then 310 exitcode=1 311 echo as_func_ret_failure succeeded. 312fi 313 314if ( set x; as_func_ret_success y && test x = "$1" ); then 315 : 316else 317 exitcode=1 318 echo positional parameters were not saved. 319fi 320 321test $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 332fi 333 334fi 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+"$@"} 344fi 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; } 353fi 354 355 356fi 357 358fi 359 360 361 362(eval "as_func_return () { 363 (exit \$1) 364} 365as_func_success () { 366 as_func_return 0 367} 368as_func_failure () { 369 as_func_return 1 370} 371as_func_ret_success () { 372 return 0 373} 374as_func_ret_failure () { 375 return 1 376} 377 378exitcode=0 379if as_func_success; then 380 : 381else 382 exitcode=1 383 echo as_func_success failed. 384fi 385 386if as_func_failure; then 387 exitcode=1 388 echo as_func_failure succeeded. 389fi 390 391if as_func_ret_success; then 392 : 393else 394 exitcode=1 395 echo as_func_ret_success failed. 396fi 397 398if as_func_ret_failure; then 399 exitcode=1 400 echo as_func_ret_failure succeeded. 401fi 402 403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 404 : 405else 406 exitcode=1 407 echo positional parameters were not saved. 408fi 409 410test \$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 462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 463 as_dirname=dirname 464else 465 as_dirname=false 466fi 467 468ECHO_C= ECHO_N= ECHO_T= 469case `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';; 477esac 478 479if expr a : '\(a\)' >/dev/null 2>&1 && 480 test "X`expr 00001 : '.*\(...\)'`" = X001; then 481 as_expr=expr 482else 483 as_expr=false 484fi 485 486rm -f conf$$ conf$$.exe conf$$.file 487if test -d conf$$.dir; then 488 rm -f conf$$.dir/conf$$.file 489else 490 rm -f conf$$.dir 491 mkdir conf$$.dir 492fi 493echo >conf$$.file 494if 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' 502elif ln conf$$.file conf$$ 2>/dev/null; then 503 as_ln_s=ln 504else 505 as_ln_s='cp -p' 506fi 507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 508rmdir conf$$.dir 2>/dev/null 509 510if mkdir -p . 2>/dev/null; then 511 as_mkdir_p=: 512else 513 test -d ./-p && rmdir ./-p 514 as_mkdir_p=false 515fi 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. 519cat >conf$$.file <<_ASEOF 520#! /bin/sh 521exit 0 522_ASEOF 523chmod +x conf$$.file 524if test -x conf$$.file >/dev/null 2>&1; then 525 as_executable_p="test -x" 526else 527 as_executable_p=: 528fi 529rm -f conf$$.file 530 531# Sed expression to map a string onto a valid CPP name. 532as_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. 535as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 536 537 538 539exec 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. 544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 545 546# 547# Initializations. 548# 549ac_default_prefix=/usr/local 550ac_clean_files= 551ac_config_libobj_dir=. 552LIBOBJS= 553cross_compiling=no 554subdirs= 555MFLAGS= 556MAKEFLAGS= 557SHELL=${CONFIG_SHELL-/bin/sh} 558 559# Identity of this package. 560PACKAGE_NAME='xsetpointer' 561PACKAGE_TARNAME='xsetpointer' 562PACKAGE_VERSION='1.0.1' 563PACKAGE_STRING='xsetpointer 1.0.1' 564PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 565 566ac_subst_vars='SHELL 567PATH_SEPARATOR 568PACKAGE_NAME 569PACKAGE_TARNAME 570PACKAGE_VERSION 571PACKAGE_STRING 572PACKAGE_BUGREPORT 573exec_prefix 574prefix 575program_transform_name 576bindir 577sbindir 578libexecdir 579datarootdir 580datadir 581sysconfdir 582sharedstatedir 583localstatedir 584includedir 585oldincludedir 586docdir 587infodir 588htmldir 589dvidir 590pdfdir 591psdir 592libdir 593localedir 594mandir 595DEFS 596ECHO_C 597ECHO_N 598ECHO_T 599LIBS 600build_alias 601host_alias 602target_alias 603INSTALL_PROGRAM 604INSTALL_SCRIPT 605INSTALL_DATA 606CYGPATH_W 607PACKAGE 608VERSION 609ACLOCAL 610AUTOCONF 611AUTOMAKE 612AUTOHEADER 613MAKEINFO 614install_sh 615STRIP 616INSTALL_STRIP_PROGRAM 617mkdir_p 618AWK 619SET_MAKE 620am__leading_dot 621AMTAR 622am__tar 623am__untar 624MAINTAINER_MODE_TRUE 625MAINTAINER_MODE_FALSE 626MAINT 627CC 628CFLAGS 629LDFLAGS 630CPPFLAGS 631ac_ct_CC 632EXEEXT 633OBJEXT 634DEPDIR 635am__include 636am__quote 637AMDEP_TRUE 638AMDEP_FALSE 639AMDEPBACKSLASH 640CCDEPMODE 641am__fastdepCC_TRUE 642am__fastdepCC_FALSE 643PKG_CONFIG 644XSETPOINTER_CFLAGS 645XSETPOINTER_LIBS 646build 647build_cpu 648build_vendor 649build_os 650host 651host_cpu 652host_vendor 653host_os 654APP_MAN_SUFFIX 655LIB_MAN_SUFFIX 656FILE_MAN_SUFFIX 657MISC_MAN_SUFFIX 658DRIVER_MAN_SUFFIX 659ADMIN_MAN_SUFFIX 660APP_MAN_DIR 661LIB_MAN_DIR 662FILE_MAN_DIR 663MISC_MAN_DIR 664DRIVER_MAN_DIR 665ADMIN_MAN_DIR 666LIBOBJS 667LTLIBOBJS' 668ac_subst_files='' 669 ac_precious_vars='build_alias 670host_alias 671target_alias 672CC 673CFLAGS 674LDFLAGS 675CPPFLAGS 676PKG_CONFIG 677XSETPOINTER_CFLAGS 678XSETPOINTER_LIBS' 679 680 681# Initialize some variables set by options. 682ac_init_help= 683ac_init_version=false 684# The variables have the same names as the options, with 685# dashes changed to underlines. 686cache_file=/dev/null 687exec_prefix=NONE 688no_create= 689no_recursion= 690prefix=NONE 691program_prefix=NONE 692program_suffix=NONE 693program_transform_name=s,x,x, 694silent= 695site= 696srcdir= 697verbose= 698x_includes=NONE 699x_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.) 707bindir='${exec_prefix}/bin' 708sbindir='${exec_prefix}/sbin' 709libexecdir='${exec_prefix}/libexec' 710datarootdir='${prefix}/share' 711datadir='${datarootdir}' 712sysconfdir='${prefix}/etc' 713sharedstatedir='${prefix}/com' 714localstatedir='${prefix}/var' 715includedir='${prefix}/include' 716oldincludedir='/usr/include' 717docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 718infodir='${datarootdir}/info' 719htmldir='${docdir}' 720dvidir='${docdir}' 721pdfdir='${docdir}' 722psdir='${docdir}' 723libdir='${exec_prefix}/lib' 724localedir='${datarootdir}/locale' 725mandir='${datarootdir}/man' 726 727ac_prev= 728ac_dashdash= 729for ac_option 730do 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 1034Try \`$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 1056done 1057 1058if 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; }; } 1062fi 1063 1064# Be sure to have absolute directory names. 1065for 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 1069do 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; }; } 1077done 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. 1082build=$build_alias 1083host=$host_alias 1084target=$target_alias 1085 1086# FIXME: To remove some day. 1087if 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 1095fi 1096 1097ac_tool_prefix= 1098test -n "$host_alias" && ac_tool_prefix=$host_alias- 1099 1100test "$silent" = yes && exec 6>/dev/null 1101 1102 1103ac_pwd=`pwd` && test -n "$ac_pwd" && 1104ac_ls_di=`ls -di .` && 1105ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1106 { echo "$as_me: error: Working directory cannot be determined" >&2 1107 { (exit 1); exit 1; }; } 1108test "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. 1114if 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 || 1122echo 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 1144else 1145 ac_srcdir_defaulted=no 1146fi 1147if 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; }; } 1151fi 1152ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1153ac_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=. 1158if test "$ac_abs_confdir" = "$ac_pwd"; then 1159 srcdir=. 1160fi 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. 1164case $srcdir in 1165*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1166esac 1167for 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} 1172done 1173 1174# 1175# Report the --help message. 1176# 1177if 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 1183Usage: $0 [OPTION]... [VAR=VALUE]... 1184 1185To assign environment variables (e.g., CC, CFLAGS...), specify them as 1186VAR=VALUE. See below for descriptions of some of the useful variables. 1187 1188Defaults for the options are specified in brackets. 1189 1190Configuration: 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 1201Installation 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 1207By default, \`make install' will install all the files in 1208\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1209an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1210for instance \`--prefix=\$HOME'. 1211 1212For better control, use the options below. 1213 1214Fine 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 1238Program 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 1243System 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 1247fi 1248 1249if 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 1255Optional 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 1263Optional 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 1269Some 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 1282Use these variables to override the choices made by `configure' or to help 1283it to find libraries and programs with nonstandard names/locations. 1284 1285Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1286_ACEOF 1287ac_status=$? 1288fi 1289 1290if 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 1296case "$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 ;; 1306esac 1307ac_abs_top_builddir=$ac_pwd 1308ac_abs_builddir=$ac_pwd$ac_dir_suffix 1309# for backward compatibility: 1310ac_top_builddir=$ac_top_build_prefix 1311 1312case $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 ;; 1325esac 1326ac_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 1341fi 1342 1343test -n "$ac_init_help" && exit $ac_status 1344if $ac_init_version; then 1345 cat <<\_ACEOF 1346xsetpointer configure 1.0.1 1347generated by GNU Autoconf 2.60 1348 1349Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13502002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1351This configure script is free software; the Free Software Foundation 1352gives unlimited permission to copy, distribute and modify it. 1353_ACEOF 1354 exit 1355fi 1356cat >config.log <<_ACEOF 1357This file contains any messages produced by compilers while 1358running configure, to aid debugging if configure makes a mistake. 1359 1360It was created by xsetpointer $as_me 1.0.1, which was 1361generated by GNU Autoconf 2.60. Invocation command line was 1362 1363 $ $0 $@ 1364 1365_ACEOF 1366exec 5>>config.log 1367{ 1368cat <<_ASUNAME 1369## --------- ## 1370## Platform. ## 1371## --------- ## 1372 1373hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1374uname -m = `(uname -m) 2>/dev/null || echo unknown` 1375uname -r = `(uname -r) 2>/dev/null || echo unknown` 1376uname -s = `(uname -s) 2>/dev/null || echo unknown` 1377uname -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 1392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1393for as_dir in $PATH 1394do 1395 IFS=$as_save_IFS 1396 test -z "$as_dir" && as_dir=. 1397 echo "PATH: $as_dir" 1398done 1399IFS=$as_save_IFS 1400 1401} >&5 1402 1403cat >&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. 1418ac_configure_args= 1419ac_configure_args0= 1420ac_configure_args1= 1421ac_must_keep_next=false 1422for ac_pass in 1 2 1423do 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 1457done 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. 1466trap '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 1485echo "$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 1560for ac_signal in 1 2 13 15; do 1561 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1562done 1563ac_signal=0 1564 1565# confdefs.h avoids OS command line length limits that DEFS can exceed. 1566rm -f -r conftest* confdefs.h 1567 1568# Predefined preprocessor variables. 1569 1570cat >>confdefs.h <<_ACEOF 1571#define PACKAGE_NAME "$PACKAGE_NAME" 1572_ACEOF 1573 1574 1575cat >>confdefs.h <<_ACEOF 1576#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1577_ACEOF 1578 1579 1580cat >>confdefs.h <<_ACEOF 1581#define PACKAGE_VERSION "$PACKAGE_VERSION" 1582_ACEOF 1583 1584 1585cat >>confdefs.h <<_ACEOF 1586#define PACKAGE_STRING "$PACKAGE_STRING" 1587_ACEOF 1588 1589 1590cat >>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. 1597if test -n "$CONFIG_SITE"; then 1598 set x "$CONFIG_SITE" 1599elif test "x$prefix" != xNONE; then 1600 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1601else 1602 set x "$ac_default_prefix/share/config.site" \ 1603 "$ac_default_prefix/etc/config.site" 1604fi 1605shift 1606for ac_site_file 1607do 1608 if test -r "$ac_site_file"; then 1609 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1610echo "$as_me: loading site script $ac_site_file" >&6;} 1611 sed 's/^/| /' "$ac_site_file" >&5 1612 . "$ac_site_file" 1613 fi 1614done 1615 1616if 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 1621echo "$as_me: loading cache $cache_file" >&6;} 1622 case $cache_file in 1623 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1624 *) . "./$cache_file";; 1625 esac 1626 fi 1627else 1628 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1629echo "$as_me: creating cache $cache_file" >&6;} 1630 >$cache_file 1631fi 1632 1633# Check that the precious variables saved in the cache have kept the same 1634# value. 1635ac_cache_corrupted=false 1636for 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 1644echo "$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 1648echo "$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 1654echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1655 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1656echo "$as_me: former value: $ac_old_val" >&2;} 1657 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1658echo "$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 1673done 1674if $ac_cache_corrupted; then 1675 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1676echo "$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 1678echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1679 { (exit 1); exit 1; }; } 1680fi 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 1706ac_ext=c 1707ac_cpp='$CPP $CPPFLAGS' 1708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1710ac_compiler_gnu=$ac_cv_c_compiler_gnu 1711 1712 1713am__api_version="1.9" 1714ac_aux_dir= 1715for 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 1729done 1730if test -z "$ac_aux_dir"; then 1731 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1732echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1733 { (exit 1); exit 1; }; } 1734fi 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. 1740ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1741ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1742ac_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 1759echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1760if test -z "$INSTALL"; then 1761if test "${ac_cv_path_install+set}" = set; then 1762 echo $ECHO_N "(cached) $ECHO_C" >&6 1763else 1764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1765for as_dir in $PATH 1766do 1767 IFS=$as_save_IFS 1768 test -z "$as_dir" && as_dir=. 1769 # Account for people who put trailing slashes in PATH elements. 1770case $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 ;; 1798esac 1799done 1800IFS=$as_save_IFS 1801 1802 1803fi 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 1813fi 1814{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1815echo "${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. 1819test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1820 1821test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1822 1823test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1824 1825{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1826echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1827# Just in case 1828sleep 1 1829echo 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). 1835if ( 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 1850alias in your environment" >&5 1851echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1852alias in your environment" >&2;} 1853 { (exit 1); exit 1; }; } 1854 fi 1855 1856 test "$2" = conftest.file 1857 ) 1858then 1859 # Ok. 1860 : 1861else 1862 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1863Check your system clock" >&5 1864echo "$as_me: error: newly created file is older than distributed files! 1865Check your system clock" >&2;} 1866 { (exit 1); exit 1; }; } 1867fi 1868{ echo "$as_me:$LINENO: result: yes" >&5 1869echo "${ECHO_T}yes" >&6; } 1870test "$program_prefix" != NONE && 1871 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1872# Use a double $ so make ignores it. 1873test "$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. 1877cat <<\_ACEOF >conftest.sed 1878s/[\\$]/&&/g;s/;s,x,x,$// 1879_ACEOF 1880program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1881rm -f conftest.sed 1882 1883# expand $ac_aux_dir to an absolute path 1884am_aux_dir=`cd $ac_aux_dir && pwd` 1885 1886test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1887# Use eval to expand $SHELL 1888if eval "$MISSING --run true"; then 1889 am_missing_run="$MISSING --run " 1890else 1891 am_missing_run= 1892 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1893echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1894fi 1895 1896if 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 --' 1912else 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 1927fi 1928 1929for ac_prog in gawk mawk nawk awk 1930do 1931 # Extract the first word of "$ac_prog", so it can be a program name with args. 1932set dummy $ac_prog; ac_word=$2 1933{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1934echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1935if test "${ac_cv_prog_AWK+set}" = set; then 1936 echo $ECHO_N "(cached) $ECHO_C" >&6 1937else 1938 if test -n "$AWK"; then 1939 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1940else 1941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1942for as_dir in $PATH 1943do 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 1952done 1953done 1954IFS=$as_save_IFS 1955 1956fi 1957fi 1958AWK=$ac_cv_prog_AWK 1959if test -n "$AWK"; then 1960 { echo "$as_me:$LINENO: result: $AWK" >&5 1961echo "${ECHO_T}$AWK" >&6; } 1962else 1963 { echo "$as_me:$LINENO: result: no" >&5 1964echo "${ECHO_T}no" >&6; } 1965fi 1966 1967 1968 test -n "$AWK" && break 1969done 1970 1971{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1972echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1973set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1974if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1975 echo $ECHO_N "(cached) $ECHO_C" >&6 1976else 1977 cat >conftest.make <<\_ACEOF 1978SHELL = /bin/sh 1979all: 1980 @echo '@@@%%%=$(MAKE)=@@@%%%' 1981_ACEOF 1982# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1983case `${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;; 1988esac 1989rm -f conftest.make 1990fi 1991if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1992 { echo "$as_me:$LINENO: result: yes" >&5 1993echo "${ECHO_T}yes" >&6; } 1994 SET_MAKE= 1995else 1996 { echo "$as_me:$LINENO: result: no" >&5 1997echo "${ECHO_T}no" >&6; } 1998 SET_MAKE="MAKE=${MAKE-make}" 1999fi 2000 2001rm -rf .tst 2>/dev/null 2002mkdir .tst 2>/dev/null 2003if test -d .tst; then 2004 am__leading_dot=. 2005else 2006 am__leading_dot=_ 2007fi 2008rmdir .tst 2>/dev/null 2009 2010# test to see if srcdir already configured 2011if 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 2014echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2015 { (exit 1); exit 1; }; } 2016fi 2017 2018# test whether we have cygpath 2019if 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 2025fi 2026 2027 2028# Define the identity of the package. 2029 PACKAGE='xsetpointer' 2030 VERSION='1.0.1' 2031 2032 2033cat >>confdefs.h <<_ACEOF 2034#define PACKAGE "$PACKAGE" 2035_ACEOF 2036 2037 2038cat >>confdefs.h <<_ACEOF 2039#define VERSION "$VERSION" 2040_ACEOF 2041 2042# Some tools Automake needs. 2043 2044ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2045 2046 2047AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2048 2049 2050AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2051 2052 2053AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2054 2055 2056MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2057 2058install_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. 2064if 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. 2067set dummy ${ac_tool_prefix}strip; ac_word=$2 2068{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2070if test "${ac_cv_prog_STRIP+set}" = set; then 2071 echo $ECHO_N "(cached) $ECHO_C" >&6 2072else 2073 if test -n "$STRIP"; then 2074 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2075else 2076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2077for as_dir in $PATH 2078do 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 2087done 2088done 2089IFS=$as_save_IFS 2090 2091fi 2092fi 2093STRIP=$ac_cv_prog_STRIP 2094if test -n "$STRIP"; then 2095 { echo "$as_me:$LINENO: result: $STRIP" >&5 2096echo "${ECHO_T}$STRIP" >&6; } 2097else 2098 { echo "$as_me:$LINENO: result: no" >&5 2099echo "${ECHO_T}no" >&6; } 2100fi 2101 2102 2103fi 2104if 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. 2107set dummy strip; ac_word=$2 2108{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2109echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2110if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2111 echo $ECHO_N "(cached) $ECHO_C" >&6 2112else 2113 if test -n "$ac_ct_STRIP"; then 2114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2115else 2116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2117for as_dir in $PATH 2118do 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 2127done 2128done 2129IFS=$as_save_IFS 2130 2131fi 2132fi 2133ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2134if test -n "$ac_ct_STRIP"; then 2135 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2136echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2137else 2138 { echo "$as_me:$LINENO: result: no" >&5 2139echo "${ECHO_T}no" >&6; } 2140fi 2141 2142 if test "x$ac_ct_STRIP" = x; then 2143 STRIP=":" 2144 else 2145 case $cross_compiling:$ac_tool_warned in 2146yes:) 2147{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2148whose name does not start with the host triplet. If you think this 2149configuration is useful to you, please write to autoconf@gnu.org." >&5 2150echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2151whose name does not start with the host triplet. If you think this 2152configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2153ac_tool_warned=yes ;; 2154esac 2155 STRIP=$ac_ct_STRIP 2156 fi 2157else 2158 STRIP="$ac_cv_prog_STRIP" 2159fi 2160 2161fi 2162INSTALL_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 2168AMTAR=${AMTAR-"${am_missing_run}tar"} 2169 2170am__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 2177echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2178 # Check whether --enable-maintainer-mode was given. 2179if test "${enable_maintainer_mode+set}" = set; then 2180 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2181else 2182 USE_MAINTAINER_MODE=no 2183fi 2184 2185 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2186echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2187 2188 2189if test $USE_MAINTAINER_MODE = yes; then 2190 MAINTAINER_MODE_TRUE= 2191 MAINTAINER_MODE_FALSE='#' 2192else 2193 MAINTAINER_MODE_TRUE='#' 2194 MAINTAINER_MODE_FALSE= 2195fi 2196 2197 MAINT=$MAINTAINER_MODE_TRUE 2198 2199 2200 2201ac_config_headers="$ac_config_headers config.h" 2202 2203 2204ac_ext=c 2205ac_cpp='$CPP $CPPFLAGS' 2206ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2207ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2208ac_compiler_gnu=$ac_cv_c_compiler_gnu 2209if 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. 2211set dummy ${ac_tool_prefix}gcc; ac_word=$2 2212{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2213echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2214if test "${ac_cv_prog_CC+set}" = set; then 2215 echo $ECHO_N "(cached) $ECHO_C" >&6 2216else 2217 if test -n "$CC"; then 2218 ac_cv_prog_CC="$CC" # Let the user override the test. 2219else 2220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2221for as_dir in $PATH 2222do 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 2231done 2232done 2233IFS=$as_save_IFS 2234 2235fi 2236fi 2237CC=$ac_cv_prog_CC 2238if test -n "$CC"; then 2239 { echo "$as_me:$LINENO: result: $CC" >&5 2240echo "${ECHO_T}$CC" >&6; } 2241else 2242 { echo "$as_me:$LINENO: result: no" >&5 2243echo "${ECHO_T}no" >&6; } 2244fi 2245 2246 2247fi 2248if 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. 2251set dummy gcc; ac_word=$2 2252{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2253echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2254if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2255 echo $ECHO_N "(cached) $ECHO_C" >&6 2256else 2257 if test -n "$ac_ct_CC"; then 2258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2259else 2260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2261for as_dir in $PATH 2262do 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 2271done 2272done 2273IFS=$as_save_IFS 2274 2275fi 2276fi 2277ac_ct_CC=$ac_cv_prog_ac_ct_CC 2278if test -n "$ac_ct_CC"; then 2279 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2280echo "${ECHO_T}$ac_ct_CC" >&6; } 2281else 2282 { echo "$as_me:$LINENO: result: no" >&5 2283echo "${ECHO_T}no" >&6; } 2284fi 2285 2286 if test "x$ac_ct_CC" = x; then 2287 CC="" 2288 else 2289 case $cross_compiling:$ac_tool_warned in 2290yes:) 2291{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2292whose name does not start with the host triplet. If you think this 2293configuration is useful to you, please write to autoconf@gnu.org." >&5 2294echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2295whose name does not start with the host triplet. If you think this 2296configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2297ac_tool_warned=yes ;; 2298esac 2299 CC=$ac_ct_CC 2300 fi 2301else 2302 CC="$ac_cv_prog_CC" 2303fi 2304 2305if 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. 2308set dummy ${ac_tool_prefix}cc; ac_word=$2 2309{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2310echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2311if test "${ac_cv_prog_CC+set}" = set; then 2312 echo $ECHO_N "(cached) $ECHO_C" >&6 2313else 2314 if test -n "$CC"; then 2315 ac_cv_prog_CC="$CC" # Let the user override the test. 2316else 2317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2318for as_dir in $PATH 2319do 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 2328done 2329done 2330IFS=$as_save_IFS 2331 2332fi 2333fi 2334CC=$ac_cv_prog_CC 2335if test -n "$CC"; then 2336 { echo "$as_me:$LINENO: result: $CC" >&5 2337echo "${ECHO_T}$CC" >&6; } 2338else 2339 { echo "$as_me:$LINENO: result: no" >&5 2340echo "${ECHO_T}no" >&6; } 2341fi 2342 2343 2344 fi 2345fi 2346if test -z "$CC"; then 2347 # Extract the first word of "cc", so it can be a program name with args. 2348set dummy cc; ac_word=$2 2349{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2350echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2351if test "${ac_cv_prog_CC+set}" = set; then 2352 echo $ECHO_N "(cached) $ECHO_C" >&6 2353else 2354 if test -n "$CC"; then 2355 ac_cv_prog_CC="$CC" # Let the user override the test. 2356else 2357 ac_prog_rejected=no 2358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2359for as_dir in $PATH 2360do 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 2373done 2374done 2375IFS=$as_save_IFS 2376 2377if 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 2388fi 2389fi 2390fi 2391CC=$ac_cv_prog_CC 2392if test -n "$CC"; then 2393 { echo "$as_me:$LINENO: result: $CC" >&5 2394echo "${ECHO_T}$CC" >&6; } 2395else 2396 { echo "$as_me:$LINENO: result: no" >&5 2397echo "${ECHO_T}no" >&6; } 2398fi 2399 2400 2401fi 2402if 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. 2407set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2408{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2409echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2410if test "${ac_cv_prog_CC+set}" = set; then 2411 echo $ECHO_N "(cached) $ECHO_C" >&6 2412else 2413 if test -n "$CC"; then 2414 ac_cv_prog_CC="$CC" # Let the user override the test. 2415else 2416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2417for as_dir in $PATH 2418do 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 2427done 2428done 2429IFS=$as_save_IFS 2430 2431fi 2432fi 2433CC=$ac_cv_prog_CC 2434if test -n "$CC"; then 2435 { echo "$as_me:$LINENO: result: $CC" >&5 2436echo "${ECHO_T}$CC" >&6; } 2437else 2438 { echo "$as_me:$LINENO: result: no" >&5 2439echo "${ECHO_T}no" >&6; } 2440fi 2441 2442 2443 test -n "$CC" && break 2444 done 2445fi 2446if test -z "$CC"; then 2447 ac_ct_CC=$CC 2448 for ac_prog in cl.exe 2449do 2450 # Extract the first word of "$ac_prog", so it can be a program name with args. 2451set dummy $ac_prog; ac_word=$2 2452{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2454if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2455 echo $ECHO_N "(cached) $ECHO_C" >&6 2456else 2457 if test -n "$ac_ct_CC"; then 2458 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2459else 2460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461for as_dir in $PATH 2462do 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 2471done 2472done 2473IFS=$as_save_IFS 2474 2475fi 2476fi 2477ac_ct_CC=$ac_cv_prog_ac_ct_CC 2478if test -n "$ac_ct_CC"; then 2479 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2480echo "${ECHO_T}$ac_ct_CC" >&6; } 2481else 2482 { echo "$as_me:$LINENO: result: no" >&5 2483echo "${ECHO_T}no" >&6; } 2484fi 2485 2486 2487 test -n "$ac_ct_CC" && break 2488done 2489 2490 if test "x$ac_ct_CC" = x; then 2491 CC="" 2492 else 2493 case $cross_compiling:$ac_tool_warned in 2494yes:) 2495{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2496whose name does not start with the host triplet. If you think this 2497configuration is useful to you, please write to autoconf@gnu.org." >&5 2498echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2499whose name does not start with the host triplet. If you think this 2500configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2501ac_tool_warned=yes ;; 2502esac 2503 CC=$ac_ct_CC 2504 fi 2505fi 2506 2507fi 2508 2509 2510test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2511See \`config.log' for more details." >&5 2512echo "$as_me: error: no acceptable C compiler found in \$PATH 2513See \`config.log' for more details." >&2;} 2514 { (exit 1); exit 1; }; } 2515 2516# Provide some information about the compiler. 2517echo "$as_me:$LINENO: checking for C compiler version" >&5 2518ac_compiler=`set X $ac_compile; echo $2` 2519{ (ac_try="$ac_compiler --version >&5" 2520case "(($ac_try" in 2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2522 *) ac_try_echo=$ac_try;; 2523esac 2524eval "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" 2530case "(($ac_try" in 2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2532 *) ac_try_echo=$ac_try;; 2533esac 2534eval "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" 2540case "(($ac_try" in 2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 *) ac_try_echo=$ac_try;; 2543esac 2544eval "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 2550cat >conftest.$ac_ext <<_ACEOF 2551/* confdefs.h. */ 2552_ACEOF 2553cat confdefs.h >>conftest.$ac_ext 2554cat >>conftest.$ac_ext <<_ACEOF 2555/* end confdefs.h. */ 2556 2557int 2558main () 2559{ 2560 2561 ; 2562 return 0; 2563} 2564_ACEOF 2565ac_clean_files_save=$ac_clean_files 2566ac_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 2571echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2572ac_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. 2577ac_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. 2582ac_rmfiles= 2583for ac_file in $ac_files 2584do 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 2589done 2590rm -f $ac_rmfiles 2591 2592if { (ac_try="$ac_link_default" 2593case "(($ac_try" in 2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2595 *) ac_try_echo=$ac_try;; 2596esac 2597eval "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. 2607for ac_file in $ac_files 2608do 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 2631done 2632test "$ac_cv_exeext" = no && ac_cv_exeext= 2633 2634else 2635 echo "$as_me: failed program was:" >&5 2636sed 's/^/| /' conftest.$ac_ext >&5 2637 2638{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2639See \`config.log' for more details." >&5 2640echo "$as_me: error: C compiler cannot create executables 2641See \`config.log' for more details." >&2;} 2642 { (exit 77); exit 77; }; } 2643fi 2644 2645ac_exeext=$ac_cv_exeext 2646{ echo "$as_me:$LINENO: result: $ac_file" >&5 2647echo "${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 2652echo $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. 2655if 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;; 2660esac 2661eval "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. 2672If you meant to cross compile, use \`--host'. 2673See \`config.log' for more details." >&5 2674echo "$as_me: error: cannot run C compiled programs. 2675If you meant to cross compile, use \`--host'. 2676See \`config.log' for more details." >&2;} 2677 { (exit 1); exit 1; }; } 2678 fi 2679 fi 2680fi 2681{ echo "$as_me:$LINENO: result: yes" >&5 2682echo "${ECHO_T}yes" >&6; } 2683 2684rm -f a.out a.exe conftest$ac_cv_exeext b.out 2685ac_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 2689echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2690{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2691echo "${ECHO_T}$cross_compiling" >&6; } 2692 2693{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2694echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2695if { (ac_try="$ac_link" 2696case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699esac 2700eval "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'. 2709for 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 2717done 2718else 2719 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2720See \`config.log' for more details." >&5 2721echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2722See \`config.log' for more details." >&2;} 2723 { (exit 1); exit 1; }; } 2724fi 2725 2726rm -f conftest$ac_cv_exeext 2727{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2728echo "${ECHO_T}$ac_cv_exeext" >&6; } 2729 2730rm -f conftest.$ac_ext 2731EXEEXT=$ac_cv_exeext 2732ac_exeext=$EXEEXT 2733{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2734echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2735if test "${ac_cv_objext+set}" = set; then 2736 echo $ECHO_N "(cached) $ECHO_C" >&6 2737else 2738 cat >conftest.$ac_ext <<_ACEOF 2739/* confdefs.h. */ 2740_ACEOF 2741cat confdefs.h >>conftest.$ac_ext 2742cat >>conftest.$ac_ext <<_ACEOF 2743/* end confdefs.h. */ 2744 2745int 2746main () 2747{ 2748 2749 ; 2750 return 0; 2751} 2752_ACEOF 2753rm -f conftest.o conftest.obj 2754if { (ac_try="$ac_compile" 2755case "(($ac_try" in 2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2757 *) ac_try_echo=$ac_try;; 2758esac 2759eval "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 2771done 2772else 2773 echo "$as_me: failed program was:" >&5 2774sed 's/^/| /' conftest.$ac_ext >&5 2775 2776{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2777See \`config.log' for more details." >&5 2778echo "$as_me: error: cannot compute suffix of object files: cannot compile 2779See \`config.log' for more details." >&2;} 2780 { (exit 1); exit 1; }; } 2781fi 2782 2783rm -f conftest.$ac_cv_objext conftest.$ac_ext 2784fi 2785{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2786echo "${ECHO_T}$ac_cv_objext" >&6; } 2787OBJEXT=$ac_cv_objext 2788ac_objext=$OBJEXT 2789{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2790echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2791if test "${ac_cv_c_compiler_gnu+set}" = set; then 2792 echo $ECHO_N "(cached) $ECHO_C" >&6 2793else 2794 cat >conftest.$ac_ext <<_ACEOF 2795/* confdefs.h. */ 2796_ACEOF 2797cat confdefs.h >>conftest.$ac_ext 2798cat >>conftest.$ac_ext <<_ACEOF 2799/* end confdefs.h. */ 2800 2801int 2802main () 2803{ 2804#ifndef __GNUC__ 2805 choke me 2806#endif 2807 2808 ; 2809 return 0; 2810} 2811_ACEOF 2812rm -f conftest.$ac_objext 2813if { (ac_try="$ac_compile" 2814case "(($ac_try" in 2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2816 *) ac_try_echo=$ac_try;; 2817esac 2818eval "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;; 2830esac 2831eval "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;; 2840esac 2841eval "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 2847else 2848 echo "$as_me: failed program was:" >&5 2849sed 's/^/| /' conftest.$ac_ext >&5 2850 2851 ac_compiler_gnu=no 2852fi 2853 2854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2855ac_cv_c_compiler_gnu=$ac_compiler_gnu 2856 2857fi 2858{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2859echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2860GCC=`test $ac_compiler_gnu = yes && echo yes` 2861ac_test_CFLAGS=${CFLAGS+set} 2862ac_save_CFLAGS=$CFLAGS 2863{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2864echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2865if test "${ac_cv_prog_cc_g+set}" = set; then 2866 echo $ECHO_N "(cached) $ECHO_C" >&6 2867else 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 2875cat confdefs.h >>conftest.$ac_ext 2876cat >>conftest.$ac_ext <<_ACEOF 2877/* end confdefs.h. */ 2878 2879int 2880main () 2881{ 2882 2883 ; 2884 return 0; 2885} 2886_ACEOF 2887rm -f conftest.$ac_objext 2888if { (ac_try="$ac_compile" 2889case "(($ac_try" in 2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2891 *) ac_try_echo=$ac_try;; 2892esac 2893eval "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;; 2905esac 2906eval "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;; 2915esac 2916eval "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 2922else 2923 echo "$as_me: failed program was:" >&5 2924sed 's/^/| /' conftest.$ac_ext >&5 2925 2926 CFLAGS="" 2927 cat >conftest.$ac_ext <<_ACEOF 2928/* confdefs.h. */ 2929_ACEOF 2930cat confdefs.h >>conftest.$ac_ext 2931cat >>conftest.$ac_ext <<_ACEOF 2932/* end confdefs.h. */ 2933 2934int 2935main () 2936{ 2937 2938 ; 2939 return 0; 2940} 2941_ACEOF 2942rm -f conftest.$ac_objext 2943if { (ac_try="$ac_compile" 2944case "(($ac_try" in 2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2946 *) ac_try_echo=$ac_try;; 2947esac 2948eval "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;; 2960esac 2961eval "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;; 2970esac 2971eval "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 : 2977else 2978 echo "$as_me: failed program was:" >&5 2979sed '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 2986cat confdefs.h >>conftest.$ac_ext 2987cat >>conftest.$ac_ext <<_ACEOF 2988/* end confdefs.h. */ 2989 2990int 2991main () 2992{ 2993 2994 ; 2995 return 0; 2996} 2997_ACEOF 2998rm -f conftest.$ac_objext 2999if { (ac_try="$ac_compile" 3000case "(($ac_try" in 3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3002 *) ac_try_echo=$ac_try;; 3003esac 3004eval "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;; 3016esac 3017eval "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;; 3026esac 3027eval "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 3033else 3034 echo "$as_me: failed program was:" >&5 3035sed 's/^/| /' conftest.$ac_ext >&5 3036 3037 3038fi 3039 3040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3041fi 3042 3043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3044fi 3045 3046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3047 ac_c_werror_flag=$ac_save_c_werror_flag 3048fi 3049{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3050echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3051if test "$ac_test_CFLAGS" = set; then 3052 CFLAGS=$ac_save_CFLAGS 3053elif 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 3059else 3060 if test "$GCC" = yes; then 3061 CFLAGS="-O2" 3062 else 3063 CFLAGS= 3064 fi 3065fi 3066{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3067echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3068if test "${ac_cv_prog_cc_c89+set}" = set; then 3069 echo $ECHO_N "(cached) $ECHO_C" >&6 3070else 3071 ac_cv_prog_cc_c89=no 3072ac_save_CC=$CC 3073cat >conftest.$ac_ext <<_ACEOF 3074/* confdefs.h. */ 3075_ACEOF 3076cat confdefs.h >>conftest.$ac_ext 3077cat >>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. */ 3084struct buf { int x; }; 3085FILE * (*rcsopen) (struct buf *, struct stat *, int); 3086static char *e (p, i) 3087 char **p; 3088 int i; 3089{ 3090 return p[i]; 3091} 3092static 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. */ 3109int 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' 3114int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3115 3116int test (int i, double x); 3117struct s1 {int (*f) (int a);}; 3118struct s2 {int (*f) (double a);}; 3119int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3120int argc; 3121char **argv; 3122int 3123main () 3124{ 3125return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3126 ; 3127 return 0; 3128} 3129_ACEOF 3130for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3131 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3132do 3133 CC="$ac_save_CC $ac_arg" 3134 rm -f conftest.$ac_objext 3135if { (ac_try="$ac_compile" 3136case "(($ac_try" in 3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3138 *) ac_try_echo=$ac_try;; 3139esac 3140eval "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;; 3152esac 3153eval "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;; 3162esac 3163eval "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 3169else 3170 echo "$as_me: failed program was:" >&5 3171sed 's/^/| /' conftest.$ac_ext >&5 3172 3173 3174fi 3175 3176rm -f core conftest.err conftest.$ac_objext 3177 test "x$ac_cv_prog_cc_c89" != "xno" && break 3178done 3179rm -f conftest.$ac_ext 3180CC=$ac_save_CC 3181 3182fi 3183# AC_CACHE_VAL 3184case "x$ac_cv_prog_cc_c89" in 3185 x) 3186 { echo "$as_me:$LINENO: result: none needed" >&5 3187echo "${ECHO_T}none needed" >&6; } ;; 3188 xno) 3189 { echo "$as_me:$LINENO: result: unsupported" >&5 3190echo "${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 3194echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3195esac 3196 3197 3198ac_ext=c 3199ac_cpp='$CPP $CPPFLAGS' 3200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3202ac_compiler_gnu=$ac_cv_c_compiler_gnu 3203DEPDIR="${am__leading_dot}deps" 3204 3205ac_config_commands="$ac_config_commands depfiles" 3206 3207 3208am_make=${MAKE-make} 3209cat > confinc << 'END' 3210am__doit: 3211 @echo done 3212.PHONY: am__doit 3213END 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 3216echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3217am__include="#" 3218am__quote= 3219_am_result=none 3220# First try GNU make style include. 3221echo "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'. 3227if 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 3231fi 3232# Now try BSD make style include. 3233if 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 3240fi 3241 3242 3243{ echo "$as_me:$LINENO: result: $_am_result" >&5 3244echo "${ECHO_T}$_am_result" >&6; } 3245rm -f confinc confmf 3246 3247# Check whether --enable-dependency-tracking was given. 3248if test "${enable_dependency_tracking+set}" = set; then 3249 enableval=$enable_dependency_tracking; 3250fi 3251 3252if test "x$enable_dependency_tracking" != xno; then 3253 am_depcomp="$ac_aux_dir/depcomp" 3254 AMDEPBACKSLASH='\' 3255fi 3256 3257 3258if test "x$enable_dependency_tracking" != xno; then 3259 AMDEP_TRUE= 3260 AMDEP_FALSE='#' 3261else 3262 AMDEP_TRUE='#' 3263 AMDEP_FALSE= 3264fi 3265 3266 3267 3268 3269depcc="$CC" am_compiler_list= 3270 3271{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3272echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3273if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3274 echo $ECHO_N "(cached) $ECHO_C" >&6 3275else 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 3356else 3357 am_cv_CC_dependencies_compiler_type=none 3358fi 3359 3360fi 3361{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3362echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3363CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3364 3365 3366 3367if 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='#' 3372else 3373 am__fastdepCC_TRUE='#' 3374 am__fastdepCC_FALSE= 3375fi 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 3392echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3393if test -z "$INSTALL"; then 3394if test "${ac_cv_path_install+set}" = set; then 3395 echo $ECHO_N "(cached) $ECHO_C" >&6 3396else 3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3398for as_dir in $PATH 3399do 3400 IFS=$as_save_IFS 3401 test -z "$as_dir" && as_dir=. 3402 # Account for people who put trailing slashes in PATH elements. 3403case $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 ;; 3431esac 3432done 3433IFS=$as_save_IFS 3434 3435 3436fi 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 3446fi 3447{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3448echo "${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. 3452test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3453 3454test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3455 3456test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3457 3458 3459# Checks for pkg-config packages 3460 3461 3462if 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. 3465set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3466{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3468if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 3469 echo $ECHO_N "(cached) $ECHO_C" >&6 3470else 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 3477for as_dir in $PATH 3478do 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 3487done 3488done 3489IFS=$as_save_IFS 3490 3491 ;; 3492esac 3493fi 3494PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3495if test -n "$PKG_CONFIG"; then 3496 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 3497echo "${ECHO_T}$PKG_CONFIG" >&6; } 3498else 3499 { echo "$as_me:$LINENO: result: no" >&5 3500echo "${ECHO_T}no" >&6; } 3501fi 3502 3503 3504fi 3505if 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. 3508set dummy pkg-config; ac_word=$2 3509{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3510echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3511if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 3512 echo $ECHO_N "(cached) $ECHO_C" >&6 3513else 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 3520for as_dir in $PATH 3521do 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 3530done 3531done 3532IFS=$as_save_IFS 3533 3534 ;; 3535esac 3536fi 3537ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3538if test -n "$ac_pt_PKG_CONFIG"; then 3539 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 3540echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 3541else 3542 { echo "$as_me:$LINENO: result: no" >&5 3543echo "${ECHO_T}no" >&6; } 3544fi 3545 3546 if test "x$ac_pt_PKG_CONFIG" = x; then 3547 PKG_CONFIG="" 3548 else 3549 case $cross_compiling:$ac_tool_warned in 3550yes:) 3551{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3552whose name does not start with the host triplet. If you think this 3553configuration is useful to you, please write to autoconf@gnu.org." >&5 3554echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3555whose name does not start with the host triplet. If you think this 3556configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3557ac_tool_warned=yes ;; 3558esac 3559 PKG_CONFIG=$ac_pt_PKG_CONFIG 3560 fi 3561else 3562 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3563fi 3564 3565fi 3566if 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 3569echo $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 3572echo "${ECHO_T}yes" >&6; } 3573 else 3574 { echo "$as_me:$LINENO: result: no" >&5 3575echo "${ECHO_T}no" >&6; } 3576 PKG_CONFIG="" 3577 fi 3578 3579fi 3580 3581pkg_failed=no 3582{ echo "$as_me:$LINENO: checking for XSETPOINTER" >&5 3583echo $ECHO_N "checking for XSETPOINTER... $ECHO_C" >&6; } 3584 3585if 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` 3596else 3597 pkg_failed=yes 3598fi 3599 fi 3600else 3601 pkg_failed=untried 3602fi 3603if 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` 3614else 3615 pkg_failed=yes 3616fi 3617 fi 3618else 3619 pkg_failed=untried 3620fi 3621 3622 3623 3624if test $pkg_failed = yes; then 3625 3626if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3627 _pkg_short_errors_supported=yes 3628else 3629 _pkg_short_errors_supported=no 3630fi 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 3643Consider adjusting the PKG_CONFIG_PATH environment variable if you 3644installed software in a non-standard prefix. 3645 3646Alternatively, you may set the environment variables XSETPOINTER_CFLAGS 3647and XSETPOINTER_LIBS to avoid the need to call pkg-config. 3648See the pkg-config man page for more details. 3649" >&5 3650echo "$as_me: error: Package requirements (xi x11 inputproto >= 1.4) were not met: 3651 3652$XSETPOINTER_PKG_ERRORS 3653 3654Consider adjusting the PKG_CONFIG_PATH environment variable if you 3655installed software in a non-standard prefix. 3656 3657Alternatively, you may set the environment variables XSETPOINTER_CFLAGS 3658and XSETPOINTER_LIBS to avoid the need to call pkg-config. 3659See the pkg-config man page for more details. 3660" >&2;} 3661 { (exit 1); exit 1; }; } 3662elif 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 3664is in your PATH or set the PKG_CONFIG environment variable to the full 3665path to pkg-config. 3666 3667Alternatively, you may set the environment variables XSETPOINTER_CFLAGS 3668and XSETPOINTER_LIBS to avoid the need to call pkg-config. 3669See the pkg-config man page for more details. 3670 3671To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 3672See \`config.log' for more details." >&5 3673echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 3674is in your PATH or set the PKG_CONFIG environment variable to the full 3675path to pkg-config. 3676 3677Alternatively, you may set the environment variables XSETPOINTER_CFLAGS 3678and XSETPOINTER_LIBS to avoid the need to call pkg-config. 3679See the pkg-config man page for more details. 3680 3681To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 3682See \`config.log' for more details." >&2;} 3683 { (exit 1); exit 1; }; } 3684else 3685 XSETPOINTER_CFLAGS=$pkg_cv_XSETPOINTER_CFLAGS 3686 XSETPOINTER_LIBS=$pkg_cv_XSETPOINTER_LIBS 3687 { echo "$as_me:$LINENO: result: yes" >&5 3688echo "${ECHO_T}yes" >&6; } 3689 : 3690fi 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 3697echo "$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 3701echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 3702if test "${ac_cv_build+set}" = set; then 3703 echo $ECHO_N "(cached) $ECHO_C" >&6 3704else 3705 ac_build_alias=$build_alias 3706test "x$ac_build_alias" = x && 3707 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3708test "x$ac_build_alias" = x && 3709 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3710echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3711 { (exit 1); exit 1; }; } 3712ac_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 3714echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3715 { (exit 1); exit 1; }; } 3716 3717fi 3718{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3719echo "${ECHO_T}$ac_cv_build" >&6; } 3720case $ac_cv_build in 3721*-*-*) ;; 3722*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3723echo "$as_me: error: invalid value of canonical build" >&2;} 3724 { (exit 1); exit 1; }; };; 3725esac 3726build=$ac_cv_build 3727ac_save_IFS=$IFS; IFS='-' 3728set x $ac_cv_build 3729shift 3730build_cpu=$1 3731build_vendor=$2 3732shift; shift 3733# Remember, the first character of IFS is used to create $*, 3734# except with old shells: 3735build_os=$* 3736IFS=$ac_save_IFS 3737case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3738 3739 3740{ echo "$as_me:$LINENO: checking host system type" >&5 3741echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 3742if test "${ac_cv_host+set}" = set; then 3743 echo $ECHO_N "(cached) $ECHO_C" >&6 3744else 3745 if test "x$host_alias" = x; then 3746 ac_cv_host=$ac_cv_build 3747else 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 3750echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3751 { (exit 1); exit 1; }; } 3752fi 3753 3754fi 3755{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3756echo "${ECHO_T}$ac_cv_host" >&6; } 3757case $ac_cv_host in 3758*-*-*) ;; 3759*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3760echo "$as_me: error: invalid value of canonical host" >&2;} 3761 { (exit 1); exit 1; }; };; 3762esac 3763host=$ac_cv_host 3764ac_save_IFS=$IFS; IFS='-' 3765set x $ac_cv_host 3766shift 3767host_cpu=$1 3768host_vendor=$2 3769shift; shift 3770# Remember, the first character of IFS is used to create $*, 3771# except with old shells: 3772host_os=$* 3773IFS=$ac_save_IFS 3774case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3775 3776 3777 3778 3779 3780if 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 3785fi 3786if 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 3791fi 3792 3793if 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 3798fi 3799if 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 3804fi 3805 3806if 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 3812fi 3813if 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 3818fi 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 3822if 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 3828fi 3829if 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 3834fi 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 3838if 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 3844fi 3845if 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 3850fi 3851 3852if 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 3857fi 3858if test x$ADMIN_MAN_DIR = x ; then 3859 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3860fi 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. 3879if test "${with_release_version+set}" = set; then 3880 withval=$with_release_version; RELEASE_VERSION="$withval" 3881else 3882 RELEASE_VERSION="" 3883fi 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 3889echo "$as_me: Building with package name set to $PACKAGE" >&6;} 3890 fi 3891 3892 3893ac_config_files="$ac_config_files Makefile" 3894 3895cat >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 3923echo "$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 3956if 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 3960echo "$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 3964echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3965 fi 3966fi 3967rm -f confcache 3968 3969test "x$prefix" = xNONE && prefix=$ac_default_prefix 3970# Let make expand exec_prefix. 3971test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3972 3973DEFS=-DHAVE_CONFIG_H 3974 3975ac_libobjs= 3976ac_ltlibobjs= 3977for 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' 3985done 3986LIBOBJS=$ac_libobjs 3987 3988LTLIBOBJS=$ac_ltlibobjs 3989 3990 3991if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3992 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3993Usually this means the macro was only invoked conditionally." >&5 3994echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3995Usually this means the macro was only invoked conditionally." >&2;} 3996 { (exit 1); exit 1; }; } 3997fi 3998if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3999 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4000Usually this means the macro was only invoked conditionally." >&5 4001echo "$as_me: error: conditional \"AMDEP\" was never defined. 4002Usually this means the macro was only invoked conditionally." >&2;} 4003 { (exit 1); exit 1; }; } 4004fi 4005if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4006 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4007Usually this means the macro was only invoked conditionally." >&5 4008echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4009Usually this means the macro was only invoked conditionally." >&2;} 4010 { (exit 1); exit 1; }; } 4011fi 4012 4013: ${CONFIG_STATUS=./config.status} 4014ac_clean_files_save=$ac_clean_files 4015ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4016{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4017echo "$as_me: creating $CONFIG_STATUS" >&6;} 4018cat >$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 4025debug=false 4026ac_cs_recheck=false 4027ac_cs_silent=false 4028SHELL=\${CONFIG_SHELL-$SHELL} 4029_ACEOF 4030 4031cat >>$CONFIG_STATUS <<\_ACEOF 4032## --------------------- ## 4033## M4sh Initialization. ## 4034## --------------------- ## 4035 4036# Be Bourne compatible 4037if 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 4044else 4045 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 4046fi 4047BIN_SH=xpg4; export BIN_SH # for Tru64 4048DUALCASE=1; export DUALCASE # for MKS sh 4049 4050 4051# PATH needs CR 4052# Avoid depending upon Character Ranges. 4053as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4054as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4055as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4056as_cr_digits='0123456789' 4057as_cr_alnum=$as_cr_Letters$as_cr_digits 4058 4059# The user is always right. 4060if 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 4070fi 4071 4072# Support unset when possible. 4073if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4074 as_unset=unset 4075else 4076 as_unset=false 4077fi 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.) 4085as_nl=' 4086' 4087IFS=" "" $as_nl" 4088 4089# Find who we are. Look in the path if we contain no directory separator. 4090case $0 in 4091 *[\\/]* ) as_myself=$0 ;; 4092 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4093for as_dir in $PATH 4094do 4095 IFS=$as_save_IFS 4096 test -z "$as_dir" && as_dir=. 4097 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4098done 4099IFS=$as_save_IFS 4100 4101 ;; 4102esac 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. 4105if test "x$as_myself" = x; then 4106 as_myself=$0 4107fi 4108if 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; } 4111fi 4112 4113# Work around bugs in pre-3.0 UWIN ksh. 4114for as_var in ENV MAIL MAILPATH 4115do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4116done 4117PS1='$ ' 4118PS2='> ' 4119PS4='+ ' 4120 4121# NLS nuisances. 4122for 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 4126do 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 4132done 4133 4134# Required to use basename. 4135if expr a : '\(a\)' >/dev/null 2>&1 && 4136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4137 as_expr=expr 4138else 4139 as_expr=false 4140fi 4141 4142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4143 as_basename=basename 4144else 4145 as_basename=false 4146fi 4147 4148 4149# Name of the executable. 4150as_me=`$as_basename -- "$0" || 4151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4152 X"$0" : 'X\(//\)$' \| \ 4153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4154echo 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 4217if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4218 as_dirname=dirname 4219else 4220 as_dirname=false 4221fi 4222 4223ECHO_C= ECHO_N= ECHO_T= 4224case `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';; 4232esac 4233 4234if expr a : '\(a\)' >/dev/null 2>&1 && 4235 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4236 as_expr=expr 4237else 4238 as_expr=false 4239fi 4240 4241rm -f conf$$ conf$$.exe conf$$.file 4242if test -d conf$$.dir; then 4243 rm -f conf$$.dir/conf$$.file 4244else 4245 rm -f conf$$.dir 4246 mkdir conf$$.dir 4247fi 4248echo >conf$$.file 4249if 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' 4257elif ln conf$$.file conf$$ 2>/dev/null; then 4258 as_ln_s=ln 4259else 4260 as_ln_s='cp -p' 4261fi 4262rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4263rmdir conf$$.dir 2>/dev/null 4264 4265if mkdir -p . 2>/dev/null; then 4266 as_mkdir_p=: 4267else 4268 test -d ./-p && rmdir ./-p 4269 as_mkdir_p=false 4270fi 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. 4274cat >conf$$.file <<_ASEOF 4275#! /bin/sh 4276exit 0 4277_ASEOF 4278chmod +x conf$$.file 4279if test -x conf$$.file >/dev/null 2>&1; then 4280 as_executable_p="test -x" 4281else 4282 as_executable_p=: 4283fi 4284rm -f conf$$.file 4285 4286# Sed expression to map a string onto a valid CPP name. 4287as_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. 4290as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4291 4292 4293exec 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. 4298ac_log=" 4299This file was extended by xsetpointer $as_me 1.0.1, which was 4300generated 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 4308on `(hostname || uname -n) 2>/dev/null | sed 1q` 4309" 4310 4311_ACEOF 4312 4313cat >>$CONFIG_STATUS <<_ACEOF 4314# Files that config.status was made for. 4315config_files="$ac_config_files" 4316config_headers="$ac_config_headers" 4317config_commands="$ac_config_commands" 4318 4319_ACEOF 4320 4321cat >>$CONFIG_STATUS <<\_ACEOF 4322ac_cs_usage="\ 4323\`$as_me' instantiates files from templates according to the 4324current configuration. 4325 4326Usage: $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 4338Configuration files: 4339$config_files 4340 4341Configuration headers: 4342$config_headers 4343 4344Configuration commands: 4345$config_commands 4346 4347Report bugs to <bug-autoconf@gnu.org>." 4348 4349_ACEOF 4350cat >>$CONFIG_STATUS <<_ACEOF 4351ac_cs_version="\\ 4352xsetpointer config.status 1.0.1 4353configured by $0, generated by GNU Autoconf 2.60, 4354 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4355 4356Copyright (C) 2006 Free Software Foundation, Inc. 4357This config.status script is free software; the Free Software Foundation 4358gives unlimited permission to copy, distribute and modify it." 4359 4360ac_pwd='$ac_pwd' 4361srcdir='$srcdir' 4362INSTALL='$INSTALL' 4363_ACEOF 4364 4365cat >>$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. 4368ac_need_defaults=: 4369while test $# != 0 4370do 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 4403Try \`$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 4413Try \`$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 4421done 4422 4423ac_configure_extra_args= 4424 4425if $ac_cs_silent; then 4426 exec 6>/dev/null 4427 ac_configure_extra_args="$ac_configure_extra_args --silent" 4428fi 4429 4430_ACEOF 4431cat >>$CONFIG_STATUS <<_ACEOF 4432if \$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 4437fi 4438 4439_ACEOF 4440cat >>$CONFIG_STATUS <<\_ACEOF 4441exec 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 4451cat >>$CONFIG_STATUS <<_ACEOF 4452# 4453# INIT-COMMANDS 4454# 4455AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4456 4457_ACEOF 4458 4459cat >>$CONFIG_STATUS <<\_ACEOF 4460 4461# Handling of arguments. 4462for ac_config_target in $ac_config_targets 4463do 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 4470echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4471 { (exit 1); exit 1; }; };; 4472 esac 4473done 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. 4480if $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 4484fi 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 4521if test -n "$CONFIG_FILES"; then 4522 4523_ACEOF 4524 4525 4526 4527ac_delim='%!_!# ' 4528for ac_last_try in false false false false false :; do 4529 cat >conf$$subs.sed <<_ACEOF 4530SHELL!$SHELL$ac_delim 4531PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4532PACKAGE_NAME!$PACKAGE_NAME$ac_delim 4533PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4534PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4535PACKAGE_STRING!$PACKAGE_STRING$ac_delim 4536PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4537exec_prefix!$exec_prefix$ac_delim 4538prefix!$prefix$ac_delim 4539program_transform_name!$program_transform_name$ac_delim 4540bindir!$bindir$ac_delim 4541sbindir!$sbindir$ac_delim 4542libexecdir!$libexecdir$ac_delim 4543datarootdir!$datarootdir$ac_delim 4544datadir!$datadir$ac_delim 4545sysconfdir!$sysconfdir$ac_delim 4546sharedstatedir!$sharedstatedir$ac_delim 4547localstatedir!$localstatedir$ac_delim 4548includedir!$includedir$ac_delim 4549oldincludedir!$oldincludedir$ac_delim 4550docdir!$docdir$ac_delim 4551infodir!$infodir$ac_delim 4552htmldir!$htmldir$ac_delim 4553dvidir!$dvidir$ac_delim 4554pdfdir!$pdfdir$ac_delim 4555psdir!$psdir$ac_delim 4556libdir!$libdir$ac_delim 4557localedir!$localedir$ac_delim 4558mandir!$mandir$ac_delim 4559DEFS!$DEFS$ac_delim 4560ECHO_C!$ECHO_C$ac_delim 4561ECHO_N!$ECHO_N$ac_delim 4562ECHO_T!$ECHO_T$ac_delim 4563LIBS!$LIBS$ac_delim 4564build_alias!$build_alias$ac_delim 4565host_alias!$host_alias$ac_delim 4566target_alias!$target_alias$ac_delim 4567INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4568INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4569INSTALL_DATA!$INSTALL_DATA$ac_delim 4570CYGPATH_W!$CYGPATH_W$ac_delim 4571PACKAGE!$PACKAGE$ac_delim 4572VERSION!$VERSION$ac_delim 4573ACLOCAL!$ACLOCAL$ac_delim 4574AUTOCONF!$AUTOCONF$ac_delim 4575AUTOMAKE!$AUTOMAKE$ac_delim 4576AUTOHEADER!$AUTOHEADER$ac_delim 4577MAKEINFO!$MAKEINFO$ac_delim 4578install_sh!$install_sh$ac_delim 4579STRIP!$STRIP$ac_delim 4580INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4581mkdir_p!$mkdir_p$ac_delim 4582AWK!$AWK$ac_delim 4583SET_MAKE!$SET_MAKE$ac_delim 4584am__leading_dot!$am__leading_dot$ac_delim 4585AMTAR!$AMTAR$ac_delim 4586am__tar!$am__tar$ac_delim 4587am__untar!$am__untar$ac_delim 4588MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4589MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4590MAINT!$MAINT$ac_delim 4591CC!$CC$ac_delim 4592CFLAGS!$CFLAGS$ac_delim 4593LDFLAGS!$LDFLAGS$ac_delim 4594CPPFLAGS!$CPPFLAGS$ac_delim 4595ac_ct_CC!$ac_ct_CC$ac_delim 4596EXEEXT!$EXEEXT$ac_delim 4597OBJEXT!$OBJEXT$ac_delim 4598DEPDIR!$DEPDIR$ac_delim 4599am__include!$am__include$ac_delim 4600am__quote!$am__quote$ac_delim 4601AMDEP_TRUE!$AMDEP_TRUE$ac_delim 4602AMDEP_FALSE!$AMDEP_FALSE$ac_delim 4603AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 4604CCDEPMODE!$CCDEPMODE$ac_delim 4605am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4606am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4607PKG_CONFIG!$PKG_CONFIG$ac_delim 4608XSETPOINTER_CFLAGS!$XSETPOINTER_CFLAGS$ac_delim 4609XSETPOINTER_LIBS!$XSETPOINTER_LIBS$ac_delim 4610build!$build$ac_delim 4611build_cpu!$build_cpu$ac_delim 4612build_vendor!$build_vendor$ac_delim 4613build_os!$build_os$ac_delim 4614host!$host$ac_delim 4615host_cpu!$host_cpu$ac_delim 4616host_vendor!$host_vendor$ac_delim 4617host_os!$host_os$ac_delim 4618APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 4619LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 4620FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 4621MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 4622DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 4623ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 4624APP_MAN_DIR!$APP_MAN_DIR$ac_delim 4625LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 4626FILE_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 4633echo "$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 4638done 4639 4640ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4641if test -n "$ac_eof"; then 4642 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4643 ac_eof=`expr $ac_eof + 1` 4644fi 4645 4646cat >>$CONFIG_STATUS <<_ACEOF 4647cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4648/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4649_ACEOF 4650sed ' 4651s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4652s/^/s,@/; s/!/@,|#_!!_#|/ 4653:n 4654t n 4655s/'"$ac_delim"'$/,g/; t 4656s/$/\\/; p 4657N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4658' >>$CONFIG_STATUS <conf$$subs.sed 4659rm -f conf$$subs.sed 4660cat >>$CONFIG_STATUS <<_ACEOF 4661CEOF$ac_eof 4662_ACEOF 4663 4664 4665ac_delim='%!_!# ' 4666for ac_last_try in false false false false false :; do 4667 cat >conf$$subs.sed <<_ACEOF 4668MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 4669DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 4670ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 4671LIBOBJS!$LIBOBJS$ac_delim 4672LTLIBOBJS!$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 4679echo "$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 4684done 4685 4686ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4687if test -n "$ac_eof"; then 4688 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4689 ac_eof=`expr $ac_eof + 1` 4690fi 4691 4692cat >>$CONFIG_STATUS <<_ACEOF 4693cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 4694/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4695_ACEOF 4696sed ' 4697s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4698s/^/s,@/; s/!/@,|#_!!_#|/ 4699:n 4700t n 4701s/'"$ac_delim"'$/,g/; t 4702s/$/\\/; p 4703N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4704' >>$CONFIG_STATUS <conf$$subs.sed 4705rm -f conf$$subs.sed 4706cat >>$CONFIG_STATUS <<_ACEOF 4707:end 4708s/|#_!!_#|//g 4709CEOF$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). 4717if test "x$srcdir" = x.; then 4718 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4719s/:*\$(srcdir):*/:/ 4720s/:*\${srcdir}:*/:/ 4721s/:*@srcdir@:*/:/ 4722s/^\([^=]*=[ ]*\):*/\1/ 4723s/:*$// 4724s/^[^=]*=[ ]*$// 4725}' 4726fi 4727 4728cat >>$CONFIG_STATUS <<\_ACEOF 4729fi # test -n "$CONFIG_FILES" 4730 4731 4732for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 4733do 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 4740echo "$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 4770echo "$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 4784echo "$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 || 4798echo 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 || 4833echo 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 4855echo "$as_me: error: cannot create directory $as_dir" >&2;} 4856 { (exit 1); exit 1; }; }; } 4857 ac_builddir=. 4858 4859case "$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 ;; 4869esac 4870ac_abs_top_builddir=$ac_pwd 4871ac_abs_builddir=$ac_pwd$ac_dir_suffix 4872# for backward compatibility: 4873ac_top_builddir=$ac_top_build_prefix 4874 4875case $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 ;; 4888esac 4889ac_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 4904cat >>$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. 4907ac_datarootdir_hack=; ac_datarootdir_seen= 4908 4909case `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 4922echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4923_ACEOF 4924cat >>$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' ;; 4932esac 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? 4938cat >>$CONFIG_STATUS <<_ACEOF 4939 sed "$ac_vpsub 4940$extrasub 4941_ACEOF 4942cat >>$CONFIG_STATUS <<\_ACEOF 4943:t 4944/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4945s&@configure_input@&$configure_input&;t t 4946s&@top_builddir@&$ac_top_builddir_sub&;t t 4947s&@srcdir@&$ac_srcdir&;t t 4948s&@abs_srcdir@&$ac_abs_srcdir&;t t 4949s&@top_srcdir@&$ac_top_srcdir&;t t 4950s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4951s&@builddir@&$ac_builddir&;t t 4952s&@abs_builddir@&$ac_abs_builddir&;t t 4953s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4954s&@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 4958test -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' 4962which seems to be undefined. Please make sure it is defined." >&5 4963echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4964which 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. 4980rm -f conftest.defines conftest.tail 4981# First, append a space to every undef/define line, to ease matching. 4982echo '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. 4988ac_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. 4993ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 4994ac_dB='\\)[ (].*,\\1define\\2' 4995ac_dC=' ' 4996ac_dD=' ,' 4997 4998uniq 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.) 5016echo 's/ $// 5017s,^[ #]*u.*,/* & */,' >>conftest.defines 5018 5019# Break up conftest.defines: 5020ac_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. 5026ac_in='$ac_file_inputs' 5027ac_out='"$tmp/out1"' 5028ac_nxt='"$tmp/out2"' 5029 5030while : 5031do 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 5038b 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 5049done 5050rm -f conftest.defines conftest.tail 5051 5052echo "ac_result=$ac_in" >>$CONFIG_STATUS 5053cat >>$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 5059echo "$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 5071for _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 5078done 5079echo "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 || 5084echo 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 5105echo "$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 || 5126echo 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 || 5170echo 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 || 5205echo 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 5227echo "$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 5232done 5233 ;; 5234 5235 esac 5236done # for ac_tag 5237 5238 5239{ (exit 0); exit 0; } 5240_ACEOF 5241chmod +x $CONFIG_STATUS 5242ac_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. 5253if 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; } 5264fi 5265 5266