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