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