"Fossies" - the Fresh Open Source Software Archive

Member "potamus-17/configure" (12 Jan 2018, 201708 Bytes) of package /linux/privat/potamus-17.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 16_vs_17.

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