1#! /bin/sh 2# From configure.in Id: configure.in 16529 2009-08-30 12:49:06Z moritz . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.61 for ezstream 0.5.6. 5# 6# Report bugs to <https://trac.xiph.org/newticket?component=ezstream>. 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be more Bourne compatible 17DUALCASE=1; export DUALCASE # for MKS sh 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 emulate sh 20 NULLCMD=: 21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 setopt NO_GLOB_SUBST 25else 26 case `(set -o) 2>/dev/null` in 27 *posix*) set -o posix ;; 28esac 29 30fi 31 32 33 34 35# PATH needs CR 36# Avoid depending upon Character Ranges. 37as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_cr_digits='0123456789' 41as_cr_alnum=$as_cr_Letters$as_cr_digits 42 43# The user is always right. 44if test "${PATH_SEPARATOR+set}" != set; then 45 echo "#! /bin/sh" >conf$$.sh 46 echo "exit 0" >>conf$$.sh 47 chmod +x conf$$.sh 48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 49 PATH_SEPARATOR=';' 50 else 51 PATH_SEPARATOR=: 52 fi 53 rm -f conf$$.sh 54fi 55 56# Support unset when possible. 57if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 58 as_unset=unset 59else 60 as_unset=false 61fi 62 63 64# IFS 65# We need space, tab and new line, in precisely that order. Quoting is 66# there to prevent editors from complaining about space-tab. 67# (If _AS_PATH_WALK were called with IFS unset, it would disable word 68# splitting by setting IFS to empty value.) 69as_nl=' 70' 71IFS=" "" $as_nl" 72 73# Find who we are. Look in the path if we contain no directory separator. 74case $0 in 75 *[\\/]* ) as_myself=$0 ;; 76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 77for as_dir in $PATH 78do 79 IFS=$as_save_IFS 80 test -z "$as_dir" && as_dir=. 81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 82done 83IFS=$as_save_IFS 84 85 ;; 86esac 87# We did not find ourselves, most probably we were run as `sh COMMAND' 88# in which case we are not to be found in the path. 89if test "x$as_myself" = x; then 90 as_myself=$0 91fi 92if test ! -f "$as_myself"; then 93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 94 { (exit 1); exit 1; } 95fi 96 97# Work around bugs in pre-3.0 UWIN ksh. 98for as_var in ENV MAIL MAILPATH 99do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 100done 101PS1='$ ' 102PS2='> ' 103PS4='+ ' 104 105# NLS nuisances. 106for as_var in \ 107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 109 LC_TELEPHONE LC_TIME 110do 111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 112 eval $as_var=C; export $as_var 113 else 114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 115 fi 116done 117 118# Required to use basename. 119if expr a : '\(a\)' >/dev/null 2>&1 && 120 test "X`expr 00001 : '.*\(...\)'`" = X001; then 121 as_expr=expr 122else 123 as_expr=false 124fi 125 126if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 127 as_basename=basename 128else 129 as_basename=false 130fi 131 132 133# Name of the executable. 134as_me=`$as_basename -- "$0" || 135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 136 X"$0" : 'X\(//\)$' \| \ 137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 138echo X/"$0" | 139 sed '/^.*\/\([^/][^/]*\)\/*$/{ 140 s//\1/ 141 q 142 } 143 /^X\/\(\/\/\)$/{ 144 s//\1/ 145 q 146 } 147 /^X\/\(\/\).*/{ 148 s//\1/ 149 q 150 } 151 s/.*/./; q'` 152 153# CDPATH. 154$as_unset CDPATH 155 156 157if test "x$CONFIG_SHELL" = x; then 158 if (eval ":") 2>/dev/null; then 159 as_have_required=yes 160else 161 as_have_required=no 162fi 163 164 if test $as_have_required = yes && (eval ": 165(as_func_return () { 166 (exit \$1) 167} 168as_func_success () { 169 as_func_return 0 170} 171as_func_failure () { 172 as_func_return 1 173} 174as_func_ret_success () { 175 return 0 176} 177as_func_ret_failure () { 178 return 1 179} 180 181exitcode=0 182if as_func_success; then 183 : 184else 185 exitcode=1 186 echo as_func_success failed. 187fi 188 189if as_func_failure; then 190 exitcode=1 191 echo as_func_failure succeeded. 192fi 193 194if as_func_ret_success; then 195 : 196else 197 exitcode=1 198 echo as_func_ret_success failed. 199fi 200 201if as_func_ret_failure; then 202 exitcode=1 203 echo as_func_ret_failure succeeded. 204fi 205 206if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 207 : 208else 209 exitcode=1 210 echo positional parameters were not saved. 211fi 212 213test \$exitcode = 0) || { (exit 1); exit 1; } 214 215( 216 as_lineno_1=\$LINENO 217 as_lineno_2=\$LINENO 218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 220") 2> /dev/null; then 221 : 222else 223 as_candidate_shells= 224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 225for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 226do 227 IFS=$as_save_IFS 228 test -z "$as_dir" && as_dir=. 229 case $as_dir in 230 /*) 231 for as_base in sh bash ksh sh5; do 232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 233 done;; 234 esac 235done 236IFS=$as_save_IFS 237 238 239 for as_shell in $as_candidate_shells $SHELL; do 240 # Try only shells that exist, to save several forks. 241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 242 { ("$as_shell") 2> /dev/null <<\_ASEOF 243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 244 emulate sh 245 NULLCMD=: 246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 247 # is contrary to our usage. Disable this feature. 248 alias -g '${1+"$@"}'='"$@"' 249 setopt NO_GLOB_SUBST 250else 251 case `(set -o) 2>/dev/null` in 252 *posix*) set -o posix ;; 253esac 254 255fi 256 257 258: 259_ASEOF 260}; then 261 CONFIG_SHELL=$as_shell 262 as_have_required=yes 263 if { "$as_shell" 2> /dev/null <<\_ASEOF 264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 265 emulate sh 266 NULLCMD=: 267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 268 # is contrary to our usage. Disable this feature. 269 alias -g '${1+"$@"}'='"$@"' 270 setopt NO_GLOB_SUBST 271else 272 case `(set -o) 2>/dev/null` in 273 *posix*) set -o posix ;; 274esac 275 276fi 277 278 279: 280(as_func_return () { 281 (exit $1) 282} 283as_func_success () { 284 as_func_return 0 285} 286as_func_failure () { 287 as_func_return 1 288} 289as_func_ret_success () { 290 return 0 291} 292as_func_ret_failure () { 293 return 1 294} 295 296exitcode=0 297if as_func_success; then 298 : 299else 300 exitcode=1 301 echo as_func_success failed. 302fi 303 304if as_func_failure; then 305 exitcode=1 306 echo as_func_failure succeeded. 307fi 308 309if as_func_ret_success; then 310 : 311else 312 exitcode=1 313 echo as_func_ret_success failed. 314fi 315 316if as_func_ret_failure; then 317 exitcode=1 318 echo as_func_ret_failure succeeded. 319fi 320 321if ( set x; as_func_ret_success y && test x = "$1" ); then 322 : 323else 324 exitcode=1 325 echo positional parameters were not saved. 326fi 327 328test $exitcode = 0) || { (exit 1); exit 1; } 329 330( 331 as_lineno_1=$LINENO 332 as_lineno_2=$LINENO 333 test "x$as_lineno_1" != "x$as_lineno_2" && 334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 335 336_ASEOF 337}; then 338 break 339fi 340 341fi 342 343 done 344 345 if test "x$CONFIG_SHELL" != x; then 346 for as_var in BASH_ENV ENV 347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 348 done 349 export CONFIG_SHELL 350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 351fi 352 353 354 if test $as_have_required = no; then 355 echo This script requires a shell more modern than all the 356 echo shells that I found on your system. Please install a 357 echo modern shell, or manually run the script under such a 358 echo shell if you do have one. 359 { (exit 1); exit 1; } 360fi 361 362 363fi 364 365fi 366 367 368 369(eval "as_func_return () { 370 (exit \$1) 371} 372as_func_success () { 373 as_func_return 0 374} 375as_func_failure () { 376 as_func_return 1 377} 378as_func_ret_success () { 379 return 0 380} 381as_func_ret_failure () { 382 return 1 383} 384 385exitcode=0 386if as_func_success; then 387 : 388else 389 exitcode=1 390 echo as_func_success failed. 391fi 392 393if as_func_failure; then 394 exitcode=1 395 echo as_func_failure succeeded. 396fi 397 398if as_func_ret_success; then 399 : 400else 401 exitcode=1 402 echo as_func_ret_success failed. 403fi 404 405if as_func_ret_failure; then 406 exitcode=1 407 echo as_func_ret_failure succeeded. 408fi 409 410if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 411 : 412else 413 exitcode=1 414 echo positional parameters were not saved. 415fi 416 417test \$exitcode = 0") || { 418 echo No shell found that supports shell functions. 419 echo Please tell autoconf@gnu.org about your system, 420 echo including any error possibly output before this 421 echo message 422} 423 424 425 426 as_lineno_1=$LINENO 427 as_lineno_2=$LINENO 428 test "x$as_lineno_1" != "x$as_lineno_2" && 429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 430 431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 432 # uniformly replaced by the line number. The first 'sed' inserts a 433 # line-number line after each line using $LINENO; the second 'sed' 434 # does the real work. The second script uses 'N' to pair each 435 # line-number line with the line containing $LINENO, and appends 436 # trailing '-' during substitution so that $LINENO is not a special 437 # case at line end. 438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 439 # scripts with optimization help from Paolo Bonzini. Blame Lee 440 # E. McMahon (1931-1989) for sed's syntax. :-) 441 sed -n ' 442 p 443 /[$]LINENO/= 444 ' <$as_myself | 445 sed ' 446 s/[$]LINENO.*/&-/ 447 t lineno 448 b 449 :lineno 450 N 451 :loop 452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 453 t loop 454 s/-\n.*// 455 ' >$as_me.lineno && 456 chmod +x "$as_me.lineno" || 457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 458 { (exit 1); exit 1; }; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466} 467 468 469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 470 as_dirname=dirname 471else 472 as_dirname=false 473fi 474 475ECHO_C= ECHO_N= ECHO_T= 476case `echo -n x` in 477-n*) 478 case `echo 'x\c'` in 479 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 480 *) ECHO_C='\c';; 481 esac;; 482*) 483 ECHO_N='-n';; 484esac 485 486if expr a : '\(a\)' >/dev/null 2>&1 && 487 test "X`expr 00001 : '.*\(...\)'`" = X001; then 488 as_expr=expr 489else 490 as_expr=false 491fi 492 493rm -f conf$$ conf$$.exe conf$$.file 494if test -d conf$$.dir; then 495 rm -f conf$$.dir/conf$$.file 496else 497 rm -f conf$$.dir 498 mkdir conf$$.dir 499fi 500echo >conf$$.file 501if ln -s conf$$.file conf$$ 2>/dev/null; then 502 as_ln_s='ln -s' 503 # ... but there are two gotchas: 504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 506 # In both cases, we have to default to `cp -p'. 507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 508 as_ln_s='cp -p' 509elif ln conf$$.file conf$$ 2>/dev/null; then 510 as_ln_s=ln 511else 512 as_ln_s='cp -p' 513fi 514rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 515rmdir conf$$.dir 2>/dev/null 516 517if mkdir -p . 2>/dev/null; then 518 as_mkdir_p=: 519else 520 test -d ./-p && rmdir ./-p 521 as_mkdir_p=false 522fi 523 524if test -x / >/dev/null 2>&1; then 525 as_test_x='test -x' 526else 527 if ls -dL / >/dev/null 2>&1; then 528 as_ls_L_option=L 529 else 530 as_ls_L_option= 531 fi 532 as_test_x=' 533 eval sh -c '\'' 534 if test -d "$1"; then 535 test -d "$1/."; 536 else 537 case $1 in 538 -*)set "./$1";; 539 esac; 540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 541 ???[sx]*):;;*)false;;esac;fi 542 '\'' sh 543 ' 544fi 545as_executable_p=$as_test_x 546 547# Sed expression to map a string onto a valid CPP name. 548as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 549 550# Sed expression to map a string onto a valid variable name. 551as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 552 553 554 555exec 7<&0 </dev/null 6>&1 556 557# Name of the host. 558# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 559# so uname gets run too. 560ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 561 562# 563# Initializations. 564# 565ac_default_prefix=/usr/local 566ac_clean_files= 567ac_config_libobj_dir=. 568LIBOBJS= 569cross_compiling=no 570subdirs= 571MFLAGS= 572MAKEFLAGS= 573SHELL=${CONFIG_SHELL-/bin/sh} 574 575# Identity of this package. 576PACKAGE_NAME='ezstream' 577PACKAGE_TARNAME='ezstream' 578PACKAGE_VERSION='0.5.6' 579PACKAGE_STRING='ezstream 0.5.6' 580PACKAGE_BUGREPORT='https://trac.xiph.org/newticket?component=ezstream' 581 582ac_unique_file="src/ezstream.c" 583ac_config_libobj_dir=src 584# Factoring default headers for most tests. 585ac_includes_default="\ 586#include <stdio.h> 587#ifdef HAVE_SYS_TYPES_H 588# include <sys/types.h> 589#endif 590#ifdef HAVE_SYS_STAT_H 591# include <sys/stat.h> 592#endif 593#ifdef STDC_HEADERS 594# include <stdlib.h> 595# include <stddef.h> 596#else 597# ifdef HAVE_STDLIB_H 598# include <stdlib.h> 599# endif 600#endif 601#ifdef HAVE_STRING_H 602# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 603# include <memory.h> 604# endif 605# include <string.h> 606#endif 607#ifdef HAVE_STRINGS_H 608# include <strings.h> 609#endif 610#ifdef HAVE_INTTYPES_H 611# include <inttypes.h> 612#endif 613#ifdef HAVE_STDINT_H 614# include <stdint.h> 615#endif 616#ifdef HAVE_UNISTD_H 617# include <unistd.h> 618#endif" 619 620ac_subst_vars='SHELL 621PATH_SEPARATOR 622PACKAGE_NAME 623PACKAGE_TARNAME 624PACKAGE_VERSION 625PACKAGE_STRING 626PACKAGE_BUGREPORT 627exec_prefix 628prefix 629program_transform_name 630bindir 631sbindir 632libexecdir 633datarootdir 634datadir 635sysconfdir 636sharedstatedir 637localstatedir 638includedir 639oldincludedir 640docdir 641infodir 642htmldir 643dvidir 644pdfdir 645psdir 646libdir 647localedir 648mandir 649DEFS 650ECHO_C 651ECHO_N 652ECHO_T 653LIBS 654build_alias 655host_alias 656target_alias 657INSTALL_PROGRAM 658INSTALL_SCRIPT 659INSTALL_DATA 660am__isrc 661CYGPATH_W 662PACKAGE 663VERSION 664ACLOCAL 665AUTOCONF 666AUTOMAKE 667AUTOHEADER 668MAKEINFO 669install_sh 670STRIP 671INSTALL_STRIP_PROGRAM 672mkdir_p 673AWK 674SET_MAKE 675am__leading_dot 676AMTAR 677am__tar 678am__untar 679MAINTAINER_MODE_TRUE 680MAINTAINER_MODE_FALSE 681MAINT 682CC 683CFLAGS 684LDFLAGS 685CPPFLAGS 686ac_ct_CC 687EXEEXT 688OBJEXT 689DEPDIR 690am__include 691am__quote 692AMDEP_TRUE 693AMDEP_FALSE 694AMDEPBACKSLASH 695CCDEPMODE 696am__fastdepCC_TRUE 697am__fastdepCC_FALSE 698CPP 699GREP 700EGREP 701FGREP 702build 703build_cpu 704build_vendor 705build_os 706host 707host_cpu 708host_vendor 709host_os 710BUILD_DATE 711EXAMPLES_DIR 712COMPAT_INCLUDES 713PKG_CONFIG 714LIBSHOUT_CFLAGS 715LIBSHOUT_CPPFLAGS 716LIBSHOUT_LDFLAGS 717LIBSHOUT_LIBS 718LIBXML2_CFLAGS 719LIBXML2_CPPFLAGS 720LIBXML2_LDFLAGS 721LIBXML2_LIBS 722TAGLIB_CFLAGS 723TAGLIB_CPPFLAGS 724TAGLIB_LDFLAGS 725TAGLIB_C_LIBS 726VORBIS_CFLAGS 727VORBIS_CPPFLAGS 728VORBIS_LDFLAGS 729LIBVORBISFILE_LIBS 730LIBICONV 731LTLIBICONV 732LIBOBJS 733EZ_CPPFLAGS 734EZ_CFLAGS 735EZ_LDFLAGS 736EZ_LIBS 737LTLIBOBJS' 738ac_subst_files='' 739 ac_precious_vars='build_alias 740host_alias 741target_alias 742CC 743CFLAGS 744LDFLAGS 745LIBS 746CPPFLAGS 747CPP 748PKG_CONFIG 749LIBSHOUT_CFLAGS 750LIBSHOUT_CPPFLAGS 751LIBSHOUT_LDFLAGS 752LIBSHOUT_LIBS 753LIBXML2_CFLAGS 754LIBXML2_CPPFLAGS 755LIBXML2_LDFLAGS 756LIBXML2_LIBS 757TAGLIB_CFLAGS 758TAGLIB_CPPFLAGS 759TAGLIB_LDFLAGS 760TAGLIB_C_LIBS 761VORBIS_CFLAGS 762VORBIS_CPPFLAGS 763VORBIS_LDFLAGS 764LIBVORBISFILE_LIBS' 765 766 767# Initialize some variables set by options. 768ac_init_help= 769ac_init_version=false 770# The variables have the same names as the options, with 771# dashes changed to underlines. 772cache_file=/dev/null 773exec_prefix=NONE 774no_create= 775no_recursion= 776prefix=NONE 777program_prefix=NONE 778program_suffix=NONE 779program_transform_name=s,x,x, 780silent= 781site= 782srcdir= 783verbose= 784x_includes=NONE 785x_libraries=NONE 786 787# Installation directory options. 788# These are left unexpanded so users can "make install exec_prefix=/foo" 789# and all the variables that are supposed to be based on exec_prefix 790# by default will actually change. 791# Use braces instead of parens because sh, perl, etc. also accept them. 792# (The list follows the same order as the GNU Coding Standards.) 793bindir='${exec_prefix}/bin' 794sbindir='${exec_prefix}/sbin' 795libexecdir='${exec_prefix}/libexec' 796datarootdir='${prefix}/share' 797datadir='${datarootdir}' 798sysconfdir='${prefix}/etc' 799sharedstatedir='${prefix}/com' 800localstatedir='${prefix}/var' 801includedir='${prefix}/include' 802oldincludedir='/usr/include' 803docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 804infodir='${datarootdir}/info' 805htmldir='${docdir}' 806dvidir='${docdir}' 807pdfdir='${docdir}' 808psdir='${docdir}' 809libdir='${exec_prefix}/lib' 810localedir='${datarootdir}/locale' 811mandir='${datarootdir}/man' 812 813ac_prev= 814ac_dashdash= 815for ac_option 816do 817 # If the previous option needs an argument, assign it. 818 if test -n "$ac_prev"; then 819 eval $ac_prev=\$ac_option 820 ac_prev= 821 continue 822 fi 823 824 case $ac_option in 825 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 826 *) ac_optarg=yes ;; 827 esac 828 829 # Accept the important Cygnus configure options, so we can diagnose typos. 830 831 case $ac_dashdash$ac_option in 832 --) 833 ac_dashdash=yes ;; 834 835 -bindir | --bindir | --bindi | --bind | --bin | --bi) 836 ac_prev=bindir ;; 837 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 838 bindir=$ac_optarg ;; 839 840 -build | --build | --buil | --bui | --bu) 841 ac_prev=build_alias ;; 842 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 843 build_alias=$ac_optarg ;; 844 845 -cache-file | --cache-file | --cache-fil | --cache-fi \ 846 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 847 ac_prev=cache_file ;; 848 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 849 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 850 cache_file=$ac_optarg ;; 851 852 --config-cache | -C) 853 cache_file=config.cache ;; 854 855 -datadir | --datadir | --datadi | --datad) 856 ac_prev=datadir ;; 857 -datadir=* | --datadir=* | --datadi=* | --datad=*) 858 datadir=$ac_optarg ;; 859 860 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 861 | --dataroo | --dataro | --datar) 862 ac_prev=datarootdir ;; 863 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 864 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 865 datarootdir=$ac_optarg ;; 866 867 -disable-* | --disable-*) 868 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 869 # Reject names that are not valid shell variable names. 870 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 871 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 872 { (exit 1); exit 1; }; } 873 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 874 eval enable_$ac_feature=no ;; 875 876 -docdir | --docdir | --docdi | --doc | --do) 877 ac_prev=docdir ;; 878 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 879 docdir=$ac_optarg ;; 880 881 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 882 ac_prev=dvidir ;; 883 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 884 dvidir=$ac_optarg ;; 885 886 -enable-* | --enable-*) 887 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 888 # Reject names that are not valid shell variable names. 889 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 890 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 891 { (exit 1); exit 1; }; } 892 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 893 eval enable_$ac_feature=\$ac_optarg ;; 894 895 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 896 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 897 | --exec | --exe | --ex) 898 ac_prev=exec_prefix ;; 899 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 900 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 901 | --exec=* | --exe=* | --ex=*) 902 exec_prefix=$ac_optarg ;; 903 904 -gas | --gas | --ga | --g) 905 # Obsolete; use --with-gas. 906 with_gas=yes ;; 907 908 -help | --help | --hel | --he | -h) 909 ac_init_help=long ;; 910 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 911 ac_init_help=recursive ;; 912 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 913 ac_init_help=short ;; 914 915 -host | --host | --hos | --ho) 916 ac_prev=host_alias ;; 917 -host=* | --host=* | --hos=* | --ho=*) 918 host_alias=$ac_optarg ;; 919 920 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 921 ac_prev=htmldir ;; 922 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 923 | --ht=*) 924 htmldir=$ac_optarg ;; 925 926 -includedir | --includedir | --includedi | --included | --include \ 927 | --includ | --inclu | --incl | --inc) 928 ac_prev=includedir ;; 929 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 930 | --includ=* | --inclu=* | --incl=* | --inc=*) 931 includedir=$ac_optarg ;; 932 933 -infodir | --infodir | --infodi | --infod | --info | --inf) 934 ac_prev=infodir ;; 935 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 936 infodir=$ac_optarg ;; 937 938 -libdir | --libdir | --libdi | --libd) 939 ac_prev=libdir ;; 940 -libdir=* | --libdir=* | --libdi=* | --libd=*) 941 libdir=$ac_optarg ;; 942 943 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 944 | --libexe | --libex | --libe) 945 ac_prev=libexecdir ;; 946 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 947 | --libexe=* | --libex=* | --libe=*) 948 libexecdir=$ac_optarg ;; 949 950 -localedir | --localedir | --localedi | --localed | --locale) 951 ac_prev=localedir ;; 952 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 953 localedir=$ac_optarg ;; 954 955 -localstatedir | --localstatedir | --localstatedi | --localstated \ 956 | --localstate | --localstat | --localsta | --localst | --locals) 957 ac_prev=localstatedir ;; 958 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 959 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 960 localstatedir=$ac_optarg ;; 961 962 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 963 ac_prev=mandir ;; 964 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 965 mandir=$ac_optarg ;; 966 967 -nfp | --nfp | --nf) 968 # Obsolete; use --without-fp. 969 with_fp=no ;; 970 971 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 972 | --no-cr | --no-c | -n) 973 no_create=yes ;; 974 975 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 976 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 977 no_recursion=yes ;; 978 979 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 980 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 981 | --oldin | --oldi | --old | --ol | --o) 982 ac_prev=oldincludedir ;; 983 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 984 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 985 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 986 oldincludedir=$ac_optarg ;; 987 988 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 989 ac_prev=prefix ;; 990 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 991 prefix=$ac_optarg ;; 992 993 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 994 | --program-pre | --program-pr | --program-p) 995 ac_prev=program_prefix ;; 996 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 997 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 998 program_prefix=$ac_optarg ;; 999 1000 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1001 | --program-suf | --program-su | --program-s) 1002 ac_prev=program_suffix ;; 1003 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1004 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1005 program_suffix=$ac_optarg ;; 1006 1007 -program-transform-name | --program-transform-name \ 1008 | --program-transform-nam | --program-transform-na \ 1009 | --program-transform-n | --program-transform- \ 1010 | --program-transform | --program-transfor \ 1011 | --program-transfo | --program-transf \ 1012 | --program-trans | --program-tran \ 1013 | --progr-tra | --program-tr | --program-t) 1014 ac_prev=program_transform_name ;; 1015 -program-transform-name=* | --program-transform-name=* \ 1016 | --program-transform-nam=* | --program-transform-na=* \ 1017 | --program-transform-n=* | --program-transform-=* \ 1018 | --program-transform=* | --program-transfor=* \ 1019 | --program-transfo=* | --program-transf=* \ 1020 | --program-trans=* | --program-tran=* \ 1021 | --progr-tra=* | --program-tr=* | --program-t=*) 1022 program_transform_name=$ac_optarg ;; 1023 1024 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1025 ac_prev=pdfdir ;; 1026 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1027 pdfdir=$ac_optarg ;; 1028 1029 -psdir | --psdir | --psdi | --psd | --ps) 1030 ac_prev=psdir ;; 1031 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1032 psdir=$ac_optarg ;; 1033 1034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1035 | -silent | --silent | --silen | --sile | --sil) 1036 silent=yes ;; 1037 1038 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1039 ac_prev=sbindir ;; 1040 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1041 | --sbi=* | --sb=*) 1042 sbindir=$ac_optarg ;; 1043 1044 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1045 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1046 | --sharedst | --shareds | --shared | --share | --shar \ 1047 | --sha | --sh) 1048 ac_prev=sharedstatedir ;; 1049 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1050 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1051 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1052 | --sha=* | --sh=*) 1053 sharedstatedir=$ac_optarg ;; 1054 1055 -site | --site | --sit) 1056 ac_prev=site ;; 1057 -site=* | --site=* | --sit=*) 1058 site=$ac_optarg ;; 1059 1060 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1061 ac_prev=srcdir ;; 1062 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1063 srcdir=$ac_optarg ;; 1064 1065 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1066 | --syscon | --sysco | --sysc | --sys | --sy) 1067 ac_prev=sysconfdir ;; 1068 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1069 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1070 sysconfdir=$ac_optarg ;; 1071 1072 -target | --target | --targe | --targ | --tar | --ta | --t) 1073 ac_prev=target_alias ;; 1074 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1075 target_alias=$ac_optarg ;; 1076 1077 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1078 verbose=yes ;; 1079 1080 -version | --version | --versio | --versi | --vers | -V) 1081 ac_init_version=: ;; 1082 1083 -with-* | --with-*) 1084 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1085 # Reject names that are not valid shell variable names. 1086 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1087 { echo "$as_me: error: invalid package name: $ac_package" >&2 1088 { (exit 1); exit 1; }; } 1089 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1090 eval with_$ac_package=\$ac_optarg ;; 1091 1092 -without-* | --without-*) 1093 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1094 # Reject names that are not valid shell variable names. 1095 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1096 { echo "$as_me: error: invalid package name: $ac_package" >&2 1097 { (exit 1); exit 1; }; } 1098 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1099 eval with_$ac_package=no ;; 1100 1101 --x) 1102 # Obsolete; use --with-x. 1103 with_x=yes ;; 1104 1105 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1106 | --x-incl | --x-inc | --x-in | --x-i) 1107 ac_prev=x_includes ;; 1108 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1109 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1110 x_includes=$ac_optarg ;; 1111 1112 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1113 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1114 ac_prev=x_libraries ;; 1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1117 x_libraries=$ac_optarg ;; 1118 1119 -*) { echo "$as_me: error: unrecognized option: $ac_option 1120Try \`$0 --help' for more information." >&2 1121 { (exit 1); exit 1; }; } 1122 ;; 1123 1124 *=*) 1125 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1126 # Reject names that are not valid shell variable names. 1127 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1128 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1129 { (exit 1); exit 1; }; } 1130 eval $ac_envvar=\$ac_optarg 1131 export $ac_envvar ;; 1132 1133 *) 1134 # FIXME: should be removed in autoconf 3.0. 1135 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1137 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1138 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1139 ;; 1140 1141 esac 1142done 1143 1144if test -n "$ac_prev"; then 1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1146 { echo "$as_me: error: missing argument to $ac_option" >&2 1147 { (exit 1); exit 1; }; } 1148fi 1149 1150# Be sure to have absolute directory names. 1151for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1152 datadir sysconfdir sharedstatedir localstatedir includedir \ 1153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1154 libdir localedir mandir 1155do 1156 eval ac_val=\$$ac_var 1157 case $ac_val in 1158 [\\/$]* | ?:[\\/]* ) continue;; 1159 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1160 esac 1161 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1162 { (exit 1); exit 1; }; } 1163done 1164 1165# There might be people who depend on the old broken behavior: `$host' 1166# used to hold the argument of --host etc. 1167# FIXME: To remove some day. 1168build=$build_alias 1169host=$host_alias 1170target=$target_alias 1171 1172# FIXME: To remove some day. 1173if test "x$host_alias" != x; then 1174 if test "x$build_alias" = x; then 1175 cross_compiling=maybe 1176 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1177 If a cross compiler is detected then cross compile mode will be used." >&2 1178 elif test "x$build_alias" != "x$host_alias"; then 1179 cross_compiling=yes 1180 fi 1181fi 1182 1183ac_tool_prefix= 1184test -n "$host_alias" && ac_tool_prefix=$host_alias- 1185 1186test "$silent" = yes && exec 6>/dev/null 1187 1188 1189ac_pwd=`pwd` && test -n "$ac_pwd" && 1190ac_ls_di=`ls -di .` && 1191ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1192 { echo "$as_me: error: Working directory cannot be determined" >&2 1193 { (exit 1); exit 1; }; } 1194test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1195 { echo "$as_me: error: pwd does not report name of working directory" >&2 1196 { (exit 1); exit 1; }; } 1197 1198 1199# Find the source files, if location was not specified. 1200if test -z "$srcdir"; then 1201 ac_srcdir_defaulted=yes 1202 # Try the directory containing this script, then the parent directory. 1203 ac_confdir=`$as_dirname -- "$0" || 1204$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1205 X"$0" : 'X\(//\)[^/]' \| \ 1206 X"$0" : 'X\(//\)$' \| \ 1207 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1208echo X"$0" | 1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1210 s//\1/ 1211 q 1212 } 1213 /^X\(\/\/\)[^/].*/{ 1214 s//\1/ 1215 q 1216 } 1217 /^X\(\/\/\)$/{ 1218 s//\1/ 1219 q 1220 } 1221 /^X\(\/\).*/{ 1222 s//\1/ 1223 q 1224 } 1225 s/.*/./; q'` 1226 srcdir=$ac_confdir 1227 if test ! -r "$srcdir/$ac_unique_file"; then 1228 srcdir=.. 1229 fi 1230else 1231 ac_srcdir_defaulted=no 1232fi 1233if test ! -r "$srcdir/$ac_unique_file"; then 1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1235 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1236 { (exit 1); exit 1; }; } 1237fi 1238ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1239ac_abs_confdir=`( 1240 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1241 { (exit 1); exit 1; }; } 1242 pwd)` 1243# When building in place, set srcdir=. 1244if test "$ac_abs_confdir" = "$ac_pwd"; then 1245 srcdir=. 1246fi 1247# Remove unnecessary trailing slashes from srcdir. 1248# Double slashes in file names in object file debugging info 1249# mess up M-x gdb in Emacs. 1250case $srcdir in 1251*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1252esac 1253for ac_var in $ac_precious_vars; do 1254 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1255 eval ac_env_${ac_var}_value=\$${ac_var} 1256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1257 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1258done 1259 1260# 1261# Report the --help message. 1262# 1263if test "$ac_init_help" = "long"; then 1264 # Omit some internal or obsolete options to make the list less imposing. 1265 # This message is too long to be a string in the A/UX 3.1 sh. 1266 cat <<_ACEOF 1267\`configure' configures ezstream 0.5.6 to adapt to many kinds of systems. 1268 1269Usage: $0 [OPTION]... [VAR=VALUE]... 1270 1271To assign environment variables (e.g., CC, CFLAGS...), specify them as 1272VAR=VALUE. See below for descriptions of some of the useful variables. 1273 1274Defaults for the options are specified in brackets. 1275 1276Configuration: 1277 -h, --help display this help and exit 1278 --help=short display options specific to this package 1279 --help=recursive display the short help of all the included packages 1280 -V, --version display version information and exit 1281 -q, --quiet, --silent do not print \`checking...' messages 1282 --cache-file=FILE cache test results in FILE [disabled] 1283 -C, --config-cache alias for \`--cache-file=config.cache' 1284 -n, --no-create do not create output files 1285 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1286 1287Installation directories: 1288 --prefix=PREFIX install architecture-independent files in PREFIX 1289 [$ac_default_prefix] 1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1291 [PREFIX] 1292 1293By default, \`make install' will install all the files in 1294\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1295an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1296for instance \`--prefix=\$HOME'. 1297 1298For better control, use the options below. 1299 1300Fine tuning of the installation directories: 1301 --bindir=DIR user executables [EPREFIX/bin] 1302 --sbindir=DIR system admin executables [EPREFIX/sbin] 1303 --libexecdir=DIR program executables [EPREFIX/libexec] 1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1307 --libdir=DIR object code libraries [EPREFIX/lib] 1308 --includedir=DIR C header files [PREFIX/include] 1309 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1312 --infodir=DIR info documentation [DATAROOTDIR/info] 1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1314 --mandir=DIR man documentation [DATAROOTDIR/man] 1315 --docdir=DIR documentation root [DATAROOTDIR/doc/ezstream] 1316 --htmldir=DIR html documentation [DOCDIR] 1317 --dvidir=DIR dvi documentation [DOCDIR] 1318 --pdfdir=DIR pdf documentation [DOCDIR] 1319 --psdir=DIR ps documentation [DOCDIR] 1320_ACEOF 1321 1322 cat <<\_ACEOF 1323 1324Program names: 1325 --program-prefix=PREFIX prepend PREFIX to installed program names 1326 --program-suffix=SUFFIX append SUFFIX to installed program names 1327 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1328 1329System types: 1330 --build=BUILD configure for building on BUILD [guessed] 1331 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1332_ACEOF 1333fi 1334 1335if test -n "$ac_init_help"; then 1336 case $ac_init_help in 1337 short | recursive ) echo "Configuration of ezstream 0.5.6:";; 1338 esac 1339 cat <<\_ACEOF 1340 1341Optional Features: 1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1344 --enable-maintainer-mode enable make rules and dependencies not useful 1345 (and sometimes confusing) to the casual installer 1346 --disable-dependency-tracking speeds up one-time build 1347 --enable-dependency-tracking do not reject slow dependency extractors 1348 --enable-examplesdir=DIR 1349 examples installation directory (default: 1350 DATADIR/examples/ezstream) 1351 --enable-debug enable memory debugging (default: no) 1352 --disable-rpath do not hardcode runtime library paths 1353 1354Optional Packages: 1355 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1356 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1357 --with-libshout=PFX prefix where the libshout header files and library 1358 are installed (default: autodetect) 1359 --with-libshout-includes=DIR 1360 directory where libshout header files are installed 1361 (optional) 1362 --with-libshout-libs=DIR 1363 directory where libshout is installed (optional) 1364 --with-libxml2=PFX prefix where the libxml2 header files and library 1365 are installed (default: autodetect) 1366 --with-libxml2-includes=DIR 1367 directory where libxml2 header files are installed 1368 (optional) 1369 --with-libxml2-libs=DIR directory where libxml2 is installed (optional) 1370 --with-taglib=PFX prefix where the TagLib header files and library are 1371 installed (default: autodetect) 1372 --with-taglib-includes=DIR 1373 directory where TagLib header files are installed 1374 (optional) 1375 --with-taglib-libs=DIR directory where TagLib is installed (optional) 1376 --with-libvorbis=PFX prefix where the Vorbis library header files and 1377 library are installed (default: autodetect) 1378 --with-libvorbis-includes=DIR 1379 directory where Vorbis library header files are 1380 installed (optional) 1381 --with-libvorbis-libs=DIR 1382 directory where the Vorbis libraries are installed 1383 (optional) 1384 --with-gnu-ld assume the C compiler uses GNU ld default=no 1385 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1386 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1387 1388Some influential environment variables: 1389 CC C compiler command 1390 CFLAGS C compiler flags 1391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1392 nonstandard directory <lib dir> 1393 LIBS libraries to pass to the linker, e.g. -l<library> 1394 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1395 you have headers in a nonstandard directory <include dir> 1396 CPP C preprocessor 1397 PKG_CONFIG path to pkg-config utility 1398 LIBSHOUT_CFLAGS 1399 C compiler flags for libshout 1400 LIBSHOUT_CPPFLAGS 1401 C preprocessor flags for libshout 1402 LIBSHOUT_LDFLAGS 1403 linker flags for libshout 1404 LIBSHOUT_LIBS 1405 libraries to use for libshout 1406 LIBXML2_CFLAGS 1407 C compiler flags for libxml2 1408 LIBXML2_CPPFLAGS 1409 C preprocessor flags for libxml2 1410 LIBXML2_LDFLAGS 1411 linker flags for libxml2 1412 LIBXML2_LIBS 1413 libraries to use for libxml2 1414 TAGLIB_CFLAGS 1415 C compiler flags for TagLib 1416 TAGLIB_CPPFLAGS 1417 C preprocessor flags for TagLib 1418 TAGLIB_LDFLAGS 1419 linker flags for TagLib 1420 TAGLIB_C_LIBS 1421 libraries to use for the TagLib C wrapper 1422 VORBIS_CFLAGS 1423 C compiler flags for the Vorbis libraries 1424 VORBIS_CPPFLAGS 1425 C preprocessor flags for the Vorbis libraries 1426 VORBIS_LDFLAGS 1427 linker flags for the Vorbis libraries 1428 LIBVORBISFILE_LIBS 1429 libraries to use for libvorbisfile 1430 1431Use these variables to override the choices made by `configure' or to help 1432it to find libraries and programs with nonstandard names/locations. 1433 1434Report bugs to <https://trac.xiph.org/newticket?component=ezstream>. 1435_ACEOF 1436ac_status=$? 1437fi 1438 1439if test "$ac_init_help" = "recursive"; then 1440 # If there are subdirs, report their specific --help. 1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1442 test -d "$ac_dir" || continue 1443 ac_builddir=. 1444 1445case "$ac_dir" in 1446.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1447*) 1448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1449 # A ".." for each directory in $ac_dir_suffix. 1450 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1451 case $ac_top_builddir_sub in 1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1454 esac ;; 1455esac 1456ac_abs_top_builddir=$ac_pwd 1457ac_abs_builddir=$ac_pwd$ac_dir_suffix 1458# for backward compatibility: 1459ac_top_builddir=$ac_top_build_prefix 1460 1461case $srcdir in 1462 .) # We are building in place. 1463 ac_srcdir=. 1464 ac_top_srcdir=$ac_top_builddir_sub 1465 ac_abs_top_srcdir=$ac_pwd ;; 1466 [\\/]* | ?:[\\/]* ) # Absolute name. 1467 ac_srcdir=$srcdir$ac_dir_suffix; 1468 ac_top_srcdir=$srcdir 1469 ac_abs_top_srcdir=$srcdir ;; 1470 *) # Relative name. 1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1472 ac_top_srcdir=$ac_top_build_prefix$srcdir 1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1474esac 1475ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1476 1477 cd "$ac_dir" || { ac_status=$?; continue; } 1478 # Check for guested configure. 1479 if test -f "$ac_srcdir/configure.gnu"; then 1480 echo && 1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1482 elif test -f "$ac_srcdir/configure"; then 1483 echo && 1484 $SHELL "$ac_srcdir/configure" --help=recursive 1485 else 1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1487 fi || ac_status=$? 1488 cd "$ac_pwd" || { ac_status=$?; break; } 1489 done 1490fi 1491 1492test -n "$ac_init_help" && exit $ac_status 1493if $ac_init_version; then 1494 cat <<\_ACEOF 1495ezstream configure 0.5.6 1496generated by GNU Autoconf 2.61 1497 1498Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14992002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1500This configure script is free software; the Free Software Foundation 1501gives unlimited permission to copy, distribute and modify it. 1502_ACEOF 1503 exit 1504fi 1505cat >config.log <<_ACEOF 1506This file contains any messages produced by compilers while 1507running configure, to aid debugging if configure makes a mistake. 1508 1509It was created by ezstream $as_me 0.5.6, which was 1510generated by GNU Autoconf 2.61. Invocation command line was 1511 1512 $ $0 $@ 1513 1514_ACEOF 1515exec 5>>config.log 1516{ 1517cat <<_ASUNAME 1518## --------- ## 1519## Platform. ## 1520## --------- ## 1521 1522hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1523uname -m = `(uname -m) 2>/dev/null || echo unknown` 1524uname -r = `(uname -r) 2>/dev/null || echo unknown` 1525uname -s = `(uname -s) 2>/dev/null || echo unknown` 1526uname -v = `(uname -v) 2>/dev/null || echo unknown` 1527 1528/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1529/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1530 1531/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1532/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1533/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1534/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1535/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1536/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1537/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1538 1539_ASUNAME 1540 1541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1542for as_dir in $PATH 1543do 1544 IFS=$as_save_IFS 1545 test -z "$as_dir" && as_dir=. 1546 echo "PATH: $as_dir" 1547done 1548IFS=$as_save_IFS 1549 1550} >&5 1551 1552cat >&5 <<_ACEOF 1553 1554 1555## ----------- ## 1556## Core tests. ## 1557## ----------- ## 1558 1559_ACEOF 1560 1561 1562# Keep a trace of the command line. 1563# Strip out --no-create and --no-recursion so they do not pile up. 1564# Strip out --silent because we don't want to record it for future runs. 1565# Also quote any args containing shell meta-characters. 1566# Make two passes to allow for proper duplicate-argument suppression. 1567ac_configure_args= 1568ac_configure_args0= 1569ac_configure_args1= 1570ac_must_keep_next=false 1571for ac_pass in 1 2 1572do 1573 for ac_arg 1574 do 1575 case $ac_arg in 1576 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1578 | -silent | --silent | --silen | --sile | --sil) 1579 continue ;; 1580 *\'*) 1581 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1582 esac 1583 case $ac_pass in 1584 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1585 2) 1586 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1587 if test $ac_must_keep_next = true; then 1588 ac_must_keep_next=false # Got value, back to normal. 1589 else 1590 case $ac_arg in 1591 *=* | --config-cache | -C | -disable-* | --disable-* \ 1592 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1593 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1594 | -with-* | --with-* | -without-* | --without-* | --x) 1595 case "$ac_configure_args0 " in 1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1597 esac 1598 ;; 1599 -* ) ac_must_keep_next=true ;; 1600 esac 1601 fi 1602 ac_configure_args="$ac_configure_args '$ac_arg'" 1603 ;; 1604 esac 1605 done 1606done 1607$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1608$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1609 1610# When interrupted or exit'd, cleanup temporary files, and complete 1611# config.log. We remove comments because anyway the quotes in there 1612# would cause problems or look ugly. 1613# WARNING: Use '\'' to represent an apostrophe within the trap. 1614# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1615trap 'exit_status=$? 1616 # Save into config.log some information that might help in debugging. 1617 { 1618 echo 1619 1620 cat <<\_ASBOX 1621## ---------------- ## 1622## Cache variables. ## 1623## ---------------- ## 1624_ASBOX 1625 echo 1626 # The following way of writing the cache mishandles newlines in values, 1627( 1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1629 eval ac_val=\$$ac_var 1630 case $ac_val in #( 1631 *${as_nl}*) 1632 case $ac_var in #( 1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1634echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1635 esac 1636 case $ac_var in #( 1637 _ | IFS | as_nl) ;; #( 1638 *) $as_unset $ac_var ;; 1639 esac ;; 1640 esac 1641 done 1642 (set) 2>&1 | 1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1644 *${as_nl}ac_space=\ *) 1645 sed -n \ 1646 "s/'\''/'\''\\\\'\'''\''/g; 1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1648 ;; #( 1649 *) 1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1651 ;; 1652 esac | 1653 sort 1654) 1655 echo 1656 1657 cat <<\_ASBOX 1658## ----------------- ## 1659## Output variables. ## 1660## ----------------- ## 1661_ASBOX 1662 echo 1663 for ac_var in $ac_subst_vars 1664 do 1665 eval ac_val=\$$ac_var 1666 case $ac_val in 1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1668 esac 1669 echo "$ac_var='\''$ac_val'\''" 1670 done | sort 1671 echo 1672 1673 if test -n "$ac_subst_files"; then 1674 cat <<\_ASBOX 1675## ------------------- ## 1676## File substitutions. ## 1677## ------------------- ## 1678_ASBOX 1679 echo 1680 for ac_var in $ac_subst_files 1681 do 1682 eval ac_val=\$$ac_var 1683 case $ac_val in 1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1685 esac 1686 echo "$ac_var='\''$ac_val'\''" 1687 done | sort 1688 echo 1689 fi 1690 1691 if test -s confdefs.h; then 1692 cat <<\_ASBOX 1693## ----------- ## 1694## confdefs.h. ## 1695## ----------- ## 1696_ASBOX 1697 echo 1698 cat confdefs.h 1699 echo 1700 fi 1701 test "$ac_signal" != 0 && 1702 echo "$as_me: caught signal $ac_signal" 1703 echo "$as_me: exit $exit_status" 1704 } >&5 1705 rm -f core *.core core.conftest.* && 1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1707 exit $exit_status 1708' 0 1709for ac_signal in 1 2 13 15; do 1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1711done 1712ac_signal=0 1713 1714# confdefs.h avoids OS command line length limits that DEFS can exceed. 1715rm -f -r conftest* confdefs.h 1716 1717# Predefined preprocessor variables. 1718 1719cat >>confdefs.h <<_ACEOF 1720#define PACKAGE_NAME "$PACKAGE_NAME" 1721_ACEOF 1722 1723 1724cat >>confdefs.h <<_ACEOF 1725#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1726_ACEOF 1727 1728 1729cat >>confdefs.h <<_ACEOF 1730#define PACKAGE_VERSION "$PACKAGE_VERSION" 1731_ACEOF 1732 1733 1734cat >>confdefs.h <<_ACEOF 1735#define PACKAGE_STRING "$PACKAGE_STRING" 1736_ACEOF 1737 1738 1739cat >>confdefs.h <<_ACEOF 1740#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1741_ACEOF 1742 1743 1744# Let the site file select an alternate cache file if it wants to. 1745# Prefer explicitly selected file to automatically selected ones. 1746if test -n "$CONFIG_SITE"; then 1747 set x "$CONFIG_SITE" 1748elif test "x$prefix" != xNONE; then 1749 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1750else 1751 set x "$ac_default_prefix/share/config.site" \ 1752 "$ac_default_prefix/etc/config.site" 1753fi 1754shift 1755for ac_site_file 1756do 1757 if test -r "$ac_site_file"; then 1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1759echo "$as_me: loading site script $ac_site_file" >&6;} 1760 sed 's/^/| /' "$ac_site_file" >&5 1761 . "$ac_site_file" 1762 fi 1763done 1764 1765if test -r "$cache_file"; then 1766 # Some versions of bash will fail to source /dev/null (special 1767 # files actually), so we avoid doing that. 1768 if test -f "$cache_file"; then 1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1770echo "$as_me: loading cache $cache_file" >&6;} 1771 case $cache_file in 1772 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1773 *) . "./$cache_file";; 1774 esac 1775 fi 1776else 1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1778echo "$as_me: creating cache $cache_file" >&6;} 1779 >$cache_file 1780fi 1781 1782# Check that the precious variables saved in the cache have kept the same 1783# value. 1784ac_cache_corrupted=false 1785for ac_var in $ac_precious_vars; do 1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1787 eval ac_new_set=\$ac_env_${ac_var}_set 1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1789 eval ac_new_val=\$ac_env_${ac_var}_value 1790 case $ac_old_set,$ac_new_set in 1791 set,) 1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1793echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1794 ac_cache_corrupted=: ;; 1795 ,set) 1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1797echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1798 ac_cache_corrupted=: ;; 1799 ,);; 1800 *) 1801 if test "x$ac_old_val" != "x$ac_new_val"; then 1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1803echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1805echo "$as_me: former value: $ac_old_val" >&2;} 1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1807echo "$as_me: current value: $ac_new_val" >&2;} 1808 ac_cache_corrupted=: 1809 fi;; 1810 esac 1811 # Pass precious variables to config.status. 1812 if test "$ac_new_set" = set; then 1813 case $ac_new_val in 1814 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1815 *) ac_arg=$ac_var=$ac_new_val ;; 1816 esac 1817 case " $ac_configure_args " in 1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1819 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1820 esac 1821 fi 1822done 1823if $ac_cache_corrupted; then 1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1825echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1827echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1828 { (exit 1); exit 1; }; } 1829fi 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855ac_ext=c 1856ac_cpp='$CPP $CPPFLAGS' 1857ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1858ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1859ac_compiler_gnu=$ac_cv_c_compiler_gnu 1860 1861 1862 1863 1864 1865ac_aux_dir= 1866for ac_dir in build-aux "$srcdir"/build-aux; do 1867 if test -f "$ac_dir/install-sh"; then 1868 ac_aux_dir=$ac_dir 1869 ac_install_sh="$ac_aux_dir/install-sh -c" 1870 break 1871 elif test -f "$ac_dir/install.sh"; then 1872 ac_aux_dir=$ac_dir 1873 ac_install_sh="$ac_aux_dir/install.sh -c" 1874 break 1875 elif test -f "$ac_dir/shtool"; then 1876 ac_aux_dir=$ac_dir 1877 ac_install_sh="$ac_aux_dir/shtool install -c" 1878 break 1879 fi 1880done 1881if test -z "$ac_aux_dir"; then 1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5 1883echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;} 1884 { (exit 1); exit 1; }; } 1885fi 1886 1887# These three variables are undocumented and unsupported, 1888# and are intended to be withdrawn in a future Autoconf release. 1889# They can cause serious problems if a builder's source tree is in a directory 1890# whose full name contains unusual characters. 1891ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1892ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1893ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1894 1895 1896am__api_version='1.10' 1897 1898# Find a good install program. We prefer a C program (faster), 1899# so one script is as good as another. But avoid the broken or 1900# incompatible versions: 1901# SysV /etc/install, /usr/sbin/install 1902# SunOS /usr/etc/install 1903# IRIX /sbin/install 1904# AIX /bin/install 1905# AmigaOS /C/install, which installs bootblocks on floppy discs 1906# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1907# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1908# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1909# OS/2's system install, which has a completely different semantic 1910# ./install, which can be erroneously created by make from ./install.sh. 1911{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1912echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1913if test -z "$INSTALL"; then 1914if test "${ac_cv_path_install+set}" = set; then 1915 echo $ECHO_N "(cached) $ECHO_C" >&6 1916else 1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1918for as_dir in $PATH 1919do 1920 IFS=$as_save_IFS 1921 test -z "$as_dir" && as_dir=. 1922 # Account for people who put trailing slashes in PATH elements. 1923case $as_dir/ in 1924 ./ | .// | /cC/* | \ 1925 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1926 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1927 /usr/ucb/* ) ;; 1928 *) 1929 # OSF1 and SCO ODT 3.0 have their own names for install. 1930 # Don't use installbsd from OSF since it installs stuff as root 1931 # by default. 1932 for ac_prog in ginstall scoinst install; do 1933 for ac_exec_ext in '' $ac_executable_extensions; do 1934 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1935 if test $ac_prog = install && 1936 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1937 # AIX install. It has an incompatible calling convention. 1938 : 1939 elif test $ac_prog = install && 1940 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1941 # program-specific install script used by HP pwplus--don't use. 1942 : 1943 else 1944 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1945 break 3 1946 fi 1947 fi 1948 done 1949 done 1950 ;; 1951esac 1952done 1953IFS=$as_save_IFS 1954 1955 1956fi 1957 if test "${ac_cv_path_install+set}" = set; then 1958 INSTALL=$ac_cv_path_install 1959 else 1960 # As a last resort, use the slow shell script. Don't cache a 1961 # value for INSTALL within a source directory, because that will 1962 # break other packages using the cache if that directory is 1963 # removed, or if the value is a relative name. 1964 INSTALL=$ac_install_sh 1965 fi 1966fi 1967{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1968echo "${ECHO_T}$INSTALL" >&6; } 1969 1970# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1971# It thinks the first close brace ends the variable substitution. 1972test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1973 1974test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1975 1976test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1977 1978test "$program_prefix" != NONE && 1979 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1980# Use a double $ so make ignores it. 1981test "$program_suffix" != NONE && 1982 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1983# Double any \ or $. echo might interpret backslashes. 1984# By default was `s,x,x', remove it if useless. 1985cat <<\_ACEOF >conftest.sed 1986s/[\\$]/&&/g;s/;s,x,x,$// 1987_ACEOF 1988program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1989rm -f conftest.sed 1990 1991# expand $ac_aux_dir to an absolute path 1992am_aux_dir=`cd $ac_aux_dir && pwd` 1993 1994test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1995# Use eval to expand $SHELL 1996if eval "$MISSING --run true"; then 1997 am_missing_run="$MISSING --run " 1998else 1999 am_missing_run= 2000 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2001echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2002fi 2003 2004{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2005echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 2006if test -z "$MKDIR_P"; then 2007 if test "${ac_cv_path_mkdir+set}" = set; then 2008 echo $ECHO_N "(cached) $ECHO_C" >&6 2009else 2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2011for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2012do 2013 IFS=$as_save_IFS 2014 test -z "$as_dir" && as_dir=. 2015 for ac_prog in mkdir gmkdir; do 2016 for ac_exec_ext in '' $ac_executable_extensions; do 2017 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2018 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2019 'mkdir (GNU coreutils) '* | \ 2020 'mkdir (coreutils) '* | \ 2021 'mkdir (fileutils) '4.1*) 2022 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2023 break 3;; 2024 esac 2025 done 2026 done 2027done 2028IFS=$as_save_IFS 2029 2030fi 2031 2032 if test "${ac_cv_path_mkdir+set}" = set; then 2033 MKDIR_P="$ac_cv_path_mkdir -p" 2034 else 2035 # As a last resort, use the slow shell script. Don't cache a 2036 # value for MKDIR_P within a source directory, because that will 2037 # break other packages using the cache if that directory is 2038 # removed, or if the value is a relative name. 2039 test -d ./--version && rmdir ./--version 2040 MKDIR_P="$ac_install_sh -d" 2041 fi 2042fi 2043{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2044echo "${ECHO_T}$MKDIR_P" >&6; } 2045 2046mkdir_p="$MKDIR_P" 2047case $mkdir_p in 2048 [\\/$]* | ?:[\\/]*) ;; 2049 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2050esac 2051 2052for ac_prog in gawk mawk nawk awk 2053do 2054 # Extract the first word of "$ac_prog", so it can be a program name with args. 2055set dummy $ac_prog; ac_word=$2 2056{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2057echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2058if test "${ac_cv_prog_AWK+set}" = set; then 2059 echo $ECHO_N "(cached) $ECHO_C" >&6 2060else 2061 if test -n "$AWK"; then 2062 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2063else 2064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2065for as_dir in $PATH 2066do 2067 IFS=$as_save_IFS 2068 test -z "$as_dir" && as_dir=. 2069 for ac_exec_ext in '' $ac_executable_extensions; do 2070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2071 ac_cv_prog_AWK="$ac_prog" 2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2073 break 2 2074 fi 2075done 2076done 2077IFS=$as_save_IFS 2078 2079fi 2080fi 2081AWK=$ac_cv_prog_AWK 2082if test -n "$AWK"; then 2083 { echo "$as_me:$LINENO: result: $AWK" >&5 2084echo "${ECHO_T}$AWK" >&6; } 2085else 2086 { echo "$as_me:$LINENO: result: no" >&5 2087echo "${ECHO_T}no" >&6; } 2088fi 2089 2090 2091 test -n "$AWK" && break 2092done 2093 2094{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2095echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2096set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2097if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2098 echo $ECHO_N "(cached) $ECHO_C" >&6 2099else 2100 cat >conftest.make <<\_ACEOF 2101SHELL = /bin/sh 2102all: 2103 @echo '@@@%%%=$(MAKE)=@@@%%%' 2104_ACEOF 2105# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2106case `${MAKE-make} -f conftest.make 2>/dev/null` in 2107 *@@@%%%=?*=@@@%%%*) 2108 eval ac_cv_prog_make_${ac_make}_set=yes;; 2109 *) 2110 eval ac_cv_prog_make_${ac_make}_set=no;; 2111esac 2112rm -f conftest.make 2113fi 2114if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2115 { echo "$as_me:$LINENO: result: yes" >&5 2116echo "${ECHO_T}yes" >&6; } 2117 SET_MAKE= 2118else 2119 { echo "$as_me:$LINENO: result: no" >&5 2120echo "${ECHO_T}no" >&6; } 2121 SET_MAKE="MAKE=${MAKE-make}" 2122fi 2123 2124rm -rf .tst 2>/dev/null 2125mkdir .tst 2>/dev/null 2126if test -d .tst; then 2127 am__leading_dot=. 2128else 2129 am__leading_dot=_ 2130fi 2131rmdir .tst 2>/dev/null 2132 2133if test "`cd $srcdir && pwd`" != "`pwd`"; then 2134 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2135 # is not polluted with repeated "-I." 2136 am__isrc=' -I$(srcdir)' 2137 # test to see if srcdir already configured 2138 if test -f $srcdir/config.status; then 2139 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2140echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2141 { (exit 1); exit 1; }; } 2142 fi 2143fi 2144 2145# test whether we have cygpath 2146if test -z "$CYGPATH_W"; then 2147 if (cygpath --version) >/dev/null 2>/dev/null; then 2148 CYGPATH_W='cygpath -w' 2149 else 2150 CYGPATH_W=echo 2151 fi 2152fi 2153 2154 2155# Define the identity of the package. 2156 PACKAGE='ezstream' 2157 VERSION='0.5.6' 2158 2159 2160cat >>confdefs.h <<_ACEOF 2161#define PACKAGE "$PACKAGE" 2162_ACEOF 2163 2164 2165cat >>confdefs.h <<_ACEOF 2166#define VERSION "$VERSION" 2167_ACEOF 2168 2169# Some tools Automake needs. 2170 2171ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2172 2173 2174AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2175 2176 2177AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2178 2179 2180AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2181 2182 2183MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2184 2185install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2186 2187# Installed binaries are usually stripped using `strip' when the user 2188# run `make install-strip'. However `strip' might not be the right 2189# tool to use in cross-compilation environments, therefore Automake 2190# will honor the `STRIP' environment variable to overrule this program. 2191if test "$cross_compiling" != no; then 2192 if test -n "$ac_tool_prefix"; then 2193 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2194set dummy ${ac_tool_prefix}strip; ac_word=$2 2195{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2196echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2197if test "${ac_cv_prog_STRIP+set}" = set; then 2198 echo $ECHO_N "(cached) $ECHO_C" >&6 2199else 2200 if test -n "$STRIP"; then 2201 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2202else 2203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2204for as_dir in $PATH 2205do 2206 IFS=$as_save_IFS 2207 test -z "$as_dir" && as_dir=. 2208 for ac_exec_ext in '' $ac_executable_extensions; do 2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2210 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2212 break 2 2213 fi 2214done 2215done 2216IFS=$as_save_IFS 2217 2218fi 2219fi 2220STRIP=$ac_cv_prog_STRIP 2221if test -n "$STRIP"; then 2222 { echo "$as_me:$LINENO: result: $STRIP" >&5 2223echo "${ECHO_T}$STRIP" >&6; } 2224else 2225 { echo "$as_me:$LINENO: result: no" >&5 2226echo "${ECHO_T}no" >&6; } 2227fi 2228 2229 2230fi 2231if test -z "$ac_cv_prog_STRIP"; then 2232 ac_ct_STRIP=$STRIP 2233 # Extract the first word of "strip", so it can be a program name with args. 2234set dummy strip; ac_word=$2 2235{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2237if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2238 echo $ECHO_N "(cached) $ECHO_C" >&6 2239else 2240 if test -n "$ac_ct_STRIP"; then 2241 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2242else 2243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2244for as_dir in $PATH 2245do 2246 IFS=$as_save_IFS 2247 test -z "$as_dir" && as_dir=. 2248 for ac_exec_ext in '' $ac_executable_extensions; do 2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2250 ac_cv_prog_ac_ct_STRIP="strip" 2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2252 break 2 2253 fi 2254done 2255done 2256IFS=$as_save_IFS 2257 2258fi 2259fi 2260ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2261if test -n "$ac_ct_STRIP"; then 2262 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2263echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2264else 2265 { echo "$as_me:$LINENO: result: no" >&5 2266echo "${ECHO_T}no" >&6; } 2267fi 2268 2269 if test "x$ac_ct_STRIP" = x; then 2270 STRIP=":" 2271 else 2272 case $cross_compiling:$ac_tool_warned in 2273yes:) 2274{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2275whose name does not start with the host triplet. If you think this 2276configuration is useful to you, please write to autoconf@gnu.org." >&5 2277echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2278whose name does not start with the host triplet. If you think this 2279configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2280ac_tool_warned=yes ;; 2281esac 2282 STRIP=$ac_ct_STRIP 2283 fi 2284else 2285 STRIP="$ac_cv_prog_STRIP" 2286fi 2287 2288fi 2289INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2290 2291# We need awk for the "check" target. The system "awk" is bad on 2292# some platforms. 2293# Always define AMTAR for backward compatibility. 2294 2295AMTAR=${AMTAR-"${am_missing_run}tar"} 2296 2297am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2298 2299 2300 2301 2302 2303ac_config_headers="$ac_config_headers src/config.h" 2304 2305 2306{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2307echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2308 # Check whether --enable-maintainer-mode was given. 2309if test "${enable_maintainer_mode+set}" = set; then 2310 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2311else 2312 USE_MAINTAINER_MODE=no 2313fi 2314 2315 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2316echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2317 if test $USE_MAINTAINER_MODE = yes; then 2318 MAINTAINER_MODE_TRUE= 2319 MAINTAINER_MODE_FALSE='#' 2320else 2321 MAINTAINER_MODE_TRUE='#' 2322 MAINTAINER_MODE_FALSE= 2323fi 2324 2325 MAINT=$MAINTAINER_MODE_TRUE 2326 2327 2328 2329cat >>confdefs.h <<\_ACEOF 2330#define _GNU_SOURCE 1 2331_ACEOF 2332 2333 2334DEPDIR="${am__leading_dot}deps" 2335 2336ac_config_commands="$ac_config_commands depfiles" 2337 2338 2339am_make=${MAKE-make} 2340cat > confinc << 'END' 2341am__doit: 2342 @echo done 2343.PHONY: am__doit 2344END 2345# If we don't find an include directive, just comment out the code. 2346{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2347echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 2348am__include="#" 2349am__quote= 2350_am_result=none 2351# First try GNU make style include. 2352echo "include confinc" > confmf 2353# We grep out `Entering directory' and `Leaving directory' 2354# messages which can occur if `w' ends up in MAKEFLAGS. 2355# In particular we don't look at `^make:' because GNU make might 2356# be invoked under some other name (usually "gmake"), in which 2357# case it prints its new name instead of `make'. 2358if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2359 am__include=include 2360 am__quote= 2361 _am_result=GNU 2362fi 2363# Now try BSD make style include. 2364if test "$am__include" = "#"; then 2365 echo '.include "confinc"' > confmf 2366 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2367 am__include=.include 2368 am__quote="\"" 2369 _am_result=BSD 2370 fi 2371fi 2372 2373 2374{ echo "$as_me:$LINENO: result: $_am_result" >&5 2375echo "${ECHO_T}$_am_result" >&6; } 2376rm -f confinc confmf 2377 2378# Check whether --enable-dependency-tracking was given. 2379if test "${enable_dependency_tracking+set}" = set; then 2380 enableval=$enable_dependency_tracking; 2381fi 2382 2383if test "x$enable_dependency_tracking" != xno; then 2384 am_depcomp="$ac_aux_dir/depcomp" 2385 AMDEPBACKSLASH='\' 2386fi 2387 if test "x$enable_dependency_tracking" != xno; then 2388 AMDEP_TRUE= 2389 AMDEP_FALSE='#' 2390else 2391 AMDEP_TRUE='#' 2392 AMDEP_FALSE= 2393fi 2394 2395 2396ac_ext=c 2397ac_cpp='$CPP $CPPFLAGS' 2398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2400ac_compiler_gnu=$ac_cv_c_compiler_gnu 2401if test -n "$ac_tool_prefix"; then 2402 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2403set dummy ${ac_tool_prefix}gcc; ac_word=$2 2404{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2406if test "${ac_cv_prog_CC+set}" = set; then 2407 echo $ECHO_N "(cached) $ECHO_C" >&6 2408else 2409 if test -n "$CC"; then 2410 ac_cv_prog_CC="$CC" # Let the user override the test. 2411else 2412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2413for as_dir in $PATH 2414do 2415 IFS=$as_save_IFS 2416 test -z "$as_dir" && as_dir=. 2417 for ac_exec_ext in '' $ac_executable_extensions; do 2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2419 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2421 break 2 2422 fi 2423done 2424done 2425IFS=$as_save_IFS 2426 2427fi 2428fi 2429CC=$ac_cv_prog_CC 2430if test -n "$CC"; then 2431 { echo "$as_me:$LINENO: result: $CC" >&5 2432echo "${ECHO_T}$CC" >&6; } 2433else 2434 { echo "$as_me:$LINENO: result: no" >&5 2435echo "${ECHO_T}no" >&6; } 2436fi 2437 2438 2439fi 2440if test -z "$ac_cv_prog_CC"; then 2441 ac_ct_CC=$CC 2442 # Extract the first word of "gcc", so it can be a program name with args. 2443set dummy gcc; ac_word=$2 2444{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2446if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2447 echo $ECHO_N "(cached) $ECHO_C" >&6 2448else 2449 if test -n "$ac_ct_CC"; then 2450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2451else 2452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2453for as_dir in $PATH 2454do 2455 IFS=$as_save_IFS 2456 test -z "$as_dir" && as_dir=. 2457 for ac_exec_ext in '' $ac_executable_extensions; do 2458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2459 ac_cv_prog_ac_ct_CC="gcc" 2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2461 break 2 2462 fi 2463done 2464done 2465IFS=$as_save_IFS 2466 2467fi 2468fi 2469ac_ct_CC=$ac_cv_prog_ac_ct_CC 2470if test -n "$ac_ct_CC"; then 2471 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2472echo "${ECHO_T}$ac_ct_CC" >&6; } 2473else 2474 { echo "$as_me:$LINENO: result: no" >&5 2475echo "${ECHO_T}no" >&6; } 2476fi 2477 2478 if test "x$ac_ct_CC" = x; then 2479 CC="" 2480 else 2481 case $cross_compiling:$ac_tool_warned in 2482yes:) 2483{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2484whose name does not start with the host triplet. If you think this 2485configuration is useful to you, please write to autoconf@gnu.org." >&5 2486echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2487whose name does not start with the host triplet. If you think this 2488configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2489ac_tool_warned=yes ;; 2490esac 2491 CC=$ac_ct_CC 2492 fi 2493else 2494 CC="$ac_cv_prog_CC" 2495fi 2496 2497if test -z "$CC"; then 2498 if test -n "$ac_tool_prefix"; then 2499 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2500set dummy ${ac_tool_prefix}cc; ac_word=$2 2501{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2503if test "${ac_cv_prog_CC+set}" = set; then 2504 echo $ECHO_N "(cached) $ECHO_C" >&6 2505else 2506 if test -n "$CC"; then 2507 ac_cv_prog_CC="$CC" # Let the user override the test. 2508else 2509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2510for as_dir in $PATH 2511do 2512 IFS=$as_save_IFS 2513 test -z "$as_dir" && as_dir=. 2514 for ac_exec_ext in '' $ac_executable_extensions; do 2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2516 ac_cv_prog_CC="${ac_tool_prefix}cc" 2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2518 break 2 2519 fi 2520done 2521done 2522IFS=$as_save_IFS 2523 2524fi 2525fi 2526CC=$ac_cv_prog_CC 2527if test -n "$CC"; then 2528 { echo "$as_me:$LINENO: result: $CC" >&5 2529echo "${ECHO_T}$CC" >&6; } 2530else 2531 { echo "$as_me:$LINENO: result: no" >&5 2532echo "${ECHO_T}no" >&6; } 2533fi 2534 2535 2536 fi 2537fi 2538if test -z "$CC"; then 2539 # Extract the first word of "cc", so it can be a program name with args. 2540set dummy cc; ac_word=$2 2541{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2543if test "${ac_cv_prog_CC+set}" = set; then 2544 echo $ECHO_N "(cached) $ECHO_C" >&6 2545else 2546 if test -n "$CC"; then 2547 ac_cv_prog_CC="$CC" # Let the user override the test. 2548else 2549 ac_prog_rejected=no 2550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2551for as_dir in $PATH 2552do 2553 IFS=$as_save_IFS 2554 test -z "$as_dir" && as_dir=. 2555 for ac_exec_ext in '' $ac_executable_extensions; do 2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2558 ac_prog_rejected=yes 2559 continue 2560 fi 2561 ac_cv_prog_CC="cc" 2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2563 break 2 2564 fi 2565done 2566done 2567IFS=$as_save_IFS 2568 2569if test $ac_prog_rejected = yes; then 2570 # We found a bogon in the path, so make sure we never use it. 2571 set dummy $ac_cv_prog_CC 2572 shift 2573 if test $# != 0; then 2574 # We chose a different compiler from the bogus one. 2575 # However, it has the same basename, so the bogon will be chosen 2576 # first if we set CC to just the basename; use the full file name. 2577 shift 2578 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2579 fi 2580fi 2581fi 2582fi 2583CC=$ac_cv_prog_CC 2584if test -n "$CC"; then 2585 { echo "$as_me:$LINENO: result: $CC" >&5 2586echo "${ECHO_T}$CC" >&6; } 2587else 2588 { echo "$as_me:$LINENO: result: no" >&5 2589echo "${ECHO_T}no" >&6; } 2590fi 2591 2592 2593fi 2594if test -z "$CC"; then 2595 if test -n "$ac_tool_prefix"; then 2596 for ac_prog in cl.exe 2597 do 2598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2599set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2600{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2601echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2602if test "${ac_cv_prog_CC+set}" = set; then 2603 echo $ECHO_N "(cached) $ECHO_C" >&6 2604else 2605 if test -n "$CC"; then 2606 ac_cv_prog_CC="$CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2617 break 2 2618 fi 2619done 2620done 2621IFS=$as_save_IFS 2622 2623fi 2624fi 2625CC=$ac_cv_prog_CC 2626if test -n "$CC"; then 2627 { echo "$as_me:$LINENO: result: $CC" >&5 2628echo "${ECHO_T}$CC" >&6; } 2629else 2630 { echo "$as_me:$LINENO: result: no" >&5 2631echo "${ECHO_T}no" >&6; } 2632fi 2633 2634 2635 test -n "$CC" && break 2636 done 2637fi 2638if test -z "$CC"; then 2639 ac_ct_CC=$CC 2640 for ac_prog in cl.exe 2641do 2642 # Extract the first word of "$ac_prog", so it can be a program name with args. 2643set dummy $ac_prog; ac_word=$2 2644{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2646if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2647 echo $ECHO_N "(cached) $ECHO_C" >&6 2648else 2649 if test -n "$ac_ct_CC"; then 2650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2651else 2652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2653for as_dir in $PATH 2654do 2655 IFS=$as_save_IFS 2656 test -z "$as_dir" && as_dir=. 2657 for ac_exec_ext in '' $ac_executable_extensions; do 2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2659 ac_cv_prog_ac_ct_CC="$ac_prog" 2660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2661 break 2 2662 fi 2663done 2664done 2665IFS=$as_save_IFS 2666 2667fi 2668fi 2669ac_ct_CC=$ac_cv_prog_ac_ct_CC 2670if test -n "$ac_ct_CC"; then 2671 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2672echo "${ECHO_T}$ac_ct_CC" >&6; } 2673else 2674 { echo "$as_me:$LINENO: result: no" >&5 2675echo "${ECHO_T}no" >&6; } 2676fi 2677 2678 2679 test -n "$ac_ct_CC" && break 2680done 2681 2682 if test "x$ac_ct_CC" = x; then 2683 CC="" 2684 else 2685 case $cross_compiling:$ac_tool_warned in 2686yes:) 2687{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2688whose name does not start with the host triplet. If you think this 2689configuration is useful to you, please write to autoconf@gnu.org." >&5 2690echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2691whose name does not start with the host triplet. If you think this 2692configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2693ac_tool_warned=yes ;; 2694esac 2695 CC=$ac_ct_CC 2696 fi 2697fi 2698 2699fi 2700 2701 2702test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2703See \`config.log' for more details." >&5 2704echo "$as_me: error: no acceptable C compiler found in \$PATH 2705See \`config.log' for more details." >&2;} 2706 { (exit 1); exit 1; }; } 2707 2708# Provide some information about the compiler. 2709echo "$as_me:$LINENO: checking for C compiler version" >&5 2710ac_compiler=`set X $ac_compile; echo $2` 2711{ (ac_try="$ac_compiler --version >&5" 2712case "(($ac_try" in 2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2714 *) ac_try_echo=$ac_try;; 2715esac 2716eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2717 (eval "$ac_compiler --version >&5") 2>&5 2718 ac_status=$? 2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2720 (exit $ac_status); } 2721{ (ac_try="$ac_compiler -v >&5" 2722case "(($ac_try" in 2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2724 *) ac_try_echo=$ac_try;; 2725esac 2726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2727 (eval "$ac_compiler -v >&5") 2>&5 2728 ac_status=$? 2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2730 (exit $ac_status); } 2731{ (ac_try="$ac_compiler -V >&5" 2732case "(($ac_try" in 2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2734 *) ac_try_echo=$ac_try;; 2735esac 2736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2737 (eval "$ac_compiler -V >&5") 2>&5 2738 ac_status=$? 2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2740 (exit $ac_status); } 2741 2742cat >conftest.$ac_ext <<_ACEOF 2743/* confdefs.h. */ 2744_ACEOF 2745cat confdefs.h >>conftest.$ac_ext 2746cat >>conftest.$ac_ext <<_ACEOF 2747/* end confdefs.h. */ 2748 2749int 2750main () 2751{ 2752 2753 ; 2754 return 0; 2755} 2756_ACEOF 2757ac_clean_files_save=$ac_clean_files 2758ac_clean_files="$ac_clean_files a.out a.exe b.out" 2759# Try to create an executable without -o first, disregard a.out. 2760# It will help us diagnose broken compilers, and finding out an intuition 2761# of exeext. 2762{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2763echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2764ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2765# 2766# List of possible output files, starting from the most likely. 2767# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2768# only as a last resort. b.out is created by i960 compilers. 2769ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2770# 2771# The IRIX 6 linker writes into existing files which may not be 2772# executable, retaining their permissions. Remove them first so a 2773# subsequent execution test works. 2774ac_rmfiles= 2775for ac_file in $ac_files 2776do 2777 case $ac_file in 2778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2779 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2780 esac 2781done 2782rm -f $ac_rmfiles 2783 2784if { (ac_try="$ac_link_default" 2785case "(($ac_try" in 2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2787 *) ac_try_echo=$ac_try;; 2788esac 2789eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2790 (eval "$ac_link_default") 2>&5 2791 ac_status=$? 2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2793 (exit $ac_status); }; then 2794 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2795# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2796# in a Makefile. We should not override ac_cv_exeext if it was cached, 2797# so that the user can short-circuit this test for compilers unknown to 2798# Autoconf. 2799for ac_file in $ac_files '' 2800do 2801 test -f "$ac_file" || continue 2802 case $ac_file in 2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2804 ;; 2805 [ab].out ) 2806 # We found the default executable, but exeext='' is most 2807 # certainly right. 2808 break;; 2809 *.* ) 2810 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2811 then :; else 2812 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2813 fi 2814 # We set ac_cv_exeext here because the later test for it is not 2815 # safe: cross compilers may not add the suffix if given an `-o' 2816 # argument, so we may need to know it at that point already. 2817 # Even if this section looks crufty: it has the advantage of 2818 # actually working. 2819 break;; 2820 * ) 2821 break;; 2822 esac 2823done 2824test "$ac_cv_exeext" = no && ac_cv_exeext= 2825 2826else 2827 ac_file='' 2828fi 2829 2830{ echo "$as_me:$LINENO: result: $ac_file" >&5 2831echo "${ECHO_T}$ac_file" >&6; } 2832if test -z "$ac_file"; then 2833 echo "$as_me: failed program was:" >&5 2834sed 's/^/| /' conftest.$ac_ext >&5 2835 2836{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2837See \`config.log' for more details." >&5 2838echo "$as_me: error: C compiler cannot create executables 2839See \`config.log' for more details." >&2;} 2840 { (exit 77); exit 77; }; } 2841fi 2842 2843ac_exeext=$ac_cv_exeext 2844 2845# Check that the compiler produces executables we can run. If not, either 2846# the compiler is broken, or we cross compile. 2847{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2848echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2849# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2850# If not cross compiling, check that we can run a simple program. 2851if test "$cross_compiling" != yes; then 2852 if { ac_try='./$ac_file' 2853 { (case "(($ac_try" in 2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2855 *) ac_try_echo=$ac_try;; 2856esac 2857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2858 (eval "$ac_try") 2>&5 2859 ac_status=$? 2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2861 (exit $ac_status); }; }; then 2862 cross_compiling=no 2863 else 2864 if test "$cross_compiling" = maybe; then 2865 cross_compiling=yes 2866 else 2867 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2868If you meant to cross compile, use \`--host'. 2869See \`config.log' for more details." >&5 2870echo "$as_me: error: cannot run C compiled programs. 2871If you meant to cross compile, use \`--host'. 2872See \`config.log' for more details." >&2;} 2873 { (exit 1); exit 1; }; } 2874 fi 2875 fi 2876fi 2877{ echo "$as_me:$LINENO: result: yes" >&5 2878echo "${ECHO_T}yes" >&6; } 2879 2880rm -f a.out a.exe conftest$ac_cv_exeext b.out 2881ac_clean_files=$ac_clean_files_save 2882# Check that the compiler produces executables we can run. If not, either 2883# the compiler is broken, or we cross compile. 2884{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2885echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2886{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2887echo "${ECHO_T}$cross_compiling" >&6; } 2888 2889{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2890echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2891if { (ac_try="$ac_link" 2892case "(($ac_try" in 2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2894 *) ac_try_echo=$ac_try;; 2895esac 2896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2897 (eval "$ac_link") 2>&5 2898 ac_status=$? 2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 (exit $ac_status); }; then 2901 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2902# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2903# work properly (i.e., refer to `conftest.exe'), while it won't with 2904# `rm'. 2905for ac_file in conftest.exe conftest conftest.*; do 2906 test -f "$ac_file" || continue 2907 case $ac_file in 2908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2909 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2910 break;; 2911 * ) break;; 2912 esac 2913done 2914else 2915 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2916See \`config.log' for more details." >&5 2917echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2918See \`config.log' for more details." >&2;} 2919 { (exit 1); exit 1; }; } 2920fi 2921 2922rm -f conftest$ac_cv_exeext 2923{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2924echo "${ECHO_T}$ac_cv_exeext" >&6; } 2925 2926rm -f conftest.$ac_ext 2927EXEEXT=$ac_cv_exeext 2928ac_exeext=$EXEEXT 2929{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2930echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2931if test "${ac_cv_objext+set}" = set; then 2932 echo $ECHO_N "(cached) $ECHO_C" >&6 2933else 2934 cat >conftest.$ac_ext <<_ACEOF 2935/* confdefs.h. */ 2936_ACEOF 2937cat confdefs.h >>conftest.$ac_ext 2938cat >>conftest.$ac_ext <<_ACEOF 2939/* end confdefs.h. */ 2940 2941int 2942main () 2943{ 2944 2945 ; 2946 return 0; 2947} 2948_ACEOF 2949rm -f conftest.o conftest.obj 2950if { (ac_try="$ac_compile" 2951case "(($ac_try" in 2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2953 *) ac_try_echo=$ac_try;; 2954esac 2955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2956 (eval "$ac_compile") 2>&5 2957 ac_status=$? 2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2959 (exit $ac_status); }; then 2960 for ac_file in conftest.o conftest.obj conftest.*; do 2961 test -f "$ac_file" || continue; 2962 case $ac_file in 2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2964 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2965 break;; 2966 esac 2967done 2968else 2969 echo "$as_me: failed program was:" >&5 2970sed 's/^/| /' conftest.$ac_ext >&5 2971 2972{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2973See \`config.log' for more details." >&5 2974echo "$as_me: error: cannot compute suffix of object files: cannot compile 2975See \`config.log' for more details." >&2;} 2976 { (exit 1); exit 1; }; } 2977fi 2978 2979rm -f conftest.$ac_cv_objext conftest.$ac_ext 2980fi 2981{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2982echo "${ECHO_T}$ac_cv_objext" >&6; } 2983OBJEXT=$ac_cv_objext 2984ac_objext=$OBJEXT 2985{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2986echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2987if test "${ac_cv_c_compiler_gnu+set}" = set; then 2988 echo $ECHO_N "(cached) $ECHO_C" >&6 2989else 2990 cat >conftest.$ac_ext <<_ACEOF 2991/* confdefs.h. */ 2992_ACEOF 2993cat confdefs.h >>conftest.$ac_ext 2994cat >>conftest.$ac_ext <<_ACEOF 2995/* end confdefs.h. */ 2996 2997int 2998main () 2999{ 3000#ifndef __GNUC__ 3001 choke me 3002#endif 3003 3004 ; 3005 return 0; 3006} 3007_ACEOF 3008rm -f conftest.$ac_objext 3009if { (ac_try="$ac_compile" 3010case "(($ac_try" in 3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3012 *) ac_try_echo=$ac_try;; 3013esac 3014eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3015 (eval "$ac_compile") 2>conftest.er1 3016 ac_status=$? 3017 grep -v '^ *+' conftest.er1 >conftest.err 3018 rm -f conftest.er1 3019 cat conftest.err >&5 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3021 (exit $ac_status); } && { 3022 test -z "$ac_c_werror_flag" || 3023 test ! -s conftest.err 3024 } && test -s conftest.$ac_objext; then 3025 ac_compiler_gnu=yes 3026else 3027 echo "$as_me: failed program was:" >&5 3028sed 's/^/| /' conftest.$ac_ext >&5 3029 3030 ac_compiler_gnu=no 3031fi 3032 3033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3034ac_cv_c_compiler_gnu=$ac_compiler_gnu 3035 3036fi 3037{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3038echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3039GCC=`test $ac_compiler_gnu = yes && echo yes` 3040ac_test_CFLAGS=${CFLAGS+set} 3041ac_save_CFLAGS=$CFLAGS 3042{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3043echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3044if test "${ac_cv_prog_cc_g+set}" = set; then 3045 echo $ECHO_N "(cached) $ECHO_C" >&6 3046else 3047 ac_save_c_werror_flag=$ac_c_werror_flag 3048 ac_c_werror_flag=yes 3049 ac_cv_prog_cc_g=no 3050 CFLAGS="-g" 3051 cat >conftest.$ac_ext <<_ACEOF 3052/* confdefs.h. */ 3053_ACEOF 3054cat confdefs.h >>conftest.$ac_ext 3055cat >>conftest.$ac_ext <<_ACEOF 3056/* end confdefs.h. */ 3057 3058int 3059main () 3060{ 3061 3062 ; 3063 return 0; 3064} 3065_ACEOF 3066rm -f conftest.$ac_objext 3067if { (ac_try="$ac_compile" 3068case "(($ac_try" in 3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3070 *) ac_try_echo=$ac_try;; 3071esac 3072eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3073 (eval "$ac_compile") 2>conftest.er1 3074 ac_status=$? 3075 grep -v '^ *+' conftest.er1 >conftest.err 3076 rm -f conftest.er1 3077 cat conftest.err >&5 3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 (exit $ac_status); } && { 3080 test -z "$ac_c_werror_flag" || 3081 test ! -s conftest.err 3082 } && test -s conftest.$ac_objext; then 3083 ac_cv_prog_cc_g=yes 3084else 3085 echo "$as_me: failed program was:" >&5 3086sed 's/^/| /' conftest.$ac_ext >&5 3087 3088 CFLAGS="" 3089 cat >conftest.$ac_ext <<_ACEOF 3090/* confdefs.h. */ 3091_ACEOF 3092cat confdefs.h >>conftest.$ac_ext 3093cat >>conftest.$ac_ext <<_ACEOF 3094/* end confdefs.h. */ 3095 3096int 3097main () 3098{ 3099 3100 ; 3101 return 0; 3102} 3103_ACEOF 3104rm -f conftest.$ac_objext 3105if { (ac_try="$ac_compile" 3106case "(($ac_try" in 3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3108 *) ac_try_echo=$ac_try;; 3109esac 3110eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3111 (eval "$ac_compile") 2>conftest.er1 3112 ac_status=$? 3113 grep -v '^ *+' conftest.er1 >conftest.err 3114 rm -f conftest.er1 3115 cat conftest.err >&5 3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3117 (exit $ac_status); } && { 3118 test -z "$ac_c_werror_flag" || 3119 test ! -s conftest.err 3120 } && test -s conftest.$ac_objext; then 3121 : 3122else 3123 echo "$as_me: failed program was:" >&5 3124sed 's/^/| /' conftest.$ac_ext >&5 3125 3126 ac_c_werror_flag=$ac_save_c_werror_flag 3127 CFLAGS="-g" 3128 cat >conftest.$ac_ext <<_ACEOF 3129/* confdefs.h. */ 3130_ACEOF 3131cat confdefs.h >>conftest.$ac_ext 3132cat >>conftest.$ac_ext <<_ACEOF 3133/* end confdefs.h. */ 3134 3135int 3136main () 3137{ 3138 3139 ; 3140 return 0; 3141} 3142_ACEOF 3143rm -f conftest.$ac_objext 3144if { (ac_try="$ac_compile" 3145case "(($ac_try" in 3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3147 *) ac_try_echo=$ac_try;; 3148esac 3149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3150 (eval "$ac_compile") 2>conftest.er1 3151 ac_status=$? 3152 grep -v '^ *+' conftest.er1 >conftest.err 3153 rm -f conftest.er1 3154 cat conftest.err >&5 3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3156 (exit $ac_status); } && { 3157 test -z "$ac_c_werror_flag" || 3158 test ! -s conftest.err 3159 } && test -s conftest.$ac_objext; then 3160 ac_cv_prog_cc_g=yes 3161else 3162 echo "$as_me: failed program was:" >&5 3163sed 's/^/| /' conftest.$ac_ext >&5 3164 3165 3166fi 3167 3168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3169fi 3170 3171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3172fi 3173 3174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3175 ac_c_werror_flag=$ac_save_c_werror_flag 3176fi 3177{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3178echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3179if test "$ac_test_CFLAGS" = set; then 3180 CFLAGS=$ac_save_CFLAGS 3181elif test $ac_cv_prog_cc_g = yes; then 3182 if test "$GCC" = yes; then 3183 CFLAGS="-g -O2" 3184 else 3185 CFLAGS="-g" 3186 fi 3187else 3188 if test "$GCC" = yes; then 3189 CFLAGS="-O2" 3190 else 3191 CFLAGS= 3192 fi 3193fi 3194{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3195echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3196if test "${ac_cv_prog_cc_c89+set}" = set; then 3197 echo $ECHO_N "(cached) $ECHO_C" >&6 3198else 3199 ac_cv_prog_cc_c89=no 3200ac_save_CC=$CC 3201cat >conftest.$ac_ext <<_ACEOF 3202/* confdefs.h. */ 3203_ACEOF 3204cat confdefs.h >>conftest.$ac_ext 3205cat >>conftest.$ac_ext <<_ACEOF 3206/* end confdefs.h. */ 3207#include <stdarg.h> 3208#include <stdio.h> 3209#include <sys/types.h> 3210#include <sys/stat.h> 3211/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3212struct buf { int x; }; 3213FILE * (*rcsopen) (struct buf *, struct stat *, int); 3214static char *e (p, i) 3215 char **p; 3216 int i; 3217{ 3218 return p[i]; 3219} 3220static char *f (char * (*g) (char **, int), char **p, ...) 3221{ 3222 char *s; 3223 va_list v; 3224 va_start (v,p); 3225 s = g (p, va_arg (v,int)); 3226 va_end (v); 3227 return s; 3228} 3229 3230/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3231 function prototypes and stuff, but not '\xHH' hex character constants. 3232 These don't provoke an error unfortunately, instead are silently treated 3233 as 'x'. The following induces an error, until -std is added to get 3234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3235 array size at least. It's necessary to write '\x00'==0 to get something 3236 that's true only with -std. */ 3237int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3238 3239/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3240 inside strings and character constants. */ 3241#define FOO(x) 'x' 3242int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3243 3244int test (int i, double x); 3245struct s1 {int (*f) (int a);}; 3246struct s2 {int (*f) (double a);}; 3247int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3248int argc; 3249char **argv; 3250int 3251main () 3252{ 3253return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3254 ; 3255 return 0; 3256} 3257_ACEOF 3258for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3260do 3261 CC="$ac_save_CC $ac_arg" 3262 rm -f conftest.$ac_objext 3263if { (ac_try="$ac_compile" 3264case "(($ac_try" in 3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3266 *) ac_try_echo=$ac_try;; 3267esac 3268eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3269 (eval "$ac_compile") 2>conftest.er1 3270 ac_status=$? 3271 grep -v '^ *+' conftest.er1 >conftest.err 3272 rm -f conftest.er1 3273 cat conftest.err >&5 3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); } && { 3276 test -z "$ac_c_werror_flag" || 3277 test ! -s conftest.err 3278 } && test -s conftest.$ac_objext; then 3279 ac_cv_prog_cc_c89=$ac_arg 3280else 3281 echo "$as_me: failed program was:" >&5 3282sed 's/^/| /' conftest.$ac_ext >&5 3283 3284 3285fi 3286 3287rm -f core conftest.err conftest.$ac_objext 3288 test "x$ac_cv_prog_cc_c89" != "xno" && break 3289done 3290rm -f conftest.$ac_ext 3291CC=$ac_save_CC 3292 3293fi 3294# AC_CACHE_VAL 3295case "x$ac_cv_prog_cc_c89" in 3296 x) 3297 { echo "$as_me:$LINENO: result: none needed" >&5 3298echo "${ECHO_T}none needed" >&6; } ;; 3299 xno) 3300 { echo "$as_me:$LINENO: result: unsupported" >&5 3301echo "${ECHO_T}unsupported" >&6; } ;; 3302 *) 3303 CC="$CC $ac_cv_prog_cc_c89" 3304 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3305echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3306esac 3307 3308 3309ac_ext=c 3310ac_cpp='$CPP $CPPFLAGS' 3311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3313ac_compiler_gnu=$ac_cv_c_compiler_gnu 3314 3315depcc="$CC" am_compiler_list= 3316 3317{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3318echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3319if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3320 echo $ECHO_N "(cached) $ECHO_C" >&6 3321else 3322 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3323 # We make a subdir and do the tests there. Otherwise we can end up 3324 # making bogus files that we don't know about and never remove. For 3325 # instance it was reported that on HP-UX the gcc test will end up 3326 # making a dummy file named `D' -- because `-MD' means `put the output 3327 # in D'. 3328 mkdir conftest.dir 3329 # Copy depcomp to subdir because otherwise we won't find it if we're 3330 # using a relative directory. 3331 cp "$am_depcomp" conftest.dir 3332 cd conftest.dir 3333 # We will build objects and dependencies in a subdirectory because 3334 # it helps to detect inapplicable dependency modes. For instance 3335 # both Tru64's cc and ICC support -MD to output dependencies as a 3336 # side effect of compilation, but ICC will put the dependencies in 3337 # the current directory while Tru64 will put them in the object 3338 # directory. 3339 mkdir sub 3340 3341 am_cv_CC_dependencies_compiler_type=none 3342 if test "$am_compiler_list" = ""; then 3343 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3344 fi 3345 for depmode in $am_compiler_list; do 3346 # Setup a source with many dependencies, because some compilers 3347 # like to wrap large dependency lists on column 80 (with \), and 3348 # we should not choose a depcomp mode which is confused by this. 3349 # 3350 # We need to recreate these files for each test, as the compiler may 3351 # overwrite some of them when testing with obscure command lines. 3352 # This happens at least with the AIX C compiler. 3353 : > sub/conftest.c 3354 for i in 1 2 3 4 5 6; do 3355 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3356 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3357 # Solaris 8's {/usr,}/bin/sh. 3358 touch sub/conftst$i.h 3359 done 3360 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3361 3362 case $depmode in 3363 nosideeffect) 3364 # after this tag, mechanisms are not by side-effect, so they'll 3365 # only be used when explicitly requested 3366 if test "x$enable_dependency_tracking" = xyes; then 3367 continue 3368 else 3369 break 3370 fi 3371 ;; 3372 none) break ;; 3373 esac 3374 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3375 # mode. It turns out that the SunPro C++ compiler does not properly 3376 # handle `-M -o', and we need to detect this. 3377 if depmode=$depmode \ 3378 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3379 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3380 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3381 >/dev/null 2>conftest.err && 3382 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3383 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3384 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3385 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3386 # icc doesn't choke on unknown options, it will just issue warnings 3387 # or remarks (even with -Werror). So we grep stderr for any message 3388 # that says an option was ignored or not supported. 3389 # When given -MP, icc 7.0 and 7.1 complain thusly: 3390 # icc: Command line warning: ignoring option '-M'; no argument required 3391 # The diagnosis changed in icc 8.0: 3392 # icc: Command line remark: option '-MP' not supported 3393 if (grep 'ignoring option' conftest.err || 3394 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3395 am_cv_CC_dependencies_compiler_type=$depmode 3396 break 3397 fi 3398 fi 3399 done 3400 3401 cd .. 3402 rm -rf conftest.dir 3403else 3404 am_cv_CC_dependencies_compiler_type=none 3405fi 3406 3407fi 3408{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3409echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3410CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3411 3412 if 3413 test "x$enable_dependency_tracking" != xno \ 3414 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3415 am__fastdepCC_TRUE= 3416 am__fastdepCC_FALSE='#' 3417else 3418 am__fastdepCC_TRUE='#' 3419 am__fastdepCC_FALSE= 3420fi 3421 3422 3423 3424ac_ext=c 3425ac_cpp='$CPP $CPPFLAGS' 3426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3428ac_compiler_gnu=$ac_cv_c_compiler_gnu 3429{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3430echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3431# On Suns, sometimes $CPP names a directory. 3432if test -n "$CPP" && test -d "$CPP"; then 3433 CPP= 3434fi 3435if test -z "$CPP"; then 3436 if test "${ac_cv_prog_CPP+set}" = set; then 3437 echo $ECHO_N "(cached) $ECHO_C" >&6 3438else 3439 # Double quotes because CPP needs to be expanded 3440 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3441 do 3442 ac_preproc_ok=false 3443for ac_c_preproc_warn_flag in '' yes 3444do 3445 # Use a header file that comes with gcc, so configuring glibc 3446 # with a fresh cross-compiler works. 3447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3448 # <limits.h> exists even on freestanding compilers. 3449 # On the NeXT, cc -E runs the code through the compiler's parser, 3450 # not just through cpp. "Syntax error" is here to catch this case. 3451 cat >conftest.$ac_ext <<_ACEOF 3452/* confdefs.h. */ 3453_ACEOF 3454cat confdefs.h >>conftest.$ac_ext 3455cat >>conftest.$ac_ext <<_ACEOF 3456/* end confdefs.h. */ 3457#ifdef __STDC__ 3458# include <limits.h> 3459#else 3460# include <assert.h> 3461#endif 3462 Syntax error 3463_ACEOF 3464if { (ac_try="$ac_cpp conftest.$ac_ext" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3471 ac_status=$? 3472 grep -v '^ *+' conftest.er1 >conftest.err 3473 rm -f conftest.er1 3474 cat conftest.err >&5 3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3476 (exit $ac_status); } >/dev/null && { 3477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3478 test ! -s conftest.err 3479 }; then 3480 : 3481else 3482 echo "$as_me: failed program was:" >&5 3483sed 's/^/| /' conftest.$ac_ext >&5 3484 3485 # Broken: fails on valid input. 3486continue 3487fi 3488 3489rm -f conftest.err conftest.$ac_ext 3490 3491 # OK, works on sane cases. Now check whether nonexistent headers 3492 # can be detected and how. 3493 cat >conftest.$ac_ext <<_ACEOF 3494/* confdefs.h. */ 3495_ACEOF 3496cat confdefs.h >>conftest.$ac_ext 3497cat >>conftest.$ac_ext <<_ACEOF 3498/* end confdefs.h. */ 3499#include <ac_nonexistent.h> 3500_ACEOF 3501if { (ac_try="$ac_cpp conftest.$ac_ext" 3502case "(($ac_try" in 3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3504 *) ac_try_echo=$ac_try;; 3505esac 3506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3508 ac_status=$? 3509 grep -v '^ *+' conftest.er1 >conftest.err 3510 rm -f conftest.er1 3511 cat conftest.err >&5 3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3513 (exit $ac_status); } >/dev/null && { 3514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3515 test ! -s conftest.err 3516 }; then 3517 # Broken: success on invalid input. 3518continue 3519else 3520 echo "$as_me: failed program was:" >&5 3521sed 's/^/| /' conftest.$ac_ext >&5 3522 3523 # Passes both tests. 3524ac_preproc_ok=: 3525break 3526fi 3527 3528rm -f conftest.err conftest.$ac_ext 3529 3530done 3531# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3532rm -f conftest.err conftest.$ac_ext 3533if $ac_preproc_ok; then 3534 break 3535fi 3536 3537 done 3538 ac_cv_prog_CPP=$CPP 3539 3540fi 3541 CPP=$ac_cv_prog_CPP 3542else 3543 ac_cv_prog_CPP=$CPP 3544fi 3545{ echo "$as_me:$LINENO: result: $CPP" >&5 3546echo "${ECHO_T}$CPP" >&6; } 3547ac_preproc_ok=false 3548for ac_c_preproc_warn_flag in '' yes 3549do 3550 # Use a header file that comes with gcc, so configuring glibc 3551 # with a fresh cross-compiler works. 3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3553 # <limits.h> exists even on freestanding compilers. 3554 # On the NeXT, cc -E runs the code through the compiler's parser, 3555 # not just through cpp. "Syntax error" is here to catch this case. 3556 cat >conftest.$ac_ext <<_ACEOF 3557/* confdefs.h. */ 3558_ACEOF 3559cat confdefs.h >>conftest.$ac_ext 3560cat >>conftest.$ac_ext <<_ACEOF 3561/* end confdefs.h. */ 3562#ifdef __STDC__ 3563# include <limits.h> 3564#else 3565# include <assert.h> 3566#endif 3567 Syntax error 3568_ACEOF 3569if { (ac_try="$ac_cpp conftest.$ac_ext" 3570case "(($ac_try" in 3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3572 *) ac_try_echo=$ac_try;; 3573esac 3574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3576 ac_status=$? 3577 grep -v '^ *+' conftest.er1 >conftest.err 3578 rm -f conftest.er1 3579 cat conftest.err >&5 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } >/dev/null && { 3582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3583 test ! -s conftest.err 3584 }; then 3585 : 3586else 3587 echo "$as_me: failed program was:" >&5 3588sed 's/^/| /' conftest.$ac_ext >&5 3589 3590 # Broken: fails on valid input. 3591continue 3592fi 3593 3594rm -f conftest.err conftest.$ac_ext 3595 3596 # OK, works on sane cases. Now check whether nonexistent headers 3597 # can be detected and how. 3598 cat >conftest.$ac_ext <<_ACEOF 3599/* confdefs.h. */ 3600_ACEOF 3601cat confdefs.h >>conftest.$ac_ext 3602cat >>conftest.$ac_ext <<_ACEOF 3603/* end confdefs.h. */ 3604#include <ac_nonexistent.h> 3605_ACEOF 3606if { (ac_try="$ac_cpp conftest.$ac_ext" 3607case "(($ac_try" in 3608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3609 *) ac_try_echo=$ac_try;; 3610esac 3611eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3613 ac_status=$? 3614 grep -v '^ *+' conftest.er1 >conftest.err 3615 rm -f conftest.er1 3616 cat conftest.err >&5 3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3618 (exit $ac_status); } >/dev/null && { 3619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3620 test ! -s conftest.err 3621 }; then 3622 # Broken: success on invalid input. 3623continue 3624else 3625 echo "$as_me: failed program was:" >&5 3626sed 's/^/| /' conftest.$ac_ext >&5 3627 3628 # Passes both tests. 3629ac_preproc_ok=: 3630break 3631fi 3632 3633rm -f conftest.err conftest.$ac_ext 3634 3635done 3636# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3637rm -f conftest.err conftest.$ac_ext 3638if $ac_preproc_ok; then 3639 : 3640else 3641 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3642See \`config.log' for more details." >&5 3643echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3644See \`config.log' for more details." >&2;} 3645 { (exit 1); exit 1; }; } 3646fi 3647 3648ac_ext=c 3649ac_cpp='$CPP $CPPFLAGS' 3650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3652ac_compiler_gnu=$ac_cv_c_compiler_gnu 3653 3654 3655{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3656echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3657if test "${ac_cv_path_GREP+set}" = set; then 3658 echo $ECHO_N "(cached) $ECHO_C" >&6 3659else 3660 # Extract the first word of "grep ggrep" to use in msg output 3661if test -z "$GREP"; then 3662set dummy grep ggrep; ac_prog_name=$2 3663if test "${ac_cv_path_GREP+set}" = set; then 3664 echo $ECHO_N "(cached) $ECHO_C" >&6 3665else 3666 ac_path_GREP_found=false 3667# Loop through the user's path and test for each of PROGNAME-LIST 3668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3669for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3670do 3671 IFS=$as_save_IFS 3672 test -z "$as_dir" && as_dir=. 3673 for ac_prog in grep ggrep; do 3674 for ac_exec_ext in '' $ac_executable_extensions; do 3675 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3676 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3677 # Check for GNU ac_path_GREP and select it if it is found. 3678 # Check for GNU $ac_path_GREP 3679case `"$ac_path_GREP" --version 2>&1` in 3680*GNU*) 3681 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3682*) 3683 ac_count=0 3684 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3685 while : 3686 do 3687 cat "conftest.in" "conftest.in" >"conftest.tmp" 3688 mv "conftest.tmp" "conftest.in" 3689 cp "conftest.in" "conftest.nl" 3690 echo 'GREP' >> "conftest.nl" 3691 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3692 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3693 ac_count=`expr $ac_count + 1` 3694 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3695 # Best one so far, save it but keep looking for a better one 3696 ac_cv_path_GREP="$ac_path_GREP" 3697 ac_path_GREP_max=$ac_count 3698 fi 3699 # 10*(2^10) chars as input seems more than enough 3700 test $ac_count -gt 10 && break 3701 done 3702 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3703esac 3704 3705 3706 $ac_path_GREP_found && break 3 3707 done 3708done 3709 3710done 3711IFS=$as_save_IFS 3712 3713 3714fi 3715 3716GREP="$ac_cv_path_GREP" 3717if test -z "$GREP"; then 3718 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3719echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3720 { (exit 1); exit 1; }; } 3721fi 3722 3723else 3724 ac_cv_path_GREP=$GREP 3725fi 3726 3727 3728fi 3729{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3730echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3731 GREP="$ac_cv_path_GREP" 3732 3733 3734{ echo "$as_me:$LINENO: checking for egrep" >&5 3735echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3736if test "${ac_cv_path_EGREP+set}" = set; then 3737 echo $ECHO_N "(cached) $ECHO_C" >&6 3738else 3739 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3740 then ac_cv_path_EGREP="$GREP -E" 3741 else 3742 # Extract the first word of "egrep" to use in msg output 3743if test -z "$EGREP"; then 3744set dummy egrep; ac_prog_name=$2 3745if test "${ac_cv_path_EGREP+set}" = set; then 3746 echo $ECHO_N "(cached) $ECHO_C" >&6 3747else 3748 ac_path_EGREP_found=false 3749# Loop through the user's path and test for each of PROGNAME-LIST 3750as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3751for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3752do 3753 IFS=$as_save_IFS 3754 test -z "$as_dir" && as_dir=. 3755 for ac_prog in egrep; do 3756 for ac_exec_ext in '' $ac_executable_extensions; do 3757 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3758 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3759 # Check for GNU ac_path_EGREP and select it if it is found. 3760 # Check for GNU $ac_path_EGREP 3761case `"$ac_path_EGREP" --version 2>&1` in 3762*GNU*) 3763 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3764*) 3765 ac_count=0 3766 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3767 while : 3768 do 3769 cat "conftest.in" "conftest.in" >"conftest.tmp" 3770 mv "conftest.tmp" "conftest.in" 3771 cp "conftest.in" "conftest.nl" 3772 echo 'EGREP' >> "conftest.nl" 3773 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3774 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3775 ac_count=`expr $ac_count + 1` 3776 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3777 # Best one so far, save it but keep looking for a better one 3778 ac_cv_path_EGREP="$ac_path_EGREP" 3779 ac_path_EGREP_max=$ac_count 3780 fi 3781 # 10*(2^10) chars as input seems more than enough 3782 test $ac_count -gt 10 && break 3783 done 3784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3785esac 3786 3787 3788 $ac_path_EGREP_found && break 3 3789 done 3790done 3791 3792done 3793IFS=$as_save_IFS 3794 3795 3796fi 3797 3798EGREP="$ac_cv_path_EGREP" 3799if test -z "$EGREP"; then 3800 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3801echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3802 { (exit 1); exit 1; }; } 3803fi 3804 3805else 3806 ac_cv_path_EGREP=$EGREP 3807fi 3808 3809 3810 fi 3811fi 3812{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3813echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3814 EGREP="$ac_cv_path_EGREP" 3815 3816 3817 3818{ echo "$as_me:$LINENO: checking for AIX" >&5 3819echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3820cat >conftest.$ac_ext <<_ACEOF 3821/* confdefs.h. */ 3822_ACEOF 3823cat confdefs.h >>conftest.$ac_ext 3824cat >>conftest.$ac_ext <<_ACEOF 3825/* end confdefs.h. */ 3826#ifdef _AIX 3827 yes 3828#endif 3829 3830_ACEOF 3831if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3832 $EGREP "yes" >/dev/null 2>&1; then 3833 { echo "$as_me:$LINENO: result: yes" >&5 3834echo "${ECHO_T}yes" >&6; } 3835cat >>confdefs.h <<\_ACEOF 3836#define _ALL_SOURCE 1 3837_ACEOF 3838 3839else 3840 { echo "$as_me:$LINENO: result: no" >&5 3841echo "${ECHO_T}no" >&6; } 3842fi 3843rm -f conftest* 3844 3845 3846{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3847echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3848if test "${ac_cv_header_stdc+set}" = set; then 3849 echo $ECHO_N "(cached) $ECHO_C" >&6 3850else 3851 cat >conftest.$ac_ext <<_ACEOF 3852/* confdefs.h. */ 3853_ACEOF 3854cat confdefs.h >>conftest.$ac_ext 3855cat >>conftest.$ac_ext <<_ACEOF 3856/* end confdefs.h. */ 3857#include <stdlib.h> 3858#include <stdarg.h> 3859#include <string.h> 3860#include <float.h> 3861 3862int 3863main () 3864{ 3865 3866 ; 3867 return 0; 3868} 3869_ACEOF 3870rm -f conftest.$ac_objext 3871if { (ac_try="$ac_compile" 3872case "(($ac_try" in 3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3874 *) ac_try_echo=$ac_try;; 3875esac 3876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3877 (eval "$ac_compile") 2>conftest.er1 3878 ac_status=$? 3879 grep -v '^ *+' conftest.er1 >conftest.err 3880 rm -f conftest.er1 3881 cat conftest.err >&5 3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3883 (exit $ac_status); } && { 3884 test -z "$ac_c_werror_flag" || 3885 test ! -s conftest.err 3886 } && test -s conftest.$ac_objext; then 3887 ac_cv_header_stdc=yes 3888else 3889 echo "$as_me: failed program was:" >&5 3890sed 's/^/| /' conftest.$ac_ext >&5 3891 3892 ac_cv_header_stdc=no 3893fi 3894 3895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3896 3897if test $ac_cv_header_stdc = yes; then 3898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3899 cat >conftest.$ac_ext <<_ACEOF 3900/* confdefs.h. */ 3901_ACEOF 3902cat confdefs.h >>conftest.$ac_ext 3903cat >>conftest.$ac_ext <<_ACEOF 3904/* end confdefs.h. */ 3905#include <string.h> 3906 3907_ACEOF 3908if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3909 $EGREP "memchr" >/dev/null 2>&1; then 3910 : 3911else 3912 ac_cv_header_stdc=no 3913fi 3914rm -f conftest* 3915 3916fi 3917 3918if test $ac_cv_header_stdc = yes; then 3919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3920 cat >conftest.$ac_ext <<_ACEOF 3921/* confdefs.h. */ 3922_ACEOF 3923cat confdefs.h >>conftest.$ac_ext 3924cat >>conftest.$ac_ext <<_ACEOF 3925/* end confdefs.h. */ 3926#include <stdlib.h> 3927 3928_ACEOF 3929if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3930 $EGREP "free" >/dev/null 2>&1; then 3931 : 3932else 3933 ac_cv_header_stdc=no 3934fi 3935rm -f conftest* 3936 3937fi 3938 3939if test $ac_cv_header_stdc = yes; then 3940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3941 if test "$cross_compiling" = yes; then 3942 : 3943else 3944 cat >conftest.$ac_ext <<_ACEOF 3945/* confdefs.h. */ 3946_ACEOF 3947cat confdefs.h >>conftest.$ac_ext 3948cat >>conftest.$ac_ext <<_ACEOF 3949/* end confdefs.h. */ 3950#include <ctype.h> 3951#include <stdlib.h> 3952#if ((' ' & 0x0FF) == 0x020) 3953# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3954# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3955#else 3956# define ISLOWER(c) \ 3957 (('a' <= (c) && (c) <= 'i') \ 3958 || ('j' <= (c) && (c) <= 'r') \ 3959 || ('s' <= (c) && (c) <= 'z')) 3960# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3961#endif 3962 3963#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3964int 3965main () 3966{ 3967 int i; 3968 for (i = 0; i < 256; i++) 3969 if (XOR (islower (i), ISLOWER (i)) 3970 || toupper (i) != TOUPPER (i)) 3971 return 2; 3972 return 0; 3973} 3974_ACEOF 3975rm -f conftest$ac_exeext 3976if { (ac_try="$ac_link" 3977case "(($ac_try" in 3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3979 *) ac_try_echo=$ac_try;; 3980esac 3981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3982 (eval "$ac_link") 2>&5 3983 ac_status=$? 3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3986 { (case "(($ac_try" in 3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3988 *) ac_try_echo=$ac_try;; 3989esac 3990eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3991 (eval "$ac_try") 2>&5 3992 ac_status=$? 3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3994 (exit $ac_status); }; }; then 3995 : 3996else 3997 echo "$as_me: program exited with status $ac_status" >&5 3998echo "$as_me: failed program was:" >&5 3999sed 's/^/| /' conftest.$ac_ext >&5 4000 4001( exit $ac_status ) 4002ac_cv_header_stdc=no 4003fi 4004rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4005fi 4006 4007 4008fi 4009fi 4010{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4011echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4012if test $ac_cv_header_stdc = yes; then 4013 4014cat >>confdefs.h <<\_ACEOF 4015#define STDC_HEADERS 1 4016_ACEOF 4017 4018fi 4019 4020# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4031 inttypes.h stdint.h unistd.h 4032do 4033as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4034{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4035echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4036if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4037 echo $ECHO_N "(cached) $ECHO_C" >&6 4038else 4039 cat >conftest.$ac_ext <<_ACEOF 4040/* confdefs.h. */ 4041_ACEOF 4042cat confdefs.h >>conftest.$ac_ext 4043cat >>conftest.$ac_ext <<_ACEOF 4044/* end confdefs.h. */ 4045$ac_includes_default 4046 4047#include <$ac_header> 4048_ACEOF 4049rm -f conftest.$ac_objext 4050if { (ac_try="$ac_compile" 4051case "(($ac_try" in 4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4053 *) ac_try_echo=$ac_try;; 4054esac 4055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4056 (eval "$ac_compile") 2>conftest.er1 4057 ac_status=$? 4058 grep -v '^ *+' conftest.er1 >conftest.err 4059 rm -f conftest.er1 4060 cat conftest.err >&5 4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4062 (exit $ac_status); } && { 4063 test -z "$ac_c_werror_flag" || 4064 test ! -s conftest.err 4065 } && test -s conftest.$ac_objext; then 4066 eval "$as_ac_Header=yes" 4067else 4068 echo "$as_me: failed program was:" >&5 4069sed 's/^/| /' conftest.$ac_ext >&5 4070 4071 eval "$as_ac_Header=no" 4072fi 4073 4074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4075fi 4076ac_res=`eval echo '${'$as_ac_Header'}'` 4077 { echo "$as_me:$LINENO: result: $ac_res" >&5 4078echo "${ECHO_T}$ac_res" >&6; } 4079if test `eval echo '${'$as_ac_Header'}'` = yes; then 4080 cat >>confdefs.h <<_ACEOF 4081#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4082_ACEOF 4083 4084fi 4085 4086done 4087 4088 4089if test "${ac_cv_header_minix_config_h+set}" = set; then 4090 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4091echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 4092if test "${ac_cv_header_minix_config_h+set}" = set; then 4093 echo $ECHO_N "(cached) $ECHO_C" >&6 4094fi 4095{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4096echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 4097else 4098 # Is the header compilable? 4099{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4100echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 4101cat >conftest.$ac_ext <<_ACEOF 4102/* confdefs.h. */ 4103_ACEOF 4104cat confdefs.h >>conftest.$ac_ext 4105cat >>conftest.$ac_ext <<_ACEOF 4106/* end confdefs.h. */ 4107$ac_includes_default 4108#include <minix/config.h> 4109_ACEOF 4110rm -f conftest.$ac_objext 4111if { (ac_try="$ac_compile" 4112case "(($ac_try" in 4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4114 *) ac_try_echo=$ac_try;; 4115esac 4116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4117 (eval "$ac_compile") 2>conftest.er1 4118 ac_status=$? 4119 grep -v '^ *+' conftest.er1 >conftest.err 4120 rm -f conftest.er1 4121 cat conftest.err >&5 4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4123 (exit $ac_status); } && { 4124 test -z "$ac_c_werror_flag" || 4125 test ! -s conftest.err 4126 } && test -s conftest.$ac_objext; then 4127 ac_header_compiler=yes 4128else 4129 echo "$as_me: failed program was:" >&5 4130sed 's/^/| /' conftest.$ac_ext >&5 4131 4132 ac_header_compiler=no 4133fi 4134 4135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4136{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4137echo "${ECHO_T}$ac_header_compiler" >&6; } 4138 4139# Is the header present? 4140{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4141echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 4142cat >conftest.$ac_ext <<_ACEOF 4143/* confdefs.h. */ 4144_ACEOF 4145cat confdefs.h >>conftest.$ac_ext 4146cat >>conftest.$ac_ext <<_ACEOF 4147/* end confdefs.h. */ 4148#include <minix/config.h> 4149_ACEOF 4150if { (ac_try="$ac_cpp conftest.$ac_ext" 4151case "(($ac_try" in 4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153 *) ac_try_echo=$ac_try;; 4154esac 4155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4157 ac_status=$? 4158 grep -v '^ *+' conftest.er1 >conftest.err 4159 rm -f conftest.er1 4160 cat conftest.err >&5 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); } >/dev/null && { 4163 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4164 test ! -s conftest.err 4165 }; then 4166 ac_header_preproc=yes 4167else 4168 echo "$as_me: failed program was:" >&5 4169sed 's/^/| /' conftest.$ac_ext >&5 4170 4171 ac_header_preproc=no 4172fi 4173 4174rm -f conftest.err conftest.$ac_ext 4175{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4176echo "${ECHO_T}$ac_header_preproc" >&6; } 4177 4178# So? What about this header? 4179case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4180 yes:no: ) 4181 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4182echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4183 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4184echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4185 ac_header_preproc=yes 4186 ;; 4187 no:yes:* ) 4188 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4189echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4190 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4191echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4192 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4193echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4194 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4195echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4196 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4197echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4198 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4199echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4200 ( cat <<\_ASBOX 4201## ----------------------------------------------------------------- ## 4202## Report this to https://trac.xiph.org/newticket?component=ezstream ## 4203## ----------------------------------------------------------------- ## 4204_ASBOX 4205 ) | sed "s/^/$as_me: WARNING: /" >&2 4206 ;; 4207esac 4208{ echo "$as_me:$LINENO: checking for minix/config.h" >&5 4209echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 4210if test "${ac_cv_header_minix_config_h+set}" = set; then 4211 echo $ECHO_N "(cached) $ECHO_C" >&6 4212else 4213 ac_cv_header_minix_config_h=$ac_header_preproc 4214fi 4215{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4216echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 4217 4218fi 4219if test $ac_cv_header_minix_config_h = yes; then 4220 MINIX=yes 4221else 4222 MINIX= 4223fi 4224 4225 4226if test "$MINIX" = yes; then 4227 4228cat >>confdefs.h <<\_ACEOF 4229#define _POSIX_SOURCE 1 4230_ACEOF 4231 4232 4233cat >>confdefs.h <<\_ACEOF 4234#define _POSIX_1_SOURCE 2 4235_ACEOF 4236 4237 4238cat >>confdefs.h <<\_ACEOF 4239#define _MINIX 1 4240_ACEOF 4241 4242fi 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 4255echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; } 4256if test "${ac_cv_safe_to_define___extensions__+set}" = set; then 4257 echo $ECHO_N "(cached) $ECHO_C" >&6 4258else 4259 cat >conftest.$ac_ext <<_ACEOF 4260/* confdefs.h. */ 4261_ACEOF 4262cat confdefs.h >>conftest.$ac_ext 4263cat >>conftest.$ac_ext <<_ACEOF 4264/* end confdefs.h. */ 4265 4266# define __EXTENSIONS__ 1 4267 $ac_includes_default 4268int 4269main () 4270{ 4271 4272 ; 4273 return 0; 4274} 4275_ACEOF 4276rm -f conftest.$ac_objext 4277if { (ac_try="$ac_compile" 4278case "(($ac_try" in 4279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4280 *) ac_try_echo=$ac_try;; 4281esac 4282eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4283 (eval "$ac_compile") 2>conftest.er1 4284 ac_status=$? 4285 grep -v '^ *+' conftest.er1 >conftest.err 4286 rm -f conftest.er1 4287 cat conftest.err >&5 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); } && { 4290 test -z "$ac_c_werror_flag" || 4291 test ! -s conftest.err 4292 } && test -s conftest.$ac_objext; then 4293 ac_cv_safe_to_define___extensions__=yes 4294else 4295 echo "$as_me: failed program was:" >&5 4296sed 's/^/| /' conftest.$ac_ext >&5 4297 4298 ac_cv_safe_to_define___extensions__=no 4299fi 4300 4301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4302fi 4303{ echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 4304echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; } 4305 test $ac_cv_safe_to_define___extensions__ = yes && 4306 cat >>confdefs.h <<\_ACEOF 4307#define __EXTENSIONS__ 1 4308_ACEOF 4309 4310 cat >>confdefs.h <<\_ACEOF 4311#define _POSIX_PTHREAD_SEMANTICS 1 4312_ACEOF 4313 4314 cat >>confdefs.h <<\_ACEOF 4315#define _TANDEM_SOURCE 1 4316_ACEOF 4317 4318 4319 case $ac_cv_prog_cc_stdc in 4320 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; 4321 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 4322echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } 4323if test "${ac_cv_prog_cc_c99+set}" = set; then 4324 echo $ECHO_N "(cached) $ECHO_C" >&6 4325else 4326 ac_cv_prog_cc_c99=no 4327ac_save_CC=$CC 4328cat >conftest.$ac_ext <<_ACEOF 4329/* confdefs.h. */ 4330_ACEOF 4331cat confdefs.h >>conftest.$ac_ext 4332cat >>conftest.$ac_ext <<_ACEOF 4333/* end confdefs.h. */ 4334#include <stdarg.h> 4335#include <stdbool.h> 4336#include <stdlib.h> 4337#include <wchar.h> 4338#include <stdio.h> 4339 4340// Check varargs macros. These examples are taken from C99 6.10.3.5. 4341#define debug(...) fprintf (stderr, __VA_ARGS__) 4342#define showlist(...) puts (#__VA_ARGS__) 4343#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4344static void 4345test_varargs_macros (void) 4346{ 4347 int x = 1234; 4348 int y = 5678; 4349 debug ("Flag"); 4350 debug ("X = %d\n", x); 4351 showlist (The first, second, and third items.); 4352 report (x>y, "x is %d but y is %d", x, y); 4353} 4354 4355// Check long long types. 4356#define BIG64 18446744073709551615ull 4357#define BIG32 4294967295ul 4358#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4359#if !BIG_OK 4360 your preprocessor is broken; 4361#endif 4362#if BIG_OK 4363#else 4364 your preprocessor is broken; 4365#endif 4366static long long int bignum = -9223372036854775807LL; 4367static unsigned long long int ubignum = BIG64; 4368 4369struct incomplete_array 4370{ 4371 int datasize; 4372 double data[]; 4373}; 4374 4375struct named_init { 4376 int number; 4377 const wchar_t *name; 4378 double average; 4379}; 4380 4381typedef const char *ccp; 4382 4383static inline int 4384test_restrict (ccp restrict text) 4385{ 4386 // See if C++-style comments work. 4387 // Iterate through items via the restricted pointer. 4388 // Also check for declarations in for loops. 4389 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4390 continue; 4391 return 0; 4392} 4393 4394// Check varargs and va_copy. 4395static void 4396test_varargs (const char *format, ...) 4397{ 4398 va_list args; 4399 va_start (args, format); 4400 va_list args_copy; 4401 va_copy (args_copy, args); 4402 4403 const char *str; 4404 int number; 4405 float fnumber; 4406 4407 while (*format) 4408 { 4409 switch (*format++) 4410 { 4411 case 's': // string 4412 str = va_arg (args_copy, const char *); 4413 break; 4414 case 'd': // int 4415 number = va_arg (args_copy, int); 4416 break; 4417 case 'f': // float 4418 fnumber = va_arg (args_copy, double); 4419 break; 4420 default: 4421 break; 4422 } 4423 } 4424 va_end (args_copy); 4425 va_end (args); 4426} 4427 4428int 4429main () 4430{ 4431 4432 // Check bool. 4433 _Bool success = false; 4434 4435 // Check restrict. 4436 if (test_restrict ("String literal") == 0) 4437 success = true; 4438 char *restrict newvar = "Another string"; 4439 4440 // Check varargs. 4441 test_varargs ("s, d' f .", "string", 65, 34.234); 4442 test_varargs_macros (); 4443 4444 // Check flexible array members. 4445 struct incomplete_array *ia = 4446 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4447 ia->datasize = 10; 4448 for (int i = 0; i < ia->datasize; ++i) 4449 ia->data[i] = i * 1.234; 4450 4451 // Check named initializers. 4452 struct named_init ni = { 4453 .number = 34, 4454 .name = L"Test wide string", 4455 .average = 543.34343, 4456 }; 4457 4458 ni.number = 58; 4459 4460 int dynamic_array[ni.number]; 4461 dynamic_array[ni.number - 1] = 543; 4462 4463 // work around unused variable warnings 4464 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4465 || dynamic_array[ni.number - 1] != 543); 4466 4467 ; 4468 return 0; 4469} 4470_ACEOF 4471for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 4472do 4473 CC="$ac_save_CC $ac_arg" 4474 rm -f conftest.$ac_objext 4475if { (ac_try="$ac_compile" 4476case "(($ac_try" in 4477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4478 *) ac_try_echo=$ac_try;; 4479esac 4480eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4481 (eval "$ac_compile") 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); } && { 4488 test -z "$ac_c_werror_flag" || 4489 test ! -s conftest.err 4490 } && test -s conftest.$ac_objext; then 4491 ac_cv_prog_cc_c99=$ac_arg 4492else 4493 echo "$as_me: failed program was:" >&5 4494sed 's/^/| /' conftest.$ac_ext >&5 4495 4496 4497fi 4498 4499rm -f core conftest.err conftest.$ac_objext 4500 test "x$ac_cv_prog_cc_c99" != "xno" && break 4501done 4502rm -f conftest.$ac_ext 4503CC=$ac_save_CC 4504 4505fi 4506# AC_CACHE_VAL 4507case "x$ac_cv_prog_cc_c99" in 4508 x) 4509 { echo "$as_me:$LINENO: result: none needed" >&5 4510echo "${ECHO_T}none needed" >&6; } ;; 4511 xno) 4512 { echo "$as_me:$LINENO: result: unsupported" >&5 4513echo "${ECHO_T}unsupported" >&6; } ;; 4514 *) 4515 CC="$CC $ac_cv_prog_cc_c99" 4516 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 4517echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; 4518esac 4519if test "x$ac_cv_prog_cc_c99" != xno; then 4520 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4521else 4522 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 4523echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 4524if test "${ac_cv_prog_cc_c89+set}" = set; then 4525 echo $ECHO_N "(cached) $ECHO_C" >&6 4526else 4527 ac_cv_prog_cc_c89=no 4528ac_save_CC=$CC 4529cat >conftest.$ac_ext <<_ACEOF 4530/* confdefs.h. */ 4531_ACEOF 4532cat confdefs.h >>conftest.$ac_ext 4533cat >>conftest.$ac_ext <<_ACEOF 4534/* end confdefs.h. */ 4535#include <stdarg.h> 4536#include <stdio.h> 4537#include <sys/types.h> 4538#include <sys/stat.h> 4539/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4540struct buf { int x; }; 4541FILE * (*rcsopen) (struct buf *, struct stat *, int); 4542static char *e (p, i) 4543 char **p; 4544 int i; 4545{ 4546 return p[i]; 4547} 4548static char *f (char * (*g) (char **, int), char **p, ...) 4549{ 4550 char *s; 4551 va_list v; 4552 va_start (v,p); 4553 s = g (p, va_arg (v,int)); 4554 va_end (v); 4555 return s; 4556} 4557 4558/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4559 function prototypes and stuff, but not '\xHH' hex character constants. 4560 These don't provoke an error unfortunately, instead are silently treated 4561 as 'x'. The following induces an error, until -std is added to get 4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4563 array size at least. It's necessary to write '\x00'==0 to get something 4564 that's true only with -std. */ 4565int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4566 4567/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4568 inside strings and character constants. */ 4569#define FOO(x) 'x' 4570int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4571 4572int test (int i, double x); 4573struct s1 {int (*f) (int a);}; 4574struct s2 {int (*f) (double a);}; 4575int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4576int argc; 4577char **argv; 4578int 4579main () 4580{ 4581return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4582 ; 4583 return 0; 4584} 4585_ACEOF 4586for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4588do 4589 CC="$ac_save_CC $ac_arg" 4590 rm -f conftest.$ac_objext 4591if { (ac_try="$ac_compile" 4592case "(($ac_try" in 4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4594 *) ac_try_echo=$ac_try;; 4595esac 4596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4597 (eval "$ac_compile") 2>conftest.er1 4598 ac_status=$? 4599 grep -v '^ *+' conftest.er1 >conftest.err 4600 rm -f conftest.er1 4601 cat conftest.err >&5 4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4603 (exit $ac_status); } && { 4604 test -z "$ac_c_werror_flag" || 4605 test ! -s conftest.err 4606 } && test -s conftest.$ac_objext; then 4607 ac_cv_prog_cc_c89=$ac_arg 4608else 4609 echo "$as_me: failed program was:" >&5 4610sed 's/^/| /' conftest.$ac_ext >&5 4611 4612 4613fi 4614 4615rm -f core conftest.err conftest.$ac_objext 4616 test "x$ac_cv_prog_cc_c89" != "xno" && break 4617done 4618rm -f conftest.$ac_ext 4619CC=$ac_save_CC 4620 4621fi 4622# AC_CACHE_VAL 4623case "x$ac_cv_prog_cc_c89" in 4624 x) 4625 { echo "$as_me:$LINENO: result: none needed" >&5 4626echo "${ECHO_T}none needed" >&6; } ;; 4627 xno) 4628 { echo "$as_me:$LINENO: result: unsupported" >&5 4629echo "${ECHO_T}unsupported" >&6; } ;; 4630 *) 4631 CC="$CC $ac_cv_prog_cc_c89" 4632 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4633echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 4634esac 4635if test "x$ac_cv_prog_cc_c89" != xno; then 4636 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4637else 4638 ac_cv_prog_cc_stdc=no 4639fi 4640 4641 4642fi 4643 4644 ;; 4645esac 4646 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 4647echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } 4648 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4649 echo $ECHO_N "(cached) $ECHO_C" >&6 4650fi 4651 4652 case $ac_cv_prog_cc_stdc in 4653 no) { echo "$as_me:$LINENO: result: unsupported" >&5 4654echo "${ECHO_T}unsupported" >&6; } ;; 4655 '') { echo "$as_me:$LINENO: result: none needed" >&5 4656echo "${ECHO_T}none needed" >&6; } ;; 4657 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4658echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; 4659esac 4660 4661 4662{ echo "$as_me:$LINENO: checking for fgrep" >&5 4663echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } 4664if test "${ac_cv_path_FGREP+set}" = set; then 4665 echo $ECHO_N "(cached) $ECHO_C" >&6 4666else 4667 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4668 then ac_cv_path_FGREP="$GREP -F" 4669 else 4670 # Extract the first word of "fgrep" to use in msg output 4671if test -z "$FGREP"; then 4672set dummy fgrep; ac_prog_name=$2 4673if test "${ac_cv_path_FGREP+set}" = set; then 4674 echo $ECHO_N "(cached) $ECHO_C" >&6 4675else 4676 ac_path_FGREP_found=false 4677# Loop through the user's path and test for each of PROGNAME-LIST 4678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4679for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4680do 4681 IFS=$as_save_IFS 4682 test -z "$as_dir" && as_dir=. 4683 for ac_prog in fgrep; do 4684 for ac_exec_ext in '' $ac_executable_extensions; do 4685 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4686 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4687 # Check for GNU ac_path_FGREP and select it if it is found. 4688 # Check for GNU $ac_path_FGREP 4689case `"$ac_path_FGREP" --version 2>&1` in 4690*GNU*) 4691 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4692*) 4693 ac_count=0 4694 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4695 while : 4696 do 4697 cat "conftest.in" "conftest.in" >"conftest.tmp" 4698 mv "conftest.tmp" "conftest.in" 4699 cp "conftest.in" "conftest.nl" 4700 echo 'FGREP' >> "conftest.nl" 4701 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4703 ac_count=`expr $ac_count + 1` 4704 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4705 # Best one so far, save it but keep looking for a better one 4706 ac_cv_path_FGREP="$ac_path_FGREP" 4707 ac_path_FGREP_max=$ac_count 4708 fi 4709 # 10*(2^10) chars as input seems more than enough 4710 test $ac_count -gt 10 && break 4711 done 4712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4713esac 4714 4715 4716 $ac_path_FGREP_found && break 3 4717 done 4718done 4719 4720done 4721IFS=$as_save_IFS 4722 4723 4724fi 4725 4726FGREP="$ac_cv_path_FGREP" 4727if test -z "$FGREP"; then 4728 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4729echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4730 { (exit 1); exit 1; }; } 4731fi 4732 4733else 4734 ac_cv_path_FGREP=$FGREP 4735fi 4736 4737 4738 fi 4739fi 4740{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4741echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } 4742 FGREP="$ac_cv_path_FGREP" 4743 4744 4745# Make sure we can run config.sub. 4746$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4747 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4748echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4749 { (exit 1); exit 1; }; } 4750 4751{ echo "$as_me:$LINENO: checking build system type" >&5 4752echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 4753if test "${ac_cv_build+set}" = set; then 4754 echo $ECHO_N "(cached) $ECHO_C" >&6 4755else 4756 ac_build_alias=$build_alias 4757test "x$ac_build_alias" = x && 4758 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4759test "x$ac_build_alias" = x && 4760 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4761echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4762 { (exit 1); exit 1; }; } 4763ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4764 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4765echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4766 { (exit 1); exit 1; }; } 4767 4768fi 4769{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4770echo "${ECHO_T}$ac_cv_build" >&6; } 4771case $ac_cv_build in 4772*-*-*) ;; 4773*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4774echo "$as_me: error: invalid value of canonical build" >&2;} 4775 { (exit 1); exit 1; }; };; 4776esac 4777build=$ac_cv_build 4778ac_save_IFS=$IFS; IFS='-' 4779set x $ac_cv_build 4780shift 4781build_cpu=$1 4782build_vendor=$2 4783shift; shift 4784# Remember, the first character of IFS is used to create $*, 4785# except with old shells: 4786build_os=$* 4787IFS=$ac_save_IFS 4788case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4789 4790 4791{ echo "$as_me:$LINENO: checking host system type" >&5 4792echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 4793if test "${ac_cv_host+set}" = set; then 4794 echo $ECHO_N "(cached) $ECHO_C" >&6 4795else 4796 if test "x$host_alias" = x; then 4797 ac_cv_host=$ac_cv_build 4798else 4799 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4800 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4801echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4802 { (exit 1); exit 1; }; } 4803fi 4804 4805fi 4806{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4807echo "${ECHO_T}$ac_cv_host" >&6; } 4808case $ac_cv_host in 4809*-*-*) ;; 4810*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4811echo "$as_me: error: invalid value of canonical host" >&2;} 4812 { (exit 1); exit 1; }; };; 4813esac 4814host=$ac_cv_host 4815ac_save_IFS=$IFS; IFS='-' 4816set x $ac_cv_host 4817shift 4818host_cpu=$1 4819host_vendor=$2 4820shift; shift 4821# Remember, the first character of IFS is used to create $*, 4822# except with old shells: 4823host_os=$* 4824IFS=$ac_save_IFS 4825case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4826 4827 4828 4829BUILD_DATE=$(date '+%B %d, %Y') 4830 4831 4832EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}" 4833# Check whether --enable-examplesdir was given. 4834if test "${enable_examplesdir+set}" = set; then 4835 enableval=$enable_examplesdir; case "$enableval" in 4836 yes) ;; 4837 no) { { echo "$as_me:$LINENO: error: Must have an install directory for the examples." >&5 4838echo "$as_me: error: Must have an install directory for the examples." >&2;} 4839 { (exit 1); exit 1; }; } ;; 4840 *) EXAMPLES_DIR="$enableval" ;; 4841esac 4842fi 4843 4844 4845 4846ez_enable_debug=no 4847# Check whether --enable-debug was given. 4848if test "${enable_debug+set}" = set; then 4849 enableval=$enable_debug; case "$enableval" in 4850 no) ;; 4851 *) ez_enable_debug=yes ;; 4852esac 4853fi 4854 4855{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5 4856echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; } 4857if test x"${ez_enable_debug}" = "xyes"; then 4858 4859cat >>confdefs.h <<\_ACEOF 4860#define XALLOC_DEBUG 1 4861_ACEOF 4862 4863fi 4864{ echo "$as_me:$LINENO: result: $ez_enable_debug" >&5 4865echo "${ECHO_T}$ez_enable_debug" >&6; } 4866 4867EZ_CFLAGS="" 4868EZ_CPPFLAGS="" 4869EZ_LDFLAGS="" 4870EZ_LIBS="" 4871 4872 4873 4874if test -n "${GCC}"; then 4875 for _flag in fstack-protector fstrict-aliasing Wall W Wstrict-aliasing \ 4876 Wwrite-strings Wpointer-arith Wshadow Wconversion Wcast-qual \ 4877 Wcast-align Wbounded Wmissing-declarations Wmissing-prototypes \ 4878 Wstrict-prototypes 4879 do 4880 4881{ echo "$as_me:$LINENO: checking if ${CC} understands -${_flag}" >&5 4882echo $ECHO_N "checking if ${CC} understands -${_flag}... $ECHO_C" >&6; } 4883_cv_sufx_=$(echo ${_flag} | sed 'y|-+,= |_p___|') 4884if { as_var=local_cv_prog_cc_${_cv_sufx_}; eval "test \"\${$as_var+set}\" = set"; }; then 4885 echo $ECHO_N "(cached) $ECHO_C" >&6 4886else 4887 4888 ac_ext=c 4889ac_cpp='$CPP $CPPFLAGS' 4890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4892ac_compiler_gnu=$ac_cv_c_compiler_gnu 4893 4894 save_CFLAGS="${CFLAGS}" 4895 CFLAGS="${CFLAGS} -${_flag}" 4896 cat >conftest.$ac_ext <<_ACEOF 4897/* confdefs.h. */ 4898_ACEOF 4899cat confdefs.h >>conftest.$ac_ext 4900cat >>conftest.$ac_ext <<_ACEOF 4901/* end confdefs.h. */ 4902 4903int 4904main () 4905{ 4906 4907 ; 4908 return 0; 4909} 4910_ACEOF 4911rm -f conftest.$ac_objext conftest$ac_exeext 4912if { (ac_try="$ac_link" 4913case "(($ac_try" in 4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4915 *) ac_try_echo=$ac_try;; 4916esac 4917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4918 (eval "$ac_link") 2>conftest.er1 4919 ac_status=$? 4920 grep -v '^ *+' conftest.er1 >conftest.err 4921 rm -f conftest.er1 4922 cat conftest.err >&5 4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4924 (exit $ac_status); } && { 4925 test -z "$ac_c_werror_flag" || 4926 test ! -s conftest.err 4927 } && test -s conftest$ac_exeext && 4928 $as_test_x conftest$ac_exeext; then 4929 eval "local_cv_prog_cc_${_cv_sufx_}=yes" 4930else 4931 echo "$as_me: failed program was:" >&5 4932sed 's/^/| /' conftest.$ac_ext >&5 4933 4934 eval "local_cv_prog_cc_${_cv_sufx_}=no" 4935fi 4936 4937rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4938 conftest$ac_exeext conftest.$ac_ext 4939 CFLAGS="${save_CFLAGS}" 4940 ac_ext=c 4941ac_cpp='$CPP $CPPFLAGS' 4942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4944ac_compiler_gnu=$ac_cv_c_compiler_gnu 4945 4946 4947fi 4948 4949eval "_cache_val_=\${local_cv_prog_cc_${_cv_sufx_}}" 4950if test x"${_cache_val_}" = "xyes"; then 4951 { echo "$as_me:$LINENO: result: yes" >&5 4952echo "${ECHO_T}yes" >&6; } 4953 : 4954 4955 4956for arg in -${_flag} 4957do 4958 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 4959 if test -z "${EZ_CFLAGS}"; then 4960 EZ_CFLAGS="${arg}" 4961 else 4962 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 4963 fi 4964 fi 4965done 4966 4967else 4968 { echo "$as_me:$LINENO: result: no" >&5 4969echo "${ECHO_T}no" >&6; } 4970 : 4971 4972fi 4973 4974 done 4975 4976{ echo "$as_me:$LINENO: checking if ${CC} understands -Wformat=2" >&5 4977echo $ECHO_N "checking if ${CC} understands -Wformat=2... $ECHO_C" >&6; } 4978_cv_sufx_=$(echo Wformat=2 | sed 'y|-+,= |_p___|') 4979if { as_var=local_cv_prog_cc_${_cv_sufx_}; eval "test \"\${$as_var+set}\" = set"; }; then 4980 echo $ECHO_N "(cached) $ECHO_C" >&6 4981else 4982 4983 ac_ext=c 4984ac_cpp='$CPP $CPPFLAGS' 4985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4987ac_compiler_gnu=$ac_cv_c_compiler_gnu 4988 4989 save_CFLAGS="${CFLAGS}" 4990 CFLAGS="${CFLAGS} -Wformat=2" 4991 cat >conftest.$ac_ext <<_ACEOF 4992/* confdefs.h. */ 4993_ACEOF 4994cat confdefs.h >>conftest.$ac_ext 4995cat >>conftest.$ac_ext <<_ACEOF 4996/* end confdefs.h. */ 4997 4998int 4999main () 5000{ 5001 5002 ; 5003 return 0; 5004} 5005_ACEOF 5006rm -f conftest.$ac_objext conftest$ac_exeext 5007if { (ac_try="$ac_link" 5008case "(($ac_try" in 5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5010 *) ac_try_echo=$ac_try;; 5011esac 5012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5013 (eval "$ac_link") 2>conftest.er1 5014 ac_status=$? 5015 grep -v '^ *+' conftest.er1 >conftest.err 5016 rm -f conftest.er1 5017 cat conftest.err >&5 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); } && { 5020 test -z "$ac_c_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest$ac_exeext && 5023 $as_test_x conftest$ac_exeext; then 5024 eval "local_cv_prog_cc_${_cv_sufx_}=yes" 5025else 5026 echo "$as_me: failed program was:" >&5 5027sed 's/^/| /' conftest.$ac_ext >&5 5028 5029 eval "local_cv_prog_cc_${_cv_sufx_}=no" 5030fi 5031 5032rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5033 conftest$ac_exeext conftest.$ac_ext 5034 CFLAGS="${save_CFLAGS}" 5035 ac_ext=c 5036ac_cpp='$CPP $CPPFLAGS' 5037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5039ac_compiler_gnu=$ac_cv_c_compiler_gnu 5040 5041 5042fi 5043 5044eval "_cache_val_=\${local_cv_prog_cc_${_cv_sufx_}}" 5045if test x"${_cache_val_}" = "xyes"; then 5046 { echo "$as_me:$LINENO: result: yes" >&5 5047echo "${ECHO_T}yes" >&6; } 5048 : 5049 5050 5051for arg in -Wformat=2 5052do 5053 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 5054 if test -z "${EZ_CFLAGS}"; then 5055 EZ_CFLAGS="${arg}" 5056 else 5057 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 5058 fi 5059 fi 5060done 5061 5062else 5063 { echo "$as_me:$LINENO: result: no" >&5 5064echo "${ECHO_T}no" >&6; } 5065 : 5066 5067 5068{ echo "$as_me:$LINENO: checking if ${CC} understands -Wformat" >&5 5069echo $ECHO_N "checking if ${CC} understands -Wformat... $ECHO_C" >&6; } 5070_cv_sufx_=$(echo Wformat | sed 'y|-+,= |_p___|') 5071if { as_var=local_cv_prog_cc_${_cv_sufx_}; eval "test \"\${$as_var+set}\" = set"; }; then 5072 echo $ECHO_N "(cached) $ECHO_C" >&6 5073else 5074 5075 ac_ext=c 5076ac_cpp='$CPP $CPPFLAGS' 5077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5079ac_compiler_gnu=$ac_cv_c_compiler_gnu 5080 5081 save_CFLAGS="${CFLAGS}" 5082 CFLAGS="${CFLAGS} -Wformat" 5083 cat >conftest.$ac_ext <<_ACEOF 5084/* confdefs.h. */ 5085_ACEOF 5086cat confdefs.h >>conftest.$ac_ext 5087cat >>conftest.$ac_ext <<_ACEOF 5088/* end confdefs.h. */ 5089 5090int 5091main () 5092{ 5093 5094 ; 5095 return 0; 5096} 5097_ACEOF 5098rm -f conftest.$ac_objext conftest$ac_exeext 5099if { (ac_try="$ac_link" 5100case "(($ac_try" in 5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5102 *) ac_try_echo=$ac_try;; 5103esac 5104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5105 (eval "$ac_link") 2>conftest.er1 5106 ac_status=$? 5107 grep -v '^ *+' conftest.er1 >conftest.err 5108 rm -f conftest.er1 5109 cat conftest.err >&5 5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5111 (exit $ac_status); } && { 5112 test -z "$ac_c_werror_flag" || 5113 test ! -s conftest.err 5114 } && test -s conftest$ac_exeext && 5115 $as_test_x conftest$ac_exeext; then 5116 eval "local_cv_prog_cc_${_cv_sufx_}=yes" 5117else 5118 echo "$as_me: failed program was:" >&5 5119sed 's/^/| /' conftest.$ac_ext >&5 5120 5121 eval "local_cv_prog_cc_${_cv_sufx_}=no" 5122fi 5123 5124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5125 conftest$ac_exeext conftest.$ac_ext 5126 CFLAGS="${save_CFLAGS}" 5127 ac_ext=c 5128ac_cpp='$CPP $CPPFLAGS' 5129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5131ac_compiler_gnu=$ac_cv_c_compiler_gnu 5132 5133 5134fi 5135 5136eval "_cache_val_=\${local_cv_prog_cc_${_cv_sufx_}}" 5137if test x"${_cache_val_}" = "xyes"; then 5138 { echo "$as_me:$LINENO: result: yes" >&5 5139echo "${ECHO_T}yes" >&6; } 5140 : 5141 5142 5143for arg in -Wformat 5144do 5145 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 5146 if test -z "${EZ_CFLAGS}"; then 5147 EZ_CFLAGS="${arg}" 5148 else 5149 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 5150 fi 5151 fi 5152done 5153 5154else 5155 { echo "$as_me:$LINENO: result: no" >&5 5156echo "${ECHO_T}no" >&6; } 5157 : 5158 5159fi 5160 5161 5162fi 5163 5164else 5165 case "${host}" in 5166 *-irix*) 5167 EZ_CFLAGS="-fullwarn" 5168 ;; 5169 *-solaris*) 5170 EZ_CFLAGS="-v" 5171 ;; 5172 *) 5173 ;; 5174 esac 5175fi 5176 5177{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5178echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 5179if test "${ac_cv_c_const+set}" = set; then 5180 echo $ECHO_N "(cached) $ECHO_C" >&6 5181else 5182 cat >conftest.$ac_ext <<_ACEOF 5183/* confdefs.h. */ 5184_ACEOF 5185cat confdefs.h >>conftest.$ac_ext 5186cat >>conftest.$ac_ext <<_ACEOF 5187/* end confdefs.h. */ 5188 5189int 5190main () 5191{ 5192/* FIXME: Include the comments suggested by Paul. */ 5193#ifndef __cplusplus 5194 /* Ultrix mips cc rejects this. */ 5195 typedef int charset[2]; 5196 const charset cs; 5197 /* SunOS 4.1.1 cc rejects this. */ 5198 char const *const *pcpcc; 5199 char **ppc; 5200 /* NEC SVR4.0.2 mips cc rejects this. */ 5201 struct point {int x, y;}; 5202 static struct point const zero = {0,0}; 5203 /* AIX XL C 1.02.0.0 rejects this. 5204 It does not let you subtract one const X* pointer from another in 5205 an arm of an if-expression whose if-part is not a constant 5206 expression */ 5207 const char *g = "string"; 5208 pcpcc = &g + (g ? g-g : 0); 5209 /* HPUX 7.0 cc rejects these. */ 5210 ++pcpcc; 5211 ppc = (char**) pcpcc; 5212 pcpcc = (char const *const *) ppc; 5213 { /* SCO 3.2v4 cc rejects this. */ 5214 char *t; 5215 char const *s = 0 ? (char *) 0 : (char const *) 0; 5216 5217 *t++ = 0; 5218 if (s) return 0; 5219 } 5220 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 5221 int x[] = {25, 17}; 5222 const int *foo = &x[0]; 5223 ++foo; 5224 } 5225 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 5226 typedef const int *iptr; 5227 iptr p = 0; 5228 ++p; 5229 } 5230 { /* AIX XL C 1.02.0.0 rejects this saying 5231 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5232 struct s { int j; const int *ap[3]; }; 5233 struct s *b; b->j = 5; 5234 } 5235 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5236 const int foo = 10; 5237 if (!foo) return 0; 5238 } 5239 return !cs[0] && !zero.x; 5240#endif 5241 5242 ; 5243 return 0; 5244} 5245_ACEOF 5246rm -f conftest.$ac_objext 5247if { (ac_try="$ac_compile" 5248case "(($ac_try" in 5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5250 *) ac_try_echo=$ac_try;; 5251esac 5252eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5253 (eval "$ac_compile") 2>conftest.er1 5254 ac_status=$? 5255 grep -v '^ *+' conftest.er1 >conftest.err 5256 rm -f conftest.er1 5257 cat conftest.err >&5 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 (exit $ac_status); } && { 5260 test -z "$ac_c_werror_flag" || 5261 test ! -s conftest.err 5262 } && test -s conftest.$ac_objext; then 5263 ac_cv_c_const=yes 5264else 5265 echo "$as_me: failed program was:" >&5 5266sed 's/^/| /' conftest.$ac_ext >&5 5267 5268 ac_cv_c_const=no 5269fi 5270 5271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5272fi 5273{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5274echo "${ECHO_T}$ac_cv_c_const" >&6; } 5275if test $ac_cv_c_const = no; then 5276 5277cat >>confdefs.h <<\_ACEOF 5278#define const 5279_ACEOF 5280 5281fi 5282 5283{ echo "$as_me:$LINENO: checking for working volatile" >&5 5284echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; } 5285if test "${ac_cv_c_volatile+set}" = set; then 5286 echo $ECHO_N "(cached) $ECHO_C" >&6 5287else 5288 cat >conftest.$ac_ext <<_ACEOF 5289/* confdefs.h. */ 5290_ACEOF 5291cat confdefs.h >>conftest.$ac_ext 5292cat >>conftest.$ac_ext <<_ACEOF 5293/* end confdefs.h. */ 5294 5295int 5296main () 5297{ 5298 5299volatile int x; 5300int * volatile y = (int *) 0; 5301return !x && !y; 5302 ; 5303 return 0; 5304} 5305_ACEOF 5306rm -f conftest.$ac_objext 5307if { (ac_try="$ac_compile" 5308case "(($ac_try" in 5309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5310 *) ac_try_echo=$ac_try;; 5311esac 5312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5313 (eval "$ac_compile") 2>conftest.er1 5314 ac_status=$? 5315 grep -v '^ *+' conftest.er1 >conftest.err 5316 rm -f conftest.er1 5317 cat conftest.err >&5 5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5319 (exit $ac_status); } && { 5320 test -z "$ac_c_werror_flag" || 5321 test ! -s conftest.err 5322 } && test -s conftest.$ac_objext; then 5323 ac_cv_c_volatile=yes 5324else 5325 echo "$as_me: failed program was:" >&5 5326sed 's/^/| /' conftest.$ac_ext >&5 5327 5328 ac_cv_c_volatile=no 5329fi 5330 5331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5332fi 5333{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 5334echo "${ECHO_T}$ac_cv_c_volatile" >&6; } 5335if test $ac_cv_c_volatile = no; then 5336 5337cat >>confdefs.h <<\_ACEOF 5338#define volatile 5339_ACEOF 5340 5341fi 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352for ac_header in \ 5353 sys/time.h signal.h langinfo.h libgen.h locale.h paths.h \ 5354 5355do 5356as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5357{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5358echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5359if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5360 echo $ECHO_N "(cached) $ECHO_C" >&6 5361else 5362 cat >conftest.$ac_ext <<_ACEOF 5363/* confdefs.h. */ 5364_ACEOF 5365cat confdefs.h >>conftest.$ac_ext 5366cat >>conftest.$ac_ext <<_ACEOF 5367/* end confdefs.h. */ 5368 5369#ifdef HAVE_SYS_TYPES_H 5370# include <sys/types.h> 5371#endif 5372 5373 5374#include <$ac_header> 5375_ACEOF 5376rm -f conftest.$ac_objext 5377if { (ac_try="$ac_compile" 5378case "(($ac_try" in 5379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5380 *) ac_try_echo=$ac_try;; 5381esac 5382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5383 (eval "$ac_compile") 2>conftest.er1 5384 ac_status=$? 5385 grep -v '^ *+' conftest.er1 >conftest.err 5386 rm -f conftest.er1 5387 cat conftest.err >&5 5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5389 (exit $ac_status); } && { 5390 test -z "$ac_c_werror_flag" || 5391 test ! -s conftest.err 5392 } && test -s conftest.$ac_objext; then 5393 eval "$as_ac_Header=yes" 5394else 5395 echo "$as_me: failed program was:" >&5 5396sed 's/^/| /' conftest.$ac_ext >&5 5397 5398 eval "$as_ac_Header=no" 5399fi 5400 5401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5402fi 5403ac_res=`eval echo '${'$as_ac_Header'}'` 5404 { echo "$as_me:$LINENO: result: $ac_res" >&5 5405echo "${ECHO_T}$ac_res" >&6; } 5406if test `eval echo '${'$as_ac_Header'}'` = yes; then 5407 cat >>confdefs.h <<_ACEOF 5408#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5409_ACEOF 5410 5411fi 5412 5413done 5414 5415 5416COMPAT_INCLUDES="" 5417if test x"${ez_enable_debug}" = "xyes"; then 5418 5419if test x"RB_FOREACH" = "x"; then 5420 _tree_macro="RB_INIT" 5421else 5422 _tree_macro=RB_FOREACH 5423fi 5424{ echo "$as_me:$LINENO: checking for ${_tree_macro} in sys/tree.h" >&5 5425echo $ECHO_N "checking for ${_tree_macro} in sys/tree.h... $ECHO_C" >&6; } 5426if test "${local_cv_header_sys_tree_h+set}" = set; then 5427 echo $ECHO_N "(cached) $ECHO_C" >&6 5428else 5429 5430 cat >conftest.$ac_ext <<_ACEOF 5431/* confdefs.h. */ 5432_ACEOF 5433cat confdefs.h >>conftest.$ac_ext 5434cat >>conftest.$ac_ext <<_ACEOF 5435/* end confdefs.h. */ 5436 5437 #include <sys/tree.h> 5438 #if !defined(${_tree_macro}) 5439 # error Required tree macro missing 5440 #endif /* !${_tree_macro} */ 5441 5442int 5443main () 5444{ 5445 5446 ; 5447 return 0; 5448} 5449_ACEOF 5450rm -f conftest.$ac_objext 5451if { (ac_try="$ac_compile" 5452case "(($ac_try" in 5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5454 *) ac_try_echo=$ac_try;; 5455esac 5456eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5457 (eval "$ac_compile") 2>conftest.er1 5458 ac_status=$? 5459 grep -v '^ *+' conftest.er1 >conftest.err 5460 rm -f conftest.er1 5461 cat conftest.err >&5 5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5463 (exit $ac_status); } && { 5464 test -z "$ac_c_werror_flag" || 5465 test ! -s conftest.err 5466 } && test -s conftest.$ac_objext; then 5467 local_cv_header_sys_tree_h=yes 5468else 5469 echo "$as_me: failed program was:" >&5 5470sed 's/^/| /' conftest.$ac_ext >&5 5471 5472 local_cv_header_sys_tree_h=no 5473fi 5474 5475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5476 5477fi 5478 5479if test x"${local_cv_header_sys_tree_h}" = "xyes"; then 5480 { echo "$as_me:$LINENO: result: yes" >&5 5481echo "${ECHO_T}yes" >&6; } 5482 5483cat >>confdefs.h <<\_ACEOF 5484#define HAVE_SYS_TREE_H 1 5485_ACEOF 5486 5487 : 5488 5489else 5490 { echo "$as_me:$LINENO: result: no" >&5 5491echo "${ECHO_T}no" >&6; } 5492 : 5493 5494 COMPAT_INCLUDES="-I\$(top_srcdir)/compat" 5495 5496fi 5497 5498fi 5499 5500 5501 5502 5503{ echo "$as_me:$LINENO: checking for size_t" >&5 5504echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 5505if test "${ac_cv_type_size_t+set}" = set; then 5506 echo $ECHO_N "(cached) $ECHO_C" >&6 5507else 5508 cat >conftest.$ac_ext <<_ACEOF 5509/* confdefs.h. */ 5510_ACEOF 5511cat confdefs.h >>conftest.$ac_ext 5512cat >>conftest.$ac_ext <<_ACEOF 5513/* end confdefs.h. */ 5514$ac_includes_default 5515typedef size_t ac__type_new_; 5516int 5517main () 5518{ 5519if ((ac__type_new_ *) 0) 5520 return 0; 5521if (sizeof (ac__type_new_)) 5522 return 0; 5523 ; 5524 return 0; 5525} 5526_ACEOF 5527rm -f conftest.$ac_objext 5528if { (ac_try="$ac_compile" 5529case "(($ac_try" in 5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5531 *) ac_try_echo=$ac_try;; 5532esac 5533eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5534 (eval "$ac_compile") 2>conftest.er1 5535 ac_status=$? 5536 grep -v '^ *+' conftest.er1 >conftest.err 5537 rm -f conftest.er1 5538 cat conftest.err >&5 5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5540 (exit $ac_status); } && { 5541 test -z "$ac_c_werror_flag" || 5542 test ! -s conftest.err 5543 } && test -s conftest.$ac_objext; then 5544 ac_cv_type_size_t=yes 5545else 5546 echo "$as_me: failed program was:" >&5 5547sed 's/^/| /' conftest.$ac_ext >&5 5548 5549 ac_cv_type_size_t=no 5550fi 5551 5552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5553fi 5554{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5555echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 5556if test $ac_cv_type_size_t = yes; then 5557 : 5558else 5559 5560cat >>confdefs.h <<_ACEOF 5561#define size_t unsigned int 5562_ACEOF 5563 5564fi 5565 5566{ echo "$as_me:$LINENO: checking for ssize_t" >&5 5567echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } 5568if test "${ac_cv_type_ssize_t+set}" = set; then 5569 echo $ECHO_N "(cached) $ECHO_C" >&6 5570else 5571 cat >conftest.$ac_ext <<_ACEOF 5572/* confdefs.h. */ 5573_ACEOF 5574cat confdefs.h >>conftest.$ac_ext 5575cat >>conftest.$ac_ext <<_ACEOF 5576/* end confdefs.h. */ 5577$ac_includes_default 5578typedef ssize_t ac__type_new_; 5579int 5580main () 5581{ 5582if ((ac__type_new_ *) 0) 5583 return 0; 5584if (sizeof (ac__type_new_)) 5585 return 0; 5586 ; 5587 return 0; 5588} 5589_ACEOF 5590rm -f conftest.$ac_objext 5591if { (ac_try="$ac_compile" 5592case "(($ac_try" in 5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5594 *) ac_try_echo=$ac_try;; 5595esac 5596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5597 (eval "$ac_compile") 2>conftest.er1 5598 ac_status=$? 5599 grep -v '^ *+' conftest.er1 >conftest.err 5600 rm -f conftest.er1 5601 cat conftest.err >&5 5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5603 (exit $ac_status); } && { 5604 test -z "$ac_c_werror_flag" || 5605 test ! -s conftest.err 5606 } && test -s conftest.$ac_objext; then 5607 ac_cv_type_ssize_t=yes 5608else 5609 echo "$as_me: failed program was:" >&5 5610sed 's/^/| /' conftest.$ac_ext >&5 5611 5612 ac_cv_type_ssize_t=no 5613fi 5614 5615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5616fi 5617{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 5618echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; } 5619if test $ac_cv_type_ssize_t = yes; then 5620 : 5621else 5622 5623cat >>confdefs.h <<_ACEOF 5624#define ssize_t int 5625_ACEOF 5626 5627fi 5628 5629 5630 5631 5632{ echo "$as_me:$LINENO: checking for basename in -lgen" >&5 5633echo $ECHO_N "checking for basename in -lgen... $ECHO_C" >&6; } 5634if test "${ac_cv_lib_gen_basename+set}" = set; then 5635 echo $ECHO_N "(cached) $ECHO_C" >&6 5636else 5637 ac_check_lib_save_LIBS=$LIBS 5638LIBS="-lgen $LIBS" 5639cat >conftest.$ac_ext <<_ACEOF 5640/* confdefs.h. */ 5641_ACEOF 5642cat confdefs.h >>conftest.$ac_ext 5643cat >>conftest.$ac_ext <<_ACEOF 5644/* end confdefs.h. */ 5645 5646/* Override any GCC internal prototype to avoid an error. 5647 Use char because int might match the return type of a GCC 5648 builtin and then its argument prototype would still apply. */ 5649#ifdef __cplusplus 5650extern "C" 5651#endif 5652char basename (); 5653int 5654main () 5655{ 5656return basename (); 5657 ; 5658 return 0; 5659} 5660_ACEOF 5661rm -f conftest.$ac_objext conftest$ac_exeext 5662if { (ac_try="$ac_link" 5663case "(($ac_try" in 5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5665 *) ac_try_echo=$ac_try;; 5666esac 5667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5668 (eval "$ac_link") 2>conftest.er1 5669 ac_status=$? 5670 grep -v '^ *+' conftest.er1 >conftest.err 5671 rm -f conftest.er1 5672 cat conftest.err >&5 5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5674 (exit $ac_status); } && { 5675 test -z "$ac_c_werror_flag" || 5676 test ! -s conftest.err 5677 } && test -s conftest$ac_exeext && 5678 $as_test_x conftest$ac_exeext; then 5679 ac_cv_lib_gen_basename=yes 5680else 5681 echo "$as_me: failed program was:" >&5 5682sed 's/^/| /' conftest.$ac_ext >&5 5683 5684 ac_cv_lib_gen_basename=no 5685fi 5686 5687rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5688 conftest$ac_exeext conftest.$ac_ext 5689LIBS=$ac_check_lib_save_LIBS 5690fi 5691{ echo "$as_me:$LINENO: result: $ac_cv_lib_gen_basename" >&5 5692echo "${ECHO_T}$ac_cv_lib_gen_basename" >&6; } 5693if test $ac_cv_lib_gen_basename = yes; then 5694 5695 5696_prepend_args="" 5697for arg in -lgen 5698do 5699 _prepend_args="${arg} ${_prepend_args}" 5700done 5701for arg in ${_prepend_args} 5702do 5703 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 5704 if test -z "${EZ_LIBS}"; then 5705 EZ_LIBS="${arg}" 5706 else 5707 EZ_LIBS="${arg} ${EZ_LIBS}" 5708 fi 5709 fi 5710done 5711 5712fi 5713 5714 5715 5716 5717if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5718 if test -n "$ac_tool_prefix"; then 5719 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5720set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5721{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5723if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5724 echo $ECHO_N "(cached) $ECHO_C" >&6 5725else 5726 case $PKG_CONFIG in 5727 [\\/]* | ?:[\\/]*) 5728 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5729 ;; 5730 *) 5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5732for as_dir in $PATH 5733do 5734 IFS=$as_save_IFS 5735 test -z "$as_dir" && as_dir=. 5736 for ac_exec_ext in '' $ac_executable_extensions; do 5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5738 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5740 break 2 5741 fi 5742done 5743done 5744IFS=$as_save_IFS 5745 5746 ;; 5747esac 5748fi 5749PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5750if test -n "$PKG_CONFIG"; then 5751 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5752echo "${ECHO_T}$PKG_CONFIG" >&6; } 5753else 5754 { echo "$as_me:$LINENO: result: no" >&5 5755echo "${ECHO_T}no" >&6; } 5756fi 5757 5758 5759fi 5760if test -z "$ac_cv_path_PKG_CONFIG"; then 5761 ac_pt_PKG_CONFIG=$PKG_CONFIG 5762 # Extract the first word of "pkg-config", so it can be a program name with args. 5763set dummy pkg-config; ac_word=$2 5764{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5766if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 5767 echo $ECHO_N "(cached) $ECHO_C" >&6 5768else 5769 case $ac_pt_PKG_CONFIG in 5770 [\\/]* | ?:[\\/]*) 5771 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5772 ;; 5773 *) 5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5775for as_dir in $PATH 5776do 5777 IFS=$as_save_IFS 5778 test -z "$as_dir" && as_dir=. 5779 for ac_exec_ext in '' $ac_executable_extensions; do 5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5781 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5783 break 2 5784 fi 5785done 5786done 5787IFS=$as_save_IFS 5788 5789 ;; 5790esac 5791fi 5792ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5793if test -n "$ac_pt_PKG_CONFIG"; then 5794 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5795echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 5796else 5797 { echo "$as_me:$LINENO: result: no" >&5 5798echo "${ECHO_T}no" >&6; } 5799fi 5800 5801 if test "x$ac_pt_PKG_CONFIG" = x; then 5802 PKG_CONFIG="" 5803 else 5804 case $cross_compiling:$ac_tool_warned in 5805yes:) 5806{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5807whose name does not start with the host triplet. If you think this 5808configuration is useful to you, please write to autoconf@gnu.org." >&5 5809echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5810whose name does not start with the host triplet. If you think this 5811configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5812ac_tool_warned=yes ;; 5813esac 5814 PKG_CONFIG=$ac_pt_PKG_CONFIG 5815 fi 5816else 5817 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5818fi 5819 5820fi 5821if test -n "$PKG_CONFIG"; then 5822 _pkg_min_version=0.9.0 5823 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5824echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 5825 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5826 { echo "$as_me:$LINENO: result: yes" >&5 5827echo "${ECHO_T}yes" >&6; } 5828 else 5829 { echo "$as_me:$LINENO: result: no" >&5 5830echo "${ECHO_T}no" >&6; } 5831 PKG_CONFIG="" 5832 fi 5833 5834fi 5835 5836 5837if test -z "${PKG_CONFIG}"; then 5838 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 5839echo "$as_me: error: The pkg-config utility is required." >&2;} 5840 { (exit 1); exit 1; }; } 5841fi 5842 5843 5844 5845have_libshout_includes="" 5846have_libshout_libs="" 5847want_libshout="auto" 5848 5849# Check whether --with-libshout was given. 5850if test "${with_libshout+set}" = set; then 5851 withval=$with_libshout; 5852case "${withval}" in 5853 yes) 5854 want_libshout="yes" 5855 ;; 5856 no) 5857 want_libshout="no" 5858 ;; 5859 *) 5860 have_libshout_prefix="${withval}" 5861 want_libshout="yes" 5862 ;; 5863esac 5864 5865 5866fi 5867 5868 5869# Check whether --with-libshout-includes was given. 5870if test "${with_libshout_includes+set}" = set; then 5871 withval=$with_libshout_includes; 5872case "${withval}" in 5873 yes|no) ;; 5874 *) 5875 have_libshout_includes="${withval}" 5876 ;; 5877esac 5878 5879 5880fi 5881 5882 5883# Check whether --with-libshout-libs was given. 5884if test "${with_libshout_libs+set}" = set; then 5885 withval=$with_libshout_libs; 5886case "${withval}" in 5887 yes|no) ;; 5888 *) 5889 have_libshout_libs="${withval}" 5890 ;; 5891esac 5892 5893 5894fi 5895 5896if test "${local_cv_have_lib_libshout_opts+set}" = set; then 5897 echo $ECHO_N "(cached) $ECHO_C" >&6 5898else 5899 5900ax_check_libshout_shout_pc="no" 5901if test -n "$PKG_CONFIG" && \ 5902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"shout\"") >&5 5903 ($PKG_CONFIG --exists --print-errors "shout") 2>&5 5904 ac_status=$? 5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5906 (exit $ac_status); }; then 5907 ax_check_libshout_shout_pc=yes 5908fi 5909if test -z "${LIBSHOUT_CFLAGS}" \ 5910 -a x"${ax_check_libshout_shout_pc}" = "xyes"; then 5911 LIBSHOUT_CFLAGS="`${PKG_CONFIG} --cflags-only-other shout`" 5912fi 5913if test -n "${LIBSHOUT_CPPFLAGS}"; then 5914 if test -n "${have_libshout_includes}"; then 5915 LIBSHOUT_CPPFLAGS="${LIBSHOUT_CPPFLAGS} -I${have_libshout_includes}" 5916 fi 5917else 5918 if test -n "${have_libshout_includes}"; then 5919 LIBSHOUT_CPPFLAGS="-I${have_libshout_includes}" 5920 else 5921 if test x"${want_libshout}" = "xauto" \ 5922 -a x"${ax_check_libshout_shout_pc}" = "xyes"; then 5923 LIBSHOUT_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I shout`" 5924 elif test -n "${have_libshout_prefix}"; then 5925 LIBSHOUT_CPPFLAGS="-I${have_libshout_prefix}/include" 5926 fi 5927 fi 5928fi 5929if test -n "${LIBSHOUT_LDFLAGS}"; then 5930 if test -n "${have_libshout_libs}"; then 5931 LIBSHOUT_LDFLAGS="-L${have_libshout_libs} ${LIBSHOUT_LDFLAGS}" 5932 fi 5933else 5934 if test -n "${have_libshout_libs}"; then 5935 LIBSHOUT_LDFLAGS="-L${have_libshout_libs}" 5936 else 5937 if test x"${want_libshout}" = "xauto" \ 5938 -a x"${ax_check_libshout_shout_pc}" = "xyes"; then 5939 LIBSHOUT_LDFLAGS=" \ 5940 `${PKG_CONFIG} --libs-only-L shout` \ 5941 `${PKG_CONFIG} --libs-only-other shout` \ 5942 " 5943 elif test -n "${have_libshout_prefix}"; then 5944 LIBSHOUT_LDFLAGS="-L${have_libshout_prefix}/lib" 5945 fi 5946 fi 5947fi 5948local_cv_have_lib_libshout_opts=yes 5949 5950fi 5951 5952 5953 5954 5955 5956 5957if test "${local_cv_have_lib_libshout+set}" = set; then 5958 echo $ECHO_N "(cached) $ECHO_C" >&6 5959else 5960 5961local_cv_have_lib_libshout=no 5962 5963if test x"${want_libshout}" != "xno"; then # want_libshout != no 5964 5965if test -z "${PKG_CONFIG}"; then 5966 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 5967echo "$as_me: error: The pkg-config utility is required." >&2;} 5968 { (exit 1); exit 1; }; } 5969fi 5970 5971if test -n "" -a x"${ax_check_libshout_shout_pc}" = "xyes"; then 5972 if test -n "$PKG_CONFIG" && \ 5973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"shout \"") >&5 5974 ($PKG_CONFIG --exists --print-errors "shout ") 2>&5 5975 ac_status=$? 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5977 (exit $ac_status); }; then 5978 : 5979else 5980 { { echo "$as_me:$LINENO: error: libshout version is required." >&5 5981echo "$as_me: error: libshout version is required." >&2;} 5982 { (exit 1); exit 1; }; } 5983 5984fi 5985fi 5986 5987libshout_libs_autodetect=no 5988if test -z "${LIBSHOUT_LIBS}" \ 5989 -a x"${ax_check_libshout_shout_pc}" = "xyes"; then 5990 LIBSHOUT_LIBS="`${PKG_CONFIG} --libs-only-l shout`" 5991 libshout_libs_autodetect=yes 5992fi 5993 5994# If libshout required libm, make sure that it is listed at the end: 5995if test x"${libshout_libs_autodetect}" = x"yes"; then 5996 if test -n "`echo ${LIBSHOUT_LIBS} | ${FGREP} -e ' -lm'`"; then 5997 xt_shout_TEMP="`echo ${LIBSHOUT_LIBS} | sed -e 's, -lm,,g'`" 5998 LIBSHOUT_LIBS="${xt_shout_TEMP} -lm" 5999 fi 6000fi 6001 6002ax_check_libshout_save_CFLAGS="${CFLAGS}" 6003ax_check_libshout_save_CPPFLAGS="${CPPFLAGS}" 6004ax_check_libshout_save_LDFLAGS="${LDFLAGS}" 6005ax_check_libshout_save_LIBS="${LIBS}" 6006ac_ext=c 6007ac_cpp='$CPP $CPPFLAGS' 6008ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6009ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6010ac_compiler_gnu=$ac_cv_c_compiler_gnu 6011 6012CFLAGS="${CFLAGS} ${LIBSHOUT_CFLAGS}" 6013CPPFLAGS="${CPPFLAGS} ${LIBSHOUT_CPPFLAGS}" 6014LDFLAGS="${LDFLAGS} ${LIBSHOUT_LDFLAGS}" 6015LIBS="${LIBSHOUT_LIBS} ${LIBS}" 6016if test "${ac_cv_header_shout_shout_h+set}" = set; then 6017 { echo "$as_me:$LINENO: checking for shout/shout.h" >&5 6018echo $ECHO_N "checking for shout/shout.h... $ECHO_C" >&6; } 6019if test "${ac_cv_header_shout_shout_h+set}" = set; then 6020 echo $ECHO_N "(cached) $ECHO_C" >&6 6021fi 6022{ echo "$as_me:$LINENO: result: $ac_cv_header_shout_shout_h" >&5 6023echo "${ECHO_T}$ac_cv_header_shout_shout_h" >&6; } 6024else 6025 # Is the header compilable? 6026{ echo "$as_me:$LINENO: checking shout/shout.h usability" >&5 6027echo $ECHO_N "checking shout/shout.h usability... $ECHO_C" >&6; } 6028cat >conftest.$ac_ext <<_ACEOF 6029/* confdefs.h. */ 6030_ACEOF 6031cat confdefs.h >>conftest.$ac_ext 6032cat >>conftest.$ac_ext <<_ACEOF 6033/* end confdefs.h. */ 6034$ac_includes_default 6035#include <shout/shout.h> 6036_ACEOF 6037rm -f conftest.$ac_objext 6038if { (ac_try="$ac_compile" 6039case "(($ac_try" in 6040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6041 *) ac_try_echo=$ac_try;; 6042esac 6043eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6044 (eval "$ac_compile") 2>conftest.er1 6045 ac_status=$? 6046 grep -v '^ *+' conftest.er1 >conftest.err 6047 rm -f conftest.er1 6048 cat conftest.err >&5 6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6050 (exit $ac_status); } && { 6051 test -z "$ac_c_werror_flag" || 6052 test ! -s conftest.err 6053 } && test -s conftest.$ac_objext; then 6054 ac_header_compiler=yes 6055else 6056 echo "$as_me: failed program was:" >&5 6057sed 's/^/| /' conftest.$ac_ext >&5 6058 6059 ac_header_compiler=no 6060fi 6061 6062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6063{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6064echo "${ECHO_T}$ac_header_compiler" >&6; } 6065 6066# Is the header present? 6067{ echo "$as_me:$LINENO: checking shout/shout.h presence" >&5 6068echo $ECHO_N "checking shout/shout.h presence... $ECHO_C" >&6; } 6069cat >conftest.$ac_ext <<_ACEOF 6070/* confdefs.h. */ 6071_ACEOF 6072cat confdefs.h >>conftest.$ac_ext 6073cat >>conftest.$ac_ext <<_ACEOF 6074/* end confdefs.h. */ 6075#include <shout/shout.h> 6076_ACEOF 6077if { (ac_try="$ac_cpp conftest.$ac_ext" 6078case "(($ac_try" in 6079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6080 *) ac_try_echo=$ac_try;; 6081esac 6082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6084 ac_status=$? 6085 grep -v '^ *+' conftest.er1 >conftest.err 6086 rm -f conftest.er1 6087 cat conftest.err >&5 6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6089 (exit $ac_status); } >/dev/null && { 6090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6091 test ! -s conftest.err 6092 }; then 6093 ac_header_preproc=yes 6094else 6095 echo "$as_me: failed program was:" >&5 6096sed 's/^/| /' conftest.$ac_ext >&5 6097 6098 ac_header_preproc=no 6099fi 6100 6101rm -f conftest.err conftest.$ac_ext 6102{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6103echo "${ECHO_T}$ac_header_preproc" >&6; } 6104 6105# So? What about this header? 6106case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6107 yes:no: ) 6108 { echo "$as_me:$LINENO: WARNING: shout/shout.h: accepted by the compiler, rejected by the preprocessor!" >&5 6109echo "$as_me: WARNING: shout/shout.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6110 { echo "$as_me:$LINENO: WARNING: shout/shout.h: proceeding with the compiler's result" >&5 6111echo "$as_me: WARNING: shout/shout.h: proceeding with the compiler's result" >&2;} 6112 ac_header_preproc=yes 6113 ;; 6114 no:yes:* ) 6115 { echo "$as_me:$LINENO: WARNING: shout/shout.h: present but cannot be compiled" >&5 6116echo "$as_me: WARNING: shout/shout.h: present but cannot be compiled" >&2;} 6117 { echo "$as_me:$LINENO: WARNING: shout/shout.h: check for missing prerequisite headers?" >&5 6118echo "$as_me: WARNING: shout/shout.h: check for missing prerequisite headers?" >&2;} 6119 { echo "$as_me:$LINENO: WARNING: shout/shout.h: see the Autoconf documentation" >&5 6120echo "$as_me: WARNING: shout/shout.h: see the Autoconf documentation" >&2;} 6121 { echo "$as_me:$LINENO: WARNING: shout/shout.h: section \"Present But Cannot Be Compiled\"" >&5 6122echo "$as_me: WARNING: shout/shout.h: section \"Present But Cannot Be Compiled\"" >&2;} 6123 { echo "$as_me:$LINENO: WARNING: shout/shout.h: proceeding with the preprocessor's result" >&5 6124echo "$as_me: WARNING: shout/shout.h: proceeding with the preprocessor's result" >&2;} 6125 { echo "$as_me:$LINENO: WARNING: shout/shout.h: in the future, the compiler will take precedence" >&5 6126echo "$as_me: WARNING: shout/shout.h: in the future, the compiler will take precedence" >&2;} 6127 ( cat <<\_ASBOX 6128## ----------------------------------------------------------------- ## 6129## Report this to https://trac.xiph.org/newticket?component=ezstream ## 6130## ----------------------------------------------------------------- ## 6131_ASBOX 6132 ) | sed "s/^/$as_me: WARNING: /" >&2 6133 ;; 6134esac 6135{ echo "$as_me:$LINENO: checking for shout/shout.h" >&5 6136echo $ECHO_N "checking for shout/shout.h... $ECHO_C" >&6; } 6137if test "${ac_cv_header_shout_shout_h+set}" = set; then 6138 echo $ECHO_N "(cached) $ECHO_C" >&6 6139else 6140 ac_cv_header_shout_shout_h=$ac_header_preproc 6141fi 6142{ echo "$as_me:$LINENO: result: $ac_cv_header_shout_shout_h" >&5 6143echo "${ECHO_T}$ac_cv_header_shout_shout_h" >&6; } 6144 6145fi 6146if test $ac_cv_header_shout_shout_h = yes; then 6147 6148 { echo "$as_me:$LINENO: checking if libshout works" >&5 6149echo $ECHO_N "checking if libshout works... $ECHO_C" >&6; } 6150 cat >conftest.$ac_ext <<_ACEOF 6151/* confdefs.h. */ 6152_ACEOF 6153cat confdefs.h >>conftest.$ac_ext 6154cat >>conftest.$ac_ext <<_ACEOF 6155/* end confdefs.h. */ 6156 6157 #include <shout/shout.h> 6158 6159int 6160main () 6161{ 6162 6163 shout_new(); 6164 6165 6166 ; 6167 return 0; 6168} 6169_ACEOF 6170rm -f conftest.$ac_objext conftest$ac_exeext 6171if { (ac_try="$ac_link" 6172case "(($ac_try" in 6173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6174 *) ac_try_echo=$ac_try;; 6175esac 6176eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6177 (eval "$ac_link") 2>conftest.er1 6178 ac_status=$? 6179 grep -v '^ *+' conftest.er1 >conftest.err 6180 rm -f conftest.er1 6181 cat conftest.err >&5 6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6183 (exit $ac_status); } && { 6184 test -z "$ac_c_werror_flag" || 6185 test ! -s conftest.err 6186 } && test -s conftest$ac_exeext && 6187 $as_test_x conftest$ac_exeext; then 6188 6189 { echo "$as_me:$LINENO: result: yes" >&5 6190echo "${ECHO_T}yes" >&6; } 6191 local_cv_have_lib_libshout=yes 6192 6193else 6194 echo "$as_me: failed program was:" >&5 6195sed 's/^/| /' conftest.$ac_ext >&5 6196 6197 6198 { echo "$as_me:$LINENO: result: no" >&5 6199echo "${ECHO_T}no" >&6; } 6200 if test x"${libshout_libs_autodetect}" = "xyes"; then 6201 LIBSHOUT_LIBS="`${PKG_CONFIG} --static --libs-only-l shout`" 6202 LIBS="${LIBSHOUT_LIBS} ${ax_check_libshout_save_LIBS}" 6203 { echo "$as_me:$LINENO: checking if libshout works with explicit dependencies" >&5 6204echo $ECHO_N "checking if libshout works with explicit dependencies... $ECHO_C" >&6; } 6205 cat >conftest.$ac_ext <<_ACEOF 6206/* confdefs.h. */ 6207_ACEOF 6208cat confdefs.h >>conftest.$ac_ext 6209cat >>conftest.$ac_ext <<_ACEOF 6210/* end confdefs.h. */ 6211 6212 #include <shout/shout.h> 6213 6214int 6215main () 6216{ 6217 6218 shout_new(); 6219 6220 ; 6221 return 0; 6222} 6223_ACEOF 6224rm -f conftest.$ac_objext conftest$ac_exeext 6225if { (ac_try="$ac_link" 6226case "(($ac_try" in 6227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6228 *) ac_try_echo=$ac_try;; 6229esac 6230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6231 (eval "$ac_link") 2>conftest.er1 6232 ac_status=$? 6233 grep -v '^ *+' conftest.er1 >conftest.err 6234 rm -f conftest.er1 6235 cat conftest.err >&5 6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6237 (exit $ac_status); } && { 6238 test -z "$ac_c_werror_flag" || 6239 test ! -s conftest.err 6240 } && test -s conftest$ac_exeext && 6241 $as_test_x conftest$ac_exeext; then 6242 6243 { echo "$as_me:$LINENO: result: yes" >&5 6244echo "${ECHO_T}yes" >&6; } 6245 local_cv_have_lib_libshout=yes 6246 6247else 6248 echo "$as_me: failed program was:" >&5 6249sed 's/^/| /' conftest.$ac_ext >&5 6250 6251 6252 { echo "$as_me:$LINENO: result: no" >&5 6253echo "${ECHO_T}no" >&6; } 6254 6255 6256fi 6257 6258rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6259 conftest$ac_exeext conftest.$ac_ext 6260 fi 6261 6262 6263fi 6264 6265rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6266 conftest$ac_exeext conftest.$ac_ext 6267 6268fi 6269 6270 6271CFLAGS="${ax_check_libshout_save_CFLAGS}" 6272CPPFLAGS="${ax_check_libshout_save_CPPFLAGS}" 6273LDFLAGS="${ax_check_libshout_save_LDFLAGS}" 6274LIBS="${ax_check_libshout_save_LIBS}" 6275ac_ext=c 6276ac_cpp='$CPP $CPPFLAGS' 6277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6279ac_compiler_gnu=$ac_cv_c_compiler_gnu 6280 6281 6282fi # want_libshout != no 6283 6284 6285fi 6286 6287 6288{ echo "$as_me:$LINENO: checking for libshout " >&5 6289echo $ECHO_N "checking for libshout ... $ECHO_C" >&6; } 6290if test x"${local_cv_have_lib_libshout}" = "xyes"; then 6291 { echo "$as_me:$LINENO: result: yes" >&5 6292echo "${ECHO_T}yes" >&6; } 6293 : 6294 6295else 6296 { echo "$as_me:$LINENO: result: no" >&5 6297echo "${ECHO_T}no" >&6; } 6298 : 6299 { { echo "$as_me:$LINENO: error: libshout 2.2.x is required." >&5 6300echo "$as_me: error: libshout 2.2.x is required." >&2;} 6301 { (exit 1); exit 1; }; } 6302fi 6303 6304 6305 6306 6307for arg in ${LIBSHOUT_CPPFLAGS} 6308do 6309 if `echo " ${EZ_CPPFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6310 if test -z "${EZ_CPPFLAGS}"; then 6311 EZ_CPPFLAGS="${arg}" 6312 else 6313 EZ_CPPFLAGS="${EZ_CPPFLAGS} ${arg}" 6314 fi 6315 fi 6316done 6317 6318 6319 6320for arg in ${LIBSHOUT_CFLAGS} 6321do 6322 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6323 if test -z "${EZ_CFLAGS}"; then 6324 EZ_CFLAGS="${arg}" 6325 else 6326 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 6327 fi 6328 fi 6329done 6330 6331 6332 6333for arg in ${LIBSHOUT_LDFLAGS} 6334do 6335 if `echo " ${EZ_LDFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6336 if test -z "${EZ_LDFLAGS}"; then 6337 EZ_LDFLAGS="${arg}" 6338 else 6339 EZ_LDFLAGS="${EZ_LDFLAGS} ${arg}" 6340 fi 6341 fi 6342done 6343 6344 6345 6346_prepend_args="" 6347for arg in ${LIBSHOUT_LIBS} 6348do 6349 _prepend_args="${arg} ${_prepend_args}" 6350done 6351for arg in ${_prepend_args} 6352do 6353 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6354 if test -z "${EZ_LIBS}"; then 6355 EZ_LIBS="${arg}" 6356 else 6357 EZ_LIBS="${arg} ${EZ_LIBS}" 6358 fi 6359 fi 6360done 6361 6362 6363 6364 6365if test -z "${PKG_CONFIG}"; then 6366 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 6367echo "$as_me: error: The pkg-config utility is required." >&2;} 6368 { (exit 1); exit 1; }; } 6369fi 6370 6371 6372 6373have_libxml2_includes="" 6374have_libxml2_libs="" 6375want_libxml2="auto" 6376 6377# Check whether --with-libxml2 was given. 6378if test "${with_libxml2+set}" = set; then 6379 withval=$with_libxml2; 6380case "${withval}" in 6381 yes) 6382 want_libxml2="yes" 6383 ;; 6384 no) 6385 want_libxml2="no" 6386 ;; 6387 *) 6388 have_libxml2_prefix="${withval}" 6389 want_libxml2="yes" 6390 ;; 6391esac 6392 6393 6394fi 6395 6396 6397# Check whether --with-libxml2-includes was given. 6398if test "${with_libxml2_includes+set}" = set; then 6399 withval=$with_libxml2_includes; 6400case "${withval}" in 6401 yes|no) ;; 6402 *) 6403 have_libxml2_includes="${withval}" 6404 ;; 6405esac 6406 6407 6408fi 6409 6410 6411# Check whether --with-libxml2-libs was given. 6412if test "${with_libxml2_libs+set}" = set; then 6413 withval=$with_libxml2_libs; 6414case "${withval}" in 6415 yes|no) ;; 6416 *) 6417 have_libxml2_libs="${withval}" 6418 ;; 6419esac 6420 6421 6422fi 6423 6424if test "${local_cv_have_lib_libxml2_opts+set}" = set; then 6425 echo $ECHO_N "(cached) $ECHO_C" >&6 6426else 6427 6428ax_check_libxml2_xml2_pc="no" 6429if test -n "$PKG_CONFIG" && \ 6430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5 6431 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5 6432 ac_status=$? 6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6434 (exit $ac_status); }; then 6435 ax_check_libxml2_xml2_pc=yes 6436fi 6437if test -z "${LIBXML2_CFLAGS}" \ 6438 -a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then 6439 LIBXML2_CFLAGS="`${PKG_CONFIG} --cflags-only-other libxml-2.0`" 6440fi 6441if test -n "${LIBXML2_CPPFLAGS}"; then 6442 if test -n "${have_libxml2_includes}"; then 6443 LIBXML2_CPPFLAGS="${LIBXML2_CPPFLAGS} -I${have_libxml2_includes}" 6444 fi 6445else 6446 if test -n "${have_libxml2_includes}"; then 6447 LIBXML2_CPPFLAGS="-I${have_libxml2_includes}" 6448 else 6449 if test x"${want_libxml2}" = "xauto" \ 6450 -a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then 6451 LIBXML2_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I libxml-2.0`" 6452 elif test -n "${have_libxml2_prefix}"; then 6453 LIBXML2_CPPFLAGS="-I${have_libxml2_prefix}/include" 6454 fi 6455 fi 6456fi 6457if test -n "${LIBXML2_LDFLAGS}"; then 6458 if test -n "${have_libxml2_libs}"; then 6459 LIBXML2_LDFLAGS="-L${have_libxml2_libs} ${LIBXML2_LDFLAGS}" 6460 fi 6461else 6462 if test -n "${have_libxml2_libs}"; then 6463 LIBXML2_LDFLAGS="-L${have_libxml2_libs}" 6464 else 6465 if test x"${want_libxml2}" = "xauto" \ 6466 -a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then 6467 LIBXML2_LDFLAGS=" \ 6468 `${PKG_CONFIG} --libs-only-L libxml-2.0` \ 6469 `${PKG_CONFIG} --libs-only-other libxml-2.0` \ 6470 " 6471 elif test -n "${have_libxml2_prefix}"; then 6472 LIBXML2_LDFLAGS="-L${have_libxml2_prefix}/lib" 6473 fi 6474 fi 6475fi 6476local_cv_have_lib_libxml2_opts=yes 6477 6478fi 6479 6480 6481 6482 6483 6484if test "${local_cv_have_lib_libxml2+set}" = set; then 6485 echo $ECHO_N "(cached) $ECHO_C" >&6 6486else 6487 6488local_cv_have_lib_libxml2=no 6489 6490if test x"${want_libxml2}" != "xno"; then # want_libxml2 != no 6491 6492if test -z "${PKG_CONFIG}"; then 6493 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 6494echo "$as_me: error: The pkg-config utility is required." >&2;} 6495 { (exit 1); exit 1; }; } 6496fi 6497 6498if test -n "$PKG_CONFIG" && \ 6499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 \"") >&5 6500 ($PKG_CONFIG --exists --print-errors "libxml-2.0 ") 2>&5 6501 ac_status=$? 6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6503 (exit $ac_status); }; then 6504 6505 6506libxml2_libs_autodetect=no 6507if test -z "${LIBXML2_LIBS}"; then 6508 LIBXML2_LIBS="`${PKG_CONFIG} --libs-only-l libxml-2.0`" 6509 libxml2_libs_autodetect=yes 6510fi 6511 6512ax_check_libxml2_save_CFLAGS="${CFLAGS}" 6513ax_check_libxml2_save_CPPFLAGS="${CPPFLAGS}" 6514ax_check_libxml2_save_LDFLAGS="${LDFLAGS}" 6515ax_check_libxml2_save_LIBS="${LIBS}" 6516ac_ext=c 6517ac_cpp='$CPP $CPPFLAGS' 6518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6520ac_compiler_gnu=$ac_cv_c_compiler_gnu 6521 6522CFLAGS="${CFLAGS} ${LIBXML2_CFLAGS}" 6523CPPFLAGS="${CPPFLAGS} ${LIBXML2_CPPFLAGS}" 6524LDFLAGS="${LDFLAGS} ${LIBXML2_LDFLAGS}" 6525LIBS="${LIBXML2_LIBS} ${LIBS}" 6526if test "${ac_cv_header_libxml_parser_h+set}" = set; then 6527 { echo "$as_me:$LINENO: checking for libxml/parser.h" >&5 6528echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; } 6529if test "${ac_cv_header_libxml_parser_h+set}" = set; then 6530 echo $ECHO_N "(cached) $ECHO_C" >&6 6531fi 6532{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5 6533echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; } 6534else 6535 # Is the header compilable? 6536{ echo "$as_me:$LINENO: checking libxml/parser.h usability" >&5 6537echo $ECHO_N "checking libxml/parser.h usability... $ECHO_C" >&6; } 6538cat >conftest.$ac_ext <<_ACEOF 6539/* confdefs.h. */ 6540_ACEOF 6541cat confdefs.h >>conftest.$ac_ext 6542cat >>conftest.$ac_ext <<_ACEOF 6543/* end confdefs.h. */ 6544$ac_includes_default 6545#include <libxml/parser.h> 6546_ACEOF 6547rm -f conftest.$ac_objext 6548if { (ac_try="$ac_compile" 6549case "(($ac_try" in 6550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6551 *) ac_try_echo=$ac_try;; 6552esac 6553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6554 (eval "$ac_compile") 2>conftest.er1 6555 ac_status=$? 6556 grep -v '^ *+' conftest.er1 >conftest.err 6557 rm -f conftest.er1 6558 cat conftest.err >&5 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); } && { 6561 test -z "$ac_c_werror_flag" || 6562 test ! -s conftest.err 6563 } && test -s conftest.$ac_objext; then 6564 ac_header_compiler=yes 6565else 6566 echo "$as_me: failed program was:" >&5 6567sed 's/^/| /' conftest.$ac_ext >&5 6568 6569 ac_header_compiler=no 6570fi 6571 6572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6573{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6574echo "${ECHO_T}$ac_header_compiler" >&6; } 6575 6576# Is the header present? 6577{ echo "$as_me:$LINENO: checking libxml/parser.h presence" >&5 6578echo $ECHO_N "checking libxml/parser.h presence... $ECHO_C" >&6; } 6579cat >conftest.$ac_ext <<_ACEOF 6580/* confdefs.h. */ 6581_ACEOF 6582cat confdefs.h >>conftest.$ac_ext 6583cat >>conftest.$ac_ext <<_ACEOF 6584/* end confdefs.h. */ 6585#include <libxml/parser.h> 6586_ACEOF 6587if { (ac_try="$ac_cpp conftest.$ac_ext" 6588case "(($ac_try" in 6589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6590 *) ac_try_echo=$ac_try;; 6591esac 6592eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6594 ac_status=$? 6595 grep -v '^ *+' conftest.er1 >conftest.err 6596 rm -f conftest.er1 6597 cat conftest.err >&5 6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6599 (exit $ac_status); } >/dev/null && { 6600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6601 test ! -s conftest.err 6602 }; then 6603 ac_header_preproc=yes 6604else 6605 echo "$as_me: failed program was:" >&5 6606sed 's/^/| /' conftest.$ac_ext >&5 6607 6608 ac_header_preproc=no 6609fi 6610 6611rm -f conftest.err conftest.$ac_ext 6612{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6613echo "${ECHO_T}$ac_header_preproc" >&6; } 6614 6615# So? What about this header? 6616case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6617 yes:no: ) 6618 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&5 6619echo "$as_me: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6620 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the compiler's result" >&5 6621echo "$as_me: WARNING: libxml/parser.h: proceeding with the compiler's result" >&2;} 6622 ac_header_preproc=yes 6623 ;; 6624 no:yes:* ) 6625 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: present but cannot be compiled" >&5 6626echo "$as_me: WARNING: libxml/parser.h: present but cannot be compiled" >&2;} 6627 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&5 6628echo "$as_me: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&2;} 6629 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: see the Autoconf documentation" >&5 6630echo "$as_me: WARNING: libxml/parser.h: see the Autoconf documentation" >&2;} 6631 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&5 6632echo "$as_me: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&2;} 6633 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&5 6634echo "$as_me: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&2;} 6635 { echo "$as_me:$LINENO: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&5 6636echo "$as_me: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&2;} 6637 ( cat <<\_ASBOX 6638## ----------------------------------------------------------------- ## 6639## Report this to https://trac.xiph.org/newticket?component=ezstream ## 6640## ----------------------------------------------------------------- ## 6641_ASBOX 6642 ) | sed "s/^/$as_me: WARNING: /" >&2 6643 ;; 6644esac 6645{ echo "$as_me:$LINENO: checking for libxml/parser.h" >&5 6646echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; } 6647if test "${ac_cv_header_libxml_parser_h+set}" = set; then 6648 echo $ECHO_N "(cached) $ECHO_C" >&6 6649else 6650 ac_cv_header_libxml_parser_h=$ac_header_preproc 6651fi 6652{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5 6653echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; } 6654 6655fi 6656if test $ac_cv_header_libxml_parser_h = yes; then 6657 6658 { echo "$as_me:$LINENO: checking if libxml2 works" >&5 6659echo $ECHO_N "checking if libxml2 works... $ECHO_C" >&6; } 6660 cat >conftest.$ac_ext <<_ACEOF 6661/* confdefs.h. */ 6662_ACEOF 6663cat confdefs.h >>conftest.$ac_ext 6664cat >>conftest.$ac_ext <<_ACEOF 6665/* end confdefs.h. */ 6666 6667 #include <stdlib.h> 6668 #include <libxml/parser.h> 6669 6670int 6671main () 6672{ 6673 6674 xmlParseFile(NULL); 6675 6676 ; 6677 return 0; 6678} 6679_ACEOF 6680rm -f conftest.$ac_objext conftest$ac_exeext 6681if { (ac_try="$ac_link" 6682case "(($ac_try" in 6683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6684 *) ac_try_echo=$ac_try;; 6685esac 6686eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6687 (eval "$ac_link") 2>conftest.er1 6688 ac_status=$? 6689 grep -v '^ *+' conftest.er1 >conftest.err 6690 rm -f conftest.er1 6691 cat conftest.err >&5 6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6693 (exit $ac_status); } && { 6694 test -z "$ac_c_werror_flag" || 6695 test ! -s conftest.err 6696 } && test -s conftest$ac_exeext && 6697 $as_test_x conftest$ac_exeext; then 6698 6699 { echo "$as_me:$LINENO: result: yes" >&5 6700echo "${ECHO_T}yes" >&6; } 6701 local_cv_have_lib_libxml2=yes 6702 6703else 6704 echo "$as_me: failed program was:" >&5 6705sed 's/^/| /' conftest.$ac_ext >&5 6706 6707 6708 { echo "$as_me:$LINENO: result: no" >&5 6709echo "${ECHO_T}no" >&6; } 6710 if test x"${libxml2_libs_autodetect}" = "xyes"; then 6711 LIBXML2_LIBS="`${PKG_CONFIG} --static --libs-only-l libxml-2.0`" 6712 LIBS="${LIBXML2_LIBS} ${ax_check_libxml2_save_LIBS}" 6713 { echo "$as_me:$LINENO: checking if libxml2 works with explicit dependencies" >&5 6714echo $ECHO_N "checking if libxml2 works with explicit dependencies... $ECHO_C" >&6; } 6715 cat >conftest.$ac_ext <<_ACEOF 6716/* confdefs.h. */ 6717_ACEOF 6718cat confdefs.h >>conftest.$ac_ext 6719cat >>conftest.$ac_ext <<_ACEOF 6720/* end confdefs.h. */ 6721 6722 #include <stdlib.h> 6723 #include <libxml/parser.h> 6724 6725int 6726main () 6727{ 6728 6729 xmlParseFile(NULL); 6730 6731 ; 6732 return 0; 6733} 6734_ACEOF 6735rm -f conftest.$ac_objext conftest$ac_exeext 6736if { (ac_try="$ac_link" 6737case "(($ac_try" in 6738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6739 *) ac_try_echo=$ac_try;; 6740esac 6741eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6742 (eval "$ac_link") 2>conftest.er1 6743 ac_status=$? 6744 grep -v '^ *+' conftest.er1 >conftest.err 6745 rm -f conftest.er1 6746 cat conftest.err >&5 6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6748 (exit $ac_status); } && { 6749 test -z "$ac_c_werror_flag" || 6750 test ! -s conftest.err 6751 } && test -s conftest$ac_exeext && 6752 $as_test_x conftest$ac_exeext; then 6753 6754 { echo "$as_me:$LINENO: result: yes" >&5 6755echo "${ECHO_T}yes" >&6; } 6756 local_cv_have_lib_libxml2=yes 6757 6758else 6759 echo "$as_me: failed program was:" >&5 6760sed 's/^/| /' conftest.$ac_ext >&5 6761 6762 6763 { echo "$as_me:$LINENO: result: no" >&5 6764echo "${ECHO_T}no" >&6; } 6765 6766 6767fi 6768 6769rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6770 conftest$ac_exeext conftest.$ac_ext 6771 fi 6772 6773 6774fi 6775 6776rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6777 conftest$ac_exeext conftest.$ac_ext 6778 6779fi 6780 6781 6782CFLAGS="${ax_check_libxml2_save_CFLAGS}" 6783CPPFLAGS="${ax_check_libxml2_save_CPPFLAGS}" 6784LDFLAGS="${ax_check_libxml2_save_LDFLAGS}" 6785LIBS="${ax_check_libxml2_save_LIBS}" 6786ac_ext=c 6787ac_cpp='$CPP $CPPFLAGS' 6788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6790ac_compiler_gnu=$ac_cv_c_compiler_gnu 6791 6792 6793 6794fi 6795 6796fi # want_libxml2 != no 6797 6798 6799fi 6800 6801 6802{ echo "$as_me:$LINENO: checking for libxml2 " >&5 6803echo $ECHO_N "checking for libxml2 ... $ECHO_C" >&6; } 6804if test x"${local_cv_have_lib_libxml2}" = "xyes"; then 6805 { echo "$as_me:$LINENO: result: yes" >&5 6806echo "${ECHO_T}yes" >&6; } 6807 : 6808 6809else 6810 { echo "$as_me:$LINENO: result: no" >&5 6811echo "${ECHO_T}no" >&6; } 6812 : 6813 { { echo "$as_me:$LINENO: error: libxml 2.x is required." >&5 6814echo "$as_me: error: libxml 2.x is required." >&2;} 6815 { (exit 1); exit 1; }; } 6816fi 6817 6818 6819 6820 6821for arg in ${LIBXML2_CPPFLAGS} 6822do 6823 if `echo " ${EZ_CPPFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6824 if test -z "${EZ_CPPFLAGS}"; then 6825 EZ_CPPFLAGS="${arg}" 6826 else 6827 EZ_CPPFLAGS="${EZ_CPPFLAGS} ${arg}" 6828 fi 6829 fi 6830done 6831 6832 6833 6834for arg in ${LIBXML2_CFLAGS} 6835do 6836 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6837 if test -z "${EZ_CFLAGS}"; then 6838 EZ_CFLAGS="${arg}" 6839 else 6840 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 6841 fi 6842 fi 6843done 6844 6845 6846 6847for arg in ${LIBXML2_LDFLAGS} 6848do 6849 if `echo " ${EZ_LDFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6850 if test -z "${EZ_LDFLAGS}"; then 6851 EZ_LDFLAGS="${arg}" 6852 else 6853 EZ_LDFLAGS="${EZ_LDFLAGS} ${arg}" 6854 fi 6855 fi 6856done 6857 6858 6859 6860_prepend_args="" 6861for arg in ${LIBXML2_LIBS} 6862do 6863 _prepend_args="${arg} ${_prepend_args}" 6864done 6865for arg in ${_prepend_args} 6866do 6867 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 6868 if test -z "${EZ_LIBS}"; then 6869 EZ_LIBS="${arg}" 6870 else 6871 EZ_LIBS="${arg} ${EZ_LIBS}" 6872 fi 6873 fi 6874done 6875 6876 6877use_metadata="No" 6878 6879 6880if test -z "${PKG_CONFIG}"; then 6881 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 6882echo "$as_me: error: The pkg-config utility is required." >&2;} 6883 { (exit 1); exit 1; }; } 6884fi 6885 6886 6887 6888have_taglib_includes="" 6889have_taglib_libs="" 6890want_taglib="auto" 6891 6892# Check whether --with-taglib was given. 6893if test "${with_taglib+set}" = set; then 6894 withval=$with_taglib; 6895case "${withval}" in 6896 yes) 6897 want_taglib="yes" 6898 ;; 6899 no) 6900 want_taglib="no" 6901 ;; 6902 *) 6903 have_taglib_prefix="${withval}" 6904 want_taglib="yes" 6905 ;; 6906esac 6907 6908 6909fi 6910 6911 6912# Check whether --with-taglib-includes was given. 6913if test "${with_taglib_includes+set}" = set; then 6914 withval=$with_taglib_includes; 6915case "${withval}" in 6916 yes|no) ;; 6917 *) 6918 have_taglib_includes="${withval}" 6919 ;; 6920esac 6921 6922 6923fi 6924 6925 6926# Check whether --with-taglib-libs was given. 6927if test "${with_taglib_libs+set}" = set; then 6928 withval=$with_taglib_libs; 6929case "${withval}" in 6930 yes|no) ;; 6931 *) 6932 have_taglib_libs="${withval}" 6933 ;; 6934esac 6935 6936 6937fi 6938 6939if test "${local_cv_have_lib_taglib_opts+set}" = set; then 6940 echo $ECHO_N "(cached) $ECHO_C" >&6 6941else 6942 6943ax_check_taglib_taglib_pc="no" 6944if test -n "$PKG_CONFIG" && \ 6945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"taglib\"") >&5 6946 ($PKG_CONFIG --exists --print-errors "taglib") 2>&5 6947 ac_status=$? 6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6949 (exit $ac_status); }; then 6950 ax_check_taglib_taglib_pc=yes 6951fi 6952if test -z "${TAGLIB_CFLAGS}" \ 6953 -a x"${ax_check_taglib_taglib_pc}" = "xyes"; then 6954 TAGLIB_CFLAGS="`${PKG_CONFIG} --cflags-only-other taglib`" 6955fi 6956if test -n "${TAGLIB_CPPFLAGS}"; then 6957 if test -n "${have_taglib_includes}"; then 6958 TAGLIB_CPPFLAGS="${TAGLIB_CPPFLAGS} -I${have_taglib_includes}" 6959 fi 6960else 6961 if test -n "${have_taglib_includes}"; then 6962 TAGLIB_CPPFLAGS="-I${have_taglib_includes}" 6963 else 6964 if test x"${want_taglib}" = "xauto" \ 6965 -a x"${ax_check_taglib_taglib_pc}" = "xyes"; then 6966 TAGLIB_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I taglib`" 6967 elif test -n "${have_taglib_prefix}"; then 6968 TAGLIB_CPPFLAGS="-I${have_taglib_prefix}/include/taglib" 6969 fi 6970 fi 6971fi 6972if test -n "${TAGLIB_LDFLAGS}"; then 6973 if test -n "${have_taglib_libs}"; then 6974 TAGLIB_LDFLAGS="-L${have_taglib_libs} ${TAGLIB_LDFLAGS}" 6975 fi 6976else 6977 if test -n "${have_taglib_libs}"; then 6978 TAGLIB_LDFLAGS="-L${have_taglib_libs}" 6979 else 6980 if test x"${want_taglib}" = "xauto" \ 6981 -a x"${ax_check_taglib_taglib_pc}" = "xyes"; then 6982 TAGLIB_LDFLAGS=" \ 6983 `${PKG_CONFIG} --libs-only-L taglib` \ 6984 `${PKG_CONFIG} --libs-only-other taglib` \ 6985 " 6986 elif test -n "${have_taglib_prefix}"; then 6987 TAGLIB_LDFLAGS="-L${have_taglib_prefix}/lib" 6988 fi 6989 fi 6990fi 6991local_cv_have_lib_taglib_opts=yes 6992 6993fi 6994 6995 6996 6997 6998if test -z "${PKG_CONFIG}"; then 6999 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 7000echo "$as_me: error: The pkg-config utility is required." >&2;} 7001 { (exit 1); exit 1; }; } 7002fi 7003 7004 7005 7006have_libvorbis_includes="" 7007have_libvorbis_libs="" 7008want_libvorbis="auto" 7009 7010# Check whether --with-libvorbis was given. 7011if test "${with_libvorbis+set}" = set; then 7012 withval=$with_libvorbis; 7013case "${withval}" in 7014 yes) 7015 want_libvorbis="yes" 7016 ;; 7017 no) 7018 want_libvorbis="no" 7019 ;; 7020 *) 7021 have_libvorbis_prefix="${withval}" 7022 want_libvorbis="yes" 7023 ;; 7024esac 7025 7026 7027fi 7028 7029 7030# Check whether --with-libvorbis-includes was given. 7031if test "${with_libvorbis_includes+set}" = set; then 7032 withval=$with_libvorbis_includes; 7033case "${withval}" in 7034 yes|no) ;; 7035 *) 7036 have_libvorbis_includes="${withval}" 7037 ;; 7038esac 7039 7040 7041fi 7042 7043 7044# Check whether --with-libvorbis-libs was given. 7045if test "${with_libvorbis_libs+set}" = set; then 7046 withval=$with_libvorbis_libs; 7047case "${withval}" in 7048 yes|no) ;; 7049 *) 7050 have_libvorbis_libs="${withval}" 7051 ;; 7052esac 7053 7054 7055fi 7056 7057if test "${local_cv_have_lib_libvorbis_opts+set}" = set; then 7058 echo $ECHO_N "(cached) $ECHO_C" >&6 7059else 7060 7061ax_check_libvorbis_vorbis_pc="no" 7062if test -n "$PKG_CONFIG" && \ 7063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis\"") >&5 7064 ($PKG_CONFIG --exists --print-errors "vorbis") 2>&5 7065 ac_status=$? 7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7067 (exit $ac_status); }; then 7068 ax_check_libvorbis_vorbis_pc=yes 7069fi 7070if test -z "${VORBIS_CFLAGS}" \ 7071 -a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then 7072 VORBIS_CFLAGS="`${PKG_CONFIG} --cflags-only-other vorbis`" 7073fi 7074if test -n "${VORBIS_CPPFLAGS}"; then 7075 if test -n "${have_libvorbis_includes}"; then 7076 VORBIS_CPPFLAGS="${VORBIS_CPPFLAGS} -I${have_libvorbis_includes}" 7077 fi 7078else 7079 if test -n "${have_libvorbis_includes}"; then 7080 VORBIS_CPPFLAGS="-I${have_libvorbis_includes}" 7081 else 7082 if test x"${want_libvorbis}" = "xauto" \ 7083 -a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then 7084 VORBIS_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I vorbis`" 7085 elif test -n "${have_libvorbis_prefix}"; then 7086 VORBIS_CPPFLAGS="-I${have_libvorbis_prefix}/include" 7087 fi 7088 fi 7089fi 7090if test -n "${VORBIS_LDFLAGS}"; then 7091 if test -n "${have_libvorbis_libs}"; then 7092 VORBIS_LDFLAGS="-L${have_libvorbis_libs} ${VORBIS_LDFLAGS}" 7093 fi 7094else 7095 if test -n "${have_libvorbis_libs}"; then 7096 VORBIS_LDFLAGS="-L${have_libvorbis_libs}" 7097 else 7098 if test x"${want_libvorbis}" = "xauto" \ 7099 -a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then 7100 VORBIS_LDFLAGS=" \ 7101 `${PKG_CONFIG} --libs-only-L vorbis` \ 7102 `${PKG_CONFIG} --libs-only-other vorbis` \ 7103 " 7104 elif test -n "${have_libvorbis_prefix}"; then 7105 VORBIS_LDFLAGS="-L${have_libvorbis_prefix}/lib" 7106 fi 7107 fi 7108fi 7109local_cv_have_lib_libvorbis_opts=yes 7110 7111fi 7112 7113 7114 7115 7116 7117if test "${local_cv_have_lib_taglib_c+set}" = set; then 7118 echo $ECHO_N "(cached) $ECHO_C" >&6 7119else 7120 7121local_cv_have_lib_taglib_c=no 7122 7123if test x"${want_taglib}" != "xno"; then # want_taglib != no 7124 7125if test -z "${PKG_CONFIG}"; then 7126 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 7127echo "$as_me: error: The pkg-config utility is required." >&2;} 7128 { (exit 1); exit 1; }; } 7129fi 7130 7131if test -n "$PKG_CONFIG" && \ 7132 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"taglib_c \"") >&5 7133 ($PKG_CONFIG --exists --print-errors "taglib_c ") 2>&5 7134 ac_status=$? 7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7136 (exit $ac_status); }; then 7137 7138 7139if test -z "${TAGLIB_C_LIBS}"; then 7140 TAGLIB_C_LIBS="-ltag_c" 7141fi 7142 7143ax_check_taglib_c_save_CFLAGS="${CFLAGS}" 7144ax_check_taglib_c_save_CPPFLAGS="${CPPFLAGS}" 7145ax_check_taglib_c_save_LDFLAGS="${LDFLAGS}" 7146ax_check_taglib_c_save_LIBS="${LIBS}" 7147ac_ext=c 7148ac_cpp='$CPP $CPPFLAGS' 7149ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7150ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7151ac_compiler_gnu=$ac_cv_c_compiler_gnu 7152 7153CFLAGS="${CFLAGS} ${TAGLIB_CFLAGS}" 7154CPPFLAGS="${CPPFLAGS} ${TAGLIB_CPPFLAGS}" 7155LDFLAGS="${LDFLAGS} ${TAGLIB_LDFLAGS}" 7156LIBS="${TAGLIB_C_LIBS} ${LIBS}" 7157if test "${ac_cv_header_tag_c_h+set}" = set; then 7158 { echo "$as_me:$LINENO: checking for tag_c.h" >&5 7159echo $ECHO_N "checking for tag_c.h... $ECHO_C" >&6; } 7160if test "${ac_cv_header_tag_c_h+set}" = set; then 7161 echo $ECHO_N "(cached) $ECHO_C" >&6 7162fi 7163{ echo "$as_me:$LINENO: result: $ac_cv_header_tag_c_h" >&5 7164echo "${ECHO_T}$ac_cv_header_tag_c_h" >&6; } 7165else 7166 # Is the header compilable? 7167{ echo "$as_me:$LINENO: checking tag_c.h usability" >&5 7168echo $ECHO_N "checking tag_c.h usability... $ECHO_C" >&6; } 7169cat >conftest.$ac_ext <<_ACEOF 7170/* confdefs.h. */ 7171_ACEOF 7172cat confdefs.h >>conftest.$ac_ext 7173cat >>conftest.$ac_ext <<_ACEOF 7174/* end confdefs.h. */ 7175$ac_includes_default 7176#include <tag_c.h> 7177_ACEOF 7178rm -f conftest.$ac_objext 7179if { (ac_try="$ac_compile" 7180case "(($ac_try" in 7181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7182 *) ac_try_echo=$ac_try;; 7183esac 7184eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7185 (eval "$ac_compile") 2>conftest.er1 7186 ac_status=$? 7187 grep -v '^ *+' conftest.er1 >conftest.err 7188 rm -f conftest.er1 7189 cat conftest.err >&5 7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7191 (exit $ac_status); } && { 7192 test -z "$ac_c_werror_flag" || 7193 test ! -s conftest.err 7194 } && test -s conftest.$ac_objext; then 7195 ac_header_compiler=yes 7196else 7197 echo "$as_me: failed program was:" >&5 7198sed 's/^/| /' conftest.$ac_ext >&5 7199 7200 ac_header_compiler=no 7201fi 7202 7203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7204{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7205echo "${ECHO_T}$ac_header_compiler" >&6; } 7206 7207# Is the header present? 7208{ echo "$as_me:$LINENO: checking tag_c.h presence" >&5 7209echo $ECHO_N "checking tag_c.h presence... $ECHO_C" >&6; } 7210cat >conftest.$ac_ext <<_ACEOF 7211/* confdefs.h. */ 7212_ACEOF 7213cat confdefs.h >>conftest.$ac_ext 7214cat >>conftest.$ac_ext <<_ACEOF 7215/* end confdefs.h. */ 7216#include <tag_c.h> 7217_ACEOF 7218if { (ac_try="$ac_cpp conftest.$ac_ext" 7219case "(($ac_try" in 7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7221 *) ac_try_echo=$ac_try;; 7222esac 7223eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7225 ac_status=$? 7226 grep -v '^ *+' conftest.er1 >conftest.err 7227 rm -f conftest.er1 7228 cat conftest.err >&5 7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7230 (exit $ac_status); } >/dev/null && { 7231 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7232 test ! -s conftest.err 7233 }; then 7234 ac_header_preproc=yes 7235else 7236 echo "$as_me: failed program was:" >&5 7237sed 's/^/| /' conftest.$ac_ext >&5 7238 7239 ac_header_preproc=no 7240fi 7241 7242rm -f conftest.err conftest.$ac_ext 7243{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7244echo "${ECHO_T}$ac_header_preproc" >&6; } 7245 7246# So? What about this header? 7247case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7248 yes:no: ) 7249 { echo "$as_me:$LINENO: WARNING: tag_c.h: accepted by the compiler, rejected by the preprocessor!" >&5 7250echo "$as_me: WARNING: tag_c.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7251 { echo "$as_me:$LINENO: WARNING: tag_c.h: proceeding with the compiler's result" >&5 7252echo "$as_me: WARNING: tag_c.h: proceeding with the compiler's result" >&2;} 7253 ac_header_preproc=yes 7254 ;; 7255 no:yes:* ) 7256 { echo "$as_me:$LINENO: WARNING: tag_c.h: present but cannot be compiled" >&5 7257echo "$as_me: WARNING: tag_c.h: present but cannot be compiled" >&2;} 7258 { echo "$as_me:$LINENO: WARNING: tag_c.h: check for missing prerequisite headers?" >&5 7259echo "$as_me: WARNING: tag_c.h: check for missing prerequisite headers?" >&2;} 7260 { echo "$as_me:$LINENO: WARNING: tag_c.h: see the Autoconf documentation" >&5 7261echo "$as_me: WARNING: tag_c.h: see the Autoconf documentation" >&2;} 7262 { echo "$as_me:$LINENO: WARNING: tag_c.h: section \"Present But Cannot Be Compiled\"" >&5 7263echo "$as_me: WARNING: tag_c.h: section \"Present But Cannot Be Compiled\"" >&2;} 7264 { echo "$as_me:$LINENO: WARNING: tag_c.h: proceeding with the preprocessor's result" >&5 7265echo "$as_me: WARNING: tag_c.h: proceeding with the preprocessor's result" >&2;} 7266 { echo "$as_me:$LINENO: WARNING: tag_c.h: in the future, the compiler will take precedence" >&5 7267echo "$as_me: WARNING: tag_c.h: in the future, the compiler will take precedence" >&2;} 7268 ( cat <<\_ASBOX 7269## ----------------------------------------------------------------- ## 7270## Report this to https://trac.xiph.org/newticket?component=ezstream ## 7271## ----------------------------------------------------------------- ## 7272_ASBOX 7273 ) | sed "s/^/$as_me: WARNING: /" >&2 7274 ;; 7275esac 7276{ echo "$as_me:$LINENO: checking for tag_c.h" >&5 7277echo $ECHO_N "checking for tag_c.h... $ECHO_C" >&6; } 7278if test "${ac_cv_header_tag_c_h+set}" = set; then 7279 echo $ECHO_N "(cached) $ECHO_C" >&6 7280else 7281 ac_cv_header_tag_c_h=$ac_header_preproc 7282fi 7283{ echo "$as_me:$LINENO: result: $ac_cv_header_tag_c_h" >&5 7284echo "${ECHO_T}$ac_cv_header_tag_c_h" >&6; } 7285 7286fi 7287if test $ac_cv_header_tag_c_h = yes; then 7288 7289 { echo "$as_me:$LINENO: checking if libtag_c works" >&5 7290echo $ECHO_N "checking if libtag_c works... $ECHO_C" >&6; } 7291 cat >conftest.$ac_ext <<_ACEOF 7292/* confdefs.h. */ 7293_ACEOF 7294cat confdefs.h >>conftest.$ac_ext 7295cat >>conftest.$ac_ext <<_ACEOF 7296/* end confdefs.h. */ 7297 7298 #include <tag_c.h> 7299 7300int 7301main () 7302{ 7303 7304 taglib_set_string_management_enabled(0); 7305 7306 7307 ; 7308 return 0; 7309} 7310_ACEOF 7311rm -f conftest.$ac_objext conftest$ac_exeext 7312if { (ac_try="$ac_link" 7313case "(($ac_try" in 7314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7315 *) ac_try_echo=$ac_try;; 7316esac 7317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7318 (eval "$ac_link") 2>conftest.er1 7319 ac_status=$? 7320 grep -v '^ *+' conftest.er1 >conftest.err 7321 rm -f conftest.er1 7322 cat conftest.err >&5 7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7324 (exit $ac_status); } && { 7325 test -z "$ac_c_werror_flag" || 7326 test ! -s conftest.err 7327 } && test -s conftest$ac_exeext && 7328 $as_test_x conftest$ac_exeext; then 7329 7330 { echo "$as_me:$LINENO: result: yes" >&5 7331echo "${ECHO_T}yes" >&6; } 7332 local_cv_have_lib_taglib_c=yes 7333 7334else 7335 echo "$as_me: failed program was:" >&5 7336sed 's/^/| /' conftest.$ac_ext >&5 7337 7338 7339 { echo "$as_me:$LINENO: result: no" >&5 7340echo "${ECHO_T}no" >&6; } 7341 LIBS="${LIBS} -ltag -lstdc++ -lz" 7342 TAGLIB_C_LIBS="${TAGLIB_C_LIBS} -ltag -lstdc++ -lz" 7343 { echo "$as_me:$LINENO: checking if libtag_c works with -ltag -lstdc++ -lz" >&5 7344echo $ECHO_N "checking if libtag_c works with -ltag -lstdc++ -lz... $ECHO_C" >&6; } 7345 cat >conftest.$ac_ext <<_ACEOF 7346/* confdefs.h. */ 7347_ACEOF 7348cat confdefs.h >>conftest.$ac_ext 7349cat >>conftest.$ac_ext <<_ACEOF 7350/* end confdefs.h. */ 7351 7352 #include <tag_c.h> 7353 7354int 7355main () 7356{ 7357 7358 taglib_set_string_management_enabled(0); 7359 7360 7361 ; 7362 return 0; 7363} 7364_ACEOF 7365rm -f conftest.$ac_objext conftest$ac_exeext 7366if { (ac_try="$ac_link" 7367case "(($ac_try" in 7368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7369 *) ac_try_echo=$ac_try;; 7370esac 7371eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7372 (eval "$ac_link") 2>conftest.er1 7373 ac_status=$? 7374 grep -v '^ *+' conftest.er1 >conftest.err 7375 rm -f conftest.er1 7376 cat conftest.err >&5 7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7378 (exit $ac_status); } && { 7379 test -z "$ac_c_werror_flag" || 7380 test ! -s conftest.err 7381 } && test -s conftest$ac_exeext && 7382 $as_test_x conftest$ac_exeext; then 7383 7384 { echo "$as_me:$LINENO: result: yes" >&5 7385echo "${ECHO_T}yes" >&6; } 7386 local_cv_have_lib_taglib_c=yes 7387 7388else 7389 echo "$as_me: failed program was:" >&5 7390sed 's/^/| /' conftest.$ac_ext >&5 7391 7392 7393 { echo "$as_me:$LINENO: result: no" >&5 7394echo "${ECHO_T}no" >&6; } 7395 7396 7397fi 7398 7399rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7400 conftest$ac_exeext conftest.$ac_ext 7401 7402 7403fi 7404 7405rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7406 conftest$ac_exeext conftest.$ac_ext 7407 7408fi 7409 7410 7411CFLAGS="${ax_check_taglib_c_save_CFLAGS}" 7412CPPFLAGS="${ax_check_taglib_c_save_CPPFLAGS}" 7413LDFLAGS="${ax_check_taglib_c_save_LDFLAGS}" 7414LIBS="${ax_check_taglib_c_save_LIBS}" 7415ac_ext=c 7416ac_cpp='$CPP $CPPFLAGS' 7417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7419ac_compiler_gnu=$ac_cv_c_compiler_gnu 7420 7421 7422 7423fi 7424 7425fi # want_taglib != no 7426 7427 7428fi 7429 7430 7431{ echo "$as_me:$LINENO: checking for libtag_c" >&5 7432echo $ECHO_N "checking for libtag_c... $ECHO_C" >&6; } 7433if test x"${local_cv_have_lib_taglib_c}" = "xyes"; then 7434 { echo "$as_me:$LINENO: result: yes" >&5 7435echo "${ECHO_T}yes" >&6; } 7436 : 7437 7438 7439cat >>confdefs.h <<\_ACEOF 7440#define HAVE_TAGLIB 1 7441_ACEOF 7442 7443 7444 7445for arg in ${TAGLIB_CFLAGS} 7446do 7447 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7448 if test -z "${EZ_CFLAGS}"; then 7449 EZ_CFLAGS="${arg}" 7450 else 7451 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 7452 fi 7453 fi 7454done 7455 7456 7457 7458for arg in ${TAGLIB_CPPFLAGS} 7459do 7460 if `echo " ${EZ_CPPFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7461 if test -z "${EZ_CPPFLAGS}"; then 7462 EZ_CPPFLAGS="${arg}" 7463 else 7464 EZ_CPPFLAGS="${EZ_CPPFLAGS} ${arg}" 7465 fi 7466 fi 7467done 7468 7469 7470 7471for arg in ${TAGLIB_LDFLAGS} 7472do 7473 if `echo " ${EZ_LDFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7474 if test -z "${EZ_LDFLAGS}"; then 7475 EZ_LDFLAGS="${arg}" 7476 else 7477 EZ_LDFLAGS="${EZ_LDFLAGS} ${arg}" 7478 fi 7479 fi 7480done 7481 7482 7483 7484_prepend_args="" 7485for arg in ${TAGLIB_C_LIBS} 7486do 7487 _prepend_args="${arg} ${_prepend_args}" 7488done 7489for arg in ${_prepend_args} 7490do 7491 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7492 if test -z "${EZ_LIBS}"; then 7493 EZ_LIBS="${arg}" 7494 else 7495 EZ_LIBS="${arg} ${EZ_LIBS}" 7496 fi 7497 fi 7498done 7499 7500 use_metadata="TagLib" 7501 7502else 7503 { echo "$as_me:$LINENO: result: no" >&5 7504echo "${ECHO_T}no" >&6; } 7505 : 7506 7507 7508 7509 7510if test "${local_cv_have_lib_libvorbisfile+set}" = set; then 7511 echo $ECHO_N "(cached) $ECHO_C" >&6 7512else 7513 7514local_cv_have_lib_libvorbisfile=no 7515 7516if test x"${want_libvorbis}" != "xno"; then # want_libvorbis != no 7517 7518if test -z "${PKG_CONFIG}"; then 7519 { { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5 7520echo "$as_me: error: The pkg-config utility is required." >&2;} 7521 { (exit 1); exit 1; }; } 7522fi 7523 7524if test -n "$PKG_CONFIG" && \ 7525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbisfile \"") >&5 7526 ($PKG_CONFIG --exists --print-errors "vorbisfile ") 2>&5 7527 ac_status=$? 7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7529 (exit $ac_status); }; then 7530 7531 7532libvorbisfile_libs_autodetect=no 7533if test -z "${LIBVORBISFILE_LIBS}"; then 7534 LIBVORBISFILE_LIBS="`${PKG_CONFIG} --libs-only-l vorbisfile`" 7535 libvorbisfile_libs_autodetect=yes 7536fi 7537ax_check_libvorbisfile_save_CFLAGS="${CFLAGS}" 7538ax_check_libvorbisfile_save_CPPFLAGS="${CPPFLAGS}" 7539ax_check_libvorbisfile_save_LDFLAGS="${LDFLAGS}" 7540ax_check_libvorbisfile_save_LIBS="${LIBS}" 7541ac_ext=c 7542ac_cpp='$CPP $CPPFLAGS' 7543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7545ac_compiler_gnu=$ac_cv_c_compiler_gnu 7546 7547CFLAGS="${CFLAGS} ${VORBIS_CFLAGS}" 7548CPPFLAGS="${CPPFLAGS} ${VORBIS_CPPFLAGS}" 7549LDFLAGS="${LDFLAGS} ${VORBIS_LDFLAGS}" 7550LIBS="${LIBVORBISFILE_LIBS} ${LIBS}" 7551if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then 7552 { echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5 7553echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; } 7554if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then 7555 echo $ECHO_N "(cached) $ECHO_C" >&6 7556fi 7557{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5 7558echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; } 7559else 7560 # Is the header compilable? 7561{ echo "$as_me:$LINENO: checking vorbis/vorbisfile.h usability" >&5 7562echo $ECHO_N "checking vorbis/vorbisfile.h usability... $ECHO_C" >&6; } 7563cat >conftest.$ac_ext <<_ACEOF 7564/* confdefs.h. */ 7565_ACEOF 7566cat confdefs.h >>conftest.$ac_ext 7567cat >>conftest.$ac_ext <<_ACEOF 7568/* end confdefs.h. */ 7569$ac_includes_default 7570#include <vorbis/vorbisfile.h> 7571_ACEOF 7572rm -f conftest.$ac_objext 7573if { (ac_try="$ac_compile" 7574case "(($ac_try" in 7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7576 *) ac_try_echo=$ac_try;; 7577esac 7578eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7579 (eval "$ac_compile") 2>conftest.er1 7580 ac_status=$? 7581 grep -v '^ *+' conftest.er1 >conftest.err 7582 rm -f conftest.er1 7583 cat conftest.err >&5 7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7585 (exit $ac_status); } && { 7586 test -z "$ac_c_werror_flag" || 7587 test ! -s conftest.err 7588 } && test -s conftest.$ac_objext; then 7589 ac_header_compiler=yes 7590else 7591 echo "$as_me: failed program was:" >&5 7592sed 's/^/| /' conftest.$ac_ext >&5 7593 7594 ac_header_compiler=no 7595fi 7596 7597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7598{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7599echo "${ECHO_T}$ac_header_compiler" >&6; } 7600 7601# Is the header present? 7602{ echo "$as_me:$LINENO: checking vorbis/vorbisfile.h presence" >&5 7603echo $ECHO_N "checking vorbis/vorbisfile.h presence... $ECHO_C" >&6; } 7604cat >conftest.$ac_ext <<_ACEOF 7605/* confdefs.h. */ 7606_ACEOF 7607cat confdefs.h >>conftest.$ac_ext 7608cat >>conftest.$ac_ext <<_ACEOF 7609/* end confdefs.h. */ 7610#include <vorbis/vorbisfile.h> 7611_ACEOF 7612if { (ac_try="$ac_cpp conftest.$ac_ext" 7613case "(($ac_try" in 7614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7615 *) ac_try_echo=$ac_try;; 7616esac 7617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7619 ac_status=$? 7620 grep -v '^ *+' conftest.er1 >conftest.err 7621 rm -f conftest.er1 7622 cat conftest.err >&5 7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7624 (exit $ac_status); } >/dev/null && { 7625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7626 test ! -s conftest.err 7627 }; then 7628 ac_header_preproc=yes 7629else 7630 echo "$as_me: failed program was:" >&5 7631sed 's/^/| /' conftest.$ac_ext >&5 7632 7633 ac_header_preproc=no 7634fi 7635 7636rm -f conftest.err conftest.$ac_ext 7637{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7638echo "${ECHO_T}$ac_header_preproc" >&6; } 7639 7640# So? What about this header? 7641case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7642 yes:no: ) 7643 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&5 7644echo "$as_me: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7645 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&5 7646echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&2;} 7647 ac_header_preproc=yes 7648 ;; 7649 no:yes:* ) 7650 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&5 7651echo "$as_me: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&2;} 7652 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&5 7653echo "$as_me: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&2;} 7654 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&5 7655echo "$as_me: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&2;} 7656 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&5 7657echo "$as_me: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&2;} 7658 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&5 7659echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&2;} 7660 { echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&5 7661echo "$as_me: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&2;} 7662 ( cat <<\_ASBOX 7663## ----------------------------------------------------------------- ## 7664## Report this to https://trac.xiph.org/newticket?component=ezstream ## 7665## ----------------------------------------------------------------- ## 7666_ASBOX 7667 ) | sed "s/^/$as_me: WARNING: /" >&2 7668 ;; 7669esac 7670{ echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5 7671echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; } 7672if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then 7673 echo $ECHO_N "(cached) $ECHO_C" >&6 7674else 7675 ac_cv_header_vorbis_vorbisfile_h=$ac_header_preproc 7676fi 7677{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5 7678echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; } 7679 7680fi 7681if test $ac_cv_header_vorbis_vorbisfile_h = yes; then 7682 7683 { echo "$as_me:$LINENO: checking if libvorbisfile works" >&5 7684echo $ECHO_N "checking if libvorbisfile works... $ECHO_C" >&6; } 7685 cat >conftest.$ac_ext <<_ACEOF 7686/* confdefs.h. */ 7687_ACEOF 7688cat confdefs.h >>conftest.$ac_ext 7689cat >>conftest.$ac_ext <<_ACEOF 7690/* end confdefs.h. */ 7691 7692 #include <stdlib.h> 7693 #include <vorbis/vorbisfile.h> 7694 7695int 7696main () 7697{ 7698 7699 ov_open(NULL, NULL, NULL, 0); 7700 7701 7702 ; 7703 return 0; 7704} 7705_ACEOF 7706rm -f conftest.$ac_objext conftest$ac_exeext 7707if { (ac_try="$ac_link" 7708case "(($ac_try" in 7709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7710 *) ac_try_echo=$ac_try;; 7711esac 7712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7713 (eval "$ac_link") 2>conftest.er1 7714 ac_status=$? 7715 grep -v '^ *+' conftest.er1 >conftest.err 7716 rm -f conftest.er1 7717 cat conftest.err >&5 7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7719 (exit $ac_status); } && { 7720 test -z "$ac_c_werror_flag" || 7721 test ! -s conftest.err 7722 } && test -s conftest$ac_exeext && 7723 $as_test_x conftest$ac_exeext; then 7724 7725 { echo "$as_me:$LINENO: result: yes" >&5 7726echo "${ECHO_T}yes" >&6; } 7727 local_cv_have_lib_libvorbisfile=yes 7728 7729else 7730 echo "$as_me: failed program was:" >&5 7731sed 's/^/| /' conftest.$ac_ext >&5 7732 7733 7734 { echo "$as_me:$LINENO: result: no" >&5 7735echo "${ECHO_T}no" >&6; } 7736 7737 7738fi 7739 7740rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7741 conftest$ac_exeext conftest.$ac_ext 7742 7743fi 7744 7745 7746CFLAGS="${ax_check_libvorbisfile_save_CFLAGS}" 7747CPPFLAGS="${ax_check_libvorbisfile_save_CPPFLAGS}" 7748LDFLAGS="${ax_check_libvorbisfile_save_LDFLAGS}" 7749LIBS="${ax_check_libvorbisfile_save_LIBS}" 7750ac_ext=c 7751ac_cpp='$CPP $CPPFLAGS' 7752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7754ac_compiler_gnu=$ac_cv_c_compiler_gnu 7755 7756 7757 7758fi 7759 7760fi # want_libvorbis != no 7761 7762 7763fi 7764 7765 7766{ echo "$as_me:$LINENO: checking for libvorbisfile " >&5 7767echo $ECHO_N "checking for libvorbisfile ... $ECHO_C" >&6; } 7768if test x"${local_cv_have_lib_libvorbisfile}" = "xyes"; then 7769 { echo "$as_me:$LINENO: result: yes" >&5 7770echo "${ECHO_T}yes" >&6; } 7771 : 7772 7773 7774cat >>confdefs.h <<\_ACEOF 7775#define HAVE_VORBISFILE 1 7776_ACEOF 7777 7778 7779 7780for arg in ${VORBIS_CPPFLAGS} 7781do 7782 if `echo " ${EZ_CPPFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7783 if test -z "${EZ_CPPFLAGS}"; then 7784 EZ_CPPFLAGS="${arg}" 7785 else 7786 EZ_CPPFLAGS="${EZ_CPPFLAGS} ${arg}" 7787 fi 7788 fi 7789done 7790 7791 7792 7793for arg in ${VORBIS_CFLAGS} 7794do 7795 if `echo " ${EZ_CFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7796 if test -z "${EZ_CFLAGS}"; then 7797 EZ_CFLAGS="${arg}" 7798 else 7799 EZ_CFLAGS="${EZ_CFLAGS} ${arg}" 7800 fi 7801 fi 7802done 7803 7804 7805 7806for arg in ${VORBIS_LDFLAGS} 7807do 7808 if `echo " ${EZ_LDFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7809 if test -z "${EZ_LDFLAGS}"; then 7810 EZ_LDFLAGS="${arg}" 7811 else 7812 EZ_LDFLAGS="${EZ_LDFLAGS} ${arg}" 7813 fi 7814 fi 7815done 7816 7817 7818 7819_prepend_args="" 7820for arg in ${LIBVORBISFILE_LIBS} 7821do 7822 _prepend_args="${arg} ${_prepend_args}" 7823done 7824for arg in ${_prepend_args} 7825do 7826 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 7827 if test -z "${EZ_LIBS}"; then 7828 EZ_LIBS="${arg}" 7829 else 7830 EZ_LIBS="${arg} ${EZ_LIBS}" 7831 fi 7832 fi 7833done 7834 7835 use_metadata="libvorbis" 7836 7837else 7838 { echo "$as_me:$LINENO: result: no" >&5 7839echo "${ECHO_T}no" >&6; } 7840 : 7841 7842fi 7843 7844 7845 7846fi 7847 7848 7849# Not using AM_ICONV to check for iconv(), with or without libiconv(), 7850# is not a viable option. Something in the past went horribly wrong; 7851# the whole topic is extremely complex and not worth rewriting. 7852# Instead, work around the buggy no-op that is --with-libiconv-prefix, 7853# and at least try to find it in --prefix. Thankfully, it is and will 7854# remain optional in ezstream. 7855 7856INCICONV="" 7857LDICONV="" 7858LIBICONV="" 7859LTLIBICONV="" 7860EZ_LIBICONV="" 7861 7862 if test "X$prefix" = "XNONE"; then 7863 acl_final_prefix="$ac_default_prefix" 7864 else 7865 acl_final_prefix="$prefix" 7866 fi 7867 if test "X$exec_prefix" = "XNONE"; then 7868 acl_final_exec_prefix='${prefix}' 7869 else 7870 acl_final_exec_prefix="$exec_prefix" 7871 fi 7872 acl_save_prefix="$prefix" 7873 prefix="$acl_final_prefix" 7874 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 7875 prefix="$acl_save_prefix" 7876 7877 7878# Check whether --with-gnu-ld was given. 7879if test "${with_gnu_ld+set}" = set; then 7880 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 7881else 7882 with_gnu_ld=no 7883fi 7884 7885# Prepare PATH_SEPARATOR. 7886# The user is always right. 7887if test "${PATH_SEPARATOR+set}" != set; then 7888 echo "#! /bin/sh" >conf$$.sh 7889 echo "exit 0" >>conf$$.sh 7890 chmod +x conf$$.sh 7891 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7892 PATH_SEPARATOR=';' 7893 else 7894 PATH_SEPARATOR=: 7895 fi 7896 rm -f conf$$.sh 7897fi 7898ac_prog=ld 7899if test "$GCC" = yes; then 7900 # Check if gcc -print-prog-name=ld gives a path. 7901 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 7902echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } 7903 case $host in 7904 *-*-mingw*) 7905 # gcc leaves a trailing carriage return which upsets mingw 7906 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 7907 *) 7908 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 7909 esac 7910 case $ac_prog in 7911 # Accept absolute paths. 7912 [\\/]* | [A-Za-z]:[\\/]*) 7913 re_direlt='/[^/][^/]*/\.\./' 7914 # Canonicalize the path of ld 7915 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 7916 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 7917 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 7918 done 7919 test -z "$LD" && LD="$ac_prog" 7920 ;; 7921 "") 7922 # If it fails, then pretend we aren't using GCC. 7923 ac_prog=ld 7924 ;; 7925 *) 7926 # If it is relative, then search for the first ld in PATH. 7927 with_gnu_ld=unknown 7928 ;; 7929 esac 7930elif test "$with_gnu_ld" = yes; then 7931 { echo "$as_me:$LINENO: checking for GNU ld" >&5 7932echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 7933else 7934 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 7935echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 7936fi 7937if test "${acl_cv_path_LD+set}" = set; then 7938 echo $ECHO_N "(cached) $ECHO_C" >&6 7939else 7940 if test -z "$LD"; then 7941 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 7942 for ac_dir in $PATH; do 7943 test -z "$ac_dir" && ac_dir=. 7944 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 7945 acl_cv_path_LD="$ac_dir/$ac_prog" 7946 # Check to see if the program is GNU ld. I'd rather use --version, 7947 # but apparently some GNU ld's only accept -v. 7948 # Break only if it was the GNU/non-GNU ld that we prefer. 7949 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 7950 *GNU* | *'with BFD'*) 7951 test "$with_gnu_ld" != no && break ;; 7952 *) 7953 test "$with_gnu_ld" != yes && break ;; 7954 esac 7955 fi 7956 done 7957 IFS="$ac_save_ifs" 7958else 7959 acl_cv_path_LD="$LD" # Let the user override the test with a path. 7960fi 7961fi 7962 7963LD="$acl_cv_path_LD" 7964if test -n "$LD"; then 7965 { echo "$as_me:$LINENO: result: $LD" >&5 7966echo "${ECHO_T}$LD" >&6; } 7967else 7968 { echo "$as_me:$LINENO: result: no" >&5 7969echo "${ECHO_T}no" >&6; } 7970fi 7971test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 7972echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 7973 { (exit 1); exit 1; }; } 7974{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 7975echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 7976if test "${acl_cv_prog_gnu_ld+set}" = set; then 7977 echo $ECHO_N "(cached) $ECHO_C" >&6 7978else 7979 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 7980case `$LD -v 2>&1 </dev/null` in 7981*GNU* | *'with BFD'*) 7982 acl_cv_prog_gnu_ld=yes ;; 7983*) 7984 acl_cv_prog_gnu_ld=no ;; 7985esac 7986fi 7987{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 7988echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } 7989with_gnu_ld=$acl_cv_prog_gnu_ld 7990 7991 7992 7993 7994 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 7995echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } 7996if test "${acl_cv_rpath+set}" = set; then 7997 echo $ECHO_N "(cached) $ECHO_C" >&6 7998else 7999 8000 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 8001 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 8002 . ./conftest.sh 8003 rm -f ./conftest.sh 8004 acl_cv_rpath=done 8005 8006fi 8007{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 8008echo "${ECHO_T}$acl_cv_rpath" >&6; } 8009 wl="$acl_cv_wl" 8010 acl_libext="$acl_cv_libext" 8011 acl_shlibext="$acl_cv_shlibext" 8012 acl_libname_spec="$acl_cv_libname_spec" 8013 acl_library_names_spec="$acl_cv_library_names_spec" 8014 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 8015 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 8016 acl_hardcode_direct="$acl_cv_hardcode_direct" 8017 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 8018 # Check whether --enable-rpath was given. 8019if test "${enable_rpath+set}" = set; then 8020 enableval=$enable_rpath; : 8021else 8022 enable_rpath=yes 8023fi 8024 8025 8026 8027 acl_libdirstem=lib 8028 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 8029 if test -n "$searchpath"; then 8030 acl_save_IFS="${IFS= }"; IFS=":" 8031 for searchdir in $searchpath; do 8032 if test -d "$searchdir"; then 8033 case "$searchdir" in 8034 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 8035 *) searchdir=`cd "$searchdir" && pwd` 8036 case "$searchdir" in 8037 */lib64 ) acl_libdirstem=lib64 ;; 8038 esac ;; 8039 esac 8040 fi 8041 done 8042 IFS="$acl_save_IFS" 8043 fi 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 use_additional=yes 8054 8055 acl_save_prefix="$prefix" 8056 prefix="$acl_final_prefix" 8057 acl_save_exec_prefix="$exec_prefix" 8058 exec_prefix="$acl_final_exec_prefix" 8059 8060 eval additional_includedir=\"$includedir\" 8061 eval additional_libdir=\"$libdir\" 8062 8063 exec_prefix="$acl_save_exec_prefix" 8064 prefix="$acl_save_prefix" 8065 8066 8067# Check whether --with-libiconv-prefix was given. 8068if test "${with_libiconv_prefix+set}" = set; then 8069 withval=$with_libiconv_prefix; 8070 if test "X$withval" = "Xno"; then 8071 use_additional=no 8072 else 8073 if test "X$withval" = "X"; then 8074 8075 acl_save_prefix="$prefix" 8076 prefix="$acl_final_prefix" 8077 acl_save_exec_prefix="$exec_prefix" 8078 exec_prefix="$acl_final_exec_prefix" 8079 8080 eval additional_includedir=\"$includedir\" 8081 eval additional_libdir=\"$libdir\" 8082 8083 exec_prefix="$acl_save_exec_prefix" 8084 prefix="$acl_save_prefix" 8085 8086 else 8087 additional_includedir="$withval/include" 8088 additional_libdir="$withval/$acl_libdirstem" 8089 fi 8090 fi 8091 8092fi 8093 8094 LIBICONV= 8095 LTLIBICONV= 8096 INCICONV= 8097 LIBICONV_PREFIX= 8098 rpathdirs= 8099 ltrpathdirs= 8100 names_already_handled= 8101 names_next_round='iconv ' 8102 while test -n "$names_next_round"; do 8103 names_this_round="$names_next_round" 8104 names_next_round= 8105 for name in $names_this_round; do 8106 already_handled= 8107 for n in $names_already_handled; do 8108 if test "$n" = "$name"; then 8109 already_handled=yes 8110 break 8111 fi 8112 done 8113 if test -z "$already_handled"; then 8114 names_already_handled="$names_already_handled $name" 8115 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 8116 eval value=\"\$HAVE_LIB$uppername\" 8117 if test -n "$value"; then 8118 if test "$value" = yes; then 8119 eval value=\"\$LIB$uppername\" 8120 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 8121 eval value=\"\$LTLIB$uppername\" 8122 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 8123 else 8124 : 8125 fi 8126 else 8127 found_dir= 8128 found_la= 8129 found_so= 8130 found_a= 8131 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 8132 if test -n "$acl_shlibext"; then 8133 shrext=".$acl_shlibext" # typically: shrext=.so 8134 else 8135 shrext= 8136 fi 8137 if test $use_additional = yes; then 8138 dir="$additional_libdir" 8139 if test -n "$acl_shlibext"; then 8140 if test -f "$dir/$libname$shrext"; then 8141 found_dir="$dir" 8142 found_so="$dir/$libname$shrext" 8143 else 8144 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 8145 ver=`(cd "$dir" && \ 8146 for f in "$libname$shrext".*; do echo "$f"; done \ 8147 | sed -e "s,^$libname$shrext\\\\.,," \ 8148 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 8149 | sed 1q ) 2>/dev/null` 8150 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 8151 found_dir="$dir" 8152 found_so="$dir/$libname$shrext.$ver" 8153 fi 8154 else 8155 eval library_names=\"$acl_library_names_spec\" 8156 for f in $library_names; do 8157 if test -f "$dir/$f"; then 8158 found_dir="$dir" 8159 found_so="$dir/$f" 8160 break 8161 fi 8162 done 8163 fi 8164 fi 8165 fi 8166 if test "X$found_dir" = "X"; then 8167 if test -f "$dir/$libname.$acl_libext"; then 8168 found_dir="$dir" 8169 found_a="$dir/$libname.$acl_libext" 8170 fi 8171 fi 8172 if test "X$found_dir" != "X"; then 8173 if test -f "$dir/$libname.la"; then 8174 found_la="$dir/$libname.la" 8175 fi 8176 fi 8177 fi 8178 if test "X$found_dir" = "X"; then 8179 for x in $LDFLAGS $LTLIBICONV; do 8180 8181 acl_save_prefix="$prefix" 8182 prefix="$acl_final_prefix" 8183 acl_save_exec_prefix="$exec_prefix" 8184 exec_prefix="$acl_final_exec_prefix" 8185 eval x=\"$x\" 8186 exec_prefix="$acl_save_exec_prefix" 8187 prefix="$acl_save_prefix" 8188 8189 case "$x" in 8190 -L*) 8191 dir=`echo "X$x" | sed -e 's/^X-L//'` 8192 if test -n "$acl_shlibext"; then 8193 if test -f "$dir/$libname$shrext"; then 8194 found_dir="$dir" 8195 found_so="$dir/$libname$shrext" 8196 else 8197 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 8198 ver=`(cd "$dir" && \ 8199 for f in "$libname$shrext".*; do echo "$f"; done \ 8200 | sed -e "s,^$libname$shrext\\\\.,," \ 8201 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 8202 | sed 1q ) 2>/dev/null` 8203 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 8204 found_dir="$dir" 8205 found_so="$dir/$libname$shrext.$ver" 8206 fi 8207 else 8208 eval library_names=\"$acl_library_names_spec\" 8209 for f in $library_names; do 8210 if test -f "$dir/$f"; then 8211 found_dir="$dir" 8212 found_so="$dir/$f" 8213 break 8214 fi 8215 done 8216 fi 8217 fi 8218 fi 8219 if test "X$found_dir" = "X"; then 8220 if test -f "$dir/$libname.$acl_libext"; then 8221 found_dir="$dir" 8222 found_a="$dir/$libname.$acl_libext" 8223 fi 8224 fi 8225 if test "X$found_dir" != "X"; then 8226 if test -f "$dir/$libname.la"; then 8227 found_la="$dir/$libname.la" 8228 fi 8229 fi 8230 ;; 8231 esac 8232 if test "X$found_dir" != "X"; then 8233 break 8234 fi 8235 done 8236 fi 8237 if test "X$found_dir" != "X"; then 8238 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 8239 if test "X$found_so" != "X"; then 8240 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 8241 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 8242 else 8243 haveit= 8244 for x in $ltrpathdirs; do 8245 if test "X$x" = "X$found_dir"; then 8246 haveit=yes 8247 break 8248 fi 8249 done 8250 if test -z "$haveit"; then 8251 ltrpathdirs="$ltrpathdirs $found_dir" 8252 fi 8253 if test "$acl_hardcode_direct" = yes; then 8254 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 8255 else 8256 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 8257 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 8258 haveit= 8259 for x in $rpathdirs; do 8260 if test "X$x" = "X$found_dir"; then 8261 haveit=yes 8262 break 8263 fi 8264 done 8265 if test -z "$haveit"; then 8266 rpathdirs="$rpathdirs $found_dir" 8267 fi 8268 else 8269 haveit= 8270 for x in $LDFLAGS $LIBICONV; do 8271 8272 acl_save_prefix="$prefix" 8273 prefix="$acl_final_prefix" 8274 acl_save_exec_prefix="$exec_prefix" 8275 exec_prefix="$acl_final_exec_prefix" 8276 eval x=\"$x\" 8277 exec_prefix="$acl_save_exec_prefix" 8278 prefix="$acl_save_prefix" 8279 8280 if test "X$x" = "X-L$found_dir"; then 8281 haveit=yes 8282 break 8283 fi 8284 done 8285 if test -z "$haveit"; then 8286 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 8287 fi 8288 if test "$acl_hardcode_minus_L" != no; then 8289 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 8290 else 8291 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 8292 fi 8293 fi 8294 fi 8295 fi 8296 else 8297 if test "X$found_a" != "X"; then 8298 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 8299 else 8300 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 8301 fi 8302 fi 8303 additional_includedir= 8304 case "$found_dir" in 8305 */$acl_libdirstem | */$acl_libdirstem/) 8306 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 8307 LIBICONV_PREFIX="$basedir" 8308 additional_includedir="$basedir/include" 8309 ;; 8310 esac 8311 if test "X$additional_includedir" != "X"; then 8312 if test "X$additional_includedir" != "X/usr/include"; then 8313 haveit= 8314 if test "X$additional_includedir" = "X/usr/local/include"; then 8315 if test -n "$GCC"; then 8316 case $host_os in 8317 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 8318 esac 8319 fi 8320 fi 8321 if test -z "$haveit"; then 8322 for x in $CPPFLAGS $INCICONV; do 8323 8324 acl_save_prefix="$prefix" 8325 prefix="$acl_final_prefix" 8326 acl_save_exec_prefix="$exec_prefix" 8327 exec_prefix="$acl_final_exec_prefix" 8328 eval x=\"$x\" 8329 exec_prefix="$acl_save_exec_prefix" 8330 prefix="$acl_save_prefix" 8331 8332 if test "X$x" = "X-I$additional_includedir"; then 8333 haveit=yes 8334 break 8335 fi 8336 done 8337 if test -z "$haveit"; then 8338 if test -d "$additional_includedir"; then 8339 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 8340 fi 8341 fi 8342 fi 8343 fi 8344 fi 8345 if test -n "$found_la"; then 8346 save_libdir="$libdir" 8347 case "$found_la" in 8348 */* | *\\*) . "$found_la" ;; 8349 *) . "./$found_la" ;; 8350 esac 8351 libdir="$save_libdir" 8352 for dep in $dependency_libs; do 8353 case "$dep" in 8354 -L*) 8355 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 8356 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 8357 haveit= 8358 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 8359 if test -n "$GCC"; then 8360 case $host_os in 8361 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 8362 esac 8363 fi 8364 fi 8365 if test -z "$haveit"; then 8366 haveit= 8367 for x in $LDFLAGS $LIBICONV; do 8368 8369 acl_save_prefix="$prefix" 8370 prefix="$acl_final_prefix" 8371 acl_save_exec_prefix="$exec_prefix" 8372 exec_prefix="$acl_final_exec_prefix" 8373 eval x=\"$x\" 8374 exec_prefix="$acl_save_exec_prefix" 8375 prefix="$acl_save_prefix" 8376 8377 if test "X$x" = "X-L$additional_libdir"; then 8378 haveit=yes 8379 break 8380 fi 8381 done 8382 if test -z "$haveit"; then 8383 if test -d "$additional_libdir"; then 8384 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 8385 fi 8386 fi 8387 haveit= 8388 for x in $LDFLAGS $LTLIBICONV; do 8389 8390 acl_save_prefix="$prefix" 8391 prefix="$acl_final_prefix" 8392 acl_save_exec_prefix="$exec_prefix" 8393 exec_prefix="$acl_final_exec_prefix" 8394 eval x=\"$x\" 8395 exec_prefix="$acl_save_exec_prefix" 8396 prefix="$acl_save_prefix" 8397 8398 if test "X$x" = "X-L$additional_libdir"; then 8399 haveit=yes 8400 break 8401 fi 8402 done 8403 if test -z "$haveit"; then 8404 if test -d "$additional_libdir"; then 8405 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 8406 fi 8407 fi 8408 fi 8409 fi 8410 ;; 8411 -R*) 8412 dir=`echo "X$dep" | sed -e 's/^X-R//'` 8413 if test "$enable_rpath" != no; then 8414 haveit= 8415 for x in $rpathdirs; do 8416 if test "X$x" = "X$dir"; then 8417 haveit=yes 8418 break 8419 fi 8420 done 8421 if test -z "$haveit"; then 8422 rpathdirs="$rpathdirs $dir" 8423 fi 8424 haveit= 8425 for x in $ltrpathdirs; do 8426 if test "X$x" = "X$dir"; then 8427 haveit=yes 8428 break 8429 fi 8430 done 8431 if test -z "$haveit"; then 8432 ltrpathdirs="$ltrpathdirs $dir" 8433 fi 8434 fi 8435 ;; 8436 -l*) 8437 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 8438 ;; 8439 *.la) 8440 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 8441 ;; 8442 *) 8443 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 8444 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 8445 ;; 8446 esac 8447 done 8448 fi 8449 else 8450 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 8451 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 8452 fi 8453 fi 8454 fi 8455 done 8456 done 8457 if test "X$rpathdirs" != "X"; then 8458 if test -n "$acl_hardcode_libdir_separator"; then 8459 alldirs= 8460 for found_dir in $rpathdirs; do 8461 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 8462 done 8463 acl_save_libdir="$libdir" 8464 libdir="$alldirs" 8465 eval flag=\"$acl_hardcode_libdir_flag_spec\" 8466 libdir="$acl_save_libdir" 8467 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 8468 else 8469 for found_dir in $rpathdirs; do 8470 acl_save_libdir="$libdir" 8471 libdir="$found_dir" 8472 eval flag=\"$acl_hardcode_libdir_flag_spec\" 8473 libdir="$acl_save_libdir" 8474 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 8475 done 8476 fi 8477 fi 8478 if test "X$ltrpathdirs" != "X"; then 8479 for found_dir in $ltrpathdirs; do 8480 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 8481 done 8482 fi 8483 8484 8485 8486 8487 8488 8489 8490 am_save_CPPFLAGS="$CPPFLAGS" 8491 8492 for element in $INCICONV; do 8493 haveit= 8494 for x in $CPPFLAGS; do 8495 8496 acl_save_prefix="$prefix" 8497 prefix="$acl_final_prefix" 8498 acl_save_exec_prefix="$exec_prefix" 8499 exec_prefix="$acl_final_exec_prefix" 8500 eval x=\"$x\" 8501 exec_prefix="$acl_save_exec_prefix" 8502 prefix="$acl_save_prefix" 8503 8504 if test "X$x" = "X$element"; then 8505 haveit=yes 8506 break 8507 fi 8508 done 8509 if test -z "$haveit"; then 8510 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 8511 fi 8512 done 8513 8514 8515 { echo "$as_me:$LINENO: checking for iconv" >&5 8516echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 8517if test "${am_cv_func_iconv+set}" = set; then 8518 echo $ECHO_N "(cached) $ECHO_C" >&6 8519else 8520 8521 am_cv_func_iconv="no, consider installing GNU libiconv" 8522 am_cv_lib_iconv=no 8523 cat >conftest.$ac_ext <<_ACEOF 8524/* confdefs.h. */ 8525_ACEOF 8526cat confdefs.h >>conftest.$ac_ext 8527cat >>conftest.$ac_ext <<_ACEOF 8528/* end confdefs.h. */ 8529#include <stdlib.h> 8530#include <iconv.h> 8531int 8532main () 8533{ 8534iconv_t cd = iconv_open("",""); 8535 iconv(cd,NULL,NULL,NULL,NULL); 8536 iconv_close(cd); 8537 ; 8538 return 0; 8539} 8540_ACEOF 8541rm -f conftest.$ac_objext conftest$ac_exeext 8542if { (ac_try="$ac_link" 8543case "(($ac_try" in 8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8545 *) ac_try_echo=$ac_try;; 8546esac 8547eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8548 (eval "$ac_link") 2>conftest.er1 8549 ac_status=$? 8550 grep -v '^ *+' conftest.er1 >conftest.err 8551 rm -f conftest.er1 8552 cat conftest.err >&5 8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8554 (exit $ac_status); } && { 8555 test -z "$ac_c_werror_flag" || 8556 test ! -s conftest.err 8557 } && test -s conftest$ac_exeext && 8558 $as_test_x conftest$ac_exeext; then 8559 am_cv_func_iconv=yes 8560else 8561 echo "$as_me: failed program was:" >&5 8562sed 's/^/| /' conftest.$ac_ext >&5 8563 8564 8565fi 8566 8567rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8568 conftest$ac_exeext conftest.$ac_ext 8569 if test "$am_cv_func_iconv" != yes; then 8570 am_save_LIBS="$LIBS" 8571 LIBS="$LIBS $LIBICONV" 8572 cat >conftest.$ac_ext <<_ACEOF 8573/* confdefs.h. */ 8574_ACEOF 8575cat confdefs.h >>conftest.$ac_ext 8576cat >>conftest.$ac_ext <<_ACEOF 8577/* end confdefs.h. */ 8578#include <stdlib.h> 8579#include <iconv.h> 8580int 8581main () 8582{ 8583iconv_t cd = iconv_open("",""); 8584 iconv(cd,NULL,NULL,NULL,NULL); 8585 iconv_close(cd); 8586 ; 8587 return 0; 8588} 8589_ACEOF 8590rm -f conftest.$ac_objext conftest$ac_exeext 8591if { (ac_try="$ac_link" 8592case "(($ac_try" in 8593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8594 *) ac_try_echo=$ac_try;; 8595esac 8596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8597 (eval "$ac_link") 2>conftest.er1 8598 ac_status=$? 8599 grep -v '^ *+' conftest.er1 >conftest.err 8600 rm -f conftest.er1 8601 cat conftest.err >&5 8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8603 (exit $ac_status); } && { 8604 test -z "$ac_c_werror_flag" || 8605 test ! -s conftest.err 8606 } && test -s conftest$ac_exeext && 8607 $as_test_x conftest$ac_exeext; then 8608 am_cv_lib_iconv=yes 8609 am_cv_func_iconv=yes 8610else 8611 echo "$as_me: failed program was:" >&5 8612sed 's/^/| /' conftest.$ac_ext >&5 8613 8614 8615fi 8616 8617rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8618 conftest$ac_exeext conftest.$ac_ext 8619 LIBS="$am_save_LIBS" 8620 fi 8621 8622fi 8623{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 8624echo "${ECHO_T}$am_cv_func_iconv" >&6; } 8625 if test "$am_cv_func_iconv" = yes; then 8626 { echo "$as_me:$LINENO: checking for working iconv" >&5 8627echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; } 8628if test "${am_cv_func_iconv_works+set}" = set; then 8629 echo $ECHO_N "(cached) $ECHO_C" >&6 8630else 8631 8632 am_save_LIBS="$LIBS" 8633 if test $am_cv_lib_iconv = yes; then 8634 LIBS="$LIBS $LIBICONV" 8635 fi 8636 if test "$cross_compiling" = yes; then 8637 case "$host_os" in 8638 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 8639 *) am_cv_func_iconv_works="guessing yes" ;; 8640 esac 8641else 8642 cat >conftest.$ac_ext <<_ACEOF 8643/* confdefs.h. */ 8644_ACEOF 8645cat confdefs.h >>conftest.$ac_ext 8646cat >>conftest.$ac_ext <<_ACEOF 8647/* end confdefs.h. */ 8648 8649#include <iconv.h> 8650#include <string.h> 8651int main () 8652{ 8653 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 8654 returns. */ 8655 { 8656 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 8657 if (cd_utf8_to_88591 != (iconv_t)(-1)) 8658 { 8659 static const char input[] = "\342\202\254"; /* EURO SIGN */ 8660 char buf[10]; 8661 const char *inptr = input; 8662 size_t inbytesleft = strlen (input); 8663 char *outptr = buf; 8664 size_t outbytesleft = sizeof (buf); 8665 size_t res = iconv (cd_utf8_to_88591, 8666 (char **) &inptr, &inbytesleft, 8667 &outptr, &outbytesleft); 8668 if (res == 0) 8669 return 1; 8670 } 8671 } 8672#if 0 /* This bug could be worked around by the caller. */ 8673 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 8674 { 8675 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 8676 if (cd_88591_to_utf8 != (iconv_t)(-1)) 8677 { 8678 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 8679 char buf[50]; 8680 const char *inptr = input; 8681 size_t inbytesleft = strlen (input); 8682 char *outptr = buf; 8683 size_t outbytesleft = sizeof (buf); 8684 size_t res = iconv (cd_88591_to_utf8, 8685 (char **) &inptr, &inbytesleft, 8686 &outptr, &outbytesleft); 8687 if ((int)res > 0) 8688 return 1; 8689 } 8690 } 8691#endif 8692 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 8693 provided. */ 8694 if (/* Try standardized names. */ 8695 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 8696 /* Try IRIX, OSF/1 names. */ 8697 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 8698 /* Try AIX names. */ 8699 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 8700 /* Try HP-UX names. */ 8701 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 8702 return 1; 8703 return 0; 8704} 8705_ACEOF 8706rm -f conftest$ac_exeext 8707if { (ac_try="$ac_link" 8708case "(($ac_try" in 8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8710 *) ac_try_echo=$ac_try;; 8711esac 8712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8713 (eval "$ac_link") 2>&5 8714 ac_status=$? 8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8717 { (case "(($ac_try" in 8718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8719 *) ac_try_echo=$ac_try;; 8720esac 8721eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8722 (eval "$ac_try") 2>&5 8723 ac_status=$? 8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8725 (exit $ac_status); }; }; then 8726 am_cv_func_iconv_works=yes 8727else 8728 echo "$as_me: program exited with status $ac_status" >&5 8729echo "$as_me: failed program was:" >&5 8730sed 's/^/| /' conftest.$ac_ext >&5 8731 8732( exit $ac_status ) 8733am_cv_func_iconv_works=no 8734fi 8735rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8736fi 8737 8738 8739 LIBS="$am_save_LIBS" 8740 8741fi 8742{ echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5 8743echo "${ECHO_T}$am_cv_func_iconv_works" >&6; } 8744 case "$am_cv_func_iconv_works" in 8745 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 8746 *) am_func_iconv=yes ;; 8747 esac 8748 else 8749 am_func_iconv=no am_cv_lib_iconv=no 8750 fi 8751 if test "$am_func_iconv" = yes; then 8752 8753cat >>confdefs.h <<\_ACEOF 8754#define HAVE_ICONV 1 8755_ACEOF 8756 8757 fi 8758 if test "$am_cv_lib_iconv" = yes; then 8759 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 8760echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } 8761 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 8762echo "${ECHO_T}$LIBICONV" >&6; } 8763 else 8764 CPPFLAGS="$am_save_CPPFLAGS" 8765 LIBICONV= 8766 LTLIBICONV= 8767 fi 8768 8769 8770 8771 if test "$am_cv_func_iconv" = yes; then 8772 { echo "$as_me:$LINENO: checking for iconv declaration" >&5 8773echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } 8774 if test "${am_cv_proto_iconv+set}" = set; then 8775 echo $ECHO_N "(cached) $ECHO_C" >&6 8776else 8777 8778 cat >conftest.$ac_ext <<_ACEOF 8779/* confdefs.h. */ 8780_ACEOF 8781cat confdefs.h >>conftest.$ac_ext 8782cat >>conftest.$ac_ext <<_ACEOF 8783/* end confdefs.h. */ 8784 8785#include <stdlib.h> 8786#include <iconv.h> 8787extern 8788#ifdef __cplusplus 8789"C" 8790#endif 8791#if defined(__STDC__) || defined(__cplusplus) 8792size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 8793#else 8794size_t iconv(); 8795#endif 8796 8797int 8798main () 8799{ 8800 8801 ; 8802 return 0; 8803} 8804_ACEOF 8805rm -f conftest.$ac_objext 8806if { (ac_try="$ac_compile" 8807case "(($ac_try" in 8808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8809 *) ac_try_echo=$ac_try;; 8810esac 8811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8812 (eval "$ac_compile") 2>conftest.er1 8813 ac_status=$? 8814 grep -v '^ *+' conftest.er1 >conftest.err 8815 rm -f conftest.er1 8816 cat conftest.err >&5 8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8818 (exit $ac_status); } && { 8819 test -z "$ac_c_werror_flag" || 8820 test ! -s conftest.err 8821 } && test -s conftest.$ac_objext; then 8822 am_cv_proto_iconv_arg1="" 8823else 8824 echo "$as_me: failed program was:" >&5 8825sed 's/^/| /' conftest.$ac_ext >&5 8826 8827 am_cv_proto_iconv_arg1="const" 8828fi 8829 8830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8831 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 8832fi 8833 8834 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 8835 { echo "$as_me:$LINENO: result: ${ac_t:- 8836 }$am_cv_proto_iconv" >&5 8837echo "${ECHO_T}${ac_t:- 8838 }$am_cv_proto_iconv" >&6; } 8839 8840cat >>confdefs.h <<_ACEOF 8841#define ICONV_CONST $am_cv_proto_iconv_arg1 8842_ACEOF 8843 8844 fi 8845 8846if test x"${am_cv_func_iconv}" != "xyes"; then 8847 unset am_cv_func_iconv 8848 unset am_cv_lib_iconv 8849 if test x"${prefix}" = "xNONE"; then 8850 libiconv_prefix="/usr/local" 8851 else 8852 libiconv_prefix="${prefix}" 8853 fi 8854 { echo "$as_me:$LINENO: Looking for libiconv in ${libiconv_prefix} ..." >&5 8855echo "$as_me: Looking for libiconv in ${libiconv_prefix} ..." >&6;} 8856 libiconv_save_CPPFLAGS="${CPPFLAGS}" 8857 libiconv_save_LDFLAGS="${LDFLAGS}" 8858 libiconv_save_LIBS="${LIBS}" 8859 CPPFLAGS="${CPPFLAGS} -I${libiconv_prefix}/include" 8860 LDFLAGS="${LDFLAGS} -L${libiconv_prefix}/lib" 8861 LIBS="-liconv" 8862 8863 8864 8865 8866 8867 am_save_CPPFLAGS="$CPPFLAGS" 8868 8869 for element in $INCICONV; do 8870 haveit= 8871 for x in $CPPFLAGS; do 8872 8873 acl_save_prefix="$prefix" 8874 prefix="$acl_final_prefix" 8875 acl_save_exec_prefix="$exec_prefix" 8876 exec_prefix="$acl_final_exec_prefix" 8877 eval x=\"$x\" 8878 exec_prefix="$acl_save_exec_prefix" 8879 prefix="$acl_save_prefix" 8880 8881 if test "X$x" = "X$element"; then 8882 haveit=yes 8883 break 8884 fi 8885 done 8886 if test -z "$haveit"; then 8887 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 8888 fi 8889 done 8890 8891 8892 { echo "$as_me:$LINENO: checking for iconv" >&5 8893echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } 8894if test "${am_cv_func_iconv+set}" = set; then 8895 echo $ECHO_N "(cached) $ECHO_C" >&6 8896else 8897 8898 am_cv_func_iconv="no, consider installing GNU libiconv" 8899 am_cv_lib_iconv=no 8900 cat >conftest.$ac_ext <<_ACEOF 8901/* confdefs.h. */ 8902_ACEOF 8903cat confdefs.h >>conftest.$ac_ext 8904cat >>conftest.$ac_ext <<_ACEOF 8905/* end confdefs.h. */ 8906#include <stdlib.h> 8907#include <iconv.h> 8908int 8909main () 8910{ 8911iconv_t cd = iconv_open("",""); 8912 iconv(cd,NULL,NULL,NULL,NULL); 8913 iconv_close(cd); 8914 ; 8915 return 0; 8916} 8917_ACEOF 8918rm -f conftest.$ac_objext conftest$ac_exeext 8919if { (ac_try="$ac_link" 8920case "(($ac_try" in 8921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8922 *) ac_try_echo=$ac_try;; 8923esac 8924eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8925 (eval "$ac_link") 2>conftest.er1 8926 ac_status=$? 8927 grep -v '^ *+' conftest.er1 >conftest.err 8928 rm -f conftest.er1 8929 cat conftest.err >&5 8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8931 (exit $ac_status); } && { 8932 test -z "$ac_c_werror_flag" || 8933 test ! -s conftest.err 8934 } && test -s conftest$ac_exeext && 8935 $as_test_x conftest$ac_exeext; then 8936 am_cv_func_iconv=yes 8937else 8938 echo "$as_me: failed program was:" >&5 8939sed 's/^/| /' conftest.$ac_ext >&5 8940 8941 8942fi 8943 8944rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8945 conftest$ac_exeext conftest.$ac_ext 8946 if test "$am_cv_func_iconv" != yes; then 8947 am_save_LIBS="$LIBS" 8948 LIBS="$LIBS $LIBICONV" 8949 cat >conftest.$ac_ext <<_ACEOF 8950/* confdefs.h. */ 8951_ACEOF 8952cat confdefs.h >>conftest.$ac_ext 8953cat >>conftest.$ac_ext <<_ACEOF 8954/* end confdefs.h. */ 8955#include <stdlib.h> 8956#include <iconv.h> 8957int 8958main () 8959{ 8960iconv_t cd = iconv_open("",""); 8961 iconv(cd,NULL,NULL,NULL,NULL); 8962 iconv_close(cd); 8963 ; 8964 return 0; 8965} 8966_ACEOF 8967rm -f conftest.$ac_objext conftest$ac_exeext 8968if { (ac_try="$ac_link" 8969case "(($ac_try" in 8970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8971 *) ac_try_echo=$ac_try;; 8972esac 8973eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8974 (eval "$ac_link") 2>conftest.er1 8975 ac_status=$? 8976 grep -v '^ *+' conftest.er1 >conftest.err 8977 rm -f conftest.er1 8978 cat conftest.err >&5 8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8980 (exit $ac_status); } && { 8981 test -z "$ac_c_werror_flag" || 8982 test ! -s conftest.err 8983 } && test -s conftest$ac_exeext && 8984 $as_test_x conftest$ac_exeext; then 8985 am_cv_lib_iconv=yes 8986 am_cv_func_iconv=yes 8987else 8988 echo "$as_me: failed program was:" >&5 8989sed 's/^/| /' conftest.$ac_ext >&5 8990 8991 8992fi 8993 8994rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8995 conftest$ac_exeext conftest.$ac_ext 8996 LIBS="$am_save_LIBS" 8997 fi 8998 8999fi 9000{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 9001echo "${ECHO_T}$am_cv_func_iconv" >&6; } 9002 if test "$am_cv_func_iconv" = yes; then 9003 { echo "$as_me:$LINENO: checking for working iconv" >&5 9004echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; } 9005if test "${am_cv_func_iconv_works+set}" = set; then 9006 echo $ECHO_N "(cached) $ECHO_C" >&6 9007else 9008 9009 am_save_LIBS="$LIBS" 9010 if test $am_cv_lib_iconv = yes; then 9011 LIBS="$LIBS $LIBICONV" 9012 fi 9013 if test "$cross_compiling" = yes; then 9014 case "$host_os" in 9015 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 9016 *) am_cv_func_iconv_works="guessing yes" ;; 9017 esac 9018else 9019 cat >conftest.$ac_ext <<_ACEOF 9020/* confdefs.h. */ 9021_ACEOF 9022cat confdefs.h >>conftest.$ac_ext 9023cat >>conftest.$ac_ext <<_ACEOF 9024/* end confdefs.h. */ 9025 9026#include <iconv.h> 9027#include <string.h> 9028int main () 9029{ 9030 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 9031 returns. */ 9032 { 9033 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 9034 if (cd_utf8_to_88591 != (iconv_t)(-1)) 9035 { 9036 static const char input[] = "\342\202\254"; /* EURO SIGN */ 9037 char buf[10]; 9038 const char *inptr = input; 9039 size_t inbytesleft = strlen (input); 9040 char *outptr = buf; 9041 size_t outbytesleft = sizeof (buf); 9042 size_t res = iconv (cd_utf8_to_88591, 9043 (char **) &inptr, &inbytesleft, 9044 &outptr, &outbytesleft); 9045 if (res == 0) 9046 return 1; 9047 } 9048 } 9049#if 0 /* This bug could be worked around by the caller. */ 9050 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 9051 { 9052 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 9053 if (cd_88591_to_utf8 != (iconv_t)(-1)) 9054 { 9055 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 9056 char buf[50]; 9057 const char *inptr = input; 9058 size_t inbytesleft = strlen (input); 9059 char *outptr = buf; 9060 size_t outbytesleft = sizeof (buf); 9061 size_t res = iconv (cd_88591_to_utf8, 9062 (char **) &inptr, &inbytesleft, 9063 &outptr, &outbytesleft); 9064 if ((int)res > 0) 9065 return 1; 9066 } 9067 } 9068#endif 9069 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 9070 provided. */ 9071 if (/* Try standardized names. */ 9072 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 9073 /* Try IRIX, OSF/1 names. */ 9074 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 9075 /* Try AIX names. */ 9076 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 9077 /* Try HP-UX names. */ 9078 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 9079 return 1; 9080 return 0; 9081} 9082_ACEOF 9083rm -f conftest$ac_exeext 9084if { (ac_try="$ac_link" 9085case "(($ac_try" in 9086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9087 *) ac_try_echo=$ac_try;; 9088esac 9089eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9090 (eval "$ac_link") 2>&5 9091 ac_status=$? 9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9094 { (case "(($ac_try" in 9095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9096 *) ac_try_echo=$ac_try;; 9097esac 9098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9099 (eval "$ac_try") 2>&5 9100 ac_status=$? 9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9102 (exit $ac_status); }; }; then 9103 am_cv_func_iconv_works=yes 9104else 9105 echo "$as_me: program exited with status $ac_status" >&5 9106echo "$as_me: failed program was:" >&5 9107sed 's/^/| /' conftest.$ac_ext >&5 9108 9109( exit $ac_status ) 9110am_cv_func_iconv_works=no 9111fi 9112rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9113fi 9114 9115 9116 LIBS="$am_save_LIBS" 9117 9118fi 9119{ echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5 9120echo "${ECHO_T}$am_cv_func_iconv_works" >&6; } 9121 case "$am_cv_func_iconv_works" in 9122 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 9123 *) am_func_iconv=yes ;; 9124 esac 9125 else 9126 am_func_iconv=no am_cv_lib_iconv=no 9127 fi 9128 if test "$am_func_iconv" = yes; then 9129 9130cat >>confdefs.h <<\_ACEOF 9131#define HAVE_ICONV 1 9132_ACEOF 9133 9134 fi 9135 if test "$am_cv_lib_iconv" = yes; then 9136 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 9137echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } 9138 { echo "$as_me:$LINENO: result: $LIBICONV" >&5 9139echo "${ECHO_T}$LIBICONV" >&6; } 9140 else 9141 CPPFLAGS="$am_save_CPPFLAGS" 9142 LIBICONV= 9143 LTLIBICONV= 9144 fi 9145 9146 9147 9148 if test "$am_cv_func_iconv" = yes; then 9149 { echo "$as_me:$LINENO: checking for iconv declaration" >&5 9150echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } 9151 if test "${am_cv_proto_iconv+set}" = set; then 9152 echo $ECHO_N "(cached) $ECHO_C" >&6 9153else 9154 9155 cat >conftest.$ac_ext <<_ACEOF 9156/* confdefs.h. */ 9157_ACEOF 9158cat confdefs.h >>conftest.$ac_ext 9159cat >>conftest.$ac_ext <<_ACEOF 9160/* end confdefs.h. */ 9161 9162#include <stdlib.h> 9163#include <iconv.h> 9164extern 9165#ifdef __cplusplus 9166"C" 9167#endif 9168#if defined(__STDC__) || defined(__cplusplus) 9169size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 9170#else 9171size_t iconv(); 9172#endif 9173 9174int 9175main () 9176{ 9177 9178 ; 9179 return 0; 9180} 9181_ACEOF 9182rm -f conftest.$ac_objext 9183if { (ac_try="$ac_compile" 9184case "(($ac_try" in 9185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9186 *) ac_try_echo=$ac_try;; 9187esac 9188eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9189 (eval "$ac_compile") 2>conftest.er1 9190 ac_status=$? 9191 grep -v '^ *+' conftest.er1 >conftest.err 9192 rm -f conftest.er1 9193 cat conftest.err >&5 9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9195 (exit $ac_status); } && { 9196 test -z "$ac_c_werror_flag" || 9197 test ! -s conftest.err 9198 } && test -s conftest.$ac_objext; then 9199 am_cv_proto_iconv_arg1="" 9200else 9201 echo "$as_me: failed program was:" >&5 9202sed 's/^/| /' conftest.$ac_ext >&5 9203 9204 am_cv_proto_iconv_arg1="const" 9205fi 9206 9207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9208 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 9209fi 9210 9211 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 9212 { echo "$as_me:$LINENO: result: ${ac_t:- 9213 }$am_cv_proto_iconv" >&5 9214echo "${ECHO_T}${ac_t:- 9215 }$am_cv_proto_iconv" >&6; } 9216 9217cat >>confdefs.h <<_ACEOF 9218#define ICONV_CONST $am_cv_proto_iconv_arg1 9219_ACEOF 9220 9221 fi 9222 9223 if test x"${am_cv_func_iconv}" = "xyes"; then 9224 INCICONV="-I${libiconv_prefix}/include" 9225 LDICONV="-L${libiconv_prefix}/lib" 9226 LIBICONV="-liconv" 9227 fi 9228 CPPFLAGS="${libiconv_save_CPPFLAGS}" 9229 LDFLAGS="${libiconv_save_LDFLAGS}" 9230 LIBS="${libiconv_save_LIBS}" 9231fi 9232if test -n "${LTLIBICONV}"; then 9233 EZ_LIBICONV="${LTLIBICONV}" 9234else 9235 EZ_LIBICONV="${LIBICONV}" 9236fi 9237 9238 9239for arg in $INCICONV 9240do 9241 if `echo " ${EZ_CPPFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 9242 if test -z "${EZ_CPPFLAGS}"; then 9243 EZ_CPPFLAGS="${arg}" 9244 else 9245 EZ_CPPFLAGS="${EZ_CPPFLAGS} ${arg}" 9246 fi 9247 fi 9248done 9249 9250 9251 9252for arg in $LDICONV 9253do 9254 if `echo " ${EZ_LDFLAGS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 9255 if test -z "${EZ_LDFLAGS}"; then 9256 EZ_LDFLAGS="${arg}" 9257 else 9258 EZ_LDFLAGS="${EZ_LDFLAGS} ${arg}" 9259 fi 9260 fi 9261done 9262 9263 9264 9265_prepend_args="" 9266for arg in $EZ_LIBICONV 9267do 9268 _prepend_args="${arg} ${_prepend_args}" 9269done 9270for arg in ${_prepend_args} 9271do 9272 if `echo " ${EZ_LIBS} x" | ${FGREP} -v -e " ${arg} " > /dev/null`; then 9273 if test -z "${EZ_LIBS}"; then 9274 EZ_LIBS="${arg}" 9275 else 9276 EZ_LIBS="${arg} ${EZ_LIBS}" 9277 fi 9278 fi 9279done 9280 9281use_iconv="No" 9282if test x"${am_cv_func_iconv}" = "xyes"; then 9283 use_iconv="Yes" 9284fi 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308for ac_func in \ 9309 arc4random \ 9310 basename \ 9311 getopt \ 9312 gettimeofday \ 9313 nl_langinfo \ 9314 pclose \ 9315 _pclose \ 9316 popen \ 9317 _popen \ 9318 random \ 9319 setlocale \ 9320 snprintf \ 9321 _snprintf \ 9322 srandomdev \ 9323 stat \ 9324 _stat \ 9325 strncasecmp \ 9326 strnicmp \ 9327 strtoll \ 9328 _strtoi64 \ 9329 9330do 9331as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9332{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9333echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9334if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9335 echo $ECHO_N "(cached) $ECHO_C" >&6 9336else 9337 cat >conftest.$ac_ext <<_ACEOF 9338/* confdefs.h. */ 9339_ACEOF 9340cat confdefs.h >>conftest.$ac_ext 9341cat >>conftest.$ac_ext <<_ACEOF 9342/* end confdefs.h. */ 9343/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 9344 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9345#define $ac_func innocuous_$ac_func 9346 9347/* System header to define __stub macros and hopefully few prototypes, 9348 which can conflict with char $ac_func (); below. 9349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9350 <limits.h> exists even on freestanding compilers. */ 9351 9352#ifdef __STDC__ 9353# include <limits.h> 9354#else 9355# include <assert.h> 9356#endif 9357 9358#undef $ac_func 9359 9360/* Override any GCC internal prototype to avoid an error. 9361 Use char because int might match the return type of a GCC 9362 builtin and then its argument prototype would still apply. */ 9363#ifdef __cplusplus 9364extern "C" 9365#endif 9366char $ac_func (); 9367/* The GNU C library defines this for functions which it implements 9368 to always fail with ENOSYS. Some functions are actually named 9369 something starting with __ and the normal name is an alias. */ 9370#if defined __stub_$ac_func || defined __stub___$ac_func 9371choke me 9372#endif 9373 9374int 9375main () 9376{ 9377return $ac_func (); 9378 ; 9379 return 0; 9380} 9381_ACEOF 9382rm -f conftest.$ac_objext conftest$ac_exeext 9383if { (ac_try="$ac_link" 9384case "(($ac_try" in 9385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9386 *) ac_try_echo=$ac_try;; 9387esac 9388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9389 (eval "$ac_link") 2>conftest.er1 9390 ac_status=$? 9391 grep -v '^ *+' conftest.er1 >conftest.err 9392 rm -f conftest.er1 9393 cat conftest.err >&5 9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9395 (exit $ac_status); } && { 9396 test -z "$ac_c_werror_flag" || 9397 test ! -s conftest.err 9398 } && test -s conftest$ac_exeext && 9399 $as_test_x conftest$ac_exeext; then 9400 eval "$as_ac_var=yes" 9401else 9402 echo "$as_me: failed program was:" >&5 9403sed 's/^/| /' conftest.$ac_ext >&5 9404 9405 eval "$as_ac_var=no" 9406fi 9407 9408rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9409 conftest$ac_exeext conftest.$ac_ext 9410fi 9411ac_res=`eval echo '${'$as_ac_var'}'` 9412 { echo "$as_me:$LINENO: result: $ac_res" >&5 9413echo "${ECHO_T}$ac_res" >&6; } 9414if test `eval echo '${'$as_ac_var'}'` = yes; then 9415 cat >>confdefs.h <<_ACEOF 9416#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9417_ACEOF 9418 9419fi 9420done 9421 9422 9423 9424 9425 9426for ac_func in \ 9427 strlcat \ 9428 strlcpy \ 9429 strtonum \ 9430 9431do 9432as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9433{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9434echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9435if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9436 echo $ECHO_N "(cached) $ECHO_C" >&6 9437else 9438 cat >conftest.$ac_ext <<_ACEOF 9439/* confdefs.h. */ 9440_ACEOF 9441cat confdefs.h >>conftest.$ac_ext 9442cat >>conftest.$ac_ext <<_ACEOF 9443/* end confdefs.h. */ 9444/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 9445 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9446#define $ac_func innocuous_$ac_func 9447 9448/* System header to define __stub macros and hopefully few prototypes, 9449 which can conflict with char $ac_func (); below. 9450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9451 <limits.h> exists even on freestanding compilers. */ 9452 9453#ifdef __STDC__ 9454# include <limits.h> 9455#else 9456# include <assert.h> 9457#endif 9458 9459#undef $ac_func 9460 9461/* Override any GCC internal prototype to avoid an error. 9462 Use char because int might match the return type of a GCC 9463 builtin and then its argument prototype would still apply. */ 9464#ifdef __cplusplus 9465extern "C" 9466#endif 9467char $ac_func (); 9468/* The GNU C library defines this for functions which it implements 9469 to always fail with ENOSYS. Some functions are actually named 9470 something starting with __ and the normal name is an alias. */ 9471#if defined __stub_$ac_func || defined __stub___$ac_func 9472choke me 9473#endif 9474 9475int 9476main () 9477{ 9478return $ac_func (); 9479 ; 9480 return 0; 9481} 9482_ACEOF 9483rm -f conftest.$ac_objext conftest$ac_exeext 9484if { (ac_try="$ac_link" 9485case "(($ac_try" in 9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9487 *) ac_try_echo=$ac_try;; 9488esac 9489eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9490 (eval "$ac_link") 2>conftest.er1 9491 ac_status=$? 9492 grep -v '^ *+' conftest.er1 >conftest.err 9493 rm -f conftest.er1 9494 cat conftest.err >&5 9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9496 (exit $ac_status); } && { 9497 test -z "$ac_c_werror_flag" || 9498 test ! -s conftest.err 9499 } && test -s conftest$ac_exeext && 9500 $as_test_x conftest$ac_exeext; then 9501 eval "$as_ac_var=yes" 9502else 9503 echo "$as_me: failed program was:" >&5 9504sed 's/^/| /' conftest.$ac_ext >&5 9505 9506 eval "$as_ac_var=no" 9507fi 9508 9509rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9510 conftest$ac_exeext conftest.$ac_ext 9511fi 9512ac_res=`eval echo '${'$as_ac_var'}'` 9513 { echo "$as_me:$LINENO: result: $ac_res" >&5 9514echo "${ECHO_T}$ac_res" >&6; } 9515if test `eval echo '${'$as_ac_var'}'` = yes; then 9516 cat >>confdefs.h <<_ACEOF 9517#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9518_ACEOF 9519 9520else 9521 case " $LIBOBJS " in 9522 *" $ac_func.$ac_objext "* ) ;; 9523 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 9524 ;; 9525esac 9526 9527fi 9528done 9529 9530 9531 9532 9533{ echo "$as_me:$LINENO: checking for means to copy variable argument lists" >&5 9534echo $ECHO_N "checking for means to copy variable argument lists... $ECHO_C" >&6; } 9535if test "${local_ac_cv_func_va_copy+set}" = set; then 9536 echo $ECHO_N "(cached) $ECHO_C" >&6 9537else 9538 9539 cat >conftest.$ac_ext <<_ACEOF 9540/* confdefs.h. */ 9541_ACEOF 9542cat confdefs.h >>conftest.$ac_ext 9543cat >>conftest.$ac_ext <<_ACEOF 9544/* end confdefs.h. */ 9545 9546 #include <stdarg.h> 9547 9548int 9549main () 9550{ 9551 9552 va_list ap, ap2; 9553 va_copy(ap2, ap); 9554 9555 ; 9556 return 0; 9557} 9558_ACEOF 9559rm -f conftest.$ac_objext conftest$ac_exeext 9560if { (ac_try="$ac_link" 9561case "(($ac_try" in 9562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9563 *) ac_try_echo=$ac_try;; 9564esac 9565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9566 (eval "$ac_link") 2>conftest.er1 9567 ac_status=$? 9568 grep -v '^ *+' conftest.er1 >conftest.err 9569 rm -f conftest.er1 9570 cat conftest.err >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9572 (exit $ac_status); } && { 9573 test -z "$ac_c_werror_flag" || 9574 test ! -s conftest.err 9575 } && test -s conftest$ac_exeext && 9576 $as_test_x conftest$ac_exeext; then 9577 local_ac_cv_func_va_copy=va_copy 9578else 9579 echo "$as_me: failed program was:" >&5 9580sed 's/^/| /' conftest.$ac_ext >&5 9581 9582 cat >conftest.$ac_ext <<_ACEOF 9583/* confdefs.h. */ 9584_ACEOF 9585cat confdefs.h >>conftest.$ac_ext 9586cat >>conftest.$ac_ext <<_ACEOF 9587/* end confdefs.h. */ 9588 9589 #include <stdarg.h> 9590 9591int 9592main () 9593{ 9594 9595 va_list ap, ap2; 9596 __va_copy(ap2, ap); 9597 9598 ; 9599 return 0; 9600} 9601_ACEOF 9602rm -f conftest.$ac_objext conftest$ac_exeext 9603if { (ac_try="$ac_link" 9604case "(($ac_try" in 9605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9606 *) ac_try_echo=$ac_try;; 9607esac 9608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9609 (eval "$ac_link") 2>conftest.er1 9610 ac_status=$? 9611 grep -v '^ *+' conftest.er1 >conftest.err 9612 rm -f conftest.er1 9613 cat conftest.err >&5 9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9615 (exit $ac_status); } && { 9616 test -z "$ac_c_werror_flag" || 9617 test ! -s conftest.err 9618 } && test -s conftest$ac_exeext && 9619 $as_test_x conftest$ac_exeext; then 9620 local_ac_cv_func_va_copy=__va_copy 9621else 9622 echo "$as_me: failed program was:" >&5 9623sed 's/^/| /' conftest.$ac_ext >&5 9624 9625 local_ac_cv_func_va_copy=memcpy 9626 9627fi 9628 9629rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9630 conftest$ac_exeext conftest.$ac_ext 9631 9632fi 9633 9634rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9635 conftest$ac_exeext conftest.$ac_ext 9636 9637fi 9638 9639 9640 9641case "${local_ac_cv_func_va_copy}" in 9642 va_copy) 9643 { echo "$as_me:$LINENO: result: va_copy" >&5 9644echo "${ECHO_T}va_copy" >&6; } 9645 ;; 9646 __va_copy) 9647 { echo "$as_me:$LINENO: result: __va_copy" >&5 9648echo "${ECHO_T}__va_copy" >&6; } 9649 cat >>confdefs.h <<\_ACEOF 9650#define va_copy __va_copy 9651_ACEOF 9652 9653 ;; 9654 memcpy) 9655 { echo "$as_me:$LINENO: result: memcpy" >&5 9656echo "${ECHO_T}memcpy" >&6; } 9657 cat >>confdefs.h <<\_ACEOF 9658#define va_copy(dst, src) memcpy(&(dst), &(src), sizeof(va_list)) 9659_ACEOF 9660 9661 ;; 9662 *) 9663 ;; 9664esac 9665 9666 9667 9668for ac_func in sigaction 9669do 9670as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9671{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9672echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9673if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9674 echo $ECHO_N "(cached) $ECHO_C" >&6 9675else 9676 cat >conftest.$ac_ext <<_ACEOF 9677/* confdefs.h. */ 9678_ACEOF 9679cat confdefs.h >>conftest.$ac_ext 9680cat >>conftest.$ac_ext <<_ACEOF 9681/* end confdefs.h. */ 9682/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 9683 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9684#define $ac_func innocuous_$ac_func 9685 9686/* System header to define __stub macros and hopefully few prototypes, 9687 which can conflict with char $ac_func (); below. 9688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9689 <limits.h> exists even on freestanding compilers. */ 9690 9691#ifdef __STDC__ 9692# include <limits.h> 9693#else 9694# include <assert.h> 9695#endif 9696 9697#undef $ac_func 9698 9699/* Override any GCC internal prototype to avoid an error. 9700 Use char because int might match the return type of a GCC 9701 builtin and then its argument prototype would still apply. */ 9702#ifdef __cplusplus 9703extern "C" 9704#endif 9705char $ac_func (); 9706/* The GNU C library defines this for functions which it implements 9707 to always fail with ENOSYS. Some functions are actually named 9708 something starting with __ and the normal name is an alias. */ 9709#if defined __stub_$ac_func || defined __stub___$ac_func 9710choke me 9711#endif 9712 9713int 9714main () 9715{ 9716return $ac_func (); 9717 ; 9718 return 0; 9719} 9720_ACEOF 9721rm -f conftest.$ac_objext conftest$ac_exeext 9722if { (ac_try="$ac_link" 9723case "(($ac_try" in 9724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9725 *) ac_try_echo=$ac_try;; 9726esac 9727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9728 (eval "$ac_link") 2>conftest.er1 9729 ac_status=$? 9730 grep -v '^ *+' conftest.er1 >conftest.err 9731 rm -f conftest.er1 9732 cat conftest.err >&5 9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9734 (exit $ac_status); } && { 9735 test -z "$ac_c_werror_flag" || 9736 test ! -s conftest.err 9737 } && test -s conftest$ac_exeext && 9738 $as_test_x conftest$ac_exeext; then 9739 eval "$as_ac_var=yes" 9740else 9741 echo "$as_me: failed program was:" >&5 9742sed 's/^/| /' conftest.$ac_ext >&5 9743 9744 eval "$as_ac_var=no" 9745fi 9746 9747rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9748 conftest$ac_exeext conftest.$ac_ext 9749fi 9750ac_res=`eval echo '${'$as_ac_var'}'` 9751 { echo "$as_me:$LINENO: result: $ac_res" >&5 9752echo "${ECHO_T}$ac_res" >&6; } 9753if test `eval echo '${'$as_ac_var'}'` = yes; then 9754 cat >>confdefs.h <<_ACEOF 9755#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9756_ACEOF 9757 9758 9759cat >>confdefs.h <<\_ACEOF 9760#define HAVE_SIGNALS 1 9761_ACEOF 9762 9763 9764fi 9765done 9766 9767 9768 9769 9770 9771{ echo "$as_me:$LINENO: checking whether libc defines __progname" >&5 9772echo $ECHO_N "checking whether libc defines __progname... $ECHO_C" >&6; } 9773if test "${local_cv_libc_defines___progname+set}" = set; then 9774 echo $ECHO_N "(cached) $ECHO_C" >&6 9775else 9776 9777 ac_ext=c 9778ac_cpp='$CPP $CPPFLAGS' 9779ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9780ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9781ac_compiler_gnu=$ac_cv_c_compiler_gnu 9782 9783 cat >conftest.$ac_ext <<_ACEOF 9784/* confdefs.h. */ 9785_ACEOF 9786cat confdefs.h >>conftest.$ac_ext 9787cat >>conftest.$ac_ext <<_ACEOF 9788/* end confdefs.h. */ 9789 9790 #include <stdio.h> 9791 9792int 9793main () 9794{ 9795 9796 extern char *__progname; 9797 printf("%s", __progname); 9798 9799 ; 9800 return 0; 9801} 9802_ACEOF 9803rm -f conftest.$ac_objext conftest$ac_exeext 9804if { (ac_try="$ac_link" 9805case "(($ac_try" in 9806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9807 *) ac_try_echo=$ac_try;; 9808esac 9809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9810 (eval "$ac_link") 2>conftest.er1 9811 ac_status=$? 9812 grep -v '^ *+' conftest.er1 >conftest.err 9813 rm -f conftest.er1 9814 cat conftest.err >&5 9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9816 (exit $ac_status); } && { 9817 test -z "$ac_c_werror_flag" || 9818 test ! -s conftest.err 9819 } && test -s conftest$ac_exeext && 9820 $as_test_x conftest$ac_exeext; then 9821 local_cv_libc_defines___progname=yes 9822else 9823 echo "$as_me: failed program was:" >&5 9824sed 's/^/| /' conftest.$ac_ext >&5 9825 9826 local_cv_libc_defines___progname=no 9827 9828fi 9829 9830rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9831 conftest$ac_exeext conftest.$ac_ext 9832 ac_ext=c 9833ac_cpp='$CPP $CPPFLAGS' 9834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9836ac_compiler_gnu=$ac_cv_c_compiler_gnu 9837 9838 9839fi 9840 9841if test x"${local_cv_libc_defines___progname}" = "xyes"; then 9842 { echo "$as_me:$LINENO: result: yes" >&5 9843echo "${ECHO_T}yes" >&6; } 9844 9845cat >>confdefs.h <<\_ACEOF 9846#define HAVE___PROGNAME 1 9847_ACEOF 9848 9849 : 9850 9851else 9852 { echo "$as_me:$LINENO: result: no" >&5 9853echo "${ECHO_T}no" >&6; } 9854 : 9855 9856fi 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866ac_config_files="$ac_config_files Makefile build-aux/Makefile compat/Makefile compat/sys/Makefile doc/Makefile doc/ezstream-file.sh.1.in doc/ezstream.1.in examples/Makefile m4/Makefile src/Makefile src/ezstream-file.sh win32/Makefile win32/shout/Makefile" 9867 9868 9869cat >confcache <<\_ACEOF 9870# This file is a shell script that caches the results of configure 9871# tests run on this system so they can be shared between configure 9872# scripts and configure runs, see configure's option --config-cache. 9873# It is not useful on other systems. If it contains results you don't 9874# want to keep, you may remove or edit it. 9875# 9876# config.status only pays attention to the cache file if you give it 9877# the --recheck option to rerun configure. 9878# 9879# `ac_cv_env_foo' variables (set or unset) will be overridden when 9880# loading this file, other *unset* `ac_cv_foo' will be assigned the 9881# following values. 9882 9883_ACEOF 9884 9885# The following way of writing the cache mishandles newlines in values, 9886# but we know of no workaround that is simple, portable, and efficient. 9887# So, we kill variables containing newlines. 9888# Ultrix sh set writes to stderr and can't be redirected directly, 9889# and sets the high bit in the cache file unless we assign to the vars. 9890( 9891 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9892 eval ac_val=\$$ac_var 9893 case $ac_val in #( 9894 *${as_nl}*) 9895 case $ac_var in #( 9896 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 9897echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 9898 esac 9899 case $ac_var in #( 9900 _ | IFS | as_nl) ;; #( 9901 *) $as_unset $ac_var ;; 9902 esac ;; 9903 esac 9904 done 9905 9906 (set) 2>&1 | 9907 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9908 *${as_nl}ac_space=\ *) 9909 # `set' does not quote correctly, so add quotes (double-quote 9910 # substitution turns \\\\ into \\, and sed turns \\ into \). 9911 sed -n \ 9912 "s/'/'\\\\''/g; 9913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9914 ;; #( 9915 *) 9916 # `set' quotes correctly as required by POSIX, so do not add quotes. 9917 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9918 ;; 9919 esac | 9920 sort 9921) | 9922 sed ' 9923 /^ac_cv_env_/b end 9924 t clear 9925 :clear 9926 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9927 t end 9928 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9929 :end' >>confcache 9930if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9931 if test -w "$cache_file"; then 9932 test "x$cache_file" != "x/dev/null" && 9933 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 9934echo "$as_me: updating cache $cache_file" >&6;} 9935 cat confcache >$cache_file 9936 else 9937 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 9938echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9939 fi 9940fi 9941rm -f confcache 9942 9943test "x$prefix" = xNONE && prefix=$ac_default_prefix 9944# Let make expand exec_prefix. 9945test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9946 9947DEFS=-DHAVE_CONFIG_H 9948 9949ac_libobjs= 9950ac_ltlibobjs= 9951for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9952 # 1. Remove the extension, and $U if already installed. 9953 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9954 ac_i=`echo "$ac_i" | sed "$ac_script"` 9955 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9956 # will be set to the directory where LIBOBJS objects are built. 9957 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9958 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 9959done 9960LIBOBJS=$ac_libobjs 9961 9962LTLIBOBJS=$ac_ltlibobjs 9963 9964 9965if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 9966 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 9967Usually this means the macro was only invoked conditionally." >&5 9968echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 9969Usually this means the macro was only invoked conditionally." >&2;} 9970 { (exit 1); exit 1; }; } 9971fi 9972if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 9973 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 9974Usually this means the macro was only invoked conditionally." >&5 9975echo "$as_me: error: conditional \"AMDEP\" was never defined. 9976Usually this means the macro was only invoked conditionally." >&2;} 9977 { (exit 1); exit 1; }; } 9978fi 9979if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9980 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 9981Usually this means the macro was only invoked conditionally." >&5 9982echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 9983Usually this means the macro was only invoked conditionally." >&2;} 9984 { (exit 1); exit 1; }; } 9985fi 9986 9987: ${CONFIG_STATUS=./config.status} 9988ac_clean_files_save=$ac_clean_files 9989ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9990{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 9991echo "$as_me: creating $CONFIG_STATUS" >&6;} 9992cat >$CONFIG_STATUS <<_ACEOF 9993#! $SHELL 9994# Generated by $as_me. 9995# Run this file to recreate the current configuration. 9996# Compiler output produced by configure, useful for debugging 9997# configure, is in config.log if it exists. 9998 9999debug=false 10000ac_cs_recheck=false 10001ac_cs_silent=false 10002SHELL=\${CONFIG_SHELL-$SHELL} 10003_ACEOF 10004 10005cat >>$CONFIG_STATUS <<\_ACEOF 10006## --------------------- ## 10007## M4sh Initialization. ## 10008## --------------------- ## 10009 10010# Be more Bourne compatible 10011DUALCASE=1; export DUALCASE # for MKS sh 10012if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 10013 emulate sh 10014 NULLCMD=: 10015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 10016 # is contrary to our usage. Disable this feature. 10017 alias -g '${1+"$@"}'='"$@"' 10018 setopt NO_GLOB_SUBST 10019else 10020 case `(set -o) 2>/dev/null` in 10021 *posix*) set -o posix ;; 10022esac 10023 10024fi 10025 10026 10027 10028 10029# PATH needs CR 10030# Avoid depending upon Character Ranges. 10031as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10032as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10033as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10034as_cr_digits='0123456789' 10035as_cr_alnum=$as_cr_Letters$as_cr_digits 10036 10037# The user is always right. 10038if test "${PATH_SEPARATOR+set}" != set; then 10039 echo "#! /bin/sh" >conf$$.sh 10040 echo "exit 0" >>conf$$.sh 10041 chmod +x conf$$.sh 10042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 10043 PATH_SEPARATOR=';' 10044 else 10045 PATH_SEPARATOR=: 10046 fi 10047 rm -f conf$$.sh 10048fi 10049 10050# Support unset when possible. 10051if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 10052 as_unset=unset 10053else 10054 as_unset=false 10055fi 10056 10057 10058# IFS 10059# We need space, tab and new line, in precisely that order. Quoting is 10060# there to prevent editors from complaining about space-tab. 10061# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10062# splitting by setting IFS to empty value.) 10063as_nl=' 10064' 10065IFS=" "" $as_nl" 10066 10067# Find who we are. Look in the path if we contain no directory separator. 10068case $0 in 10069 *[\\/]* ) as_myself=$0 ;; 10070 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10071for as_dir in $PATH 10072do 10073 IFS=$as_save_IFS 10074 test -z "$as_dir" && as_dir=. 10075 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10076done 10077IFS=$as_save_IFS 10078 10079 ;; 10080esac 10081# We did not find ourselves, most probably we were run as `sh COMMAND' 10082# in which case we are not to be found in the path. 10083if test "x$as_myself" = x; then 10084 as_myself=$0 10085fi 10086if test ! -f "$as_myself"; then 10087 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10088 { (exit 1); exit 1; } 10089fi 10090 10091# Work around bugs in pre-3.0 UWIN ksh. 10092for as_var in ENV MAIL MAILPATH 10093do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 10094done 10095PS1='$ ' 10096PS2='> ' 10097PS4='+ ' 10098 10099# NLS nuisances. 10100for as_var in \ 10101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10103 LC_TELEPHONE LC_TIME 10104do 10105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 10106 eval $as_var=C; export $as_var 10107 else 10108 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 10109 fi 10110done 10111 10112# Required to use basename. 10113if expr a : '\(a\)' >/dev/null 2>&1 && 10114 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10115 as_expr=expr 10116else 10117 as_expr=false 10118fi 10119 10120if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 10121 as_basename=basename 10122else 10123 as_basename=false 10124fi 10125 10126 10127# Name of the executable. 10128as_me=`$as_basename -- "$0" || 10129$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10130 X"$0" : 'X\(//\)$' \| \ 10131 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10132echo X/"$0" | 10133 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10134 s//\1/ 10135 q 10136 } 10137 /^X\/\(\/\/\)$/{ 10138 s//\1/ 10139 q 10140 } 10141 /^X\/\(\/\).*/{ 10142 s//\1/ 10143 q 10144 } 10145 s/.*/./; q'` 10146 10147# CDPATH. 10148$as_unset CDPATH 10149 10150 10151 10152 as_lineno_1=$LINENO 10153 as_lineno_2=$LINENO 10154 test "x$as_lineno_1" != "x$as_lineno_2" && 10155 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 10156 10157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 10158 # uniformly replaced by the line number. The first 'sed' inserts a 10159 # line-number line after each line using $LINENO; the second 'sed' 10160 # does the real work. The second script uses 'N' to pair each 10161 # line-number line with the line containing $LINENO, and appends 10162 # trailing '-' during substitution so that $LINENO is not a special 10163 # case at line end. 10164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 10165 # scripts with optimization help from Paolo Bonzini. Blame Lee 10166 # E. McMahon (1931-1989) for sed's syntax. :-) 10167 sed -n ' 10168 p 10169 /[$]LINENO/= 10170 ' <$as_myself | 10171 sed ' 10172 s/[$]LINENO.*/&-/ 10173 t lineno 10174 b 10175 :lineno 10176 N 10177 :loop 10178 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 10179 t loop 10180 s/-\n.*// 10181 ' >$as_me.lineno && 10182 chmod +x "$as_me.lineno" || 10183 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 10184 { (exit 1); exit 1; }; } 10185 10186 # Don't try to exec as it changes $[0], causing all sort of problems 10187 # (the dirname of $[0] is not the place where we might find the 10188 # original and so on. Autoconf is especially sensitive to this). 10189 . "./$as_me.lineno" 10190 # Exit status is that of the last command. 10191 exit 10192} 10193 10194 10195if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10196 as_dirname=dirname 10197else 10198 as_dirname=false 10199fi 10200 10201ECHO_C= ECHO_N= ECHO_T= 10202case `echo -n x` in 10203-n*) 10204 case `echo 'x\c'` in 10205 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10206 *) ECHO_C='\c';; 10207 esac;; 10208*) 10209 ECHO_N='-n';; 10210esac 10211 10212if expr a : '\(a\)' >/dev/null 2>&1 && 10213 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10214 as_expr=expr 10215else 10216 as_expr=false 10217fi 10218 10219rm -f conf$$ conf$$.exe conf$$.file 10220if test -d conf$$.dir; then 10221 rm -f conf$$.dir/conf$$.file 10222else 10223 rm -f conf$$.dir 10224 mkdir conf$$.dir 10225fi 10226echo >conf$$.file 10227if ln -s conf$$.file conf$$ 2>/dev/null; then 10228 as_ln_s='ln -s' 10229 # ... but there are two gotchas: 10230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10232 # In both cases, we have to default to `cp -p'. 10233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10234 as_ln_s='cp -p' 10235elif ln conf$$.file conf$$ 2>/dev/null; then 10236 as_ln_s=ln 10237else 10238 as_ln_s='cp -p' 10239fi 10240rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 10241rmdir conf$$.dir 2>/dev/null 10242 10243if mkdir -p . 2>/dev/null; then 10244 as_mkdir_p=: 10245else 10246 test -d ./-p && rmdir ./-p 10247 as_mkdir_p=false 10248fi 10249 10250if test -x / >/dev/null 2>&1; then 10251 as_test_x='test -x' 10252else 10253 if ls -dL / >/dev/null 2>&1; then 10254 as_ls_L_option=L 10255 else 10256 as_ls_L_option= 10257 fi 10258 as_test_x=' 10259 eval sh -c '\'' 10260 if test -d "$1"; then 10261 test -d "$1/."; 10262 else 10263 case $1 in 10264 -*)set "./$1";; 10265 esac; 10266 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 10267 ???[sx]*):;;*)false;;esac;fi 10268 '\'' sh 10269 ' 10270fi 10271as_executable_p=$as_test_x 10272 10273# Sed expression to map a string onto a valid CPP name. 10274as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 10275 10276# Sed expression to map a string onto a valid variable name. 10277as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 10278 10279 10280exec 6>&1 10281 10282# Save the log message, to keep $[0] and so on meaningful, and to 10283# report actual input values of CONFIG_FILES etc. instead of their 10284# values after options handling. 10285ac_log=" 10286This file was extended by ezstream $as_me 0.5.6, which was 10287generated by GNU Autoconf 2.61. Invocation command line was 10288 10289 CONFIG_FILES = $CONFIG_FILES 10290 CONFIG_HEADERS = $CONFIG_HEADERS 10291 CONFIG_LINKS = $CONFIG_LINKS 10292 CONFIG_COMMANDS = $CONFIG_COMMANDS 10293 $ $0 $@ 10294 10295on `(hostname || uname -n) 2>/dev/null | sed 1q` 10296" 10297 10298_ACEOF 10299 10300cat >>$CONFIG_STATUS <<_ACEOF 10301# Files that config.status was made for. 10302config_files="$ac_config_files" 10303config_headers="$ac_config_headers" 10304config_commands="$ac_config_commands" 10305 10306_ACEOF 10307 10308cat >>$CONFIG_STATUS <<\_ACEOF 10309ac_cs_usage="\ 10310\`$as_me' instantiates files from templates according to the 10311current configuration. 10312 10313Usage: $0 [OPTIONS] [FILE]... 10314 10315 -h, --help print this help, then exit 10316 -V, --version print version number and configuration settings, then exit 10317 -q, --quiet do not print progress messages 10318 -d, --debug don't remove temporary files 10319 --recheck update $as_me by reconfiguring in the same conditions 10320 --file=FILE[:TEMPLATE] 10321 instantiate the configuration file FILE 10322 --header=FILE[:TEMPLATE] 10323 instantiate the configuration header FILE 10324 10325Configuration files: 10326$config_files 10327 10328Configuration headers: 10329$config_headers 10330 10331Configuration commands: 10332$config_commands 10333 10334Report bugs to <bug-autoconf@gnu.org>." 10335 10336_ACEOF 10337cat >>$CONFIG_STATUS <<_ACEOF 10338ac_cs_version="\\ 10339ezstream config.status 0.5.6 10340configured by $0, generated by GNU Autoconf 2.61, 10341 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 10342 10343Copyright (C) 2006 Free Software Foundation, Inc. 10344This config.status script is free software; the Free Software Foundation 10345gives unlimited permission to copy, distribute and modify it." 10346 10347ac_pwd='$ac_pwd' 10348srcdir='$srcdir' 10349INSTALL='$INSTALL' 10350MKDIR_P='$MKDIR_P' 10351_ACEOF 10352 10353cat >>$CONFIG_STATUS <<\_ACEOF 10354# If no file are specified by the user, then we need to provide default 10355# value. By we need to know if files were specified by the user. 10356ac_need_defaults=: 10357while test $# != 0 10358do 10359 case $1 in 10360 --*=*) 10361 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10362 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10363 ac_shift=: 10364 ;; 10365 *) 10366 ac_option=$1 10367 ac_optarg=$2 10368 ac_shift=shift 10369 ;; 10370 esac 10371 10372 case $ac_option in 10373 # Handling of the options. 10374 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 10375 ac_cs_recheck=: ;; 10376 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10377 echo "$ac_cs_version"; exit ;; 10378 --debug | --debu | --deb | --de | --d | -d ) 10379 debug=: ;; 10380 --file | --fil | --fi | --f ) 10381 $ac_shift 10382 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 10383 ac_need_defaults=false;; 10384 --header | --heade | --head | --hea ) 10385 $ac_shift 10386 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 10387 ac_need_defaults=false;; 10388 --he | --h) 10389 # Conflict between --help and --header 10390 { echo "$as_me: error: ambiguous option: $1 10391Try \`$0 --help' for more information." >&2 10392 { (exit 1); exit 1; }; };; 10393 --help | --hel | -h ) 10394 echo "$ac_cs_usage"; exit ;; 10395 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10396 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10397 ac_cs_silent=: ;; 10398 10399 # This is an error. 10400 -*) { echo "$as_me: error: unrecognized option: $1 10401Try \`$0 --help' for more information." >&2 10402 { (exit 1); exit 1; }; } ;; 10403 10404 *) ac_config_targets="$ac_config_targets $1" 10405 ac_need_defaults=false ;; 10406 10407 esac 10408 shift 10409done 10410 10411ac_configure_extra_args= 10412 10413if $ac_cs_silent; then 10414 exec 6>/dev/null 10415 ac_configure_extra_args="$ac_configure_extra_args --silent" 10416fi 10417 10418_ACEOF 10419cat >>$CONFIG_STATUS <<_ACEOF 10420if \$ac_cs_recheck; then 10421 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 10422 CONFIG_SHELL=$SHELL 10423 export CONFIG_SHELL 10424 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10425fi 10426 10427_ACEOF 10428cat >>$CONFIG_STATUS <<\_ACEOF 10429exec 5>>config.log 10430{ 10431 echo 10432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 10433## Running $as_me. ## 10434_ASBOX 10435 echo "$ac_log" 10436} >&5 10437 10438_ACEOF 10439cat >>$CONFIG_STATUS <<_ACEOF 10440# 10441# INIT-COMMANDS 10442# 10443AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 10444 10445_ACEOF 10446 10447cat >>$CONFIG_STATUS <<\_ACEOF 10448 10449# Handling of arguments. 10450for ac_config_target in $ac_config_targets 10451do 10452 case $ac_config_target in 10453 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 10454 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10455 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10456 "build-aux/Makefile") CONFIG_FILES="$CONFIG_FILES build-aux/Makefile" ;; 10457 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;; 10458 "compat/sys/Makefile") CONFIG_FILES="$CONFIG_FILES compat/sys/Makefile" ;; 10459 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10460 "doc/ezstream-file.sh.1.in") CONFIG_FILES="$CONFIG_FILES doc/ezstream-file.sh.1.in" ;; 10461 "doc/ezstream.1.in") CONFIG_FILES="$CONFIG_FILES doc/ezstream.1.in" ;; 10462 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 10463 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 10464 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10465 "src/ezstream-file.sh") CONFIG_FILES="$CONFIG_FILES src/ezstream-file.sh" ;; 10466 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;; 10467 "win32/shout/Makefile") CONFIG_FILES="$CONFIG_FILES win32/shout/Makefile" ;; 10468 10469 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 10470echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 10471 { (exit 1); exit 1; }; };; 10472 esac 10473done 10474 10475 10476# If the user did not use the arguments to specify the items to instantiate, 10477# then the envvar interface is used. Set only those that are not. 10478# We use the long form for the default assignment because of an extremely 10479# bizarre bug on SunOS 4.1.3. 10480if $ac_need_defaults; then 10481 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10482 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10483 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 10484fi 10485 10486# Have a temporary directory for convenience. Make it in the build tree 10487# simply because there is no reason against having it here, and in addition, 10488# creating and moving files from /tmp can sometimes cause problems. 10489# Hook for its removal unless debugging. 10490# Note that there is a small window in which the directory will not be cleaned: 10491# after its creation but before its name has been assigned to `$tmp'. 10492$debug || 10493{ 10494 tmp= 10495 trap 'exit_status=$? 10496 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10497' 0 10498 trap '{ (exit 1); exit 1; }' 1 2 13 15 10499} 10500# Create a (secure) tmp directory for tmp files. 10501 10502{ 10503 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10504 test -n "$tmp" && test -d "$tmp" 10505} || 10506{ 10507 tmp=./conf$$-$RANDOM 10508 (umask 077 && mkdir "$tmp") 10509} || 10510{ 10511 echo "$me: cannot create a temporary directory in ." >&2 10512 { (exit 1); exit 1; } 10513} 10514 10515# 10516# Set up the sed scripts for CONFIG_FILES section. 10517# 10518 10519# No need to generate the scripts if there are no CONFIG_FILES. 10520# This happens for instance when ./config.status config.h 10521if test -n "$CONFIG_FILES"; then 10522 10523_ACEOF 10524 10525 10526 10527ac_delim='%!_!# ' 10528for ac_last_try in false false false false false :; do 10529 cat >conf$$subs.sed <<_ACEOF 10530SHELL!$SHELL$ac_delim 10531PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 10532PACKAGE_NAME!$PACKAGE_NAME$ac_delim 10533PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 10534PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 10535PACKAGE_STRING!$PACKAGE_STRING$ac_delim 10536PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 10537exec_prefix!$exec_prefix$ac_delim 10538prefix!$prefix$ac_delim 10539program_transform_name!$program_transform_name$ac_delim 10540bindir!$bindir$ac_delim 10541sbindir!$sbindir$ac_delim 10542libexecdir!$libexecdir$ac_delim 10543datarootdir!$datarootdir$ac_delim 10544datadir!$datadir$ac_delim 10545sysconfdir!$sysconfdir$ac_delim 10546sharedstatedir!$sharedstatedir$ac_delim 10547localstatedir!$localstatedir$ac_delim 10548includedir!$includedir$ac_delim 10549oldincludedir!$oldincludedir$ac_delim 10550docdir!$docdir$ac_delim 10551infodir!$infodir$ac_delim 10552htmldir!$htmldir$ac_delim 10553dvidir!$dvidir$ac_delim 10554pdfdir!$pdfdir$ac_delim 10555psdir!$psdir$ac_delim 10556libdir!$libdir$ac_delim 10557localedir!$localedir$ac_delim 10558mandir!$mandir$ac_delim 10559DEFS!$DEFS$ac_delim 10560ECHO_C!$ECHO_C$ac_delim 10561ECHO_N!$ECHO_N$ac_delim 10562ECHO_T!$ECHO_T$ac_delim 10563LIBS!$LIBS$ac_delim 10564build_alias!$build_alias$ac_delim 10565host_alias!$host_alias$ac_delim 10566target_alias!$target_alias$ac_delim 10567INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 10568INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 10569INSTALL_DATA!$INSTALL_DATA$ac_delim 10570am__isrc!$am__isrc$ac_delim 10571CYGPATH_W!$CYGPATH_W$ac_delim 10572PACKAGE!$PACKAGE$ac_delim 10573VERSION!$VERSION$ac_delim 10574ACLOCAL!$ACLOCAL$ac_delim 10575AUTOCONF!$AUTOCONF$ac_delim 10576AUTOMAKE!$AUTOMAKE$ac_delim 10577AUTOHEADER!$AUTOHEADER$ac_delim 10578MAKEINFO!$MAKEINFO$ac_delim 10579install_sh!$install_sh$ac_delim 10580STRIP!$STRIP$ac_delim 10581INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 10582mkdir_p!$mkdir_p$ac_delim 10583AWK!$AWK$ac_delim 10584SET_MAKE!$SET_MAKE$ac_delim 10585am__leading_dot!$am__leading_dot$ac_delim 10586AMTAR!$AMTAR$ac_delim 10587am__tar!$am__tar$ac_delim 10588am__untar!$am__untar$ac_delim 10589MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 10590MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 10591MAINT!$MAINT$ac_delim 10592CC!$CC$ac_delim 10593CFLAGS!$CFLAGS$ac_delim 10594LDFLAGS!$LDFLAGS$ac_delim 10595CPPFLAGS!$CPPFLAGS$ac_delim 10596ac_ct_CC!$ac_ct_CC$ac_delim 10597EXEEXT!$EXEEXT$ac_delim 10598OBJEXT!$OBJEXT$ac_delim 10599DEPDIR!$DEPDIR$ac_delim 10600am__include!$am__include$ac_delim 10601am__quote!$am__quote$ac_delim 10602AMDEP_TRUE!$AMDEP_TRUE$ac_delim 10603AMDEP_FALSE!$AMDEP_FALSE$ac_delim 10604AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 10605CCDEPMODE!$CCDEPMODE$ac_delim 10606am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 10607am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 10608CPP!$CPP$ac_delim 10609GREP!$GREP$ac_delim 10610EGREP!$EGREP$ac_delim 10611FGREP!$FGREP$ac_delim 10612build!$build$ac_delim 10613build_cpu!$build_cpu$ac_delim 10614build_vendor!$build_vendor$ac_delim 10615build_os!$build_os$ac_delim 10616host!$host$ac_delim 10617host_cpu!$host_cpu$ac_delim 10618host_vendor!$host_vendor$ac_delim 10619host_os!$host_os$ac_delim 10620BUILD_DATE!$BUILD_DATE$ac_delim 10621EXAMPLES_DIR!$EXAMPLES_DIR$ac_delim 10622COMPAT_INCLUDES!$COMPAT_INCLUDES$ac_delim 10623PKG_CONFIG!$PKG_CONFIG$ac_delim 10624LIBSHOUT_CFLAGS!$LIBSHOUT_CFLAGS$ac_delim 10625LIBSHOUT_CPPFLAGS!$LIBSHOUT_CPPFLAGS$ac_delim 10626LIBSHOUT_LDFLAGS!$LIBSHOUT_LDFLAGS$ac_delim 10627_ACEOF 10628 10629 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 10630 break 10631 elif $ac_last_try; then 10632 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10633echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10634 { (exit 1); exit 1; }; } 10635 else 10636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10637 fi 10638done 10639 10640ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 10641if test -n "$ac_eof"; then 10642 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 10643 ac_eof=`expr $ac_eof + 1` 10644fi 10645 10646cat >>$CONFIG_STATUS <<_ACEOF 10647cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 10648/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10649_ACEOF 10650sed ' 10651s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 10652s/^/s,@/; s/!/@,|#_!!_#|/ 10653:n 10654t n 10655s/'"$ac_delim"'$/,g/; t 10656s/$/\\/; p 10657N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 10658' >>$CONFIG_STATUS <conf$$subs.sed 10659rm -f conf$$subs.sed 10660cat >>$CONFIG_STATUS <<_ACEOF 10661CEOF$ac_eof 10662_ACEOF 10663 10664 10665ac_delim='%!_!# ' 10666for ac_last_try in false false false false false :; do 10667 cat >conf$$subs.sed <<_ACEOF 10668LIBSHOUT_LIBS!$LIBSHOUT_LIBS$ac_delim 10669LIBXML2_CFLAGS!$LIBXML2_CFLAGS$ac_delim 10670LIBXML2_CPPFLAGS!$LIBXML2_CPPFLAGS$ac_delim 10671LIBXML2_LDFLAGS!$LIBXML2_LDFLAGS$ac_delim 10672LIBXML2_LIBS!$LIBXML2_LIBS$ac_delim 10673TAGLIB_CFLAGS!$TAGLIB_CFLAGS$ac_delim 10674TAGLIB_CPPFLAGS!$TAGLIB_CPPFLAGS$ac_delim 10675TAGLIB_LDFLAGS!$TAGLIB_LDFLAGS$ac_delim 10676TAGLIB_C_LIBS!$TAGLIB_C_LIBS$ac_delim 10677VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim 10678VORBIS_CPPFLAGS!$VORBIS_CPPFLAGS$ac_delim 10679VORBIS_LDFLAGS!$VORBIS_LDFLAGS$ac_delim 10680LIBVORBISFILE_LIBS!$LIBVORBISFILE_LIBS$ac_delim 10681LIBICONV!$LIBICONV$ac_delim 10682LTLIBICONV!$LTLIBICONV$ac_delim 10683LIBOBJS!$LIBOBJS$ac_delim 10684EZ_CPPFLAGS!$EZ_CPPFLAGS$ac_delim 10685EZ_CFLAGS!$EZ_CFLAGS$ac_delim 10686EZ_LDFLAGS!$EZ_LDFLAGS$ac_delim 10687EZ_LIBS!$EZ_LIBS$ac_delim 10688LTLIBOBJS!$LTLIBOBJS$ac_delim 10689_ACEOF 10690 10691 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then 10692 break 10693 elif $ac_last_try; then 10694 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 10695echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 10696 { (exit 1); exit 1; }; } 10697 else 10698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10699 fi 10700done 10701 10702ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 10703if test -n "$ac_eof"; then 10704 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 10705 ac_eof=`expr $ac_eof + 1` 10706fi 10707 10708cat >>$CONFIG_STATUS <<_ACEOF 10709cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 10710/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 10711_ACEOF 10712sed ' 10713s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 10714s/^/s,@/; s/!/@,|#_!!_#|/ 10715:n 10716t n 10717s/'"$ac_delim"'$/,g/; t 10718s/$/\\/; p 10719N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 10720' >>$CONFIG_STATUS <conf$$subs.sed 10721rm -f conf$$subs.sed 10722cat >>$CONFIG_STATUS <<_ACEOF 10723:end 10724s/|#_!!_#|//g 10725CEOF$ac_eof 10726_ACEOF 10727 10728 10729# VPATH may cause trouble with some makes, so we remove $(srcdir), 10730# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10731# trailing colons and then remove the whole line if VPATH becomes empty 10732# (actually we leave an empty line to preserve line numbers). 10733if test "x$srcdir" = x.; then 10734 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10735s/:*\$(srcdir):*/:/ 10736s/:*\${srcdir}:*/:/ 10737s/:*@srcdir@:*/:/ 10738s/^\([^=]*=[ ]*\):*/\1/ 10739s/:*$// 10740s/^[^=]*=[ ]*$// 10741}' 10742fi 10743 10744cat >>$CONFIG_STATUS <<\_ACEOF 10745fi # test -n "$CONFIG_FILES" 10746 10747 10748for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 10749do 10750 case $ac_tag in 10751 :[FHLC]) ac_mode=$ac_tag; continue;; 10752 esac 10753 case $ac_mode$ac_tag in 10754 :[FHL]*:*);; 10755 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 10756echo "$as_me: error: Invalid tag $ac_tag." >&2;} 10757 { (exit 1); exit 1; }; };; 10758 :[FH]-) ac_tag=-:-;; 10759 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10760 esac 10761 ac_save_IFS=$IFS 10762 IFS=: 10763 set x $ac_tag 10764 IFS=$ac_save_IFS 10765 shift 10766 ac_file=$1 10767 shift 10768 10769 case $ac_mode in 10770 :L) ac_source=$1;; 10771 :[FH]) 10772 ac_file_inputs= 10773 for ac_f 10774 do 10775 case $ac_f in 10776 -) ac_f="$tmp/stdin";; 10777 *) # Look for the file first in the build tree, then in the source tree 10778 # (if the path is not absolute). The absolute path cannot be DOS-style, 10779 # because $ac_f cannot contain `:'. 10780 test -f "$ac_f" || 10781 case $ac_f in 10782 [\\/$]*) false;; 10783 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10784 esac || 10785 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 10786echo "$as_me: error: cannot find input file: $ac_f" >&2;} 10787 { (exit 1); exit 1; }; };; 10788 esac 10789 ac_file_inputs="$ac_file_inputs $ac_f" 10790 done 10791 10792 # Let's still pretend it is `configure' which instantiates (i.e., don't 10793 # use $as_me), people would be surprised to read: 10794 # /* config.h. Generated by config.status. */ 10795 configure_input="Generated from "`IFS=: 10796 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 10797 if test x"$ac_file" != x-; then 10798 configure_input="$ac_file. $configure_input" 10799 { echo "$as_me:$LINENO: creating $ac_file" >&5 10800echo "$as_me: creating $ac_file" >&6;} 10801 fi 10802 10803 case $ac_tag in 10804 *:-:* | *:-) cat >"$tmp/stdin";; 10805 esac 10806 ;; 10807 esac 10808 10809 ac_dir=`$as_dirname -- "$ac_file" || 10810$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10811 X"$ac_file" : 'X\(//\)[^/]' \| \ 10812 X"$ac_file" : 'X\(//\)$' \| \ 10813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10814echo X"$ac_file" | 10815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10816 s//\1/ 10817 q 10818 } 10819 /^X\(\/\/\)[^/].*/{ 10820 s//\1/ 10821 q 10822 } 10823 /^X\(\/\/\)$/{ 10824 s//\1/ 10825 q 10826 } 10827 /^X\(\/\).*/{ 10828 s//\1/ 10829 q 10830 } 10831 s/.*/./; q'` 10832 { as_dir="$ac_dir" 10833 case $as_dir in #( 10834 -*) as_dir=./$as_dir;; 10835 esac 10836 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 10837 as_dirs= 10838 while :; do 10839 case $as_dir in #( 10840 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 10841 *) as_qdir=$as_dir;; 10842 esac 10843 as_dirs="'$as_qdir' $as_dirs" 10844 as_dir=`$as_dirname -- "$as_dir" || 10845$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10846 X"$as_dir" : 'X\(//\)[^/]' \| \ 10847 X"$as_dir" : 'X\(//\)$' \| \ 10848 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10849echo X"$as_dir" | 10850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10851 s//\1/ 10852 q 10853 } 10854 /^X\(\/\/\)[^/].*/{ 10855 s//\1/ 10856 q 10857 } 10858 /^X\(\/\/\)$/{ 10859 s//\1/ 10860 q 10861 } 10862 /^X\(\/\).*/{ 10863 s//\1/ 10864 q 10865 } 10866 s/.*/./; q'` 10867 test -d "$as_dir" && break 10868 done 10869 test -z "$as_dirs" || eval "mkdir $as_dirs" 10870 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 10871echo "$as_me: error: cannot create directory $as_dir" >&2;} 10872 { (exit 1); exit 1; }; }; } 10873 ac_builddir=. 10874 10875case "$ac_dir" in 10876.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10877*) 10878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 10879 # A ".." for each directory in $ac_dir_suffix. 10880 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 10881 case $ac_top_builddir_sub in 10882 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10883 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10884 esac ;; 10885esac 10886ac_abs_top_builddir=$ac_pwd 10887ac_abs_builddir=$ac_pwd$ac_dir_suffix 10888# for backward compatibility: 10889ac_top_builddir=$ac_top_build_prefix 10890 10891case $srcdir in 10892 .) # We are building in place. 10893 ac_srcdir=. 10894 ac_top_srcdir=$ac_top_builddir_sub 10895 ac_abs_top_srcdir=$ac_pwd ;; 10896 [\\/]* | ?:[\\/]* ) # Absolute name. 10897 ac_srcdir=$srcdir$ac_dir_suffix; 10898 ac_top_srcdir=$srcdir 10899 ac_abs_top_srcdir=$srcdir ;; 10900 *) # Relative name. 10901 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10902 ac_top_srcdir=$ac_top_build_prefix$srcdir 10903 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10904esac 10905ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10906 10907 10908 case $ac_mode in 10909 :F) 10910 # 10911 # CONFIG_FILE 10912 # 10913 10914 case $INSTALL in 10915 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10916 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10917 esac 10918 ac_MKDIR_P=$MKDIR_P 10919 case $MKDIR_P in 10920 [\\/$]* | ?:[\\/]* ) ;; 10921 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 10922 esac 10923_ACEOF 10924 10925cat >>$CONFIG_STATUS <<\_ACEOF 10926# If the template does not know about datarootdir, expand it. 10927# FIXME: This hack should be removed a few years after 2.60. 10928ac_datarootdir_hack=; ac_datarootdir_seen= 10929 10930case `sed -n '/datarootdir/ { 10931 p 10932 q 10933} 10934/@datadir@/p 10935/@docdir@/p 10936/@infodir@/p 10937/@localedir@/p 10938/@mandir@/p 10939' $ac_file_inputs` in 10940*datarootdir*) ac_datarootdir_seen=yes;; 10941*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10942 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10943echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10944_ACEOF 10945cat >>$CONFIG_STATUS <<_ACEOF 10946 ac_datarootdir_hack=' 10947 s&@datadir@&$datadir&g 10948 s&@docdir@&$docdir&g 10949 s&@infodir@&$infodir&g 10950 s&@localedir@&$localedir&g 10951 s&@mandir@&$mandir&g 10952 s&\\\${datarootdir}&$datarootdir&g' ;; 10953esac 10954_ACEOF 10955 10956# Neutralize VPATH when `$srcdir' = `.'. 10957# Shell code in configure.ac might set extrasub. 10958# FIXME: do we really want to maintain this feature? 10959cat >>$CONFIG_STATUS <<_ACEOF 10960 sed "$ac_vpsub 10961$extrasub 10962_ACEOF 10963cat >>$CONFIG_STATUS <<\_ACEOF 10964:t 10965/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10966s&@configure_input@&$configure_input&;t t 10967s&@top_builddir@&$ac_top_builddir_sub&;t t 10968s&@srcdir@&$ac_srcdir&;t t 10969s&@abs_srcdir@&$ac_abs_srcdir&;t t 10970s&@top_srcdir@&$ac_top_srcdir&;t t 10971s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10972s&@builddir@&$ac_builddir&;t t 10973s&@abs_builddir@&$ac_abs_builddir&;t t 10974s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10975s&@INSTALL@&$ac_INSTALL&;t t 10976s&@MKDIR_P@&$ac_MKDIR_P&;t t 10977$ac_datarootdir_hack 10978" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 10979 10980test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10981 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10982 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10983 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10984which seems to be undefined. Please make sure it is defined." >&5 10985echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10986which seems to be undefined. Please make sure it is defined." >&2;} 10987 10988 rm -f "$tmp/stdin" 10989 case $ac_file in 10990 -) cat "$tmp/out"; rm -f "$tmp/out";; 10991 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 10992 esac 10993 ;; 10994 :H) 10995 # 10996 # CONFIG_HEADER 10997 # 10998_ACEOF 10999 11000# Transform confdefs.h into a sed script `conftest.defines', that 11001# substitutes the proper values into config.h.in to produce config.h. 11002rm -f conftest.defines conftest.tail 11003# First, append a space to every undef/define line, to ease matching. 11004echo 's/$/ /' >conftest.defines 11005# Then, protect against being on the right side of a sed subst, or in 11006# an unquoted here document, in config.status. If some macros were 11007# called several times there might be several #defines for the same 11008# symbol, which is useless. But do not sort them, since the last 11009# AC_DEFINE must be honored. 11010ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 11011# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 11012# NAME is the cpp macro being defined, VALUE is the value it is being given. 11013# PARAMS is the parameter list in the macro definition--in most cases, it's 11014# just an empty string. 11015ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 11016ac_dB='\\)[ (].*,\\1define\\2' 11017ac_dC=' ' 11018ac_dD=' ,' 11019 11020uniq confdefs.h | 11021 sed -n ' 11022 t rset 11023 :rset 11024 s/^[ ]*#[ ]*define[ ][ ]*// 11025 t ok 11026 d 11027 :ok 11028 s/[\\&,]/\\&/g 11029 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 11030 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 11031 ' >>conftest.defines 11032 11033# Remove the space that was appended to ease matching. 11034# Then replace #undef with comments. This is necessary, for 11035# example, in the case of _POSIX_SOURCE, which is predefined and required 11036# on some systems where configure will not decide to define it. 11037# (The regexp can be short, since the line contains either #define or #undef.) 11038echo 's/ $// 11039s,^[ #]*u.*,/* & */,' >>conftest.defines 11040 11041# Break up conftest.defines: 11042ac_max_sed_lines=50 11043 11044# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 11045# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 11046# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 11047# et cetera. 11048ac_in='$ac_file_inputs' 11049ac_out='"$tmp/out1"' 11050ac_nxt='"$tmp/out2"' 11051 11052while : 11053do 11054 # Write a here document: 11055 cat >>$CONFIG_STATUS <<_ACEOF 11056 # First, check the format of the line: 11057 cat >"\$tmp/defines.sed" <<\\CEOF 11058/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 11059/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 11060b 11061:def 11062_ACEOF 11063 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 11064 echo 'CEOF 11065 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 11066 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 11067 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 11068 grep . conftest.tail >/dev/null || break 11069 rm -f conftest.defines 11070 mv conftest.tail conftest.defines 11071done 11072rm -f conftest.defines conftest.tail 11073 11074echo "ac_result=$ac_in" >>$CONFIG_STATUS 11075cat >>$CONFIG_STATUS <<\_ACEOF 11076 if test x"$ac_file" != x-; then 11077 echo "/* $configure_input */" >"$tmp/config.h" 11078 cat "$ac_result" >>"$tmp/config.h" 11079 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 11080 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 11081echo "$as_me: $ac_file is unchanged" >&6;} 11082 else 11083 rm -f $ac_file 11084 mv "$tmp/config.h" $ac_file 11085 fi 11086 else 11087 echo "/* $configure_input */" 11088 cat "$ac_result" 11089 fi 11090 rm -f "$tmp/out12" 11091# Compute $ac_file's index in $config_headers. 11092_am_arg=$ac_file 11093_am_stamp_count=1 11094for _am_header in $config_headers :; do 11095 case $_am_header in 11096 $_am_arg | $_am_arg:* ) 11097 break ;; 11098 * ) 11099 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11100 esac 11101done 11102echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 11103$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11104 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11105 X"$_am_arg" : 'X\(//\)$' \| \ 11106 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11107echo X"$_am_arg" | 11108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11109 s//\1/ 11110 q 11111 } 11112 /^X\(\/\/\)[^/].*/{ 11113 s//\1/ 11114 q 11115 } 11116 /^X\(\/\/\)$/{ 11117 s//\1/ 11118 q 11119 } 11120 /^X\(\/\).*/{ 11121 s//\1/ 11122 q 11123 } 11124 s/.*/./; q'`/stamp-h$_am_stamp_count 11125 ;; 11126 11127 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 11128echo "$as_me: executing $ac_file commands" >&6;} 11129 ;; 11130 esac 11131 11132 11133 case $ac_file$ac_mode in 11134 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 11135# are listed without --file. Let's play safe and only enable the eval 11136# if we detect the quoting. 11137case $CONFIG_FILES in 11138*\'*) eval set x "$CONFIG_FILES" ;; 11139*) set x $CONFIG_FILES ;; 11140esac 11141shift 11142for mf 11143do 11144 # Strip MF so we end up with the name of the file. 11145 mf=`echo "$mf" | sed -e 's/:.*$//'` 11146 # Check whether this is an Automake generated Makefile or not. 11147 # We used to match only the files named `Makefile.in', but 11148 # some people rename them; so instead we look at the file content. 11149 # Grep'ing the first line is not enough: some people post-process 11150 # each Makefile.in and add a new line on top of each file to say so. 11151 # Grep'ing the whole file is not good either: AIX grep has a line 11152 # limit of 2048, but all sed's we know have understand at least 4000. 11153 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 11154 dirpart=`$as_dirname -- "$mf" || 11155$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11156 X"$mf" : 'X\(//\)[^/]' \| \ 11157 X"$mf" : 'X\(//\)$' \| \ 11158 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11159echo X"$mf" | 11160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11161 s//\1/ 11162 q 11163 } 11164 /^X\(\/\/\)[^/].*/{ 11165 s//\1/ 11166 q 11167 } 11168 /^X\(\/\/\)$/{ 11169 s//\1/ 11170 q 11171 } 11172 /^X\(\/\).*/{ 11173 s//\1/ 11174 q 11175 } 11176 s/.*/./; q'` 11177 else 11178 continue 11179 fi 11180 # Extract the definition of DEPDIR, am__include, and am__quote 11181 # from the Makefile without running `make'. 11182 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 11183 test -z "$DEPDIR" && continue 11184 am__include=`sed -n 's/^am__include = //p' < "$mf"` 11185 test -z "am__include" && continue 11186 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 11187 # When using ansi2knr, U may be empty or an underscore; expand it 11188 U=`sed -n 's/^U = //p' < "$mf"` 11189 # Find all dependency output files, they are included files with 11190 # $(DEPDIR) in their names. We invoke sed twice because it is the 11191 # simplest approach to changing $(DEPDIR) to its actual value in the 11192 # expansion. 11193 for file in `sed -n " 11194 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 11195 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11196 # Make sure the directory exists. 11197 test -f "$dirpart/$file" && continue 11198 fdir=`$as_dirname -- "$file" || 11199$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11200 X"$file" : 'X\(//\)[^/]' \| \ 11201 X"$file" : 'X\(//\)$' \| \ 11202 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11203echo X"$file" | 11204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11205 s//\1/ 11206 q 11207 } 11208 /^X\(\/\/\)[^/].*/{ 11209 s//\1/ 11210 q 11211 } 11212 /^X\(\/\/\)$/{ 11213 s//\1/ 11214 q 11215 } 11216 /^X\(\/\).*/{ 11217 s//\1/ 11218 q 11219 } 11220 s/.*/./; q'` 11221 { as_dir=$dirpart/$fdir 11222 case $as_dir in #( 11223 -*) as_dir=./$as_dir;; 11224 esac 11225 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 11226 as_dirs= 11227 while :; do 11228 case $as_dir in #( 11229 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 11230 *) as_qdir=$as_dir;; 11231 esac 11232 as_dirs="'$as_qdir' $as_dirs" 11233 as_dir=`$as_dirname -- "$as_dir" || 11234$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11235 X"$as_dir" : 'X\(//\)[^/]' \| \ 11236 X"$as_dir" : 'X\(//\)$' \| \ 11237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11238echo X"$as_dir" | 11239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11240 s//\1/ 11241 q 11242 } 11243 /^X\(\/\/\)[^/].*/{ 11244 s//\1/ 11245 q 11246 } 11247 /^X\(\/\/\)$/{ 11248 s//\1/ 11249 q 11250 } 11251 /^X\(\/\).*/{ 11252 s//\1/ 11253 q 11254 } 11255 s/.*/./; q'` 11256 test -d "$as_dir" && break 11257 done 11258 test -z "$as_dirs" || eval "mkdir $as_dirs" 11259 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 11260echo "$as_me: error: cannot create directory $as_dir" >&2;} 11261 { (exit 1); exit 1; }; }; } 11262 # echo "creating $dirpart/$file" 11263 echo '# dummy' > "$dirpart/$file" 11264 done 11265done 11266 ;; 11267 11268 esac 11269done # for ac_tag 11270 11271 11272{ (exit 0); exit 0; } 11273_ACEOF 11274chmod +x $CONFIG_STATUS 11275ac_clean_files=$ac_clean_files_save 11276 11277 11278# configure is writing to config.log, and then calls config.status. 11279# config.status does its own redirection, appending to config.log. 11280# Unfortunately, on DOS this fails, as config.log is still kept open 11281# by configure, so config.status won't be able to write to it; its 11282# output is simply discarded. So we exec the FD to /dev/null, 11283# effectively closing config.log, so it can be properly (re)opened and 11284# appended to by config.status. When coming back to configure, we 11285# need to make the FD available again. 11286if test "$no_create" != yes; then 11287 ac_cs_success=: 11288 ac_config_status_args= 11289 test "$silent" = yes && 11290 ac_config_status_args="$ac_config_status_args --quiet" 11291 exec 5>/dev/null 11292 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 11293 exec 5>>config.log 11294 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11295 # would make configure fail if this is the last instruction. 11296 $ac_cs_success || { (exit 1); exit 1; } 11297fi 11298 11299 11300cat << __EOT 11301 11302${PACKAGE_STRING} has been configured successfully. 11303 11304Configuration: 11305 Ogg Vorbis metadata support ... : ${use_metadata} 11306 Charset conversion support .... : ${use_iconv} 11307 Prefix ........................ : ${prefix} 11308 11309__EOT 11310