"Fossies" - the Fresh Open Source Software Archive

Member "minidlna-1.3.0/configure" (24 Nov 2020, 362596 Bytes) of package /linux/privat/minidlna-1.3.0.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": 1.2.1_vs_1.3.0.

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