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