"Fossies" - the Fresh Open Source Software Archive

Member "fdupes-2.1.2/configure" (12 Aug 2020, 202914 Bytes) of package /linux/privat/fdupes-2.1.2.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": 2.1.1_vs_2.1.2.

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