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