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