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