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