"Fossies" - the Fresh Open Source Software Archive

Member "usbutils-015/usbhid-dump/configure" (5 Aug 2022, 183676 Bytes) of package /linux/misc/usbutils-015.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": 014_vs_015.

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