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