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