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