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