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