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 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585# Factoring default headers for most tests. 586ac_includes_default="\ 587#include <stdio.h> 588#ifdef HAVE_SYS_TYPES_H 589# include <sys/types.h> 590#endif 591#ifdef HAVE_SYS_STAT_H 592# include <sys/stat.h> 593#endif 594#ifdef STDC_HEADERS 595# include <stdlib.h> 596# include <stddef.h> 597#else 598# ifdef HAVE_STDLIB_H 599# include <stdlib.h> 600# endif 601#endif 602#ifdef HAVE_STRING_H 603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 604# include <memory.h> 605# endif 606# include <string.h> 607#endif 608#ifdef HAVE_STRINGS_H 609# include <strings.h> 610#endif 611#ifdef HAVE_INTTYPES_H 612# include <inttypes.h> 613#endif 614#ifdef HAVE_STDINT_H 615# include <stdint.h> 616#endif 617#ifdef HAVE_UNISTD_H 618# include <unistd.h> 619#endif" 620 621ac_subst_vars='am__EXEEXT_FALSE 622am__EXEEXT_TRUE 623LTLIBOBJS 624LIBOBJS 625plugindir 626EGREP 627GREP 628CPP 629dl_ldflags 630LN_S 631am__fastdepCC_FALSE 632am__fastdepCC_TRUE 633CCDEPMODE 634am__nodep 635AMDEPBACKSLASH 636AMDEP_FALSE 637AMDEP_TRUE 638am__quote 639am__include 640DEPDIR 641OBJEXT 642EXEEXT 643ac_ct_CC 644CPPFLAGS 645LDFLAGS 646CFLAGS 647CC 648MAN_PAGE_ENCODING_IS_UTF_8_FALSE 649MAN_PAGE_ENCODING_IS_UTF_8_TRUE 650ICONV 651MAN_PAGE_ENCODING 652host_os 653host_vendor 654host_cpu 655host 656build_os 657build_vendor 658build_cpu 659build 660AM_BACKSLASH 661AM_DEFAULT_VERBOSITY 662AM_DEFAULT_V 663AM_V 664am__untar 665am__tar 666AMTAR 667am__leading_dot 668SET_MAKE 669AWK 670mkdir_p 671MKDIR_P 672INSTALL_STRIP_PROGRAM 673STRIP 674install_sh 675MAKEINFO 676AUTOHEADER 677AUTOMAKE 678AUTOCONF 679ACLOCAL 680VERSION 681PACKAGE 682CYGPATH_W 683am__isrc 684INSTALL_DATA 685INSTALL_SCRIPT 686INSTALL_PROGRAM 687target_alias 688host_alias 689build_alias 690LIBS 691ECHO_T 692ECHO_N 693ECHO_C 694DEFS 695mandir 696localedir 697libdir 698psdir 699pdfdir 700dvidir 701htmldir 702infodir 703docdir 704oldincludedir 705includedir 706localstatedir 707sharedstatedir 708sysconfdir 709datadir 710datarootdir 711libexecdir 712sbindir 713bindir 714program_transform_name 715prefix 716exec_prefix 717PACKAGE_URL 718PACKAGE_BUGREPORT 719PACKAGE_STRING 720PACKAGE_VERSION 721PACKAGE_TARNAME 722PACKAGE_NAME 723PATH_SEPARATOR 724SHELL' 725ac_subst_files='' 726ac_user_opts=' 727enable_option_checking 728enable_silent_rules 729enable_vt100 730enable_sort 731enable_noshell 732enable_ansibug 733enable_bsd 734enable_dependency_tracking 735with_plugindir 736' 737 ac_precious_vars='build_alias 738host_alias 739target_alias 740CC 741CFLAGS 742LDFLAGS 743LIBS 744CPPFLAGS 745CPP' 746 747 748# Initialize some variables set by options. 749ac_init_help= 750ac_init_version=false 751ac_unrecognized_opts= 752ac_unrecognized_sep= 753# The variables have the same names as the options, with 754# dashes changed to underlines. 755cache_file=/dev/null 756exec_prefix=NONE 757no_create= 758no_recursion= 759prefix=NONE 760program_prefix=NONE 761program_suffix=NONE 762program_transform_name=s,x,x, 763silent= 764site= 765srcdir= 766verbose= 767x_includes=NONE 768x_libraries=NONE 769 770# Installation directory options. 771# These are left unexpanded so users can "make install exec_prefix=/foo" 772# and all the variables that are supposed to be based on exec_prefix 773# by default will actually change. 774# Use braces instead of parens because sh, perl, etc. also accept them. 775# (The list follows the same order as the GNU Coding Standards.) 776bindir='${exec_prefix}/bin' 777sbindir='${exec_prefix}/sbin' 778libexecdir='${exec_prefix}/libexec' 779datarootdir='${prefix}/share' 780datadir='${datarootdir}' 781sysconfdir='${prefix}/etc' 782sharedstatedir='${prefix}/com' 783localstatedir='${prefix}/var' 784includedir='${prefix}/include' 785oldincludedir='/usr/include' 786docdir='${datarootdir}/doc/${PACKAGE}' 787infodir='${datarootdir}/info' 788htmldir='${docdir}' 789dvidir='${docdir}' 790pdfdir='${docdir}' 791psdir='${docdir}' 792libdir='${exec_prefix}/lib' 793localedir='${datarootdir}/locale' 794mandir='${datarootdir}/man' 795 796ac_prev= 797ac_dashdash= 798for ac_option 799do 800 # If the previous option needs an argument, assign it. 801 if test -n "$ac_prev"; then 802 eval $ac_prev=\$ac_option 803 ac_prev= 804 continue 805 fi 806 807 case $ac_option in 808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 809 *=) ac_optarg= ;; 810 *) ac_optarg=yes ;; 811 esac 812 813 # Accept the important Cygnus configure options, so we can diagnose typos. 814 815 case $ac_dashdash$ac_option in 816 --) 817 ac_dashdash=yes ;; 818 819 -bindir | --bindir | --bindi | --bind | --bin | --bi) 820 ac_prev=bindir ;; 821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 822 bindir=$ac_optarg ;; 823 824 -build | --build | --buil | --bui | --bu) 825 ac_prev=build_alias ;; 826 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 827 build_alias=$ac_optarg ;; 828 829 -cache-file | --cache-file | --cache-fil | --cache-fi \ 830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 831 ac_prev=cache_file ;; 832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 834 cache_file=$ac_optarg ;; 835 836 --config-cache | -C) 837 cache_file=config.cache ;; 838 839 -datadir | --datadir | --datadi | --datad) 840 ac_prev=datadir ;; 841 -datadir=* | --datadir=* | --datadi=* | --datad=*) 842 datadir=$ac_optarg ;; 843 844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 845 | --dataroo | --dataro | --datar) 846 ac_prev=datarootdir ;; 847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 849 datarootdir=$ac_optarg ;; 850 851 -disable-* | --disable-*) 852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 853 # Reject names that are not valid shell variable names. 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error $? "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860"enable_$ac_useropt" 861"*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 866 867 -docdir | --docdir | --docdi | --doc | --do) 868 ac_prev=docdir ;; 869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 870 docdir=$ac_optarg ;; 871 872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 873 ac_prev=dvidir ;; 874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 875 dvidir=$ac_optarg ;; 876 877 -enable-* | --enable-*) 878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error $? "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886"enable_$ac_useropt" 887"*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 892 893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 895 | --exec | --exe | --ex) 896 ac_prev=exec_prefix ;; 897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 899 | --exec=* | --exe=* | --ex=*) 900 exec_prefix=$ac_optarg ;; 901 902 -gas | --gas | --ga | --g) 903 # Obsolete; use --with-gas. 904 with_gas=yes ;; 905 906 -help | --help | --hel | --he | -h) 907 ac_init_help=long ;; 908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 909 ac_init_help=recursive ;; 910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 911 ac_init_help=short ;; 912 913 -host | --host | --hos | --ho) 914 ac_prev=host_alias ;; 915 -host=* | --host=* | --hos=* | --ho=*) 916 host_alias=$ac_optarg ;; 917 918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 919 ac_prev=htmldir ;; 920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 921 | --ht=*) 922 htmldir=$ac_optarg ;; 923 924 -includedir | --includedir | --includedi | --included | --include \ 925 | --includ | --inclu | --incl | --inc) 926 ac_prev=includedir ;; 927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 928 | --includ=* | --inclu=* | --incl=* | --inc=*) 929 includedir=$ac_optarg ;; 930 931 -infodir | --infodir | --infodi | --infod | --info | --inf) 932 ac_prev=infodir ;; 933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 934 infodir=$ac_optarg ;; 935 936 -libdir | --libdir | --libdi | --libd) 937 ac_prev=libdir ;; 938 -libdir=* | --libdir=* | --libdi=* | --libd=*) 939 libdir=$ac_optarg ;; 940 941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 942 | --libexe | --libex | --libe) 943 ac_prev=libexecdir ;; 944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 945 | --libexe=* | --libex=* | --libe=*) 946 libexecdir=$ac_optarg ;; 947 948 -localedir | --localedir | --localedi | --localed | --locale) 949 ac_prev=localedir ;; 950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 951 localedir=$ac_optarg ;; 952 953 -localstatedir | --localstatedir | --localstatedi | --localstated \ 954 | --localstate | --localstat | --localsta | --localst | --locals) 955 ac_prev=localstatedir ;; 956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 958 localstatedir=$ac_optarg ;; 959 960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 961 ac_prev=mandir ;; 962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 963 mandir=$ac_optarg ;; 964 965 -nfp | --nfp | --nf) 966 # Obsolete; use --without-fp. 967 with_fp=no ;; 968 969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 970 | --no-cr | --no-c | -n) 971 no_create=yes ;; 972 973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 975 no_recursion=yes ;; 976 977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 979 | --oldin | --oldi | --old | --ol | --o) 980 ac_prev=oldincludedir ;; 981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 984 oldincludedir=$ac_optarg ;; 985 986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 987 ac_prev=prefix ;; 988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 989 prefix=$ac_optarg ;; 990 991 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 992 | --program-pre | --program-pr | --program-p) 993 ac_prev=program_prefix ;; 994 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 996 program_prefix=$ac_optarg ;; 997 998 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 999 | --program-suf | --program-su | --program-s) 1000 ac_prev=program_suffix ;; 1001 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1003 program_suffix=$ac_optarg ;; 1004 1005 -program-transform-name | --program-transform-name \ 1006 | --program-transform-nam | --program-transform-na \ 1007 | --program-transform-n | --program-transform- \ 1008 | --program-transform | --program-transfor \ 1009 | --program-transfo | --program-transf \ 1010 | --program-trans | --program-tran \ 1011 | --progr-tra | --program-tr | --program-t) 1012 ac_prev=program_transform_name ;; 1013 -program-transform-name=* | --program-transform-name=* \ 1014 | --program-transform-nam=* | --program-transform-na=* \ 1015 | --program-transform-n=* | --program-transform-=* \ 1016 | --program-transform=* | --program-transfor=* \ 1017 | --program-transfo=* | --program-transf=* \ 1018 | --program-trans=* | --program-tran=* \ 1019 | --progr-tra=* | --program-tr=* | --program-t=*) 1020 program_transform_name=$ac_optarg ;; 1021 1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1023 ac_prev=pdfdir ;; 1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1025 pdfdir=$ac_optarg ;; 1026 1027 -psdir | --psdir | --psdi | --psd | --ps) 1028 ac_prev=psdir ;; 1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1030 psdir=$ac_optarg ;; 1031 1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1033 | -silent | --silent | --silen | --sile | --sil) 1034 silent=yes ;; 1035 1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1037 ac_prev=sbindir ;; 1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1039 | --sbi=* | --sb=*) 1040 sbindir=$ac_optarg ;; 1041 1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1044 | --sharedst | --shareds | --shared | --share | --shar \ 1045 | --sha | --sh) 1046 ac_prev=sharedstatedir ;; 1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1050 | --sha=* | --sh=*) 1051 sharedstatedir=$ac_optarg ;; 1052 1053 -site | --site | --sit) 1054 ac_prev=site ;; 1055 -site=* | --site=* | --sit=*) 1056 site=$ac_optarg ;; 1057 1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1059 ac_prev=srcdir ;; 1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1061 srcdir=$ac_optarg ;; 1062 1063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1064 | --syscon | --sysco | --sysc | --sys | --sy) 1065 ac_prev=sysconfdir ;; 1066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1068 sysconfdir=$ac_optarg ;; 1069 1070 -target | --target | --targe | --targ | --tar | --ta | --t) 1071 ac_prev=target_alias ;; 1072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1073 target_alias=$ac_optarg ;; 1074 1075 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1076 verbose=yes ;; 1077 1078 -version | --version | --versio | --versi | --vers | -V) 1079 ac_init_version=: ;; 1080 1081 -with-* | --with-*) 1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 # Reject names that are not valid shell variable names. 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error $? "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090"with_$ac_useropt" 1091"*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=\$ac_optarg ;; 1096 1097 -without-* | --without-*) 1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 # Reject names that are not valid shell variable names. 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 as_fn_error $? "invalid package name: $ac_useropt" 1102 ac_useropt_orig=$ac_useropt 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1104 case $ac_user_opts in 1105 *" 1106"with_$ac_useropt" 1107"*) ;; 1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1109 ac_unrecognized_sep=', ';; 1110 esac 1111 eval with_$ac_useropt=no ;; 1112 1113 --x) 1114 # Obsolete; use --with-x. 1115 with_x=yes ;; 1116 1117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1118 | --x-incl | --x-inc | --x-in | --x-i) 1119 ac_prev=x_includes ;; 1120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1122 x_includes=$ac_optarg ;; 1123 1124 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1126 ac_prev=x_libraries ;; 1127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1129 x_libraries=$ac_optarg ;; 1130 1131 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1132Try \`$0 --help' for more information" 1133 ;; 1134 1135 *=*) 1136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 # Reject names that are not valid shell variable names. 1138 case $ac_envvar in #( 1139 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1140 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1141 esac 1142 eval $ac_envvar=\$ac_optarg 1143 export $ac_envvar ;; 1144 1145 *) 1146 # FIXME: should be removed in autoconf 3.0. 1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1151 ;; 1152 1153 esac 1154done 1155 1156if test -n "$ac_prev"; then 1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 as_fn_error $? "missing argument to $ac_option" 1159fi 1160 1161if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1166 esac 1167fi 1168 1169# Check all directory arguments for consistency. 1170for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171 datadir sysconfdir sharedstatedir localstatedir includedir \ 1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1173 libdir localedir mandir 1174do 1175 eval ac_val=\$$ac_var 1176 # Remove trailing slashes. 1177 case $ac_val in 1178 */ ) 1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1180 eval $ac_var=\$ac_val;; 1181 esac 1182 # Be sure to have absolute directory names. 1183 case $ac_val in 1184 [\\/$]* | ?:[\\/]* ) continue;; 1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 esac 1187 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1188done 1189 1190# There might be people who depend on the old broken behavior: `$host' 1191# used to hold the argument of --host etc. 1192# FIXME: To remove some day. 1193build=$build_alias 1194host=$host_alias 1195target=$target_alias 1196 1197# FIXME: To remove some day. 1198if test "x$host_alias" != x; then 1199 if test "x$build_alias" = x; then 1200 cross_compiling=maybe 1201 elif test "x$build_alias" != "x$host_alias"; then 1202 cross_compiling=yes 1203 fi 1204fi 1205 1206ac_tool_prefix= 1207test -n "$host_alias" && ac_tool_prefix=$host_alias- 1208 1209test "$silent" = yes && exec 6>/dev/null 1210 1211 1212ac_pwd=`pwd` && test -n "$ac_pwd" && 1213ac_ls_di=`ls -di .` && 1214ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1215 as_fn_error $? "working directory cannot be determined" 1216test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1217 as_fn_error $? "pwd does not report name of working directory" 1218 1219 1220# Find the source files, if location was not specified. 1221if test -z "$srcdir"; then 1222 ac_srcdir_defaulted=yes 1223 # Try the directory containing this script, then the parent directory. 1224 ac_confdir=`$as_dirname -- "$as_myself" || 1225$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1226 X"$as_myself" : 'X\(//\)[^/]' \| \ 1227 X"$as_myself" : 'X\(//\)$' \| \ 1228 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1229$as_echo X"$as_myself" | 1230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1231 s//\1/ 1232 q 1233 } 1234 /^X\(\/\/\)[^/].*/{ 1235 s//\1/ 1236 q 1237 } 1238 /^X\(\/\/\)$/{ 1239 s//\1/ 1240 q 1241 } 1242 /^X\(\/\).*/{ 1243 s//\1/ 1244 q 1245 } 1246 s/.*/./; q'` 1247 srcdir=$ac_confdir 1248 if test ! -r "$srcdir/$ac_unique_file"; then 1249 srcdir=.. 1250 fi 1251else 1252 ac_srcdir_defaulted=no 1253fi 1254if test ! -r "$srcdir/$ac_unique_file"; then 1255 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1256 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1257fi 1258ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1259ac_abs_confdir=`( 1260 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1261 pwd)` 1262# When building in place, set srcdir=. 1263if test "$ac_abs_confdir" = "$ac_pwd"; then 1264 srcdir=. 1265fi 1266# Remove unnecessary trailing slashes from srcdir. 1267# Double slashes in file names in object file debugging info 1268# mess up M-x gdb in Emacs. 1269case $srcdir in 1270*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1271esac 1272for ac_var in $ac_precious_vars; do 1273 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1274 eval ac_env_${ac_var}_value=\$${ac_var} 1275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1276 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1277done 1278 1279# 1280# Report the --help message. 1281# 1282if test "$ac_init_help" = "long"; then 1283 # Omit some internal or obsolete options to make the list less imposing. 1284 # This message is too long to be a string in the A/UX 3.1 sh. 1285 cat <<_ACEOF 1286\`configure' configures this package to adapt to many kinds of systems. 1287 1288Usage: $0 [OPTION]... [VAR=VALUE]... 1289 1290To assign environment variables (e.g., CC, CFLAGS...), specify them as 1291VAR=VALUE. See below for descriptions of some of the useful variables. 1292 1293Defaults for the options are specified in brackets. 1294 1295Configuration: 1296 -h, --help display this help and exit 1297 --help=short display options specific to this package 1298 --help=recursive display the short help of all the included packages 1299 -V, --version display version information and exit 1300 -q, --quiet, --silent do not print \`checking ...' messages 1301 --cache-file=FILE cache test results in FILE [disabled] 1302 -C, --config-cache alias for \`--cache-file=config.cache' 1303 -n, --no-create do not create output files 1304 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1305 1306Installation directories: 1307 --prefix=PREFIX install architecture-independent files in PREFIX 1308 [$ac_default_prefix] 1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1310 [PREFIX] 1311 1312By default, \`make install' will install all the files in 1313\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1314an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1315for instance \`--prefix=\$HOME'. 1316 1317For better control, use the options below. 1318 1319Fine tuning of the installation directories: 1320 --bindir=DIR user executables [EPREFIX/bin] 1321 --sbindir=DIR system admin executables [EPREFIX/sbin] 1322 --libexecdir=DIR program executables [EPREFIX/libexec] 1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1326 --libdir=DIR object code libraries [EPREFIX/lib] 1327 --includedir=DIR C header files [PREFIX/include] 1328 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1331 --infodir=DIR info documentation [DATAROOTDIR/info] 1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1333 --mandir=DIR man documentation [DATAROOTDIR/man] 1334 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1335 --htmldir=DIR html documentation [DOCDIR] 1336 --dvidir=DIR dvi documentation [DOCDIR] 1337 --pdfdir=DIR pdf documentation [DOCDIR] 1338 --psdir=DIR ps documentation [DOCDIR] 1339_ACEOF 1340 1341 cat <<\_ACEOF 1342 1343Program names: 1344 --program-prefix=PREFIX prepend PREFIX to installed program names 1345 --program-suffix=SUFFIX append SUFFIX to installed program names 1346 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1347 1348System types: 1349 --build=BUILD configure for building on BUILD [guessed] 1350 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1351_ACEOF 1352fi 1353 1354if test -n "$ac_init_help"; then 1355 1356 cat <<\_ACEOF 1357 1358Optional Features: 1359 --disable-option-checking ignore unrecognized --enable/--with options 1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1362 --enable-silent-rules less verbose build output (undo: "make V=1") 1363 --disable-silent-rules verbose build output (undo: "make V=0") 1364 --enable-vt100 Hard code VT100 escape sequences; use if you have no 1365 termcap [[default=no]] 1366 --enable-sort Sort aliases and actions [[default=no]] 1367 --enable-noshell Disables the "#!" command [[default=no]] 1368 --enable-ansibug Enables fixes for "#mark" ansi bugs on some 1369 terminals [[default=no]] 1370 --enable-bsd Needed for BSD systems, in powwow this was USE_SGTTY 1371 and BSD_LIKE. Default on Darwin (OS X) systems. 1372 --enable-dependency-tracking 1373 do not reject slow dependency extractors 1374 --disable-dependency-tracking 1375 speeds up one-time build 1376 1377Optional Packages: 1378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1380 --with-plugindir=DIR Plugin installation directory 1381 [[default=LIBDIR/powwow]]] 1382 1383Some influential environment variables: 1384 CC C compiler command 1385 CFLAGS C compiler flags 1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1387 nonstandard directory <lib dir> 1388 LIBS libraries to pass to the linker, e.g. -l<library> 1389 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1390 you have headers in a nonstandard directory <include dir> 1391 CPP C preprocessor 1392 1393Use these variables to override the choices made by `configure' or to help 1394it to find libraries and programs with nonstandard names/locations. 1395 1396Report bugs to the package provider. 1397_ACEOF 1398ac_status=$? 1399fi 1400 1401if test "$ac_init_help" = "recursive"; then 1402 # If there are subdirs, report their specific --help. 1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1404 test -d "$ac_dir" || 1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1406 continue 1407 ac_builddir=. 1408 1409case "$ac_dir" in 1410.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1411*) 1412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1413 # A ".." for each directory in $ac_dir_suffix. 1414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1415 case $ac_top_builddir_sub in 1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1418 esac ;; 1419esac 1420ac_abs_top_builddir=$ac_pwd 1421ac_abs_builddir=$ac_pwd$ac_dir_suffix 1422# for backward compatibility: 1423ac_top_builddir=$ac_top_build_prefix 1424 1425case $srcdir in 1426 .) # We are building in place. 1427 ac_srcdir=. 1428 ac_top_srcdir=$ac_top_builddir_sub 1429 ac_abs_top_srcdir=$ac_pwd ;; 1430 [\\/]* | ?:[\\/]* ) # Absolute name. 1431 ac_srcdir=$srcdir$ac_dir_suffix; 1432 ac_top_srcdir=$srcdir 1433 ac_abs_top_srcdir=$srcdir ;; 1434 *) # Relative name. 1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1436 ac_top_srcdir=$ac_top_build_prefix$srcdir 1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1438esac 1439ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1440 1441 cd "$ac_dir" || { ac_status=$?; continue; } 1442 # Check for guested configure. 1443 if test -f "$ac_srcdir/configure.gnu"; then 1444 echo && 1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1446 elif test -f "$ac_srcdir/configure"; then 1447 echo && 1448 $SHELL "$ac_srcdir/configure" --help=recursive 1449 else 1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1451 fi || ac_status=$? 1452 cd "$ac_pwd" || { ac_status=$?; break; } 1453 done 1454fi 1455 1456test -n "$ac_init_help" && exit $ac_status 1457if $ac_init_version; then 1458 cat <<\_ACEOF 1459configure 1460generated by GNU Autoconf 2.69 1461 1462Copyright (C) 2012 Free Software Foundation, Inc. 1463This configure script is free software; the Free Software Foundation 1464gives unlimited permission to copy, distribute and modify it. 1465_ACEOF 1466 exit 1467fi 1468 1469## ------------------------ ## 1470## Autoconf initialization. ## 1471## ------------------------ ## 1472 1473# ac_fn_c_try_compile LINENO 1474# -------------------------- 1475# Try to compile conftest.$ac_ext, and return whether this succeeded. 1476ac_fn_c_try_compile () 1477{ 1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1479 rm -f conftest.$ac_objext 1480 if { { ac_try="$ac_compile" 1481case "(($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_compile") 2>conftest.err 1488 ac_status=$? 1489 if test -s conftest.err; then 1490 grep -v '^ *+' conftest.err >conftest.er1 1491 cat conftest.er1 >&5 1492 mv -f conftest.er1 conftest.err 1493 fi 1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1495 test $ac_status = 0; } && { 1496 test -z "$ac_c_werror_flag" || 1497 test ! -s conftest.err 1498 } && test -s conftest.$ac_objext; then : 1499 ac_retval=0 1500else 1501 $as_echo "$as_me: failed program was:" >&5 1502sed 's/^/| /' conftest.$ac_ext >&5 1503 1504 ac_retval=1 1505fi 1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1507 as_fn_set_status $ac_retval 1508 1509} # ac_fn_c_try_compile 1510 1511# ac_fn_c_try_link LINENO 1512# ----------------------- 1513# Try to link conftest.$ac_ext, and return whether this succeeded. 1514ac_fn_c_try_link () 1515{ 1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1517 rm -f conftest.$ac_objext conftest$ac_exeext 1518 if { { ac_try="$ac_link" 1519case "(($ac_try" in 1520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1521 *) ac_try_echo=$ac_try;; 1522esac 1523eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1524$as_echo "$ac_try_echo"; } >&5 1525 (eval "$ac_link") 2>conftest.err 1526 ac_status=$? 1527 if test -s conftest.err; then 1528 grep -v '^ *+' conftest.err >conftest.er1 1529 cat conftest.er1 >&5 1530 mv -f conftest.er1 conftest.err 1531 fi 1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1533 test $ac_status = 0; } && { 1534 test -z "$ac_c_werror_flag" || 1535 test ! -s conftest.err 1536 } && test -s conftest$ac_exeext && { 1537 test "$cross_compiling" = yes || 1538 test -x conftest$ac_exeext 1539 }; then : 1540 ac_retval=0 1541else 1542 $as_echo "$as_me: failed program was:" >&5 1543sed 's/^/| /' conftest.$ac_ext >&5 1544 1545 ac_retval=1 1546fi 1547 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1548 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1549 # interfere with the next link command; also delete a directory that is 1550 # left behind by Apple's compiler. We do this before executing the actions. 1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1553 as_fn_set_status $ac_retval 1554 1555} # ac_fn_c_try_link 1556 1557# ac_fn_c_check_func LINENO FUNC VAR 1558# ---------------------------------- 1559# Tests whether FUNC exists, setting the cache variable VAR accordingly 1560ac_fn_c_check_func () 1561{ 1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1564$as_echo_n "checking for $2... " >&6; } 1565if eval \${$3+:} false; then : 1566 $as_echo_n "(cached) " >&6 1567else 1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1569/* end confdefs.h. */ 1570/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1571 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1572#define $2 innocuous_$2 1573 1574/* System header to define __stub macros and hopefully few prototypes, 1575 which can conflict with char $2 (); below. 1576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1577 <limits.h> exists even on freestanding compilers. */ 1578 1579#ifdef __STDC__ 1580# include <limits.h> 1581#else 1582# include <assert.h> 1583#endif 1584 1585#undef $2 1586 1587/* Override any GCC internal prototype to avoid an error. 1588 Use char because int might match the return type of a GCC 1589 builtin and then its argument prototype would still apply. */ 1590#ifdef __cplusplus 1591extern "C" 1592#endif 1593char $2 (); 1594/* The GNU C library defines this for functions which it implements 1595 to always fail with ENOSYS. Some functions are actually named 1596 something starting with __ and the normal name is an alias. */ 1597#if defined __stub_$2 || defined __stub___$2 1598choke me 1599#endif 1600 1601int 1602main () 1603{ 1604return $2 (); 1605 ; 1606 return 0; 1607} 1608_ACEOF 1609if ac_fn_c_try_link "$LINENO"; then : 1610 eval "$3=yes" 1611else 1612 eval "$3=no" 1613fi 1614rm -f core conftest.err conftest.$ac_objext \ 1615 conftest$ac_exeext conftest.$ac_ext 1616fi 1617eval ac_res=\$$3 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1619$as_echo "$ac_res" >&6; } 1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1621 1622} # ac_fn_c_check_func 1623 1624# ac_fn_c_try_cpp LINENO 1625# ---------------------- 1626# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1627ac_fn_c_try_cpp () 1628{ 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1630 if { { ac_try="$ac_cpp conftest.$ac_ext" 1631case "(($ac_try" in 1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1633 *) ac_try_echo=$ac_try;; 1634esac 1635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1636$as_echo "$ac_try_echo"; } >&5 1637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1638 ac_status=$? 1639 if test -s conftest.err; then 1640 grep -v '^ *+' conftest.err >conftest.er1 1641 cat conftest.er1 >&5 1642 mv -f conftest.er1 conftest.err 1643 fi 1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1645 test $ac_status = 0; } > conftest.i && { 1646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1647 test ! -s conftest.err 1648 }; then : 1649 ac_retval=0 1650else 1651 $as_echo "$as_me: failed program was:" >&5 1652sed 's/^/| /' conftest.$ac_ext >&5 1653 1654 ac_retval=1 1655fi 1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1657 as_fn_set_status $ac_retval 1658 1659} # ac_fn_c_try_cpp 1660 1661# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1662# ------------------------------------------------------- 1663# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1664# the include files in INCLUDES and setting the cache variable VAR 1665# accordingly. 1666ac_fn_c_check_header_mongrel () 1667{ 1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1669 if eval \${$3+:} false; then : 1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1671$as_echo_n "checking for $2... " >&6; } 1672if eval \${$3+:} false; then : 1673 $as_echo_n "(cached) " >&6 1674fi 1675eval ac_res=\$$3 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1677$as_echo "$ac_res" >&6; } 1678else 1679 # Is the header compilable? 1680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1681$as_echo_n "checking $2 usability... " >&6; } 1682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1683/* end confdefs.h. */ 1684$4 1685#include <$2> 1686_ACEOF 1687if ac_fn_c_try_compile "$LINENO"; then : 1688 ac_header_compiler=yes 1689else 1690 ac_header_compiler=no 1691fi 1692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1694$as_echo "$ac_header_compiler" >&6; } 1695 1696# Is the header present? 1697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1698$as_echo_n "checking $2 presence... " >&6; } 1699cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1700/* end confdefs.h. */ 1701#include <$2> 1702_ACEOF 1703if ac_fn_c_try_cpp "$LINENO"; then : 1704 ac_header_preproc=yes 1705else 1706 ac_header_preproc=no 1707fi 1708rm -f conftest.err conftest.i conftest.$ac_ext 1709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1710$as_echo "$ac_header_preproc" >&6; } 1711 1712# So? What about this header? 1713case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1714 yes:no: ) 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1716$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1718$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1719 ;; 1720 no:yes:* ) 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1722$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1724$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1726$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1728$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1730$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1731 ;; 1732esac 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1734$as_echo_n "checking for $2... " >&6; } 1735if eval \${$3+:} false; then : 1736 $as_echo_n "(cached) " >&6 1737else 1738 eval "$3=\$ac_header_compiler" 1739fi 1740eval ac_res=\$$3 1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1742$as_echo "$ac_res" >&6; } 1743fi 1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1745 1746} # ac_fn_c_check_header_mongrel 1747 1748# ac_fn_c_try_run LINENO 1749# ---------------------- 1750# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1751# that executables *can* be run. 1752ac_fn_c_try_run () 1753{ 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 if { { ac_try="$ac_link" 1756case "(($ac_try" in 1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1758 *) ac_try_echo=$ac_try;; 1759esac 1760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1761$as_echo "$ac_try_echo"; } >&5 1762 (eval "$ac_link") 2>&5 1763 ac_status=$? 1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1765 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1766 { { case "(($ac_try" in 1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1768 *) ac_try_echo=$ac_try;; 1769esac 1770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1771$as_echo "$ac_try_echo"; } >&5 1772 (eval "$ac_try") 2>&5 1773 ac_status=$? 1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1775 test $ac_status = 0; }; }; then : 1776 ac_retval=0 1777else 1778 $as_echo "$as_me: program exited with status $ac_status" >&5 1779 $as_echo "$as_me: failed program was:" >&5 1780sed 's/^/| /' conftest.$ac_ext >&5 1781 1782 ac_retval=$ac_status 1783fi 1784 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1786 as_fn_set_status $ac_retval 1787 1788} # ac_fn_c_try_run 1789 1790# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1791# ------------------------------------------------------- 1792# Tests whether HEADER exists and can be compiled using the include files in 1793# INCLUDES, setting the cache variable VAR accordingly. 1794ac_fn_c_check_header_compile () 1795{ 1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1798$as_echo_n "checking for $2... " >&6; } 1799if eval \${$3+:} false; then : 1800 $as_echo_n "(cached) " >&6 1801else 1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1803/* end confdefs.h. */ 1804$4 1805#include <$2> 1806_ACEOF 1807if ac_fn_c_try_compile "$LINENO"; then : 1808 eval "$3=yes" 1809else 1810 eval "$3=no" 1811fi 1812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1813fi 1814eval ac_res=\$$3 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1816$as_echo "$ac_res" >&6; } 1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1818 1819} # ac_fn_c_check_header_compile 1820cat >config.log <<_ACEOF 1821This file contains any messages produced by compilers while 1822running configure, to aid debugging if configure makes a mistake. 1823 1824It was created by $as_me, which was 1825generated by GNU Autoconf 2.69. Invocation command line was 1826 1827 $ $0 $@ 1828 1829_ACEOF 1830exec 5>>config.log 1831{ 1832cat <<_ASUNAME 1833## --------- ## 1834## Platform. ## 1835## --------- ## 1836 1837hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1838uname -m = `(uname -m) 2>/dev/null || echo unknown` 1839uname -r = `(uname -r) 2>/dev/null || echo unknown` 1840uname -s = `(uname -s) 2>/dev/null || echo unknown` 1841uname -v = `(uname -v) 2>/dev/null || echo unknown` 1842 1843/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1844/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1845 1846/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1847/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1848/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1849/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1850/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1851/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1852/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1853 1854_ASUNAME 1855 1856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1857for as_dir in $PATH 1858do 1859 IFS=$as_save_IFS 1860 test -z "$as_dir" && as_dir=. 1861 $as_echo "PATH: $as_dir" 1862 done 1863IFS=$as_save_IFS 1864 1865} >&5 1866 1867cat >&5 <<_ACEOF 1868 1869 1870## ----------- ## 1871## Core tests. ## 1872## ----------- ## 1873 1874_ACEOF 1875 1876 1877# Keep a trace of the command line. 1878# Strip out --no-create and --no-recursion so they do not pile up. 1879# Strip out --silent because we don't want to record it for future runs. 1880# Also quote any args containing shell meta-characters. 1881# Make two passes to allow for proper duplicate-argument suppression. 1882ac_configure_args= 1883ac_configure_args0= 1884ac_configure_args1= 1885ac_must_keep_next=false 1886for ac_pass in 1 2 1887do 1888 for ac_arg 1889 do 1890 case $ac_arg in 1891 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1892 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1893 | -silent | --silent | --silen | --sile | --sil) 1894 continue ;; 1895 *\'*) 1896 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1897 esac 1898 case $ac_pass in 1899 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1900 2) 1901 as_fn_append ac_configure_args1 " '$ac_arg'" 1902 if test $ac_must_keep_next = true; then 1903 ac_must_keep_next=false # Got value, back to normal. 1904 else 1905 case $ac_arg in 1906 *=* | --config-cache | -C | -disable-* | --disable-* \ 1907 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1908 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1909 | -with-* | --with-* | -without-* | --without-* | --x) 1910 case "$ac_configure_args0 " in 1911 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1912 esac 1913 ;; 1914 -* ) ac_must_keep_next=true ;; 1915 esac 1916 fi 1917 as_fn_append ac_configure_args " '$ac_arg'" 1918 ;; 1919 esac 1920 done 1921done 1922{ ac_configure_args0=; unset ac_configure_args0;} 1923{ ac_configure_args1=; unset ac_configure_args1;} 1924 1925# When interrupted or exit'd, cleanup temporary files, and complete 1926# config.log. We remove comments because anyway the quotes in there 1927# would cause problems or look ugly. 1928# WARNING: Use '\'' to represent an apostrophe within the trap. 1929# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1930trap 'exit_status=$? 1931 # Save into config.log some information that might help in debugging. 1932 { 1933 echo 1934 1935 $as_echo "## ---------------- ## 1936## Cache variables. ## 1937## ---------------- ##" 1938 echo 1939 # The following way of writing the cache mishandles newlines in values, 1940( 1941 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1942 eval ac_val=\$$ac_var 1943 case $ac_val in #( 1944 *${as_nl}*) 1945 case $ac_var in #( 1946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1947$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1948 esac 1949 case $ac_var in #( 1950 _ | IFS | as_nl) ;; #( 1951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1952 *) { eval $ac_var=; unset $ac_var;} ;; 1953 esac ;; 1954 esac 1955 done 1956 (set) 2>&1 | 1957 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1958 *${as_nl}ac_space=\ *) 1959 sed -n \ 1960 "s/'\''/'\''\\\\'\'''\''/g; 1961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1962 ;; #( 1963 *) 1964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1965 ;; 1966 esac | 1967 sort 1968) 1969 echo 1970 1971 $as_echo "## ----------------- ## 1972## Output variables. ## 1973## ----------------- ##" 1974 echo 1975 for ac_var in $ac_subst_vars 1976 do 1977 eval ac_val=\$$ac_var 1978 case $ac_val in 1979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1980 esac 1981 $as_echo "$ac_var='\''$ac_val'\''" 1982 done | sort 1983 echo 1984 1985 if test -n "$ac_subst_files"; then 1986 $as_echo "## ------------------- ## 1987## File substitutions. ## 1988## ------------------- ##" 1989 echo 1990 for ac_var in $ac_subst_files 1991 do 1992 eval ac_val=\$$ac_var 1993 case $ac_val in 1994 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1995 esac 1996 $as_echo "$ac_var='\''$ac_val'\''" 1997 done | sort 1998 echo 1999 fi 2000 2001 if test -s confdefs.h; then 2002 $as_echo "## ----------- ## 2003## confdefs.h. ## 2004## ----------- ##" 2005 echo 2006 cat confdefs.h 2007 echo 2008 fi 2009 test "$ac_signal" != 0 && 2010 $as_echo "$as_me: caught signal $ac_signal" 2011 $as_echo "$as_me: exit $exit_status" 2012 } >&5 2013 rm -f core *.core core.conftest.* && 2014 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2015 exit $exit_status 2016' 0 2017for ac_signal in 1 2 13 15; do 2018 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2019done 2020ac_signal=0 2021 2022# confdefs.h avoids OS command line length limits that DEFS can exceed. 2023rm -f -r conftest* confdefs.h 2024 2025$as_echo "/* confdefs.h */" > confdefs.h 2026 2027# Predefined preprocessor variables. 2028 2029cat >>confdefs.h <<_ACEOF 2030#define PACKAGE_NAME "$PACKAGE_NAME" 2031_ACEOF 2032 2033cat >>confdefs.h <<_ACEOF 2034#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2035_ACEOF 2036 2037cat >>confdefs.h <<_ACEOF 2038#define PACKAGE_VERSION "$PACKAGE_VERSION" 2039_ACEOF 2040 2041cat >>confdefs.h <<_ACEOF 2042#define PACKAGE_STRING "$PACKAGE_STRING" 2043_ACEOF 2044 2045cat >>confdefs.h <<_ACEOF 2046#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2047_ACEOF 2048 2049cat >>confdefs.h <<_ACEOF 2050#define PACKAGE_URL "$PACKAGE_URL" 2051_ACEOF 2052 2053 2054# Let the site file select an alternate cache file if it wants to. 2055# Prefer an explicitly selected file to automatically selected ones. 2056ac_site_file1=NONE 2057ac_site_file2=NONE 2058if test -n "$CONFIG_SITE"; then 2059 # We do not want a PATH search for config.site. 2060 case $CONFIG_SITE in #(( 2061 -*) ac_site_file1=./$CONFIG_SITE;; 2062 */*) ac_site_file1=$CONFIG_SITE;; 2063 *) ac_site_file1=./$CONFIG_SITE;; 2064 esac 2065elif test "x$prefix" != xNONE; then 2066 ac_site_file1=$prefix/share/config.site 2067 ac_site_file2=$prefix/etc/config.site 2068else 2069 ac_site_file1=$ac_default_prefix/share/config.site 2070 ac_site_file2=$ac_default_prefix/etc/config.site 2071fi 2072for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2073do 2074 test "x$ac_site_file" = xNONE && continue 2075 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2077$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2078 sed 's/^/| /' "$ac_site_file" >&5 2079 . "$ac_site_file" \ 2080 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2082as_fn_error $? "failed to load site script $ac_site_file 2083See \`config.log' for more details" "$LINENO" 5; } 2084 fi 2085done 2086 2087if test -r "$cache_file"; then 2088 # Some versions of bash will fail to source /dev/null (special files 2089 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2090 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2092$as_echo "$as_me: loading cache $cache_file" >&6;} 2093 case $cache_file in 2094 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2095 *) . "./$cache_file";; 2096 esac 2097 fi 2098else 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2100$as_echo "$as_me: creating cache $cache_file" >&6;} 2101 >$cache_file 2102fi 2103 2104# Check that the precious variables saved in the cache have kept the same 2105# value. 2106ac_cache_corrupted=false 2107for ac_var in $ac_precious_vars; do 2108 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2109 eval ac_new_set=\$ac_env_${ac_var}_set 2110 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2111 eval ac_new_val=\$ac_env_${ac_var}_value 2112 case $ac_old_set,$ac_new_set in 2113 set,) 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2115$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2116 ac_cache_corrupted=: ;; 2117 ,set) 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2119$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2120 ac_cache_corrupted=: ;; 2121 ,);; 2122 *) 2123 if test "x$ac_old_val" != "x$ac_new_val"; then 2124 # differences in whitespace do not lead to failure. 2125 ac_old_val_w=`echo x $ac_old_val` 2126 ac_new_val_w=`echo x $ac_new_val` 2127 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2129$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2130 ac_cache_corrupted=: 2131 else 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2133$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2134 eval $ac_var=\$ac_old_val 2135 fi 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2137$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2138 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2139$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2140 fi;; 2141 esac 2142 # Pass precious variables to config.status. 2143 if test "$ac_new_set" = set; then 2144 case $ac_new_val in 2145 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2146 *) ac_arg=$ac_var=$ac_new_val ;; 2147 esac 2148 case " $ac_configure_args " in 2149 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2150 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2151 esac 2152 fi 2153done 2154if $ac_cache_corrupted; then 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2156$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2158$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2159 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2160fi 2161## -------------------- ## 2162## Main body of script. ## 2163## -------------------- ## 2164 2165ac_ext=c 2166ac_cpp='$CPP $CPPFLAGS' 2167ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2168ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2169ac_compiler_gnu=$ac_cv_c_compiler_gnu 2170 2171 2172am__api_version='1.13' 2173 2174ac_aux_dir= 2175for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2176 if test -f "$ac_dir/install-sh"; then 2177 ac_aux_dir=$ac_dir 2178 ac_install_sh="$ac_aux_dir/install-sh -c" 2179 break 2180 elif test -f "$ac_dir/install.sh"; then 2181 ac_aux_dir=$ac_dir 2182 ac_install_sh="$ac_aux_dir/install.sh -c" 2183 break 2184 elif test -f "$ac_dir/shtool"; then 2185 ac_aux_dir=$ac_dir 2186 ac_install_sh="$ac_aux_dir/shtool install -c" 2187 break 2188 fi 2189done 2190if test -z "$ac_aux_dir"; then 2191 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2192fi 2193 2194# These three variables are undocumented and unsupported, 2195# and are intended to be withdrawn in a future Autoconf release. 2196# They can cause serious problems if a builder's source tree is in a directory 2197# whose full name contains unusual characters. 2198ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2199ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2200ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2201 2202 2203# Find a good install program. We prefer a C program (faster), 2204# so one script is as good as another. But avoid the broken or 2205# incompatible versions: 2206# SysV /etc/install, /usr/sbin/install 2207# SunOS /usr/etc/install 2208# IRIX /sbin/install 2209# AIX /bin/install 2210# AmigaOS /C/install, which installs bootblocks on floppy discs 2211# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2212# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2213# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2214# OS/2's system install, which has a completely different semantic 2215# ./install, which can be erroneously created by make from ./install.sh. 2216# Reject install programs that cannot install multiple files. 2217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2218$as_echo_n "checking for a BSD-compatible install... " >&6; } 2219if test -z "$INSTALL"; then 2220if ${ac_cv_path_install+:} false; then : 2221 $as_echo_n "(cached) " >&6 2222else 2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2224for as_dir in $PATH 2225do 2226 IFS=$as_save_IFS 2227 test -z "$as_dir" && as_dir=. 2228 # Account for people who put trailing slashes in PATH elements. 2229case $as_dir/ in #(( 2230 ./ | .// | /[cC]/* | \ 2231 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2232 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2233 /usr/ucb/* ) ;; 2234 *) 2235 # OSF1 and SCO ODT 3.0 have their own names for install. 2236 # Don't use installbsd from OSF since it installs stuff as root 2237 # by default. 2238 for ac_prog in ginstall scoinst install; do 2239 for ac_exec_ext in '' $ac_executable_extensions; do 2240 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2241 if test $ac_prog = install && 2242 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2243 # AIX install. It has an incompatible calling convention. 2244 : 2245 elif test $ac_prog = install && 2246 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2247 # program-specific install script used by HP pwplus--don't use. 2248 : 2249 else 2250 rm -rf conftest.one conftest.two conftest.dir 2251 echo one > conftest.one 2252 echo two > conftest.two 2253 mkdir conftest.dir 2254 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2255 test -s conftest.one && test -s conftest.two && 2256 test -s conftest.dir/conftest.one && 2257 test -s conftest.dir/conftest.two 2258 then 2259 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2260 break 3 2261 fi 2262 fi 2263 fi 2264 done 2265 done 2266 ;; 2267esac 2268 2269 done 2270IFS=$as_save_IFS 2271 2272rm -rf conftest.one conftest.two conftest.dir 2273 2274fi 2275 if test "${ac_cv_path_install+set}" = set; then 2276 INSTALL=$ac_cv_path_install 2277 else 2278 # As a last resort, use the slow shell script. Don't cache a 2279 # value for INSTALL within a source directory, because that will 2280 # break other packages using the cache if that directory is 2281 # removed, or if the value is a relative name. 2282 INSTALL=$ac_install_sh 2283 fi 2284fi 2285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2286$as_echo "$INSTALL" >&6; } 2287 2288# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2289# It thinks the first close brace ends the variable substitution. 2290test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2291 2292test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2293 2294test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2295 2296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2297$as_echo_n "checking whether build environment is sane... " >&6; } 2298# Reject unsafe characters in $srcdir or the absolute working directory 2299# name. Accept space and tab only in the latter. 2300am_lf=' 2301' 2302case `pwd` in 2303 *[\\\"\#\$\&\'\`$am_lf]*) 2304 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2305esac 2306case $srcdir in 2307 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2308 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2309esac 2310 2311# Do 'set' in a subshell so we don't clobber the current shell's 2312# arguments. Must try -L first in case configure is actually a 2313# symlink; some systems play weird games with the mod time of symlinks 2314# (eg FreeBSD returns the mod time of the symlink's containing 2315# directory). 2316if ( 2317 am_has_slept=no 2318 for am_try in 1 2; do 2319 echo "timestamp, slept: $am_has_slept" > conftest.file 2320 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2321 if test "$*" = "X"; then 2322 # -L didn't work. 2323 set X `ls -t "$srcdir/configure" conftest.file` 2324 fi 2325 if test "$*" != "X $srcdir/configure conftest.file" \ 2326 && test "$*" != "X conftest.file $srcdir/configure"; then 2327 2328 # If neither matched, then we have a broken ls. This can happen 2329 # if, for instance, CONFIG_SHELL is bash and it inherits a 2330 # broken ls alias from the environment. This has actually 2331 # happened. Such a system could not be considered "sane". 2332 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2333 alias in your environment" "$LINENO" 5 2334 fi 2335 if test "$2" = conftest.file || test $am_try -eq 2; then 2336 break 2337 fi 2338 # Just in case. 2339 sleep 1 2340 am_has_slept=yes 2341 done 2342 test "$2" = conftest.file 2343 ) 2344then 2345 # Ok. 2346 : 2347else 2348 as_fn_error $? "newly created file is older than distributed files! 2349Check your system clock" "$LINENO" 5 2350fi 2351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2352$as_echo "yes" >&6; } 2353# If we didn't sleep, we still need to ensure time stamps of config.status and 2354# generated files are strictly newer. 2355am_sleep_pid= 2356if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2357 ( sleep 1 ) & 2358 am_sleep_pid=$! 2359fi 2360 2361rm -f conftest.file 2362 2363test "$program_prefix" != NONE && 2364 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2365# Use a double $ so make ignores it. 2366test "$program_suffix" != NONE && 2367 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2368# Double any \ or $. 2369# By default was `s,x,x', remove it if useless. 2370ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2371program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2372 2373# expand $ac_aux_dir to an absolute path 2374am_aux_dir=`cd $ac_aux_dir && pwd` 2375 2376if test x"${MISSING+set}" != xset; then 2377 case $am_aux_dir in 2378 *\ * | *\ *) 2379 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2380 *) 2381 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2382 esac 2383fi 2384# Use eval to expand $SHELL 2385if eval "$MISSING --is-lightweight"; then 2386 am_missing_run="$MISSING " 2387else 2388 am_missing_run= 2389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2390$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2391fi 2392 2393if test x"${install_sh}" != xset; then 2394 case $am_aux_dir in 2395 *\ * | *\ *) 2396 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2397 *) 2398 install_sh="\${SHELL} $am_aux_dir/install-sh" 2399 esac 2400fi 2401 2402# Installed binaries are usually stripped using 'strip' when the user 2403# run "make install-strip". However 'strip' might not be the right 2404# tool to use in cross-compilation environments, therefore Automake 2405# will honor the 'STRIP' environment variable to overrule this program. 2406if test "$cross_compiling" != no; then 2407 if test -n "$ac_tool_prefix"; then 2408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2409set dummy ${ac_tool_prefix}strip; ac_word=$2 2410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2411$as_echo_n "checking for $ac_word... " >&6; } 2412if ${ac_cv_prog_STRIP+:} false; then : 2413 $as_echo_n "(cached) " >&6 2414else 2415 if test -n "$STRIP"; then 2416 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2417else 2418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2419for as_dir in $PATH 2420do 2421 IFS=$as_save_IFS 2422 test -z "$as_dir" && as_dir=. 2423 for ac_exec_ext in '' $ac_executable_extensions; do 2424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2425 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2427 break 2 2428 fi 2429done 2430 done 2431IFS=$as_save_IFS 2432 2433fi 2434fi 2435STRIP=$ac_cv_prog_STRIP 2436if test -n "$STRIP"; then 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2438$as_echo "$STRIP" >&6; } 2439else 2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2441$as_echo "no" >&6; } 2442fi 2443 2444 2445fi 2446if test -z "$ac_cv_prog_STRIP"; then 2447 ac_ct_STRIP=$STRIP 2448 # Extract the first word of "strip", so it can be a program name with args. 2449set dummy strip; ac_word=$2 2450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2451$as_echo_n "checking for $ac_word... " >&6; } 2452if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2453 $as_echo_n "(cached) " >&6 2454else 2455 if test -n "$ac_ct_STRIP"; then 2456 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2457else 2458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2459for as_dir in $PATH 2460do 2461 IFS=$as_save_IFS 2462 test -z "$as_dir" && as_dir=. 2463 for ac_exec_ext in '' $ac_executable_extensions; do 2464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2465 ac_cv_prog_ac_ct_STRIP="strip" 2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2467 break 2 2468 fi 2469done 2470 done 2471IFS=$as_save_IFS 2472 2473fi 2474fi 2475ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2476if test -n "$ac_ct_STRIP"; then 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2478$as_echo "$ac_ct_STRIP" >&6; } 2479else 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2481$as_echo "no" >&6; } 2482fi 2483 2484 if test "x$ac_ct_STRIP" = x; then 2485 STRIP=":" 2486 else 2487 case $cross_compiling:$ac_tool_warned in 2488yes:) 2489{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2490$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2491ac_tool_warned=yes ;; 2492esac 2493 STRIP=$ac_ct_STRIP 2494 fi 2495else 2496 STRIP="$ac_cv_prog_STRIP" 2497fi 2498 2499fi 2500INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2501 2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2503$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2504if test -z "$MKDIR_P"; then 2505 if ${ac_cv_path_mkdir+:} false; then : 2506 $as_echo_n "(cached) " >&6 2507else 2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2509for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2510do 2511 IFS=$as_save_IFS 2512 test -z "$as_dir" && as_dir=. 2513 for ac_prog in mkdir gmkdir; do 2514 for ac_exec_ext in '' $ac_executable_extensions; do 2515 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2516 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2517 'mkdir (GNU coreutils) '* | \ 2518 'mkdir (coreutils) '* | \ 2519 'mkdir (fileutils) '4.1*) 2520 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2521 break 3;; 2522 esac 2523 done 2524 done 2525 done 2526IFS=$as_save_IFS 2527 2528fi 2529 2530 test -d ./--version && rmdir ./--version 2531 if test "${ac_cv_path_mkdir+set}" = set; then 2532 MKDIR_P="$ac_cv_path_mkdir -p" 2533 else 2534 # As a last resort, use the slow shell script. Don't cache a 2535 # value for MKDIR_P within a source directory, because that will 2536 # break other packages using the cache if that directory is 2537 # removed, or if the value is a relative name. 2538 MKDIR_P="$ac_install_sh -d" 2539 fi 2540fi 2541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2542$as_echo "$MKDIR_P" >&6; } 2543 2544for ac_prog in gawk mawk nawk awk 2545do 2546 # Extract the first word of "$ac_prog", so it can be a program name with args. 2547set dummy $ac_prog; ac_word=$2 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2549$as_echo_n "checking for $ac_word... " >&6; } 2550if ${ac_cv_prog_AWK+:} false; then : 2551 $as_echo_n "(cached) " >&6 2552else 2553 if test -n "$AWK"; then 2554 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2555else 2556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2557for as_dir in $PATH 2558do 2559 IFS=$as_save_IFS 2560 test -z "$as_dir" && as_dir=. 2561 for ac_exec_ext in '' $ac_executable_extensions; do 2562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2563 ac_cv_prog_AWK="$ac_prog" 2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2565 break 2 2566 fi 2567done 2568 done 2569IFS=$as_save_IFS 2570 2571fi 2572fi 2573AWK=$ac_cv_prog_AWK 2574if test -n "$AWK"; then 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2576$as_echo "$AWK" >&6; } 2577else 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2579$as_echo "no" >&6; } 2580fi 2581 2582 2583 test -n "$AWK" && break 2584done 2585 2586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2587$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2588set x ${MAKE-make} 2589ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2590if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2591 $as_echo_n "(cached) " >&6 2592else 2593 cat >conftest.make <<\_ACEOF 2594SHELL = /bin/sh 2595all: 2596 @echo '@@@%%%=$(MAKE)=@@@%%%' 2597_ACEOF 2598# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2599case `${MAKE-make} -f conftest.make 2>/dev/null` in 2600 *@@@%%%=?*=@@@%%%*) 2601 eval ac_cv_prog_make_${ac_make}_set=yes;; 2602 *) 2603 eval ac_cv_prog_make_${ac_make}_set=no;; 2604esac 2605rm -f conftest.make 2606fi 2607if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2609$as_echo "yes" >&6; } 2610 SET_MAKE= 2611else 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2613$as_echo "no" >&6; } 2614 SET_MAKE="MAKE=${MAKE-make}" 2615fi 2616 2617rm -rf .tst 2>/dev/null 2618mkdir .tst 2>/dev/null 2619if test -d .tst; then 2620 am__leading_dot=. 2621else 2622 am__leading_dot=_ 2623fi 2624rmdir .tst 2>/dev/null 2625 2626# Check whether --enable-silent-rules was given. 2627if test "${enable_silent_rules+set}" = set; then : 2628 enableval=$enable_silent_rules; 2629fi 2630 2631case $enable_silent_rules in # ((( 2632 yes) AM_DEFAULT_VERBOSITY=0;; 2633 no) AM_DEFAULT_VERBOSITY=1;; 2634 *) AM_DEFAULT_VERBOSITY=1;; 2635esac 2636am_make=${MAKE-make} 2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2638$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2639if ${am_cv_make_support_nested_variables+:} false; then : 2640 $as_echo_n "(cached) " >&6 2641else 2642 if $as_echo 'TRUE=$(BAR$(V)) 2643BAR0=false 2644BAR1=true 2645V=1 2646am__doit: 2647 @$(TRUE) 2648.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2649 am_cv_make_support_nested_variables=yes 2650else 2651 am_cv_make_support_nested_variables=no 2652fi 2653fi 2654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2655$as_echo "$am_cv_make_support_nested_variables" >&6; } 2656if test $am_cv_make_support_nested_variables = yes; then 2657 AM_V='$(V)' 2658 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2659else 2660 AM_V=$AM_DEFAULT_VERBOSITY 2661 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2662fi 2663AM_BACKSLASH='\' 2664 2665if test "`cd $srcdir && pwd`" != "`pwd`"; then 2666 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2667 # is not polluted with repeated "-I." 2668 am__isrc=' -I$(srcdir)' 2669 # test to see if srcdir already configured 2670 if test -f $srcdir/config.status; then 2671 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2672 fi 2673fi 2674 2675# test whether we have cygpath 2676if test -z "$CYGPATH_W"; then 2677 if (cygpath --version) >/dev/null 2>/dev/null; then 2678 CYGPATH_W='cygpath -w' 2679 else 2680 CYGPATH_W=echo 2681 fi 2682fi 2683 2684 2685# Define the identity of the package. 2686 2687 PACKAGE=powwow 2688 VERSION=1.2.17 2689 2690 2691cat >>confdefs.h <<_ACEOF 2692#define PACKAGE "$PACKAGE" 2693_ACEOF 2694 2695 2696cat >>confdefs.h <<_ACEOF 2697#define VERSION "$VERSION" 2698_ACEOF 2699 2700# Some tools Automake needs. 2701 2702ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2703 2704 2705AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2706 2707 2708AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2709 2710 2711AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2712 2713 2714MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2715 2716# For better backward compatibility. To be removed once Automake 1.9.x 2717# dies out for good. For more background, see: 2718# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2719# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2720mkdir_p='$(MKDIR_P)' 2721 2722# We need awk for the "check" target. The system "awk" is bad on 2723# some platforms. 2724# Always define AMTAR for backward compatibility. Yes, it's still used 2725# in the wild :-( We should find a proper way to deprecate it ... 2726AMTAR='$${TAR-tar}' 2727 2728 2729# We'll loop over all known methods to create a tar archive until one works. 2730_am_tools='gnutar pax cpio none' 2731 2732am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2733 2734 2735 2736 2737 2738 2739 2740# Make sure we can run config.sub. 2741$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2742 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2743 2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2745$as_echo_n "checking build system type... " >&6; } 2746if ${ac_cv_build+:} false; then : 2747 $as_echo_n "(cached) " >&6 2748else 2749 ac_build_alias=$build_alias 2750test "x$ac_build_alias" = x && 2751 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2752test "x$ac_build_alias" = x && 2753 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2754ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2755 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2756 2757fi 2758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2759$as_echo "$ac_cv_build" >&6; } 2760case $ac_cv_build in 2761*-*-*) ;; 2762*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2763esac 2764build=$ac_cv_build 2765ac_save_IFS=$IFS; IFS='-' 2766set x $ac_cv_build 2767shift 2768build_cpu=$1 2769build_vendor=$2 2770shift; shift 2771# Remember, the first character of IFS is used to create $*, 2772# except with old shells: 2773build_os=$* 2774IFS=$ac_save_IFS 2775case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2776 2777 2778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2779$as_echo_n "checking host system type... " >&6; } 2780if ${ac_cv_host+:} false; then : 2781 $as_echo_n "(cached) " >&6 2782else 2783 if test "x$host_alias" = x; then 2784 ac_cv_host=$ac_cv_build 2785else 2786 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2787 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2788fi 2789 2790fi 2791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2792$as_echo "$ac_cv_host" >&6; } 2793case $ac_cv_host in 2794*-*-*) ;; 2795*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2796esac 2797host=$ac_cv_host 2798ac_save_IFS=$IFS; IFS='-' 2799set x $ac_cv_host 2800shift 2801host_cpu=$1 2802host_vendor=$2 2803shift; shift 2804# Remember, the first character of IFS is used to create $*, 2805# except with old shells: 2806host_os=$* 2807IFS=$ac_save_IFS 2808case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2809 2810 2811 2812# Check whether --enable-vt100 was given. 2813if test "${enable_vt100+set}" = set; then : 2814 enableval=$enable_vt100; 2815else 2816 enable_vt100="no" 2817 2818fi 2819 2820if test "${enable_vt100}" = yes ; then : 2821 $as_echo "#define USE_VT100 1" >>confdefs.h 2822 2823fi 2824 2825# Check whether --enable-sort was given. 2826if test "${enable_sort+set}" = set; then : 2827 enableval=$enable_sort; 2828else 2829 enable_sort="no" 2830 2831fi 2832 2833if test "${enable_sort}" = yes ; then : 2834 $as_echo "#define DO_SORT 1" >>confdefs.h 2835 2836fi 2837 2838# Check whether --enable-noshell was given. 2839if test "${enable_noshell+set}" = set; then : 2840 enableval=$enable_noshell; 2841else 2842 enable_noshell="no" 2843 2844fi 2845 2846if test "${enable_noshell}" = yes ; then : 2847 $as_echo "#define NO_SHELL 1" >>confdefs.h 2848 2849fi 2850 2851# Check whether --enable-ansibug was given. 2852if test "${enable_ansibug+set}" = set; then : 2853 enableval=$enable_ansibug; 2854else 2855 enable_ansibug="no" 2856 2857fi 2858 2859if test "${enable_ansibug}" = yes ; then : 2860 $as_echo "#define BUG_ANSI 1" >>confdefs.h 2861 2862fi 2863 2864# Check whether --enable-bsd was given. 2865if test "${enable_bsd+set}" = set; then : 2866 enableval=$enable_bsd; 2867fi 2868 2869if test -z "${enable_bsd}" ; then : 2870 case "${host_os}" in 2871 darwin*) enable_bsd=yes ;; 2872 *) enable_bsd=no ;; 2873 esac 2874fi 2875if test "${enable_bsd}" = yes ; then : 2876 $as_echo "#define USE_SGTTY 1" >>confdefs.h 2877 2878 $as_echo "#define BSD_LIKE 1" >>confdefs.h 2879 2880fi 2881 2882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking man page encoding" >&5 2883$as_echo_n "checking man page encoding... " >&6; } 2884if test -z "${MAN_PAGE_ENCODING}"; then 2885 case "${host_os}" in 2886 darwin*) MAN_PAGE_ENCODING=ISO-8859-1 ;; 2887 *) MAN_PAGE_ENCODING=UTF-8 ;; 2888 esac 2889fi 2890 2891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAN_PAGE_ENCODING}" >&5 2892$as_echo "${MAN_PAGE_ENCODING}" >&6; } 2893 2894if test "${MAN_PAGE_ENCODING}" != UTF-8; then 2895 # Extract the first word of "iconv", so it can be a program name with args. 2896set dummy iconv; ac_word=$2 2897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2898$as_echo_n "checking for $ac_word... " >&6; } 2899if ${ac_cv_prog_ICONV+:} false; then : 2900 $as_echo_n "(cached) " >&6 2901else 2902 if test -n "$ICONV"; then 2903 ac_cv_prog_ICONV="$ICONV" # Let the user override the test. 2904else 2905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2906for as_dir in $PATH 2907do 2908 IFS=$as_save_IFS 2909 test -z "$as_dir" && as_dir=. 2910 for ac_exec_ext in '' $ac_executable_extensions; do 2911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2912 ac_cv_prog_ICONV="iconv" 2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2914 break 2 2915 fi 2916done 2917 done 2918IFS=$as_save_IFS 2919 2920fi 2921fi 2922ICONV=$ac_cv_prog_ICONV 2923if test -n "$ICONV"; then 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICONV" >&5 2925$as_echo "$ICONV" >&6; } 2926else 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2928$as_echo "no" >&6; } 2929fi 2930 2931 2932 if test -z "${ICONV}" -a "${MAN_PAGE_ENCODING}" != UTF-8; then 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing man page encoding to UTF-8" >&5 2934$as_echo "$as_me: WARNING: Forcing man page encoding to UTF-8" >&2;} 2935 MAN_PAGE_ENCODING=UTF-8 2936 fi 2937fi 2938 2939 if test "${MAN_PAGE_ENCODING}" = UTF-8 ; then 2940 MAN_PAGE_ENCODING_IS_UTF_8_TRUE= 2941 MAN_PAGE_ENCODING_IS_UTF_8_FALSE='#' 2942else 2943 MAN_PAGE_ENCODING_IS_UTF_8_TRUE='#' 2944 MAN_PAGE_ENCODING_IS_UTF_8_FALSE= 2945fi 2946 2947 2948# Checks for programs. 2949ac_ext=c 2950ac_cpp='$CPP $CPPFLAGS' 2951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2953ac_compiler_gnu=$ac_cv_c_compiler_gnu 2954if test -n "$ac_tool_prefix"; then 2955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2956set dummy ${ac_tool_prefix}gcc; ac_word=$2 2957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2958$as_echo_n "checking for $ac_word... " >&6; } 2959if ${ac_cv_prog_CC+:} false; then : 2960 $as_echo_n "(cached) " >&6 2961else 2962 if test -n "$CC"; then 2963 ac_cv_prog_CC="$CC" # Let the user override the test. 2964else 2965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2966for as_dir in $PATH 2967do 2968 IFS=$as_save_IFS 2969 test -z "$as_dir" && as_dir=. 2970 for ac_exec_ext in '' $ac_executable_extensions; do 2971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2972 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 break 2 2975 fi 2976done 2977 done 2978IFS=$as_save_IFS 2979 2980fi 2981fi 2982CC=$ac_cv_prog_CC 2983if test -n "$CC"; then 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2985$as_echo "$CC" >&6; } 2986else 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2988$as_echo "no" >&6; } 2989fi 2990 2991 2992fi 2993if test -z "$ac_cv_prog_CC"; then 2994 ac_ct_CC=$CC 2995 # Extract the first word of "gcc", so it can be a program name with args. 2996set dummy gcc; ac_word=$2 2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2998$as_echo_n "checking for $ac_word... " >&6; } 2999if ${ac_cv_prog_ac_ct_CC+:} false; then : 3000 $as_echo_n "(cached) " >&6 3001else 3002 if test -n "$ac_ct_CC"; then 3003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3004else 3005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3006for as_dir in $PATH 3007do 3008 IFS=$as_save_IFS 3009 test -z "$as_dir" && as_dir=. 3010 for ac_exec_ext in '' $ac_executable_extensions; do 3011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3012 ac_cv_prog_ac_ct_CC="gcc" 3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3014 break 2 3015 fi 3016done 3017 done 3018IFS=$as_save_IFS 3019 3020fi 3021fi 3022ac_ct_CC=$ac_cv_prog_ac_ct_CC 3023if test -n "$ac_ct_CC"; then 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3025$as_echo "$ac_ct_CC" >&6; } 3026else 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3028$as_echo "no" >&6; } 3029fi 3030 3031 if test "x$ac_ct_CC" = x; then 3032 CC="" 3033 else 3034 case $cross_compiling:$ac_tool_warned in 3035yes:) 3036{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3037$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3038ac_tool_warned=yes ;; 3039esac 3040 CC=$ac_ct_CC 3041 fi 3042else 3043 CC="$ac_cv_prog_CC" 3044fi 3045 3046if test -z "$CC"; then 3047 if test -n "$ac_tool_prefix"; then 3048 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3049set dummy ${ac_tool_prefix}cc; ac_word=$2 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3051$as_echo_n "checking for $ac_word... " >&6; } 3052if ${ac_cv_prog_CC+:} false; then : 3053 $as_echo_n "(cached) " >&6 3054else 3055 if test -n "$CC"; then 3056 ac_cv_prog_CC="$CC" # Let the user override the test. 3057else 3058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3059for as_dir in $PATH 3060do 3061 IFS=$as_save_IFS 3062 test -z "$as_dir" && as_dir=. 3063 for ac_exec_ext in '' $ac_executable_extensions; do 3064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3065 ac_cv_prog_CC="${ac_tool_prefix}cc" 3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3067 break 2 3068 fi 3069done 3070 done 3071IFS=$as_save_IFS 3072 3073fi 3074fi 3075CC=$ac_cv_prog_CC 3076if test -n "$CC"; then 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3078$as_echo "$CC" >&6; } 3079else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3081$as_echo "no" >&6; } 3082fi 3083 3084 3085 fi 3086fi 3087if test -z "$CC"; then 3088 # Extract the first word of "cc", so it can be a program name with args. 3089set dummy cc; ac_word=$2 3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3091$as_echo_n "checking for $ac_word... " >&6; } 3092if ${ac_cv_prog_CC+:} false; then : 3093 $as_echo_n "(cached) " >&6 3094else 3095 if test -n "$CC"; then 3096 ac_cv_prog_CC="$CC" # Let the user override the test. 3097else 3098 ac_prog_rejected=no 3099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3100for as_dir in $PATH 3101do 3102 IFS=$as_save_IFS 3103 test -z "$as_dir" && as_dir=. 3104 for ac_exec_ext in '' $ac_executable_extensions; do 3105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3106 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3107 ac_prog_rejected=yes 3108 continue 3109 fi 3110 ac_cv_prog_CC="cc" 3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3112 break 2 3113 fi 3114done 3115 done 3116IFS=$as_save_IFS 3117 3118if test $ac_prog_rejected = yes; then 3119 # We found a bogon in the path, so make sure we never use it. 3120 set dummy $ac_cv_prog_CC 3121 shift 3122 if test $# != 0; then 3123 # We chose a different compiler from the bogus one. 3124 # However, it has the same basename, so the bogon will be chosen 3125 # first if we set CC to just the basename; use the full file name. 3126 shift 3127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3128 fi 3129fi 3130fi 3131fi 3132CC=$ac_cv_prog_CC 3133if test -n "$CC"; then 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3135$as_echo "$CC" >&6; } 3136else 3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3138$as_echo "no" >&6; } 3139fi 3140 3141 3142fi 3143if test -z "$CC"; then 3144 if test -n "$ac_tool_prefix"; then 3145 for ac_prog in cl.exe 3146 do 3147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3148set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3150$as_echo_n "checking for $ac_word... " >&6; } 3151if ${ac_cv_prog_CC+:} false; then : 3152 $as_echo_n "(cached) " >&6 3153else 3154 if test -n "$CC"; then 3155 ac_cv_prog_CC="$CC" # Let the user override the test. 3156else 3157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3158for as_dir in $PATH 3159do 3160 IFS=$as_save_IFS 3161 test -z "$as_dir" && as_dir=. 3162 for ac_exec_ext in '' $ac_executable_extensions; do 3163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3164 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3166 break 2 3167 fi 3168done 3169 done 3170IFS=$as_save_IFS 3171 3172fi 3173fi 3174CC=$ac_cv_prog_CC 3175if test -n "$CC"; then 3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3177$as_echo "$CC" >&6; } 3178else 3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3180$as_echo "no" >&6; } 3181fi 3182 3183 3184 test -n "$CC" && break 3185 done 3186fi 3187if test -z "$CC"; then 3188 ac_ct_CC=$CC 3189 for ac_prog in cl.exe 3190do 3191 # Extract the first word of "$ac_prog", so it can be a program name with args. 3192set dummy $ac_prog; ac_word=$2 3193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3194$as_echo_n "checking for $ac_word... " >&6; } 3195if ${ac_cv_prog_ac_ct_CC+:} false; then : 3196 $as_echo_n "(cached) " >&6 3197else 3198 if test -n "$ac_ct_CC"; then 3199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3200else 3201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3202for as_dir in $PATH 3203do 3204 IFS=$as_save_IFS 3205 test -z "$as_dir" && as_dir=. 3206 for ac_exec_ext in '' $ac_executable_extensions; do 3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3208 ac_cv_prog_ac_ct_CC="$ac_prog" 3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3210 break 2 3211 fi 3212done 3213 done 3214IFS=$as_save_IFS 3215 3216fi 3217fi 3218ac_ct_CC=$ac_cv_prog_ac_ct_CC 3219if test -n "$ac_ct_CC"; then 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3221$as_echo "$ac_ct_CC" >&6; } 3222else 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3224$as_echo "no" >&6; } 3225fi 3226 3227 3228 test -n "$ac_ct_CC" && break 3229done 3230 3231 if test "x$ac_ct_CC" = x; then 3232 CC="" 3233 else 3234 case $cross_compiling:$ac_tool_warned in 3235yes:) 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3237$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3238ac_tool_warned=yes ;; 3239esac 3240 CC=$ac_ct_CC 3241 fi 3242fi 3243 3244fi 3245 3246 3247test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3249as_fn_error $? "no acceptable C compiler found in \$PATH 3250See \`config.log' for more details" "$LINENO" 5; } 3251 3252# Provide some information about the compiler. 3253$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3254set X $ac_compile 3255ac_compiler=$2 3256for ac_option in --version -v -V -qversion; do 3257 { { ac_try="$ac_compiler $ac_option >&5" 3258case "(($ac_try" in 3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3260 *) ac_try_echo=$ac_try;; 3261esac 3262eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3263$as_echo "$ac_try_echo"; } >&5 3264 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3265 ac_status=$? 3266 if test -s conftest.err; then 3267 sed '10a\ 3268... rest of stderr output deleted ... 3269 10q' conftest.err >conftest.er1 3270 cat conftest.er1 >&5 3271 fi 3272 rm -f conftest.er1 conftest.err 3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3274 test $ac_status = 0; } 3275done 3276 3277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3278/* end confdefs.h. */ 3279 3280int 3281main () 3282{ 3283 3284 ; 3285 return 0; 3286} 3287_ACEOF 3288ac_clean_files_save=$ac_clean_files 3289ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3290# Try to create an executable without -o first, disregard a.out. 3291# It will help us diagnose broken compilers, and finding out an intuition 3292# of exeext. 3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3294$as_echo_n "checking whether the C compiler works... " >&6; } 3295ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3296 3297# The possible output files: 3298ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3299 3300ac_rmfiles= 3301for ac_file in $ac_files 3302do 3303 case $ac_file in 3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3305 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3306 esac 3307done 3308rm -f $ac_rmfiles 3309 3310if { { ac_try="$ac_link_default" 3311case "(($ac_try" in 3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3313 *) ac_try_echo=$ac_try;; 3314esac 3315eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3316$as_echo "$ac_try_echo"; } >&5 3317 (eval "$ac_link_default") 2>&5 3318 ac_status=$? 3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3320 test $ac_status = 0; }; then : 3321 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3322# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3323# in a Makefile. We should not override ac_cv_exeext if it was cached, 3324# so that the user can short-circuit this test for compilers unknown to 3325# Autoconf. 3326for ac_file in $ac_files '' 3327do 3328 test -f "$ac_file" || continue 3329 case $ac_file in 3330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3331 ;; 3332 [ab].out ) 3333 # We found the default executable, but exeext='' is most 3334 # certainly right. 3335 break;; 3336 *.* ) 3337 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3338 then :; else 3339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3340 fi 3341 # We set ac_cv_exeext here because the later test for it is not 3342 # safe: cross compilers may not add the suffix if given an `-o' 3343 # argument, so we may need to know it at that point already. 3344 # Even if this section looks crufty: it has the advantage of 3345 # actually working. 3346 break;; 3347 * ) 3348 break;; 3349 esac 3350done 3351test "$ac_cv_exeext" = no && ac_cv_exeext= 3352 3353else 3354 ac_file='' 3355fi 3356if test -z "$ac_file"; then : 3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3358$as_echo "no" >&6; } 3359$as_echo "$as_me: failed program was:" >&5 3360sed 's/^/| /' conftest.$ac_ext >&5 3361 3362{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3364as_fn_error 77 "C compiler cannot create executables 3365See \`config.log' for more details" "$LINENO" 5; } 3366else 3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3368$as_echo "yes" >&6; } 3369fi 3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3371$as_echo_n "checking for C compiler default output file name... " >&6; } 3372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3373$as_echo "$ac_file" >&6; } 3374ac_exeext=$ac_cv_exeext 3375 3376rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3377ac_clean_files=$ac_clean_files_save 3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3379$as_echo_n "checking for suffix of executables... " >&6; } 3380if { { ac_try="$ac_link" 3381case "(($ac_try" in 3382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3383 *) ac_try_echo=$ac_try;; 3384esac 3385eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3386$as_echo "$ac_try_echo"; } >&5 3387 (eval "$ac_link") 2>&5 3388 ac_status=$? 3389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3390 test $ac_status = 0; }; then : 3391 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3392# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3393# work properly (i.e., refer to `conftest.exe'), while it won't with 3394# `rm'. 3395for ac_file in conftest.exe conftest conftest.*; do 3396 test -f "$ac_file" || continue 3397 case $ac_file in 3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3399 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3400 break;; 3401 * ) break;; 3402 esac 3403done 3404else 3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3406$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3407as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3408See \`config.log' for more details" "$LINENO" 5; } 3409fi 3410rm -f conftest conftest$ac_cv_exeext 3411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3412$as_echo "$ac_cv_exeext" >&6; } 3413 3414rm -f conftest.$ac_ext 3415EXEEXT=$ac_cv_exeext 3416ac_exeext=$EXEEXT 3417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3418/* end confdefs.h. */ 3419#include <stdio.h> 3420int 3421main () 3422{ 3423FILE *f = fopen ("conftest.out", "w"); 3424 return ferror (f) || fclose (f) != 0; 3425 3426 ; 3427 return 0; 3428} 3429_ACEOF 3430ac_clean_files="$ac_clean_files conftest.out" 3431# Check that the compiler produces executables we can run. If not, either 3432# the compiler is broken, or we cross compile. 3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3434$as_echo_n "checking whether we are cross compiling... " >&6; } 3435if test "$cross_compiling" != yes; then 3436 { { ac_try="$ac_link" 3437case "(($ac_try" in 3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3439 *) ac_try_echo=$ac_try;; 3440esac 3441eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3442$as_echo "$ac_try_echo"; } >&5 3443 (eval "$ac_link") 2>&5 3444 ac_status=$? 3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3446 test $ac_status = 0; } 3447 if { ac_try='./conftest$ac_cv_exeext' 3448 { { case "(($ac_try" in 3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3450 *) ac_try_echo=$ac_try;; 3451esac 3452eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3453$as_echo "$ac_try_echo"; } >&5 3454 (eval "$ac_try") 2>&5 3455 ac_status=$? 3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3457 test $ac_status = 0; }; }; then 3458 cross_compiling=no 3459 else 3460 if test "$cross_compiling" = maybe; then 3461 cross_compiling=yes 3462 else 3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3465as_fn_error $? "cannot run C compiled programs. 3466If you meant to cross compile, use \`--host'. 3467See \`config.log' for more details" "$LINENO" 5; } 3468 fi 3469 fi 3470fi 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3472$as_echo "$cross_compiling" >&6; } 3473 3474rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3475ac_clean_files=$ac_clean_files_save 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3477$as_echo_n "checking for suffix of object files... " >&6; } 3478if ${ac_cv_objext+:} false; then : 3479 $as_echo_n "(cached) " >&6 3480else 3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3482/* end confdefs.h. */ 3483 3484int 3485main () 3486{ 3487 3488 ; 3489 return 0; 3490} 3491_ACEOF 3492rm -f conftest.o conftest.obj 3493if { { ac_try="$ac_compile" 3494case "(($ac_try" in 3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3496 *) ac_try_echo=$ac_try;; 3497esac 3498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3499$as_echo "$ac_try_echo"; } >&5 3500 (eval "$ac_compile") 2>&5 3501 ac_status=$? 3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3503 test $ac_status = 0; }; then : 3504 for ac_file in conftest.o conftest.obj conftest.*; do 3505 test -f "$ac_file" || continue; 3506 case $ac_file in 3507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3508 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3509 break;; 3510 esac 3511done 3512else 3513 $as_echo "$as_me: failed program was:" >&5 3514sed 's/^/| /' conftest.$ac_ext >&5 3515 3516{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3518as_fn_error $? "cannot compute suffix of object files: cannot compile 3519See \`config.log' for more details" "$LINENO" 5; } 3520fi 3521rm -f conftest.$ac_cv_objext conftest.$ac_ext 3522fi 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3524$as_echo "$ac_cv_objext" >&6; } 3525OBJEXT=$ac_cv_objext 3526ac_objext=$OBJEXT 3527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3528$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3529if ${ac_cv_c_compiler_gnu+:} false; then : 3530 $as_echo_n "(cached) " >&6 3531else 3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3533/* end confdefs.h. */ 3534 3535int 3536main () 3537{ 3538#ifndef __GNUC__ 3539 choke me 3540#endif 3541 3542 ; 3543 return 0; 3544} 3545_ACEOF 3546if ac_fn_c_try_compile "$LINENO"; then : 3547 ac_compiler_gnu=yes 3548else 3549 ac_compiler_gnu=no 3550fi 3551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3552ac_cv_c_compiler_gnu=$ac_compiler_gnu 3553 3554fi 3555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3556$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3557if test $ac_compiler_gnu = yes; then 3558 GCC=yes 3559else 3560 GCC= 3561fi 3562ac_test_CFLAGS=${CFLAGS+set} 3563ac_save_CFLAGS=$CFLAGS 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3565$as_echo_n "checking whether $CC accepts -g... " >&6; } 3566if ${ac_cv_prog_cc_g+:} false; then : 3567 $as_echo_n "(cached) " >&6 3568else 3569 ac_save_c_werror_flag=$ac_c_werror_flag 3570 ac_c_werror_flag=yes 3571 ac_cv_prog_cc_g=no 3572 CFLAGS="-g" 3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3574/* end confdefs.h. */ 3575 3576int 3577main () 3578{ 3579 3580 ; 3581 return 0; 3582} 3583_ACEOF 3584if ac_fn_c_try_compile "$LINENO"; then : 3585 ac_cv_prog_cc_g=yes 3586else 3587 CFLAGS="" 3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3589/* end confdefs.h. */ 3590 3591int 3592main () 3593{ 3594 3595 ; 3596 return 0; 3597} 3598_ACEOF 3599if ac_fn_c_try_compile "$LINENO"; then : 3600 3601else 3602 ac_c_werror_flag=$ac_save_c_werror_flag 3603 CFLAGS="-g" 3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3605/* end confdefs.h. */ 3606 3607int 3608main () 3609{ 3610 3611 ; 3612 return 0; 3613} 3614_ACEOF 3615if ac_fn_c_try_compile "$LINENO"; then : 3616 ac_cv_prog_cc_g=yes 3617fi 3618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3619fi 3620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3621fi 3622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3623 ac_c_werror_flag=$ac_save_c_werror_flag 3624fi 3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3626$as_echo "$ac_cv_prog_cc_g" >&6; } 3627if test "$ac_test_CFLAGS" = set; then 3628 CFLAGS=$ac_save_CFLAGS 3629elif test $ac_cv_prog_cc_g = yes; then 3630 if test "$GCC" = yes; then 3631 CFLAGS="-g -O2" 3632 else 3633 CFLAGS="-g" 3634 fi 3635else 3636 if test "$GCC" = yes; then 3637 CFLAGS="-O2" 3638 else 3639 CFLAGS= 3640 fi 3641fi 3642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3643$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3644if ${ac_cv_prog_cc_c89+:} false; then : 3645 $as_echo_n "(cached) " >&6 3646else 3647 ac_cv_prog_cc_c89=no 3648ac_save_CC=$CC 3649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3650/* end confdefs.h. */ 3651#include <stdarg.h> 3652#include <stdio.h> 3653struct stat; 3654/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3655struct buf { int x; }; 3656FILE * (*rcsopen) (struct buf *, struct stat *, int); 3657static char *e (p, i) 3658 char **p; 3659 int i; 3660{ 3661 return p[i]; 3662} 3663static char *f (char * (*g) (char **, int), char **p, ...) 3664{ 3665 char *s; 3666 va_list v; 3667 va_start (v,p); 3668 s = g (p, va_arg (v,int)); 3669 va_end (v); 3670 return s; 3671} 3672 3673/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3674 function prototypes and stuff, but not '\xHH' hex character constants. 3675 These don't provoke an error unfortunately, instead are silently treated 3676 as 'x'. The following induces an error, until -std is added to get 3677 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3678 array size at least. It's necessary to write '\x00'==0 to get something 3679 that's true only with -std. */ 3680int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3681 3682/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3683 inside strings and character constants. */ 3684#define FOO(x) 'x' 3685int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3686 3687int test (int i, double x); 3688struct s1 {int (*f) (int a);}; 3689struct s2 {int (*f) (double a);}; 3690int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3691int argc; 3692char **argv; 3693int 3694main () 3695{ 3696return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3697 ; 3698 return 0; 3699} 3700_ACEOF 3701for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3702 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3703do 3704 CC="$ac_save_CC $ac_arg" 3705 if ac_fn_c_try_compile "$LINENO"; then : 3706 ac_cv_prog_cc_c89=$ac_arg 3707fi 3708rm -f core conftest.err conftest.$ac_objext 3709 test "x$ac_cv_prog_cc_c89" != "xno" && break 3710done 3711rm -f conftest.$ac_ext 3712CC=$ac_save_CC 3713 3714fi 3715# AC_CACHE_VAL 3716case "x$ac_cv_prog_cc_c89" in 3717 x) 3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3719$as_echo "none needed" >&6; } ;; 3720 xno) 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3722$as_echo "unsupported" >&6; } ;; 3723 *) 3724 CC="$CC $ac_cv_prog_cc_c89" 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3726$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3727esac 3728if test "x$ac_cv_prog_cc_c89" != xno; then : 3729 3730fi 3731 3732ac_ext=c 3733ac_cpp='$CPP $CPPFLAGS' 3734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3736ac_compiler_gnu=$ac_cv_c_compiler_gnu 3737DEPDIR="${am__leading_dot}deps" 3738 3739ac_config_commands="$ac_config_commands depfiles" 3740 3741 3742am_make=${MAKE-make} 3743cat > confinc << 'END' 3744am__doit: 3745 @echo this is the am__doit target 3746.PHONY: am__doit 3747END 3748# If we don't find an include directive, just comment out the code. 3749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3750$as_echo_n "checking for style of include used by $am_make... " >&6; } 3751am__include="#" 3752am__quote= 3753_am_result=none 3754# First try GNU make style include. 3755echo "include confinc" > confmf 3756# Ignore all kinds of additional output from 'make'. 3757case `$am_make -s -f confmf 2> /dev/null` in #( 3758*the\ am__doit\ target*) 3759 am__include=include 3760 am__quote= 3761 _am_result=GNU 3762 ;; 3763esac 3764# Now try BSD make style include. 3765if test "$am__include" = "#"; then 3766 echo '.include "confinc"' > confmf 3767 case `$am_make -s -f confmf 2> /dev/null` in #( 3768 *the\ am__doit\ target*) 3769 am__include=.include 3770 am__quote="\"" 3771 _am_result=BSD 3772 ;; 3773 esac 3774fi 3775 3776 3777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3778$as_echo "$_am_result" >&6; } 3779rm -f confinc confmf 3780 3781# Check whether --enable-dependency-tracking was given. 3782if test "${enable_dependency_tracking+set}" = set; then : 3783 enableval=$enable_dependency_tracking; 3784fi 3785 3786if test "x$enable_dependency_tracking" != xno; then 3787 am_depcomp="$ac_aux_dir/depcomp" 3788 AMDEPBACKSLASH='\' 3789 am__nodep='_no' 3790fi 3791 if test "x$enable_dependency_tracking" != xno; then 3792 AMDEP_TRUE= 3793 AMDEP_FALSE='#' 3794else 3795 AMDEP_TRUE='#' 3796 AMDEP_FALSE= 3797fi 3798 3799 3800 3801depcc="$CC" am_compiler_list= 3802 3803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3804$as_echo_n "checking dependency style of $depcc... " >&6; } 3805if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3806 $as_echo_n "(cached) " >&6 3807else 3808 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3809 # We make a subdir and do the tests there. Otherwise we can end up 3810 # making bogus files that we don't know about and never remove. For 3811 # instance it was reported that on HP-UX the gcc test will end up 3812 # making a dummy file named 'D' -- because '-MD' means "put the output 3813 # in D". 3814 rm -rf conftest.dir 3815 mkdir conftest.dir 3816 # Copy depcomp to subdir because otherwise we won't find it if we're 3817 # using a relative directory. 3818 cp "$am_depcomp" conftest.dir 3819 cd conftest.dir 3820 # We will build objects and dependencies in a subdirectory because 3821 # it helps to detect inapplicable dependency modes. For instance 3822 # both Tru64's cc and ICC support -MD to output dependencies as a 3823 # side effect of compilation, but ICC will put the dependencies in 3824 # the current directory while Tru64 will put them in the object 3825 # directory. 3826 mkdir sub 3827 3828 am_cv_CC_dependencies_compiler_type=none 3829 if test "$am_compiler_list" = ""; then 3830 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3831 fi 3832 am__universal=false 3833 case " $depcc " in #( 3834 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3835 esac 3836 3837 for depmode in $am_compiler_list; do 3838 # Setup a source with many dependencies, because some compilers 3839 # like to wrap large dependency lists on column 80 (with \), and 3840 # we should not choose a depcomp mode which is confused by this. 3841 # 3842 # We need to recreate these files for each test, as the compiler may 3843 # overwrite some of them when testing with obscure command lines. 3844 # This happens at least with the AIX C compiler. 3845 : > sub/conftest.c 3846 for i in 1 2 3 4 5 6; do 3847 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3848 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3849 # Solaris 10 /bin/sh. 3850 echo '/* dummy */' > sub/conftst$i.h 3851 done 3852 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3853 3854 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3855 # mode. It turns out that the SunPro C++ compiler does not properly 3856 # handle '-M -o', and we need to detect this. Also, some Intel 3857 # versions had trouble with output in subdirs. 3858 am__obj=sub/conftest.${OBJEXT-o} 3859 am__minus_obj="-o $am__obj" 3860 case $depmode in 3861 gcc) 3862 # This depmode causes a compiler race in universal mode. 3863 test "$am__universal" = false || continue 3864 ;; 3865 nosideeffect) 3866 # After this tag, mechanisms are not by side-effect, so they'll 3867 # only be used when explicitly requested. 3868 if test "x$enable_dependency_tracking" = xyes; then 3869 continue 3870 else 3871 break 3872 fi 3873 ;; 3874 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3875 # This compiler won't grok '-c -o', but also, the minuso test has 3876 # not run yet. These depmodes are late enough in the game, and 3877 # so weak that their functioning should not be impacted. 3878 am__obj=conftest.${OBJEXT-o} 3879 am__minus_obj= 3880 ;; 3881 none) break ;; 3882 esac 3883 if depmode=$depmode \ 3884 source=sub/conftest.c object=$am__obj \ 3885 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3886 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3887 >/dev/null 2>conftest.err && 3888 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3889 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3890 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3891 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3892 # icc doesn't choke on unknown options, it will just issue warnings 3893 # or remarks (even with -Werror). So we grep stderr for any message 3894 # that says an option was ignored or not supported. 3895 # When given -MP, icc 7.0 and 7.1 complain thusly: 3896 # icc: Command line warning: ignoring option '-M'; no argument required 3897 # The diagnosis changed in icc 8.0: 3898 # icc: Command line remark: option '-MP' not supported 3899 if (grep 'ignoring option' conftest.err || 3900 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3901 am_cv_CC_dependencies_compiler_type=$depmode 3902 break 3903 fi 3904 fi 3905 done 3906 3907 cd .. 3908 rm -rf conftest.dir 3909else 3910 am_cv_CC_dependencies_compiler_type=none 3911fi 3912 3913fi 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3915$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3916CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3917 3918 if 3919 test "x$enable_dependency_tracking" != xno \ 3920 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3921 am__fastdepCC_TRUE= 3922 am__fastdepCC_FALSE='#' 3923else 3924 am__fastdepCC_TRUE='#' 3925 am__fastdepCC_FALSE= 3926fi 3927 3928 3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3930$as_echo_n "checking whether ln -s works... " >&6; } 3931LN_S=$as_ln_s 3932if test "$LN_S" = "ln -s"; then 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3934$as_echo "yes" >&6; } 3935else 3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3937$as_echo "no, using $LN_S" >&6; } 3938fi 3939 3940 3941# Checks for libraries. 3942 3943ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp" 3944if test "x$ac_cv_func_regcomp" = xyes; then : 3945 $as_echo "#define USE_REGEXP 1" >>confdefs.h 3946 3947fi 3948 3949ac_fn_c_check_func "$LINENO" "lrand48" "ac_cv_func_lrand48" 3950if test "x$ac_cv_func_lrand48" = xyes; then : 3951 3952else 3953 $as_echo "#define USE_RANDOM 1" >>confdefs.h 3954 3955fi 3956 3957 3958if test "x${enable_vt100}" != "xyes"; then 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing initscr" >&5 3960$as_echo_n "checking for library containing initscr... " >&6; } 3961if ${ac_cv_search_initscr+:} false; then : 3962 $as_echo_n "(cached) " >&6 3963else 3964 ac_func_search_save_LIBS=$LIBS 3965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3966/* end confdefs.h. */ 3967 3968/* Override any GCC internal prototype to avoid an error. 3969 Use char because int might match the return type of a GCC 3970 builtin and then its argument prototype would still apply. */ 3971#ifdef __cplusplus 3972extern "C" 3973#endif 3974char initscr (); 3975int 3976main () 3977{ 3978return initscr (); 3979 ; 3980 return 0; 3981} 3982_ACEOF 3983for ac_lib in '' ncurses curses; do 3984 if test -z "$ac_lib"; then 3985 ac_res="none required" 3986 else 3987 ac_res=-l$ac_lib 3988 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3989 fi 3990 if ac_fn_c_try_link "$LINENO"; then : 3991 ac_cv_search_initscr=$ac_res 3992fi 3993rm -f core conftest.err conftest.$ac_objext \ 3994 conftest$ac_exeext 3995 if ${ac_cv_search_initscr+:} false; then : 3996 break 3997fi 3998done 3999if ${ac_cv_search_initscr+:} false; then : 4000 4001else 4002 ac_cv_search_initscr=no 4003fi 4004rm conftest.$ac_ext 4005LIBS=$ac_func_search_save_LIBS 4006fi 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_initscr" >&5 4008$as_echo "$ac_cv_search_initscr" >&6; } 4009ac_res=$ac_cv_search_initscr 4010if test "$ac_res" != no; then : 4011 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4012 4013else 4014 4015 if test "x${enable_vt100}" = "xno" ; then 4016 as_fn_error $? "*** curses libraries not found" "$LINENO" 5 4017 fi 4018fi 4019 4020fi 4021 4022# Dynamic modules 4023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 4024$as_echo_n "checking for library containing dlopen... " >&6; } 4025if ${ac_cv_search_dlopen+:} false; then : 4026 $as_echo_n "(cached) " >&6 4027else 4028 ac_func_search_save_LIBS=$LIBS 4029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4030/* end confdefs.h. */ 4031 4032/* Override any GCC internal prototype to avoid an error. 4033 Use char because int might match the return type of a GCC 4034 builtin and then its argument prototype would still apply. */ 4035#ifdef __cplusplus 4036extern "C" 4037#endif 4038char dlopen (); 4039int 4040main () 4041{ 4042return dlopen (); 4043 ; 4044 return 0; 4045} 4046_ACEOF 4047for ac_lib in '' dl; do 4048 if test -z "$ac_lib"; then 4049 ac_res="none required" 4050 else 4051 ac_res=-l$ac_lib 4052 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4053 fi 4054 if ac_fn_c_try_link "$LINENO"; then : 4055 ac_cv_search_dlopen=$ac_res 4056fi 4057rm -f core conftest.err conftest.$ac_objext \ 4058 conftest$ac_exeext 4059 if ${ac_cv_search_dlopen+:} false; then : 4060 break 4061fi 4062done 4063if ${ac_cv_search_dlopen+:} false; then : 4064 4065else 4066 ac_cv_search_dlopen=no 4067fi 4068rm conftest.$ac_ext 4069LIBS=$ac_func_search_save_LIBS 4070fi 4071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 4072$as_echo "$ac_cv_search_dlopen" >&6; } 4073ac_res=$ac_cv_search_dlopen 4074if test "$ac_res" != no; then : 4075 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4076 4077 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h 4078 4079 dl_ldflags="-rdynamic" 4080fi 4081 4082 4083 4084# Checks for header files. 4085ac_ext=c 4086ac_cpp='$CPP $CPPFLAGS' 4087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4089ac_compiler_gnu=$ac_cv_c_compiler_gnu 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4091$as_echo_n "checking how to run the C preprocessor... " >&6; } 4092# On Suns, sometimes $CPP names a directory. 4093if test -n "$CPP" && test -d "$CPP"; then 4094 CPP= 4095fi 4096if test -z "$CPP"; then 4097 if ${ac_cv_prog_CPP+:} false; then : 4098 $as_echo_n "(cached) " >&6 4099else 4100 # Double quotes because CPP needs to be expanded 4101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4102 do 4103 ac_preproc_ok=false 4104for ac_c_preproc_warn_flag in '' yes 4105do 4106 # Use a header file that comes with gcc, so configuring glibc 4107 # with a fresh cross-compiler works. 4108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4109 # <limits.h> exists even on freestanding compilers. 4110 # On the NeXT, cc -E runs the code through the compiler's parser, 4111 # not just through cpp. "Syntax error" is here to catch this case. 4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113/* end confdefs.h. */ 4114#ifdef __STDC__ 4115# include <limits.h> 4116#else 4117# include <assert.h> 4118#endif 4119 Syntax error 4120_ACEOF 4121if ac_fn_c_try_cpp "$LINENO"; then : 4122 4123else 4124 # Broken: fails on valid input. 4125continue 4126fi 4127rm -f conftest.err conftest.i conftest.$ac_ext 4128 4129 # OK, works on sane cases. Now check whether nonexistent headers 4130 # can be detected and how. 4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132/* end confdefs.h. */ 4133#include <ac_nonexistent.h> 4134_ACEOF 4135if ac_fn_c_try_cpp "$LINENO"; then : 4136 # Broken: success on invalid input. 4137continue 4138else 4139 # Passes both tests. 4140ac_preproc_ok=: 4141break 4142fi 4143rm -f conftest.err conftest.i conftest.$ac_ext 4144 4145done 4146# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4147rm -f conftest.i conftest.err conftest.$ac_ext 4148if $ac_preproc_ok; then : 4149 break 4150fi 4151 4152 done 4153 ac_cv_prog_CPP=$CPP 4154 4155fi 4156 CPP=$ac_cv_prog_CPP 4157else 4158 ac_cv_prog_CPP=$CPP 4159fi 4160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4161$as_echo "$CPP" >&6; } 4162ac_preproc_ok=false 4163for ac_c_preproc_warn_flag in '' yes 4164do 4165 # Use a header file that comes with gcc, so configuring glibc 4166 # with a fresh cross-compiler works. 4167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4168 # <limits.h> exists even on freestanding compilers. 4169 # On the NeXT, cc -E runs the code through the compiler's parser, 4170 # not just through cpp. "Syntax error" is here to catch this case. 4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4172/* end confdefs.h. */ 4173#ifdef __STDC__ 4174# include <limits.h> 4175#else 4176# include <assert.h> 4177#endif 4178 Syntax error 4179_ACEOF 4180if ac_fn_c_try_cpp "$LINENO"; then : 4181 4182else 4183 # Broken: fails on valid input. 4184continue 4185fi 4186rm -f conftest.err conftest.i conftest.$ac_ext 4187 4188 # OK, works on sane cases. Now check whether nonexistent headers 4189 # can be detected and how. 4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4191/* end confdefs.h. */ 4192#include <ac_nonexistent.h> 4193_ACEOF 4194if ac_fn_c_try_cpp "$LINENO"; then : 4195 # Broken: success on invalid input. 4196continue 4197else 4198 # Passes both tests. 4199ac_preproc_ok=: 4200break 4201fi 4202rm -f conftest.err conftest.i conftest.$ac_ext 4203 4204done 4205# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4206rm -f conftest.i conftest.err conftest.$ac_ext 4207if $ac_preproc_ok; then : 4208 4209else 4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4211$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4212as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4213See \`config.log' for more details" "$LINENO" 5; } 4214fi 4215 4216ac_ext=c 4217ac_cpp='$CPP $CPPFLAGS' 4218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4220ac_compiler_gnu=$ac_cv_c_compiler_gnu 4221 4222 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4224$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4225if ${ac_cv_path_GREP+:} false; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 if test -z "$GREP"; then 4229 ac_path_GREP_found=false 4230 # Loop through the user's path and test for each of PROGNAME-LIST 4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4232for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4233do 4234 IFS=$as_save_IFS 4235 test -z "$as_dir" && as_dir=. 4236 for ac_prog in grep ggrep; do 4237 for ac_exec_ext in '' $ac_executable_extensions; do 4238 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4239 as_fn_executable_p "$ac_path_GREP" || continue 4240# Check for GNU ac_path_GREP and select it if it is found. 4241 # Check for GNU $ac_path_GREP 4242case `"$ac_path_GREP" --version 2>&1` in 4243*GNU*) 4244 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4245*) 4246 ac_count=0 4247 $as_echo_n 0123456789 >"conftest.in" 4248 while : 4249 do 4250 cat "conftest.in" "conftest.in" >"conftest.tmp" 4251 mv "conftest.tmp" "conftest.in" 4252 cp "conftest.in" "conftest.nl" 4253 $as_echo 'GREP' >> "conftest.nl" 4254 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4255 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4256 as_fn_arith $ac_count + 1 && ac_count=$as_val 4257 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4258 # Best one so far, save it but keep looking for a better one 4259 ac_cv_path_GREP="$ac_path_GREP" 4260 ac_path_GREP_max=$ac_count 4261 fi 4262 # 10*(2^10) chars as input seems more than enough 4263 test $ac_count -gt 10 && break 4264 done 4265 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4266esac 4267 4268 $ac_path_GREP_found && break 3 4269 done 4270 done 4271 done 4272IFS=$as_save_IFS 4273 if test -z "$ac_cv_path_GREP"; then 4274 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4275 fi 4276else 4277 ac_cv_path_GREP=$GREP 4278fi 4279 4280fi 4281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4282$as_echo "$ac_cv_path_GREP" >&6; } 4283 GREP="$ac_cv_path_GREP" 4284 4285 4286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4287$as_echo_n "checking for egrep... " >&6; } 4288if ${ac_cv_path_EGREP+:} false; then : 4289 $as_echo_n "(cached) " >&6 4290else 4291 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4292 then ac_cv_path_EGREP="$GREP -E" 4293 else 4294 if test -z "$EGREP"; then 4295 ac_path_EGREP_found=false 4296 # Loop through the user's path and test for each of PROGNAME-LIST 4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4298for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4299do 4300 IFS=$as_save_IFS 4301 test -z "$as_dir" && as_dir=. 4302 for ac_prog in egrep; do 4303 for ac_exec_ext in '' $ac_executable_extensions; do 4304 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4305 as_fn_executable_p "$ac_path_EGREP" || continue 4306# Check for GNU ac_path_EGREP and select it if it is found. 4307 # Check for GNU $ac_path_EGREP 4308case `"$ac_path_EGREP" --version 2>&1` in 4309*GNU*) 4310 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4311*) 4312 ac_count=0 4313 $as_echo_n 0123456789 >"conftest.in" 4314 while : 4315 do 4316 cat "conftest.in" "conftest.in" >"conftest.tmp" 4317 mv "conftest.tmp" "conftest.in" 4318 cp "conftest.in" "conftest.nl" 4319 $as_echo 'EGREP' >> "conftest.nl" 4320 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4322 as_fn_arith $ac_count + 1 && ac_count=$as_val 4323 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4324 # Best one so far, save it but keep looking for a better one 4325 ac_cv_path_EGREP="$ac_path_EGREP" 4326 ac_path_EGREP_max=$ac_count 4327 fi 4328 # 10*(2^10) chars as input seems more than enough 4329 test $ac_count -gt 10 && break 4330 done 4331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4332esac 4333 4334 $ac_path_EGREP_found && break 3 4335 done 4336 done 4337 done 4338IFS=$as_save_IFS 4339 if test -z "$ac_cv_path_EGREP"; then 4340 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4341 fi 4342else 4343 ac_cv_path_EGREP=$EGREP 4344fi 4345 4346 fi 4347fi 4348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4349$as_echo "$ac_cv_path_EGREP" >&6; } 4350 EGREP="$ac_cv_path_EGREP" 4351 4352 4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4354$as_echo_n "checking for ANSI C header files... " >&6; } 4355if ${ac_cv_header_stdc+:} false; then : 4356 $as_echo_n "(cached) " >&6 4357else 4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4359/* end confdefs.h. */ 4360#include <stdlib.h> 4361#include <stdarg.h> 4362#include <string.h> 4363#include <float.h> 4364 4365int 4366main () 4367{ 4368 4369 ; 4370 return 0; 4371} 4372_ACEOF 4373if ac_fn_c_try_compile "$LINENO"; then : 4374 ac_cv_header_stdc=yes 4375else 4376 ac_cv_header_stdc=no 4377fi 4378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4379 4380if test $ac_cv_header_stdc = yes; then 4381 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4383/* end confdefs.h. */ 4384#include <string.h> 4385 4386_ACEOF 4387if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4388 $EGREP "memchr" >/dev/null 2>&1; then : 4389 4390else 4391 ac_cv_header_stdc=no 4392fi 4393rm -f conftest* 4394 4395fi 4396 4397if test $ac_cv_header_stdc = yes; then 4398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4400/* end confdefs.h. */ 4401#include <stdlib.h> 4402 4403_ACEOF 4404if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4405 $EGREP "free" >/dev/null 2>&1; then : 4406 4407else 4408 ac_cv_header_stdc=no 4409fi 4410rm -f conftest* 4411 4412fi 4413 4414if test $ac_cv_header_stdc = yes; then 4415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4416 if test "$cross_compiling" = yes; then : 4417 : 4418else 4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4420/* end confdefs.h. */ 4421#include <ctype.h> 4422#include <stdlib.h> 4423#if ((' ' & 0x0FF) == 0x020) 4424# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4425# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4426#else 4427# define ISLOWER(c) \ 4428 (('a' <= (c) && (c) <= 'i') \ 4429 || ('j' <= (c) && (c) <= 'r') \ 4430 || ('s' <= (c) && (c) <= 'z')) 4431# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4432#endif 4433 4434#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4435int 4436main () 4437{ 4438 int i; 4439 for (i = 0; i < 256; i++) 4440 if (XOR (islower (i), ISLOWER (i)) 4441 || toupper (i) != TOUPPER (i)) 4442 return 2; 4443 return 0; 4444} 4445_ACEOF 4446if ac_fn_c_try_run "$LINENO"; then : 4447 4448else 4449 ac_cv_header_stdc=no 4450fi 4451rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4452 conftest.$ac_objext conftest.beam conftest.$ac_ext 4453fi 4454 4455fi 4456fi 4457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4458$as_echo "$ac_cv_header_stdc" >&6; } 4459if test $ac_cv_header_stdc = yes; then 4460 4461$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4462 4463fi 4464 4465# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4466for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4467 inttypes.h stdint.h unistd.h 4468do : 4469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4470ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4471" 4472if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4473 cat >>confdefs.h <<_ACEOF 4474#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4475_ACEOF 4476 4477fi 4478 4479done 4480 4481 4482for ac_header in stdlib.h unistd.h 4483do : 4484 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4485ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4486if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4487 cat >>confdefs.h <<_ACEOF 4488#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4489_ACEOF 4490 4491fi 4492 4493done 4494 4495ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 4496if test "x$ac_cv_header_locale_h" = xyes; then : 4497 ac_fn_c_check_func "$LINENO" "putwc" "ac_cv_func_putwc" 4498if test "x$ac_cv_func_putwc" = xyes; then : 4499 $as_echo "#define USE_LOCALE 1" >>confdefs.h 4500 4501fi 4502 4503fi 4504 4505 4506 4507 4508# Check whether --with-plugindir was given. 4509if test "${with_plugindir+set}" = set; then : 4510 withval=$with_plugindir; plugindir="${withval}" 4511else 4512 plugindir="\${libdir}/powwow" 4513fi 4514 4515 4516 4517 4518# Checks for typedefs, structures, and compiler characteristics. 4519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4520$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4521if ${ac_cv_c_const+:} false; then : 4522 $as_echo_n "(cached) " >&6 4523else 4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4525/* end confdefs.h. */ 4526 4527int 4528main () 4529{ 4530 4531#ifndef __cplusplus 4532 /* Ultrix mips cc rejects this sort of thing. */ 4533 typedef int charset[2]; 4534 const charset cs = { 0, 0 }; 4535 /* SunOS 4.1.1 cc rejects this. */ 4536 char const *const *pcpcc; 4537 char **ppc; 4538 /* NEC SVR4.0.2 mips cc rejects this. */ 4539 struct point {int x, y;}; 4540 static struct point const zero = {0,0}; 4541 /* AIX XL C 1.02.0.0 rejects this. 4542 It does not let you subtract one const X* pointer from another in 4543 an arm of an if-expression whose if-part is not a constant 4544 expression */ 4545 const char *g = "string"; 4546 pcpcc = &g + (g ? g-g : 0); 4547 /* HPUX 7.0 cc rejects these. */ 4548 ++pcpcc; 4549 ppc = (char**) pcpcc; 4550 pcpcc = (char const *const *) ppc; 4551 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4552 char tx; 4553 char *t = &tx; 4554 char const *s = 0 ? (char *) 0 : (char const *) 0; 4555 4556 *t++ = 0; 4557 if (s) return 0; 4558 } 4559 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4560 int x[] = {25, 17}; 4561 const int *foo = &x[0]; 4562 ++foo; 4563 } 4564 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4565 typedef const int *iptr; 4566 iptr p = 0; 4567 ++p; 4568 } 4569 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4570 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4571 struct s { int j; const int *ap[3]; } bx; 4572 struct s *b = &bx; b->j = 5; 4573 } 4574 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4575 const int foo = 10; 4576 if (!foo) return 0; 4577 } 4578 return !cs[0] && !zero.x; 4579#endif 4580 4581 ; 4582 return 0; 4583} 4584_ACEOF 4585if ac_fn_c_try_compile "$LINENO"; then : 4586 ac_cv_c_const=yes 4587else 4588 ac_cv_c_const=no 4589fi 4590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4591fi 4592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4593$as_echo "$ac_cv_c_const" >&6; } 4594if test $ac_cv_c_const = no; then 4595 4596$as_echo "#define const /**/" >>confdefs.h 4597 4598fi 4599 4600 4601# Checks for library functions. 4602for ac_header in stdlib.h 4603do : 4604 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4605if test "x$ac_cv_header_stdlib_h" = xyes; then : 4606 cat >>confdefs.h <<_ACEOF 4607#define HAVE_STDLIB_H 1 4608_ACEOF 4609 4610fi 4611 4612done 4613 4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 4615$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 4616if ${ac_cv_func_malloc_0_nonnull+:} false; then : 4617 $as_echo_n "(cached) " >&6 4618else 4619 if test "$cross_compiling" = yes; then : 4620 ac_cv_func_malloc_0_nonnull=no 4621else 4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4623/* end confdefs.h. */ 4624#if defined STDC_HEADERS || defined HAVE_STDLIB_H 4625# include <stdlib.h> 4626#else 4627char *malloc (); 4628#endif 4629 4630int 4631main () 4632{ 4633return ! malloc (0); 4634 ; 4635 return 0; 4636} 4637_ACEOF 4638if ac_fn_c_try_run "$LINENO"; then : 4639 ac_cv_func_malloc_0_nonnull=yes 4640else 4641 ac_cv_func_malloc_0_nonnull=no 4642fi 4643rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4644 conftest.$ac_objext conftest.beam conftest.$ac_ext 4645fi 4646 4647fi 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 4649$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 4650if test $ac_cv_func_malloc_0_nonnull = yes; then : 4651 4652$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 4653 4654else 4655 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 4656 4657 case " $LIBOBJS " in 4658 *" malloc.$ac_objext "* ) ;; 4659 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 4660 ;; 4661esac 4662 4663 4664$as_echo "#define malloc rpl_malloc" >>confdefs.h 4665 4666fi 4667 4668 4669 4670ac_config_files="$ac_config_files Makefile" 4671 4672cat >confcache <<\_ACEOF 4673# This file is a shell script that caches the results of configure 4674# tests run on this system so they can be shared between configure 4675# scripts and configure runs, see configure's option --config-cache. 4676# It is not useful on other systems. If it contains results you don't 4677# want to keep, you may remove or edit it. 4678# 4679# config.status only pays attention to the cache file if you give it 4680# the --recheck option to rerun configure. 4681# 4682# `ac_cv_env_foo' variables (set or unset) will be overridden when 4683# loading this file, other *unset* `ac_cv_foo' will be assigned the 4684# following values. 4685 4686_ACEOF 4687 4688# The following way of writing the cache mishandles newlines in values, 4689# but we know of no workaround that is simple, portable, and efficient. 4690# So, we kill variables containing newlines. 4691# Ultrix sh set writes to stderr and can't be redirected directly, 4692# and sets the high bit in the cache file unless we assign to the vars. 4693( 4694 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4695 eval ac_val=\$$ac_var 4696 case $ac_val in #( 4697 *${as_nl}*) 4698 case $ac_var in #( 4699 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4700$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4701 esac 4702 case $ac_var in #( 4703 _ | IFS | as_nl) ;; #( 4704 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4705 *) { eval $ac_var=; unset $ac_var;} ;; 4706 esac ;; 4707 esac 4708 done 4709 4710 (set) 2>&1 | 4711 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4712 *${as_nl}ac_space=\ *) 4713 # `set' does not quote correctly, so add quotes: double-quote 4714 # substitution turns \\\\ into \\, and sed turns \\ into \. 4715 sed -n \ 4716 "s/'/'\\\\''/g; 4717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4718 ;; #( 4719 *) 4720 # `set' quotes correctly as required by POSIX, so do not add quotes. 4721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4722 ;; 4723 esac | 4724 sort 4725) | 4726 sed ' 4727 /^ac_cv_env_/b end 4728 t clear 4729 :clear 4730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4731 t end 4732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4733 :end' >>confcache 4734if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4735 if test -w "$cache_file"; then 4736 if test "x$cache_file" != "x/dev/null"; then 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4738$as_echo "$as_me: updating cache $cache_file" >&6;} 4739 if test ! -f "$cache_file" || test -h "$cache_file"; then 4740 cat confcache >"$cache_file" 4741 else 4742 case $cache_file in #( 4743 */* | ?:*) 4744 mv -f confcache "$cache_file"$$ && 4745 mv -f "$cache_file"$$ "$cache_file" ;; #( 4746 *) 4747 mv -f confcache "$cache_file" ;; 4748 esac 4749 fi 4750 fi 4751 else 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4753$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4754 fi 4755fi 4756rm -f confcache 4757 4758test "x$prefix" = xNONE && prefix=$ac_default_prefix 4759# Let make expand exec_prefix. 4760test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4761 4762# Transform confdefs.h into DEFS. 4763# Protect against shell expansion while executing Makefile rules. 4764# Protect against Makefile macro expansion. 4765# 4766# If the first sed substitution is executed (which looks for macros that 4767# take arguments), then branch to the quote section. Otherwise, 4768# look for a macro that doesn't take arguments. 4769ac_script=' 4770:mline 4771/\\$/{ 4772 N 4773 s,\\\n,, 4774 b mline 4775} 4776t clear 4777:clear 4778s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4779t quote 4780s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4781t quote 4782b any 4783:quote 4784s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4785s/\[/\\&/g 4786s/\]/\\&/g 4787s/\$/$$/g 4788H 4789:any 4790${ 4791 g 4792 s/^\n// 4793 s/\n/ /g 4794 p 4795} 4796' 4797DEFS=`sed -n "$ac_script" confdefs.h` 4798 4799 4800ac_libobjs= 4801ac_ltlibobjs= 4802U= 4803for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4804 # 1. Remove the extension, and $U if already installed. 4805 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4806 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4807 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4808 # will be set to the directory where LIBOBJS objects are built. 4809 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4810 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4811done 4812LIBOBJS=$ac_libobjs 4813 4814LTLIBOBJS=$ac_ltlibobjs 4815 4816 4817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 4818$as_echo_n "checking that generated files are newer than configure... " >&6; } 4819 if test -n "$am_sleep_pid"; then 4820 # Hide warnings about reused PIDs. 4821 wait $am_sleep_pid 2>/dev/null 4822 fi 4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 4824$as_echo "done" >&6; } 4825 if test -n "$EXEEXT"; then 4826 am__EXEEXT_TRUE= 4827 am__EXEEXT_FALSE='#' 4828else 4829 am__EXEEXT_TRUE='#' 4830 am__EXEEXT_FALSE= 4831fi 4832 4833if test -z "${MAN_PAGE_ENCODING_IS_UTF_8_TRUE}" && test -z "${MAN_PAGE_ENCODING_IS_UTF_8_FALSE}"; then 4834 as_fn_error $? "conditional \"MAN_PAGE_ENCODING_IS_UTF_8\" was never defined. 4835Usually this means the macro was only invoked conditionally." "$LINENO" 5 4836fi 4837if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4838 as_fn_error $? "conditional \"AMDEP\" was never defined. 4839Usually this means the macro was only invoked conditionally." "$LINENO" 5 4840fi 4841if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4842 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4843Usually this means the macro was only invoked conditionally." "$LINENO" 5 4844fi 4845 4846: "${CONFIG_STATUS=./config.status}" 4847ac_write_fail=0 4848ac_clean_files_save=$ac_clean_files 4849ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4850{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4851$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4852as_write_fail=0 4853cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4854#! $SHELL 4855# Generated by $as_me. 4856# Run this file to recreate the current configuration. 4857# Compiler output produced by configure, useful for debugging 4858# configure, is in config.log if it exists. 4859 4860debug=false 4861ac_cs_recheck=false 4862ac_cs_silent=false 4863 4864SHELL=\${CONFIG_SHELL-$SHELL} 4865export SHELL 4866_ASEOF 4867cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4868## -------------------- ## 4869## M4sh Initialization. ## 4870## -------------------- ## 4871 4872# Be more Bourne compatible 4873DUALCASE=1; export DUALCASE # for MKS sh 4874if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4875 emulate sh 4876 NULLCMD=: 4877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4878 # is contrary to our usage. Disable this feature. 4879 alias -g '${1+"$@"}'='"$@"' 4880 setopt NO_GLOB_SUBST 4881else 4882 case `(set -o) 2>/dev/null` in #( 4883 *posix*) : 4884 set -o posix ;; #( 4885 *) : 4886 ;; 4887esac 4888fi 4889 4890 4891as_nl=' 4892' 4893export as_nl 4894# Printing a long string crashes Solaris 7 /usr/bin/printf. 4895as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4896as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4897as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4898# Prefer a ksh shell builtin over an external printf program on Solaris, 4899# but without wasting forks for bash or zsh. 4900if test -z "$BASH_VERSION$ZSH_VERSION" \ 4901 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4902 as_echo='print -r --' 4903 as_echo_n='print -rn --' 4904elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4905 as_echo='printf %s\n' 4906 as_echo_n='printf %s' 4907else 4908 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4909 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4910 as_echo_n='/usr/ucb/echo -n' 4911 else 4912 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4913 as_echo_n_body='eval 4914 arg=$1; 4915 case $arg in #( 4916 *"$as_nl"*) 4917 expr "X$arg" : "X\\(.*\\)$as_nl"; 4918 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4919 esac; 4920 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4921 ' 4922 export as_echo_n_body 4923 as_echo_n='sh -c $as_echo_n_body as_echo' 4924 fi 4925 export as_echo_body 4926 as_echo='sh -c $as_echo_body as_echo' 4927fi 4928 4929# The user is always right. 4930if test "${PATH_SEPARATOR+set}" != set; then 4931 PATH_SEPARATOR=: 4932 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4933 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4934 PATH_SEPARATOR=';' 4935 } 4936fi 4937 4938 4939# IFS 4940# We need space, tab and new line, in precisely that order. Quoting is 4941# there to prevent editors from complaining about space-tab. 4942# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4943# splitting by setting IFS to empty value.) 4944IFS=" "" $as_nl" 4945 4946# Find who we are. Look in the path if we contain no directory separator. 4947as_myself= 4948case $0 in #(( 4949 *[\\/]* ) as_myself=$0 ;; 4950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4951for as_dir in $PATH 4952do 4953 IFS=$as_save_IFS 4954 test -z "$as_dir" && as_dir=. 4955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4956 done 4957IFS=$as_save_IFS 4958 4959 ;; 4960esac 4961# We did not find ourselves, most probably we were run as `sh COMMAND' 4962# in which case we are not to be found in the path. 4963if test "x$as_myself" = x; then 4964 as_myself=$0 4965fi 4966if test ! -f "$as_myself"; then 4967 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4968 exit 1 4969fi 4970 4971# Unset variables that we do not need and which cause bugs (e.g. in 4972# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4973# suppresses any "Segmentation fault" message there. '((' could 4974# trigger a bug in pdksh 5.2.14. 4975for as_var in BASH_ENV ENV MAIL MAILPATH 4976do eval test x\${$as_var+set} = xset \ 4977 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4978done 4979PS1='$ ' 4980PS2='> ' 4981PS4='+ ' 4982 4983# NLS nuisances. 4984LC_ALL=C 4985export LC_ALL 4986LANGUAGE=C 4987export LANGUAGE 4988 4989# CDPATH. 4990(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4991 4992 4993# as_fn_error STATUS ERROR [LINENO LOG_FD] 4994# ---------------------------------------- 4995# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4996# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4997# script with STATUS, using 1 if that was 0. 4998as_fn_error () 4999{ 5000 as_status=$1; test $as_status -eq 0 && as_status=1 5001 if test "$4"; then 5002 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5003 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5004 fi 5005 $as_echo "$as_me: error: $2" >&2 5006 as_fn_exit $as_status 5007} # as_fn_error 5008 5009 5010# as_fn_set_status STATUS 5011# ----------------------- 5012# Set $? to STATUS, without forking. 5013as_fn_set_status () 5014{ 5015 return $1 5016} # as_fn_set_status 5017 5018# as_fn_exit STATUS 5019# ----------------- 5020# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5021as_fn_exit () 5022{ 5023 set +e 5024 as_fn_set_status $1 5025 exit $1 5026} # as_fn_exit 5027 5028# as_fn_unset VAR 5029# --------------- 5030# Portably unset VAR. 5031as_fn_unset () 5032{ 5033 { eval $1=; unset $1;} 5034} 5035as_unset=as_fn_unset 5036# as_fn_append VAR VALUE 5037# ---------------------- 5038# Append the text in VALUE to the end of the definition contained in VAR. Take 5039# advantage of any shell optimizations that allow amortized linear growth over 5040# repeated appends, instead of the typical quadratic growth present in naive 5041# implementations. 5042if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5043 eval 'as_fn_append () 5044 { 5045 eval $1+=\$2 5046 }' 5047else 5048 as_fn_append () 5049 { 5050 eval $1=\$$1\$2 5051 } 5052fi # as_fn_append 5053 5054# as_fn_arith ARG... 5055# ------------------ 5056# Perform arithmetic evaluation on the ARGs, and store the result in the 5057# global $as_val. Take advantage of shells that can avoid forks. The arguments 5058# must be portable across $(()) and expr. 5059if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5060 eval 'as_fn_arith () 5061 { 5062 as_val=$(( $* )) 5063 }' 5064else 5065 as_fn_arith () 5066 { 5067 as_val=`expr "$@" || test $? -eq 1` 5068 } 5069fi # as_fn_arith 5070 5071 5072if expr a : '\(a\)' >/dev/null 2>&1 && 5073 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5074 as_expr=expr 5075else 5076 as_expr=false 5077fi 5078 5079if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5080 as_basename=basename 5081else 5082 as_basename=false 5083fi 5084 5085if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5086 as_dirname=dirname 5087else 5088 as_dirname=false 5089fi 5090 5091as_me=`$as_basename -- "$0" || 5092$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5093 X"$0" : 'X\(//\)$' \| \ 5094 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5095$as_echo X/"$0" | 5096 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5097 s//\1/ 5098 q 5099 } 5100 /^X\/\(\/\/\)$/{ 5101 s//\1/ 5102 q 5103 } 5104 /^X\/\(\/\).*/{ 5105 s//\1/ 5106 q 5107 } 5108 s/.*/./; q'` 5109 5110# Avoid depending upon Character Ranges. 5111as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5112as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5113as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5114as_cr_digits='0123456789' 5115as_cr_alnum=$as_cr_Letters$as_cr_digits 5116 5117ECHO_C= ECHO_N= ECHO_T= 5118case `echo -n x` in #((((( 5119-n*) 5120 case `echo 'xy\c'` in 5121 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5122 xy) ECHO_C='\c';; 5123 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5124 ECHO_T=' ';; 5125 esac;; 5126*) 5127 ECHO_N='-n';; 5128esac 5129 5130rm -f conf$$ conf$$.exe conf$$.file 5131if test -d conf$$.dir; then 5132 rm -f conf$$.dir/conf$$.file 5133else 5134 rm -f conf$$.dir 5135 mkdir conf$$.dir 2>/dev/null 5136fi 5137if (echo >conf$$.file) 2>/dev/null; then 5138 if ln -s conf$$.file conf$$ 2>/dev/null; then 5139 as_ln_s='ln -s' 5140 # ... but there are two gotchas: 5141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5143 # In both cases, we have to default to `cp -pR'. 5144 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5145 as_ln_s='cp -pR' 5146 elif ln conf$$.file conf$$ 2>/dev/null; then 5147 as_ln_s=ln 5148 else 5149 as_ln_s='cp -pR' 5150 fi 5151else 5152 as_ln_s='cp -pR' 5153fi 5154rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5155rmdir conf$$.dir 2>/dev/null 5156 5157 5158# as_fn_mkdir_p 5159# ------------- 5160# Create "$as_dir" as a directory, including parents if necessary. 5161as_fn_mkdir_p () 5162{ 5163 5164 case $as_dir in #( 5165 -*) as_dir=./$as_dir;; 5166 esac 5167 test -d "$as_dir" || eval $as_mkdir_p || { 5168 as_dirs= 5169 while :; do 5170 case $as_dir in #( 5171 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5172 *) as_qdir=$as_dir;; 5173 esac 5174 as_dirs="'$as_qdir' $as_dirs" 5175 as_dir=`$as_dirname -- "$as_dir" || 5176$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5177 X"$as_dir" : 'X\(//\)[^/]' \| \ 5178 X"$as_dir" : 'X\(//\)$' \| \ 5179 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5180$as_echo X"$as_dir" | 5181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5182 s//\1/ 5183 q 5184 } 5185 /^X\(\/\/\)[^/].*/{ 5186 s//\1/ 5187 q 5188 } 5189 /^X\(\/\/\)$/{ 5190 s//\1/ 5191 q 5192 } 5193 /^X\(\/\).*/{ 5194 s//\1/ 5195 q 5196 } 5197 s/.*/./; q'` 5198 test -d "$as_dir" && break 5199 done 5200 test -z "$as_dirs" || eval "mkdir $as_dirs" 5201 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5202 5203 5204} # as_fn_mkdir_p 5205if mkdir -p . 2>/dev/null; then 5206 as_mkdir_p='mkdir -p "$as_dir"' 5207else 5208 test -d ./-p && rmdir ./-p 5209 as_mkdir_p=false 5210fi 5211 5212 5213# as_fn_executable_p FILE 5214# ----------------------- 5215# Test if FILE is an executable regular file. 5216as_fn_executable_p () 5217{ 5218 test -f "$1" && test -x "$1" 5219} # as_fn_executable_p 5220as_test_x='test -x' 5221as_executable_p=as_fn_executable_p 5222 5223# Sed expression to map a string onto a valid CPP name. 5224as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5225 5226# Sed expression to map a string onto a valid variable name. 5227as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5228 5229 5230exec 6>&1 5231## ----------------------------------- ## 5232## Main body of $CONFIG_STATUS script. ## 5233## ----------------------------------- ## 5234_ASEOF 5235test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5236 5237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5238# Save the log message, to keep $0 and so on meaningful, and to 5239# report actual input values of CONFIG_FILES etc. instead of their 5240# values after options handling. 5241ac_log=" 5242This file was extended by $as_me, which was 5243generated by GNU Autoconf 2.69. Invocation command line was 5244 5245 CONFIG_FILES = $CONFIG_FILES 5246 CONFIG_HEADERS = $CONFIG_HEADERS 5247 CONFIG_LINKS = $CONFIG_LINKS 5248 CONFIG_COMMANDS = $CONFIG_COMMANDS 5249 $ $0 $@ 5250 5251on `(hostname || uname -n) 2>/dev/null | sed 1q` 5252" 5253 5254_ACEOF 5255 5256case $ac_config_files in *" 5257"*) set x $ac_config_files; shift; ac_config_files=$*;; 5258esac 5259 5260 5261 5262cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5263# Files that config.status was made for. 5264config_files="$ac_config_files" 5265config_commands="$ac_config_commands" 5266 5267_ACEOF 5268 5269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5270ac_cs_usage="\ 5271\`$as_me' instantiates files and other configuration actions 5272from templates according to the current configuration. Unless the files 5273and actions are specified as TAGs, all are instantiated by default. 5274 5275Usage: $0 [OPTION]... [TAG]... 5276 5277 -h, --help print this help, then exit 5278 -V, --version print version number and configuration settings, then exit 5279 --config print configuration, then exit 5280 -q, --quiet, --silent 5281 do not print progress messages 5282 -d, --debug don't remove temporary files 5283 --recheck update $as_me by reconfiguring in the same conditions 5284 --file=FILE[:TEMPLATE] 5285 instantiate the configuration file FILE 5286 5287Configuration files: 5288$config_files 5289 5290Configuration commands: 5291$config_commands 5292 5293Report bugs to the package provider." 5294 5295_ACEOF 5296cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5297ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5298ac_cs_version="\\ 5299config.status 5300configured by $0, generated by GNU Autoconf 2.69, 5301 with options \\"\$ac_cs_config\\" 5302 5303Copyright (C) 2012 Free Software Foundation, Inc. 5304This config.status script is free software; the Free Software Foundation 5305gives unlimited permission to copy, distribute and modify it." 5306 5307ac_pwd='$ac_pwd' 5308srcdir='$srcdir' 5309INSTALL='$INSTALL' 5310MKDIR_P='$MKDIR_P' 5311AWK='$AWK' 5312test -n "\$AWK" || AWK=awk 5313_ACEOF 5314 5315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5316# The default lists apply if the user does not specify any file. 5317ac_need_defaults=: 5318while test $# != 0 5319do 5320 case $1 in 5321 --*=?*) 5322 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5323 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5324 ac_shift=: 5325 ;; 5326 --*=) 5327 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5328 ac_optarg= 5329 ac_shift=: 5330 ;; 5331 *) 5332 ac_option=$1 5333 ac_optarg=$2 5334 ac_shift=shift 5335 ;; 5336 esac 5337 5338 case $ac_option in 5339 # Handling of the options. 5340 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5341 ac_cs_recheck=: ;; 5342 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5343 $as_echo "$ac_cs_version"; exit ;; 5344 --config | --confi | --conf | --con | --co | --c ) 5345 $as_echo "$ac_cs_config"; exit ;; 5346 --debug | --debu | --deb | --de | --d | -d ) 5347 debug=: ;; 5348 --file | --fil | --fi | --f ) 5349 $ac_shift 5350 case $ac_optarg in 5351 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5352 '') as_fn_error $? "missing file argument" ;; 5353 esac 5354 as_fn_append CONFIG_FILES " '$ac_optarg'" 5355 ac_need_defaults=false;; 5356 --he | --h | --help | --hel | -h ) 5357 $as_echo "$ac_cs_usage"; exit ;; 5358 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5359 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5360 ac_cs_silent=: ;; 5361 5362 # This is an error. 5363 -*) as_fn_error $? "unrecognized option: \`$1' 5364Try \`$0 --help' for more information." ;; 5365 5366 *) as_fn_append ac_config_targets " $1" 5367 ac_need_defaults=false ;; 5368 5369 esac 5370 shift 5371done 5372 5373ac_configure_extra_args= 5374 5375if $ac_cs_silent; then 5376 exec 6>/dev/null 5377 ac_configure_extra_args="$ac_configure_extra_args --silent" 5378fi 5379 5380_ACEOF 5381cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5382if \$ac_cs_recheck; then 5383 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5384 shift 5385 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5386 CONFIG_SHELL='$SHELL' 5387 export CONFIG_SHELL 5388 exec "\$@" 5389fi 5390 5391_ACEOF 5392cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5393exec 5>>config.log 5394{ 5395 echo 5396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5397## Running $as_me. ## 5398_ASBOX 5399 $as_echo "$ac_log" 5400} >&5 5401 5402_ACEOF 5403cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5404# 5405# INIT-COMMANDS 5406# 5407AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5408 5409_ACEOF 5410 5411cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5412 5413# Handling of arguments. 5414for ac_config_target in $ac_config_targets 5415do 5416 case $ac_config_target in 5417 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5418 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5419 5420 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5421 esac 5422done 5423 5424 5425# If the user did not use the arguments to specify the items to instantiate, 5426# then the envvar interface is used. Set only those that are not. 5427# We use the long form for the default assignment because of an extremely 5428# bizarre bug on SunOS 4.1.3. 5429if $ac_need_defaults; then 5430 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5431 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5432fi 5433 5434# Have a temporary directory for convenience. Make it in the build tree 5435# simply because there is no reason against having it here, and in addition, 5436# creating and moving files from /tmp can sometimes cause problems. 5437# Hook for its removal unless debugging. 5438# Note that there is a small window in which the directory will not be cleaned: 5439# after its creation but before its name has been assigned to `$tmp'. 5440$debug || 5441{ 5442 tmp= ac_tmp= 5443 trap 'exit_status=$? 5444 : "${ac_tmp:=$tmp}" 5445 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5446' 0 5447 trap 'as_fn_exit 1' 1 2 13 15 5448} 5449# Create a (secure) tmp directory for tmp files. 5450 5451{ 5452 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5453 test -d "$tmp" 5454} || 5455{ 5456 tmp=./conf$$-$RANDOM 5457 (umask 077 && mkdir "$tmp") 5458} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5459ac_tmp=$tmp 5460 5461# Set up the scripts for CONFIG_FILES section. 5462# No need to generate them if there are no CONFIG_FILES. 5463# This happens for instance with `./config.status config.h'. 5464if test -n "$CONFIG_FILES"; then 5465 5466 5467ac_cr=`echo X | tr X '\015'` 5468# On cygwin, bash can eat \r inside `` if the user requested igncr. 5469# But we know of no other shell where ac_cr would be empty at this 5470# point, so we can use a bashism as a fallback. 5471if test "x$ac_cr" = x; then 5472 eval ac_cr=\$\'\\r\' 5473fi 5474ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5475if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5476 ac_cs_awk_cr='\\r' 5477else 5478 ac_cs_awk_cr=$ac_cr 5479fi 5480 5481echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5482_ACEOF 5483 5484 5485{ 5486 echo "cat >conf$$subs.awk <<_ACEOF" && 5487 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5488 echo "_ACEOF" 5489} >conf$$subs.sh || 5490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5491ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5492ac_delim='%!_!# ' 5493for ac_last_try in false false false false false :; do 5494 . ./conf$$subs.sh || 5495 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5496 5497 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5498 if test $ac_delim_n = $ac_delim_num; then 5499 break 5500 elif $ac_last_try; then 5501 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5502 else 5503 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5504 fi 5505done 5506rm -f conf$$subs.sh 5507 5508cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5509cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5510_ACEOF 5511sed -n ' 5512h 5513s/^/S["/; s/!.*/"]=/ 5514p 5515g 5516s/^[^!]*!// 5517:repl 5518t repl 5519s/'"$ac_delim"'$// 5520t delim 5521:nl 5522h 5523s/\(.\{148\}\)..*/\1/ 5524t more1 5525s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5526p 5527n 5528b repl 5529:more1 5530s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5531p 5532g 5533s/.\{148\}// 5534t nl 5535:delim 5536h 5537s/\(.\{148\}\)..*/\1/ 5538t more2 5539s/["\\]/\\&/g; s/^/"/; s/$/"/ 5540p 5541b 5542:more2 5543s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5544p 5545g 5546s/.\{148\}// 5547t delim 5548' <conf$$subs.awk | sed ' 5549/^[^""]/{ 5550 N 5551 s/\n// 5552} 5553' >>$CONFIG_STATUS || ac_write_fail=1 5554rm -f conf$$subs.awk 5555cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5556_ACAWK 5557cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5558 for (key in S) S_is_set[key] = 1 5559 FS = "" 5560 5561} 5562{ 5563 line = $ 0 5564 nfields = split(line, field, "@") 5565 substed = 0 5566 len = length(field[1]) 5567 for (i = 2; i < nfields; i++) { 5568 key = field[i] 5569 keylen = length(key) 5570 if (S_is_set[key]) { 5571 value = S[key] 5572 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5573 len += length(value) + length(field[++i]) 5574 substed = 1 5575 } else 5576 len += 1 + keylen 5577 } 5578 5579 print line 5580} 5581 5582_ACAWK 5583_ACEOF 5584cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5585if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5586 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5587else 5588 cat 5589fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5590 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5591_ACEOF 5592 5593# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5594# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5595# trailing colons and then remove the whole line if VPATH becomes empty 5596# (actually we leave an empty line to preserve line numbers). 5597if test "x$srcdir" = x.; then 5598 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5599h 5600s/// 5601s/^/:/ 5602s/[ ]*$/:/ 5603s/:\$(srcdir):/:/g 5604s/:\${srcdir}:/:/g 5605s/:@srcdir@:/:/g 5606s/^:*// 5607s/:*$// 5608x 5609s/\(=[ ]*\).*/\1/ 5610G 5611s/\n// 5612s/^[^=]*=[ ]*$// 5613}' 5614fi 5615 5616cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5617fi # test -n "$CONFIG_FILES" 5618 5619 5620eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5621shift 5622for ac_tag 5623do 5624 case $ac_tag in 5625 :[FHLC]) ac_mode=$ac_tag; continue;; 5626 esac 5627 case $ac_mode$ac_tag in 5628 :[FHL]*:*);; 5629 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5630 :[FH]-) ac_tag=-:-;; 5631 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5632 esac 5633 ac_save_IFS=$IFS 5634 IFS=: 5635 set x $ac_tag 5636 IFS=$ac_save_IFS 5637 shift 5638 ac_file=$1 5639 shift 5640 5641 case $ac_mode in 5642 :L) ac_source=$1;; 5643 :[FH]) 5644 ac_file_inputs= 5645 for ac_f 5646 do 5647 case $ac_f in 5648 -) ac_f="$ac_tmp/stdin";; 5649 *) # Look for the file first in the build tree, then in the source tree 5650 # (if the path is not absolute). The absolute path cannot be DOS-style, 5651 # because $ac_f cannot contain `:'. 5652 test -f "$ac_f" || 5653 case $ac_f in 5654 [\\/$]*) false;; 5655 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5656 esac || 5657 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5658 esac 5659 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5660 as_fn_append ac_file_inputs " '$ac_f'" 5661 done 5662 5663 # Let's still pretend it is `configure' which instantiates (i.e., don't 5664 # use $as_me), people would be surprised to read: 5665 # /* config.h. Generated by config.status. */ 5666 configure_input='Generated from '` 5667 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5668 `' by configure.' 5669 if test x"$ac_file" != x-; then 5670 configure_input="$ac_file. $configure_input" 5671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5672$as_echo "$as_me: creating $ac_file" >&6;} 5673 fi 5674 # Neutralize special characters interpreted by sed in replacement strings. 5675 case $configure_input in #( 5676 *\&* | *\|* | *\\* ) 5677 ac_sed_conf_input=`$as_echo "$configure_input" | 5678 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5679 *) ac_sed_conf_input=$configure_input;; 5680 esac 5681 5682 case $ac_tag in 5683 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5685 esac 5686 ;; 5687 esac 5688 5689 ac_dir=`$as_dirname -- "$ac_file" || 5690$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5691 X"$ac_file" : 'X\(//\)[^/]' \| \ 5692 X"$ac_file" : 'X\(//\)$' \| \ 5693 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5694$as_echo X"$ac_file" | 5695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5696 s//\1/ 5697 q 5698 } 5699 /^X\(\/\/\)[^/].*/{ 5700 s//\1/ 5701 q 5702 } 5703 /^X\(\/\/\)$/{ 5704 s//\1/ 5705 q 5706 } 5707 /^X\(\/\).*/{ 5708 s//\1/ 5709 q 5710 } 5711 s/.*/./; q'` 5712 as_dir="$ac_dir"; as_fn_mkdir_p 5713 ac_builddir=. 5714 5715case "$ac_dir" in 5716.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5717*) 5718 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5719 # A ".." for each directory in $ac_dir_suffix. 5720 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5721 case $ac_top_builddir_sub in 5722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5724 esac ;; 5725esac 5726ac_abs_top_builddir=$ac_pwd 5727ac_abs_builddir=$ac_pwd$ac_dir_suffix 5728# for backward compatibility: 5729ac_top_builddir=$ac_top_build_prefix 5730 5731case $srcdir in 5732 .) # We are building in place. 5733 ac_srcdir=. 5734 ac_top_srcdir=$ac_top_builddir_sub 5735 ac_abs_top_srcdir=$ac_pwd ;; 5736 [\\/]* | ?:[\\/]* ) # Absolute name. 5737 ac_srcdir=$srcdir$ac_dir_suffix; 5738 ac_top_srcdir=$srcdir 5739 ac_abs_top_srcdir=$srcdir ;; 5740 *) # Relative name. 5741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5742 ac_top_srcdir=$ac_top_build_prefix$srcdir 5743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5744esac 5745ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5746 5747 5748 case $ac_mode in 5749 :F) 5750 # 5751 # CONFIG_FILE 5752 # 5753 5754 case $INSTALL in 5755 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5756 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5757 esac 5758 ac_MKDIR_P=$MKDIR_P 5759 case $MKDIR_P in 5760 [\\/$]* | ?:[\\/]* ) ;; 5761 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5762 esac 5763_ACEOF 5764 5765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5766# If the template does not know about datarootdir, expand it. 5767# FIXME: This hack should be removed a few years after 2.60. 5768ac_datarootdir_hack=; ac_datarootdir_seen= 5769ac_sed_dataroot=' 5770/datarootdir/ { 5771 p 5772 q 5773} 5774/@datadir@/p 5775/@docdir@/p 5776/@infodir@/p 5777/@localedir@/p 5778/@mandir@/p' 5779case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5780*datarootdir*) ac_datarootdir_seen=yes;; 5781*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5783$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5784_ACEOF 5785cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5786 ac_datarootdir_hack=' 5787 s&@datadir@&$datadir&g 5788 s&@docdir@&$docdir&g 5789 s&@infodir@&$infodir&g 5790 s&@localedir@&$localedir&g 5791 s&@mandir@&$mandir&g 5792 s&\\\${datarootdir}&$datarootdir&g' ;; 5793esac 5794_ACEOF 5795 5796# Neutralize VPATH when `$srcdir' = `.'. 5797# Shell code in configure.ac might set extrasub. 5798# FIXME: do we really want to maintain this feature? 5799cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5800ac_sed_extra="$ac_vpsub 5801$extrasub 5802_ACEOF 5803cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5804:t 5805/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5806s|@configure_input@|$ac_sed_conf_input|;t t 5807s&@top_builddir@&$ac_top_builddir_sub&;t t 5808s&@top_build_prefix@&$ac_top_build_prefix&;t t 5809s&@srcdir@&$ac_srcdir&;t t 5810s&@abs_srcdir@&$ac_abs_srcdir&;t t 5811s&@top_srcdir@&$ac_top_srcdir&;t t 5812s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5813s&@builddir@&$ac_builddir&;t t 5814s&@abs_builddir@&$ac_abs_builddir&;t t 5815s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5816s&@INSTALL@&$ac_INSTALL&;t t 5817s&@MKDIR_P@&$ac_MKDIR_P&;t t 5818$ac_datarootdir_hack 5819" 5820eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5821 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5822 5823test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5824 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5825 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5826 "$ac_tmp/out"`; test -z "$ac_out"; } && 5827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5828which seems to be undefined. Please make sure it is defined" >&5 5829$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5830which seems to be undefined. Please make sure it is defined" >&2;} 5831 5832 rm -f "$ac_tmp/stdin" 5833 case $ac_file in 5834 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5835 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5836 esac \ 5837 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5838 ;; 5839 5840 5841 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5842$as_echo "$as_me: executing $ac_file commands" >&6;} 5843 ;; 5844 esac 5845 5846 5847 case $ac_file$ac_mode in 5848 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5849 # Older Autoconf quotes --file arguments for eval, but not when files 5850 # are listed without --file. Let's play safe and only enable the eval 5851 # if we detect the quoting. 5852 case $CONFIG_FILES in 5853 *\'*) eval set x "$CONFIG_FILES" ;; 5854 *) set x $CONFIG_FILES ;; 5855 esac 5856 shift 5857 for mf 5858 do 5859 # Strip MF so we end up with the name of the file. 5860 mf=`echo "$mf" | sed -e 's/:.*$//'` 5861 # Check whether this is an Automake generated Makefile or not. 5862 # We used to match only the files named 'Makefile.in', but 5863 # some people rename them; so instead we look at the file content. 5864 # Grep'ing the first line is not enough: some people post-process 5865 # each Makefile.in and add a new line on top of each file to say so. 5866 # Grep'ing the whole file is not good either: AIX grep has a line 5867 # limit of 2048, but all sed's we know have understand at least 4000. 5868 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5869 dirpart=`$as_dirname -- "$mf" || 5870$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5871 X"$mf" : 'X\(//\)[^/]' \| \ 5872 X"$mf" : 'X\(//\)$' \| \ 5873 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5874$as_echo X"$mf" | 5875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5876 s//\1/ 5877 q 5878 } 5879 /^X\(\/\/\)[^/].*/{ 5880 s//\1/ 5881 q 5882 } 5883 /^X\(\/\/\)$/{ 5884 s//\1/ 5885 q 5886 } 5887 /^X\(\/\).*/{ 5888 s//\1/ 5889 q 5890 } 5891 s/.*/./; q'` 5892 else 5893 continue 5894 fi 5895 # Extract the definition of DEPDIR, am__include, and am__quote 5896 # from the Makefile without running 'make'. 5897 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5898 test -z "$DEPDIR" && continue 5899 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5900 test -z "$am__include" && continue 5901 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5902 # Find all dependency output files, they are included files with 5903 # $(DEPDIR) in their names. We invoke sed twice because it is the 5904 # simplest approach to changing $(DEPDIR) to its actual value in the 5905 # expansion. 5906 for file in `sed -n " 5907 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5908 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 5909 # Make sure the directory exists. 5910 test -f "$dirpart/$file" && continue 5911 fdir=`$as_dirname -- "$file" || 5912$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5913 X"$file" : 'X\(//\)[^/]' \| \ 5914 X"$file" : 'X\(//\)$' \| \ 5915 X"$file" : 'X\(/\)' \| . 2>/dev/null || 5916$as_echo X"$file" | 5917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5918 s//\1/ 5919 q 5920 } 5921 /^X\(\/\/\)[^/].*/{ 5922 s//\1/ 5923 q 5924 } 5925 /^X\(\/\/\)$/{ 5926 s//\1/ 5927 q 5928 } 5929 /^X\(\/\).*/{ 5930 s//\1/ 5931 q 5932 } 5933 s/.*/./; q'` 5934 as_dir=$dirpart/$fdir; as_fn_mkdir_p 5935 # echo "creating $dirpart/$file" 5936 echo '# dummy' > "$dirpart/$file" 5937 done 5938 done 5939} 5940 ;; 5941 5942 esac 5943done # for ac_tag 5944 5945 5946as_fn_exit 0 5947_ACEOF 5948ac_clean_files=$ac_clean_files_save 5949 5950test $ac_write_fail = 0 || 5951 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5952 5953 5954# configure is writing to config.log, and then calls config.status. 5955# config.status does its own redirection, appending to config.log. 5956# Unfortunately, on DOS this fails, as config.log is still kept open 5957# by configure, so config.status won't be able to write to it; its 5958# output is simply discarded. So we exec the FD to /dev/null, 5959# effectively closing config.log, so it can be properly (re)opened and 5960# appended to by config.status. When coming back to configure, we 5961# need to make the FD available again. 5962if test "$no_create" != yes; then 5963 ac_cs_success=: 5964 ac_config_status_args= 5965 test "$silent" = yes && 5966 ac_config_status_args="$ac_config_status_args --quiet" 5967 exec 5>/dev/null 5968 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5969 exec 5>>config.log 5970 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5971 # would make configure fail if this is the last instruction. 5972 $ac_cs_success || as_fn_exit 1 5973fi 5974if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5976$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5977fi 5978 5979 5980cat >confcache <<\_ACEOF 5981# This file is a shell script that caches the results of configure 5982# tests run on this system so they can be shared between configure 5983# scripts and configure runs, see configure's option --config-cache. 5984# It is not useful on other systems. If it contains results you don't 5985# want to keep, you may remove or edit it. 5986# 5987# config.status only pays attention to the cache file if you give it 5988# the --recheck option to rerun configure. 5989# 5990# `ac_cv_env_foo' variables (set or unset) will be overridden when 5991# loading this file, other *unset* `ac_cv_foo' will be assigned the 5992# following values. 5993 5994_ACEOF 5995 5996# The following way of writing the cache mishandles newlines in values, 5997# but we know of no workaround that is simple, portable, and efficient. 5998# So, we kill variables containing newlines. 5999# Ultrix sh set writes to stderr and can't be redirected directly, 6000# and sets the high bit in the cache file unless we assign to the vars. 6001( 6002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6003 eval ac_val=\$$ac_var 6004 case $ac_val in #( 6005 *${as_nl}*) 6006 case $ac_var in #( 6007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6008$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6009 esac 6010 case $ac_var in #( 6011 _ | IFS | as_nl) ;; #( 6012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6013 *) { eval $ac_var=; unset $ac_var;} ;; 6014 esac ;; 6015 esac 6016 done 6017 6018 (set) 2>&1 | 6019 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6020 *${as_nl}ac_space=\ *) 6021 # `set' does not quote correctly, so add quotes: double-quote 6022 # substitution turns \\\\ into \\, and sed turns \\ into \. 6023 sed -n \ 6024 "s/'/'\\\\''/g; 6025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6026 ;; #( 6027 *) 6028 # `set' quotes correctly as required by POSIX, so do not add quotes. 6029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6030 ;; 6031 esac | 6032 sort 6033) | 6034 sed ' 6035 /^ac_cv_env_/b end 6036 t clear 6037 :clear 6038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6039 t end 6040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6041 :end' >>confcache 6042if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6043 if test -w "$cache_file"; then 6044 if test "x$cache_file" != "x/dev/null"; then 6045 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6046$as_echo "$as_me: updating cache $cache_file" >&6;} 6047 if test ! -f "$cache_file" || test -h "$cache_file"; then 6048 cat confcache >"$cache_file" 6049 else 6050 case $cache_file in #( 6051 */* | ?:*) 6052 mv -f confcache "$cache_file"$$ && 6053 mv -f "$cache_file"$$ "$cache_file" ;; #( 6054 *) 6055 mv -f confcache "$cache_file" ;; 6056 esac 6057 fi 6058 fi 6059 else 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6061$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6062 fi 6063fi 6064rm -f confcache 6065 6066test "x$prefix" = xNONE && prefix=$ac_default_prefix 6067# Let make expand exec_prefix. 6068test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6069 6070# Transform confdefs.h into DEFS. 6071# Protect against shell expansion while executing Makefile rules. 6072# Protect against Makefile macro expansion. 6073# 6074# If the first sed substitution is executed (which looks for macros that 6075# take arguments), then branch to the quote section. Otherwise, 6076# look for a macro that doesn't take arguments. 6077ac_script=' 6078:mline 6079/\\$/{ 6080 N 6081 s,\\\n,, 6082 b mline 6083} 6084t clear 6085:clear 6086s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 6087t quote 6088s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 6089t quote 6090b any 6091:quote 6092s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 6093s/\[/\\&/g 6094s/\]/\\&/g 6095s/\$/$$/g 6096H 6097:any 6098${ 6099 g 6100 s/^\n// 6101 s/\n/ /g 6102 p 6103} 6104' 6105DEFS=`sed -n "$ac_script" confdefs.h` 6106 6107 6108ac_libobjs= 6109ac_ltlibobjs= 6110U= 6111for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6112 # 1. Remove the extension, and $U if already installed. 6113 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6114 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6115 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6116 # will be set to the directory where LIBOBJS objects are built. 6117 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6118 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6119done 6120LIBOBJS=$ac_libobjs 6121 6122LTLIBOBJS=$ac_ltlibobjs 6123 6124 6125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 6126$as_echo_n "checking that generated files are newer than configure... " >&6; } 6127 if test -n "$am_sleep_pid"; then 6128 # Hide warnings about reused PIDs. 6129 wait $am_sleep_pid 2>/dev/null 6130 fi 6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 6132$as_echo "done" >&6; } 6133 if test -n "$EXEEXT"; then 6134 am__EXEEXT_TRUE= 6135 am__EXEEXT_FALSE='#' 6136else 6137 am__EXEEXT_TRUE='#' 6138 am__EXEEXT_FALSE= 6139fi 6140 6141if test -z "${MAN_PAGE_ENCODING_IS_UTF_8_TRUE}" && test -z "${MAN_PAGE_ENCODING_IS_UTF_8_FALSE}"; then 6142 as_fn_error $? "conditional \"MAN_PAGE_ENCODING_IS_UTF_8\" was never defined. 6143Usually this means the macro was only invoked conditionally." "$LINENO" 5 6144fi 6145if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6146 as_fn_error $? "conditional \"AMDEP\" was never defined. 6147Usually this means the macro was only invoked conditionally." "$LINENO" 5 6148fi 6149if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6150 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6151Usually this means the macro was only invoked conditionally." "$LINENO" 5 6152fi 6153if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then 6154 as_fn_error $? "conditional \"am__EXEEXT\" was never defined. 6155Usually this means the macro was only invoked conditionally." "$LINENO" 5 6156fi 6157 6158: "${CONFIG_STATUS=./config.status}" 6159ac_write_fail=0 6160ac_clean_files_save=$ac_clean_files 6161ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6162{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6163$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6164as_write_fail=0 6165cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6166#! $SHELL 6167# Generated by $as_me. 6168# Run this file to recreate the current configuration. 6169# Compiler output produced by configure, useful for debugging 6170# configure, is in config.log if it exists. 6171 6172debug=false 6173ac_cs_recheck=false 6174ac_cs_silent=false 6175 6176SHELL=\${CONFIG_SHELL-$SHELL} 6177export SHELL 6178_ASEOF 6179cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6180## -------------------- ## 6181## M4sh Initialization. ## 6182## -------------------- ## 6183 6184# Be more Bourne compatible 6185DUALCASE=1; export DUALCASE # for MKS sh 6186if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6187 emulate sh 6188 NULLCMD=: 6189 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6190 # is contrary to our usage. Disable this feature. 6191 alias -g '${1+"$@"}'='"$@"' 6192 setopt NO_GLOB_SUBST 6193else 6194 case `(set -o) 2>/dev/null` in #( 6195 *posix*) : 6196 set -o posix ;; #( 6197 *) : 6198 ;; 6199esac 6200fi 6201 6202 6203as_nl=' 6204' 6205export as_nl 6206# Printing a long string crashes Solaris 7 /usr/bin/printf. 6207as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6208as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6209as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6210# Prefer a ksh shell builtin over an external printf program on Solaris, 6211# but without wasting forks for bash or zsh. 6212if test -z "$BASH_VERSION$ZSH_VERSION" \ 6213 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6214 as_echo='print -r --' 6215 as_echo_n='print -rn --' 6216elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6217 as_echo='printf %s\n' 6218 as_echo_n='printf %s' 6219else 6220 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6221 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6222 as_echo_n='/usr/ucb/echo -n' 6223 else 6224 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6225 as_echo_n_body='eval 6226 arg=$1; 6227 case $arg in #( 6228 *"$as_nl"*) 6229 expr "X$arg" : "X\\(.*\\)$as_nl"; 6230 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6231 esac; 6232 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6233 ' 6234 export as_echo_n_body 6235 as_echo_n='sh -c $as_echo_n_body as_echo' 6236 fi 6237 export as_echo_body 6238 as_echo='sh -c $as_echo_body as_echo' 6239fi 6240 6241# The user is always right. 6242if test "${PATH_SEPARATOR+set}" != set; then 6243 PATH_SEPARATOR=: 6244 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6245 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6246 PATH_SEPARATOR=';' 6247 } 6248fi 6249 6250 6251# IFS 6252# We need space, tab and new line, in precisely that order. Quoting is 6253# there to prevent editors from complaining about space-tab. 6254# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6255# splitting by setting IFS to empty value.) 6256IFS=" "" $as_nl" 6257 6258# Find who we are. Look in the path if we contain no directory separator. 6259as_myself= 6260case $0 in #(( 6261 *[\\/]* ) as_myself=$0 ;; 6262 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6263for as_dir in $PATH 6264do 6265 IFS=$as_save_IFS 6266 test -z "$as_dir" && as_dir=. 6267 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6268 done 6269IFS=$as_save_IFS 6270 6271 ;; 6272esac 6273# We did not find ourselves, most probably we were run as `sh COMMAND' 6274# in which case we are not to be found in the path. 6275if test "x$as_myself" = x; then 6276 as_myself=$0 6277fi 6278if test ! -f "$as_myself"; then 6279 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6280 exit 1 6281fi 6282 6283# Unset variables that we do not need and which cause bugs (e.g. in 6284# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6285# suppresses any "Segmentation fault" message there. '((' could 6286# trigger a bug in pdksh 5.2.14. 6287for as_var in BASH_ENV ENV MAIL MAILPATH 6288do eval test x\${$as_var+set} = xset \ 6289 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6290done 6291PS1='$ ' 6292PS2='> ' 6293PS4='+ ' 6294 6295# NLS nuisances. 6296LC_ALL=C 6297export LC_ALL 6298LANGUAGE=C 6299export LANGUAGE 6300 6301# CDPATH. 6302(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6303 6304 6305# as_fn_error STATUS ERROR [LINENO LOG_FD] 6306# ---------------------------------------- 6307# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6308# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6309# script with STATUS, using 1 if that was 0. 6310as_fn_error () 6311{ 6312 as_status=$1; test $as_status -eq 0 && as_status=1 6313 if test "$4"; then 6314 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6315 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6316 fi 6317 $as_echo "$as_me: error: $2" >&2 6318 as_fn_exit $as_status 6319} # as_fn_error 6320 6321 6322# as_fn_set_status STATUS 6323# ----------------------- 6324# Set $? to STATUS, without forking. 6325as_fn_set_status () 6326{ 6327 return $1 6328} # as_fn_set_status 6329 6330# as_fn_exit STATUS 6331# ----------------- 6332# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6333as_fn_exit () 6334{ 6335 set +e 6336 as_fn_set_status $1 6337 exit $1 6338} # as_fn_exit 6339 6340# as_fn_unset VAR 6341# --------------- 6342# Portably unset VAR. 6343as_fn_unset () 6344{ 6345 { eval $1=; unset $1;} 6346} 6347as_unset=as_fn_unset 6348# as_fn_append VAR VALUE 6349# ---------------------- 6350# Append the text in VALUE to the end of the definition contained in VAR. Take 6351# advantage of any shell optimizations that allow amortized linear growth over 6352# repeated appends, instead of the typical quadratic growth present in naive 6353# implementations. 6354if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6355 eval 'as_fn_append () 6356 { 6357 eval $1+=\$2 6358 }' 6359else 6360 as_fn_append () 6361 { 6362 eval $1=\$$1\$2 6363 } 6364fi # as_fn_append 6365 6366# as_fn_arith ARG... 6367# ------------------ 6368# Perform arithmetic evaluation on the ARGs, and store the result in the 6369# global $as_val. Take advantage of shells that can avoid forks. The arguments 6370# must be portable across $(()) and expr. 6371if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6372 eval 'as_fn_arith () 6373 { 6374 as_val=$(( $* )) 6375 }' 6376else 6377 as_fn_arith () 6378 { 6379 as_val=`expr "$@" || test $? -eq 1` 6380 } 6381fi # as_fn_arith 6382 6383 6384if expr a : '\(a\)' >/dev/null 2>&1 && 6385 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6386 as_expr=expr 6387else 6388 as_expr=false 6389fi 6390 6391if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6392 as_basename=basename 6393else 6394 as_basename=false 6395fi 6396 6397if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6398 as_dirname=dirname 6399else 6400 as_dirname=false 6401fi 6402 6403as_me=`$as_basename -- "$0" || 6404$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6405 X"$0" : 'X\(//\)$' \| \ 6406 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6407$as_echo X/"$0" | 6408 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6409 s//\1/ 6410 q 6411 } 6412 /^X\/\(\/\/\)$/{ 6413 s//\1/ 6414 q 6415 } 6416 /^X\/\(\/\).*/{ 6417 s//\1/ 6418 q 6419 } 6420 s/.*/./; q'` 6421 6422# Avoid depending upon Character Ranges. 6423as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6424as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6425as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6426as_cr_digits='0123456789' 6427as_cr_alnum=$as_cr_Letters$as_cr_digits 6428 6429ECHO_C= ECHO_N= ECHO_T= 6430case `echo -n x` in #((((( 6431-n*) 6432 case `echo 'xy\c'` in 6433 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6434 xy) ECHO_C='\c';; 6435 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6436 ECHO_T=' ';; 6437 esac;; 6438*) 6439 ECHO_N='-n';; 6440esac 6441 6442rm -f conf$$ conf$$.exe conf$$.file 6443if test -d conf$$.dir; then 6444 rm -f conf$$.dir/conf$$.file 6445else 6446 rm -f conf$$.dir 6447 mkdir conf$$.dir 2>/dev/null 6448fi 6449if (echo >conf$$.file) 2>/dev/null; then 6450 if ln -s conf$$.file conf$$ 2>/dev/null; then 6451 as_ln_s='ln -s' 6452 # ... but there are two gotchas: 6453 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6454 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6455 # In both cases, we have to default to `cp -pR'. 6456 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6457 as_ln_s='cp -pR' 6458 elif ln conf$$.file conf$$ 2>/dev/null; then 6459 as_ln_s=ln 6460 else 6461 as_ln_s='cp -pR' 6462 fi 6463else 6464 as_ln_s='cp -pR' 6465fi 6466rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6467rmdir conf$$.dir 2>/dev/null 6468 6469 6470# as_fn_mkdir_p 6471# ------------- 6472# Create "$as_dir" as a directory, including parents if necessary. 6473as_fn_mkdir_p () 6474{ 6475 6476 case $as_dir in #( 6477 -*) as_dir=./$as_dir;; 6478 esac 6479 test -d "$as_dir" || eval $as_mkdir_p || { 6480 as_dirs= 6481 while :; do 6482 case $as_dir in #( 6483 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6484 *) as_qdir=$as_dir;; 6485 esac 6486 as_dirs="'$as_qdir' $as_dirs" 6487 as_dir=`$as_dirname -- "$as_dir" || 6488$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6489 X"$as_dir" : 'X\(//\)[^/]' \| \ 6490 X"$as_dir" : 'X\(//\)$' \| \ 6491 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6492$as_echo X"$as_dir" | 6493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6494 s//\1/ 6495 q 6496 } 6497 /^X\(\/\/\)[^/].*/{ 6498 s//\1/ 6499 q 6500 } 6501 /^X\(\/\/\)$/{ 6502 s//\1/ 6503 q 6504 } 6505 /^X\(\/\).*/{ 6506 s//\1/ 6507 q 6508 } 6509 s/.*/./; q'` 6510 test -d "$as_dir" && break 6511 done 6512 test -z "$as_dirs" || eval "mkdir $as_dirs" 6513 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6514 6515 6516} # as_fn_mkdir_p 6517if mkdir -p . 2>/dev/null; then 6518 as_mkdir_p='mkdir -p "$as_dir"' 6519else 6520 test -d ./-p && rmdir ./-p 6521 as_mkdir_p=false 6522fi 6523 6524 6525# as_fn_executable_p FILE 6526# ----------------------- 6527# Test if FILE is an executable regular file. 6528as_fn_executable_p () 6529{ 6530 test -f "$1" && test -x "$1" 6531} # as_fn_executable_p 6532as_test_x='test -x' 6533as_executable_p=as_fn_executable_p 6534 6535# Sed expression to map a string onto a valid CPP name. 6536as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6537 6538# Sed expression to map a string onto a valid variable name. 6539as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6540 6541 6542exec 6>&1 6543## ----------------------------------- ## 6544## Main body of $CONFIG_STATUS script. ## 6545## ----------------------------------- ## 6546_ASEOF 6547test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6548 6549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6550# Save the log message, to keep $0 and so on meaningful, and to 6551# report actual input values of CONFIG_FILES etc. instead of their 6552# values after options handling. 6553ac_log=" 6554This file was extended by $as_me, which was 6555generated by GNU Autoconf 2.69. Invocation command line was 6556 6557 CONFIG_FILES = $CONFIG_FILES 6558 CONFIG_HEADERS = $CONFIG_HEADERS 6559 CONFIG_LINKS = $CONFIG_LINKS 6560 CONFIG_COMMANDS = $CONFIG_COMMANDS 6561 $ $0 $@ 6562 6563on `(hostname || uname -n) 2>/dev/null | sed 1q` 6564" 6565 6566_ACEOF 6567 6568case $ac_config_files in *" 6569"*) set x $ac_config_files; shift; ac_config_files=$*;; 6570esac 6571 6572 6573 6574cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6575# Files that config.status was made for. 6576config_files="$ac_config_files" 6577config_commands="$ac_config_commands" 6578 6579_ACEOF 6580 6581cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6582ac_cs_usage="\ 6583\`$as_me' instantiates files and other configuration actions 6584from templates according to the current configuration. Unless the files 6585and actions are specified as TAGs, all are instantiated by default. 6586 6587Usage: $0 [OPTION]... [TAG]... 6588 6589 -h, --help print this help, then exit 6590 -V, --version print version number and configuration settings, then exit 6591 --config print configuration, then exit 6592 -q, --quiet, --silent 6593 do not print progress messages 6594 -d, --debug don't remove temporary files 6595 --recheck update $as_me by reconfiguring in the same conditions 6596 --file=FILE[:TEMPLATE] 6597 instantiate the configuration file FILE 6598 6599Configuration files: 6600$config_files 6601 6602Configuration commands: 6603$config_commands 6604 6605Report bugs to the package provider." 6606 6607_ACEOF 6608cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6609ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6610ac_cs_version="\\ 6611config.status 6612configured by $0, generated by GNU Autoconf 2.69, 6613 with options \\"\$ac_cs_config\\" 6614 6615Copyright (C) 2012 Free Software Foundation, Inc. 6616This config.status script is free software; the Free Software Foundation 6617gives unlimited permission to copy, distribute and modify it." 6618 6619ac_pwd='$ac_pwd' 6620srcdir='$srcdir' 6621INSTALL='$INSTALL' 6622MKDIR_P='$MKDIR_P' 6623AWK='$AWK' 6624test -n "\$AWK" || AWK=awk 6625_ACEOF 6626 6627cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6628# The default lists apply if the user does not specify any file. 6629ac_need_defaults=: 6630while test $# != 0 6631do 6632 case $1 in 6633 --*=?*) 6634 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6635 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6636 ac_shift=: 6637 ;; 6638 --*=) 6639 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6640 ac_optarg= 6641 ac_shift=: 6642 ;; 6643 *) 6644 ac_option=$1 6645 ac_optarg=$2 6646 ac_shift=shift 6647 ;; 6648 esac 6649 6650 case $ac_option in 6651 # Handling of the options. 6652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6653 ac_cs_recheck=: ;; 6654 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6655 $as_echo "$ac_cs_version"; exit ;; 6656 --config | --confi | --conf | --con | --co | --c ) 6657 $as_echo "$ac_cs_config"; exit ;; 6658 --debug | --debu | --deb | --de | --d | -d ) 6659 debug=: ;; 6660 --file | --fil | --fi | --f ) 6661 $ac_shift 6662 case $ac_optarg in 6663 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6664 '') as_fn_error $? "missing file argument" ;; 6665 esac 6666 as_fn_append CONFIG_FILES " '$ac_optarg'" 6667 ac_need_defaults=false;; 6668 --he | --h | --help | --hel | -h ) 6669 $as_echo "$ac_cs_usage"; exit ;; 6670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6671 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6672 ac_cs_silent=: ;; 6673 6674 # This is an error. 6675 -*) as_fn_error $? "unrecognized option: \`$1' 6676Try \`$0 --help' for more information." ;; 6677 6678 *) as_fn_append ac_config_targets " $1" 6679 ac_need_defaults=false ;; 6680 6681 esac 6682 shift 6683done 6684 6685ac_configure_extra_args= 6686 6687if $ac_cs_silent; then 6688 exec 6>/dev/null 6689 ac_configure_extra_args="$ac_configure_extra_args --silent" 6690fi 6691 6692_ACEOF 6693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6694if \$ac_cs_recheck; then 6695 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6696 shift 6697 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6698 CONFIG_SHELL='$SHELL' 6699 export CONFIG_SHELL 6700 exec "\$@" 6701fi 6702 6703_ACEOF 6704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6705exec 5>>config.log 6706{ 6707 echo 6708 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6709## Running $as_me. ## 6710_ASBOX 6711 $as_echo "$ac_log" 6712} >&5 6713 6714_ACEOF 6715cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6716# 6717# INIT-COMMANDS 6718# 6719AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6720 6721_ACEOF 6722 6723cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6724 6725# Handling of arguments. 6726for ac_config_target in $ac_config_targets 6727do 6728 case $ac_config_target in 6729 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6731 6732 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 6733 esac 6734done 6735 6736 6737# If the user did not use the arguments to specify the items to instantiate, 6738# then the envvar interface is used. Set only those that are not. 6739# We use the long form for the default assignment because of an extremely 6740# bizarre bug on SunOS 4.1.3. 6741if $ac_need_defaults; then 6742 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6744fi 6745 6746# Have a temporary directory for convenience. Make it in the build tree 6747# simply because there is no reason against having it here, and in addition, 6748# creating and moving files from /tmp can sometimes cause problems. 6749# Hook for its removal unless debugging. 6750# Note that there is a small window in which the directory will not be cleaned: 6751# after its creation but before its name has been assigned to `$tmp'. 6752$debug || 6753{ 6754 tmp= ac_tmp= 6755 trap 'exit_status=$? 6756 : "${ac_tmp:=$tmp}" 6757 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 6758' 0 6759 trap 'as_fn_exit 1' 1 2 13 15 6760} 6761# Create a (secure) tmp directory for tmp files. 6762 6763{ 6764 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6765 test -d "$tmp" 6766} || 6767{ 6768 tmp=./conf$$-$RANDOM 6769 (umask 077 && mkdir "$tmp") 6770} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 6771ac_tmp=$tmp 6772 6773# Set up the scripts for CONFIG_FILES section. 6774# No need to generate them if there are no CONFIG_FILES. 6775# This happens for instance with `./config.status config.h'. 6776if test -n "$CONFIG_FILES"; then 6777 6778 6779ac_cr=`echo X | tr X '\015'` 6780# On cygwin, bash can eat \r inside `` if the user requested igncr. 6781# But we know of no other shell where ac_cr would be empty at this 6782# point, so we can use a bashism as a fallback. 6783if test "x$ac_cr" = x; then 6784 eval ac_cr=\$\'\\r\' 6785fi 6786ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6787if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6788 ac_cs_awk_cr='\\r' 6789else 6790 ac_cs_awk_cr=$ac_cr 6791fi 6792 6793echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 6794_ACEOF 6795 6796 6797{ 6798 echo "cat >conf$$subs.awk <<_ACEOF" && 6799 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6800 echo "_ACEOF" 6801} >conf$$subs.sh || 6802 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6803ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 6804ac_delim='%!_!# ' 6805for ac_last_try in false false false false false :; do 6806 . ./conf$$subs.sh || 6807 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6808 6809 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6810 if test $ac_delim_n = $ac_delim_num; then 6811 break 6812 elif $ac_last_try; then 6813 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6814 else 6815 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6816 fi 6817done 6818rm -f conf$$subs.sh 6819 6820cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6821cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 6822_ACEOF 6823sed -n ' 6824h 6825s/^/S["/; s/!.*/"]=/ 6826p 6827g 6828s/^[^!]*!// 6829:repl 6830t repl 6831s/'"$ac_delim"'$// 6832t delim 6833:nl 6834h 6835s/\(.\{148\}\)..*/\1/ 6836t more1 6837s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6838p 6839n 6840b repl 6841:more1 6842s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6843p 6844g 6845s/.\{148\}// 6846t nl 6847:delim 6848h 6849s/\(.\{148\}\)..*/\1/ 6850t more2 6851s/["\\]/\\&/g; s/^/"/; s/$/"/ 6852p 6853b 6854:more2 6855s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6856p 6857g 6858s/.\{148\}// 6859t delim 6860' <conf$$subs.awk | sed ' 6861/^[^""]/{ 6862 N 6863 s/\n// 6864} 6865' >>$CONFIG_STATUS || ac_write_fail=1 6866rm -f conf$$subs.awk 6867cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6868_ACAWK 6869cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6870 for (key in S) S_is_set[key] = 1 6871 FS = "" 6872 6873} 6874{ 6875 line = $ 0 6876 nfields = split(line, field, "@") 6877 substed = 0 6878 len = length(field[1]) 6879 for (i = 2; i < nfields; i++) { 6880 key = field[i] 6881 keylen = length(key) 6882 if (S_is_set[key]) { 6883 value = S[key] 6884 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6885 len += length(value) + length(field[++i]) 6886 substed = 1 6887 } else 6888 len += 1 + keylen 6889 } 6890 6891 print line 6892} 6893 6894_ACAWK 6895_ACEOF 6896cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6897if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6898 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6899else 6900 cat 6901fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6902 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6903_ACEOF 6904 6905# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6906# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6907# trailing colons and then remove the whole line if VPATH becomes empty 6908# (actually we leave an empty line to preserve line numbers). 6909if test "x$srcdir" = x.; then 6910 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6911h 6912s/// 6913s/^/:/ 6914s/[ ]*$/:/ 6915s/:\$(srcdir):/:/g 6916s/:\${srcdir}:/:/g 6917s/:@srcdir@:/:/g 6918s/^:*// 6919s/:*$// 6920x 6921s/\(=[ ]*\).*/\1/ 6922G 6923s/\n// 6924s/^[^=]*=[ ]*$// 6925}' 6926fi 6927 6928cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6929fi # test -n "$CONFIG_FILES" 6930 6931 6932eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6933shift 6934for ac_tag 6935do 6936 case $ac_tag in 6937 :[FHLC]) ac_mode=$ac_tag; continue;; 6938 esac 6939 case $ac_mode$ac_tag in 6940 :[FHL]*:*);; 6941 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6942 :[FH]-) ac_tag=-:-;; 6943 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6944 esac 6945 ac_save_IFS=$IFS 6946 IFS=: 6947 set x $ac_tag 6948 IFS=$ac_save_IFS 6949 shift 6950 ac_file=$1 6951 shift 6952 6953 case $ac_mode in 6954 :L) ac_source=$1;; 6955 :[FH]) 6956 ac_file_inputs= 6957 for ac_f 6958 do 6959 case $ac_f in 6960 -) ac_f="$ac_tmp/stdin";; 6961 *) # Look for the file first in the build tree, then in the source tree 6962 # (if the path is not absolute). The absolute path cannot be DOS-style, 6963 # because $ac_f cannot contain `:'. 6964 test -f "$ac_f" || 6965 case $ac_f in 6966 [\\/$]*) false;; 6967 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6968 esac || 6969 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6970 esac 6971 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6972 as_fn_append ac_file_inputs " '$ac_f'" 6973 done 6974 6975 # Let's still pretend it is `configure' which instantiates (i.e., don't 6976 # use $as_me), people would be surprised to read: 6977 # /* config.h. Generated by config.status. */ 6978 configure_input='Generated from '` 6979 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6980 `' by configure.' 6981 if test x"$ac_file" != x-; then 6982 configure_input="$ac_file. $configure_input" 6983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6984$as_echo "$as_me: creating $ac_file" >&6;} 6985 fi 6986 # Neutralize special characters interpreted by sed in replacement strings. 6987 case $configure_input in #( 6988 *\&* | *\|* | *\\* ) 6989 ac_sed_conf_input=`$as_echo "$configure_input" | 6990 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6991 *) ac_sed_conf_input=$configure_input;; 6992 esac 6993 6994 case $ac_tag in 6995 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6997 esac 6998 ;; 6999 esac 7000 7001 ac_dir=`$as_dirname -- "$ac_file" || 7002$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7003 X"$ac_file" : 'X\(//\)[^/]' \| \ 7004 X"$ac_file" : 'X\(//\)$' \| \ 7005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7006$as_echo X"$ac_file" | 7007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7008 s//\1/ 7009 q 7010 } 7011 /^X\(\/\/\)[^/].*/{ 7012 s//\1/ 7013 q 7014 } 7015 /^X\(\/\/\)$/{ 7016 s//\1/ 7017 q 7018 } 7019 /^X\(\/\).*/{ 7020 s//\1/ 7021 q 7022 } 7023 s/.*/./; q'` 7024 as_dir="$ac_dir"; as_fn_mkdir_p 7025 ac_builddir=. 7026 7027case "$ac_dir" in 7028.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7029*) 7030 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7031 # A ".." for each directory in $ac_dir_suffix. 7032 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7033 case $ac_top_builddir_sub in 7034 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7035 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7036 esac ;; 7037esac 7038ac_abs_top_builddir=$ac_pwd 7039ac_abs_builddir=$ac_pwd$ac_dir_suffix 7040# for backward compatibility: 7041ac_top_builddir=$ac_top_build_prefix 7042 7043case $srcdir in 7044 .) # We are building in place. 7045 ac_srcdir=. 7046 ac_top_srcdir=$ac_top_builddir_sub 7047 ac_abs_top_srcdir=$ac_pwd ;; 7048 [\\/]* | ?:[\\/]* ) # Absolute name. 7049 ac_srcdir=$srcdir$ac_dir_suffix; 7050 ac_top_srcdir=$srcdir 7051 ac_abs_top_srcdir=$srcdir ;; 7052 *) # Relative name. 7053 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7054 ac_top_srcdir=$ac_top_build_prefix$srcdir 7055 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7056esac 7057ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7058 7059 7060 case $ac_mode in 7061 :F) 7062 # 7063 # CONFIG_FILE 7064 # 7065 7066 case $INSTALL in 7067 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7068 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7069 esac 7070 ac_MKDIR_P=$MKDIR_P 7071 case $MKDIR_P in 7072 [\\/$]* | ?:[\\/]* ) ;; 7073 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7074 esac 7075_ACEOF 7076 7077cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7078# If the template does not know about datarootdir, expand it. 7079# FIXME: This hack should be removed a few years after 2.60. 7080ac_datarootdir_hack=; ac_datarootdir_seen= 7081ac_sed_dataroot=' 7082/datarootdir/ { 7083 p 7084 q 7085} 7086/@datadir@/p 7087/@docdir@/p 7088/@infodir@/p 7089/@localedir@/p 7090/@mandir@/p' 7091case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7092*datarootdir*) ac_datarootdir_seen=yes;; 7093*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7095$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7096_ACEOF 7097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7098 ac_datarootdir_hack=' 7099 s&@datadir@&$datadir&g 7100 s&@docdir@&$docdir&g 7101 s&@infodir@&$infodir&g 7102 s&@localedir@&$localedir&g 7103 s&@mandir@&$mandir&g 7104 s&\\\${datarootdir}&$datarootdir&g' ;; 7105esac 7106_ACEOF 7107 7108# Neutralize VPATH when `$srcdir' = `.'. 7109# Shell code in configure.ac might set extrasub. 7110# FIXME: do we really want to maintain this feature? 7111cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7112ac_sed_extra="$ac_vpsub 7113$extrasub 7114_ACEOF 7115cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7116:t 7117/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7118s|@configure_input@|$ac_sed_conf_input|;t t 7119s&@top_builddir@&$ac_top_builddir_sub&;t t 7120s&@top_build_prefix@&$ac_top_build_prefix&;t t 7121s&@srcdir@&$ac_srcdir&;t t 7122s&@abs_srcdir@&$ac_abs_srcdir&;t t 7123s&@top_srcdir@&$ac_top_srcdir&;t t 7124s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7125s&@builddir@&$ac_builddir&;t t 7126s&@abs_builddir@&$ac_abs_builddir&;t t 7127s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7128s&@INSTALL@&$ac_INSTALL&;t t 7129s&@MKDIR_P@&$ac_MKDIR_P&;t t 7130$ac_datarootdir_hack 7131" 7132eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7133 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7134 7135test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7136 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7137 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7138 "$ac_tmp/out"`; test -z "$ac_out"; } && 7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7140which seems to be undefined. Please make sure it is defined" >&5 7141$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7142which seems to be undefined. Please make sure it is defined" >&2;} 7143 7144 rm -f "$ac_tmp/stdin" 7145 case $ac_file in 7146 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7147 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7148 esac \ 7149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7150 ;; 7151 7152 7153 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7154$as_echo "$as_me: executing $ac_file commands" >&6;} 7155 ;; 7156 esac 7157 7158 7159 case $ac_file$ac_mode in 7160 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7161 # Older Autoconf quotes --file arguments for eval, but not when files 7162 # are listed without --file. Let's play safe and only enable the eval 7163 # if we detect the quoting. 7164 case $CONFIG_FILES in 7165 *\'*) eval set x "$CONFIG_FILES" ;; 7166 *) set x $CONFIG_FILES ;; 7167 esac 7168 shift 7169 for mf 7170 do 7171 # Strip MF so we end up with the name of the file. 7172 mf=`echo "$mf" | sed -e 's/:.*$//'` 7173 # Check whether this is an Automake generated Makefile or not. 7174 # We used to match only the files named 'Makefile.in', but 7175 # some people rename them; so instead we look at the file content. 7176 # Grep'ing the first line is not enough: some people post-process 7177 # each Makefile.in and add a new line on top of each file to say so. 7178 # Grep'ing the whole file is not good either: AIX grep has a line 7179 # limit of 2048, but all sed's we know have understand at least 4000. 7180 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7181 dirpart=`$as_dirname -- "$mf" || 7182$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7183 X"$mf" : 'X\(//\)[^/]' \| \ 7184 X"$mf" : 'X\(//\)$' \| \ 7185 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7186$as_echo X"$mf" | 7187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7188 s//\1/ 7189 q 7190 } 7191 /^X\(\/\/\)[^/].*/{ 7192 s//\1/ 7193 q 7194 } 7195 /^X\(\/\/\)$/{ 7196 s//\1/ 7197 q 7198 } 7199 /^X\(\/\).*/{ 7200 s//\1/ 7201 q 7202 } 7203 s/.*/./; q'` 7204 else 7205 continue 7206 fi 7207 # Extract the definition of DEPDIR, am__include, and am__quote 7208 # from the Makefile without running 'make'. 7209 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7210 test -z "$DEPDIR" && continue 7211 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7212 test -z "$am__include" && continue 7213 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7214 # Find all dependency output files, they are included files with 7215 # $(DEPDIR) in their names. We invoke sed twice because it is the 7216 # simplest approach to changing $(DEPDIR) to its actual value in the 7217 # expansion. 7218 for file in `sed -n " 7219 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7220 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 7221 # Make sure the directory exists. 7222 test -f "$dirpart/$file" && continue 7223 fdir=`$as_dirname -- "$file" || 7224$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7225 X"$file" : 'X\(//\)[^/]' \| \ 7226 X"$file" : 'X\(//\)$' \| \ 7227 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7228$as_echo X"$file" | 7229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7230 s//\1/ 7231 q 7232 } 7233 /^X\(\/\/\)[^/].*/{ 7234 s//\1/ 7235 q 7236 } 7237 /^X\(\/\/\)$/{ 7238 s//\1/ 7239 q 7240 } 7241 /^X\(\/\).*/{ 7242 s//\1/ 7243 q 7244 } 7245 s/.*/./; q'` 7246 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7247 # echo "creating $dirpart/$file" 7248 echo '# dummy' > "$dirpart/$file" 7249 done 7250 done 7251} 7252 ;; 7253 7254 esac 7255done # for ac_tag 7256 7257 7258as_fn_exit 0 7259_ACEOF 7260ac_clean_files=$ac_clean_files_save 7261 7262test $ac_write_fail = 0 || 7263 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7264 7265 7266# configure is writing to config.log, and then calls config.status. 7267# config.status does its own redirection, appending to config.log. 7268# Unfortunately, on DOS this fails, as config.log is still kept open 7269# by configure, so config.status won't be able to write to it; its 7270# output is simply discarded. So we exec the FD to /dev/null, 7271# effectively closing config.log, so it can be properly (re)opened and 7272# appended to by config.status. When coming back to configure, we 7273# need to make the FD available again. 7274if test "$no_create" != yes; then 7275 ac_cs_success=: 7276 ac_config_status_args= 7277 test "$silent" = yes && 7278 ac_config_status_args="$ac_config_status_args --quiet" 7279 exec 5>/dev/null 7280 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7281 exec 5>>config.log 7282 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7283 # would make configure fail if this is the last instruction. 7284 $ac_cs_success || as_fn_exit 1 7285fi 7286if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7288$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7289fi 7290 7291 7292cat <<EOF 7293 7294 7295Powwow has been configured with the following options: 7296 7297Version: ${VERSION} 7298User binaries: $(eval eval eval echo "${bindir}") 7299Data directory: $(eval eval eval echo "${datadir}/${PACKAGE}") 7300Plugin directory: $(eval eval eval echo "${plugindir}") 7301 7302enable-vt100: ${enable_vt100} 7303enable-sort: ${enable_sort} 7304enable-noshell: ${enable_noshell} 7305enable-ansibug: ${enable_ansibug} 7306enable-bsd: ${enable_bsd} 7307 7308Man page encoding: ${MAN_PAGE_ENCODING} 7309 7310Host: ${host} 7311Compiler: ${CC} 7312Preprocessor flags: ${CPPFLAGS} 7313Compiler flags: ${CFLAGS} 7314Linker flags: ${LDFLAGS} 7315Libraries: ${LIBS} 7316 7317EOF 7318