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