1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 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*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME= 578PACKAGE_TARNAME= 579PACKAGE_VERSION= 580PACKAGE_STRING= 581PACKAGE_BUGREPORT= 582PACKAGE_URL= 583 584ac_unique_file="configure.in" 585ac_subst_vars='LTLIBOBJS 586LIBOBJS 587INCLUDE_OUTPUTS 588INCLUDE_RULES 589TCNATIVE_LIBS 590TCNATIVE_LDFLAGS 591TCNATIVE_INCLUDES 592TCNATIVE_PRIV_INCLUDES 593TCNATIVE_EXPORT_LIBS 594EXTRA_OS_LINK 595TCNATIVE_LIBNAME 596lib_target 597so_ext 598OBJEXT 599EXEEXT 600ac_ct_CC 601CPPFLAGS 602LDFLAGS 603CFLAGS 604CC 605JAVA_OS 606JAVA_PLATFORM 607JAVA_HOME 608APR_BUILD_DIR 609APR_LIBS 610APR_LIBTOOL_LIBS 611APR_INCLUDES 612TCNATIVE_LIBTOOL_VERSION 613TCNATIVE_MAJOR_VERSION 614TCNATIVE_DOTTED_VERSION 615abs_builddir 616abs_srcdir 617top_builddir 618INSTALL_DATA 619INSTALL_SCRIPT 620INSTALL_PROGRAM 621target_os 622target_vendor 623target_cpu 624target 625host_os 626host_vendor 627host_cpu 628host 629build_os 630build_vendor 631build_cpu 632build 633TCN_CONFIG_LOCATION 634target_alias 635host_alias 636build_alias 637LIBS 638ECHO_T 639ECHO_N 640ECHO_C 641DEFS 642mandir 643localedir 644libdir 645psdir 646pdfdir 647dvidir 648htmldir 649infodir 650docdir 651oldincludedir 652includedir 653runstatedir 654localstatedir 655sharedstatedir 656sysconfdir 657datadir 658datarootdir 659libexecdir 660sbindir 661bindir 662program_transform_name 663prefix 664exec_prefix 665PACKAGE_URL 666PACKAGE_BUGREPORT 667PACKAGE_STRING 668PACKAGE_VERSION 669PACKAGE_TARNAME 670PACKAGE_NAME 671PATH_SEPARATOR 672SHELL' 673ac_subst_files='' 674ac_user_opts=' 675enable_option_checking 676enable_layout 677with_apr 678with_java_home 679with_os_type 680enable_openssl 681enable_insecure_export_ciphers 682with_ssl 683enable_openssl_version_check 684enable_maintainer_mode 685' 686 ac_precious_vars='build_alias 687host_alias 688target_alias 689CC 690CFLAGS 691LDFLAGS 692LIBS 693CPPFLAGS' 694 695 696# Initialize some variables set by options. 697ac_init_help= 698ac_init_version=false 699ac_unrecognized_opts= 700ac_unrecognized_sep= 701# The variables have the same names as the options, with 702# dashes changed to underlines. 703cache_file=/dev/null 704exec_prefix=NONE 705no_create= 706no_recursion= 707prefix=NONE 708program_prefix=NONE 709program_suffix=NONE 710program_transform_name=s,x,x, 711silent= 712site= 713srcdir= 714verbose= 715x_includes=NONE 716x_libraries=NONE 717 718# Installation directory options. 719# These are left unexpanded so users can "make install exec_prefix=/foo" 720# and all the variables that are supposed to be based on exec_prefix 721# by default will actually change. 722# Use braces instead of parens because sh, perl, etc. also accept them. 723# (The list follows the same order as the GNU Coding Standards.) 724bindir='${exec_prefix}/bin' 725sbindir='${exec_prefix}/sbin' 726libexecdir='${exec_prefix}/libexec' 727datarootdir='${prefix}/share' 728datadir='${datarootdir}' 729sysconfdir='${prefix}/etc' 730sharedstatedir='${prefix}/com' 731localstatedir='${prefix}/var' 732runstatedir='${localstatedir}/run' 733includedir='${prefix}/include' 734oldincludedir='/usr/include' 735docdir='${datarootdir}/doc/${PACKAGE}' 736infodir='${datarootdir}/info' 737htmldir='${docdir}' 738dvidir='${docdir}' 739pdfdir='${docdir}' 740psdir='${docdir}' 741libdir='${exec_prefix}/lib' 742localedir='${datarootdir}/locale' 743mandir='${datarootdir}/man' 744 745ac_prev= 746ac_dashdash= 747for ac_option 748do 749 # If the previous option needs an argument, assign it. 750 if test -n "$ac_prev"; then 751 eval $ac_prev=\$ac_option 752 ac_prev= 753 continue 754 fi 755 756 case $ac_option in 757 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 758 *=) ac_optarg= ;; 759 *) ac_optarg=yes ;; 760 esac 761 762 # Accept the important Cygnus configure options, so we can diagnose typos. 763 764 case $ac_dashdash$ac_option in 765 --) 766 ac_dashdash=yes ;; 767 768 -bindir | --bindir | --bindi | --bind | --bin | --bi) 769 ac_prev=bindir ;; 770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 771 bindir=$ac_optarg ;; 772 773 -build | --build | --buil | --bui | --bu) 774 ac_prev=build_alias ;; 775 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 776 build_alias=$ac_optarg ;; 777 778 -cache-file | --cache-file | --cache-fil | --cache-fi \ 779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 780 ac_prev=cache_file ;; 781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 783 cache_file=$ac_optarg ;; 784 785 --config-cache | -C) 786 cache_file=config.cache ;; 787 788 -datadir | --datadir | --datadi | --datad) 789 ac_prev=datadir ;; 790 -datadir=* | --datadir=* | --datadi=* | --datad=*) 791 datadir=$ac_optarg ;; 792 793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 794 | --dataroo | --dataro | --datar) 795 ac_prev=datarootdir ;; 796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 798 datarootdir=$ac_optarg ;; 799 800 -disable-* | --disable-*) 801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 802 # Reject names that are not valid shell variable names. 803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 804 as_fn_error $? "invalid feature name: $ac_useropt" 805 ac_useropt_orig=$ac_useropt 806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 807 case $ac_user_opts in 808 *" 809"enable_$ac_useropt" 810"*) ;; 811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 812 ac_unrecognized_sep=', ';; 813 esac 814 eval enable_$ac_useropt=no ;; 815 816 -docdir | --docdir | --docdi | --doc | --do) 817 ac_prev=docdir ;; 818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 819 docdir=$ac_optarg ;; 820 821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 822 ac_prev=dvidir ;; 823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 824 dvidir=$ac_optarg ;; 825 826 -enable-* | --enable-*) 827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 828 # Reject names that are not valid shell variable names. 829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 830 as_fn_error $? "invalid feature name: $ac_useropt" 831 ac_useropt_orig=$ac_useropt 832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 833 case $ac_user_opts in 834 *" 835"enable_$ac_useropt" 836"*) ;; 837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 838 ac_unrecognized_sep=', ';; 839 esac 840 eval enable_$ac_useropt=\$ac_optarg ;; 841 842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 844 | --exec | --exe | --ex) 845 ac_prev=exec_prefix ;; 846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 848 | --exec=* | --exe=* | --ex=*) 849 exec_prefix=$ac_optarg ;; 850 851 -gas | --gas | --ga | --g) 852 # Obsolete; use --with-gas. 853 with_gas=yes ;; 854 855 -help | --help | --hel | --he | -h) 856 ac_init_help=long ;; 857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 858 ac_init_help=recursive ;; 859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 860 ac_init_help=short ;; 861 862 -host | --host | --hos | --ho) 863 ac_prev=host_alias ;; 864 -host=* | --host=* | --hos=* | --ho=*) 865 host_alias=$ac_optarg ;; 866 867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 868 ac_prev=htmldir ;; 869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 870 | --ht=*) 871 htmldir=$ac_optarg ;; 872 873 -includedir | --includedir | --includedi | --included | --include \ 874 | --includ | --inclu | --incl | --inc) 875 ac_prev=includedir ;; 876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 877 | --includ=* | --inclu=* | --incl=* | --inc=*) 878 includedir=$ac_optarg ;; 879 880 -infodir | --infodir | --infodi | --infod | --info | --inf) 881 ac_prev=infodir ;; 882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 883 infodir=$ac_optarg ;; 884 885 -libdir | --libdir | --libdi | --libd) 886 ac_prev=libdir ;; 887 -libdir=* | --libdir=* | --libdi=* | --libd=*) 888 libdir=$ac_optarg ;; 889 890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 891 | --libexe | --libex | --libe) 892 ac_prev=libexecdir ;; 893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 894 | --libexe=* | --libex=* | --libe=*) 895 libexecdir=$ac_optarg ;; 896 897 -localedir | --localedir | --localedi | --localed | --locale) 898 ac_prev=localedir ;; 899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 900 localedir=$ac_optarg ;; 901 902 -localstatedir | --localstatedir | --localstatedi | --localstated \ 903 | --localstate | --localstat | --localsta | --localst | --locals) 904 ac_prev=localstatedir ;; 905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 907 localstatedir=$ac_optarg ;; 908 909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 910 ac_prev=mandir ;; 911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 912 mandir=$ac_optarg ;; 913 914 -nfp | --nfp | --nf) 915 # Obsolete; use --without-fp. 916 with_fp=no ;; 917 918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 919 | --no-cr | --no-c | -n) 920 no_create=yes ;; 921 922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 924 no_recursion=yes ;; 925 926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 928 | --oldin | --oldi | --old | --ol | --o) 929 ac_prev=oldincludedir ;; 930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 933 oldincludedir=$ac_optarg ;; 934 935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 936 ac_prev=prefix ;; 937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 938 prefix=$ac_optarg ;; 939 940 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 941 | --program-pre | --program-pr | --program-p) 942 ac_prev=program_prefix ;; 943 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 945 program_prefix=$ac_optarg ;; 946 947 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 948 | --program-suf | --program-su | --program-s) 949 ac_prev=program_suffix ;; 950 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 952 program_suffix=$ac_optarg ;; 953 954 -program-transform-name | --program-transform-name \ 955 | --program-transform-nam | --program-transform-na \ 956 | --program-transform-n | --program-transform- \ 957 | --program-transform | --program-transfor \ 958 | --program-transfo | --program-transf \ 959 | --program-trans | --program-tran \ 960 | --progr-tra | --program-tr | --program-t) 961 ac_prev=program_transform_name ;; 962 -program-transform-name=* | --program-transform-name=* \ 963 | --program-transform-nam=* | --program-transform-na=* \ 964 | --program-transform-n=* | --program-transform-=* \ 965 | --program-transform=* | --program-transfor=* \ 966 | --program-transfo=* | --program-transf=* \ 967 | --program-trans=* | --program-tran=* \ 968 | --progr-tra=* | --program-tr=* | --program-t=*) 969 program_transform_name=$ac_optarg ;; 970 971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 972 ac_prev=pdfdir ;; 973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 974 pdfdir=$ac_optarg ;; 975 976 -psdir | --psdir | --psdi | --psd | --ps) 977 ac_prev=psdir ;; 978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 979 psdir=$ac_optarg ;; 980 981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 982 | -silent | --silent | --silen | --sile | --sil) 983 silent=yes ;; 984 985 -runstatedir | --runstatedir | --runstatedi | --runstated \ 986 | --runstate | --runstat | --runsta | --runst | --runs \ 987 | --run | --ru | --r) 988 ac_prev=runstatedir ;; 989 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 990 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 991 | --run=* | --ru=* | --r=*) 992 runstatedir=$ac_optarg ;; 993 994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 995 ac_prev=sbindir ;; 996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 997 | --sbi=* | --sb=*) 998 sbindir=$ac_optarg ;; 999 1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1002 | --sharedst | --shareds | --shared | --share | --shar \ 1003 | --sha | --sh) 1004 ac_prev=sharedstatedir ;; 1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1008 | --sha=* | --sh=*) 1009 sharedstatedir=$ac_optarg ;; 1010 1011 -site | --site | --sit) 1012 ac_prev=site ;; 1013 -site=* | --site=* | --sit=*) 1014 site=$ac_optarg ;; 1015 1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1017 ac_prev=srcdir ;; 1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1019 srcdir=$ac_optarg ;; 1020 1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1022 | --syscon | --sysco | --sysc | --sys | --sy) 1023 ac_prev=sysconfdir ;; 1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1026 sysconfdir=$ac_optarg ;; 1027 1028 -target | --target | --targe | --targ | --tar | --ta | --t) 1029 ac_prev=target_alias ;; 1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1031 target_alias=$ac_optarg ;; 1032 1033 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1034 verbose=yes ;; 1035 1036 -version | --version | --versio | --versi | --vers | -V) 1037 ac_init_version=: ;; 1038 1039 -with-* | --with-*) 1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1041 # Reject names that are not valid shell variable names. 1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1043 as_fn_error $? "invalid package name: $ac_useropt" 1044 ac_useropt_orig=$ac_useropt 1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1046 case $ac_user_opts in 1047 *" 1048"with_$ac_useropt" 1049"*) ;; 1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1051 ac_unrecognized_sep=', ';; 1052 esac 1053 eval with_$ac_useropt=\$ac_optarg ;; 1054 1055 -without-* | --without-*) 1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1057 # Reject names that are not valid shell variable names. 1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1059 as_fn_error $? "invalid package name: $ac_useropt" 1060 ac_useropt_orig=$ac_useropt 1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1062 case $ac_user_opts in 1063 *" 1064"with_$ac_useropt" 1065"*) ;; 1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1067 ac_unrecognized_sep=', ';; 1068 esac 1069 eval with_$ac_useropt=no ;; 1070 1071 --x) 1072 # Obsolete; use --with-x. 1073 with_x=yes ;; 1074 1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1076 | --x-incl | --x-inc | --x-in | --x-i) 1077 ac_prev=x_includes ;; 1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1080 x_includes=$ac_optarg ;; 1081 1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1084 ac_prev=x_libraries ;; 1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1087 x_libraries=$ac_optarg ;; 1088 1089 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1090Try \`$0 --help' for more information" 1091 ;; 1092 1093 *=*) 1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1095 # Reject names that are not valid shell variable names. 1096 case $ac_envvar in #( 1097 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1099 esac 1100 eval $ac_envvar=\$ac_optarg 1101 export $ac_envvar ;; 1102 1103 *) 1104 # FIXME: should be removed in autoconf 3.0. 1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1109 ;; 1110 1111 esac 1112done 1113 1114if test -n "$ac_prev"; then 1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1116 as_fn_error $? "missing argument to $ac_option" 1117fi 1118 1119if test -n "$ac_unrecognized_opts"; then 1120 case $enable_option_checking in 1121 no) ;; 1122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1124 esac 1125fi 1126 1127# Check all directory arguments for consistency. 1128for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1129 datadir sysconfdir sharedstatedir localstatedir includedir \ 1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1131 libdir localedir mandir runstatedir 1132do 1133 eval ac_val=\$$ac_var 1134 # Remove trailing slashes. 1135 case $ac_val in 1136 */ ) 1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1138 eval $ac_var=\$ac_val;; 1139 esac 1140 # Be sure to have absolute directory names. 1141 case $ac_val in 1142 [\\/$]* | ?:[\\/]* ) continue;; 1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1144 esac 1145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1146done 1147 1148# There might be people who depend on the old broken behavior: `$host' 1149# used to hold the argument of --host etc. 1150# FIXME: To remove some day. 1151build=$build_alias 1152host=$host_alias 1153target=$target_alias 1154 1155# FIXME: To remove some day. 1156if test "x$host_alias" != x; then 1157 if test "x$build_alias" = x; then 1158 cross_compiling=maybe 1159 elif test "x$build_alias" != "x$host_alias"; then 1160 cross_compiling=yes 1161 fi 1162fi 1163 1164ac_tool_prefix= 1165test -n "$host_alias" && ac_tool_prefix=$host_alias- 1166 1167test "$silent" = yes && exec 6>/dev/null 1168 1169 1170ac_pwd=`pwd` && test -n "$ac_pwd" && 1171ac_ls_di=`ls -di .` && 1172ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1173 as_fn_error $? "working directory cannot be determined" 1174test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1175 as_fn_error $? "pwd does not report name of working directory" 1176 1177 1178# Find the source files, if location was not specified. 1179if test -z "$srcdir"; then 1180 ac_srcdir_defaulted=yes 1181 # Try the directory containing this script, then the parent directory. 1182 ac_confdir=`$as_dirname -- "$as_myself" || 1183$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1184 X"$as_myself" : 'X\(//\)[^/]' \| \ 1185 X"$as_myself" : 'X\(//\)$' \| \ 1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1187$as_echo X"$as_myself" | 1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1189 s//\1/ 1190 q 1191 } 1192 /^X\(\/\/\)[^/].*/{ 1193 s//\1/ 1194 q 1195 } 1196 /^X\(\/\/\)$/{ 1197 s//\1/ 1198 q 1199 } 1200 /^X\(\/\).*/{ 1201 s//\1/ 1202 q 1203 } 1204 s/.*/./; q'` 1205 srcdir=$ac_confdir 1206 if test ! -r "$srcdir/$ac_unique_file"; then 1207 srcdir=.. 1208 fi 1209else 1210 ac_srcdir_defaulted=no 1211fi 1212if test ! -r "$srcdir/$ac_unique_file"; then 1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1215fi 1216ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1217ac_abs_confdir=`( 1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1219 pwd)` 1220# When building in place, set srcdir=. 1221if test "$ac_abs_confdir" = "$ac_pwd"; then 1222 srcdir=. 1223fi 1224# Remove unnecessary trailing slashes from srcdir. 1225# Double slashes in file names in object file debugging info 1226# mess up M-x gdb in Emacs. 1227case $srcdir in 1228*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1229esac 1230for ac_var in $ac_precious_vars; do 1231 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1232 eval ac_env_${ac_var}_value=\$${ac_var} 1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1234 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1235done 1236 1237# 1238# Report the --help message. 1239# 1240if test "$ac_init_help" = "long"; then 1241 # Omit some internal or obsolete options to make the list less imposing. 1242 # This message is too long to be a string in the A/UX 3.1 sh. 1243 cat <<_ACEOF 1244\`configure' configures this package to adapt to many kinds of systems. 1245 1246Usage: $0 [OPTION]... [VAR=VALUE]... 1247 1248To assign environment variables (e.g., CC, CFLAGS...), specify them as 1249VAR=VALUE. See below for descriptions of some of the useful variables. 1250 1251Defaults for the options are specified in brackets. 1252 1253Configuration: 1254 -h, --help display this help and exit 1255 --help=short display options specific to this package 1256 --help=recursive display the short help of all the included packages 1257 -V, --version display version information and exit 1258 -q, --quiet, --silent do not print \`checking ...' messages 1259 --cache-file=FILE cache test results in FILE [disabled] 1260 -C, --config-cache alias for \`--cache-file=config.cache' 1261 -n, --no-create do not create output files 1262 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1263 1264Installation directories: 1265 --prefix=PREFIX install architecture-independent files in PREFIX 1266 [$ac_default_prefix] 1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1268 [PREFIX] 1269 1270By default, \`make install' will install all the files in 1271\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1272an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1273for instance \`--prefix=\$HOME'. 1274 1275For better control, use the options below. 1276 1277Fine tuning of the installation directories: 1278 --bindir=DIR user executables [EPREFIX/bin] 1279 --sbindir=DIR system admin executables [EPREFIX/sbin] 1280 --libexecdir=DIR program executables [EPREFIX/libexec] 1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1284 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1285 --libdir=DIR object code libraries [EPREFIX/lib] 1286 --includedir=DIR C header files [PREFIX/include] 1287 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1290 --infodir=DIR info documentation [DATAROOTDIR/info] 1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1292 --mandir=DIR man documentation [DATAROOTDIR/man] 1293 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1294 --htmldir=DIR html documentation [DOCDIR] 1295 --dvidir=DIR dvi documentation [DOCDIR] 1296 --pdfdir=DIR pdf documentation [DOCDIR] 1297 --psdir=DIR ps documentation [DOCDIR] 1298_ACEOF 1299 1300 cat <<\_ACEOF 1301 1302System types: 1303 --build=BUILD configure for building on BUILD [guessed] 1304 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1305 --target=TARGET configure for building compilers for TARGET [HOST] 1306_ACEOF 1307fi 1308 1309if test -n "$ac_init_help"; then 1310 1311 cat <<\_ACEOF 1312 1313Optional Features: 1314 --disable-option-checking ignore unrecognized --enable/--with options 1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1317 --enable-layout=LAYOUT 1318 --disable-openssl avoid using OpenSSL toolkit 1319 --enable-insecure-export-ciphers 1320 allow including insecure export and null ciphers in 1321 the cipher string (default is disabled=not allowed) 1322 --disable-openssl-version-check 1323 disable the OpenSSL version check 1324 --enable-maintainer-mode 1325 Turn on debugging and compile time warnings 1326 1327Optional Packages: 1328 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1329 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1330 --with-apr=PATH prefix for installed APR or the full path to 1331 apr-config 1332 --with-java-home=DIR Specify the location of your JDK installation 1333 --with-os-type=SUBDIR Location of JDK os-type subdirectory. 1334 --with-ssl=PATH Build with OpenSSL yes|no|path 1335 1336Some influential environment variables: 1337 CC C compiler command 1338 CFLAGS C compiler flags 1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1340 nonstandard directory <lib dir> 1341 LIBS libraries to pass to the linker, e.g. -l<library> 1342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1343 you have headers in a nonstandard directory <include dir> 1344 1345Use these variables to override the choices made by `configure' or to help 1346it to find libraries and programs with nonstandard names/locations. 1347 1348Report bugs to the package provider. 1349_ACEOF 1350ac_status=$? 1351fi 1352 1353if test "$ac_init_help" = "recursive"; then 1354 # If there are subdirs, report their specific --help. 1355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1356 test -d "$ac_dir" || 1357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1358 continue 1359 ac_builddir=. 1360 1361case "$ac_dir" in 1362.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1363*) 1364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1365 # A ".." for each directory in $ac_dir_suffix. 1366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1367 case $ac_top_builddir_sub in 1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1370 esac ;; 1371esac 1372ac_abs_top_builddir=$ac_pwd 1373ac_abs_builddir=$ac_pwd$ac_dir_suffix 1374# for backward compatibility: 1375ac_top_builddir=$ac_top_build_prefix 1376 1377case $srcdir in 1378 .) # We are building in place. 1379 ac_srcdir=. 1380 ac_top_srcdir=$ac_top_builddir_sub 1381 ac_abs_top_srcdir=$ac_pwd ;; 1382 [\\/]* | ?:[\\/]* ) # Absolute name. 1383 ac_srcdir=$srcdir$ac_dir_suffix; 1384 ac_top_srcdir=$srcdir 1385 ac_abs_top_srcdir=$srcdir ;; 1386 *) # Relative name. 1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1388 ac_top_srcdir=$ac_top_build_prefix$srcdir 1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1390esac 1391ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1392 1393 cd "$ac_dir" || { ac_status=$?; continue; } 1394 # Check for guested configure. 1395 if test -f "$ac_srcdir/configure.gnu"; then 1396 echo && 1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1398 elif test -f "$ac_srcdir/configure"; then 1399 echo && 1400 $SHELL "$ac_srcdir/configure" --help=recursive 1401 else 1402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1403 fi || ac_status=$? 1404 cd "$ac_pwd" || { ac_status=$?; break; } 1405 done 1406fi 1407 1408test -n "$ac_init_help" && exit $ac_status 1409if $ac_init_version; then 1410 cat <<\_ACEOF 1411configure 1412generated by GNU Autoconf 2.69 1413 1414Copyright (C) 2012 Free Software Foundation, Inc. 1415This configure script is free software; the Free Software Foundation 1416gives unlimited permission to copy, distribute and modify it. 1417_ACEOF 1418 exit 1419fi 1420 1421## ------------------------ ## 1422## Autoconf initialization. ## 1423## ------------------------ ## 1424 1425# ac_fn_c_try_compile LINENO 1426# -------------------------- 1427# Try to compile conftest.$ac_ext, and return whether this succeeded. 1428ac_fn_c_try_compile () 1429{ 1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1431 rm -f conftest.$ac_objext 1432 if { { ac_try="$ac_compile" 1433case "(($ac_try" in 1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1435 *) ac_try_echo=$ac_try;; 1436esac 1437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1438$as_echo "$ac_try_echo"; } >&5 1439 (eval "$ac_compile") 2>conftest.err 1440 ac_status=$? 1441 if test -s conftest.err; then 1442 grep -v '^ *+' conftest.err >conftest.er1 1443 cat conftest.er1 >&5 1444 mv -f conftest.er1 conftest.err 1445 fi 1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1447 test $ac_status = 0; } && { 1448 test -z "$ac_c_werror_flag" || 1449 test ! -s conftest.err 1450 } && test -s conftest.$ac_objext; then : 1451 ac_retval=0 1452else 1453 $as_echo "$as_me: failed program was:" >&5 1454sed 's/^/| /' conftest.$ac_ext >&5 1455 1456 ac_retval=1 1457fi 1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1459 as_fn_set_status $ac_retval 1460 1461} # ac_fn_c_try_compile 1462 1463# ac_fn_c_try_run LINENO 1464# ---------------------- 1465# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1466# that executables *can* be run. 1467ac_fn_c_try_run () 1468{ 1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1470 if { { ac_try="$ac_link" 1471case "(($ac_try" in 1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1473 *) ac_try_echo=$ac_try;; 1474esac 1475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1476$as_echo "$ac_try_echo"; } >&5 1477 (eval "$ac_link") 2>&5 1478 ac_status=$? 1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1480 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1481 { { case "(($ac_try" in 1482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1483 *) ac_try_echo=$ac_try;; 1484esac 1485eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1486$as_echo "$ac_try_echo"; } >&5 1487 (eval "$ac_try") 2>&5 1488 ac_status=$? 1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1490 test $ac_status = 0; }; }; then : 1491 ac_retval=0 1492else 1493 $as_echo "$as_me: program exited with status $ac_status" >&5 1494 $as_echo "$as_me: failed program was:" >&5 1495sed 's/^/| /' conftest.$ac_ext >&5 1496 1497 ac_retval=$ac_status 1498fi 1499 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1501 as_fn_set_status $ac_retval 1502 1503} # ac_fn_c_try_run 1504 1505# ac_fn_c_try_link LINENO 1506# ----------------------- 1507# Try to link conftest.$ac_ext, and return whether this succeeded. 1508ac_fn_c_try_link () 1509{ 1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1511 rm -f conftest.$ac_objext conftest$ac_exeext 1512 if { { ac_try="$ac_link" 1513case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516esac 1517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518$as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_link") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } && { 1528 test -z "$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 } && test -s conftest$ac_exeext && { 1531 test "$cross_compiling" = yes || 1532 test -x conftest$ac_exeext 1533 }; then : 1534 ac_retval=0 1535else 1536 $as_echo "$as_me: failed program was:" >&5 1537sed 's/^/| /' conftest.$ac_ext >&5 1538 1539 ac_retval=1 1540fi 1541 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1542 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1543 # interfere with the next link command; also delete a directory that is 1544 # left behind by Apple's compiler. We do this before executing the actions. 1545 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1547 as_fn_set_status $ac_retval 1548 1549} # ac_fn_c_try_link 1550cat >config.log <<_ACEOF 1551This file contains any messages produced by compilers while 1552running configure, to aid debugging if configure makes a mistake. 1553 1554It was created by $as_me, which was 1555generated by GNU Autoconf 2.69. Invocation command line was 1556 1557 $ $0 $@ 1558 1559_ACEOF 1560exec 5>>config.log 1561{ 1562cat <<_ASUNAME 1563## --------- ## 1564## Platform. ## 1565## --------- ## 1566 1567hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1568uname -m = `(uname -m) 2>/dev/null || echo unknown` 1569uname -r = `(uname -r) 2>/dev/null || echo unknown` 1570uname -s = `(uname -s) 2>/dev/null || echo unknown` 1571uname -v = `(uname -v) 2>/dev/null || echo unknown` 1572 1573/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1574/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1575 1576/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1577/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1578/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1579/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1580/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1581/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1582/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1583 1584_ASUNAME 1585 1586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1587for as_dir in $PATH 1588do 1589 IFS=$as_save_IFS 1590 test -z "$as_dir" && as_dir=. 1591 $as_echo "PATH: $as_dir" 1592 done 1593IFS=$as_save_IFS 1594 1595} >&5 1596 1597cat >&5 <<_ACEOF 1598 1599 1600## ----------- ## 1601## Core tests. ## 1602## ----------- ## 1603 1604_ACEOF 1605 1606 1607# Keep a trace of the command line. 1608# Strip out --no-create and --no-recursion so they do not pile up. 1609# Strip out --silent because we don't want to record it for future runs. 1610# Also quote any args containing shell meta-characters. 1611# Make two passes to allow for proper duplicate-argument suppression. 1612ac_configure_args= 1613ac_configure_args0= 1614ac_configure_args1= 1615ac_must_keep_next=false 1616for ac_pass in 1 2 1617do 1618 for ac_arg 1619 do 1620 case $ac_arg in 1621 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1622 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1623 | -silent | --silent | --silen | --sile | --sil) 1624 continue ;; 1625 *\'*) 1626 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1627 esac 1628 case $ac_pass in 1629 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1630 2) 1631 as_fn_append ac_configure_args1 " '$ac_arg'" 1632 if test $ac_must_keep_next = true; then 1633 ac_must_keep_next=false # Got value, back to normal. 1634 else 1635 case $ac_arg in 1636 *=* | --config-cache | -C | -disable-* | --disable-* \ 1637 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1638 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1639 | -with-* | --with-* | -without-* | --without-* | --x) 1640 case "$ac_configure_args0 " in 1641 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1642 esac 1643 ;; 1644 -* ) ac_must_keep_next=true ;; 1645 esac 1646 fi 1647 as_fn_append ac_configure_args " '$ac_arg'" 1648 ;; 1649 esac 1650 done 1651done 1652{ ac_configure_args0=; unset ac_configure_args0;} 1653{ ac_configure_args1=; unset ac_configure_args1;} 1654 1655# When interrupted or exit'd, cleanup temporary files, and complete 1656# config.log. We remove comments because anyway the quotes in there 1657# would cause problems or look ugly. 1658# WARNING: Use '\'' to represent an apostrophe within the trap. 1659# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1660trap 'exit_status=$? 1661 # Save into config.log some information that might help in debugging. 1662 { 1663 echo 1664 1665 $as_echo "## ---------------- ## 1666## Cache variables. ## 1667## ---------------- ##" 1668 echo 1669 # The following way of writing the cache mishandles newlines in values, 1670( 1671 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1672 eval ac_val=\$$ac_var 1673 case $ac_val in #( 1674 *${as_nl}*) 1675 case $ac_var in #( 1676 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1677$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1678 esac 1679 case $ac_var in #( 1680 _ | IFS | as_nl) ;; #( 1681 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1682 *) { eval $ac_var=; unset $ac_var;} ;; 1683 esac ;; 1684 esac 1685 done 1686 (set) 2>&1 | 1687 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1688 *${as_nl}ac_space=\ *) 1689 sed -n \ 1690 "s/'\''/'\''\\\\'\'''\''/g; 1691 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1692 ;; #( 1693 *) 1694 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1695 ;; 1696 esac | 1697 sort 1698) 1699 echo 1700 1701 $as_echo "## ----------------- ## 1702## Output variables. ## 1703## ----------------- ##" 1704 echo 1705 for ac_var in $ac_subst_vars 1706 do 1707 eval ac_val=\$$ac_var 1708 case $ac_val in 1709 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1710 esac 1711 $as_echo "$ac_var='\''$ac_val'\''" 1712 done | sort 1713 echo 1714 1715 if test -n "$ac_subst_files"; then 1716 $as_echo "## ------------------- ## 1717## File substitutions. ## 1718## ------------------- ##" 1719 echo 1720 for ac_var in $ac_subst_files 1721 do 1722 eval ac_val=\$$ac_var 1723 case $ac_val in 1724 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1725 esac 1726 $as_echo "$ac_var='\''$ac_val'\''" 1727 done | sort 1728 echo 1729 fi 1730 1731 if test -s confdefs.h; then 1732 $as_echo "## ----------- ## 1733## confdefs.h. ## 1734## ----------- ##" 1735 echo 1736 cat confdefs.h 1737 echo 1738 fi 1739 test "$ac_signal" != 0 && 1740 $as_echo "$as_me: caught signal $ac_signal" 1741 $as_echo "$as_me: exit $exit_status" 1742 } >&5 1743 rm -f core *.core core.conftest.* && 1744 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1745 exit $exit_status 1746' 0 1747for ac_signal in 1 2 13 15; do 1748 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1749done 1750ac_signal=0 1751 1752# confdefs.h avoids OS command line length limits that DEFS can exceed. 1753rm -f -r conftest* confdefs.h 1754 1755$as_echo "/* confdefs.h */" > confdefs.h 1756 1757# Predefined preprocessor variables. 1758 1759cat >>confdefs.h <<_ACEOF 1760#define PACKAGE_NAME "$PACKAGE_NAME" 1761_ACEOF 1762 1763cat >>confdefs.h <<_ACEOF 1764#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1765_ACEOF 1766 1767cat >>confdefs.h <<_ACEOF 1768#define PACKAGE_VERSION "$PACKAGE_VERSION" 1769_ACEOF 1770 1771cat >>confdefs.h <<_ACEOF 1772#define PACKAGE_STRING "$PACKAGE_STRING" 1773_ACEOF 1774 1775cat >>confdefs.h <<_ACEOF 1776#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1777_ACEOF 1778 1779cat >>confdefs.h <<_ACEOF 1780#define PACKAGE_URL "$PACKAGE_URL" 1781_ACEOF 1782 1783 1784# Let the site file select an alternate cache file if it wants to. 1785# Prefer an explicitly selected file to automatically selected ones. 1786ac_site_file1=NONE 1787ac_site_file2=NONE 1788if test -n "$CONFIG_SITE"; then 1789 # We do not want a PATH search for config.site. 1790 case $CONFIG_SITE in #(( 1791 -*) ac_site_file1=./$CONFIG_SITE;; 1792 */*) ac_site_file1=$CONFIG_SITE;; 1793 *) ac_site_file1=./$CONFIG_SITE;; 1794 esac 1795elif test "x$prefix" != xNONE; then 1796 ac_site_file1=$prefix/share/config.site 1797 ac_site_file2=$prefix/etc/config.site 1798else 1799 ac_site_file1=$ac_default_prefix/share/config.site 1800 ac_site_file2=$ac_default_prefix/etc/config.site 1801fi 1802for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1803do 1804 test "x$ac_site_file" = xNONE && continue 1805 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1807$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1808 sed 's/^/| /' "$ac_site_file" >&5 1809 . "$ac_site_file" \ 1810 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1811$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1812as_fn_error $? "failed to load site script $ac_site_file 1813See \`config.log' for more details" "$LINENO" 5; } 1814 fi 1815done 1816 1817if test -r "$cache_file"; then 1818 # Some versions of bash will fail to source /dev/null (special files 1819 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1820 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1821 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1822$as_echo "$as_me: loading cache $cache_file" >&6;} 1823 case $cache_file in 1824 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1825 *) . "./$cache_file";; 1826 esac 1827 fi 1828else 1829 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1830$as_echo "$as_me: creating cache $cache_file" >&6;} 1831 >$cache_file 1832fi 1833 1834# Check that the precious variables saved in the cache have kept the same 1835# value. 1836ac_cache_corrupted=false 1837for ac_var in $ac_precious_vars; do 1838 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1839 eval ac_new_set=\$ac_env_${ac_var}_set 1840 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1841 eval ac_new_val=\$ac_env_${ac_var}_value 1842 case $ac_old_set,$ac_new_set in 1843 set,) 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1845$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1846 ac_cache_corrupted=: ;; 1847 ,set) 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1849$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1850 ac_cache_corrupted=: ;; 1851 ,);; 1852 *) 1853 if test "x$ac_old_val" != "x$ac_new_val"; then 1854 # differences in whitespace do not lead to failure. 1855 ac_old_val_w=`echo x $ac_old_val` 1856 ac_new_val_w=`echo x $ac_new_val` 1857 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1859$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1860 ac_cache_corrupted=: 1861 else 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1863$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1864 eval $ac_var=\$ac_old_val 1865 fi 1866 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1867$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1868 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1869$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1870 fi;; 1871 esac 1872 # Pass precious variables to config.status. 1873 if test "$ac_new_set" = set; then 1874 case $ac_new_val in 1875 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1876 *) ac_arg=$ac_var=$ac_new_val ;; 1877 esac 1878 case " $ac_configure_args " in 1879 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1880 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1881 esac 1882 fi 1883done 1884if $ac_cache_corrupted; then 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1888$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1889 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1890fi 1891## -------------------- ## 1892## Main body of script. ## 1893## -------------------- ## 1894 1895ac_ext=c 1896ac_cpp='$CPP $CPPFLAGS' 1897ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1898ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1899ac_compiler_gnu=$ac_cv_c_compiler_gnu 1900 1901 1902 1903ac_aux_dir= 1904for ac_dir in build "$srcdir"/build; do 1905 if test -f "$ac_dir/install-sh"; then 1906 ac_aux_dir=$ac_dir 1907 ac_install_sh="$ac_aux_dir/install-sh -c" 1908 break 1909 elif test -f "$ac_dir/install.sh"; then 1910 ac_aux_dir=$ac_dir 1911 ac_install_sh="$ac_aux_dir/install.sh -c" 1912 break 1913 elif test -f "$ac_dir/shtool"; then 1914 ac_aux_dir=$ac_dir 1915 ac_install_sh="$ac_aux_dir/shtool install -c" 1916 break 1917 fi 1918done 1919if test -z "$ac_aux_dir"; then 1920 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 1921fi 1922 1923# These three variables are undocumented and unsupported, 1924# and are intended to be withdrawn in a future Autoconf release. 1925# They can cause serious problems if a builder's source tree is in a directory 1926# whose full name contains unusual characters. 1927ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1928ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1929ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011# 2012# Licensed to the Apache Software Foundation (ASF) under one or more 2013# contributor license agreements. See the NOTICE file distributed with 2014# this work for additional information regarding copyright ownership. 2015# The ASF licenses this file to You under the Apache License, Version 2.0 2016# (the "License"); you may not use this file except in compliance with 2017# the License. You may obtain a copy of the License at 2018# 2019# http://www.apache.org/licenses/LICENSE-2.0 2020# 2021# Unless required by applicable law or agreed to in writing, software 2022# distributed under the License is distributed on an "AS IS" BASIS, 2023# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2024# See the License for the specific language governing permissions and 2025# limitations under the License. 2026# 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 rm -f config.nice 2046 cat >config.nice<<EOF 2047#! /bin/sh 2048# 2049# Created by configure 2050 2051EOF 2052 if test -n "$CC"; then 2053 echo "CC=\"$CC\"; export CC" >> config.nice 2054 fi 2055 if test -n "$CFLAGS"; then 2056 echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice 2057 fi 2058 if test -n "$CPPFLAGS"; then 2059 echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice 2060 fi 2061 if test -n "$LDFLAGS"; then 2062 echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice 2063 fi 2064 if test -n "$LTFLAGS"; then 2065 echo "LTFLAGS=\"$LTFLAGS\"; export LTFLAGS" >> config.nice 2066 fi 2067 if test -n "$LIBS"; then 2068 echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice 2069 fi 2070 if test -n "$INCLUDES"; then 2071 echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice 2072 fi 2073 if test -n "$NOTEST_CFLAGS"; then 2074 echo "NOTEST_CFLAGS=\"$NOTEST_CFLAGS\"; export NOTEST_CFLAGS" >> config.nice 2075 fi 2076 if test -n "$NOTEST_CPPFLAGS"; then 2077 echo "NOTEST_CPPFLAGS=\"$NOTEST_CPPFLAGS\"; export NOTEST_CPPFLAGS" >> config.nice 2078 fi 2079 if test -n "$NOTEST_LDFLAGS"; then 2080 echo "NOTEST_LDFLAGS=\"$NOTEST_LDFLAGS\"; export NOTEST_LDFLAGS" >> config.nice 2081 fi 2082 if test -n "$NOTEST_LIBS"; then 2083 echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice 2084 fi 2085 2086 # Retrieve command-line arguments. 2087 eval "set x $0 $ac_configure_args" 2088 shift 2089 2090 for arg 2091 do 2092 2093ap_last= 2094ap_cur="$arg" 2095while test "x${ap_cur}" != "x${ap_last}"; 2096do 2097 ap_last="${ap_cur}" 2098 ap_cur=`eval "echo ${ap_cur}"` 2099done 2100arg="${ap_cur}" 2101 2102 echo "\"$arg\" \\" >> config.nice 2103 done 2104 echo '"$@"' >> config.nice 2105 chmod +x config.nice 2106 2107 2108 2109abs_srcdir=`(cd $srcdir && pwd)` 2110abs_builddir=`pwd` 2111 2112if test "$abs_builddir" != "$abs_srcdir"; then 2113 USE_VPATH=1 2114 TCN_CONFIG_LOCATION=build 2115else 2116 TCN_CONFIG_LOCATION=source 2117fi 2118 2119 2120# Make sure we can run config.sub. 2121$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2123 2124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2125$as_echo_n "checking build system type... " >&6; } 2126if ${ac_cv_build+:} false; then : 2127 $as_echo_n "(cached) " >&6 2128else 2129 ac_build_alias=$build_alias 2130test "x$ac_build_alias" = x && 2131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2132test "x$ac_build_alias" = x && 2133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2134ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2136 2137fi 2138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2139$as_echo "$ac_cv_build" >&6; } 2140case $ac_cv_build in 2141*-*-*) ;; 2142*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2143esac 2144build=$ac_cv_build 2145ac_save_IFS=$IFS; IFS='-' 2146set x $ac_cv_build 2147shift 2148build_cpu=$1 2149build_vendor=$2 2150shift; shift 2151# Remember, the first character of IFS is used to create $*, 2152# except with old shells: 2153build_os=$* 2154IFS=$ac_save_IFS 2155case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2156 2157 2158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2159$as_echo_n "checking host system type... " >&6; } 2160if ${ac_cv_host+:} false; then : 2161 $as_echo_n "(cached) " >&6 2162else 2163 if test "x$host_alias" = x; then 2164 ac_cv_host=$ac_cv_build 2165else 2166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2168fi 2169 2170fi 2171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2172$as_echo "$ac_cv_host" >&6; } 2173case $ac_cv_host in 2174*-*-*) ;; 2175*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2176esac 2177host=$ac_cv_host 2178ac_save_IFS=$IFS; IFS='-' 2179set x $ac_cv_host 2180shift 2181host_cpu=$1 2182host_vendor=$2 2183shift; shift 2184# Remember, the first character of IFS is used to create $*, 2185# except with old shells: 2186host_os=$* 2187IFS=$ac_save_IFS 2188case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2189 2190 2191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2192$as_echo_n "checking target system type... " >&6; } 2193if ${ac_cv_target+:} false; then : 2194 $as_echo_n "(cached) " >&6 2195else 2196 if test "x$target_alias" = x; then 2197 ac_cv_target=$ac_cv_host 2198else 2199 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2200 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2201fi 2202 2203fi 2204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2205$as_echo "$ac_cv_target" >&6; } 2206case $ac_cv_target in 2207*-*-*) ;; 2208*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2209esac 2210target=$ac_cv_target 2211ac_save_IFS=$IFS; IFS='-' 2212set x $ac_cv_target 2213shift 2214target_cpu=$1 2215target_vendor=$2 2216shift; shift 2217# Remember, the first character of IFS is used to create $*, 2218# except with old shells: 2219target_os=$* 2220IFS=$ac_save_IFS 2221case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2222 2223 2224# The aliases save the names the user supplied, while $host etc. 2225# will get canonicalized. 2226test -n "$target_alias" && 2227 test "$program_prefix$program_suffix$program_transform_name" = \ 2228 NONENONEs,x,x, && 2229 program_prefix=${target_alias}- 2230 2231# Find a good install program. We prefer a C program (faster), 2232# so one script is as good as another. But avoid the broken or 2233# incompatible versions: 2234# SysV /etc/install, /usr/sbin/install 2235# SunOS /usr/etc/install 2236# IRIX /sbin/install 2237# AIX /bin/install 2238# AmigaOS /C/install, which installs bootblocks on floppy discs 2239# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2240# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2241# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2242# OS/2's system install, which has a completely different semantic 2243# ./install, which can be erroneously created by make from ./install.sh. 2244# Reject install programs that cannot install multiple files. 2245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2246$as_echo_n "checking for a BSD-compatible install... " >&6; } 2247if test -z "$INSTALL"; then 2248if ${ac_cv_path_install+:} false; then : 2249 $as_echo_n "(cached) " >&6 2250else 2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2252for as_dir in $PATH 2253do 2254 IFS=$as_save_IFS 2255 test -z "$as_dir" && as_dir=. 2256 # Account for people who put trailing slashes in PATH elements. 2257case $as_dir/ in #(( 2258 ./ | .// | /[cC]/* | \ 2259 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2260 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2261 /usr/ucb/* ) ;; 2262 *) 2263 # OSF1 and SCO ODT 3.0 have their own names for install. 2264 # Don't use installbsd from OSF since it installs stuff as root 2265 # by default. 2266 for ac_prog in ginstall scoinst install; do 2267 for ac_exec_ext in '' $ac_executable_extensions; do 2268 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2269 if test $ac_prog = install && 2270 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2271 # AIX install. It has an incompatible calling convention. 2272 : 2273 elif test $ac_prog = install && 2274 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2275 # program-specific install script used by HP pwplus--don't use. 2276 : 2277 else 2278 rm -rf conftest.one conftest.two conftest.dir 2279 echo one > conftest.one 2280 echo two > conftest.two 2281 mkdir conftest.dir 2282 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2283 test -s conftest.one && test -s conftest.two && 2284 test -s conftest.dir/conftest.one && 2285 test -s conftest.dir/conftest.two 2286 then 2287 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2288 break 3 2289 fi 2290 fi 2291 fi 2292 done 2293 done 2294 ;; 2295esac 2296 2297 done 2298IFS=$as_save_IFS 2299 2300rm -rf conftest.one conftest.two conftest.dir 2301 2302fi 2303 if test "${ac_cv_path_install+set}" = set; then 2304 INSTALL=$ac_cv_path_install 2305 else 2306 # As a last resort, use the slow shell script. Don't cache a 2307 # value for INSTALL within a source directory, because that will 2308 # break other packages using the cache if that directory is 2309 # removed, or if the value is a relative name. 2310 INSTALL=$ac_install_sh 2311 fi 2312fi 2313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2314$as_echo "$INSTALL" >&6; } 2315 2316# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2317# It thinks the first close brace ends the variable substitution. 2318test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2319 2320test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2321 2322test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2323 2324 2325top_builddir="$abs_builddir" 2326 2327 2328 2329 2330 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkdir -p" >&5 2332$as_echo_n "checking for working mkdir -p... " >&6; } 2333if ${ac_cv_mkdir_p+:} false; then : 2334 $as_echo_n "(cached) " >&6 2335else 2336 2337 test -d conftestdir && rm -rf conftestdir 2338 mkdir -p conftestdir/somedir >/dev/null 2>&1 2339 if test -d conftestdir/somedir; then 2340 ac_cv_mkdir_p=yes 2341 else 2342 ac_cv_mkdir_p=no 2343 fi 2344 rm -rf conftestdir 2345 2346fi 2347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mkdir_p" >&5 2348$as_echo "$ac_cv_mkdir_p" >&6; } 2349 if test "$ac_cv_mkdir_p" = "yes"; then 2350 mkdir_p="mkdir -p" 2351 else 2352 mkdir_p="$abs_srcdir/build/mkdir.sh" 2353 fi 2354 2355 2356get_version="$abs_srcdir/build/get-version.sh" 2357version_hdr="$abs_srcdir/include/tcn_version.h" 2358TCNATIVE_MAJOR_VERSION="`$get_version major $version_hdr TCN`" 2359TCNATIVE_DOTTED_VERSION="`$get_version all $version_hdr TCN`" 2360TCNATIVE_LIBTOOL_VERSION="`$get_version libtool $version_hdr TCN`" 2361 2362 2363 2364 2365 2366echo "Tomcat Native Version: ${TCNATIVE_DOTTED_VERSION}" 2367 2368 2369# Check whether --enable-layout was given. 2370if test "${enable_layout+set}" = set; then : 2371 enableval=$enable_layout; 2372 LAYOUT=$enableval 2373 2374fi 2375 2376 2377if test -z "$LAYOUT"; then 2378 LAYOUT="tcnative" 2379fi 2380 2381 if test ! -f $srcdir/config.layout; then 2382 echo "** Error: Layout file $srcdir/config.layout not found" 2383 echo "** Error: Cannot use undefined layout '$LAYOUT'" 2384 exit 1 2385 fi 2386 # Catch layout names including a slash which will otherwise 2387 # confuse the heck out of the sed script. 2388 case $LAYOUT in 2389 */*) 2390 echo "** Error: $LAYOUT is not a valid layout name" 2391 exit 1 ;; 2392 esac 2393 pldconf=./config.pld 2394 2395 sed -e "1s/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*//;1t" \ 2396 -e "1,/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*/d" \ 2397 -e '/[ ]*<\/Layout>[ ]*/,$d' \ 2398 -e "s/^[ ]*//g" \ 2399 -e "s/:[ ]*/=\'/g" \ 2400 -e "s/[ ]*$/'/g" \ 2401 $srcdir/config.layout > $pldconf 2402 layout_name=$LAYOUT 2403 if test ! -s $pldconf; then 2404 echo "** Error: unable to find layout $layout_name" 2405 exit 1 2406 fi 2407 . $pldconf 2408 rm $pldconf 2409 for var in prefix exec_prefix bindir sbindir libexecdir mandir \ 2410 sysconfdir datadir includedir localstatedir runtimedir \ 2411 logfiledir libdir installbuilddir libsuffix ; do 2412 eval "val=\"\$$var\"" 2413 case $val in 2414 *+) 2415 val=`echo $val | sed -e 's;\+$;;'` 2416 eval "$var=\"\$val\"" 2417 autosuffix=yes 2418 ;; 2419 *) 2420 autosuffix=no 2421 ;; 2422 esac 2423 val=`echo $val | sed -e 's:\(.\)/*$:\1:'` 2424 val=`echo $val | sed -e 's:[\$]\([a-z_]*\):$\1:g'` 2425 if test "$autosuffix" = "yes"; then 2426 if echo $val | grep apache >/dev/null; then 2427 addtarget=no 2428 else 2429 addtarget=yes 2430 fi 2431 if test "$addtarget" = "yes"; then 2432 val="$val/apache2" 2433 fi 2434 fi 2435 eval "$var='$val'" 2436 done 2437 2438 2439 2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5 2441$as_echo_n "checking for chosen layout... " >&6; } 2442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $layout_name" >&5 2443$as_echo "$layout_name" >&6; } 2444 2445 2446ac_prev= 2447# Retrieve the command-line arguments. The eval is needed because 2448# the arguments are quoted to preserve accuracy. 2449eval "set x $ac_configure_args" 2450shift 2451for ac_option 2452do 2453 # If the previous option needs an argument, assign it. 2454 if test -n "$ac_prev"; then 2455 eval "$ac_prev=\$ac_option" 2456 ac_prev= 2457 continue 2458 fi 2459 2460 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 2461 2462 case $ac_option in 2463 2464 -bindir | --bindir | --bindi | --bind | --bin | --bi) 2465 ac_prev=bindir ;; 2466 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 2467 bindir="$ac_optarg" ;; 2468 2469 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 2470 ac_prev=datadir ;; 2471 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 2472 | --da=*) 2473 datadir="$ac_optarg" ;; 2474 2475 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 2476 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 2477 | --exec | --exe | --ex) 2478 ac_prev=exec_prefix ;; 2479 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 2480 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 2481 | --exec=* | --exe=* | --ex=*) 2482 exec_prefix="$ac_optarg" ;; 2483 2484 -includedir | --includedir | --includedi | --included | --include \ 2485 | --includ | --inclu | --incl | --inc) 2486 ac_prev=includedir ;; 2487 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 2488 | --includ=* | --inclu=* | --incl=* | --inc=*) 2489 includedir="$ac_optarg" ;; 2490 2491 -infodir | --infodir | --infodi | --infod | --info | --inf) 2492 ac_prev=infodir ;; 2493 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 2494 infodir="$ac_optarg" ;; 2495 2496 -libdir | --libdir | --libdi | --libd) 2497 ac_prev=libdir ;; 2498 -libdir=* | --libdir=* | --libdi=* | --libd=*) 2499 libdir="$ac_optarg" ;; 2500 2501 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 2502 | --libexe | --libex | --libe) 2503 ac_prev=libexecdir ;; 2504 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 2505 | --libexe=* | --libex=* | --libe=*) 2506 libexecdir="$ac_optarg" ;; 2507 2508 -localstatedir | --localstatedir | --localstatedi | --localstated \ 2509 | --localstate | --localstat | --localsta | --localst \ 2510 | --locals | --local | --loca | --loc | --lo) 2511 ac_prev=localstatedir ;; 2512 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 2513 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 2514 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 2515 localstatedir="$ac_optarg" ;; 2516 2517 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 2518 ac_prev=mandir ;; 2519 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 2520 mandir="$ac_optarg" ;; 2521 2522 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 2523 ac_prev=prefix ;; 2524 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 2525 prefix="$ac_optarg" ;; 2526 2527 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 2528 ac_prev=sbindir ;; 2529 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 2530 | --sbi=* | --sb=*) 2531 sbindir="$ac_optarg" ;; 2532 2533 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 2534 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 2535 | --sharedst | --shareds | --shared | --share | --shar \ 2536 | --sha | --sh) 2537 ac_prev=sharedstatedir ;; 2538 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 2539 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 2540 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 2541 | --sha=* | --sh=*) 2542 sharedstatedir="$ac_optarg" ;; 2543 2544 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 2545 | --syscon | --sysco | --sysc | --sys | --sy) 2546 ac_prev=sysconfdir ;; 2547 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 2548 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 2549 sysconfdir="$ac_optarg" ;; 2550 2551 esac 2552done 2553 2554# Be sure to have absolute paths. 2555for ac_var in exec_prefix prefix 2556do 2557 eval ac_val=$`echo $ac_var` 2558 case $ac_val in 2559 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 2560 *) as_fn_error $? "expected an absolute path for --$ac_var: $ac_val" "$LINENO" 5;; 2561 esac 2562done 2563 2564 2565 2566 2567TCNATIVE_INCLUDES="" 2568TCNATIVE_PRIV_INCLUDES="-I$srcdir/include" 2569 2570 2571 2572 2573 apr_found="no" 2574 2575 if test "$target_os" = "os2-emx"; then 2576 # Scripts don't pass test -x on OS/2 2577 TEST_X="test -f" 2578 else 2579 TEST_X="test -x" 2580 fi 2581 2582 acceptable_majors="1" 2583 2584 apr_temp_acceptable_apr_config="" 2585 for apr_temp_major in $acceptable_majors 2586 do 2587 case $apr_temp_major in 2588 0) 2589 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config" 2590 ;; 2591 *) 2592 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config" 2593 ;; 2594 esac 2595 done 2596 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5 2598$as_echo_n "checking for APR... " >&6; } 2599 2600# Check whether --with-apr was given. 2601if test "${with_apr+set}" = set; then : 2602 withval=$with_apr; 2603 if test "$withval" = "no" || test "$withval" = "yes"; then 2604 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5 2605 fi 2606 2607 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config 2608 do 2609 for lookdir in "$withval/bin" "$withval" 2610 do 2611 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then 2612 apr_config="$lookdir/$apr_temp_apr_config_file" 2613 2614 apr_found="yes" 2615 break 2 2616 fi 2617 done 2618 done 2619 2620 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then 2621 apr_config="$withval" 2622 apr_found="yes" 2623 fi 2624 2625 if test "$apr_found" != "yes"; then 2626 as_fn_error $? "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5 2627 fi 2628 2629else 2630 2631 if test -n "1" && test "1" = "1"; then 2632 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config 2633 do 2634 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then 2635 apr_config="$apr_temp_apr_config_file" 2636 2637 apr_found="yes" 2638 break 2639 else 2640 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do 2641 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then 2642 apr_config="$lookdir/bin/$apr_temp_apr_config_file" 2643 2644 apr_found="yes" 2645 break 2 2646 fi 2647 done 2648 fi 2649 done 2650 fi 2651 if test "$apr_found" = "no" && test -d ""; then 2652 apr_temp_abs_srcdir="`cd \"\" && pwd`" 2653 apr_found="reconfig" 2654 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`" 2655 case $apr_bundled_major in 2656 "") 2657 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5 2658 ;; 2659 0) 2660 apr_temp_apr_config_file="apr-config" 2661 ;; 2662 *) 2663 apr_temp_apr_config_file="apr-$apr_bundled_major-config" 2664 ;; 2665 esac 2666 if test -n ""; then 2667 apr_config="/$apr_temp_apr_config_file" 2668 else 2669 apr_config="/$apr_temp_apr_config_file" 2670 fi 2671 fi 2672 2673fi 2674 2675 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5 2677$as_echo "$apr_found" >&6; } 2678 2679 if test "$apr_found" = "no" 2680 then 2681 as_fn_error $? "APR could not be located. Please use the --with-apr option." "$LINENO" 5 2682 fi 2683 2684 sapr_pversion="`$apr_config --version`" 2685 if test -z "$sapr_pversion" 2686 then 2687 as_fn_error $? "APR config could not be located. Please use the --with-apr option." "$LINENO" 5 2688 fi 2689 sapr_version="`echo $sapr_pversion|sed -e 's/\(a-z*\)$/.\1/'`" 2690 tc_save_IFS=$IFS 2691 IFS=. 2692 set $sapr_version 2693 IFS=$tc_save_IFS 2694 decimal_apr_version=`printf %02d%02d%03d ${1} ${2} ${3}` 2695 if test "${decimal_apr_version}" -lt "0104003" 2696 then 2697 as_fn_error $? "Found APR $sapr_version. You need version 1.4.3 or newer installed." "$LINENO" 5 2698 fi 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: APR $sapr_version detected." >&5 2700$as_echo "$as_me: APR $sapr_version detected." >&6;} 2701 2702 APR_BUILD_DIR="`$apr_config --installbuilddir`" 2703 2704 APR_BUILD_DIR="`cd $APR_BUILD_DIR && pwd`" 2705 2706 APR_INCLUDES="`$apr_config --includes`" 2707 APR_LIBTOOL_LIBS="`$apr_config --link-libtool --libs`" 2708 APR_LIBS="`$apr_config --link-ld --libs`" 2709 APR_SO_EXT="`$apr_config --apr-so-ext`" 2710 APR_LIB_TARGET="`$apr_config --apr-lib-target`" 2711 2712 2713 2714 2715 2716 2717 2718 2719 if test -z "$CC"; then 2720 test "x$silent" != "xyes" && echo " setting CC to \"`$apr_config --cc`\"" 2721 CC="`$apr_config --cc`" 2722 fi 2723 2724 2725 if test -z "$CPP"; then 2726 test "x$silent" != "xyes" && echo " setting CPP to \"`$apr_config --cpp`\"" 2727 CPP="`$apr_config --cpp`" 2728 fi 2729 2730 2731 2732 2733NEED_JNI_MD=yes 2734 2735 2736# Check whether --with-java-home was given. 2737if test "${with_java_home+set}" = set; then : 2738 withval=$with_java_home; 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking JAVA_HOME" >&5 2740$as_echo_n "checking JAVA_HOME... " >&6; } 2741 if test -d "$withval" 2742 then 2743 JAVA_HOME="$withval" 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA_HOME" >&5 2745$as_echo "$JAVA_HOME" >&6; } 2746 else 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 2748$as_echo "failed" >&6; } 2749 as_fn_error $? "$withval is not a directory" "$LINENO" 5 2750 fi 2751 2752 2753fi 2754 2755 if test "x$JAVA_HOME" = x 2756 then 2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK location" >&5 2758$as_echo_n "checking for JDK location... " >&6; } 2759 # Oh well, nobody set JAVA_HOME, have to guess 2760 # Check if we have java in the PATH. 2761 java_prog="`which java 2>/dev/null || true`" 2762 if test "x$java_prog" != x 2763 then 2764 java_bin="`dirname $java_prog`" 2765 java_top="`dirname $java_bin`" 2766 if test -f "$java_top/include/jni.h" 2767 then 2768 JAVA_HOME="$java_top" 2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${java_top}" >&5 2770$as_echo "${java_top}" >&6; } 2771 fi 2772 fi 2773 fi 2774 if test x"$JAVA_HOME" = x 2775 then 2776 as_fn_error $? "Java Home not defined. Rerun with --with-java-home=... parameter" "$LINENO" 5 2777 fi 2778 2779 2780if test -d ${JAVA_HOME}/Headers; then 2781 JAVA_INC=Headers 2782else 2783 JAVA_INC=include 2784fi 2785 2786 if test "x$TCNATIVE_PRIV_INCLUDES" = "x"; then 2787 test "x$silent" != "xyes" && echo " setting TCNATIVE_PRIV_INCLUDES to \"-I$JAVA_HOME/$JAVA_INC\"" 2788 TCNATIVE_PRIV_INCLUDES="-I$JAVA_HOME/$JAVA_INC" 2789 else 2790 apr_addto_bugger="-I$JAVA_HOME/$JAVA_INC" 2791 for i in $apr_addto_bugger; do 2792 apr_addto_duplicate="0" 2793 for j in $TCNATIVE_PRIV_INCLUDES; do 2794 if test "x$i" = "x$j"; then 2795 apr_addto_duplicate="1" 2796 break 2797 fi 2798 done 2799 if test $apr_addto_duplicate = "0"; then 2800 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_PRIV_INCLUDES" 2801 TCNATIVE_PRIV_INCLUDES="$TCNATIVE_PRIV_INCLUDES $i" 2802 fi 2803 done 2804 fi 2805 2806 2807if test "$NEED_JNI_MD" = "yes"; then 2808 2809 tempval="" 2810 JAVA_OS="" 2811 2812# Check whether --with-os-type was given. 2813if test "${with_os_type+set}" = set; then : 2814 withval=$with_os_type; 2815 tempval=$withval 2816 if test ! -d "$JAVA_HOME/$tempval" 2817 then 2818 as_fn_error $? "Not a directory: ${JAVA_HOME}/${tempval}" "$LINENO" 5 2819 fi 2820 JAVA_OS=$tempval 2821 2822else 2823 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK os include directory" >&5 2825$as_echo_n "checking for JDK os include directory... " >&6; } 2826 JAVA_OS=NONE 2827 if test -f $JAVA_HOME/$JAVA_INC/jni_md.h 2828 then 2829 JAVA_OS="" 2830 else 2831 for f in $JAVA_HOME/$JAVA_INC/*/jni_md.h 2832 do 2833 if test -f $f; then 2834 JAVA_OS=`dirname $f` 2835 JAVA_OS=`basename $JAVA_OS` 2836 echo " $JAVA_OS" 2837 break 2838 fi 2839 done 2840 if test "x$JAVA_OS" = "xNONE"; then 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&5 2842$as_echo "Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&6; } 2843 as_fn_error $? "You should retry --with-os-type=SUBDIR" "$LINENO" 5 2844 fi 2845 fi 2846 2847fi 2848 2849 2850 if test -z "${JAVA_OS}"; then 2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: jni_md.h found in $JAVA_HOME/$JAVA_INC" >&5 2852$as_echo "jni_md.h found in $JAVA_HOME/$JAVA_INC" >&6; } 2853 else 2854 2855 if test "x$TCNATIVE_PRIV_INCLUDES" = "x"; then 2856 test "x$silent" != "xyes" && echo " setting TCNATIVE_PRIV_INCLUDES to \"-I$JAVA_HOME/$JAVA_INC/$JAVA_OS\"" 2857 TCNATIVE_PRIV_INCLUDES="-I$JAVA_HOME/$JAVA_INC/$JAVA_OS" 2858 else 2859 apr_addto_bugger="-I$JAVA_HOME/$JAVA_INC/$JAVA_OS" 2860 for i in $apr_addto_bugger; do 2861 apr_addto_duplicate="0" 2862 for j in $TCNATIVE_PRIV_INCLUDES; do 2863 if test "x$i" = "x$j"; then 2864 apr_addto_duplicate="1" 2865 break 2866 fi 2867 done 2868 if test $apr_addto_duplicate = "0"; then 2869 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_PRIV_INCLUDES" 2870 TCNATIVE_PRIV_INCLUDES="$TCNATIVE_PRIV_INCLUDES $i" 2871 fi 2872 done 2873 fi 2874 2875 fi 2876fi 2877 2878 2879 2880 2881 2882 2883 2884use_openssl=true; 2885 2886# Check whether --enable-openssl was given. 2887if test "${enable_openssl+set}" = set; then : 2888 enableval=$enable_openssl; 2889 case "${enableval}" in 2890 no ) 2891 use_openssl=false; 2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Disabling SSL support..." >&5 2893$as_echo "Disabling SSL support..." >&6; } 2894 ;; 2895 esac 2896 2897fi 2898 2899 2900# Check whether --enable-insecure-export-ciphers was given. 2901if test "${enable_insecure_export_ciphers+set}" = set; then : 2902 enableval=$enable_insecure_export_ciphers; 2903 case "${enableval}" in 2904 yes ) 2905 2906 if test "x$CFLAGS" = "x"; then 2907 test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DHAVE_EXPORT_CIPHERS\"" 2908 CFLAGS="-DHAVE_EXPORT_CIPHERS" 2909 else 2910 apr_addto_bugger="-DHAVE_EXPORT_CIPHERS" 2911 for i in $apr_addto_bugger; do 2912 apr_addto_duplicate="0" 2913 for j in $CFLAGS; do 2914 if test "x$i" = "x$j"; then 2915 apr_addto_duplicate="1" 2916 break 2917 fi 2918 done 2919 if test $apr_addto_duplicate = "0"; then 2920 test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS" 2921 CFLAGS="$CFLAGS $i" 2922 fi 2923 done 2924 fi 2925 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling insecure export and null cipher support" >&5 2927$as_echo "$as_me: WARNING: Enabling insecure export and null cipher support" >&2;} 2928 ;; 2929 esac 2930 2931fi 2932 2933 2934if $use_openssl ; then 2935 ac_ext=c 2936ac_cpp='$CPP $CPPFLAGS' 2937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2939ac_compiler_gnu=$ac_cv_c_compiler_gnu 2940if test -n "$ac_tool_prefix"; then 2941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2942set dummy ${ac_tool_prefix}gcc; ac_word=$2 2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2944$as_echo_n "checking for $ac_word... " >&6; } 2945if ${ac_cv_prog_CC+:} false; then : 2946 $as_echo_n "(cached) " >&6 2947else 2948 if test -n "$CC"; then 2949 ac_cv_prog_CC="$CC" # Let the user override the test. 2950else 2951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2952for as_dir in $PATH 2953do 2954 IFS=$as_save_IFS 2955 test -z "$as_dir" && as_dir=. 2956 for ac_exec_ext in '' $ac_executable_extensions; do 2957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2958 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2960 break 2 2961 fi 2962done 2963 done 2964IFS=$as_save_IFS 2965 2966fi 2967fi 2968CC=$ac_cv_prog_CC 2969if test -n "$CC"; then 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2971$as_echo "$CC" >&6; } 2972else 2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2974$as_echo "no" >&6; } 2975fi 2976 2977 2978fi 2979if test -z "$ac_cv_prog_CC"; then 2980 ac_ct_CC=$CC 2981 # Extract the first word of "gcc", so it can be a program name with args. 2982set dummy gcc; ac_word=$2 2983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2984$as_echo_n "checking for $ac_word... " >&6; } 2985if ${ac_cv_prog_ac_ct_CC+:} false; then : 2986 $as_echo_n "(cached) " >&6 2987else 2988 if test -n "$ac_ct_CC"; then 2989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2990else 2991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2992for as_dir in $PATH 2993do 2994 IFS=$as_save_IFS 2995 test -z "$as_dir" && as_dir=. 2996 for ac_exec_ext in '' $ac_executable_extensions; do 2997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2998 ac_cv_prog_ac_ct_CC="gcc" 2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3000 break 2 3001 fi 3002done 3003 done 3004IFS=$as_save_IFS 3005 3006fi 3007fi 3008ac_ct_CC=$ac_cv_prog_ac_ct_CC 3009if test -n "$ac_ct_CC"; then 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3011$as_echo "$ac_ct_CC" >&6; } 3012else 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3014$as_echo "no" >&6; } 3015fi 3016 3017 if test "x$ac_ct_CC" = x; then 3018 CC="" 3019 else 3020 case $cross_compiling:$ac_tool_warned in 3021yes:) 3022{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3023$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3024ac_tool_warned=yes ;; 3025esac 3026 CC=$ac_ct_CC 3027 fi 3028else 3029 CC="$ac_cv_prog_CC" 3030fi 3031 3032if test -z "$CC"; then 3033 if test -n "$ac_tool_prefix"; then 3034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3035set dummy ${ac_tool_prefix}cc; ac_word=$2 3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3037$as_echo_n "checking for $ac_word... " >&6; } 3038if ${ac_cv_prog_CC+:} false; then : 3039 $as_echo_n "(cached) " >&6 3040else 3041 if test -n "$CC"; then 3042 ac_cv_prog_CC="$CC" # Let the user override the test. 3043else 3044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3045for as_dir in $PATH 3046do 3047 IFS=$as_save_IFS 3048 test -z "$as_dir" && as_dir=. 3049 for ac_exec_ext in '' $ac_executable_extensions; do 3050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3051 ac_cv_prog_CC="${ac_tool_prefix}cc" 3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3053 break 2 3054 fi 3055done 3056 done 3057IFS=$as_save_IFS 3058 3059fi 3060fi 3061CC=$ac_cv_prog_CC 3062if test -n "$CC"; then 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3064$as_echo "$CC" >&6; } 3065else 3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3067$as_echo "no" >&6; } 3068fi 3069 3070 3071 fi 3072fi 3073if test -z "$CC"; then 3074 # Extract the first word of "cc", so it can be a program name with args. 3075set dummy cc; ac_word=$2 3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3077$as_echo_n "checking for $ac_word... " >&6; } 3078if ${ac_cv_prog_CC+:} false; then : 3079 $as_echo_n "(cached) " >&6 3080else 3081 if test -n "$CC"; then 3082 ac_cv_prog_CC="$CC" # Let the user override the test. 3083else 3084 ac_prog_rejected=no 3085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3086for as_dir in $PATH 3087do 3088 IFS=$as_save_IFS 3089 test -z "$as_dir" && as_dir=. 3090 for ac_exec_ext in '' $ac_executable_extensions; do 3091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3092 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3093 ac_prog_rejected=yes 3094 continue 3095 fi 3096 ac_cv_prog_CC="cc" 3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3098 break 2 3099 fi 3100done 3101 done 3102IFS=$as_save_IFS 3103 3104if test $ac_prog_rejected = yes; then 3105 # We found a bogon in the path, so make sure we never use it. 3106 set dummy $ac_cv_prog_CC 3107 shift 3108 if test $# != 0; then 3109 # We chose a different compiler from the bogus one. 3110 # However, it has the same basename, so the bogon will be chosen 3111 # first if we set CC to just the basename; use the full file name. 3112 shift 3113 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3114 fi 3115fi 3116fi 3117fi 3118CC=$ac_cv_prog_CC 3119if test -n "$CC"; then 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3121$as_echo "$CC" >&6; } 3122else 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3124$as_echo "no" >&6; } 3125fi 3126 3127 3128fi 3129if test -z "$CC"; then 3130 if test -n "$ac_tool_prefix"; then 3131 for ac_prog in cl.exe 3132 do 3133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3134set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3136$as_echo_n "checking for $ac_word... " >&6; } 3137if ${ac_cv_prog_CC+:} false; then : 3138 $as_echo_n "(cached) " >&6 3139else 3140 if test -n "$CC"; then 3141 ac_cv_prog_CC="$CC" # Let the user override the test. 3142else 3143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3144for as_dir in $PATH 3145do 3146 IFS=$as_save_IFS 3147 test -z "$as_dir" && as_dir=. 3148 for ac_exec_ext in '' $ac_executable_extensions; do 3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3150 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3152 break 2 3153 fi 3154done 3155 done 3156IFS=$as_save_IFS 3157 3158fi 3159fi 3160CC=$ac_cv_prog_CC 3161if test -n "$CC"; then 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3163$as_echo "$CC" >&6; } 3164else 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3166$as_echo "no" >&6; } 3167fi 3168 3169 3170 test -n "$CC" && break 3171 done 3172fi 3173if test -z "$CC"; then 3174 ac_ct_CC=$CC 3175 for ac_prog in cl.exe 3176do 3177 # Extract the first word of "$ac_prog", so it can be a program name with args. 3178set dummy $ac_prog; ac_word=$2 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3180$as_echo_n "checking for $ac_word... " >&6; } 3181if ${ac_cv_prog_ac_ct_CC+:} false; then : 3182 $as_echo_n "(cached) " >&6 3183else 3184 if test -n "$ac_ct_CC"; then 3185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3186else 3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3188for as_dir in $PATH 3189do 3190 IFS=$as_save_IFS 3191 test -z "$as_dir" && as_dir=. 3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3194 ac_cv_prog_ac_ct_CC="$ac_prog" 3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3196 break 2 3197 fi 3198done 3199 done 3200IFS=$as_save_IFS 3201 3202fi 3203fi 3204ac_ct_CC=$ac_cv_prog_ac_ct_CC 3205if test -n "$ac_ct_CC"; then 3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3207$as_echo "$ac_ct_CC" >&6; } 3208else 3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3210$as_echo "no" >&6; } 3211fi 3212 3213 3214 test -n "$ac_ct_CC" && break 3215done 3216 3217 if test "x$ac_ct_CC" = x; then 3218 CC="" 3219 else 3220 case $cross_compiling:$ac_tool_warned in 3221yes:) 3222{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3223$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3224ac_tool_warned=yes ;; 3225esac 3226 CC=$ac_ct_CC 3227 fi 3228fi 3229 3230fi 3231 3232 3233test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3235as_fn_error $? "no acceptable C compiler found in \$PATH 3236See \`config.log' for more details" "$LINENO" 5; } 3237 3238# Provide some information about the compiler. 3239$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3240set X $ac_compile 3241ac_compiler=$2 3242for ac_option in --version -v -V -qversion; do 3243 { { ac_try="$ac_compiler $ac_option >&5" 3244case "(($ac_try" in 3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3246 *) ac_try_echo=$ac_try;; 3247esac 3248eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3249$as_echo "$ac_try_echo"; } >&5 3250 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3251 ac_status=$? 3252 if test -s conftest.err; then 3253 sed '10a\ 3254... rest of stderr output deleted ... 3255 10q' conftest.err >conftest.er1 3256 cat conftest.er1 >&5 3257 fi 3258 rm -f conftest.er1 conftest.err 3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3260 test $ac_status = 0; } 3261done 3262 3263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3264/* end confdefs.h. */ 3265 3266int 3267main () 3268{ 3269 3270 ; 3271 return 0; 3272} 3273_ACEOF 3274ac_clean_files_save=$ac_clean_files 3275ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3276# Try to create an executable without -o first, disregard a.out. 3277# It will help us diagnose broken compilers, and finding out an intuition 3278# of exeext. 3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3280$as_echo_n "checking whether the C compiler works... " >&6; } 3281ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3282 3283# The possible output files: 3284ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3285 3286ac_rmfiles= 3287for ac_file in $ac_files 3288do 3289 case $ac_file in 3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3291 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3292 esac 3293done 3294rm -f $ac_rmfiles 3295 3296if { { ac_try="$ac_link_default" 3297case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300esac 3301eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3302$as_echo "$ac_try_echo"; } >&5 3303 (eval "$ac_link_default") 2>&5 3304 ac_status=$? 3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3306 test $ac_status = 0; }; then : 3307 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3308# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3309# in a Makefile. We should not override ac_cv_exeext if it was cached, 3310# so that the user can short-circuit this test for compilers unknown to 3311# Autoconf. 3312for ac_file in $ac_files '' 3313do 3314 test -f "$ac_file" || continue 3315 case $ac_file in 3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3317 ;; 3318 [ab].out ) 3319 # We found the default executable, but exeext='' is most 3320 # certainly right. 3321 break;; 3322 *.* ) 3323 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3324 then :; else 3325 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3326 fi 3327 # We set ac_cv_exeext here because the later test for it is not 3328 # safe: cross compilers may not add the suffix if given an `-o' 3329 # argument, so we may need to know it at that point already. 3330 # Even if this section looks crufty: it has the advantage of 3331 # actually working. 3332 break;; 3333 * ) 3334 break;; 3335 esac 3336done 3337test "$ac_cv_exeext" = no && ac_cv_exeext= 3338 3339else 3340 ac_file='' 3341fi 3342if test -z "$ac_file"; then : 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3344$as_echo "no" >&6; } 3345$as_echo "$as_me: failed program was:" >&5 3346sed 's/^/| /' conftest.$ac_ext >&5 3347 3348{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3350as_fn_error 77 "C compiler cannot create executables 3351See \`config.log' for more details" "$LINENO" 5; } 3352else 3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3354$as_echo "yes" >&6; } 3355fi 3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3357$as_echo_n "checking for C compiler default output file name... " >&6; } 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3359$as_echo "$ac_file" >&6; } 3360ac_exeext=$ac_cv_exeext 3361 3362rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3363ac_clean_files=$ac_clean_files_save 3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3365$as_echo_n "checking for suffix of executables... " >&6; } 3366if { { ac_try="$ac_link" 3367case "(($ac_try" in 3368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3369 *) ac_try_echo=$ac_try;; 3370esac 3371eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3372$as_echo "$ac_try_echo"; } >&5 3373 (eval "$ac_link") 2>&5 3374 ac_status=$? 3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3376 test $ac_status = 0; }; then : 3377 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3378# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3379# work properly (i.e., refer to `conftest.exe'), while it won't with 3380# `rm'. 3381for ac_file in conftest.exe conftest conftest.*; do 3382 test -f "$ac_file" || continue 3383 case $ac_file in 3384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3385 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3386 break;; 3387 * ) break;; 3388 esac 3389done 3390else 3391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3392$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3393as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3394See \`config.log' for more details" "$LINENO" 5; } 3395fi 3396rm -f conftest conftest$ac_cv_exeext 3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3398$as_echo "$ac_cv_exeext" >&6; } 3399 3400rm -f conftest.$ac_ext 3401EXEEXT=$ac_cv_exeext 3402ac_exeext=$EXEEXT 3403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3404/* end confdefs.h. */ 3405#include <stdio.h> 3406int 3407main () 3408{ 3409FILE *f = fopen ("conftest.out", "w"); 3410 return ferror (f) || fclose (f) != 0; 3411 3412 ; 3413 return 0; 3414} 3415_ACEOF 3416ac_clean_files="$ac_clean_files conftest.out" 3417# Check that the compiler produces executables we can run. If not, either 3418# the compiler is broken, or we cross compile. 3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3420$as_echo_n "checking whether we are cross compiling... " >&6; } 3421if test "$cross_compiling" != yes; then 3422 { { ac_try="$ac_link" 3423case "(($ac_try" in 3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3425 *) ac_try_echo=$ac_try;; 3426esac 3427eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3428$as_echo "$ac_try_echo"; } >&5 3429 (eval "$ac_link") 2>&5 3430 ac_status=$? 3431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3432 test $ac_status = 0; } 3433 if { ac_try='./conftest$ac_cv_exeext' 3434 { { case "(($ac_try" in 3435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3436 *) ac_try_echo=$ac_try;; 3437esac 3438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3439$as_echo "$ac_try_echo"; } >&5 3440 (eval "$ac_try") 2>&5 3441 ac_status=$? 3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3443 test $ac_status = 0; }; }; then 3444 cross_compiling=no 3445 else 3446 if test "$cross_compiling" = maybe; then 3447 cross_compiling=yes 3448 else 3449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3450$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3451as_fn_error $? "cannot run C compiled programs. 3452If you meant to cross compile, use \`--host'. 3453See \`config.log' for more details" "$LINENO" 5; } 3454 fi 3455 fi 3456fi 3457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3458$as_echo "$cross_compiling" >&6; } 3459 3460rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3461ac_clean_files=$ac_clean_files_save 3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3463$as_echo_n "checking for suffix of object files... " >&6; } 3464if ${ac_cv_objext+:} false; then : 3465 $as_echo_n "(cached) " >&6 3466else 3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3468/* end confdefs.h. */ 3469 3470int 3471main () 3472{ 3473 3474 ; 3475 return 0; 3476} 3477_ACEOF 3478rm -f conftest.o conftest.obj 3479if { { ac_try="$ac_compile" 3480case "(($ac_try" in 3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3482 *) ac_try_echo=$ac_try;; 3483esac 3484eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3485$as_echo "$ac_try_echo"; } >&5 3486 (eval "$ac_compile") 2>&5 3487 ac_status=$? 3488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3489 test $ac_status = 0; }; then : 3490 for ac_file in conftest.o conftest.obj conftest.*; do 3491 test -f "$ac_file" || continue; 3492 case $ac_file in 3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3494 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3495 break;; 3496 esac 3497done 3498else 3499 $as_echo "$as_me: failed program was:" >&5 3500sed 's/^/| /' conftest.$ac_ext >&5 3501 3502{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3504as_fn_error $? "cannot compute suffix of object files: cannot compile 3505See \`config.log' for more details" "$LINENO" 5; } 3506fi 3507rm -f conftest.$ac_cv_objext conftest.$ac_ext 3508fi 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3510$as_echo "$ac_cv_objext" >&6; } 3511OBJEXT=$ac_cv_objext 3512ac_objext=$OBJEXT 3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3514$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3515if ${ac_cv_c_compiler_gnu+:} false; then : 3516 $as_echo_n "(cached) " >&6 3517else 3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3519/* end confdefs.h. */ 3520 3521int 3522main () 3523{ 3524#ifndef __GNUC__ 3525 choke me 3526#endif 3527 3528 ; 3529 return 0; 3530} 3531_ACEOF 3532if ac_fn_c_try_compile "$LINENO"; then : 3533 ac_compiler_gnu=yes 3534else 3535 ac_compiler_gnu=no 3536fi 3537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3538ac_cv_c_compiler_gnu=$ac_compiler_gnu 3539 3540fi 3541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3542$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3543if test $ac_compiler_gnu = yes; then 3544 GCC=yes 3545else 3546 GCC= 3547fi 3548ac_test_CFLAGS=${CFLAGS+set} 3549ac_save_CFLAGS=$CFLAGS 3550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3551$as_echo_n "checking whether $CC accepts -g... " >&6; } 3552if ${ac_cv_prog_cc_g+:} false; then : 3553 $as_echo_n "(cached) " >&6 3554else 3555 ac_save_c_werror_flag=$ac_c_werror_flag 3556 ac_c_werror_flag=yes 3557 ac_cv_prog_cc_g=no 3558 CFLAGS="-g" 3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3560/* end confdefs.h. */ 3561 3562int 3563main () 3564{ 3565 3566 ; 3567 return 0; 3568} 3569_ACEOF 3570if ac_fn_c_try_compile "$LINENO"; then : 3571 ac_cv_prog_cc_g=yes 3572else 3573 CFLAGS="" 3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575/* end confdefs.h. */ 3576 3577int 3578main () 3579{ 3580 3581 ; 3582 return 0; 3583} 3584_ACEOF 3585if ac_fn_c_try_compile "$LINENO"; then : 3586 3587else 3588 ac_c_werror_flag=$ac_save_c_werror_flag 3589 CFLAGS="-g" 3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3591/* end confdefs.h. */ 3592 3593int 3594main () 3595{ 3596 3597 ; 3598 return 0; 3599} 3600_ACEOF 3601if ac_fn_c_try_compile "$LINENO"; then : 3602 ac_cv_prog_cc_g=yes 3603fi 3604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3605fi 3606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3607fi 3608rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3609 ac_c_werror_flag=$ac_save_c_werror_flag 3610fi 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3612$as_echo "$ac_cv_prog_cc_g" >&6; } 3613if test "$ac_test_CFLAGS" = set; then 3614 CFLAGS=$ac_save_CFLAGS 3615elif test $ac_cv_prog_cc_g = yes; then 3616 if test "$GCC" = yes; then 3617 CFLAGS="-g -O2" 3618 else 3619 CFLAGS="-g" 3620 fi 3621else 3622 if test "$GCC" = yes; then 3623 CFLAGS="-O2" 3624 else 3625 CFLAGS= 3626 fi 3627fi 3628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3629$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3630if ${ac_cv_prog_cc_c89+:} false; then : 3631 $as_echo_n "(cached) " >&6 3632else 3633 ac_cv_prog_cc_c89=no 3634ac_save_CC=$CC 3635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3636/* end confdefs.h. */ 3637#include <stdarg.h> 3638#include <stdio.h> 3639struct stat; 3640/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3641struct buf { int x; }; 3642FILE * (*rcsopen) (struct buf *, struct stat *, int); 3643static char *e (p, i) 3644 char **p; 3645 int i; 3646{ 3647 return p[i]; 3648} 3649static char *f (char * (*g) (char **, int), char **p, ...) 3650{ 3651 char *s; 3652 va_list v; 3653 va_start (v,p); 3654 s = g (p, va_arg (v,int)); 3655 va_end (v); 3656 return s; 3657} 3658 3659/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3660 function prototypes and stuff, but not '\xHH' hex character constants. 3661 These don't provoke an error unfortunately, instead are silently treated 3662 as 'x'. The following induces an error, until -std is added to get 3663 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3664 array size at least. It's necessary to write '\x00'==0 to get something 3665 that's true only with -std. */ 3666int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3667 3668/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3669 inside strings and character constants. */ 3670#define FOO(x) 'x' 3671int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3672 3673int test (int i, double x); 3674struct s1 {int (*f) (int a);}; 3675struct s2 {int (*f) (double a);}; 3676int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3677int argc; 3678char **argv; 3679int 3680main () 3681{ 3682return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3683 ; 3684 return 0; 3685} 3686_ACEOF 3687for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3688 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3689do 3690 CC="$ac_save_CC $ac_arg" 3691 if ac_fn_c_try_compile "$LINENO"; then : 3692 ac_cv_prog_cc_c89=$ac_arg 3693fi 3694rm -f core conftest.err conftest.$ac_objext 3695 test "x$ac_cv_prog_cc_c89" != "xno" && break 3696done 3697rm -f conftest.$ac_ext 3698CC=$ac_save_CC 3699 3700fi 3701# AC_CACHE_VAL 3702case "x$ac_cv_prog_cc_c89" in 3703 x) 3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3705$as_echo "none needed" >&6; } ;; 3706 xno) 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3708$as_echo "unsupported" >&6; } ;; 3709 *) 3710 CC="$CC $ac_cv_prog_cc_c89" 3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3712$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3713esac 3714if test "x$ac_cv_prog_cc_c89" != xno; then : 3715 3716fi 3717 3718ac_ext=c 3719ac_cpp='$CPP $CPPFLAGS' 3720ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3721ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3722ac_compiler_gnu=$ac_cv_c_compiler_gnu 3723 3724 3725 3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library" >&5 3727$as_echo_n "checking for OpenSSL library... " >&6; } 3728 3729# Check whether --with-ssl was given. 3730if test "${with_ssl+set}" = set; then : 3731 withval=$with_ssl; use_openssl="$withval" 3732else 3733 use_openssl="auto" 3734fi 3735 3736 3737openssldirs="/usr /usr/local /usr/local/ssl /usr/pkg /usr/sfw" 3738if test "$use_openssl" = "auto" 3739then 3740 for d in $openssldirs 3741 do 3742 if test -f $d/include/openssl/opensslv.h 3743 then 3744 use_openssl=$d 3745 break 3746 fi 3747 done 3748fi 3749case "$use_openssl" in 3750 no) 3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3752$as_echo "no" >&6; } 3753 TCN_OPENSSL_INC="" 3754 USE_OPENSSL="" 3755 ;; 3756 auto) 3757 TCN_OPENSSL_INC="" 3758 USE_OPENSSL="" 3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 3760$as_echo "not found" >&6; } 3761 ;; 3762 *) 3763 if test "$use_openssl" = "yes" 3764 then 3765 # User did not specify a path - guess it 3766 for d in $openssldirs 3767 do 3768 if test -f $d/include/openssl/opensslv.h 3769 then 3770 use_openssl=$d 3771 break 3772 fi 3773 done 3774 if test "$use_openssl" = "yes" 3775 then 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 3777$as_echo "not found" >&6; } 3778 as_fn_error $? "OpenSSL was not found in any of $openssldirs; use --with-ssl=/path" "$LINENO" 5 3779 fi 3780 fi 3781 USE_OPENSSL='-DOPENSSL' 3782 3783 test -d $use_openssl/lib64 && ssllibdir=lib64 || ssllibdir=lib 3784 if test "$use_openssl" = "/usr" 3785 then 3786 TCN_OPENSSL_INC="" 3787 TCN_OPENSSL_LIBS="-lssl -lcrypto" 3788 else 3789 TCN_OPENSSL_INC="-I$use_openssl/include" 3790 case $host in 3791 *-solaris*) 3792 TCN_OPENSSL_LIBS="-L$use_openssl/$ssllibdir -R$use_openssl/$ssllibdir -lssl -lcrypto" 3793 ;; 3794 *-hp-hpux*) 3795 # By default cc/aCC on HP-UX IA64 will produce 32 bit output 3796 ssllibdir=lib/hpux32 3797 TCN_OPENSSL_LIBS="-L$use_openssl/$ssllibdir -Wl,+b: -lssl -lcrypto" 3798 ;; 3799 *linux*|*freebsd*) 3800 TCN_OPENSSL_LIBS="-L$use_openssl/$ssllibdir -Wl,-rpath,$use_openssl/$ssllibdir -lssl -lcrypto" 3801 ;; 3802 *) 3803 TCN_OPENSSL_LIBS="-L$use_openssl/$ssllibdir -lssl -lcrypto" 3804 ;; 3805 esac 3806 fi 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using openssl from $use_openssl/$ssllibdir and $use_openssl/include" >&5 3808$as_echo "using openssl from $use_openssl/$ssllibdir and $use_openssl/include" >&6; } 3809 3810 saved_cflags="$CFLAGS" 3811 saved_libs="$LIBS" 3812 CFLAGS="$CFLAGS $TCN_OPENSSL_INC" 3813 LIBS="$LIBS $TCN_OPENSSL_LIBS" 3814 3815# Check whether --enable-openssl-version-check was given. 3816if test "${enable_openssl_version_check+set}" = set; then : 3817 enableval=$enable_openssl_version_check; 3818fi 3819 3820case "$enable_openssl_version_check" in 3821yes|'') 3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library version >= 1.0.2" >&5 3823$as_echo_n "checking OpenSSL library version >= 1.0.2... " >&6; } 3824 if test "$cross_compiling" = yes; then : 3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming target platform has compatible version" >&5 3826$as_echo "assuming target platform has compatible version" >&6; } 3827else 3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3829/* end confdefs.h. */ 3830 3831#include <stdio.h> 3832#include <openssl/opensslv.h> 3833int main() { 3834 if (OPENSSL_VERSION_NUMBER >= 0x1000200fL) 3835 return (0); 3836 printf("\n\nFound OPENSSL_VERSION_NUMBER %#010x (" OPENSSL_VERSION_TEXT ")\n", 3837 OPENSSL_VERSION_NUMBER); 3838 printf("Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)\n\n"); 3839 return (1); 3840} 3841 3842_ACEOF 3843if ac_fn_c_try_run "$LINENO"; then : 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 3845$as_echo "ok" >&6; } 3846else 3847 as_fn_error $? "Your version of OpenSSL is not compatible with this version of tcnative" "$LINENO" 5 3848fi 3849rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3850 conftest.$ac_objext conftest.beam conftest.$ac_ext 3851fi 3852 3853;; 3854no) 3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipped OpenSSL version check" >&5 3856$as_echo "Skipped OpenSSL version check" >&6; } 3857;; 3858esac 3859 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL DSA support" >&5 3861$as_echo_n "checking for OpenSSL DSA support... " >&6; } 3862 if test -f $use_openssl/include/openssl/dsa.h 3863 then 3864 $as_echo "#define HAVE_OPENSSL_DSA 1" >>confdefs.h 3865 3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3867$as_echo "yes" >&6; } 3868 else 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3870$as_echo "no" >&6; } 3871 fi 3872 CFLAGS="$saved_cflags" 3873 LIBS="$saved_libs" 3874 ;; 3875esac 3876if test "x$USE_OPENSSL" != "x" 3877then 3878 3879 if test "x$TCNATIVE_PRIV_INCLUDES" = "x"; then 3880 test "x$silent" != "xyes" && echo " setting TCNATIVE_PRIV_INCLUDES to \"$TCN_OPENSSL_INC\"" 3881 TCNATIVE_PRIV_INCLUDES="$TCN_OPENSSL_INC" 3882 else 3883 apr_addto_bugger="$TCN_OPENSSL_INC" 3884 for i in $apr_addto_bugger; do 3885 apr_addto_duplicate="0" 3886 for j in $TCNATIVE_PRIV_INCLUDES; do 3887 if test "x$i" = "x$j"; then 3888 apr_addto_duplicate="1" 3889 break 3890 fi 3891 done 3892 if test $apr_addto_duplicate = "0"; then 3893 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_PRIV_INCLUDES" 3894 TCNATIVE_PRIV_INCLUDES="$TCNATIVE_PRIV_INCLUDES $i" 3895 fi 3896 done 3897 fi 3898 3899 3900 if test "x$TCNATIVE_LDFLAGS" = "x"; then 3901 test "x$silent" != "xyes" && echo " setting TCNATIVE_LDFLAGS to \"$TCN_OPENSSL_LIBS\"" 3902 TCNATIVE_LDFLAGS="$TCN_OPENSSL_LIBS" 3903 else 3904 apr_addto_bugger="$TCN_OPENSSL_LIBS" 3905 for i in $apr_addto_bugger; do 3906 apr_addto_duplicate="0" 3907 for j in $TCNATIVE_LDFLAGS; do 3908 if test "x$i" = "x$j"; then 3909 apr_addto_duplicate="1" 3910 break 3911 fi 3912 done 3913 if test $apr_addto_duplicate = "0"; then 3914 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_LDFLAGS" 3915 TCNATIVE_LDFLAGS="$TCNATIVE_LDFLAGS $i" 3916 fi 3917 done 3918 fi 3919 3920 3921 if test "x$CFLAGS" = "x"; then 3922 test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DHAVE_OPENSSL\"" 3923 CFLAGS="-DHAVE_OPENSSL" 3924 else 3925 apr_addto_bugger="-DHAVE_OPENSSL" 3926 for i in $apr_addto_bugger; do 3927 apr_addto_duplicate="0" 3928 for j in $CFLAGS; do 3929 if test "x$i" = "x$j"; then 3930 apr_addto_duplicate="1" 3931 break 3932 fi 3933 done 3934 if test $apr_addto_duplicate = "0"; then 3935 test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS" 3936 CFLAGS="$CFLAGS $i" 3937 fi 3938 done 3939 fi 3940 3941fi 3942 3943fi 3944 3945so_ext=$APR_SO_EXT 3946lib_target=$APR_LIB_TARGET 3947 3948 3949 3950TCNATIVE_LIBNAME="tcnative${libsuffix}" 3951 3952 3953EXTRA_OS_LINK="" 3954host_alias=`uname -s` 3955case "$host_alias" in 3956 *AIX*|*Darwin*|*BeOS*) 3957 EXTRA_OS_LINK='$(TCNATIVE_LDFLAGS) $(TCNATIVE_LIBS)' 3958 ;; 3959*) 3960 ;; 3961esac 3962 3963 3964 3965CFLAGS="${CFLAGS}" 3966# Check whether --enable-maintainer-mode was given. 3967if test "${enable_maintainer_mode+set}" = set; then : 3968 enableval=$enable_maintainer_mode; 3969 case "${enableval}" in 3970 yes ) 3971 if test "$GCC" = "yes"; then 3972 CFLAGS="${CFLAGS} -DDEBUG -Wall" 3973 else 3974 CFLAGS="${CFLAGS} -DDEBUG" 3975 fi 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...Enabling Maintainer mode..." >&5 3977$as_echo "...Enabling Maintainer mode..." >&6; } 3978 ;; 3979 esac 3980 3981fi 3982 3983 3984 3985 if test "x$TCNATIVE_LIBS" = "x"; then 3986 test "x$silent" != "xyes" && echo " setting TCNATIVE_LIBS to \"$LIBS\"" 3987 TCNATIVE_LIBS="$LIBS" 3988 else 3989 apr_addto_bugger="$LIBS" 3990 for i in $apr_addto_bugger; do 3991 apr_addto_duplicate="0" 3992 for j in $TCNATIVE_LIBS; do 3993 if test "x$i" = "x$j"; then 3994 apr_addto_duplicate="1" 3995 break 3996 fi 3997 done 3998 if test $apr_addto_duplicate = "0"; then 3999 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_LIBS" 4000 TCNATIVE_LIBS="$TCNATIVE_LIBS $i" 4001 fi 4002 done 4003 fi 4004 4005 4006 if test "x$TCNATIVE_LIBS" = "x"; then 4007 test "x$silent" != "xyes" && echo " setting TCNATIVE_LIBS to \"$APR_LIBTOOL_LIBS\"" 4008 TCNATIVE_LIBS="$APR_LIBTOOL_LIBS" 4009 else 4010 apr_addto_bugger="$APR_LIBTOOL_LIBS" 4011 for i in $apr_addto_bugger; do 4012 apr_addto_duplicate="0" 4013 for j in $TCNATIVE_LIBS; do 4014 if test "x$i" = "x$j"; then 4015 apr_addto_duplicate="1" 4016 break 4017 fi 4018 done 4019 if test $apr_addto_duplicate = "0"; then 4020 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_LIBS" 4021 TCNATIVE_LIBS="$TCNATIVE_LIBS $i" 4022 fi 4023 done 4024 fi 4025 4026 4027 if test "x$TCNATIVE_LDFLAGS" = "x"; then 4028 test "x$silent" != "xyes" && echo " setting TCNATIVE_LDFLAGS to \"$LDFLAGS\"" 4029 TCNATIVE_LDFLAGS="$LDFLAGS" 4030 else 4031 apr_addto_bugger="$LDFLAGS" 4032 for i in $apr_addto_bugger; do 4033 apr_addto_duplicate="0" 4034 for j in $TCNATIVE_LDFLAGS; do 4035 if test "x$i" = "x$j"; then 4036 apr_addto_duplicate="1" 4037 break 4038 fi 4039 done 4040 if test $apr_addto_duplicate = "0"; then 4041 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_LDFLAGS" 4042 TCNATIVE_LDFLAGS="$TCNATIVE_LDFLAGS $i" 4043 fi 4044 done 4045 fi 4046 4047 4048# Link libkstat for Solaris 4049case $host in 4050 *-solaris2*) 4051 4052 if test "x$TCNATIVE_LIBS" = "x"; then 4053 test "x$silent" != "xyes" && echo " setting TCNATIVE_LIBS to \"-lkstat\"" 4054 TCNATIVE_LIBS="-lkstat" 4055 else 4056 apr_addto_bugger="-lkstat" 4057 for i in $apr_addto_bugger; do 4058 apr_addto_duplicate="0" 4059 for j in $TCNATIVE_LIBS; do 4060 if test "x$i" = "x$j"; then 4061 apr_addto_duplicate="1" 4062 break 4063 fi 4064 done 4065 if test $apr_addto_duplicate = "0"; then 4066 test "x$silent" != "xyes" && echo " adding \"$i\" to TCNATIVE_LIBS" 4067 TCNATIVE_LIBS="$TCNATIVE_LIBS $i" 4068 fi 4069 done 4070 fi 4071 4072 ;; 4073 *linux*) 4074 4075 if test "x$CFLAGS" = "x"; then 4076 test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DTCNATIVE_LINUX\"" 4077 CFLAGS="-DTCNATIVE_LINUX" 4078 else 4079 apr_addto_bugger="-DTCNATIVE_LINUX" 4080 for i in $apr_addto_bugger; do 4081 apr_addto_duplicate="0" 4082 for j in $CFLAGS; do 4083 if test "x$i" = "x$j"; then 4084 apr_addto_duplicate="1" 4085 break 4086 fi 4087 done 4088 if test $apr_addto_duplicate = "0"; then 4089 test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS" 4090 CFLAGS="$CFLAGS $i" 4091 fi 4092 done 4093 fi 4094 4095 ;; 4096 *) 4097 ;; 4098esac 4099 4100 4101 saved_cflags="$CFLAGS" 4102 saved_libs="$LIBS" 4103 CFLAGS="$CFLAGS $APR_INCLUDES" 4104 LIBS="$LIBS $APR_LIBS" 4105 chk_result=0 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_pollset_wakeup in -lapr-1" >&5 4107$as_echo_n "checking for apr_pollset_wakeup in -lapr-1... " >&6; } 4108if ${ac_cv_lib_apr_1_apr_pollset_wakeup+:} false; then : 4109 $as_echo_n "(cached) " >&6 4110else 4111 ac_check_lib_save_LIBS=$LIBS 4112LIBS="-lapr-1 $LIBS" 4113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4114/* end confdefs.h. */ 4115 4116/* Override any GCC internal prototype to avoid an error. 4117 Use char because int might match the return type of a GCC 4118 builtin and then its argument prototype would still apply. */ 4119#ifdef __cplusplus 4120extern "C" 4121#endif 4122char apr_pollset_wakeup (); 4123int 4124main () 4125{ 4126return apr_pollset_wakeup (); 4127 ; 4128 return 0; 4129} 4130_ACEOF 4131if ac_fn_c_try_link "$LINENO"; then : 4132 ac_cv_lib_apr_1_apr_pollset_wakeup=yes 4133else 4134 ac_cv_lib_apr_1_apr_pollset_wakeup=no 4135fi 4136rm -f core conftest.err conftest.$ac_objext \ 4137 conftest$ac_exeext conftest.$ac_ext 4138LIBS=$ac_check_lib_save_LIBS 4139fi 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_1_apr_pollset_wakeup" >&5 4141$as_echo "$ac_cv_lib_apr_1_apr_pollset_wakeup" >&6; } 4142if test "x$ac_cv_lib_apr_1_apr_pollset_wakeup" = xyes; then : 4143 chk_result=1 4144fi 4145 4146 CFLAGS="$saved_cflags" 4147 LIBS="$saved_libs" 4148 if test "$chk_result" != "0" 4149 then 4150 4151 if test "x$CFLAGS" = "x"; then 4152 test "x$silent" != "xyes" && echo " setting CFLAGS to \"-DHAVE_POLLSET_WAKEUP\"" 4153 CFLAGS="-DHAVE_POLLSET_WAKEUP" 4154 else 4155 apr_addto_bugger="-DHAVE_POLLSET_WAKEUP" 4156 for i in $apr_addto_bugger; do 4157 apr_addto_duplicate="0" 4158 for j in $CFLAGS; do 4159 if test "x$i" = "x$j"; then 4160 apr_addto_duplicate="1" 4161 break 4162 fi 4163 done 4164 if test $apr_addto_duplicate = "0"; then 4165 test "x$silent" != "xyes" && echo " adding \"$i\" to CFLAGS" 4166 CFLAGS="$CFLAGS $i" 4167 fi 4168 done 4169 fi 4170 4171 fi 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182if test ! -d ./build; then 4183 $mkdir_p build 4184fi 4185cp $APR_BUILD_DIR/apr_rules.mk $abs_builddir/build/rules.mk 4186 4187 4188case "$host_alias" in 4189*bsdi* | BSD/OS) 4190 # Check whether they've installed GNU make 4191 if make --version > /dev/null 2>&1; then 4192 INCLUDE_RULES="include $abs_builddir/build/rules.mk" 4193 INCLUDE_OUTPUTS="include $abs_srcdir/build-outputs.mk" 4194 else 4195 INCLUDE_RULES=".include \"$abs_builddir/build/rules.mk\"" 4196 INCLUDE_OUTPUTS=".include \"$abs_srcdir/build-outputs.mk\"" 4197 fi 4198 ;; 4199*) 4200 INCLUDE_RULES="include $abs_builddir/build/rules.mk" 4201 INCLUDE_OUTPUTS="include $abs_srcdir/build-outputs.mk" 4202 ;; 4203esac 4204 4205 4206 4207 4208if test -d $srcdir/test; then 4209 test_Makefile="test/Makefile" 4210fi 4211 4212MAKEFILES="Makefile" 4213ac_config_files="$ac_config_files $MAKEFILES" 4214 4215ac_config_commands="$ac_config_commands default" 4216 4217cat >confcache <<\_ACEOF 4218# This file is a shell script that caches the results of configure 4219# tests run on this system so they can be shared between configure 4220# scripts and configure runs, see configure's option --config-cache. 4221# It is not useful on other systems. If it contains results you don't 4222# want to keep, you may remove or edit it. 4223# 4224# config.status only pays attention to the cache file if you give it 4225# the --recheck option to rerun configure. 4226# 4227# `ac_cv_env_foo' variables (set or unset) will be overridden when 4228# loading this file, other *unset* `ac_cv_foo' will be assigned the 4229# following values. 4230 4231_ACEOF 4232 4233# The following way of writing the cache mishandles newlines in values, 4234# but we know of no workaround that is simple, portable, and efficient. 4235# So, we kill variables containing newlines. 4236# Ultrix sh set writes to stderr and can't be redirected directly, 4237# and sets the high bit in the cache file unless we assign to the vars. 4238( 4239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4240 eval ac_val=\$$ac_var 4241 case $ac_val in #( 4242 *${as_nl}*) 4243 case $ac_var in #( 4244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4245$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4246 esac 4247 case $ac_var in #( 4248 _ | IFS | as_nl) ;; #( 4249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4250 *) { eval $ac_var=; unset $ac_var;} ;; 4251 esac ;; 4252 esac 4253 done 4254 4255 (set) 2>&1 | 4256 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4257 *${as_nl}ac_space=\ *) 4258 # `set' does not quote correctly, so add quotes: double-quote 4259 # substitution turns \\\\ into \\, and sed turns \\ into \. 4260 sed -n \ 4261 "s/'/'\\\\''/g; 4262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4263 ;; #( 4264 *) 4265 # `set' quotes correctly as required by POSIX, so do not add quotes. 4266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4267 ;; 4268 esac | 4269 sort 4270) | 4271 sed ' 4272 /^ac_cv_env_/b end 4273 t clear 4274 :clear 4275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4276 t end 4277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4278 :end' >>confcache 4279if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4280 if test -w "$cache_file"; then 4281 if test "x$cache_file" != "x/dev/null"; then 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4283$as_echo "$as_me: updating cache $cache_file" >&6;} 4284 if test ! -f "$cache_file" || test -h "$cache_file"; then 4285 cat confcache >"$cache_file" 4286 else 4287 case $cache_file in #( 4288 */* | ?:*) 4289 mv -f confcache "$cache_file"$$ && 4290 mv -f "$cache_file"$$ "$cache_file" ;; #( 4291 *) 4292 mv -f confcache "$cache_file" ;; 4293 esac 4294 fi 4295 fi 4296 else 4297 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4298$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4299 fi 4300fi 4301rm -f confcache 4302 4303test "x$prefix" = xNONE && prefix=$ac_default_prefix 4304# Let make expand exec_prefix. 4305test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4306 4307# Transform confdefs.h into DEFS. 4308# Protect against shell expansion while executing Makefile rules. 4309# Protect against Makefile macro expansion. 4310# 4311# If the first sed substitution is executed (which looks for macros that 4312# take arguments), then branch to the quote section. Otherwise, 4313# look for a macro that doesn't take arguments. 4314ac_script=' 4315:mline 4316/\\$/{ 4317 N 4318 s,\\\n,, 4319 b mline 4320} 4321t clear 4322:clear 4323s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4324t quote 4325s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4326t quote 4327b any 4328:quote 4329s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4330s/\[/\\&/g 4331s/\]/\\&/g 4332s/\$/$$/g 4333H 4334:any 4335${ 4336 g 4337 s/^\n// 4338 s/\n/ /g 4339 p 4340} 4341' 4342DEFS=`sed -n "$ac_script" confdefs.h` 4343 4344 4345ac_libobjs= 4346ac_ltlibobjs= 4347U= 4348for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4349 # 1. Remove the extension, and $U if already installed. 4350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4353 # will be set to the directory where LIBOBJS objects are built. 4354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4356done 4357LIBOBJS=$ac_libobjs 4358 4359LTLIBOBJS=$ac_ltlibobjs 4360 4361 4362 4363: "${CONFIG_STATUS=./config.status}" 4364ac_write_fail=0 4365ac_clean_files_save=$ac_clean_files 4366ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4367{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4368$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4369as_write_fail=0 4370cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4371#! $SHELL 4372# Generated by $as_me. 4373# Run this file to recreate the current configuration. 4374# Compiler output produced by configure, useful for debugging 4375# configure, is in config.log if it exists. 4376 4377debug=false 4378ac_cs_recheck=false 4379ac_cs_silent=false 4380 4381SHELL=\${CONFIG_SHELL-$SHELL} 4382export SHELL 4383_ASEOF 4384cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4385## -------------------- ## 4386## M4sh Initialization. ## 4387## -------------------- ## 4388 4389# Be more Bourne compatible 4390DUALCASE=1; export DUALCASE # for MKS sh 4391if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4392 emulate sh 4393 NULLCMD=: 4394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4395 # is contrary to our usage. Disable this feature. 4396 alias -g '${1+"$@"}'='"$@"' 4397 setopt NO_GLOB_SUBST 4398else 4399 case `(set -o) 2>/dev/null` in #( 4400 *posix*) : 4401 set -o posix ;; #( 4402 *) : 4403 ;; 4404esac 4405fi 4406 4407 4408as_nl=' 4409' 4410export as_nl 4411# Printing a long string crashes Solaris 7 /usr/bin/printf. 4412as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4413as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4414as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4415# Prefer a ksh shell builtin over an external printf program on Solaris, 4416# but without wasting forks for bash or zsh. 4417if test -z "$BASH_VERSION$ZSH_VERSION" \ 4418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4419 as_echo='print -r --' 4420 as_echo_n='print -rn --' 4421elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4422 as_echo='printf %s\n' 4423 as_echo_n='printf %s' 4424else 4425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4427 as_echo_n='/usr/ucb/echo -n' 4428 else 4429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4430 as_echo_n_body='eval 4431 arg=$1; 4432 case $arg in #( 4433 *"$as_nl"*) 4434 expr "X$arg" : "X\\(.*\\)$as_nl"; 4435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4436 esac; 4437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4438 ' 4439 export as_echo_n_body 4440 as_echo_n='sh -c $as_echo_n_body as_echo' 4441 fi 4442 export as_echo_body 4443 as_echo='sh -c $as_echo_body as_echo' 4444fi 4445 4446# The user is always right. 4447if test "${PATH_SEPARATOR+set}" != set; then 4448 PATH_SEPARATOR=: 4449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4451 PATH_SEPARATOR=';' 4452 } 4453fi 4454 4455 4456# IFS 4457# We need space, tab and new line, in precisely that order. Quoting is 4458# there to prevent editors from complaining about space-tab. 4459# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4460# splitting by setting IFS to empty value.) 4461IFS=" "" $as_nl" 4462 4463# Find who we are. Look in the path if we contain no directory separator. 4464as_myself= 4465case $0 in #(( 4466 *[\\/]* ) as_myself=$0 ;; 4467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4468for as_dir in $PATH 4469do 4470 IFS=$as_save_IFS 4471 test -z "$as_dir" && as_dir=. 4472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4473 done 4474IFS=$as_save_IFS 4475 4476 ;; 4477esac 4478# We did not find ourselves, most probably we were run as `sh COMMAND' 4479# in which case we are not to be found in the path. 4480if test "x$as_myself" = x; then 4481 as_myself=$0 4482fi 4483if test ! -f "$as_myself"; then 4484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4485 exit 1 4486fi 4487 4488# Unset variables that we do not need and which cause bugs (e.g. in 4489# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4490# suppresses any "Segmentation fault" message there. '((' could 4491# trigger a bug in pdksh 5.2.14. 4492for as_var in BASH_ENV ENV MAIL MAILPATH 4493do eval test x\${$as_var+set} = xset \ 4494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4495done 4496PS1='$ ' 4497PS2='> ' 4498PS4='+ ' 4499 4500# NLS nuisances. 4501LC_ALL=C 4502export LC_ALL 4503LANGUAGE=C 4504export LANGUAGE 4505 4506# CDPATH. 4507(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4508 4509 4510# as_fn_error STATUS ERROR [LINENO LOG_FD] 4511# ---------------------------------------- 4512# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4513# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4514# script with STATUS, using 1 if that was 0. 4515as_fn_error () 4516{ 4517 as_status=$1; test $as_status -eq 0 && as_status=1 4518 if test "$4"; then 4519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4521 fi 4522 $as_echo "$as_me: error: $2" >&2 4523 as_fn_exit $as_status 4524} # as_fn_error 4525 4526 4527# as_fn_set_status STATUS 4528# ----------------------- 4529# Set $? to STATUS, without forking. 4530as_fn_set_status () 4531{ 4532 return $1 4533} # as_fn_set_status 4534 4535# as_fn_exit STATUS 4536# ----------------- 4537# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4538as_fn_exit () 4539{ 4540 set +e 4541 as_fn_set_status $1 4542 exit $1 4543} # as_fn_exit 4544 4545# as_fn_unset VAR 4546# --------------- 4547# Portably unset VAR. 4548as_fn_unset () 4549{ 4550 { eval $1=; unset $1;} 4551} 4552as_unset=as_fn_unset 4553# as_fn_append VAR VALUE 4554# ---------------------- 4555# Append the text in VALUE to the end of the definition contained in VAR. Take 4556# advantage of any shell optimizations that allow amortized linear growth over 4557# repeated appends, instead of the typical quadratic growth present in naive 4558# implementations. 4559if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4560 eval 'as_fn_append () 4561 { 4562 eval $1+=\$2 4563 }' 4564else 4565 as_fn_append () 4566 { 4567 eval $1=\$$1\$2 4568 } 4569fi # as_fn_append 4570 4571# as_fn_arith ARG... 4572# ------------------ 4573# Perform arithmetic evaluation on the ARGs, and store the result in the 4574# global $as_val. Take advantage of shells that can avoid forks. The arguments 4575# must be portable across $(()) and expr. 4576if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4577 eval 'as_fn_arith () 4578 { 4579 as_val=$(( $* )) 4580 }' 4581else 4582 as_fn_arith () 4583 { 4584 as_val=`expr "$@" || test $? -eq 1` 4585 } 4586fi # as_fn_arith 4587 4588 4589if expr a : '\(a\)' >/dev/null 2>&1 && 4590 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4591 as_expr=expr 4592else 4593 as_expr=false 4594fi 4595 4596if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4597 as_basename=basename 4598else 4599 as_basename=false 4600fi 4601 4602if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4603 as_dirname=dirname 4604else 4605 as_dirname=false 4606fi 4607 4608as_me=`$as_basename -- "$0" || 4609$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4610 X"$0" : 'X\(//\)$' \| \ 4611 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4612$as_echo X/"$0" | 4613 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4614 s//\1/ 4615 q 4616 } 4617 /^X\/\(\/\/\)$/{ 4618 s//\1/ 4619 q 4620 } 4621 /^X\/\(\/\).*/{ 4622 s//\1/ 4623 q 4624 } 4625 s/.*/./; q'` 4626 4627# Avoid depending upon Character Ranges. 4628as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4629as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4630as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4631as_cr_digits='0123456789' 4632as_cr_alnum=$as_cr_Letters$as_cr_digits 4633 4634ECHO_C= ECHO_N= ECHO_T= 4635case `echo -n x` in #((((( 4636-n*) 4637 case `echo 'xy\c'` in 4638 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4639 xy) ECHO_C='\c';; 4640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4641 ECHO_T=' ';; 4642 esac;; 4643*) 4644 ECHO_N='-n';; 4645esac 4646 4647rm -f conf$$ conf$$.exe conf$$.file 4648if test -d conf$$.dir; then 4649 rm -f conf$$.dir/conf$$.file 4650else 4651 rm -f conf$$.dir 4652 mkdir conf$$.dir 2>/dev/null 4653fi 4654if (echo >conf$$.file) 2>/dev/null; then 4655 if ln -s conf$$.file conf$$ 2>/dev/null; then 4656 as_ln_s='ln -s' 4657 # ... but there are two gotchas: 4658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4660 # In both cases, we have to default to `cp -pR'. 4661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4662 as_ln_s='cp -pR' 4663 elif ln conf$$.file conf$$ 2>/dev/null; then 4664 as_ln_s=ln 4665 else 4666 as_ln_s='cp -pR' 4667 fi 4668else 4669 as_ln_s='cp -pR' 4670fi 4671rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4672rmdir conf$$.dir 2>/dev/null 4673 4674 4675# as_fn_mkdir_p 4676# ------------- 4677# Create "$as_dir" as a directory, including parents if necessary. 4678as_fn_mkdir_p () 4679{ 4680 4681 case $as_dir in #( 4682 -*) as_dir=./$as_dir;; 4683 esac 4684 test -d "$as_dir" || eval $as_mkdir_p || { 4685 as_dirs= 4686 while :; do 4687 case $as_dir in #( 4688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4689 *) as_qdir=$as_dir;; 4690 esac 4691 as_dirs="'$as_qdir' $as_dirs" 4692 as_dir=`$as_dirname -- "$as_dir" || 4693$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4694 X"$as_dir" : 'X\(//\)[^/]' \| \ 4695 X"$as_dir" : 'X\(//\)$' \| \ 4696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4697$as_echo X"$as_dir" | 4698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4699 s//\1/ 4700 q 4701 } 4702 /^X\(\/\/\)[^/].*/{ 4703 s//\1/ 4704 q 4705 } 4706 /^X\(\/\/\)$/{ 4707 s//\1/ 4708 q 4709 } 4710 /^X\(\/\).*/{ 4711 s//\1/ 4712 q 4713 } 4714 s/.*/./; q'` 4715 test -d "$as_dir" && break 4716 done 4717 test -z "$as_dirs" || eval "mkdir $as_dirs" 4718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4719 4720 4721} # as_fn_mkdir_p 4722if mkdir -p . 2>/dev/null; then 4723 as_mkdir_p='mkdir -p "$as_dir"' 4724else 4725 test -d ./-p && rmdir ./-p 4726 as_mkdir_p=false 4727fi 4728 4729 4730# as_fn_executable_p FILE 4731# ----------------------- 4732# Test if FILE is an executable regular file. 4733as_fn_executable_p () 4734{ 4735 test -f "$1" && test -x "$1" 4736} # as_fn_executable_p 4737as_test_x='test -x' 4738as_executable_p=as_fn_executable_p 4739 4740# Sed expression to map a string onto a valid CPP name. 4741as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4742 4743# Sed expression to map a string onto a valid variable name. 4744as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4745 4746 4747exec 6>&1 4748## ----------------------------------- ## 4749## Main body of $CONFIG_STATUS script. ## 4750## ----------------------------------- ## 4751_ASEOF 4752test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4753 4754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4755# Save the log message, to keep $0 and so on meaningful, and to 4756# report actual input values of CONFIG_FILES etc. instead of their 4757# values after options handling. 4758ac_log=" 4759This file was extended by $as_me, which was 4760generated by GNU Autoconf 2.69. Invocation command line was 4761 4762 CONFIG_FILES = $CONFIG_FILES 4763 CONFIG_HEADERS = $CONFIG_HEADERS 4764 CONFIG_LINKS = $CONFIG_LINKS 4765 CONFIG_COMMANDS = $CONFIG_COMMANDS 4766 $ $0 $@ 4767 4768on `(hostname || uname -n) 2>/dev/null | sed 1q` 4769" 4770 4771_ACEOF 4772 4773case $ac_config_files in *" 4774"*) set x $ac_config_files; shift; ac_config_files=$*;; 4775esac 4776 4777 4778 4779cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4780# Files that config.status was made for. 4781config_files="$ac_config_files" 4782config_commands="$ac_config_commands" 4783 4784_ACEOF 4785 4786cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4787ac_cs_usage="\ 4788\`$as_me' instantiates files and other configuration actions 4789from templates according to the current configuration. Unless the files 4790and actions are specified as TAGs, all are instantiated by default. 4791 4792Usage: $0 [OPTION]... [TAG]... 4793 4794 -h, --help print this help, then exit 4795 -V, --version print version number and configuration settings, then exit 4796 --config print configuration, then exit 4797 -q, --quiet, --silent 4798 do not print progress messages 4799 -d, --debug don't remove temporary files 4800 --recheck update $as_me by reconfiguring in the same conditions 4801 --file=FILE[:TEMPLATE] 4802 instantiate the configuration file FILE 4803 4804Configuration files: 4805$config_files 4806 4807Configuration commands: 4808$config_commands 4809 4810Report bugs to the package provider." 4811 4812_ACEOF 4813cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4814ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4815ac_cs_version="\\ 4816config.status 4817configured by $0, generated by GNU Autoconf 2.69, 4818 with options \\"\$ac_cs_config\\" 4819 4820Copyright (C) 2012 Free Software Foundation, Inc. 4821This config.status script is free software; the Free Software Foundation 4822gives unlimited permission to copy, distribute and modify it." 4823 4824ac_pwd='$ac_pwd' 4825srcdir='$srcdir' 4826INSTALL='$INSTALL' 4827test -n "\$AWK" || AWK=awk 4828_ACEOF 4829 4830cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4831# The default lists apply if the user does not specify any file. 4832ac_need_defaults=: 4833while test $# != 0 4834do 4835 case $1 in 4836 --*=?*) 4837 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4838 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4839 ac_shift=: 4840 ;; 4841 --*=) 4842 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4843 ac_optarg= 4844 ac_shift=: 4845 ;; 4846 *) 4847 ac_option=$1 4848 ac_optarg=$2 4849 ac_shift=shift 4850 ;; 4851 esac 4852 4853 case $ac_option in 4854 # Handling of the options. 4855 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4856 ac_cs_recheck=: ;; 4857 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4858 $as_echo "$ac_cs_version"; exit ;; 4859 --config | --confi | --conf | --con | --co | --c ) 4860 $as_echo "$ac_cs_config"; exit ;; 4861 --debug | --debu | --deb | --de | --d | -d ) 4862 debug=: ;; 4863 --file | --fil | --fi | --f ) 4864 $ac_shift 4865 case $ac_optarg in 4866 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4867 '') as_fn_error $? "missing file argument" ;; 4868 esac 4869 as_fn_append CONFIG_FILES " '$ac_optarg'" 4870 ac_need_defaults=false;; 4871 --he | --h | --help | --hel | -h ) 4872 $as_echo "$ac_cs_usage"; exit ;; 4873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4874 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4875 ac_cs_silent=: ;; 4876 4877 # This is an error. 4878 -*) as_fn_error $? "unrecognized option: \`$1' 4879Try \`$0 --help' for more information." ;; 4880 4881 *) as_fn_append ac_config_targets " $1" 4882 ac_need_defaults=false ;; 4883 4884 esac 4885 shift 4886done 4887 4888ac_configure_extra_args= 4889 4890if $ac_cs_silent; then 4891 exec 6>/dev/null 4892 ac_configure_extra_args="$ac_configure_extra_args --silent" 4893fi 4894 4895_ACEOF 4896cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4897if \$ac_cs_recheck; then 4898 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4899 shift 4900 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4901 CONFIG_SHELL='$SHELL' 4902 export CONFIG_SHELL 4903 exec "\$@" 4904fi 4905 4906_ACEOF 4907cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4908exec 5>>config.log 4909{ 4910 echo 4911 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4912## Running $as_me. ## 4913_ASBOX 4914 $as_echo "$ac_log" 4915} >&5 4916 4917_ACEOF 4918cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4919_ACEOF 4920 4921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4922 4923# Handling of arguments. 4924for ac_config_target in $ac_config_targets 4925do 4926 case $ac_config_target in 4927 "$MAKEFILES") CONFIG_FILES="$CONFIG_FILES $MAKEFILES" ;; 4928 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 4929 4930 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4931 esac 4932done 4933 4934 4935# If the user did not use the arguments to specify the items to instantiate, 4936# then the envvar interface is used. Set only those that are not. 4937# We use the long form for the default assignment because of an extremely 4938# bizarre bug on SunOS 4.1.3. 4939if $ac_need_defaults; then 4940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4941 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4942fi 4943 4944# Have a temporary directory for convenience. Make it in the build tree 4945# simply because there is no reason against having it here, and in addition, 4946# creating and moving files from /tmp can sometimes cause problems. 4947# Hook for its removal unless debugging. 4948# Note that there is a small window in which the directory will not be cleaned: 4949# after its creation but before its name has been assigned to `$tmp'. 4950$debug || 4951{ 4952 tmp= ac_tmp= 4953 trap 'exit_status=$? 4954 : "${ac_tmp:=$tmp}" 4955 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4956' 0 4957 trap 'as_fn_exit 1' 1 2 13 15 4958} 4959# Create a (secure) tmp directory for tmp files. 4960 4961{ 4962 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4963 test -d "$tmp" 4964} || 4965{ 4966 tmp=./conf$$-$RANDOM 4967 (umask 077 && mkdir "$tmp") 4968} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4969ac_tmp=$tmp 4970 4971# Set up the scripts for CONFIG_FILES section. 4972# No need to generate them if there are no CONFIG_FILES. 4973# This happens for instance with `./config.status config.h'. 4974if test -n "$CONFIG_FILES"; then 4975 4976 4977ac_cr=`echo X | tr X '\015'` 4978# On cygwin, bash can eat \r inside `` if the user requested igncr. 4979# But we know of no other shell where ac_cr would be empty at this 4980# point, so we can use a bashism as a fallback. 4981if test "x$ac_cr" = x; then 4982 eval ac_cr=\$\'\\r\' 4983fi 4984ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4985if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4986 ac_cs_awk_cr='\\r' 4987else 4988 ac_cs_awk_cr=$ac_cr 4989fi 4990 4991echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4992_ACEOF 4993 4994 4995{ 4996 echo "cat >conf$$subs.awk <<_ACEOF" && 4997 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4998 echo "_ACEOF" 4999} >conf$$subs.sh || 5000 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5001ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5002ac_delim='%!_!# ' 5003for ac_last_try in false false false false false :; do 5004 . ./conf$$subs.sh || 5005 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5006 5007 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5008 if test $ac_delim_n = $ac_delim_num; then 5009 break 5010 elif $ac_last_try; then 5011 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5012 else 5013 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5014 fi 5015done 5016rm -f conf$$subs.sh 5017 5018cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5019cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5020_ACEOF 5021sed -n ' 5022h 5023s/^/S["/; s/!.*/"]=/ 5024p 5025g 5026s/^[^!]*!// 5027:repl 5028t repl 5029s/'"$ac_delim"'$// 5030t delim 5031:nl 5032h 5033s/\(.\{148\}\)..*/\1/ 5034t more1 5035s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5036p 5037n 5038b repl 5039:more1 5040s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5041p 5042g 5043s/.\{148\}// 5044t nl 5045:delim 5046h 5047s/\(.\{148\}\)..*/\1/ 5048t more2 5049s/["\\]/\\&/g; s/^/"/; s/$/"/ 5050p 5051b 5052:more2 5053s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5054p 5055g 5056s/.\{148\}// 5057t delim 5058' <conf$$subs.awk | sed ' 5059/^[^""]/{ 5060 N 5061 s/\n// 5062} 5063' >>$CONFIG_STATUS || ac_write_fail=1 5064rm -f conf$$subs.awk 5065cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5066_ACAWK 5067cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5068 for (key in S) S_is_set[key] = 1 5069 FS = "" 5070 5071} 5072{ 5073 line = $ 0 5074 nfields = split(line, field, "@") 5075 substed = 0 5076 len = length(field[1]) 5077 for (i = 2; i < nfields; i++) { 5078 key = field[i] 5079 keylen = length(key) 5080 if (S_is_set[key]) { 5081 value = S[key] 5082 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5083 len += length(value) + length(field[++i]) 5084 substed = 1 5085 } else 5086 len += 1 + keylen 5087 } 5088 5089 print line 5090} 5091 5092_ACAWK 5093_ACEOF 5094cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5095if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5096 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5097else 5098 cat 5099fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5100 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5101_ACEOF 5102 5103# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5104# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5105# trailing colons and then remove the whole line if VPATH becomes empty 5106# (actually we leave an empty line to preserve line numbers). 5107if test "x$srcdir" = x.; then 5108 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5109h 5110s/// 5111s/^/:/ 5112s/[ ]*$/:/ 5113s/:\$(srcdir):/:/g 5114s/:\${srcdir}:/:/g 5115s/:@srcdir@:/:/g 5116s/^:*// 5117s/:*$// 5118x 5119s/\(=[ ]*\).*/\1/ 5120G 5121s/\n// 5122s/^[^=]*=[ ]*$// 5123}' 5124fi 5125 5126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5127fi # test -n "$CONFIG_FILES" 5128 5129 5130eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5131shift 5132for ac_tag 5133do 5134 case $ac_tag in 5135 :[FHLC]) ac_mode=$ac_tag; continue;; 5136 esac 5137 case $ac_mode$ac_tag in 5138 :[FHL]*:*);; 5139 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5140 :[FH]-) ac_tag=-:-;; 5141 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5142 esac 5143 ac_save_IFS=$IFS 5144 IFS=: 5145 set x $ac_tag 5146 IFS=$ac_save_IFS 5147 shift 5148 ac_file=$1 5149 shift 5150 5151 case $ac_mode in 5152 :L) ac_source=$1;; 5153 :[FH]) 5154 ac_file_inputs= 5155 for ac_f 5156 do 5157 case $ac_f in 5158 -) ac_f="$ac_tmp/stdin";; 5159 *) # Look for the file first in the build tree, then in the source tree 5160 # (if the path is not absolute). The absolute path cannot be DOS-style, 5161 # because $ac_f cannot contain `:'. 5162 test -f "$ac_f" || 5163 case $ac_f in 5164 [\\/$]*) false;; 5165 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5166 esac || 5167 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5168 esac 5169 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5170 as_fn_append ac_file_inputs " '$ac_f'" 5171 done 5172 5173 # Let's still pretend it is `configure' which instantiates (i.e., don't 5174 # use $as_me), people would be surprised to read: 5175 # /* config.h. Generated by config.status. */ 5176 configure_input='Generated from '` 5177 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5178 `' by configure.' 5179 if test x"$ac_file" != x-; then 5180 configure_input="$ac_file. $configure_input" 5181 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5182$as_echo "$as_me: creating $ac_file" >&6;} 5183 fi 5184 # Neutralize special characters interpreted by sed in replacement strings. 5185 case $configure_input in #( 5186 *\&* | *\|* | *\\* ) 5187 ac_sed_conf_input=`$as_echo "$configure_input" | 5188 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5189 *) ac_sed_conf_input=$configure_input;; 5190 esac 5191 5192 case $ac_tag in 5193 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5194 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5195 esac 5196 ;; 5197 esac 5198 5199 ac_dir=`$as_dirname -- "$ac_file" || 5200$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5201 X"$ac_file" : 'X\(//\)[^/]' \| \ 5202 X"$ac_file" : 'X\(//\)$' \| \ 5203 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5204$as_echo X"$ac_file" | 5205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5206 s//\1/ 5207 q 5208 } 5209 /^X\(\/\/\)[^/].*/{ 5210 s//\1/ 5211 q 5212 } 5213 /^X\(\/\/\)$/{ 5214 s//\1/ 5215 q 5216 } 5217 /^X\(\/\).*/{ 5218 s//\1/ 5219 q 5220 } 5221 s/.*/./; q'` 5222 as_dir="$ac_dir"; as_fn_mkdir_p 5223 ac_builddir=. 5224 5225case "$ac_dir" in 5226.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5227*) 5228 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5229 # A ".." for each directory in $ac_dir_suffix. 5230 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5231 case $ac_top_builddir_sub in 5232 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5233 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5234 esac ;; 5235esac 5236ac_abs_top_builddir=$ac_pwd 5237ac_abs_builddir=$ac_pwd$ac_dir_suffix 5238# for backward compatibility: 5239ac_top_builddir=$ac_top_build_prefix 5240 5241case $srcdir in 5242 .) # We are building in place. 5243 ac_srcdir=. 5244 ac_top_srcdir=$ac_top_builddir_sub 5245 ac_abs_top_srcdir=$ac_pwd ;; 5246 [\\/]* | ?:[\\/]* ) # Absolute name. 5247 ac_srcdir=$srcdir$ac_dir_suffix; 5248 ac_top_srcdir=$srcdir 5249 ac_abs_top_srcdir=$srcdir ;; 5250 *) # Relative name. 5251 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5252 ac_top_srcdir=$ac_top_build_prefix$srcdir 5253 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5254esac 5255ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5256 5257 5258 case $ac_mode in 5259 :F) 5260 # 5261 # CONFIG_FILE 5262 # 5263 5264 case $INSTALL in 5265 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5266 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5267 esac 5268_ACEOF 5269 5270cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5271# If the template does not know about datarootdir, expand it. 5272# FIXME: This hack should be removed a few years after 2.60. 5273ac_datarootdir_hack=; ac_datarootdir_seen= 5274ac_sed_dataroot=' 5275/datarootdir/ { 5276 p 5277 q 5278} 5279/@datadir@/p 5280/@docdir@/p 5281/@infodir@/p 5282/@localedir@/p 5283/@mandir@/p' 5284case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5285*datarootdir*) ac_datarootdir_seen=yes;; 5286*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5288$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5289_ACEOF 5290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5291 ac_datarootdir_hack=' 5292 s&@datadir@&$datadir&g 5293 s&@docdir@&$docdir&g 5294 s&@infodir@&$infodir&g 5295 s&@localedir@&$localedir&g 5296 s&@mandir@&$mandir&g 5297 s&\\\${datarootdir}&$datarootdir&g' ;; 5298esac 5299_ACEOF 5300 5301# Neutralize VPATH when `$srcdir' = `.'. 5302# Shell code in configure.ac might set extrasub. 5303# FIXME: do we really want to maintain this feature? 5304cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5305ac_sed_extra="$ac_vpsub 5306$extrasub 5307_ACEOF 5308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5309:t 5310/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5311s|@configure_input@|$ac_sed_conf_input|;t t 5312s&@top_builddir@&$ac_top_builddir_sub&;t t 5313s&@top_build_prefix@&$ac_top_build_prefix&;t t 5314s&@srcdir@&$ac_srcdir&;t t 5315s&@abs_srcdir@&$ac_abs_srcdir&;t t 5316s&@top_srcdir@&$ac_top_srcdir&;t t 5317s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5318s&@builddir@&$ac_builddir&;t t 5319s&@abs_builddir@&$ac_abs_builddir&;t t 5320s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5321s&@INSTALL@&$ac_INSTALL&;t t 5322$ac_datarootdir_hack 5323" 5324eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5325 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5326 5327test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5328 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5329 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5330 "$ac_tmp/out"`; test -z "$ac_out"; } && 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5332which seems to be undefined. Please make sure it is defined" >&5 5333$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5334which seems to be undefined. Please make sure it is defined" >&2;} 5335 5336 rm -f "$ac_tmp/stdin" 5337 case $ac_file in 5338 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5339 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5340 esac \ 5341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5342 ;; 5343 5344 5345 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5346$as_echo "$as_me: executing $ac_file commands" >&6;} 5347 ;; 5348 esac 5349 5350 5351 case $ac_file$ac_mode in 5352 "default":C) 5353TCNATIVE_MAJOR_VERSION=$TCNATIVE_MAJOR_VERSION 5354 ;; 5355 5356 esac 5357done # for ac_tag 5358 5359 5360as_fn_exit 0 5361_ACEOF 5362ac_clean_files=$ac_clean_files_save 5363 5364test $ac_write_fail = 0 || 5365 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5366 5367 5368# configure is writing to config.log, and then calls config.status. 5369# config.status does its own redirection, appending to config.log. 5370# Unfortunately, on DOS this fails, as config.log is still kept open 5371# by configure, so config.status won't be able to write to it; its 5372# output is simply discarded. So we exec the FD to /dev/null, 5373# effectively closing config.log, so it can be properly (re)opened and 5374# appended to by config.status. When coming back to configure, we 5375# need to make the FD available again. 5376if test "$no_create" != yes; then 5377 ac_cs_success=: 5378 ac_config_status_args= 5379 test "$silent" = yes && 5380 ac_config_status_args="$ac_config_status_args --quiet" 5381 exec 5>/dev/null 5382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5383 exec 5>>config.log 5384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5385 # would make configure fail if this is the last instruction. 5386 $ac_cs_success || as_fn_exit 1 5387fi 5388if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5390$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5391fi 5392 5393