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