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